The program compiles fine but when I try to add a FixedMillisecond to a TimeSeries I get an exception saying it is expecting an instance of org.jfree.data.time.Day
I thought you could add anything that extended RegularTimePeriod.
Thanks
Problem adding a FixedMillisecond to a TimeSeries
-
- Posts: 14
- Joined: Thu Mar 02, 2006 9:00 pm
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
There is a TimeSeries constructor that lets you specify the class of time period that you plan to use. This could probably be improved (by registering the class on the first add), but anyway that's how it works right now...
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


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