YAxisIndex Property (APlot)

 Returns or sets the Y-axis index used for the object.

Syntax

Object.YAxisIndex [ = lYAxisIndex ]

The YAxisIndex property syntax has the following parts:

 

Name

Type

Description

Object

APlot

APlot object

lYAxisIndex

Long

An integer specifying the index of the Y-axis used for the object.

Example

The following statement changes the APlot's Y axis to have an index of one (the second index in the collection of axes for the control object):

plt1.YAxisIndex=1

Applies to

APlot

See Also

Visible, XAxisIndex