iOS - Pinch zoom when Allow zoom set to false

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Netsoft
Newbie
Newbie
Posts: 8
Joined: Tue Jul 03, 2012 12:00 am

iOS - Pinch zoom when Allow zoom set to false

Post by Netsoft » Tue Jul 31, 2012 2:20 pm

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.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

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

Post by Sandra » Thu Aug 02, 2012 8:05 am

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,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

alecd4
Newbie
Newbie
Posts: 5
Joined: Mon Sep 10, 2012 12:00 am

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

Post by alecd4 » Mon Sep 10, 2012 3:47 pm

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;

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

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

Post by Pep » Mon Sep 17, 2012 8:45 am

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.

Post Reply