SubCategory Labels

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Alan - Blue
Posts: 5
Joined: Wed Nov 15, 2006 5:03 pm

SubCategory Labels

Post by Alan - Blue » Wed Nov 15, 2006 5:07 pm

Seen a few people complain about unable to change the position, did this earlier:

Code: Select all

      domainAxis.setSubLabelFont((java.awt.Font)domainAxis.getSubLabelFont().deriveFont(1, new java.awt.geom.AffineTransform().getRotateInstance(Math.PI / 2.5)));

where domain axis is my subcategory axis

Just need to move the position of the category axis labels down a bit as currently they overlap

Locked