Page 1 of 1

Performance Optimizations on Compact Framework

Posted: Wed Jun 21, 2006 9:43 pm
by 9641429
Hello,

I would like to know what would be the recommandations in terms of performance optimization to allow a Line Chart to take the least amount of time to refresh itself.

The reason I am asking is that we are developing a rather large application running with the Compact Framework on Windows CE.
We want to add 10 new points to a chart every second but it seems like the time it takes to add the new points to the series, delete the points that should no longer be shown (10 points every seconds) and let the chart refresh itself is a little too large, leading to an OutOfMemoryException after a few hours.

Are there any recommandations I should follow to try to optimize the way the chart is refreshed ( like using FastLine instead of Line, setting AutoRefresh to false while updating the points, etc. )

Thank you,

Yannick

Posted: Thu Jun 22, 2006 9:31 am
by narcis
Hello Yannick,

Yes, please read the recommendations at this FAQ article. It is written in Delphi but most properties and methods are the same with TeeChart for .NET.