Showing
1 changed file
with
4 additions
and
4 deletions
| @@ -111,12 +111,12 @@ lineChart.delegate = self; | @@ -111,12 +111,12 @@ lineChart.delegate = self; | ||
| 111 | //For DelegateMethod | 111 | //For DelegateMethod |
| 112 | 112 | ||
| 113 | 113 | ||
| 114 | --(void)userClickedOnLineKeyPoint:(CGPoint)point andPointIndex:(NSInteger)index{ | 114 | +-(void)userClickedOnLineKeyPoint:(CGPoint)point lineIndex:(NSInteger)lineIndex andPointIndex:(NSInteger)pointIndex{ |
| 115 | - NSLog(@"Click Key on line %f, %f and index is %d",point.x, point.y,index); | 115 | + NSLog(@"Click Key on line %f, %f line index is %d and point index is %d",point.x, point.y,(int)lineIndex, (int)pointIndex); |
| 116 | } | 116 | } |
| 117 | 117 | ||
| 118 | --(void)userClickedOnLinePoint:(CGPoint)point { | 118 | +-(void)userClickedOnLinePoint:(CGPoint)point lineIndex:(NSInteger)lineIndex{ |
| 119 | - NSLog(@"Click on line %f, %f",point.x, point.y); | 119 | + NSLog(@"Click on line %f, %f, line index is %d",point.x, point.y, (int)lineIndex); |
| 120 | } | 120 | } |
| 121 | 121 | ||
| 122 | ``` | 122 | ``` |
-
Please register or login to post a comment