Grouped barchart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
mskjeret
Posts: 27
Joined: Sun May 23, 2004 8:58 am

Grouped barchart

Post by mskjeret » Fri Aug 11, 2006 8:04 am

Hi

I have been looking at the StackedBarChartDemo4 which does exactly what I want. I do however also need it for "normal" barcharts, but I do not see a GroupedBarRenderer anywhere.

Is there a different way of doing this? I know it would be possible to just add each group to the barchart as I would do with a 2-way barchart, but how do I get on the outer labels, grouping the inner labels?

Code: Select all

                  - Male
eg:   - 2005 
                  - Female
Any ideas?

Magne

Locked