auto switch vertical and horizontal label depending upon dat

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
nilesh
Posts: 20
Joined: Wed May 21, 2003 10:56 am
Contact:

auto switch vertical and horizontal label depending upon dat

Post by nilesh » Thu Jan 08, 2004 10:45 am

We know

plot.getDomainAxis().setVerticalCategoryLabels(true);

draws vertical label.

How can we set label vertical only after calculating that labels overlap, other wise draw Horizontal label ?

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 » Thu Jan 08, 2004 11:13 pm

It isn't supported. But 0.9.16 will have the label wrapping working again...
David Gilbert
JFreeChart Project Leader

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

Locked