Search found 5 matches

by Alan - Blue
Tue Mar 13, 2007 5:52 pm
Forum: JFreeChart
Topic: Default Colours
Replies: 6
Views: 9860

Default Colours

Just noticed that when I have so many categories the colours on the bars repeat them selves.

anyone else has a simular problem? and how does one change this without specifying every single colour.
by Alan - Blue
Tue Mar 13, 2007 5:50 pm
Forum: JFreeChart
Topic: Exctracting and showing only Legend
Replies: 5
Views: 9279

am hiding the rest of the chart now by specifying the hieght of the chart absed on the number of items in the legend.

would be nice to have another way but this does it.
by Alan - Blue
Tue Mar 13, 2007 4:13 pm
Forum: JFreeChart
Topic: Exctracting and showing only Legend
Replies: 5
Views: 9279

Exctracting and showing only Legend

I have got myself into a bit of a pickle, my charts allows users to select as many categories as they wish to the point that the chart image is taken up with just the legend. So I have used the get legend function and put this into and chart image giving the users the ability to see the chart and th...
by Alan - Blue
Wed Nov 15, 2006 5:07 pm
Forum: JFreeChart
Topic: SubCategory Labels
Replies: 0
Views: 4201

SubCategory Labels

Seen a few people complain about unable to change the position, did this earlier: 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 th...
by Alan - Blue
Wed Nov 15, 2006 5:05 pm
Forum: JFreeChart
Topic: HELP! can't set subCategory LabelPositions
Replies: 4
Views: 6938

know its a bit late, but only started using jfree chart and managed to solve this using font manipulation. 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 ...