Distance between bars in bar chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
sweta jaiswal
Posts: 6
Joined: Tue Apr 24, 2007 12:16 pm

Distance between bars in bar chart

Post by sweta jaiswal » Wed Apr 25, 2007 1:51 pm

How can we control distance between category bars in the bar chart, when we don't have series category combination.
I have only two bars on the chart and want to reduce distance between them.

pradheep
Posts: 15
Joined: Thu Apr 12, 2007 4:47 am
Location: Chennai [INDIA]
Contact:

Post by pradheep » Thu Apr 26, 2007 12:22 pm

wat u mean is that, the distance between the 2 bar charts.
--------------------------------
Cheers
PraDz

sweta jaiswal
Posts: 6
Joined: Tue Apr 24, 2007 12:16 pm

Post by sweta jaiswal » Thu Apr 26, 2007 12:25 pm

I mean distance / space between two bars in the same bar chart

pradheep
Posts: 15
Joined: Thu Apr 12, 2007 4:47 am
Location: Chennai [INDIA]
Contact:

Post by pradheep » Mon May 14, 2007 12:18 pm

i am also looking for that and if u find any solution do let me know. thanks in advance
--------------------------------
Cheers
PraDz

azr
Posts: 13
Joined: Sun Apr 29, 2007 6:05 pm

Post by azr » Tue May 15, 2007 9:58 am

do you mean the distance between the categories?
If it is that, try setCategoryMargin(double margin) on your categoryAxis to change the margin

Locked