Performance problem
Posted: Thu Mar 25, 2010 1:26 pm
Delphi 2007, TeeChart 7.12:
In my application I use TBarSeries containing more than 10.000 points. A TCursorTool is used as a progress indicator.
It seems that the whole TBarSeries is repainted when the TCursorTool is moved programmatically.
This results in very high CPU use, especially on PC's with single core CPU's.
Even when an assignment like CursorTool.XValue := X; doesn't result in a visible difference (the CursorTool remains at the same X, Y coordinates) the BarSeries is redrawn.
What can I do to reduce CPU load?
Does TeeChart have some options to reduce repainting of the TCursorTool?
Applying some tricks from the page http://www.teechart.net/reference/articles/index.php doesn't make any diffence.
If needed, I can supply a small demonstration program. Otherwise the effect can be seen with Tee7New.exe or Tee8New.exe (Tools -> Cursor -> Synchronizing Two).
Regards,
Bert
In my application I use TBarSeries containing more than 10.000 points. A TCursorTool is used as a progress indicator.
It seems that the whole TBarSeries is repainted when the TCursorTool is moved programmatically.
This results in very high CPU use, especially on PC's with single core CPU's.
Even when an assignment like CursorTool.XValue := X; doesn't result in a visible difference (the CursorTool remains at the same X, Y coordinates) the BarSeries is redrawn.
What can I do to reduce CPU load?
Does TeeChart have some options to reduce repainting of the TCursorTool?
Applying some tricks from the page http://www.teechart.net/reference/articles/index.php doesn't make any diffence.
If needed, I can supply a small demonstration program. Otherwise the effect can be seen with Tee7New.exe or Tee8New.exe (Tools -> Cursor -> Synchronizing Two).
Regards,
Bert