Line Wrapping

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

Line Wrapping

Post by Naily » Tue Aug 20, 2002 11:17 am

Is there a way to avoid that long labels are split into more than one line?

David Gilbert

Re: Line Wrapping

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

You could try setSkipCategoryLabelsToFit(true) in the HorizontalCategoryAxis class, or setVerticalCategoryLabels(true). Apart from that, it looks like the answer is no...at some point I will try to add a flag to switch off this behaviour.

Regards,

DG.

Locked