Identifies the currently selected chart element.
Syntax
object.GetSelectedPart (part, index1, index2, index3, index4)
The GetSelectedPart method syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
part | Integer. Specifies the chart element. Valid constants are VtChPartType. |
index1 | Integer. If element refers to a series or a data point, this argument specifies which series. Series are numbered in the order their corresponding columns appear in the data grid from left to right, beginning with 1. If element refers to an axis or axis label, this argument identifies the axis type with a VtChAxisId constant. |
Index2 | Integer. If element refers to a data point, this argument specifies which data point in the series identified by index1. |
index3 | Integer. If element refers to an axis label, this argument refers to the level of the label. Axis label levels are numbered from the axis out, beginning with 1. If element is not an axis label, the argument is unused. |
index4 | Integer. This argument is unused at this time. |