Moves a value-label from the collection of value-labels.
Object.MoveValueLabel ( lValueLabelIndex, lMoveToIndex )
The MoveValueLabel method syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AAxis |
AAxis object. |
|
lValueLabelIndex |
Val Long |
An integer specifying the current index of the value-label on the object. |
|
lMoveToIndex |
Val Long |
An integer specifying the target index of the value-label on the object. |
The value-label at the current index must exist, or you will get a run-time error. If the target index is out of the current range, you will get a run-time error.
The following example will move the value-label at the 5th index to the 7th index:
aaxs1.MoveValueLabel(4,6)
GetValueLabel, InsertValueLabel, RemoveValueLabel, SetValueLabel