Bar chart - how to display a moving average curve?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
mst1978
Posts: 8
Joined: Wed Jul 19, 2006 3:35 pm

Bar chart - how to display a moving average curve?

Post by mst1978 » Fri Jul 28, 2006 9:17 am

Hello,

I have a simple question:
can I display a moving average curve within a bar chart?

My situation
I have a bar chart that displays 150 bars (each bar is one day.).
This works fine.

Now I want to have a curve that shows the 10-day moving average of the bars.
How can I do this?

Do you know what I mean?
It's something like the blue curve in this chart:
http://www.1stein.de/1stein/gif/01indema.gif

Thanks for any hints!

Locked