NChartSeriesDataSource Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | NChartSeries.h |
– seriesDataSourcePointsForSeries:
required method
Get array of points for the series.
- (NSArray *)seriesDataSourcePointsForSeries:(NChartSeries *)series
Parameters
series |
|
---|
Return Value
an array of NChartPoint instances where the data is stored.
See Also
Declared In
NChartSeries.h
– seriesDataSourceNameForSeries:
required method
Get name for the series.
- (NSString *)seriesDataSourceNameForSeries:(NChartSeries *)series
Parameters
series |
|
---|
Return Value
the name for the series.
See Also
Declared In
NChartSeries.h
– seriesDataSourceImageForSeries:
Get image for the series that is displayed in the legend. If nil is returned or method is not implemented, the default image is used.
- (UIImage *)seriesDataSourceImageForSeries:(NChartSeries *)series
Parameters
series |
|
---|
Return Value
the image for the series.
See Also
Declared In
NChartSeries.h
– seriesDataSourceExtraPointsForSeries:
Extend array of points in series.
Use this method to provide additional data for series. This method is called after you call
extendData
of NChart
.
- (NSArray *)seriesDataSourceExtraPointsForSeries:(NChartSeries *)series
Parameters
series |
|
---|
Return Value
array of extra points.
Discussion
The points from the array returned are added to the series' array of points, so series will have more data.
The maximal length of data array is determined by pointsHistoryLength
property of NChart
.
See Also
Declared In
NChartSeries.h