[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ISeries.ClearFormats

ClearFormats Method

ClearFormats()

Clears the formatting of this series.

Use this method to remove custom formatting that has been applied to the series.

Declaration
void ClearFormats()
Sub ClearFormats()
Examples
worksheet.Range["A1:B4"].Value = new object[,] {{"Month", "Sales"}, {"Jan", 12}, {"Feb", 18}, {"Mar", 15}};
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B4"]);
ISeries series = chart.SeriesCollection[0];
series.Format.Fill.Color.RGB = Color.Blue;
series.ClearFormats();