GetXAxis Method

The GetXAxis method returns the original graph's X axis object interface at index for the X axes displayed in the graph magnifier. This does not change the display in the magnifier. Use the Axes method to change the axis in the magnifier.

Syntax

object.GetXAxis ( index )

 

Parameter Type Description
GetXAxis Integer Required, 1 - 2

 

Remarks

Index must be an integer value between 1 and 2. Two is the maximum number of X axes that can be displayed in the Graph Magnifier: one per horizontal edge.

Index values are assigned to X axes in the Graph Magnifier in the order in which they are added by the UseAxis Method.

Index 1 is usually the bottom X axis.

Example

This example shows how to change the length of the Major Tickmarks in the default bottom axis to 0.5 page units.

Dim GraphMagnifierXAxis1 As Object

Set GraphMagnifierXAxis1 = GraphMagnifier1. GetXAxis(1)

GraphMagnifierXAxis1.MajorLength = 0.5

 

Used by: AutoGraphMagnifier object