Incremental Repaint

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Werner
Newbie
Newbie
Posts: 46
Joined: Mon Aug 06, 2007 12:00 am

Incremental Repaint

Post by Werner » Sun Jan 03, 2010 2:17 pm

Hi,
I use a countorplot and a surfaceplot for displaying 3D -data. The data will be acquired from a detector and so 512 datapoints are send every 100ms. My programm add the new datapoints and repaint every 1 second the chart.
If the datacounts increases the time for the repaint increases also, so I suppose the whole chart will be recalculated
and repainted.
It is possible to recalculate and repaint only the new values, so the time will be small and speed up the procedure ?

with best regards
Werner

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Incremental Repaint

Post by Yeray » Mon Jan 04, 2010 4:06 pm

Hi Werner,

Have you tried to use some tips of the described in the Real-time Charting article here?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Werner
Newbie
Newbie
Posts: 46
Joined: Mon Aug 06, 2007 12:00 am

Re: Incremental Repaint

Post by Werner » Mon Jan 04, 2010 4:28 pm

Hi Yeray,

yes I have all tried the tips so far the series has this functions.

The number of points in the surface and contour are about 200 000 to 500 000.
So the question is: is there a function to calculate and display only the new datapoints (incremental repaint) ?

best regards
Werner

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Incremental Repaint

Post by Yeray » Tue Jan 05, 2010 12:59 pm

Hi Werner,

I'm afraid you can't control a range or a point to be repainted or not, only a series or the whole chart.

I'll add to the wish list the possibility add an autorepaint property for each value or an axis range to not being redrawn (TV52014620), but both implementations would present complications for sure and/or could imply the inclusion of several conditions and other statements that could slow down the general drawing performance.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

moelski
Newbie
Newbie
Posts: 92
Joined: Tue Jun 19, 2007 12:00 am
Contact:

Re: Incremental Repaint

Post by moelski » Thu Jan 07, 2010 12:14 pm

Hi Werner,

I had same problems with TChart 8.
We have implement a fix which makes TChart a lot of faster - even if you are have incremental data.

I wrote some infos here:
http://www.teechart.net/support/viewtop ... =3&t=10495

If you like contact me via mail and I can give you more details (even if it is an unofficial fix yet).
-> schmidom ÄÄTTT web DOOTTER de

Greetz Dominik

PS: Falls du Deutsch sprichst geht auch das als Sprache :D

Post Reply