Page 1 of 1

TChartSeries.Clear

Posted: Wed Sep 06, 2006 2:28 pm
by 5891318
Hi,
i have a chart with many series on it. i populate these series by dynamically generating numerical data during a 'run'. There is a predefined start time and end time.

If i start a new 'run', i clear each of the series and re populate them during the run. The x-axis + yaxis ranges stay the same for each 'run'.

The problem i am having is that after i clear the series, there is some residue left over in the SeriesObject of the Last XY Value in the series (OldX, OldY), then when i go on and add my new points starting at the start again, a line gets drawn across the chart from the last point to the first point.

any help appreciated..

Posted: Wed Sep 06, 2006 2:47 pm
by narcis
Hi Brino,

Could you please send us an example project we can run "as-is" to reproduce the problem here.

You can post your files at news://www.steema.net/steema.public.attachments newsgroup.

Thanks in advance.