AchartEngine have two ways to zoom chart. First is by the "button" and second by the "fingers". Is there a way to disable one of them? I don't want to zoom by "fingers". Is it possible?
you can use XYMultipleSeriesRenderer methods to enable or disable zooming
mRenderer.setPanEnabled(false, false);
mRenderer.setZoomEnabled(false, false);
renderer.setZoomEnabled(false, false);
also see this
http://www.achartengine.org/content/javadoc/org/achartengine/tools/class-use/ZoomListener.html#org.achartengine
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