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

版本升级兼容性问题 --- 3.x 的饼图-花瓣示例移植到 4.x 5.x 都乱了 #4679

Closed
soibhanZhangxb opened this issue Feb 22, 2023 · 3 comments
Assignees

Comments

@soibhanZhangxb
Copy link

antv/g2 3.x 的 饼图-花瓣示例移植到 4.x 5.x 都乱了,变成如下形状
image

原 3.x 饼图-花瓣位置,https://antv.antfin.com/zh-cn/g2/3.x/demo/pie/pie-platelets.html

@hustcc
Copy link
Member

hustcc commented Feb 23, 2023

G2 的 v4,v5 都没有 platelet 这个 shape,有兴趣来 v5 中贡献吗?

@soibhanZhangxb
Copy link
Author

那这里应该怎么迁移啊,用那个? 还有类似这样的值的文档里面也没找到,那里有? 先研究学习后看看自己是否有能力啊

@hustcc
Copy link
Member

hustcc commented Apr 21, 2023

我写了一篇文章来介绍使用 G2 5.0 怎么绘制 花瓣图。《如何用 AntV 绘制一个好看的花瓣饼图》,代码在文章最后面。

预览效果:

image

@hustcc hustcc closed this as completed Apr 21, 2023
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