Remove an Axis object from the object.
Object.RemoveAxis ( vAxis )
The RemoveAxis method syntax has the following parts:
Name |
Type |
Description |
Object |
AChart |
AChart control |
vAxis |
Val Variant |
Either the name of the object or the zero-based index of the object in the array. |
If the index is out of the current range, then no action will be taken.
The following example will delete the 3rd axis from an AChart control:
cht1.RemoveAxis(3)
The following example will delete the axis named "Horses" from an AChart control:
cht1.RemoveAxis("Horses")
AAxis, Axes, InsertAxis, Plots