Novice Question : TimeSeries

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

Novice Question : TimeSeries

Post by Melissa » Tue Apr 16, 2002 5:44 pm

Pardon my ignorance...I am new to Java....

Here is what I am needing to do...I need to create a graph (line, timeseries) that essentially updates continuously for about 5 minutes either using numbers that I am feeding it or it is receiving from a file. I would think the updates would need to happen every 10-15 seconds. This is a very simply graph....(but I am getting nowhere with it)....

Is this possible using the dynamic functionality included with the most recent release, or am I looking in the wrong place for this???

Please Help!!!!

David Gilbert

Re: Novice Question : TimeSeries

Post by David Gilbert » Tue Apr 16, 2002 5:57 pm

The DynamicDataDemo class shows a time series that is updated with a random value every time you click the button. This is probably a good starting point for what you want to do.

The horizontal axis range is fixed at 1 minute in the demo, but you can easily change this.

Regards,

DG.

Locked