DoughnutGroups method (Excel Graph)
On a 2D chart, returns an object that represents either a single doughnut chart group or a collection of the doughnut chart groups.
Syntax
expression.DoughnutGroups (Index)
expression Required. An expression that returns one of the objects in the ChartGroups collection.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Index | Optional | Variant | Specifies the chart group. |
Example
This example sets the starting angle for doughnut group one.
myChart.DoughnutGroups(1).FirstSliceAngle = 45
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.