ChartDirector Support
Forum Home
Search
Message List
Post Message
[Dec-20-2013 15:15]
How can the y-axis start from origin(0)?
(Yunlong)
[Dec-20-2013 19:48]
Re: How can the y-axis start from origin(0)?
(Peter Kwan)
How can the y-axis start from origin(0)?
Posted by Yunlong on Dec-20-2013 15:15
|
Reply
|
Monitor
Attachments:
p.png
How can the y-axis start from origin(0)?
Anyone can help me?
Re: How can the y-axis start from origin(0)?
Posted by Peter Kwan on Dec-20-2013 19:48
|
Reply
|
Monitor
Hi Yunlong,
You may use Axis.setAutoScale to tell ChartDirector to always start the axis from 0 when it determines the axis scale. For example, in C++:
c->yAxis()->setAutoScale(0.05, 0.05, 1);
Hope this can help.
Regards
Peter Kwan