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

官网示例中,饼图选中不再有缓动动效 #3319

Closed
1 task
ruanhuhu opened this issue Mar 10, 2021 · 4 comments
Closed
1 task

官网示例中,饼图选中不再有缓动动效 #3319

ruanhuhu opened this issue Mar 10, 2021 · 4 comments
Assignees

Comments

@ruanhuhu
Copy link

ruanhuhu commented Mar 10, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://g2.antv.vision/zh/examples/interaction/element#pie-selected

Steps to reproduce

参考官网示例自己写了个DEMO(其实和官网基本一致)
https://codepen.io/ruanbearbear/pen/KKNrRGZ
希望可以通过geom.state() 设置selected/active状态中的animate;
然后element.setState()时显示动效(但实际却无效?)

Environment Info
g2 4.1.12
System Windows 10
Browser 88.0.4324.182
@visiky
Copy link
Member

visiky commented Mar 10, 2021

以前有动画效果吗?

@ruanhuhu
Copy link
Author

以前有动画效果吗?

看了下V3版本的,上面是有的。V4之前没有仔细关注过。
https://g2-v3.antv.vision/zh/examples/pie/donut

@yaoleia
Copy link

yaoleia commented Jul 30, 2021

无动画 +1

@visiky
Copy link
Member

visiky commented Oct 9, 2021

已经解决了, 更新版本到 4.1.30 🙇‍♀️

@visiky visiky mentioned this issue Oct 9, 2021
3 tasks
@hustcc hustcc assigned visiky and unassigned hustcc and pearmini Oct 9, 2021
@hustcc hustcc closed this as completed Oct 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants