double-stack-bar (img attached) how to do it?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
dpop
Posts: 20
Joined: Thu Jun 03, 2004 4:05 pm
Contact:

double-stack-bar (img attached) how to do it?

Post by dpop » Wed Jun 16, 2004 2:32 pm

Hi

How can I make a chart as in the following image?
The examples in the code use data for a single stacked bar or for multiple simple(unstacked) bars. I guess that using secondaryDataset for the plot would make the bars overlap. Any suggestions, please :roll: ?
[img]
http://www.dianapop.home.ro/
[/img]

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 » Wed Jun 16, 2004 2:36 pm

Try out StackedBarChartDemo4.
David Gilbert
JFreeChart Project Leader

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

dpop
Posts: 20
Joined: Thu Jun 03, 2004 4:05 pm
Contact:

Post by dpop » Wed Jun 16, 2004 3:49 pm

thanks, i was using the 0.9.10 version, no demo4 available.
i updated to 9.20, but i get like 300 errors in the code now, gotta modify a whole lotta things. i hope you have good documentation for changes :)

Locked