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?
TeeChart 7.07 VCL CPU Consumption
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TeeChart 7.07 VCL CPU Consumption
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.
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 |
Instructions - How to post in this forum |