ChartDirector 5.1 (PHP Edition)

LegendBox.setReverse


Usage

setReverse([ b ])

Description

Reverses the ordering of the legend entries.

By default, the legend entries are ordered based on ascending legend entry priority number. This method can be used to change the ordering to following descending legend entry priority number instead.

See LegendBox for more information on legend entry priority system.

Arguments

ArgumentDefaultDescription
btrue (non-zero)A true (non-zero) value means the legend entries are ordered based on descending legend entry priority number. false (zero) value means the legend entries are ordered based on ascending legend entry priority number.

Return Value

None