Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Core Plots 1.2 版,我希望图表每个部分的标签更靠近它的中心。我该怎么做呢?
我想到了:
CPTPieChart *pieChart = [[CPTPieChart alloc] init]; pieChart.labelOffset = 0.0f;
CPTPieChart 有一个“labelOffset”值,可以将饼图楔形标签移近或远离饼图的中心。labelOffset 的值越大,离中心越远。