The requested page is not available for the requested platform. You are viewing the content for Default platform.

DXSeriesDataDelegate Protocol

The protocol which a class should adopts to perform actions on data changes.

Declaration

@protocol DXSeriesDataDelegate <NSObject>

Remarks

Commonly, your classes should not adopt this protocol. Your data classes interacts with this protocol to inform a chart about data changes.

Implements

DXCharts.NSObject

Instance Methods

dataDidReload Instance Method

Declaration

- (void)dataDidReload

dataItemDidAdd Instance Method

Updates data representation, when data item is added to the end of data point collection.

Declaration

- (void)dataItemDidAdd

dataItemDidChangeAtIndex: Instance Method

Updates data representation, when data item is changes at the specified index.

Declaration

- (void)dataItemDidChangeAtIndex:(int)index

Parameters

Name Type Description
index int

The index of changed data point.

dataItemDidInsertAtIndex: Instance Method

Updates data representation, when data item is inserted at the specified index.

Declaration

- (void)dataItemDidInsertAtIndex:(int)index

Parameters

Name Type Description
index int

The index of inserted data point.

dataItemDidRemoveAtIndex: Instance Method

Updates data representation, when data item is removed at the specified index.

Declaration

- (void)dataItemDidRemoveAtIndex:(int)index

Parameters

Name Type Description
index int

The index of removed data point.

dataItemsDidAddWithCount: Instance Method

Updates data representation when new points are added to the data source.

Declaration

- (void)dataItemsDidAddWithCount:(int)count

Parameters

Name Type Description
count int

Added points' count.

dataItemsDidChangeAtIndex:count: Instance Method

Updates data representation when values of data points within the specified range are changed.

Declaration

- (void)dataItemsDidChangeAtIndex:(int)index count:(int)count

Parameters

Name Type Description
index int

The first changed point's index.

count int

The changed points' count.

dataItemsDidInsertAtIndex:count: Instance Method

Updates data representation when new points are inserted to the data source at the specified range.

Declaration

- (void)dataItemsDidInsertAtIndex:(int)index count:(int)count

Parameters

Name Type Description
index int

The first inserted point's index.

count int

Inserted points' count.

dataItemsDidRemoveAtIndex:count: Instance Method

Updates data representation when points are removed from the data source at the specified range.

Declaration

- (void)dataItemsDidRemoveAtIndex:(int)index count:(int)count

Parameters

Name Type Description
index int

The first removed point's index.

count int

Removed points' count.