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

Regarding the issue of relative position offset when customizing TextGuide #2025

Open
1 task
xiaoyugege123 opened this issue Nov 27, 2024 · 0 comments
Open
1 task

Comments

@xiaoyugege123
Copy link

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

Reproduction link

https://github.com/xiaoyugege123/antv-f2-textguide-issue

Steps to reproduce

可以运行项目看看交互效果,也可以看看README.md文档中展现的情况

You can run the project to see the interaction effect, or you can check the situation shown in the README.md document

Environment Info
f2 5.7.4
System -
Browser -

业务需求上碰到这个问题,虽然没有很大问题,但是看出来还是不太完美的方案。希望能跟随柱状图形中间点位置来进行定位。这里看能不能直接计算文本内容长度来进行居中?希望能将这个文本居中直接写入进去

Encountering this issue in terms of business requirements, although it is not a major problem, it still appears to be an imperfect solution. I hope to follow the position of the middle point of the cylindrical shape for positioning. Can we directly calculate the length of the text content to center it here? I hope this text can be centered and written directly into it

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