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

[Bug]图例居中显示,当字符串太长时显示不完整 #9315

Closed
xiaoxiao261258 opened this issue Apr 25, 2024 · 4 comments
Closed

[Bug]图例居中显示,当字符串太长时显示不完整 #9315

xiaoxiao261258 opened this issue Apr 25, 2024 · 4 comments
Assignees

Comments

@xiaoxiao261258
Copy link

DataEase 版本
v1.18.18

运行方式(安装包运行 or 源码运行 ?)
安装包

浏览器版本
chrome 124.0.6367.61

Bug 描述
图例居中显示,当描述较长时,比如30个英文字符,后面会显示成...,但实际上,对于居中的场景,是没必要的,因为有足够的空间可以显示完整。
居左和居右的场景下,太长显示为...是符合预期的。

Bug 重现步骤(有截图更好)
1.选择一个图表,设置图例较长,比如30个英文字符以上。
2.图例选择上方或下方均可,同时设置为居中显示,次数大概超过25个字符的部分,会被隐藏掉,显示为...

@BBchicken-9527
Copy link

感谢反馈,你的意思是说超过了25个字符会隐藏部分字符显示是这个意思吗?

@xiaoxiao261258
Copy link
Author

感谢反馈,你的意思是说超过了25个字符会隐藏部分字符显示是这个意思吗?

是的,当我的图例选择居中,并且放在图表上面或者下面的时候,这些图例是被会分成多行显示的,这种情况下,没必要隐藏了,全部显示出来就好了

@BBchicken-9527
Copy link

感谢反馈,因为是动态计算的所以会有一定的难度,我们想办法看看是否可以优化一下;

@maninhill
Copy link
Contributor

v1 版本目前进入维护阶段,仅修复安全漏洞相关问题。

@maninhill maninhill removed this from the v1.18.x Backlog milestone Oct 29, 2024
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

4 participants