Stacked XY Bar Chart Possible

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
JoshRountree
Posts: 14
Joined: Thu Mar 02, 2006 9:00 pm

Stacked XY Bar Chart Possible

Post by JoshRountree » Wed Sep 26, 2007 3:40 am

Is this possible with a TimePeriodValuesCollection and a DateAxis? I'm guessing not since that dataset does not allow duplicate values?

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 Sep 26, 2007 6:01 pm

No, it needs to be a dataset that implements the TableXYDataset (e.g. DefaultTableXYDataset or CategoryTableXYDataset).
David Gilbert
JFreeChart Project Leader

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

JoshRountree
Posts: 14
Joined: Thu Mar 02, 2006 9:00 pm

Post by JoshRountree » Wed Sep 26, 2007 7:06 pm

Before I dig into the API, would this be possible to do, if you made a new dataset that implemented the TableXYDataset with TimePeriodValues as the underlying dataset? All with the same time period obviously.

Locked