Search code examples
androidxamarin.androidxamarin-studioteechart

monodroid Steema.TeeChart.TChart : how to disable user interaction


can any one please tell me how to disable user interaction in TChart Control.

i know how to do this in monotouch linechart.UserInteractionEnabled = false;


Solution

  • You should use this:

      tChart1.Zoom.Style = Steema.TeeChart.ZoomStyles.Classic;
      tChart1.Zoom.Allow = false;
      tChart1.Panning.Allow = ScrollModes.None;
    

    ZoomStyles.Classic is still not fully implemented. Hence setting Zoom.Allow and Panning.Allow is not necessary for now but it will once full functionality is completed.

    UPDATE: Full ZoomStyles.Classic functionality is implemented in the 4.14.6.25 version published on 26th June 2014.

    If disabling zoom and scroll/panning is not you meant by user interaction please let me know.