StackedArea for XYDataSet

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

StackedArea for XYDataSet

Post by Don Mitchell » Fri Dec 20, 2002 4:23 pm

Are there any plans to support the XYDataSet with a StackedArea chart. Right now only CategoryDatasets seem to be supported. I would like to use this feature with time series data.

Thanks,
Don

David Gilbert

Re: StackedArea for XYDataSet

Post by David Gilbert » Mon Dec 23, 2002 10:32 am

Hi Don,

This is on the to-do list, but hasn't been implemented yet.

There is one issue to consider: it is difficult to implement a stacked chart unless you assume that each series in the XYDataset has common x-values, and that is not required by the XYDataset in general. Code can be written to handle non-compliant datasets (e.g. by throwing an exception or implementing some workaround like interpolated values)...it's not high on my list right now though.

Regards,

Dave Gilbert

Locked