Dissociate the xLabelWidth from the lines drawing
* For graphic with a lot of data, we can't display all xLabels. Now it's possible to display a fewLabels with a lot of value. * Add method to specify the width xLabel.
Showing
2 changed files
with
2 additions
and
1 deletions
| @@ -57,7 +57,6 @@ | @@ -57,7 +57,6 @@ | ||
| 57 | 57 | ||
| 58 | @property (nonatomic) BOOL showLabel; | 58 | @property (nonatomic) BOOL showLabel; |
| 59 | 59 | ||
| 60 | - | ||
| 61 | /** | 60 | /** |
| 62 | * show CoordinateAxis ornot, Default is not | 61 | * show CoordinateAxis ornot, Default is not |
| 63 | */ | 62 | */ |
| @@ -73,4 +72,6 @@ | @@ -73,4 +72,6 @@ | ||
| 73 | */ | 72 | */ |
| 74 | @property (nonatomic, strong) NSString *yLabelFormat; | 73 | @property (nonatomic, strong) NSString *yLabelFormat; |
| 75 | 74 | ||
| 75 | +- (void)setXLabels:(NSArray *)xLabels withWidth:(CGFloat)width; | ||
| 76 | + | ||
| 76 | @end | 77 | @end |
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment