Clarification on TimeSeries

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

Clarification on TimeSeries

Post by bill milbratz » Thu Jan 24, 2002 2:52 am

I wanted to clarify a behavior of TimeSeriesDataSet:

It appears that if I use a time series, I do *not* need to 'fill in the holes' in a series, i.e. if I have activity for the months Jan, Feb, March, and May, but none in April, I wouldn't need to 'fill the series' with a zero value for april?

If so, this is a nice feature, because you can use the results from an sql 'group by' statement directly.

Is this correct?

thanks

bill milbratz

David Gilbert

RE: Clarification on TimeSeries

Post by David Gilbert » Thu Jan 24, 2002 9:36 am

Hi Bill,

That is correct.

Note that I've renamed TimeSeriesDataset --> TimeSeriesCollection, to avoid possible confusion. Now only data interfaces are named XxxDataset...TimeSeriesCollection is a *class* that implements the IntervalXYDataset interface.
Regards,

DG.

Locked