ChartDirector 7.1 (C++ Edition)

XYChart.setXAxisOnTop


Usage

void setXAxisOnTop(bool b = true);

Description

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

By default, the primary x-axis is the x-axis on the bottom side of the plot area (left side if XYChart.swapXY is in effect), and the secondary x-axis is on the top side of the plot area (right 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 x-axes. A false value means using the default positions for the primary and secondary x-axes.

Return Value

None