Showing
1 changed file
with
4 additions
and
0 deletions
| @@ -62,6 +62,10 @@ | @@ -62,6 +62,10 @@ | ||
| 62 | _showChartBorder = NO; | 62 | _showChartBorder = NO; |
| 63 | _yChartLabelWidth = 18; | 63 | _yChartLabelWidth = 18; |
| 64 | _rotateForXAxisText = false; | 64 | _rotateForXAxisText = false; |
| 65 | + | ||
| 66 | + yLabelFormatter = ^(CGFloat yValue){ | ||
| 67 | + return [NSString stringWithFormat:@"%1.f",yValue]; | ||
| 68 | + }; | ||
| 65 | } | 69 | } |
| 66 | 70 | ||
| 67 | - (void)setYValues:(NSArray *)yValues | 71 | - (void)setYValues:(NSArray *)yValues |
-
Please register or login to post a comment