AddSubGroup Method

Contained in the Region Object Adds an empty subgroup to the end of the subgroup list. This subgroup can then be populated with Items.

Syntax

region.AddSubGroup

The AddSubGroup method syntax has these parts:

Part  Description

region  An object expression that evaluates to a Region Object.

Return Value

Returns a long value equal to the index of the new subgroup within this region. See Data Indexing.

 

Remarks

At least one subgroup must exist for the charting control to have data to plot, therefore the AddSubGroup method is generally called after AddRegion.