Showing
1 changed file
with
4 additions
and
4 deletions
| @@ -108,11 +108,11 @@ | @@ -108,11 +108,11 @@ | ||
| 108 | }else{ | 108 | }else{ |
| 109 | bar = [[PNBar alloc] initWithFrame:CGRectMake((index * _xLabelWidth + chartMargin + _xLabelWidth * 0.25), self.frame.size.height - chartCavanHeight , _xLabelWidth * 0.6, chartCavanHeight)]; | 109 | bar = [[PNBar alloc] initWithFrame:CGRectMake((index * _xLabelWidth + chartMargin + _xLabelWidth * 0.25), self.frame.size.height - chartCavanHeight , _xLabelWidth * 0.6, chartCavanHeight)]; |
| 110 | } | 110 | } |
| 111 | - bar.backgroundColor = _barBackgroundColor; | 111 | + bar.backgroundColor = _barBackgroundColor; |
| 112 | - bar.barColor = [self barColorAtIndex:index]; | 112 | + bar.barColor = [self barColorAtIndex:index]; |
| 113 | - bar.grade = grade; | 113 | + bar.grade = grade; |
| 114 | [_bars addObject:bar]; | 114 | [_bars addObject:bar]; |
| 115 | - [self addSubview:bar]; | 115 | + [self addSubview:bar]; |
| 116 | 116 | ||
| 117 | index += 1; | 117 | index += 1; |
| 118 | } | 118 | } |
-
Please register or login to post a comment