ArrayMath.selectRegularSpacing
ChartDirector Ver 4.1 (C++ Edition)
ArrayMath.selectRegularSpacing
Usage
ArrayMath& selectRegularSpacing(int majorTickStep, int minorTickStep = 0, int initialMargin = 0);
Description
Selects an evenly spaced subset of elements of the ArrayMath object. The primary purpose of this method is to select the regularly spaced elements as ticks on an enumerated axis. For example, if the majorTickStep is 10, and minorTickStep is 5, this method will select one out of 10 elements as major tick elements, and one of out of 5 elements as minor tick elements. Major tick elements will remain intact. The remaining minor ticks elements will have their values replaced with MinorTickOnly. Non-selected elements will have their values replaced with NoValue, so they will not appear on the axis. The resulting array can be used directly in Axis.setLabels2.
SEO India | Search Engine Optimization Company India
Arguments
| Argument |
Default |
Description |
| majorTickStep |
(Mandatory) |
The spacing between major ticks. |
| minorTickStep |
0 |
The spacing between minor ticks. The default value of 0 means no minor tick will be used. |
| initialMargin |
0 |
The position of the first tick. |
Return Value
The current ArrayMath object.
© 2006 Advanced Software Engineering Limited. All rights reserved.
|