InsertRegion Method

Contained in the Chart object Inserts an empty region to the specified index location in the region list, or if the index value passed is beyond the end of the region list, the empty region will be added at the end of the list. This region can then be populated with SubGroups of data.

Syntax

chart.InsertRegion long

The InsertRegion method syntax has these parts:

Part  Description

chart  An object expression that evaluates to a Chart object.

long  A numeric expression specifying index to insert the new region into. See Data Indexing.

 

Return Value

Returns a Boolean value; true if successful, false if not.