Turn off zoom achart zoom

AchartEngine has two ways to scale a chart. First is the "button", and the second is the "fingers". Is there a way to disable one of them? I do not want to increase the fingers. Is it possible?

+5
source share
1 answer

you can use XYMultipleSeriesRenderer methods to enable or disable scaling

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

+7
source

All Articles