我必須使用core-plot API在ipad中繪製三維餅圖。我可以做到嗎? 請指教。如何在ipad中使用core-plot繪製三維餅圖?
3
A
回答
2
核心劇情只有2-d。您可以使用陰影和/或覆蓋填充在餅圖上創建模擬的3D效果。有關示例,請參閱Plot Gallery示例應用程序。
1
看看BNPieChart。這是一個openSouce。
代碼示例
BNPieChart *chart = [[[BNPieChart alloc] initWithFrame:frame] autorelease];
[chart addSlicePortion:0.1 withName:@"Orange"];
[chart addSlicePortion:0.2 withName:@"Fandango"];
[chart addSlicePortion:0.1 withName:@"Blue"];
[chart addSlicePortion:0.1 withName:@"Cerulean"];
[chart addSlicePortion:0.3 withName:@"Green"];
[chart addSlicePortion:0.1 withName:@"Yellow"];
[chart addSlicePortion:0.1 withName:@"Pink"];
參考用於Code
+0
我們可以通過Core-plot嗎? –
相關問題
- 1. 使用CorePlot繪製餅圖
- 2. 使用jqplot繪製三維餅圖
- 3. 使用coreplot繪製多個餅圖
- 4. 如何使用coreplot繪製如下餅圖?
- 5. 如何在C中繪製三維圖?
- 6. 如何在coreplot中繪製多個圖
- 7. 在三維圖中繪製圖像,python
- 8. 繪製majorGridLine繪圖圖 - CorePlot
- 9. 如何在MATLAB中繪製平方根的三維繪圖?
- 10. Android中的三維餅圖
- 11. 在R中製作三維繪圖
- 12. 在matlab中繪製三維條形圖
- 13. 在matlab中繪製三維圖?
- 14. 如何使用pdfbox繪製餅圖?
- 15. 如何使用Coreplot繪製多個顏色的繪圖
- 16. 如何在MATLAB中使用繪圖()繪製二維地圖
- 17. 如何在Android中繪製3D餅圖
- 18. 如何在iPhone中繪製餅圖
- 19. 在三維繪圖上繪製兩個二維圖
- 20. 如何用MATLAB在三維空間中繪製二維函數?
- 21. 使用CorePlot庫繪製多個圖形
- 22. 如何繪製在三維圖中的線中的R
- 23. Python:如何使用Python繪製三維圖形?
- 24. 在ggplot2中繪製餅圖
- 25. 在Android中繪製餅圖?
- 26. 用python繪製三維散點圖?
- 27. 使用Coreplot繪圖數據
- 28. 如何在MATLAB中繪製三維曲面圖?
- 29. 如何在C++中繪製三維散點圖?
- 30. 如何在三維圖形中繪製一個多邊形
CorePlot是一個2D引擎。現在沒有辦法繪製3d地塊。 – beryllium
我們希望您試圖自己解決這個問題,而不是要求社區爲您提供完整的解決方案。當你有一些代碼向我們展示,證明你有一些努力(即使它是錯誤的),請更新你的問題和標誌重新打開。謝謝。 – Kev