/*
//心率动态图表
MTChartView *view = [[MTChartView alloc] initWithFrame:CGRectMake(0, MTScreenHeight - viewY(250), MTScreenWidth, 200)];
view.backgroundColor = [UIColor whiteColor];
view.style = LineGrid;
view.isdrawLine = YES;
view.isDrawPoint = NO;
view.isShadow = YES;
view.unit = @"单位:bpm";
view.lineColor = [UIColor colorWithHex:@"#4DD9B6"];
view.xlineColor = [UIColor colorWithHex:@"#959595"];
view.yLineColor = [UIColor clearColor];
// view.yLabels = @[@"100",@"70",@"140",@"80",@"120",@"140",@"80",@"120",@"140",@"80",@"120",@"80",@"120",@"80",@"120"];
// view.yLabels = @[@"90",@"70",@"140",@"80",@"120",@"140",@"80",@"120",@"140",@"80"];
view.yLabels = @[@"90"];
view.xLabels = @[@"00:01",@"00:02",@"00:03",@"00:04",@"00:05",@"00:06",@"00:07",@"00:08",@"00:09",@"00:10",
@"00:11",@"00:12",@"00:13",@"00:14",@"00:15",@"00:16",@"00:17",@"00:18",@"00:19",@"00:20",
@"00:21",@"00:22",@"00:23",@"00:24",@"00:25",@"00:26",@"00:27",@"00:28",@"00:29",@"00:30",
@"00:31",@"00:32",@"00:33",@"00:34",@"00:35",@"00:36",@"00:37",@"00:38",@"00:39",@"00:40",
@"00:41",@"00:42",@"00:43",@"00:44",@"00:45",@"00:46",@"00:47",@"00:48",@"00:49",@"00:50",
@"00:51",@"00:52",@"00:53",@"00:54",@"00:55",@"00:56",@"00:57",@"00:58",@"00:59",@"01:00",@"01:01"];
_value2 = 1;
self.hrvView = view;
[view strokeChart];//
[self.view addSubview:view];
self.mutArray = [NSMutableArray arrayWithArray:view.yLabels];
self.mutArrayx = [NSMutableArray arrayWithArray:view.xLabels];
*/
/*
//测试图表
NSDictionary * dict = @{@"heartVal": @"test"};
WeakSelf(weakSelf);
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
weakSelf.timer = [NSTimer scheduledTimerWithTimeInterval:0.5 target:weakSelf selector:@selector(drawHRV:) userInfo:dict repeats:YES];
});
*/