Hi, great library!
I've ran into a problem: I have a bar chart, but I don't want it to be zoomable.
I set both methods
chart.setDoubleTapToZoomEnabled(false);
chart.setPinchZoom(false);
But it is still zoomable with pinch.
Any thoughts on this?
Library Version 2.0.7
Android 5.0.2
Call chart.setScaleEnabled(...). You can also find this in the documentation.
Hi,
Does disabling Zoom also disable Highlighting Per drag?
Disable all zooming:
chart.setScaleEnabled(false)
chart.setTouchEnabled(false);
Ribin this works for chart inner data. But on click my chart position changes
mChart.setPinchZoom(false);
mChart.setScaleEnabled(false);
mChart.setDoubleTapToZoomEnabled(false);
mChart.setScaleEnabled(false);//disbale all zoom
mChart.getLegend().setEnabled(false);//hide chart highlight data
Most helpful comment
Call
chart.setScaleEnabled(...). You can also find this in the documentation.