Page 1 of 1

FIFO, Fixed data width/deap in Chart.Series

Posted: Wed Jul 23, 2008 8:02 am
by 9232434
Hello,
with
Chart.Series[iColumn].Addxy(DateTime, iData,'',clteecolor)
I add new datapoints in the chart. Ok works.

I must limit, fix a maximum with of e.g. 1000 datapoints.
That means, if I would Addxy a 1001 data value the entriespoint No.1
should be deleted.
Like a FIFO new datavalues comes in and old ones get out. The maximum
data with shoud be fixed.
How can I solve that?

Regards Klaus

Posted: Wed Jul 23, 2008 8:10 am
by narcis
Hi Klaus,

You can do that as shown in the Real-time Charting article here.

Hope this helps!