[C#] | public static int RegularSpacingFilter([ int labelStep [, double initialMargin ]]); |
[VB] | Public Shared Function RegularSpacingFilter([ labelStep As Integer [, initialMargin As Double ]]) As Integer |
ChartDirector 7.1 (.NET Edition)
Chart.
Usage
[C#] | public static int RegularSpacingFilter([ int labelStep [, double initialMargin ]]); |
[VB] | Public Shared Function RegularSpacingFilter([ labelStep As Integer [, initialMargin As Double ]]) As Integer |
Description
Arguments
Argument | Default | Description |
---|---|---|
labelStep | 1 | Picks 1 out of every "labelStep" number of elements. For example, if this argument is 3, only 1 of every 3 elements will be selected. |
initialMargin | 0 | Adds an offset when determining the elements to be selected. For example, if the labelStep is 3, the selected indexes should be 0, 3, 6, 9, .... If initialMargin is set to 1, the indexes becomes 1, 4, 7, 10, .... |
Return Value