ChartDirector 5.1 (PHP Edition)

Axis.setReverse


Usage

setReverse([ b ])

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
btrue (non-zero)A true (non-zero) value means the axis is reversed. A false (zero) value means the axis is not reversed.

Return Value

None