
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
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
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
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:(nonnull id<ISCIList>)xValues indexWhereUpdate:(NSInteger)indexWhereUpdate updatedCount:(NSInteger)updatedCount acceptUnsortedData:(BOOL)acceptUnsortedData;
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:(nonnull id<ISCIList>)yValues indexWhereUpdate:(NSInteger)indexWhereUpdate updatedCount:(NSInteger)updatedCount acceptUnsortedData:(BOOL)acceptUnsortedData;
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
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.