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.
ipad プロジェクトの 1 つでコア プロットを使用しています。画像を使用して円グラフのすべてのスライスの色を設定することは可能ですか?事前に感謝します
はい。データソースに次のメソッドを実装し、要求されたスライス インデックスに画像を使用する CPFill オブジェクトを返します。
-(CPFill *)sliceFillForPieChart:(CPPieChart *)pieChart recordIndex:(NSUInteger)index;