Page 1 of 1

Multi-threaded model of TeeChart

Posted: Fri Nov 06, 2009 3:16 am
by 13052959
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

Re: Multi-threaded model of TeeChart

Posted: Fri Nov 06, 2009 12:30 pm
by 10050769
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,