Combining Charts with different Y axis

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 PrebenG on 25th March 2013
Hi
I'm trying to combine a bar chart and a line chart, but the data do not share the same Y-axis. bar data is from 10-100 and line data from 1,000-10,000

Is it possible to combine with different Y-axis, one on the left-hand and one on the right hand side ?

Regards
PrebenG
Posted by RGraph support on 25th March 2013
Hi there,

Yes. You could do it with a Y axis on each side like this (the chart lower down the page):

www.rgraph.net/docs/combining-charts.html

Or by using the Y axis drawing API object like this:

www.rgraph.net/docs/drawing-api-yaxis.html




Richard

Add a reply




« Back to message list