Showing
1 changed file
with
5 additions
and
0 deletions
| @@ -66,6 +66,11 @@ | @@ -66,6 +66,11 @@ | ||
| 66 | */ | 66 | */ |
| 67 | @property (nonatomic, strong) NSString *yLabelFormat; | 67 | @property (nonatomic, strong) NSString *yLabelFormat; |
| 68 | 68 | ||
| 69 | +/** | ||
| 70 | + * Block formatter for custom string in y-axis labels. If not set, defaults to yLabelFormat | ||
| 71 | + */ | ||
| 72 | +@property (nonatomic, copy) NSString* (^yLabelBlockFormatter)(CGFloat); | ||
| 73 | + | ||
| 69 | - (void)setXLabels:(NSArray *)xLabels withWidth:(CGFloat)width; | 74 | - (void)setXLabels:(NSArray *)xLabels withWidth:(CGFloat)width; |
| 70 | 75 | ||
| 71 | /** | 76 | /** |
-
Please register or login to post a comment