Realtime update of FastLine
Posted: Wed Oct 18, 2006 10:38 pm
Hi,
I am trying to get a couple of charts with one FastLine series each to display realtime information. The series contains arround 1000 points, and as new data is added the oldest is removed.
I need to add data fast, say 100Hz, (10ms time difference between each sample), but I would be happy to update the display much slower (10Hz?).
At present I max out my CPU, and it still can't cope - but I suspect this is because the graph is trying to update for every point added and removed.
Is there any trick to updating the series in chunks?
I am developing an application for a laptop, and I am developing on a Celleron 2.04GHz system with 512MB Ram, using VS 2003.
Language is C# .net.
TChart version is 2.0.2179.21171
Any advice would be great.
Thanks
I am trying to get a couple of charts with one FastLine series each to display realtime information. The series contains arround 1000 points, and as new data is added the oldest is removed.
I need to add data fast, say 100Hz, (10ms time difference between each sample), but I would be happy to update the display much slower (10Hz?).
At present I max out my CPU, and it still can't cope - but I suspect this is because the graph is trying to update for every point added and removed.
Is there any trick to updating the series in chunks?
I am developing an application for a laptop, and I am developing on a Celleron 2.04GHz system with 512MB Ram, using VS 2003.
Language is C# .net.
TChart version is 2.0.2179.21171
Any advice would be great.
Thanks