Occurs when the user double clicks on an axis label.
Syntax
Private Sub object_AxisLabelActivated (axisId As Integer, axisIndex As Integer, labelSetIndex As Integer, labelIndex As Integer, mouseFlags As Integer, cancel As Integer)
The AxisLabelActivated event syntax has these parts:
| Part | Description |
| object | An object expression that evaluates to an object in the Applies To list. |
| axisId | Integer. An integer that identifies a specific axis, as described in Settings. |
| axisIndex | Integer. An integer reserved for future use. For this version of MSChart control, 1 is the only valid value for this argument. |
| labelSetIndex | Integer. An integer that identifies the level of labels you are double clicking on. Levels of labels are numbered from the axis out, beginning with 1. |
| labelIndex | Integer. An integer that is currently unused. |
| mouseFlags | Integer. An integer that indicates if a key is held down when the mouse button is clicked. |
| cancel | Integer. An integer that is not used at this time. |
Settings
The event handler determines which axis label is activated and sets axisId to:
| Constants | Description |
| VtChAxisIdX | If the x axis is affected. |
| VtChAxisIdY | If the y axis is affected. |
| VtChAxisIdY2 | If the secondary y axis is affected. |
| VtChAxisIdZ | If the z axis is affected. |
The event handler determines if a key is held down when the mouse button is clicked and sets mouseFlags to:
| Constants | Description |
| VtChMouseFlagShiftKeyDown | If the SHIFT key is held down. |
| VtChMouseFlagControlKeyDown | If the CONTROL key is held down. |