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

Entity names are always truncated in echart state graph, no matter how long they are #23944

Closed
3 of 4 tasks
karwosts opened this issue Jan 29, 2025 · 1 comment
Closed
3 of 4 tasks
Assignees
Milestone

Comments

@karwosts
Copy link
Contributor

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

Image

No matter what name an entity has ("Sun", "Sun Long", or "Sun Long Long Long"), the last few letters are always truncated.

We're clearly scaling the chart to attempt to fit the name, but it's odd that we scale it just slightly not long enough to fit the last letter.

Describe the behavior you expected

Display entire name up to a point, but truncate if it becomes too long (maybe over 25% of the card width?)

Steps to reproduce the issue

...

What version of Home Assistant Core has the issue?

2025.2.dev

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue?

Chrome

Which operating system are you using to run this browser?

No response

State of relevant entities

Problem-relevant frontend configuration

Javascript errors shown in your browser console/inspector

Additional information

No response

@karwosts karwosts added this to the 2025.2 milestone Jan 29, 2025
@MindFreeze MindFreeze self-assigned this Jan 31, 2025
@MindFreeze
Copy link
Contributor

fixed now

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

2 participants