Search found 5 matches

by hjf
Mon Aug 14, 2006 7:54 pm
Forum: JFreeChart
Topic: Reducing huge dataset
Replies: 9
Views: 17430

thanks for your answers Mercer. theoretically, the sensor sends its output 2 times every second, that is 172800 times a day. But, that output needs to be averaged in order to get the actual reading. it's reduced to a 2-minute average, which would reduce the dataset to 1440 points. i tried that but I...
by hjf
Mon Aug 14, 2006 3:41 pm
Forum: JFreeChart
Topic: Reducing huge dataset
Replies: 9
Views: 17430

Thanks for all the answers. Unfortunately I haven't had time to try them, but I'll do that as soon as I can and I'll let you know the results. Mercer: No, what takes a long time is the creation of the graph and the MovingAverage I added for that. That is, I create and populate the dataset first and ...
by hjf
Sat Aug 05, 2006 10:43 pm
Forum: JFreeChart
Topic: Reducing huge dataset
Replies: 9
Views: 17430

Reducing huge dataset

Hello, I'm having a problem. I have a sensor that reports 2 times every second. That's almost 173000 times a day. I want to show the readings on a chart. The problem is, how can I reduce the dataset size to make it more manageable? If I feed JFreeChart with a TimeSeries of 173000 values, I have to g...
by hjf
Sat Jul 29, 2006 12:54 am
Forum: JFreeChart
Topic: moving average not displaying?
Replies: 1
Views: 2306

Well I checked with some random data, and the line is showing, just not updating. (I loaded it with data, the first few points show, but new data is not shown).

Anyone?
by hjf
Wed Jul 26, 2006 7:32 pm
Forum: JFreeChart
Topic: moving average not displaying?
Replies: 1
Views: 2306

moving average not displaying?

Hi everyone. I have a graph that shows the temperatures of a sensor located outside my house. It sends the temperature at regular intervals, so I have a TimeSeries and a TimeSeriesCollection. Every second it does this: chartdataset.add(actual, temperatura); so the new temperature is loaded an the gr...