cppiechart

CorePlot: unable to change pie chart position (displacement)

▼魔方 西西 提交于 2020-01-25 12:39:10
问题 I am unable to change the pie chart position (I would like it to be more left in respect to the legend so that the legend does not overlay the pie chart). Basically I would like to shift it towards the left to allow the legend to display. I tried modifying the following properties (but with no apparent effect on the pie graph position): // pieChartGraph is a CPTPieChart object pieChartGraph.graph.position = CGPointMake(-100, 0); // I also tried: pieChart.position = CGPointMake(-100, 0); //