TChartSeries.Clear
Posted: Wed Sep 06, 2006 2:28 pm
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..
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..