Page 1 of 1

Slow screen update when using a thread

Posted: Sat Oct 22, 2005 6:45 am
by 8443014
Hello,
We have the VCL 7.05, I have a TChart with multiple TLineSeries graphs being displayed. I have a thread that reads a specific database format and loads the data into the series.

This seems to work fine as long as I'm not looking at the series when they are being updated on the screen.

I have tried TChart->AutoRepaint = false before loading the data and then turning it back on after the data is loaded.

Regardless of what I do when I have the graphs on the screen I can see the lines loading very slowly. If I go to another tab and back the data will be loaded.

Whats the best way of doing this ?

TIA,
Brett

Posted: Sat Oct 22, 2005 11:58 pm
by 9236183
Not sure how but when I posted this it must have logged me in as Dave...

Posted: Tue Oct 25, 2005 1:33 am
by 9236183
after a bit of testing and looking at the speed demo examples I have managed to speed up the performance

Posted: Fri Oct 28, 2005 9:47 am
by Pep
Hi,

great ! I'm glad to hear that.