[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IChart.PieGroups

PieGroups Property

PieGroups

Gets the collection of pie chart groups on a 2D chart.

Use this property to access pie chart group settings exposed through IChartGroups, such as the group definitions for pie-based 2D charts.

Declaration
IChartGroups PieGroups { get; }
ReadOnly Property PieGroups As IChartGroups
Examples
worksheet.Range["A1:B4"].Value = new object[,] {
    {"Name", "Sales"},
    {"East", 35},
    {"West", 25},
    {"North", 40}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.Pie, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B4"], RowCol.Columns, true, true);
IChartGroups pieGroups = chart.PieGroups;