I created multiple y axis and line serieses dynamically, but the panzoombar for y axis disappear.
How can I show the panzoombar for each y axis?
Is it possible to hide the panzoombar automatically if there is no zoom, and show the panzoombar if there is zoom.
thanks
1 Answer, 1 is accepted
0
Martin Ivanov
Telerik team
answered on 28 Oct 2015, 10:23 AM
Hi jzhou jzhou,
RadChartView doesn't support zooming on individual axis. The zooming is shared between all axes. Note that the PanZoomBar will be displayed only if the chart has defined its axes. For example, if you add vertical axes only for the series, but not for the chart itself, the vertical PanZoomBar won't be displayed. We have a feature request for implementing individual axis zooming in our feedback portal where you can track its status. Also, you can take a look at the IndividualAxisZooming SDK example that demonstrates how you can achieve the desired effect using custom code.
As for hiding the PanZoomBar based on the zoom level, you can subscribe for the PanOffsetChanged event of RadCartesianChart and change the PanZoomBar's Visbility in its handler. Here is an example with such customization:
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items