How to reduce gap between bar?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
jfcfan
Posts: 4
Joined: Fri Sep 08, 2006 11:27 am

How to reduce gap between bar?

Post by jfcfan » Fri Sep 08, 2006 12:04 pm

From the CombinedCategoryPlotDemo1 demo, it show some gap between the 2 bars of each group. jfreechart 1.0.0

| | | | | | | |
| | | | | | | |
-----------------------
Group 1 Group 2

You can see picture from this link: http://img153.imageshack.us/img153/219/ ... rt2wl0.png

How to reduce that gap like below picture? Any example code?

| || | | || |
| || | | || |
-----------------------
Group 1 Group 2

You can see picture from this link: http://img153.imageshack.us/img153/7763 ... rt1rz9.png

jfcfan
Posts: 4
Joined: Fri Sep 08, 2006 11:27 am

Post by jfcfan » Thu Mar 01, 2007 6:58 am

Image
//barrenderer.setItemMargin(0);

Image
barrenderer.setItemMargin(0);

ashish_sriv
Posts: 20
Joined: Tue Jan 16, 2007 1:54 pm

Post by ashish_sriv » Thu Mar 01, 2007 8:37 pm

How can we control the gap between catogaries?

Thanks

Locked