// // ZSIncomeChartView.h // ZBProject // // Created by 学丽 on 2019/4/9. // Copyright © 2019 ZB. All rights reserved. // #import "SSWCharts.h" NS_ASSUME_NONNULL_BEGIN @interface SSWlineIncomeChartView : SSWCharts @property(nonatomic)NSMutableArray *xValuesArr;//x轴的值数组 @property(nonatomic)NSMutableArray *yValuesArr;//y轴的值数组 @property(nonatomic,assign)CGFloat barWidth;//x轴刻度占据的宽度 @property(nonatomic,assign)CGFloat gapWidth;//间隔宽度 @property(nonatomic,assign)CGFloat yScaleValue;//y轴的刻度值 @property(nonatomic,assign)int yAxisCount;//y轴刻度的个数 @property(nonatomic,copy)NSString *unit;//单位 @property(nonatomic,copy)NSString *cateType; @property(nonatomic)UIColor *lineColor;//设置线的颜色 @property(nonatomic,copy)void(^changeMineBtn)(UIButton * button); -(void)drawLineChart; -(void)draWUpdate; @end NS_ASSUME_NONNULL_END