I have a problem with timeseries. I have a document that contains
information on how to add data to timeseries (for month, hour etc)
but if i just wanna to add Date. how could i do that?
for ex.
It is given in your eg. as
TimeSeries s1 = new TimeSeries("L&G European Index Trust", Month.class);
s1.add(new Month(2, 2001), 181.8 );
now can i have something like this
TimeSeries s1 = new TimeSeries("L&G European Index Trust", java.util.Date.class );
s1.add(mydateobject, 181.8 );
Please reply ASAP as my project is stuck because of this
adding date to timeseries
Re: adding date to timeseries
I got the solution for this problem and it is working now I used "Day"
class and passed the date object to it. It is working fine, I referred to the
documentation of jfree and its very helpful.
class and passed the date object to it. It is working fine, I referred to the
documentation of jfree and its very helpful.

Yogesh wrote:I have a problem with timeseries. I have a document that contains
information on how to add data to timeseries (for month, hour etc)
but if i just wanna to add Date. how could i do that?
for ex.
It is given in your eg. as
TimeSeries s1 = new TimeSeries("L&G European Index Trust", Month.class);
s1.add(new Month(2, 2001), 181.8 );
now can i have something like this
TimeSeries s1 = new TimeSeries("L&G European Index Trust", java.util.Date.class );
s1.add(mydateobject, 181.8 );
Please reply ASAP as my project is stuck because of this