US and Worldwide: +1 (866) 660-7555
Results 1 to 2 of 2

Thread: Space between series in BarChart

  1. #1
    Join Date
    Nov 2007
    Posts
    21

    Default Space between series in BarChart

    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-.
    BarChart.jpg

    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:
    newBarChart.jpg

    Does anyone know how to achieve it?

  2. #2
    Join Date
    Jul 2007
    Posts
    2,172

    Default

    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..
    Pedro Alves
    Meet us on ##pentaho, a FreeNode irc channel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •