Adding multiple lines to PNChartLabel
* Multiple lines of text in UILabel
Showing
1 changed file
with
1 additions
and
0 deletions
| @@ -20,6 +20,7 @@ | @@ -20,6 +20,7 @@ | ||
| 20 | self.textAlignment = NSTextAlignmentCenter; | 20 | self.textAlignment = NSTextAlignmentCenter; |
| 21 | self.userInteractionEnabled = YES; | 21 | self.userInteractionEnabled = YES; |
| 22 | self.adjustsFontSizeToFitWidth = YES; | 22 | self.adjustsFontSizeToFitWidth = YES; |
| 23 | + self.numberOfLines = 0; | ||
| 23 | /* if you want to see ... in large labels un-comment this line | 24 | /* if you want to see ... in large labels un-comment this line |
| 24 | self.minimumScaleFactor = 0.8; | 25 | self.minimumScaleFactor = 0.8; |
| 25 | */ | 26 | */ |
-
Please register or login to post a comment