Closed soibhanZhangxb closed 1 year ago
antv/g2 3.x 的 饼图-花瓣示例移植到 4.x 5.x 都乱了,变成如下形状
原 3.x 饼图-花瓣位置,https://antv.antfin.com/zh-cn/g2/3.x/demo/pie/pie-platelets.html
G2 的 v4,v5 都没有 platelet 这个 shape,有兴趣来 v5 中贡献吗?
platelet
那这里应该怎么迁移啊,用那个? 还有类似这样的值的文档里面也没找到,那里有? 先研究学习后看看自己是否有能力啊
我写了一篇文章来介绍使用 G2 5.0 怎么绘制 花瓣图。《如何用 AntV 绘制一个好看的花瓣饼图》,代码在文章最后面。
预览效果:
antv/g2 3.x 的 饼图-花瓣示例移植到 4.x 5.x 都乱了,变成如下形状
原 3.x 饼图-花瓣位置,https://antv.antfin.com/zh-cn/g2/3.x/demo/pie/pie-platelets.html