plotly / plotly/plotly.R

Update frames upon crosstalk filter

オープン
#939 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

enhancement
主要言語
R
スター
2.7k
フォーク
641
PR マージ指標
30日以内にマージされた PR はありません

説明

It might be hard to have updateFilter() replicate everything updateSelection() can do (e.g. updating frames so selections update throughout an animation) -- especially from a maintaince perspective.

Thankfully, the only theoretical difference (AFAICT) between a selection (with an opacity dim of 0) and a filter operation should be a relayout() to reflect the new axis ranges.

It might be best (at least for now) to call updateSelection() here, but with an opacityDim of 0. Then it's on the user to zoom if they want to.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

inst/htmlwidgets/plotly.js の 411 行目付近から始め、updateFilter() と updateSelection() を比較します。crosstalk のフィルタリングがアニメーションフレームと軸の範囲をどのように処理するかを追跡します。アニメーション中を通してフィルタリングされた選択が更新され、関連する軸の範囲が relayout() を通じて反映されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, r
領域
data-visualization, frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。