ChartDirector 7.1 (C++ Edition)

DataSet.setUseYAxis2


Usage

void setUseYAxis2(bool b = true);

Description

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

To set the y-axis to use for all data sets within a layer, use Layer.setUseYAxis2.

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

Arguments

ArgumentDefaultDescription
btrueA true value means the secondary y-axis will be used. A false value means the primary y-axis will be used.

Return Value

None