Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 box label 位置问题 #3675

Closed
visiky opened this issue Oct 12, 2021 · 2 comments
Closed

🐛 box label 位置问题 #3675

visiky opened this issue Oct 12, 2021 · 2 comments

Comments

@visiky
Copy link
Member

visiky commented Oct 12, 2021

  • G2 Version:
  • Platform:
  • Mini Showcase(like screenshots):
image image
@visiky
Copy link
Member Author

visiky commented Oct 12, 2021

related: antvis/G2Plot#2912

@visiky
Copy link
Member Author

visiky commented Oct 12, 2021

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

@visiky visiky closed this as completed Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant