ibrahimsaputra / achartengine

Automatically exported from code.google.com/p/achartengine
0 stars 0 forks source link

Chart area should also extend horizontally when hiding axes #139

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Attached screenshots:
show_access_labels.png: screenshot of a bar chart with axes shown
hide_access_labels.png: screenshot of a bar chart with axes hidden

As can be seen by comparing both screenshots, when hiding axes and labels 
(renderer.setShowAxes(false) and renderer.setShowLabels(false)), the chart area 
extends vertically to occupy the area formerly used by the bottom axis.

However, it does not extend horizontally, and the area formerly used by the 
left axis is "wasted".

I think it should also extend horizontally.

Original issue reported on code.google.com by gdass...@gmail.com on 23 Sep 2011 at 7:08

GoogleCodeExporter commented 9 years ago

Original comment by gdass...@gmail.com on 23 Sep 2011 at 7:09

Attachments:

GoogleCodeExporter commented 9 years ago
Just do this and you will see no margins at all:
renderer.setMargins(new int[] {0, 0, 0, 0});

Original comment by dandrome...@gmail.com on 5 Jan 2012 at 5:08