ChartDirector 7.0 (Python Edition)

XYChart.setYAxisOnRight


Usage

setYAxisOnRight([ b ])

Description

Interchange the position of the primary y-axis and the secondary y-axis.

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). This method can be used to interchange their positions.

Arguments

ArgumentDefaultDescription
btrue (non-zero)A true (non-zero) value means to interchange the positions of the primary and secondary y-axes. A false (zero) value means using the default positions for the primary and secondary y-axes.

Return Value

None