[VB] | Public Shared Function StartOfMonthFilter([ labelStep As Integer [, initialMargin As Double ]]) As Integer |
[C#] | public static int StartOfMonthFilter([ int labelStep [, double initialMargin ]]); |
ChartDirector 5.1 (.NET Edition)
Chart.StartOfMonthFilter
Usage
[VB] | Public Shared Function StartOfMonthFilter([ labelStep As Integer [, initialMargin As Double ]]) As Integer |
[C#] | public static int StartOfMonthFilter([ int labelStep [, double initialMargin ]]); |
Description
Arguments
Argument | Default | Description |
---|---|---|
labelStep | 1 | For dates/times that matches the start of month criteria, picks only 1 out of every "labelStep" number of elements. For example, if this argument is 3, only 1 of every 3 elements that at at the start of month will be selected. |
initialMargin | 0.05 | If the first label is "near" the exact starting instance of the current month to within the ratio specified in the initial margin, it will be considered to have matched the start of month criteria. |
Return Value