[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IChartGroup.SplitType

SplitType Property

SplitType

Gets or sets the way the two sections of either a Pie of Pie chart or a Bar of Pie chart are split.

Use this property to determine which split rule is currently applied to the chart group.

Declaration
ChartSplitType SplitType { get; set; }
Property SplitType As ChartSplitType
Examples
worksheet.Range["A1:B6"].Value = new object[,] {
    {"Category", "Value"},
    {"North", 45},
    {"South", 12},
    {"East", 18},
    {"West", 8},
    {"Other", 5}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.PieOfPie, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B6"], RowCol.Columns, true, true);
IChartGroup chartGroup = chart.ChartGroups[0];
chartGroup.SplitType = ChartSplitType.SplitByValue;
ChartSplitType splitType = chartGroup.SplitType;