[C#] | public static int StartOfDayFilter([ int labelStep [, double initialMargin ]]); |
[VB] | Public Shared Function StartOfDayFilter([ labelStep As Integer [, initialMargin As Double ]]) As Integer |
ChartDirector 7.1 (.NET Edition)
Chart.
Usage
[C#] | public static int StartOfDayFilter([ int labelStep [, double initialMargin ]]); |
[VB] | Public Shared Function StartOfDayFilter([ labelStep As Integer [, initialMargin As Double ]]) As Integer |
Description
Arguments
Argument | Default | Description |
---|---|---|
labelStep | 1 | For dates/times that matches the start of day 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 day will be selected. |
initialMargin | 0.05 | If the first label is "near" the exact starting instance of the current day to within the ratio specified in the initial margin, it will be considered to have matched the start of day criteria. |
Return Value