Page 1 of 1

Incremental Repaint

Posted: Sun Jan 03, 2010 2:17 pm
by 10546313
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

Re: Incremental Repaint

Posted: Mon Jan 04, 2010 4:06 pm
by yeray
Hi Werner,

Have you tried to use some tips of the described in the Real-time Charting article here?

Re: Incremental Repaint

Posted: Mon Jan 04, 2010 4:28 pm
by 10546313
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

Re: Incremental Repaint

Posted: Tue Jan 05, 2010 12:59 pm
by yeray
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.

Re: Incremental Repaint

Posted: Thu Jan 07, 2010 12:14 pm
by 10545590
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