酷店

SSWlineIncomeChartView.h 958B

1234567891011121314151617181920212223242526272829
  1. //
  2. // ZSIncomeChartView.h
  3. // ZBProject
  4. //
  5. // Created by 学丽 on 2019/4/9.
  6. // Copyright © 2019 ZB. All rights reserved.
  7. //
  8. #import "SSWCharts.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface SSWlineIncomeChartView : SSWCharts
  11. @property(nonatomic)NSMutableArray *xValuesArr;//x轴的值数组
  12. @property(nonatomic)NSMutableArray *yValuesArr;//y轴的值数组
  13. @property(nonatomic,assign)CGFloat barWidth;//x轴刻度占据的宽度
  14. @property(nonatomic,assign)CGFloat gapWidth;//间隔宽度
  15. @property(nonatomic,assign)CGFloat yScaleValue;//y轴的刻度值
  16. @property(nonatomic,assign)int yAxisCount;//y轴刻度的个数
  17. @property(nonatomic,copy)NSString *unit;//单位
  18. @property(nonatomic,copy)NSString *cateType;
  19. @property(nonatomic)UIColor *lineColor;//设置线的颜色
  20. @property(nonatomic,copy)void(^changeMineBtn)(UIButton * button);
  21. -(void)drawLineChart;
  22. -(void)draWUpdate;
  23. @end
  24. NS_ASSUME_NONNULL_END