Page 1 of 1

Is it okay to talk to TeeChart from a non-creating thread?

Posted: Wed Apr 21, 2004 1:01 am
by 8123616
I'm plotting data that I receive from a thread that is not the same thread that created the chart and the fastline. Is this a problem?

John

Posted: Fri Apr 23, 2004 9:43 am
by Pep
Hi John,

that should be ok. Provided the data arrives at the Chart it should not be an issue that it is sourced via a different thread.

The data should be added on threads where the Series has visibility. There are other threading issues to take into account but not specific to TeeChart.

TeeChart is not specifically designed as a multi-threaded Charting Control so whilst data access may be run on different threads we don't recommend simultaneous data entry via different threads to one Chart without lock protection.