为什么 Core Plot 会画出这两条线?
这就是我设置图表的方式:
// setup the pie chart
graph = [[CPTXYGraph alloc] initWithFrame:[_pieView bounds]];
[_pieView setHostedGraph:graph];
CPTPieChart *pieChart = [[CPTPieChart alloc] init];
[pieChart setDataSource:self];
[pieChart setPieRadius:75.0];
[pieChart setIdentifier:@"PieChart1"];
[pieChart setStartAngle:M_PI_4];
[pieChart setSliceDirection:CPTPieDirectionClockwise];
[graph addPlot:pieChart];
(_pieView
是CPTGraphHostingView*
)
怎么去掉两条黑线?我尝试执行How do remove the border around a core-plot graph中描述的操作,但无济于事。