Search found 3 matches

by kevdev
Wed Jul 20, 2005 2:48 pm
Forum: JFreeChart
Topic: Is This a Bug?
Replies: 8
Views: 9983

I think jdbc dataset is a good Idea as I is quick, easy and tidy to use but in my experience it is limited. I have used the JDBCXYDataset in the past but I was limited to one time series. When I wanted to add more TimeSeries I found that I had to take out the JDBC and create a new TimeSeriesCollecti...
by kevdev
Mon Jul 18, 2005 10:11 am
Forum: JFreeChart
Topic: adding date to timeseries
Replies: 3
Views: 4560

I used the millisecond class as i wanted to add a new java.util.Date.
The java.util.Date reutrns a Date object to the nearest millisecond.

TimeSeries ts = new TimeSeries("new series", Millisecond.class);
ts.add(new Millisecond(java.util.Date object), 1234);

Works fine for me!
by kevdev
Fri Jul 15, 2005 3:28 pm
Forum: JFreeChart
Topic: TimeSeries and RegularTimePeriod problem...
Replies: 2
Views: 4143

TimeSeries and RegularTimePeriod problem...

Hello, I have a couple of 'newbie' questions... I'm creating a TimeSeriesCollection with the TimesSeires being populated from a database. Once i have run my sql query I iterate around the result set, storing the returned values as a java.util.Data and a Double and the try to add to the TimeSeries. M...