Page 1 of 1

General Performance

Posted: Thu May 27, 2004 2:51 pm
by 5886064
Currently migrating to Tee7 and D7. Have noticed some performance issues.
Specifically, I have soem large candle charts, with maybe 7 secondary series of lines and other types. Each series has > 50K points.

Underneath this I draw TColorBandTool [vertical bands], using DrawBehind := True;
There may be 1000 color bands,

In D5, I was able to draw all the color bands in a loop, and TeeChart would refresh itself AFTER the loop.

It now appears that TeeChart V7 repaints all the series EACH time a new ColorBand is Created OR Deleted. This is now painfully slow.

Q: Any way to use BeginUpdate / EndUpdate to postpone chart updates ?
Q2: Any way to use Buffered to "smooth" the display refreshes.

For now, I have kludged it to make the Chart.Visible := False; Doo everything; Chart.Visible := True;
THis results in annoying flashes.

Thks in advance.

Posted: Thu May 27, 2004 10:16 pm
by 9336214
Each series has a BeginUpdate/EndUpdate method. Have you tried these?

Ed Dressel