[VB] | Public Shared Function RegularSpacingFilter([ labelStep As Integer [, initialMargin As Double ]]) As Integer |
[C#] | public static int RegularSpacingFilter([ int labelStep [, double initialMargin ]]); |
ChartDirector 5.1 (.NET Edition)
Chart.RegularSpacingFilter
Usage
[VB] | Public Shared Function RegularSpacingFilter([ labelStep As Integer [, initialMargin As Double ]]) As Integer |
[C#] | public static int RegularSpacingFilter([ int labelStep [, double initialMargin ]]); |
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