How to set min and max y values?

Share RGraph:   Share or Like RGraph on Facebook!

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Andrew on 27th August 2013
I have a line chart that has over 100 data points all in the 40 range, my chart y coords are currently 0 - 100 which makes the line look pretty flat. I am wondering how I can change that so the y starts at the min data point (lets say 35) and ends at the max data point (lets say 45).

Here is an image to show the issue I am having.

i.imgur.com/whDsikL.png

Thanks,
Andrew
Posted by RGraph support on 27th August 2013
Hi there,

You could use the chart.ymin and chart.ymax settings to set the minimum/maximum Y values.





Richard, RGraph Support

Add a reply




« Back to message list