Showing
3 changed files
with
3 additions
and
2 deletions
| @@ -179,7 +179,7 @@ | @@ -179,7 +179,7 @@ | ||
| 179 | _textLayer = [[CATextLayer alloc]init]; | 179 | _textLayer = [[CATextLayer alloc]init]; |
| 180 | [_textLayer setString:@"0"]; | 180 | [_textLayer setString:@"0"]; |
| 181 | [_textLayer setAlignmentMode:kCAAlignmentCenter]; | 181 | [_textLayer setAlignmentMode:kCAAlignmentCenter]; |
| 182 | - [_textLayer setForegroundColor:[[UIColor blackColor] CGColor]]; | 182 | + [_textLayer setForegroundColor:[[UIColor grayColor] CGColor]]; |
| 183 | } | 183 | } |
| 184 | 184 | ||
| 185 | return _textLayer; | 185 | return _textLayer; |
| @@ -62,7 +62,7 @@ | @@ -62,7 +62,7 @@ | ||
| 62 | _yChartLabelWidth = 18; | 62 | _yChartLabelWidth = 18; |
| 63 | _rotateForXAxisText = false; | 63 | _rotateForXAxisText = false; |
| 64 | 64 | ||
| 65 | - yLabelFormatter = ^(CGFloat yValue){ | 65 | + _yLabelFormatter = ^(CGFloat yValue){ |
| 66 | return [NSString stringWithFormat:@"%1.f",yValue]; | 66 | return [NSString stringWithFormat:@"%1.f",yValue]; |
| 67 | }; | 67 | }; |
| 68 | } | 68 | } |
| @@ -1006,6 +1006,7 @@ | @@ -1006,6 +1006,7 @@ | ||
| 1006 | 1006 | ||
| 1007 | -(void)setGradeFrame:(CATextLayer*)textLayer grade:(CGFloat)grade pointCenter:(CGPoint)pointCenter width:(CGFloat)width | 1007 | -(void)setGradeFrame:(CATextLayer*)textLayer grade:(CGFloat)grade pointCenter:(CGPoint)pointCenter width:(CGFloat)width |
| 1008 | { | 1008 | { |
| 1009 | + return; | ||
| 1009 | CGFloat textheigt = width*3; | 1010 | CGFloat textheigt = width*3; |
| 1010 | CGFloat textWidth = width*4; | 1011 | CGFloat textWidth = width*4; |
| 1011 | CGFloat textStartPosY; | 1012 | CGFloat textStartPosY; |
-
Please register or login to post a comment