Update frames upon crosstalk filter
还没有人认领这个 Issue。
- 主要语言
- 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.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 inst/htmlwidgets/plotly.js 第 411 行附近开始,并比较 updateFilter() 与 updateSelection()。跟踪 crosstalk 过滤如何处理动画帧和坐标轴范围。完成的标志是:在整个动画过程中,过滤后的选择都会更新,并且相关的坐标轴范围会通过 relayout() 反映出来。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, r
- 领域
- data-visualization, frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100