Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -165,7 +165,7 @@ | @@ -165,7 +165,7 @@ | ||
| 165 | CGFloat chartCavanHeight = self.frame.size.height - _chartMargin * 2 - xLabelHeight; | 165 | CGFloat chartCavanHeight = self.frame.size.height - _chartMargin * 2 - xLabelHeight; |
| 166 | NSInteger index = 0; | 166 | NSInteger index = 0; |
| 167 | 167 | ||
| 168 | - for (NSString *valueString in _yValues) { | 168 | + for (NSNumber *valueString in _yValues) { |
| 169 | float value = [valueString floatValue]; | 169 | float value = [valueString floatValue]; |
| 170 | 170 | ||
| 171 | float grade = (float)value / (float)_yValueMax; | 171 | float grade = (float)value / (float)_yValueMax; |
-
Please register or login to post a comment