Problem when resizing a ChartPanel runtime!?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Muriel
Posts: 4
Joined: Mon Jul 12, 2004 8:30 am

Problem when resizing a ChartPanel runtime!?

Post by Muriel » Tue Nov 23, 2004 1:30 pm

I have a a jfreechart within a chart panel.
When I give this an initial size and run the program everything seems to be ok. The font size which I choose is OK.
When I change the size runtime and set the ratio from e.g. 4:3 to 1:5, the font doesn't stay the same, but it scales into a very narrow font with a large height.
It looks like freechart doesn't resize everything but scales the chart. It's not only the font that doesn't look nice after resizing, but also when using dotted lines etc...

Does anyone no what the problem is, and if there is a way to prevent this to happen ????

Thanks so far,
Muriel

Locked