[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IChartLines.Delete

Delete Method

Delete()

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.

Declaration
void Delete()
Sub Delete()
Examples
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();