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

ISCIDataDistributionCalculator

@protocol ISCIDataDistributionCalculator <ISCIBaseDataDistributionCalculator>

Defines the protocol to a SCIBaseDataDistributionCalculator.

  • Called when X and Y Values are appended.

    Note

    Should update the Data Distribution flags.

    Declaration

    Objective-C

    - (void)onAppendXValues:(id<ISCIList>)xValues
                    yValues:(id<ISCIList>)yValues
              appendedCount:(NSInteger)appendedCount
         acceptUnsortedData:(BOOL)acceptUnsortedData;

    Swift

    func onAppendXValues(_ xValues: ISCIList!, yValues: ISCIList!, appendedCount: Int, acceptUnsortedData: Bool)

    Parameters

    xValues

    The X values which were appended.

    yValues

    The Y values which were appended.

    appendedCount

    The amount of points which where appended

    acceptUnsortedData

    if set to YES - the series accepts unsorted data.

  • Called when X and Y Values are inserted.

    Note

    Should update the Data Distribution flags.

    Declaration

    Objective-C

    - (void)onInsertXValues:(id<ISCIList>)xValues
                    yValues:(id<ISCIList>)yValues
         indexWhereInserted:(NSInteger)indexWhereInserted
              insertedCount:(NSInteger)insertedCount
         acceptUnsortedData:(BOOL)acceptUnsortedData;

    Swift

    func onInsertXValues(_ xValues: ISCIList!, yValues: ISCIList!, indexWhereInserted: Int, insertedCount: Int, acceptUnsortedData: Bool)

    Parameters

    xValues

    The X values which were inserted.

    yValues

    The Y values which were inserted.

    indexWhereInserted

    The index where new values inserted.

    insertedCount

    The amount of points which where inserted

    acceptUnsortedData

    if set to YES - the series accepts unsorted data.

  • Called when X and Y Values are updated.

    Note

    Should update the Data Distribution flags.

    Declaration

    Objective-C

    - (void)onUpdateXValues:(id<ISCIList>)xValues
                    yValues:(id<ISCIList>)yValues
           indexWhereUpdate:(NSInteger)indexWhereUpdate
               updatedCount:(NSInteger)updatedCount
         acceptUnsortedData:(BOOL)acceptUnsortedData;

    Swift

    func onUpdateXValues(_ xValues: ISCIList!, yValues: ISCIList!, indexWhereUpdate: Int, updatedCount: Int, acceptUnsortedData: Bool)

    Parameters

    xValues

    The X values which were updated.

    yValues

    The Y values which were updated.

    indexWhereUpdate

    The index where points were updated.

    updatedCount

    The amount of points which where updated

    acceptUnsortedData

    if set to YES - the series accepts unsorted data.

  • Called when X Values are updated.

    Note

    Should update the Data Distribution flags.

    Declaration

    Objective-C

    - (void)onUpdateXValues:(id<ISCIList>)xValues
           indexWhereUpdate:(NSInteger)indexWhereUpdate
               updatedCount:(NSInteger)updatedCount
         acceptUnsortedData:(BOOL)acceptUnsortedData;

    Swift

    func onUpdateXValues(_ xValues: ISCIList!, indexWhereUpdate: Int, updatedCount: Int, acceptUnsortedData: Bool)

    Parameters

    xValues

    The X values which were updated.

    indexWhereUpdate

    The index where points were updated.

    updatedCount

    The amount of points which where updated

    acceptUnsortedData

    if set to YES - the series accepts unsorted data.

  • Called when Y Values are updated.

    Note

    Should update the Data Distribution flags.

    Declaration

    Objective-C

    - (void)onUpdateYValues:(id<ISCIList>)yValues
           indexWhereUpdate:(NSInteger)indexWhereUpdate
               updatedCount:(NSInteger)updatedCount
         acceptUnsortedData:(BOOL)acceptUnsortedData;

    Swift

    func onUpdateYValues(_ yValues: ISCIList!, indexWhereUpdate: Int, updatedCount: Int, acceptUnsortedData: Bool)

    Parameters

    yValues

    The Y values which were updated.

    indexWhereUpdate

    The index where points were updated.

    updatedCount

    The amount of points which where updated

    acceptUnsortedData

    if set to YES - the series accepts unsorted data.

  • Called when X and Y Values are removed.

    Note

    Should update the Data Distribution flags.

    Declaration

    Objective-C

    - (void)onRemoveXValues:(id<ISCIList>)xValues
                    yValues:(id<ISCIList>)yValues
         acceptUnsortedData:(BOOL)acceptUnsortedData;

    Swift

    func onRemoveXValues(_ xValues: ISCIList!, yValues: ISCIList!, acceptUnsortedData: Bool)

    Parameters

    xValues

    The X values which were removed.

    yValues

    The Y values which were removed.

    acceptUnsortedData

    if set to YES - the series accepts unsorted data.