GetYAxis Method

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

Syntax

object.GetYAxis ( index )

 

Parameter Type Description
GetYAxis Integer Required, 1 - 2

 

Remarks

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

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

Index 1 is usually the bottom Y axis.

Example

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

Dim GraphMagnifierYAxis1 As Object

Set GraphMagnifierYAxis1 = GraphMagnifier1. GetYAxis(1)

GraphMagnifierYAxis1.MajorLength = 0.1

 

Used by: AutoGraphMagnifier object