Reputation: 2910
Refer to the image above. In AChartEngine, although Zoom Buttons are hidden using method setZoomButtonsVisible(false), it leaves a large space between the X-axis to the bottom.
How do I make the chart stick to the bottom? I have tried many methods without success.
Upvotes: 2
Views: 1068
Reputation: 32391
There are multiple way to do this. Please see a few of them below:
Set the height of the legend manually: renderer.setLegendHeight(height);
Make the legend size itself to occupy the needed space: renderer.setFitLegend(true);
Don't show the legend at all: renderer.setShowLegend(false);
Upvotes: 2