ChartDirector 6.0 (C++ Edition)
void setLevels(int maxLevels);
Sets the maximum number of contour intervals on the axis.
If discrete color steps are used, the number of contour intervals is the number of color steps on the axis.
For a general color axis, the number of contour intervals is equal to the number of ticks minus 1. For example, an axis with 6 ticks at [0, 2, 4, 6, 8, 10] has 6 contour lines and 5 contour intervals.
The main usage of this method is to limit the number of contour lines and/or color steps on the contour layer.
If this method is never called, the default maximum number of contour intervals is 16.
|maxLevels||(Mandatory)||An integer representing the maximum number of contour intervals.
© 2017 Advanced Software Engineering Limited. All rights reserved.