ChartGroup.SplitType property (Word)
Returns or sets the way the two sections of either a pie-of-pie chart or a bar-of-pie chart are split. Read/write XlChartSplitType.
Syntax
expression.SplitType
expression A variable that represents a ChartGroup object.
Example
The following 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. You must run the example on either a pie-of-pie chart or a bar-of-pie chart.
With ActiveDocument.InlineShapes(1)
If .HasChart Then
With .Chart.ChartGroups(1)
.SplitType = xlSplitByValue
.SplitValue = 10
.VaryByCategories = True
End With
End If
End With
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for