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

当特殊标记点dataMarker的位置处于图表边界时,文字会超出容器 #3821

Closed
TheBaldGirl opened this issue Mar 2, 2022 · 3 comments

Comments

@TheBaldGirl
Copy link

目前使用特殊标记点做最大最小值标志时,发现当该标记点的位置距坐标轴最大值距离很近时,文字会超出容器,无法展示全部。尝试配置limitInPlot仍未解决。

预期效果:标记点及文字展示在图表容器内部

@TomorrowLM
Copy link

+1

@mrh-code-star
Copy link

+1,我这里是条形图末端需要添加文本标签,但是如果用度量(scale)自适应的话最长的条形图的文本会超出容器边界

@pearmini
Copy link
Member

pearmini commented Sep 4, 2023

这个是不可避免的,可以通过设置 padding 解决问题。

@pearmini pearmini closed this as completed Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants