Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问@antv/g2plot的动画支持循环播放吗? #3752

Open
tclxjiaxing-huang opened this issue Mar 18, 2024 · 0 comments
Open

请问@antv/g2plot的动画支持循环播放吗? #3752

tclxjiaxing-huang opened this issue Mar 18, 2024 · 0 comments
Labels
Question Further information is requested

Comments

@tclxjiaxing-huang
Copy link

tclxjiaxing-huang commented Mar 18, 2024

目前我看官网上的动画配置分为4个生命周期

  • appear // 图表第一次加载时的入场动画
  • enter // 图表绘制完成,发生更新后,产生的新图形的进场动画
  • update // 图表绘制完成,数据发生变更后,有状态变更的图形的更新动画
  • leave // 图表绘制完成,数据发生变更后,被销毁图形的销毁动画

但都属于一次性动画,或者数据变化后动画

想问问有没有方式可以实现,数据不变的情况下,循环播放某种动画。 需求是因为是要放在在大屏上,而大屏不会有人手动操作,加些循环播放的动画,整体效果会更好看些。

@tclxjiaxing-huang tclxjiaxing-huang added the Question Further information is requested label Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant