ChartDirector 7.1 (C++ Edition)
Layer
.
setUseYAxis2
Usage
void setUseYAxis2(bool b = true);
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
Argument
Default
Description
b
true
A true value means the secondary y-axis will be used. A false value means the primary y-axis will be used.
Return Value
None
© 2023 Advanced Software Engineering Limited. All rights reserved.