iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

SCIUserDefinedDistributionCalculator

@interface SCIUserDefinedDistributionCalculator
    : SCIBaseDataDistributionCalculator <ISCIDataDistributionCalculator>

Allows user provided flags for IsSortedAscending and IsEvenlySpaced, flags which are used to determine the correct algorithm for sorting, searching and data-compression in SciChart.

Note

Overriding these flags allows for faster operation where the data distribution is known in advance.
  • Defines the value indicating whether the data is sorted in ascending order.

    Declaration

    Objective-C

    @property (nonatomic) BOOL isDataSortedAscending;

    Swift

    var isDataSortedAscending: Bool { get set }
  • Defines the value indicating whether the data is evenly spaced.

    Declaration

    Objective-C

    @property (nonatomic) BOOL isDataEvenlySpaced;

    Swift

    var isDataEvenlySpaced: Bool { get set }
  • Defines the value indicating whether the data contains NaN values.

    Declaration

    Objective-C

    @property (nonatomic) BOOL isDataContainsNaN;

    Swift

    var isDataContainsNaN: Bool { get set }