IntervalCategoryDataset and LayeredBarRenderer

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
azr
Posts: 13
Joined: Sun Apr 29, 2007 6:05 pm

IntervalCategoryDataset and LayeredBarRenderer

Post by azr » Mon Jun 04, 2007 2:46 pm

Hi all,
I need to draw this kind of Chart:
Image

The dataset will be an IntervalCategoryDataset. I wanted to use the LayeredBarRenderer, but it seems that it doesn't work with this kind of Dataset (the drawing always start at 0 on the ValueAxis whereas i want it to start at 30 for exemple)

Do i have to create my own renderer or i have missed something?

And a last question, about the LayeredBarRenderer.. Do the SortOrder is linked to the category Name or Index, or to the category values?
Here is an illustration of what i mean (because i can't find the right words to express what i want :D ):

Image

The product 3 is always behind the others. Is it because of its index?

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

Post by azr » Tue Jun 05, 2007 3:59 pm

Nobody? :wink:

Locked