[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ISparklineGroups.ClearGroups

ClearGroups Method

ClearGroups()

Clears the selected sparkline groups.

Removes the sparkline groups associated with the selected cells. Unlike Clear(), this method removes entire sparkline groups rather than only clearing individual sparkline objects from the selected cells.

Declaration
void ClearGroups()
Sub ClearGroups()
Examples
worksheet.Range["A1:B2"].Value = new object[,] {
    {1, 2},
    {3, 4}
};
worksheet.Range["D1:D2"].SparklineGroups.Add(SparkType.Line, "A1:B2");
worksheet.Range["D1"].SparklineGroups.ClearGroups();