Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
AchartEngine 有两种缩放图表的方法。首先是“按钮”,其次是“手指”。有没有办法禁用其中一个?我不想用“手指”放大。是否可以?
您可以使用 XYMultipleSeriesRenderer 方法来启用或禁用缩放
mRenderer.setPanEnabled(false, false); mRenderer.setZoomEnabled(false, false); renderer.setZoomEnabled(false, false);
也看到这个
http://www.achartengine.org/content/javadoc/org/achartengine/tools/class-use/ZoomListener.html#org.achartengine