柱状图,使用简单快捷
_ptView = [[PTHistogramView alloc] initWithFrame:CGRectMake(30, 100, [UIScreen mainScreen].bounds.size.width - 60, 200)
nameArray:@[@"紧急",@"正常",@"暂停",@"终止",@"结案"]
countArray:@[@"4",@"12",@"7",@"15",@"19"]];
[self.view addSubview:_ptView];
出处:http://code.cocoachina.com/view/135804
感谢作者!!!
尊敬的会员,只需要简单地分享到微信、QQ空间、微薄等,就可以轻松地获得获得下载积分免费下载、发布任务啦,详细见推广规则。