Event "plotly_legendclick" returns unreasonable results for member $visible
オープン
まだ誰も着手していません。
- 主要言語
- R
- スター
- 2.7k
- フォーク
- 641
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Brief description of the problem:
- For a first click on a(ny) legend entry there is no member $visible at all, even though the markers are not visible.
- For even numbers of clicks on legend entries $visible is "legendonly" (markers are shown).
- For odd numbers of clicks $visible is TRUE (respective markers are not shown).
Please consider as reprex:
https://github.com/ropensci/plotly/blob/master/inst/examples/shiny/event_data_legends/app.R
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
inst/examples/shiny/event_data_legends/app.Rを使って凡例クリックの3つのケースを再現し、各クリック後のイベントペイロードと$visibleの挙動を記録します。その例からイベントデータの処理を追跡します。最初のクリックに$visibleが含まれ、その後の値がマーカーが表示されているかどうかを正確に反映すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- r
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100