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]: Scatter chart x axis label is truncated (below the line height) #1095

Open
joaoaguiam opened this issue Jun 29, 2024 · 1 comment
Open
Labels
Status: Need more info The issue still hasn't been fully clarified Type: Bug Confirmed bug, something is not working as intended

Comments

@joaoaguiam
Copy link

Tremor Version

3.17.2

Link to minimal reproduction

https://gist.github.com/joaoaguiam/bd5b464221b7887e273a90f5c96e04c9

Steps to reproduce

Copy paste that gist to your project. This is the default example of scatter with a xAxis label.
As the axis has a y, the part that is below the line is truncated. Check image.
CleanShot 2024-06-29 at 15 06 29@2x

By inspecting the code, the dy property is set to 0em. if I change to -0.5em, the word becomes fully visible.
CleanShot 2024-06-29 at 15 07 36@2x

What is expected?

The word should be fully visible and not only partially

What is actually happening?

The part of the word below the line is not visible

What browsers are you seeing the problem on?

Chrome

Any additional comments?

No response

@severinlandolt severinlandolt added the Type: Bug Confirmed bug, something is not working as intended label Jun 30, 2024
@severinlandolt
Copy link
Member

Hi! What font and default font size are you using?

@severinlandolt severinlandolt added the Status: Need more info The issue still hasn't been fully clarified label Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Need more info The issue still hasn't been fully clarified Type: Bug Confirmed bug, something is not working as intended
Projects
None yet
Development

No branches or pull requests

2 participants