|
How to use multi axes in Multi Bar |
Posted by zpeng on Apr-15-2015 09:57 |
|
I want to plot a chart like MultiBar, but need datasets use different Y axes.
"Multi-Bar Chart" cannot implement it, because it only have one layer which use one axis.
I think a way:
e.g. 3 datasets, created 3 multibar layer, but when add data, only keep one valid.
Is there any other way to do it? |
Re: How to use multi axes in Multi Bar |
Posted by Peter Kwan on Apr-16-2015 07:05 |
|
Hi zpeng,
You can use DataSet.setUseYAxis2 or DataSet.setUseYAxis to configure the data sets to
use different y-axis. For example, in C#/Java:
//Configure the second data set (the first data set starts from index 0) to use the
//secondary y-axis
layer.getDataSet(1).setUseYAxis2();
Hope this can help.
Regards
Peter Kwan |
|