TimeSeriesCollection

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

TimeSeriesCollection

Post by stoshi » Fri Feb 01, 2002 10:08 am

Im going to use this chart using servlet.
Dave told me a little ago to use TimeSeriesCollection instead of DefaultXYDataset.
and when i looked at BasicTimeSeries class in DemoDatasetFactory, dates are like "5,Feb,2001". My JDBC driver, which is sybase's only shows the type like "2001-12-13" as Date type, and I can also change type as String like "20011213". But as long as i try to input both data, date and values, into TimeSeriesCollection Class, do i have to change data type into like your example? what kind of formats are available?

sorry for my ignorance and thanks for your help.

David Gilbert

Re: TimeSeriesCollection

Post by David Gilbert » Fri Feb 01, 2002 3:42 pm

Hi Stoshi,

I'm working on adding a parseXXXX method to each of the TimePeriod subclasses to make string conversions easier. This enhancement should make it into the next release, but when that is depends on how much spare time I have...

Regards,

DG

Locked