vertical tick labels

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
JohnSColeman
Posts: 3
Joined: Tue Oct 24, 2006 12:32 pm

vertical tick labels

Post by JohnSColeman » Tue Oct 31, 2006 10:57 am

I have a 3D bar chart created using the factory, and have Days on the domain axis.

I sthere any way to have vertical tick labels for the dates as we can on a DateAxis. The setVerticalTickLabels method doesn't seem to be implemented?

TIA
John

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 » Tue Oct 31, 2006 3:03 pm

You can do this:

Code: Select all

CategoryAxis domainAxis = plot.getDomainAxis();
domainAxis.setCategoryLabelPositions(CategoryLabelPositions.UP_90);
David Gilbert
JFreeChart Project Leader

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

Locked