plotly / plotly/plotly.js

Broken text transitions for sunburst/treemap charts

未关闭
#5,547 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug P3
主要语言
JavaScript
星标
18.3k
派生
2k
平均合并
2 天 12 小时
30 天内合并 PR
28

描述

This issue is described in the Icicle Plot Issue but in the context of an Icicle plot.

Reproducible Example

Check out the Basic Sunburst Example from the docs: https://plotly.com/javascript/sunburst-charts/#basic-sunburst-chart

https://user-images.githubusercontent.com/10369095/110998679-2fa51300-834d-11eb-9d80-79ffcc6102f8.mov

Describing the Bugs

  • At the 3 sec mark, notice that Awan and a few other text labels disappears.
  • At the 9 sec mark, notice that Awan, Abel and Cain are already located at their target X and Y, and that the text scales into view.

The reason I'm grouping these text labels together is because I suspect they are related. There are other more Icicle specific bugs I've noticed in https://github.com/plotly/plotly.js/pull/5546#issuecomment-797026819.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先运行 Plotly JavaScript 文档中的 Basic Sunburst Example,并将标签的过渡与附带的视频进行比较。阅读链接的 Icicle Plot Issue,了解相关的过渡行为。当 Awan、Abel 和 Cain 等标签保持可见,并在不消失的情况下过渡到其目标位置和缩放比例时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
data-visualization
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。