Incorrect plot values in Line chart

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 Ramya on 24th February 2014
Hi Team,

I am drawing the combination of Line & Bar chart.

Plot values in Y axis for Line chart are plotted incorrectly

Here is the scenario ,

Actual plot values = [6,6,6,6,6,6,6,6,6,6,6,6];
Values plotted in graph = [12,12,12,12,12,12,12,12,12,12,12,12];

Each value gets multiplied by 2 , and graph has been plotted.

Kindly provide me the solution for this issue.


Warm Regards,
Ramya.R
Posted by Richard on 24th February 2014
Hi there,

Maybe your Line/Bar charts are generating two different scales so the bar chart scale (for example) uses values that don't match with the Line chart values).

You can fix the scales with the ymax setting (on both charts):

bar.Set('ymax', 100)
line.Set('ymax', 100)



Richard, RGraph Support
www.rgraph.net
If RGraph has helped you - please share the website - thanks!

Add a reply




« Back to message list