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] grid.containLabel have problems working with axis.axisLabel.showMinLabel and showMaxLabel #20663

Open
chengzhanli opened this issue Jan 8, 2025 · 2 comments · May be fixed by #20839
Open
Labels
bug en This issue is in English pending We are not sure about whether this is a bug/new feature.

Comments

@chengzhanli
Copy link

chengzhanli commented Jan 8, 2025

@chengzhanli chengzhanli added the bug label Jan 8, 2025
@echarts-bot echarts-bot bot added en This issue is in English pending We are not sure about whether this is a bug/new feature. labels Jan 8, 2025
@helgasoft
Copy link

you have a point - length of the hidden label should not show up as extra space. That could be counted as a bug.
Workaround: since you control min and max values in code, why not make them shorter with toFixed - Demo.

@chengzhanli
Copy link
Author

there is a minimum value of label usage in our business (e.g. 1.1234E-6), we do not want the toFixed labels to lose precision

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug en This issue is in English pending We are not sure about whether this is a bug/new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants