Merge pull request #39 from pala/patch-1
empty lines and indentation
Showing
1 changed file
with
2 additions
and
5 deletions
| @@ -62,8 +62,6 @@ | @@ -62,8 +62,6 @@ | ||
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | _yValueMax = (int)max; | 64 | _yValueMax = (int)max; |
| 65 | - | ||
| 66 | - | ||
| 67 | } | 65 | } |
| 68 | 66 | ||
| 69 | -(void)setXLabels:(NSArray *)xLabels | 67 | -(void)setXLabels:(NSArray *)xLabels |
| @@ -84,7 +82,6 @@ | @@ -84,7 +82,6 @@ | ||
| 84 | [self addSubview:label]; | 82 | [self addSubview:label]; |
| 85 | } | 83 | } |
| 86 | } | 84 | } |
| 87 | - | ||
| 88 | } | 85 | } |
| 89 | 86 | ||
| 90 | -(void)setStrokeColor:(UIColor *)strokeColor | 87 | -(void)setStrokeColor:(UIColor *)strokeColor |
| @@ -102,7 +99,7 @@ | @@ -102,7 +99,7 @@ | ||
| 102 | float value = [valueString floatValue]; | 99 | float value = [valueString floatValue]; |
| 103 | 100 | ||
| 104 | float grade = (float)value / (float)_yValueMax; | 101 | float grade = (float)value / (float)_yValueMax; |
| 105 | - PNBar * bar; | 102 | + PNBar * bar; |
| 106 | if (_showLabel) { | 103 | if (_showLabel) { |
| 107 | bar = [[PNBar alloc] initWithFrame:CGRectMake((index * _xLabelWidth + chartMargin + _xLabelWidth * 0.25), self.frame.size.height - chartCavanHeight - 30.0, _xLabelWidth * 0.5, chartCavanHeight)]; | 104 | bar = [[PNBar alloc] initWithFrame:CGRectMake((index * _xLabelWidth + chartMargin + _xLabelWidth * 0.25), self.frame.size.height - chartCavanHeight - 30.0, _xLabelWidth * 0.5, chartCavanHeight)]; |
| 108 | }else{ | 105 | }else{ |
| @@ -137,4 +134,4 @@ | @@ -137,4 +134,4 @@ | ||
| 137 | } | 134 | } |
| 138 | } | 135 | } |
| 139 | 136 | ||
| 140 | -@end | 137 | +@end |
-
Please register or login to post a comment