Skip to main content
A newer version of this page is available.

DXPieSeriesData Protocol

The DXPieSeries data source’s protocol.

Declaration

@protocol DXPieSeriesData

Properties

delegate Property

Declaration

@property (nonatomic, weak) id<DXSeriesDataDelegate> delegate

Property Value

Type
id<DXSeriesDataDelegate>

Instance Methods

getDataCount Instance Method

Returns the number of data points.

Declaration

- (int)getDataCount

Returns

Type Description
int

The number of data points.

getLabelByIndex: Instance Method

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

Declaration

- (NSString *)getLabelByIndex:(int)index

Parameters

Name Type Description
index int

The index of data point whose label should be returned.

Returns

Type Description
NSString *

The label of a data point at the specified index.

getValueByIndex: Instance Method

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

Declaration

- (double)getValueByIndex:(int)index

Parameters

Name Type Description
index int

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.