Hide y-axis with AChartEngine only
1 answer
You can hide both axes this way:
renderer.setShowAxes(false);
You can hide the grid independently:
renderer.setShowGridY(false);
If the above is not enough, you can set the margins, for example, the Y-axis is not visible and move the Y-axis labels to the right:
renderer.setMargins(new int[] {20, -1, 10, 20});
renderer.setYLabelsAlign(Align.LEFT);
renderer.setYLabelsPadding(-10);
+8
source to share