antvis/G2

当文本换行时,采用 labelHeight 作为高度会导致文本碰撞 #3309

simaQ posted onGitHub

https://github.com/antvis/G2/blob/d0a73c2256ff133e5bf66d82464b8c6ba541f011/src/geometry/label/layout/pie/outer.ts#L165

应该取整个 labelShape 包围盒的高度,同时考虑下可设置 label 与 label 之间的 margin,饼图其他布局也有类似的问题。

image


Fund this Issue

$0.00
Funded

Pull requests