Hoverlabels in stacked area charts with ggplotly not working properly
まだ誰も着手していません。
- 主要言語
- R
- スター
- 2.7k
- フォーク
- 641
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hello there!
When creating a stacked area chart with ggplot in R and using ggplotly to create a plotly version of it, there occurs a rather grave error: in the hoverlabel only the frist value for each trace is shown. Say, I have years on the x axis, then for all years 2019 will be displayed, even though the value belongs to 2023.
My minimum code sample is here: https://plotly.com/ggplot2/filled-area-plots/
The official tutorials samples show the same behaviour on my Linux machine, all packages up to date.
Would really enjoy it if that were to be fixed!
Best regards!
Alex
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Issue にリンクされている最小例 https://plotly.com/ggplot2/filled-area-plots/ から始め、現在のパッケージで積み上げ面グラフを再現してください。ggplotly が積み上げられた trace のホバーラベルをどのように構築するかを追跡します。各年に、その年に属する値が trace の最初の年の値ではなく表示されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- r
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100