Make Y axis auto scale

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 Richa Singh on 15th May 2014
Is it possible, that as i drag points the Y axis gets updated or auto scaled in both the positive and negative values .
Posted by Richard on 15th May 2014
Hi

If you did that I think it would look strange. I though ymax would be fixed when adjusting is enabled - but only the Bar chart seems to do this. So its probably down to the fact that the Y value that results when you move you mouse around just isn't higher than the maximum value - so the scale doesn't need to change.

You could add buttons to manually set the ymax value of the chart.




Richard
Posted by Richard on 15th May 2014
Hi

Or you could use the onadjust event and when the value is in a certain range set ymax accordingly.




Richard

Add a reply




« Back to message list