Page 1 of 1

iOS - Pinch zoom when Allow zoom set to false

Posted: Tue Jul 31, 2012 2:20 pm
by 17262881
Hi,

In my code, I have the allow zoom value set to false. However, I am still able to pinch zoom on the chart and it messes up my data display. The following is what I have set for zooming and panning. Is there way to disable any sort of zooming in the chart while having the horizontal scroll in place.

newChart.Aspect.View3D = false;
newChart.Chart.Aspect.ZoomScrollStyle = Steema.TeeChart.Drawing.Aspect.ZoomScrollStyles.Manual;
newChart.Panning.Allow = ScrollModes.Horizontal;
newChart.Zoom.Allow = false;

Thanks for the help.

Re: iOS - Pinch zoom when Allow zoom set to false

Posted: Thu Aug 02, 2012 8:05 am
by 10050769
Hello NetSoft,

Also, you need change the ZoomScroll styles as explain Pep in this link. If you have any problems, please let me know.

I hope will help.

Thanks,

Re: iOS - Pinch zoom when Allow zoom set to false

Posted: Mon Sep 10, 2012 3:47 pm
by 17263460
Ran into the same problem. Even though zoom is disabled I am able to zoom. It seems to be random and messes up the chart. Sometimes it shows white rectangle when I pinch to zoom.

chart3.Aspect.View3D = false;
chart3.Chart.Aspect.ZoomScrollStyle = Steema.TeeChart.Drawing.Aspect.ZoomScrollStyles.Manual;
chart3.Chart.Panning.Allow = ScrollModes.None;
chart3.Chart.Zoom.Allow=false;

Re: iOS - Pinch zoom when Allow zoom set to false

Posted: Mon Sep 17, 2012 8:45 am
by Pep
Hello,

yes, I'm able to reproduce the problem here, the problem has already been fixed. The next maintenance, which will be available soon, will include the fix for this issue.