Hari Hari - 1 year ago 161
Android Question

Disable pinch zoom in MPAndroidChart library

I want to disable pinch zoom at

barchart
in
MPAndroidChart
library

library.barchart.setpinzoomenable(false);


also not working.

Answer Source

Try this,

Disable all zooming:

chart.setScaleEnabled(false);

More info refer here