Alignment of Vertical Labels

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

Alignment of Vertical Labels

Post by Joe Sousa » Wed Oct 30, 2002 9:16 pm

My vertical labels (which are rather long) appear to be centered. Any easy way to change their alignment so that they all start immediately under the axis. Thanks.

Dave Gilbert

Re: Alignment of Vertical Labels

Post by Dave Gilbert » Thu Oct 31, 2002 11:05 am

Hi Joe,

They should be "right-aligned", not centered. There was a bug in Sun's JDK1.3 that messed this up a little. I found that it worked well with IBM's JDK1.3 or any version of JDK1.4.

If that is not the problem, send me some sample code and I'll try to figure out what is going wrong.

Regards,

DG

Locked