antvis/G2

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

ruanhuhu posted onGitHub

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

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

<!-- generated by antv-issue-helper. DO NOT REMOVE -->


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

posted by visiky over 3 years ago

Fund this Issue

$0.00
Funded

Pull requests