An option to hide 0% text on pie charts
未關閉
還沒有人認領這個 Issue。
community
feature
P3
- 主要語言
- JavaScript
- 星號
- 18.3k
- 分支
- 2k
- 平均合併
- 2 天 12 小時
- 30 天內合併 PR
- 28
描述
Please look at this example:

Here, the two 0% texts make no sense. It's getting even worse if there are many options. They just get stacked vertically and take a lot of space and look ugly.
An option to switch off showing zero-percent texts on pie charts would be very hepful.
Please note it's not the same as toggling pie slices when clicking on legend items, in which a case the opacity of those hidden legend items become 0.5 instead of 1 (default).
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
Issue 中未指定任何原始碼檔案、測試或進入點。先找出圓餅圖文字的呈現方式與現有圖表選項,然後確認新增的選項能只隱藏 0% 標籤,同時保留其他標籤,並且仍與圖例項目的切換有所區別。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- data-visualization
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100