This is a migrated thread and some comments may be shown as answers.

ChartView zooming range

1 Answer 28 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Youfei
Top achievements
Rank 1
Youfei asked on 17 Nov 2016, 10:02 PM

Hi,

I am working on Winform Chartview and am using LassoZoomController to zoom in and out.

My problem right now is when zooming in, I need to know the Axis' ranges for both X and Y, however I don't see any events that I can register to to detect the zooming. Also how could I know the new ranges after zooming?

Please help! (R3 2016)

Thanks.

 

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 22 Nov 2016, 12:19 PM
Hello Youfei,

Thank you for writing.

The zoom and pan events are defined within the RadChartView.View object. You can subscribe to them this way:
this.radChartView1.View.ZoomChanged += View_ZoomChanged;

The documentation will be also updated to provide information on how the events can be subscribed. As to your other question please check the other thread you have opened: http://www.telerik.com/forums/visible-range-after-zoom-in.

I hope this information was useful. Should you have further questions please do not hesitate to write back.

Regards,
Hristo Merdjanov
Telerik by Progress
Telerik UI for WinForms is ready for Visual Studio 2017 RC! Learn more.
Tags
Chart
Asked by
Youfei
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or