We are trying to set the Chart.PanOffset X value to -23356, but when debugging, we are reading -19475.
Chart.BeginUpdate();
Chart.Zoom = new RadSize(zoomX, zoomY);
Chart.PanOffset = new RadPoint(-panX, -panY);
Chart.EndUpdate();
Does anyone know if the PanOffset has a min/max value?
Thanks!
1 Answer, 1 is accepted
0
Nikolay
Telerik team
answered on 04 Apr 2017, 02:35 PM
Hello Viollier,
Thank you for writing.
If the PanOffset does not match certain requirements it is automatically recalculated so this is an expected behavior. If you need more details about the minimum value of PanOffsetX it is calculated as following:
The maximum value of the PanOffset property is always zero.
I hope that answer your question.
Regards,
Nikolay
Telerik by Progress
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