ChartDirector 6.0 (C++ Edition)

Axis.setReverse


Usage

void setReverse(bool b = true);

Description

Reverse the axis.

For a normal vertical axis, the axis starts from the bottom and increase its value towards the top. For a normal horizontal axis, the axis starts from the left and increase its value towards the right. The setReverse method can be used to reverse the direction of the axis.

Arguments

ArgumentDefaultDescription
btrueA true value means the axis is reversed. A false value means the axis is not reversed.

Return Value

None