From 7b02207537d35bfa1714bf8beafc921f717d100a Mon Sep 17 00:00:00 2001 From: 单军华 Date: Wed, 11 Jul 2018 10:47:42 +0800 Subject: [PATCH] 首次上传 --- screendisplay/screendisplay/Classes/ThirdClass/JHChart/JHTableChart.h | 91 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 91 insertions(+), 0 deletions(-) diff --git a/screendisplay/screendisplay/Classes/ThirdClass/JHChart/JHTableChart.h b/screendisplay/screendisplay/Classes/ThirdClass/JHChart/JHTableChart.h new file mode 100755 index 0000000..d8627d5 --- /dev/null +++ b/screendisplay/screendisplay/Classes/ThirdClass/JHChart/JHTableChart.h @@ -0,0 +1,91 @@ +// +// JHTableChart.h +// JHChartDemo +// +// Created by ������ on 16/8/24. +// Copyright �� 2016��� JH. All rights reserved. +// +/************************************************************ + * * + * * + ������ + * * + * * + ************************************************************/ + + +#import "JHChart.h" + +@interface JHTableChart : JHChart +/** + * Table name, if it is empty, does not display a table name + */ +@property (nonatomic, copy) NSString * tableTitleString; + +/** + * Table header row height, default 50 + */ +@property (nonatomic, assign) CGFloat tableChartTitleItemsHeight; + + +/** + * Table header text font size (default 15), color (default depth) + */ +@property (nonatomic, strong) UIFont * tableTitleFont; +@property (nonatomic, strong) UIColor * tableTitleColor; + + + +/** + * Table line color + */ +@property (nonatomic, strong) UIColor * lineColor; + + +/** + * Data Source Arrays + */ +@property (nonatomic, strong) NSArray * dataArr; + + +/** + * Width of each column + */ +@property (nonatomic, strong) NSArray * colWidthArr; + +/** + * The smallest line is high, the default is 50 + */ +@property (nonatomic, assign) CGFloat minHeightItems; + + +/** + * Table data display color + */ +@property (nonatomic, strong) UIColor * bodyTextColor; + + +/** + * The column header name, the first column horizontal statement, need to use | segmentation + */ +@property (nonatomic, strong) NSArray * colTitleArr; + +/** + * Anyway, the ranks of name statement, if it is necessary to fill out a two data + */ +@property (nonatomic, strong) NSArray * rowAndColTitleArr; + + +/** + * Offset value of start point + */ +@property (nonatomic, assign) CGFloat beginSpace; + + + +/** + * According to the current data source to determine the desired table view + */ +- (CGFloat)heightFromThisDataSource; + +@end -- Gitblit v1.8.0