Page 1 of 1

iOS Disable Panning and Zooming

Posted: Fri Feb 24, 2012 5:46 pm
by 17261689
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!

Re: iOS Disable Panning and Zooming

Posted: Mon Feb 27, 2012 3:24 pm
by Pep
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.

Re: iOS Disable Panning and Zooming

Posted: Mon Mar 19, 2012 3:09 pm
by 17261689
Exactly what I needed. Thanks!

Charles