TeeChart 7.07 VCL CPU Consumption

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
igork
Newbie
Newbie
Posts: 1
Joined: Wed Sep 06, 2006 12:00 am

TeeChart 7.07 VCL CPU Consumption

Post by igork » 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?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: TeeChart 7.07 VCL CPU Consumption

Post by Narcís » Fri Jun 12, 2009 2:41 pm

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply