Can anyone help me about AChartEngine. Here the first thing I need is not to show zoom icon with the chart and also not to show x,y labels. But I could not find any solution
You can use XYMultipleSeriesRenderer
methods
to enable or disable zooming and pan like this.
renderer.setPanEnabled(false, false);
renderer.setZoomRate(0.2f);
renderer.setZoomEnabled(false, false);
and regarding removing the X, Y labels, I think you cannot remove labels. Workaround is to pass an empty String
(i.e ""
).
For further reference you can download their Documentation, under achartengine-0.6.0-javadocs.zip
.
来源:https://stackoverflow.com/questions/6503563/how-to-make-disable-to-show-zoom-pane-in-achartengine