antvis/G2

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

soibhanZhangxb posted onGitHub

antv/g2 3.x 的 饼图-花瓣示例移植到 4.x 5.x 都乱了,变成如下形状 <img width="227" alt="image" src="https://user-images.githubusercontent.com/45445365/220677251-1e6bb1cb-f0f5-48ae-bf4e-f32344fc13d0.png">

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


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

posted by hustcc about 2 years ago

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

posted by soibhanZhangxb about 2 years ago

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

预览效果:

image

posted by hustcc about 2 years ago

Fund this Issue

$0.00
Funded

Pull requests