ORKValueRangeGraphChartViewDataSource Protocol Reference
| Conforms to | ORKGraphChartViewDataSource |
|---|---|
| Declared in | ORKGraphChartView.h |
Overview
An object that adopts the ORKValueRangeGraphChartViewDataSource protocol is responsible for
providing data in the form of ORKValueRange values required to populate an
ORKValueRangeGraphChartView concrete subclass, such as ORKLineGraphChartView and
ORKDiscreteGraphChartView.
– graphChartView:dataPointForPointIndex:plotIndex:
required method
Asks the data source for the value range to be plotted at the specified point index for the specified plot.
- (ORKValueRange *)graphChartView:(ORKGraphChartView *)graphChartView dataPointForPointIndex:(NSInteger)pointIndex plotIndex:(NSInteger)plotIndexParameters
graphChartView |
The graph chart view that is asking for the value range. |
|---|---|
pointIndex |
An index number identifying the value range in the graph chart view. |
plotIndex |
An index number identifying the plot in the graph chart view. This index is 0 in a single-plot graph chart view. |
Return Value
The value range specified by pointIndex in the plot specified by plotIndex for the
specified graph chart view`.
Declared In
ORKGraphChartView.h