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
xValuesThe X values which were appended.
yValuesThe Y values which were appended.
appendedCountThe amount of points which where appended
acceptUnsortedDataif 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
xValuesThe X values which were inserted.
yValuesThe Y values which were inserted.
indexWhereInsertedThe index where new values inserted.
insertedCountThe amount of points which where inserted
acceptUnsortedDataif 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
xValuesThe X values which were updated.
yValuesThe Y values which were updated.
indexWhereUpdateThe index where points were updated.
updatedCountThe amount of points which where updated
acceptUnsortedDataif 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;Swift
func onUpdateXValues(_ xValues: any ISCIList, indexWhereUpdate: Int, updatedCount: Int, acceptUnsortedData: Bool)Parameters
xValuesThe X values which were updated.
indexWhereUpdateThe index where points were updated.
updatedCountThe amount of points which where updated
acceptUnsortedDataif 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;Swift
func onUpdateYValues(_ yValues: any ISCIList, indexWhereUpdate: Int, updatedCount: Int, acceptUnsortedData: Bool)Parameters
yValuesThe Y values which were updated.
indexWhereUpdateThe index where points were updated.
updatedCountThe amount of points which where updated
acceptUnsortedDataif 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
xValuesThe X values which were removed.
yValuesThe Y values which were removed.
acceptUnsortedDataif set to YES - the series accepts unsorted data.
View on GitHub