| | |
| | | self.title = @"历史记录"; |
| | | [self setNavigationLeft:@"ic_back_arraw.png" sel:@selector(backAticon)]; |
| | | |
| | | UIImageView * ic_bottom_bg = [[UIImageView alloc] initWithFrame:CGRectMake(0, SCREEN_HEIGHT-112-64, SCREEN_WIDTH, 112)]; |
| | | UIImageView * ic_bottom_bg = [[UIImageView alloc] initWithFrame:CGRectMake(0, SCREEN_HEIGHT-112-NavBar_Height, SCREEN_WIDTH, 112)]; |
| | | ic_bottom_bg.image = [UIImage imageNamed:@"ic_bottom_bg"]; |
| | | ic_bottom_bg.userInteractionEnabled = YES; |
| | | [self.view addSubview:ic_bottom_bg]; |
| | |
| | | |
| | | [self drawHistoryRecordLine]; |
| | | |
| | | _UnitTipsLabel = [[GloriaLabel alloc] initWithFrame:CGRectMake(0, SCREEN_HEIGHT-112-64-30, SCREEN_WIDTH, 20)]; |
| | | _UnitTipsLabel = [[GloriaLabel alloc] initWithFrame:CGRectMake(0, SCREEN_HEIGHT-112-NavBar_Height-30, SCREEN_WIDTH, 20)]; |
| | | _UnitTipsLabel.font = [UIFont boldSystemFontOfSize:14]; |
| | | _UnitTipsLabel.textAlignment = UITextAlignmentCenter; |
| | | _UnitTipsLabel.textColor = RgbColor(0, 146, 252); |
| | |
| | | { |
| | | |
| | | /* Create object */ |
| | | historyRecordLineChart = [[JHLineChart alloc] initWithFrame:CGRectMake(0, 60, SCREEN_WIDTH-20, SCREEN_HEIGHT-112-64-40-40-20) andLineChartType:JHChartLineEveryValueForEveryX]; |
| | | historyRecordLineChart = [[JHLineChart alloc] initWithFrame:CGRectMake(0, 60, SCREEN_WIDTH-20, SCREEN_HEIGHT-112-NavBar_Height-40-40-20) andLineChartType:JHChartLineEveryValueForEveryX]; |
| | | |
| | | /* The scale value of the X axis can be passed into the NSString or NSNumber type and the data structure changes with the change of the line chart type. The details look at the document or other quadrant X axis data source sample.*/ |
| | | |