piaoyongren / core-plot

Automatically exported from code.google.com/p/core-plot
0 stars 0 forks source link

multi y-axis chart #212

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
I want to show multi y-axis bar chart is iit possible in bar chart.Means two 
y-axis value with diff. colors bar.

Original issue reported on code.google.com by monikadh...@gmail.com on 18 Oct 2010 at 12:22

GoogleCodeExporter commented 9 years ago
Yes. See the CPTestApp example for how to setup multiple y axes.
If you want one set of bars to correspond to one axis, and the other set of 
bars to correspond to the second axis, you should setup two separate 
CPXYPlotSpaces, and associate each axis/bar plot set with one of the plot 
spaces. Again, CPTestApp can show you how to create multiple plot spaces.

Original comment by drewmcco...@mac.com on 18 Oct 2010 at 12:46