SearchMode

StockSharp.Xaml.Charting.Common.Extensions

Enumeration constants to define binary searching of lists

Fields

Exact : SearchMode

Specifies exact search. If the index is not found, -1 is returned.

Nearest : SearchMode

Specifies the nearest index. This will round up or down if the search is in-between x-values

RoundDown : SearchMode

Rounds down to the nearest index.

RoundUp : SearchMode

Rounds up to the nearest index