我在使用 MIMChart 库设置固定颜色集时遇到问题。我正在使用 Ritu Raj MIMChart 库
MIMBarGraph *myBarChart;
myBarChart=[[MIMBarGraph alloc]initWithFrame:CGRectMake(50, 20, myTableView.frame.size.width- 50, myTableView.frame.size.width * 0.5)];
myBarChart.delegate=self;
myBarChart.tag=10+indexPath.row;
myBarChart.isGradient=YES;
myBarChart.groupedBars=YES;
myBarChart.glossStyle=GLOSS_STYLE_1;
myBarChart.xTitleStyle=X_TITLES_STYLE2;
[myBarChart drawBarChart];
[cell.contentView addSubview:myBarChart];