dreamer1989
dreamer1989

Reputation: 1115

Disable touch Achartengine

Is it possible to disable the motion events on the charts draw using Achartenigne?. I am mapping a chart on a linearlayout instead of the chart taking the touch/click event i wish the handle the touch on linearlayout(as linear layout is child to another layout).

Any help or suggestion is appreciated

Upvotes: 2

Views: 1007

Answers (1)

Dan D.
Dan D.

Reputation: 32391

If you want to disabled pan and zoom, you need to do:

renderer.setZoomEnabled(false, false);
renderer.setPanEnabled(false, false);

Upvotes: 6

Related Questions