Auto Scale Mode and Display Errors

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Tobi
Posts: 12
Joined: Fri Jul 30, 2004 4:12 pm
Location: Black Forrest, Germany
Contact:

Auto Scale Mode and Display Errors

Post by Tobi » Wed Sep 15, 2004 10:07 am

Hello,

is it possible to set off the auto scaling mode?

i have the problem, if the panel is to big, the auto scaling, set the font size, to a bigger one. But than there are display errors. For example: The char "4" seems like a "1" cause the horizontal line in the middel, wouldn't be displayed correct.

An other fault is, that the labels ovverlapp, because, they have a to big font size.

Best regards,

Tobi

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Wed Sep 15, 2004 10:42 am

In the ChartPanel class, increase the settings with setMaxDrawWidth() and setMaxDrawHeight().
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked