DXPieSeriesData Protocol

The DXPieSeries data source's protocol.

Declaration

@protocol DXPieSeriesData <DXChangeableSeriesData, NSObject>

Implements

DXCharts.NSObject

Instance Methods

DXPieSeriesData.getDataCount Instance Method

Returns the number of data points.

Declaration

- (int)getDataCount

Returns

Type Description
int

The number of data points.

DXPieSeriesData.getLabelByIndex: Instance Method

Returns the label of the data point at the specified index.

Declaration

- (NSString *)getLabelByIndex:(int)index

Parameters

Type Name Description
int index

The index of data point whose label should be returned.

Returns

Type Description
NSString *

The label of a data point at the specified index.

DXPieSeriesData.getValueByIndex: Instance Method

Returns the value of the data point at the specified index.

Declaration

- (double)getValueByIndex:(int)index

Parameters

Type Name Description
int index

The index of a data point whose value should be returned.

Returns

Type Description
double

The value of a data point at the specified index.