G2 icon indicating copy to clipboard operation
G2 copied to clipboard

[Bug]: 折线图实时改变数据动画异常

Open 1962247851 opened this issue 7 months ago • 1 comments

Describe the bug / 问题描述

https://github.com/user-attachments/assets/154bf220-04f4-4805-9b11-613c27c5d819

Reproduction link / 复现链接

https://g2.antv.antgroup.com/manual/core/data/overview#数据更新

Steps to Reproduce the Bug or Issue / 重现步骤

直接访问文档地址

https://g2.antv.antgroup.com/manual/core/data/overview#数据更新

Version / 版本

🆕 5.x

OS / 操作系统

  • [x] macOS
  • [ ] Windows
  • [ ] Linux
  • [ ] Others / 其他

Browser / 浏览器

  • [x] Chrome
  • [x] Edge
  • [x] Firefox
  • [x] Safari (Limited support / 有限支持)
  • [ ] IE (Nonsupport / 不支持)
  • [ ] Others / 其他

1962247851 avatar Jun 04 '25 07:06 1962247851

这里其实不是异常,是因为内置的 update 动画 morphing 不适用于折线图动态更新,需要增加适合折线图更新的动画

interstellarmt avatar Jun 05 '25 02:06 interstellarmt