I want to disable pinch zoom at barchart
in MPAndroidChart
library how i can do that.
library.barchart.setpinzoomenable(false);
also not working.
I want to disable pinch zoom at barchart in MPAndroidChart library how i can do that. library. barchart. setpinzoomenable(false);
Touch or click the picture of the touchpad. Touch or click the Gestures tab. Touch or click the box next to Pinch Zoom to Enable or Disable the Pinch Zoom function.
To disable pinch-zoom in HTML, simply add <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> to the <head> section.
Try this,
Disable all zooming:
chart.setScaleEnabled(false);
More info refer here
Marker will continue to work but zoom will be disable
chart.setTouchEnabled(true)
chart.setPinchZoom(false)
chart.isDoubleTapToZoomEnabled = false
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With