SetYAxisColumnType method: Chart class

Syntax

SetYAxisColumnType(&Array_of_Y_Axes)

Description

Use the SetYAxisColumnType method to assign fields to either the primary y-axis or the secondary y-axis.

Parameters

Parameter Description

&Array_of_Y_Axes

Specify an already instantiated array of numeric values.

Note: The order of fields specified must correspond to the number and order specified by the SetDataYAxis method.

You can specify either an Integer or constant value for the elements of this array. The values are:

Numeric Value Constant Value Description

1

%Axis_Y

Display this field on the primary y-axis.

2

%Axis_Y2

Display this field on the secondary y-axis.

Returns

None.

Example

&oChart.SetYAxisColumnType(CreateArray(%Axis_Y, %Axis_Y, %Axis_Y, %Axis_Y2));