Returns the specified Axis object on the object.
[ AxisObject = ] Object.Axes ( vAxis )
The Axes property syntax has the following parts:
Name |
Type |
Description |
Object |
AChart |
AChart control |
AxisObject |
AAxis object |
|
vAxis |
Val Variant |
Either the name of the axis object or the zero-based index of the object in the array. |
The property is read-only, at run time only.
The following example will change the scale of the axis named "Time" at the zero-th index to the logarithmic scale:
cht1.Axes(0).Log=TRUE
or
cht1.Axes("Time").Log=TRUE