Bad label positioning in pie-charts
オープン
まだ誰も着手していません。
feature
P3
- 主要言語
- JavaScript
- スター
- 18.3k
- フォーク
- 2k
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 28
説明
Depending on the number of categories and the amount of text in labels, the positioning of labels in pie-charts might be unsatisfying. The labels might overlap the title/subtitle. Here is an example image showing the problem:
This codepen contains relevant code for reproducing the issue.
There is also a related issue, which suggests adding an optional space between title and plot. But as this space would definitively depend on the actual data, I'd say plotly should handle this for the user automatically.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンクされているCodePenの再現例から始め、関連するissue #4932と比較します。カテゴリ数とラベルの長さを変えた場合の円グラフのラベルレイアウトの挙動を追跡し、そのうえで、ラベルがタイトルやサブタイトルと重ならなくなっていることを、読みやすい配置を維持しながら確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100