[]
Deletes this chart lines object.
After this method is called, the associated chart lines are removed from the parent chart element and are no longer shown.
void Delete()
Sub Delete()
worksheet.Range["A1:C4"].Value = new object[,] {
{"Month", "North", "South"},
{"Jan", 10, 14},
{"Feb", 18, 12},
{"Mar", 15, 20}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnStacked, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:C4"], RowCol.Columns, true, true);
IChartGroup chartGroup = chart.ChartGroups[0];
chartGroup.HasSeriesLines = true;
IChartLines seriesLines = chartGroup.SeriesLines;
seriesLines.Delete();