单军华
2016-12-21 8329ef237d1841d377718813a0b452ea0df64378
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
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