Hari Hari - 4 months ago 57
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

Try this,

Disable all zooming:

chart.setScaleEnabled(false);

More info refer here