kevinzhow

Fix Bar Chart PreFix and Suffix

@@ -64,6 +64,8 @@ @@ -64,6 +64,8 @@
64 _rotateForXAxisText = false; 64 _rotateForXAxisText = false;
65 _isGradientShow = YES; 65 _isGradientShow = YES;
66 _isShowNumbers = YES; 66 _isShowNumbers = YES;
  67 + _yLabelPrefix = @"";
  68 + _yLabelSuffix = @"";
67 _yLabelFormatter = ^(CGFloat yValue){ 69 _yLabelFormatter = ^(CGFloat yValue){
68 return [NSString stringWithFormat:@"%1.f",yValue]; 70 return [NSString stringWithFormat:@"%1.f",yValue];
69 }; 71 };
@@ -97,7 +99,7 @@ @@ -97,7 +99,7 @@
97 } 99 }
98 100
99 #pragma mark - Private Method 101 #pragma mark - Private Method
100 -#pragma mark - 添加柱状图的Y轴坐标 102 +#pragma mark - Add Y Label
101 - (void)__addYCoordinateLabelsValues{ 103 - (void)__addYCoordinateLabelsValues{
102 104
103 [self viewCleanupForCollection:_yChartLabels]; 105 [self viewCleanupForCollection:_yChartLabels];