Bar chart Y axis scale problem

Share RGraph:  

« 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 Zsolt on 14th August 2017
Hi Richard,

In a bar chart I have labels on x axis, and scale (values) on y axis.
The problem is when all data are 0, the y axis show these numbers: 0, 0, 0, 1, 1, 1
The scaleFormatter modify the aboveLabels instead of the scale.
Is the only way to set ymax to a value (ie 10) to see proper numbers on y axis?

regards,
Zsolt
Posted by Richard on 14th August 2017
Hi there,

The values are rounded - hence the strangeness. If you set the scaleDecimals property to 1 you should get a scale: of 0, 0.2, 0.4, 0.6, 0.8, 1.0

Richard
Posted by Zsolt on 16th August 2017
Thanks

Add a reply




« Back to message list