Connecting data to multiple Y axis on chart

Article ID: 2457
Last updated: 30 May, 2018
Article ID: 2457
Last updated: 30 May, 2018
Revision: 3
Views: 618
Posted: 29 Jan, 2014
by Dean J.
Updated: 30 May, 2018
by Gargani A.

Question

After setting multiple Y axis: IlvChart using the addYAxis() method. How to connect a specific data set to new Y Axis?

Answer

You need to specify which data set series is connected to which Y axis.

To do so, associate the renderer of each of those data sets to the corresponding Y axis by using the IlvChart.setRendererAxis() method.

Since by default the automatic range calculation is performed using all existing data. Therefore, you should call the setDataRange()  method to have a relevant scale on each new Y axis.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2457
Last updated: 30 May, 2018
Revision: 3
Views: 618
Posted: 29 Jan, 2014 by Dean J.
Updated: 30 May, 2018 by Gargani A.
Also read

Also listed in


Others in this category