antvis/G2

🐛 box label 位置问题 #3675

visiky posted onGitHub

  • G2 Version:
  • Platform:
  • Mini Showcase(like screenshots):
image image

<!-- Enter your issue details below this comment. -->


posted by visiky over 3 years ago

原因:因为 label 的定位会和数据挂钩,如果返回的是原始数据无关的,则 mappingData 获取位置信息为空,则默认展示为居中。 解法:上层自己先行处理下定位问题

posted by visiky over 3 years ago

Fund this Issue

$0.00
Funded

Pull requests