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

Zoom Rectangle co-ordinates

1 Answer 53 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Anand
Top achievements
Rank 1
Anand asked on 20 Jan 2012, 09:19 PM
How co-ordinates of zoom rectangle can be captured for RadChart ?

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 24 Jan 2012, 10:40 AM
Hello,

Presently, you can determine the actions of the end user on the zooming and scrolling of the control, by keeping track of the rangeStart/end properties:
void radChart_DataBound(object sender, ChartDataBoundEventArgs e)
     {
         double minRange = radChart.DefaultView.ChartArea.ZoomScrollSettingsX.RangeStart;
     }

You can match this against the data of the axis, to determine what data would be rendered in the chart.
I hope this information gets you started. Let me know if further questions arise.

Regards,
Yavor
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Chart
Asked by
Anand
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or