The chart margin

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Aycm

The chart margin

Post by Aycm » Thu Aug 22, 2002 8:47 am

Hi all,

Can anyone tell me how to set the margin of the chart?
I mean I want to set how many white space is included around the chart in the image exported.

Thanks a lot!


Aycm

David Gilbert

Re: The chart margin

Post by David Gilbert » Thu Aug 22, 2002 11:06 am

There's actually no method for setting the border around the chart as a whole...I should probably add one.

You can control the white space around the titles, axes, plot, and legend, but it's not so convenient to have to set all those just to increase the white space around the chart.

Regards,

DG.

Locked