History-graph timeline: jagged look

Here is a weird thing I started seeing about 2-3 months ago.
Registered an issue on Github. Wanted to share it here.
A standard history-graph for a frequently changing state:

image

The look has some graphical artefacts.
If zoomed in - these artefacts are less visible:

Same in Chrome, FF, MS Edge.

In Companion app (iOS 15.x) with a default scale - rendered much better, no artefacts.
Chrome in iOS - also OK.

Test with 2023.7.1 with a manually changed input_boolean - no artefacts:

image

Zoomed in:

So, smth in HA (or external Chart.js) made it worse.

1 Like