|
209 | 209 | - (void)lineGraphDidFinishLoading:(BEMSimpleLineGraphView *)graph; |
210 | 210 |
|
211 | 211 |
|
212 | | -//----- CUSTOMIZATION -----// |
213 | | - |
214 | | - |
215 | | -/** The color of the line at the given index. This is called for each line in the graph, every time an update is made. |
216 | | - @param graph The graph object requesting the line color. |
217 | | - @param index The index from left to right of a given point (X-axis). The first value for the index is 0. |
218 | | - @return The color of the line. Specifying nil will cause the line to use the color specifed for the graph. */ |
219 | | -- (UIColor *)lineGraph:(BEMSimpleLineGraphView *)graph lineColorForIndex:(NSInteger)index; |
220 | | - |
221 | | - |
222 | | -/** The alpha of the line at the given index. This is called for each line in the graph, every time an update is made. |
223 | | - @param graph The graph object requesting the line alpha. |
224 | | - @param index The index from left to right of a given point (X-axis). The first value for the index is 0. |
225 | | - @return The alpha value of the line, between 0.0 and 1.0. Specifying nil will cause the line to use the alpha specifed for the graph. */ |
226 | | -- (CGFloat)lineGraph:(BEMSimpleLineGraphView *)graph lineAlphaForIndex:(NSInteger)index; |
227 | | - |
228 | 212 |
|
229 | 213 | //----- TOUCH EVENTS -----// |
230 | 214 |
|
|
299 | 283 |
|
300 | 284 |
|
301 | 285 |
|
| 286 | +/** The color of the line at the given index. This is called for each line in the graph, every time an update is made. |
| 287 | + @param graph The graph object requesting the line color. |
| 288 | + @param index The index from left to right of a given point (X-axis). The first value for the index is 0. |
| 289 | + @return The color of the line. Specifying nil will cause the line to use the color specifed for the graph. */ |
| 290 | +- (UIColor *)lineGraph:(BEMSimpleLineGraphView *)graph lineColorForIndex:(NSInteger)index __deprecated; |
| 291 | + |
| 292 | + |
| 293 | +/** The alpha of the line at the given index. This is called for each line in the graph, every time an update is made. |
| 294 | + @param graph The graph object requesting the line alpha. |
| 295 | + @param index The index from left to right of a given point (X-axis). The first value for the index is 0. |
| 296 | + @return The alpha value of the line, between 0.0 and 1.0. Specifying nil will cause the line to use the alpha specifed for the graph. */ |
| 297 | +- (CGFloat)lineGraph:(BEMSimpleLineGraphView *)graph lineAlphaForIndex:(NSInteger)index __deprecated; |
| 298 | + |
302 | 299 | @end |
0 commit comments