Incorrect plot values in Line chart

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 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

Add a reply




« Back to message list