ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Showing only the datas or the graphs, not the blank spaces.
Posted by Kaiden on Oct-25-2013 16:35
Attachments:
Hi Peter,
If you take a look at the pic i attached, you can see on the y axis from 0 to 20 no values
or graphs. So can this be autoscaled so that only the part with graph show??
basically y-axis starts from about 16 not from 0.
Thanks!! :)

Best Regards,
Kaiden.
Power .png

  Re: Showing only the datas or the graphs, not the blank spaces.
Posted by Peter Kwan on Oct-26-2013 00:49
Hi Kaiden,

You may set the "zero affinity" parameter to 0:

c.yAxis().setAutoScale(0.05, 0.05, 0);

See the following thread for an explanation:

http://www.chartdir.com/forum/download_thread.php?bn=chartdir_support&thread=1221776338#N1221817822

Hope this can help.

Regards
Peter Kwan

  Re: Showing only the datas or the graphs, not the blank spaces.
Posted by Kaiden on Oct-29-2013 18:41
Hi Peter,
thanks! It works fine!! you are the man!!
Chardirector is awesome!! :)
Have a greatday!!

Best Regards,
Kaiden.