ChartDirector 5.1 (PHP Edition)

XYChart.yAxis2


Usage

yAxis2()

Description

Retrieves the Axis object representing the secondary y-axis of the XYChart.

By default, the primary y-axis is the y-axis on the left side of the plot area (bottom side if XYChart.swapXY is in effect), and the secondary y-axis is on the right side of the plot area (top side if XYChart.swapXY is in effect). You may interchange their positions using XYChart.setYAxisOnRight.

Arguments

None

Return Value

The Axis object representing the secondary y-axis of the XYChart.