PieGroups Method

Applies To

Chart Object.

Description

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

Syntax 1

object.PieGroups(index)

Syntax 2

object.PieGroups

object

Required. The Chart object.

index

Required for Syntax 1. Specifies the chart group.

See Also

Pie3DGroup Property.

Example

This example converts pie group one in Chart1 to an area group. The example should be run on a 2-D chart.


Charts("Chart1").PieGroups(1).Type = xlArea