Multi-threaded model of TeeChart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Peter Kieu
Newbie
Newbie
Posts: 6
Joined: Mon Apr 20, 2009 12:00 am
Contact:

Multi-threaded model of TeeChart

Post by Peter Kieu » Fri Nov 06, 2009 3:16 am

Hello TeeChart members,

Could you tell me about the multi-threading model of TeeChart components?

In my application, I have:
- 1 job collecting data (from file, database or over network...)
- 1 job update, draw chart (use TeeChart)
- 1 main job for all remained GUI interactions

As far as I know, when we use Chart.Series.Add() method, the graph automatically updated in the main GUI thread.
My question is:
How to use a background thread to manage updating, drawing graph of TeeChart charts?

Thanks

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Multi-threaded model of TeeChart

Post by Sandra » Fri Nov 06, 2009 12:30 pm

Hello Peter Kieu,

I recomended that put autorepaint=False,so you can do as many adds if you want and force tChart.Draw() or tChart.Refresh when you interest. Also, I think, help if you see this link that talks about threads using TeeChart .Net.

I hope will helps.

Thanks,
Best Regards,
Sandra Pazos / 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