iOS Disable Panning and Zooming

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Tech44
Newbie
Newbie
Posts: 7
Joined: Wed Feb 22, 2012 12:00 am

iOS Disable Panning and Zooming

Post by Tech44 » Fri Feb 24, 2012 5:46 pm

I have a chart on a view. It is a 3D bar chart. By default the user can pan around the chart and zoom in and out.

How do I disable panning and/or zooming?


Also - just a note - I notice that a strange colored rectangle appears in the upper right corner of the chart when zooming. What is this?


Thanks!

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

Re: iOS Disable Panning and Zooming

Post by Pep » Mon Feb 27, 2012 3:24 pm

Hello,

you should be able to disable the Zoom and Pan by using :

Code: Select all

			chart.Chart.Zoom.Allow = false;
			chart.Chart.Panning.Allow = ScrollModes.None;
About the rectangle, it's displayed to show the area selected to be zoomed, we're improving this functionality for further versions.

Tech44
Newbie
Newbie
Posts: 7
Joined: Wed Feb 22, 2012 12:00 am

Re: iOS Disable Panning and Zooming

Post by Tech44 » Mon Mar 19, 2012 3:09 pm

Exactly what I needed. Thanks!

Charles

Post Reply