ChartDirector 6.0 (C++ Edition)

XYChart.setYAxisOnRight


Usage

void setYAxisOnRight(bool b = true);

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
btrueA true value means to interchange the positions of the primary and secondary y-axes. A false value means using the default positions for the primary and secondary y-axes.

Return Value

None