How to remove/hide the X-axis number in achartengine of Android?
android
Solution
Hey you can use method
renderer.setXLabels(0);
This method accept maximum number of label that should be displayed on X axis.
Problem
I use achartengine to draw some statistics bar graph on my Android application. As you can see from the above picture, the X(Y)-axis contains a series of number: 10 20 30 40 ... And I want to remove/hide the X-axis numbers. Does anyone know how to do it via programming? Or in another word, how to change achartengine's settings to achieve it. Thanks! I find the answer: ``` // by it, the x-axis number 0 10 20 30.. can be hiden renderer.setXLabels(RESULT_OK); ```