Page 1 of 1

TeeChart 7.07 VCL CPU Consumption

Posted: Wed Jun 10, 2009 11:22 pm
by 9347407
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?

Re: TeeChart 7.07 VCL CPU Consumption

Posted: Fri Jun 12, 2009 2:41 pm
by narcis
Hi igork,

First of all notice there are newer versions of TeeChart v7 available at the client area.

For real-time applications we recommend you to read Real-time Charting article here:

http://www.teechart.net/reference/articles/index.php

If this doesn't help please attach a simple example project we can run "as-is" to reproduce the problem here.