is it possible to make stacked bars ?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Nerbert Fekkes

is it possible to make stacked bars ?

Post by Nerbert Fekkes » Tue Sep 11, 2001 3:19 am

Is it possible to make stacked bars with JFreeChart?
For clearification i mean this:

3
3
2 2
2 2
1 2
1 2
1 1
1 1

i hope you get the point....

JYP

RE: is it possible to make stacked bars ?

Post by JYP » Tue Sep 11, 2001 10:41 pm

I manage to do it but I modified the sources of jfreechart. This is not a big modification but it works (at least for what at needed) go and see http://www.jypignier.com/tiger/JYP%20Repartition.gif for an example.
There is one restriction with is that the data has to be ordered ( from the bigest to the smallest).
Just send me an email if you want details or if yo manage to do it using the 'normal' version of JfreeChart.
JY

Nerbert Fekkes

RE: is it possible to make stacked bars ?

Post by Nerbert Fekkes » Wed Sep 12, 2001 11:25 am

ok i'll take a look! thanks for your reply...

Nerbert Fekkes

RE: is it possible to make stacked bars ?

Post by Nerbert Fekkes » Wed Sep 12, 2001 11:37 am

Hi again, the one you are showing there is almost what i ment. What i really ment was something like this:

http://www.aspdb.org/doc/ChartParams26.gif

David Gilbert

RE: is it possible to make stacked bars ?

Post by David Gilbert » Mon Sep 17, 2001 2:49 pm

Hi Nerbert,

It isn't possible in the current version, sorry. Other developers have requested this previously - see request 405816 on SourceForge. I can't promise when I'll get around to coding this - but I will eventually, if someone doesn't contribute code for it first...

Regards,

DG.

Locked