home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
3.95k stars 2.67k forks source link

timeline history-graph: "jagged" look #19392

Open ildar170975 opened 7 months ago

ildar170975 commented 7 months ago

Checklist

Describe the issue you are experiencing

Since some update a timeline history-graph is rendered like "jagged". It is especially visible with frequently changing entities:

изображение

Look at the artefacts on top & bottom parts of the timeline. Zoomed in:

изображение

Not observed if a browser's page is zoomed in:

изображение

Seems that the graph got a semi-transparent outline which causes these artefacts. Probably the outline should be opaque.

One more example:

изображение

Observed in Chrome & FF.

I believed that timeline graphs are made with Chartjs, but failed to find a "timeline" graph in their Docs.

Describe the behavior you expected

Not "jagged".

Steps to reproduce the issue

Open history graph with many short chages.

What version of Home Assistant Core has the issue?

2024.1.1

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Chrome 120.0.6099.216

Which operating system are you using to run this browser?

Win10

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

ildar170975 commented 6 months ago

2024.3 - much better:

image

Zoomed in:

image

Closing.

Also:

image

ildar170975 commented 6 months ago

Have no idea why - again see this jugged look:

image

image

ildar170975 commented 6 months ago

Tested in 2023.7.1 - a normal look:

fbfe238c93411f764201599bbbaab625275e7880

Zoomed in:

421d7dd6f4a49cd011beb182ef6a57387edeebd1

So, after some version of HA it became worse.

github-actions[bot] commented 3 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

ildar170975 commented 2 months ago

up