ITChart.RemoveSeries
ITChart
procedure RemoveSeries(SeriesIndex: Integer);
Type Library
TeeChartx
Description
The RemoveSeries method deletes the specified Series from the Chart list of series.
RemoveSeries simply removes the series from the chart.
It is equivalent to:
Chart1[0].ParentChart := nil;
or:
Series1.ParentChart := nil;
To destroy the series, do:
Series1.Free;
or:
Chart1[0].Free;
or, for all series in a chart:
Chart1.FreeAllSeries;