Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 993 Bytes

Excel.PieGroups.md

File metadata and controls

40 lines (26 loc) · 993 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
PieGroups method (Excel Graph)
vbagr10.chm65549
vbagr10.chm65549
Excel.PieGroups
f7fd5497-f7a0-6c28-1a59-9e6f37a0885e
04/09/2019
medium

PieGroups method (Excel Graph)

On a 2D chart, returns an object that represents either a single pie chart group or a collection of pie chart groups.

Syntax

expression.PieGroups (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 pie group one to use a different color for each data marker. The example should be run on a 2D chart.

myChart.PieGroups(1).VaryByCategories = True

[!includeSupport and feedback]