123456789101112131415161718192021222324252627282930313233 |
- #import <UIKit/UIKit.h>
- #import "XDBarCell.h"
- typedef void(^SelectedWithTableViewPathRowBlock)(NSString *coldate,NSInteger row);
- @interface XDBarView : UIView
- @property (nonatomic,copy) void(^SelectedWithTableViewPathRowBlock) (NSString *coldate,NSInteger row);
- - (void)selectedWithTableViewPathRowBlock:(SelectedWithTableViewPathRowBlock)block;
- /**
- * 新图刚显示的时候默认选择的cell
- * Api
- */
- - (void)newinitSelectedWithTableViewPath:(NSIndexPath *)indexPath;
- /** tableview */
- @property(nonatomic,strong)UITableView *tb;
- /** 默认颜色 */
- @property (nonatomic,strong) UIColor *defaultColor;
- /** 点击颜色 */
- @property (nonatomic,strong) UIColor *SelectColor;
- /** 模型数组 {value、日期 (下标)}*/
- @property (nonatomic,strong) NSArray *modelArray;
- /** 柱状图宽 <60 */
- @property (nonatomic,assign) CGFloat barWith;
- /** cell点击范围宽度 默认 80*/
- @property (nonatomic,assign) CGFloat cellHeight;
- - (void) reloadtb;
- @end
|