AddAxis Method
The AddAxis method adds a new X, Y, or Z axis to an existing graph. Returns an AutoAxis object.
Syntax
object.AddAxis( type, id )
| Parameter | Type | Description |
| Type | Long | required, axis type, grfAxisType |
| id | Variant | optional, new axis name |
Remarks
Angle and ternary axes cannot be added to a graph. Z axes are only added to 3D graphs.
Example
This example shows how to add a second X axis.
Graph1.AddAxis(grfXAxis)
Used by: AutoGraph object