Search found 2 matches

by luca
Thu Oct 13, 2011 8:30 am
Forum: JFreeChart
Topic: Chart correct size
Replies: 4
Views: 6309

Re: Chart correct size

Thank you, but maybe your answer is not good for me.
ChartPanel is a subclass of JPanel, I forgot to say that I'm not in a swing context: I'm using JFreeChart in a servlet.
by luca
Wed Oct 12, 2011 11:48 am
Forum: JFreeChart
Topic: Chart correct size
Replies: 4
Views: 6309

Chart correct size

Hi,

I'm able to create a graph using JFreeChart, but I need to save it to an image as smallest as possible.
How can I know what are the minimla width and height?
Or how can I know the correct width/height ratio?

Thank you
Luca