Showing
1 changed file
with
1 additions
and
2 deletions
| @@ -9,7 +9,6 @@ | @@ -9,7 +9,6 @@ | ||
| 9 | #import "PNLineChart.h" | 9 | #import "PNLineChart.h" |
| 10 | #import "PNColor.h" | 10 | #import "PNColor.h" |
| 11 | #import "PNChartLabel.h" | 11 | #import "PNChartLabel.h" |
| 12 | -#import <Foundation/Foundation.h> | ||
| 13 | 12 | ||
| 14 | @implementation PNLineChart | 13 | @implementation PNLineChart |
| 15 | 14 | ||
| @@ -99,7 +98,7 @@ | @@ -99,7 +98,7 @@ | ||
| 99 | 98 | ||
| 100 | UIBezierPath *progressline = [UIBezierPath bezierPath]; | 99 | UIBezierPath *progressline = [UIBezierPath bezierPath]; |
| 101 | 100 | ||
| 102 | - CGFloat firstValue = [[_yValues firstObject] floatValue]; | 101 | + CGFloat firstValue = [_yValues[0] floatValue]; |
| 103 | 102 | ||
| 104 | CGFloat xPosition = (xLabelMargin + _xLabelWidth) ; | 103 | CGFloat xPosition = (xLabelMargin + _xLabelWidth) ; |
| 105 | 104 |
-
Please register or login to post a comment