SplitType Property

Applies To

ChartGroup object.

Description

Returns or sets the way the two sections of either a pie of pie chart or a bar of pie chart are split. Can be one of the following XlChartSplitType constants: xlSplitByPosition, xlSplitByPercentValue, xlSplitByCustomSplit, or xlSplitByValue. Read/write Long.

See Also

SplitValue property.

Example

This example must be run on either a pie of pie chart or a bar of pie chart. The example splits the two sections of the chart by value, combining all values under 10 in the primary pie and displaying them in the secondary section.

With myChart.ChartGroups(1)
    .SplitType = xlSplitByValue
    .SplitValue = 10
    .VaryByCategories = True
End With