General Performance

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
phil
Newbie
Newbie
Posts: 1
Joined: Thu Mar 01, 2001 5:00 am
Location: Austin, TX

General Performance

Post by phil » Thu May 27, 2004 2:51 pm

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.

Ed
Newbie
Newbie
Posts: 33
Joined: Tue Mar 09, 2004 5:00 am
Location: Oregon, USA
Contact:

Post by Ed » Thu May 27, 2004 10:16 pm

Each series has a BeginUpdate/EndUpdate method. Have you tried these?

Ed Dressel

Post Reply