Finding No of months

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

Finding No of months

Post by Saran » Sat May 25, 2002 10:51 am

Hai,

For plotting Moving average, I am using two dates. For Each month in the interval, I am calculating avg from DB. This info will be plotted as Moving Avg chart.
For that I have to find out how many months are there in between from date and two date.

Is there any method available for that in Jfreechart library??

Thanks in advance
Saran

David Gilbert

Re: Finding No of months

Post by David Gilbert » Mon May 27, 2002 7:25 am

No, there isn't. I'd like to add a general mechanism for computing functions on a TimeSeries, and a moving average would be one such function. But as always, I need to find the time to do it.

Regards,

DG

Locked