antvis / antvis/G2Plot

🐛 [BUG]水波图调用changeData时, X轴的波浪动画会有闪烁

Open
#3,631 0 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
TypeScript
Stars
2.7k
Forks
591
PR merge metrics
No merged PRs in 30d

Description

### 🐛 Bug description [Please make everyone to understand it]
水波图调用changeData时, 如果percent值变化较小,X轴的波浪移动会有明显的闪烁

* _Required_ **Link to minimal reproduction**:

### 📷 Step to reproduce
[官方示例就能看到这个问题](https://g2plot.antv.antgroup.com/zh/examples/progress-plots/liquid/#style)
### 🏞 Expected result
期望在调用changeData时, 波浪在X轴的移动保持连贯, 而不是改变到初始值, 再偏移回来. 会有明显的动画闪烁
### 🚑 Any additional [like screenshots]

* **G2Plot Version**:
* **Platform**:

Contributor guide

Open the contributing guide

Research direction

Start with the official liquid chart example linked in the issue and trace the changeData animation path for small percent changes. Reproduce the X-axis wave flicker, then verify that the wave moves continuously without resetting to its initial position before shifting back.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.