chart label repeated for small values

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« 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 wrox on 1st September 2015
Hey There,

I have issue with small chart values.

For example :

I want to plot data value [0.34,1,2.503,1.345,2.0,1.8].
I am getting repeating Y-Axis label values 0,1,1,2,2,3

If I change Y-Axis label manually then Y-Axis label values and chart plotting is not matching.


Please write your suggestion or comments ASAP.

Thanks


Posted by Richard on 1st September 2015
Hi,

It looks like you could do with adding decimals which you can by adding the option:

scaleDecimals: 1


Richard
If RGraph has helped you - please share the website and give your feedback - thanks!
Posted by wrox on 4th September 2015
Hi,

scaleDecimals is something newly added ?
I am using old RGraph library. setting scaleDecimals values to 1 has no effect.

For example :

try to plot : [1,1.25,0.56577,0.634534,0.6743] for Bar type of chart.

Thanks
Posted by Richard on 4th September 2015
Hi,

If you have an old version you could try this instead:

obj.Set('chart.scale.decimals', 1);


Richard
If RGraph has helped you - please share the website and give your feedback - thanks! You can give your feedback or leave a testimonial by adding a forum post

Add a reply




« Back to message list