TeeChart 7.07 VCL CPU Consumption
Posted: Wed Jun 10, 2009 11:22 pm
We have simple chart with single ColorLine tool moving as application advances in real-time.
For some reasons this movement causes aggressive CPU consumption by
TeeChart Pro 7.07. (from 15% to 100% saturation on a slow processor)
As I changed ColorLine tool position every 2nd, 4th step of the application progress,
CPU consumption drops to 85%
This functionality was previously implemented by redrawing a line on a
canvas using Win32 API and CPU overhead was very little.
Looks like TChart redraws something that doesn't require
redrawing.
Can someone suggest how to optimize repaint or redraw of the chart or suggest VCL component more suitable for real-time applications?
For some reasons this movement causes aggressive CPU consumption by
TeeChart Pro 7.07. (from 15% to 100% saturation on a slow processor)
As I changed ColorLine tool position every 2nd, 4th step of the application progress,
CPU consumption drops to 85%
This functionality was previously implemented by redrawing a line on a
canvas using Win32 API and CPU overhead was very little.
Looks like TChart redraws something that doesn't require
redrawing.
Can someone suggest how to optimize repaint or redraw of the chart or suggest VCL component more suitable for real-time applications?