antvis / G2Plot

:dango: An interactive and responsive charting library based on G2.
https://g2plot.antv.antgroup.com
MIT License
2.56k stars 607 forks source link

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

Open STTTOS opened 1 year ago

STTTOS commented 1 year ago

🐛 Bug description [Please make everyone to understand it]

水波图调用changeData时, 如果percent值变化较小,X轴的波浪移动会有明显的闪烁

📷 Step to reproduce

官方示例就能看到这个问题

🏞 Expected result

期望在调用changeData时, 波浪在X轴的移动保持连贯, 而不是改变到初始值, 再偏移回来. 会有明显的动画闪烁

🚑 Any additional [like screenshots]