DoughnutGroups Method

Applies To

Chart object.

Description

On a 2-D chart, returns an object that represents either a single doughnut chart group (a ChartGroup object, Syntax 1) or a collection of the doughnut chart groups (a ChartGroups collection, Syntax 2).

Syntax 1

expression.DoughnutGroups(Index)

Syntax 2

expression.DoughnutGroups

expression Required. An expression that returns a Chart object.

Index Optional Variant. Specifies the chart group.

See Also

AreaGroups method, BarGroups method, ChartGroups method, ColumnGroups method, LineGroups method, PieGroups method.

Example

This example sets the starting angle for doughnut group one.

myChart.DoughnutGroups(1).FirstSliceAngle = 45