ChartDirector 5.1 (PHP Edition)

Layer.setUseYAxis2


Usage

setUseYAxis2([ b ])

Description

Determine if the primary or secondary y-axis should be used when drawing the data sets.

This method affects all data sets in the layer. To set the y-axis to use for a particular data set, use DataSet.setUseYAxis2.

Note: Layer.setUseYAxis is a more general method that can support more than 2 y-axes.

Arguments

ArgumentDefaultDescription
btrue (non-zero)A true (non-zero) value means the secondary y-axis will be used. A false (zero) value means the primary y-axis will be used.

Return Value

None