Space between bars

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
ashish_sriv
Posts: 20
Joined: Tue Jan 16, 2007 1:54 pm

Space between bars

Post by ashish_sriv » Mon Jun 25, 2007 12:39 pm

Hi,
I have created category bar chart with itemMargin = 0 and max width= 0.8.

The bar chart that has drawn with this setting has some spaces between the bars. I want to remove those spaces but also want keep the maximum width as 0.8.

Thanks,

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Mon Jun 25, 2007 3:35 pm

There is also the categoryMargin attribute defined in the CategoryAxis that puts space between categories.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked