F2 icon indicating copy to clipboard operation
F2 copied to clipboard

PieLabel 样式自定义——label居中

Open PieNam opened this issue 3 years ago • 1 comments

  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

业务上对于饼图有特殊的 UI 定制,需要将 label 文本居中在 PieLabel 指示线末端,试了一下调整单个 label1 / label2 的 offsetY,指示线会和文本重叠并且覆盖在文本上方。请问对于这样的 UI 场景,有什么调整的方法吗?

期望结果:PieLabel 效果图

What does the proposed API look like?

like...

chart.PieLabel({
  style: 'center'
})

?

PieNam avatar Apr 28 '21 02:04 PieNam

兄弟这个你解决了没?

fxk01 avatar Mar 17 '23 08:03 fxk01