iOS Charting Documentation - SciChart iOS Charts SDK v3.x

SCISearchMode

enum SCISearchMode {}

Enumeration constants to define binary searching of lists.

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

    Declaration

    Objective-C

    SCISearchMode_Exact

    Swift

    case exact = 0
  • Specifies the nearest index. This will round up or down if the search is in-between x-values.

    Declaration

    Objective-C

    SCISearchMode_Nearest

    Swift

    case nearest = 1
  • Rounds down to the nearest index.

    Declaration

    Objective-C

    SCISearchMode_RoundDown

    Swift

    case roundDown = 2
  • Rounds up to the nearest index.

    Declaration

    Objective-C

    SCISearchMode_RoundUp

    Swift

    case roundUp = 3