PDA

View Full Version : Space between series in BarChart



siyi23
01-13-2011, 03:15 PM
Hi all!

I've developed a dashboard which includes a simple barchart (jFree) with two series.
My problem is that space between bars from the same series is equal to space between bars from different series.

I've attched an example to clarify this. Series #1 is orange -to the left of the category- and #2 is blue -to the right of the category-.
6710

I want to reduce space between series from the same category, so there will be pairs of orange and blue bars. My objective is something like this:
6711

Does anyone know how to achieve it?

pmalves
01-13-2011, 06:55 PM
Well, if you were using CCC, all you'd need would be the properties panelSizeRatio:0.75 and barSizeRatio: 1 ... but since you're using jfreechart, no can do.. :)