ChartDirector 6.0 (Ruby Edition)
Axis.setLabelStep
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
majorTickStep | (Mandatory) | The spacing between visible labels (major ticks). For example, a value of 10 means displaying 1 label for every 10 labels. |
minorTickStep | 0 | For labels that are not displayed, ChartDirector can optionally put a minor tick in its place. The argument specifies the spacing between minor ticks. For example, a value of 5 means displaying 1 minor tick for every 5 labels. 0 means no minor tick is used. |
majorTickOffset | 0 | The offset used for selecting the labels. For example, if majorTickStep is set to 10, by default, ChartDirector will select the labels with index 0, 10, 20, 30 and so on. If the majorTickOffset argument is set to 3, then ChartDirector will select labels with index 3, 13, 23, 33 and so on. |
minorTickOffset | -7fffffff | The offset used for selecting minor tick points. The usage is the same as the majorTickOffset argument, except it applies to minor tick points. The default is to use the same value as majorTickOffset. |
Return Value