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

Setting/getting current zoom and pan

1 Answer 140 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Niclas Olofsson
Top achievements
Rank 1
Niclas Olofsson asked on 22 Dec 2011, 07:52 PM
With the ChartView, how can i get/set the zoom and pan values. I figured out the zoom on the actual control, but it doesn't seem to set the correct "zoom" on the "zoom bar". And pan i can't find anywhere.

1 Answer, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 26 Dec 2011, 12:00 PM
Hello Niclas,

The respective properties are RadCartesianChart.Zoom and RadCartesianChart.PanOffset (the offset should be provided in negative absolute values e.g. RadCartesianChart.PanOffset = new Point (-7500,0) will offset the chart horizontally at 7500px).

We have identified some problems related to the general zoom precision and the zoom bar settings that will be addressed in the next weekly internal build of the control.

Sorry for the temporary inconvenience.


Regards,
Giuseppe
the Telerik team

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

Tags
ChartView
Asked by
Niclas Olofsson
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Share this question
or