3
円グラフCorePlot次のコードは:CorePlot円グラフ:X軸とY軸を非表示にする方法は? IOSの
CPTGraphHostingView *hostingView = [[CPTGraphHostingView alloc] initWithFrame:self.view.bounds];
[self.view addSubview:hostingView];
graph = [[CPTXYGraph alloc] initWithFrame:self.view.bounds];
hostingView.hostedGraph = graph;
CPTPieChart *pieChart = [[CPTPieChart alloc] init];
pieChart.dataSource = self;
pieChart.pieRadius = 100.0;
pieChart.identifier = @"PieChart1";
pieChart.startAngle = M_PI_4;
pieChart.sliceDirection = CPTPieDirectionCounterClockwise;
self.pieData= [NSMutableArray arrayWithObjects:[NSNumber numberWithDouble:90.0],
[NSNumber numberWithDouble:20.0],
[NSNumber numberWithDouble:30.0],
[NSNumber numberWithDouble:40.0],
[NSNumber numberWithDouble:50.0], [NSNumber numberWithDouble:60.0], nil];
[graph addPlot:pieChart];
[pieChart release];
出力が円グラフでxとy軸を非表示にしていない....! X軸とY軸を非表示にする必要があります...! 私を助けて....!
Thank You Very Much ...! – Dinesh
@EricSkrochこんにちは、私の質問を見ていただけますか?どうもありがとうございます。 http://stackoverflow.com/questions/25997224/the-axis-is-drawn-under-the-plot-in-core-plot – Pegah