user2330792
user2330792

Reputation: 67

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;

Upvotes: 1

Views: 272

Answers (2)

Narcís Calvet
Narcís Calvet

Reputation: 7452

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.

Upvotes: 3

Hawkinson
Hawkinson

Reputation: 11

If you just want the created chart to be viewed but not manipulated by user controls why not just disable it?

tChart1.Enabled = false;

Upvotes: 1

Related Questions