Performance Optimizations on Compact Framework

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
rp
Newbie
Newbie
Posts: 10
Joined: Wed May 31, 2006 12:00 am

Performance Optimizations on Compact Framework

Post by rp » Wed Jun 21, 2006 9:43 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Jun 22, 2006 9:31 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply