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

玉珏图动画播放角度未跟随旋转角度同步 #4271

Closed
289420843 opened this issue Nov 13, 2022 · 3 comments
Closed

玉珏图动画播放角度未跟随旋转角度同步 #4271

289420843 opened this issue Nov 13, 2022 · 3 comments

Comments

@289420843
Copy link

test
有什么办法解决吗?

@hustcc
Copy link
Member

hustcc commented Nov 14, 2022

求个代码~

@289420843
Copy link
Author

玉珏图demohttps://g2.antv.vision/zh/examples/bar/basic#radial-bar

chart.coordinate('polar', { innerRadius: 0.1 }).transpose();
改为
chart.coordinate('polar', { innerRadius: 0.1 }).rotate(-0.5).transpose();

@289420843
Copy link
Author

@hustcc 我已经解决了,可以通过修改 startAngle 和endAngle参数来达到相同的效果

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

2 participants