Can you please check what’s going on in the network tab of the browser developer tools when opening the charts that load slowly?
Look out for calls to /persistence/items/{itemname} and check how quickly they are completed.
We need to check whether the issue is rendering charts or reading persistence.
The slow loading seems to be something different than a UI issue.
Especially Shelly EM3 Kumulierte Leistung seems slow to load, how does this behave as a single series in a dedicated chart?
I tested this with latest snapshot. The charts are now loading at normal speed again However, the charts freeze on mouse over or when scrolling/zooming in. I don’t know if that has anything to do with this change? This also happens when analyzing single items. (I already cleaned the cache, but did not solve this issue)
I can’t reproduce this with the latest Main UI build from the main branch, i.e. including my fix.
Can you provide additional information? Browser console? Browser, OS, device?
I’m currently on SNAPSHOT build #4974 and I am also seeing this problem with freezing chart pointer and zooming. But not for all charts, some are working as expected.
Was able to observe it in Chrome on Windows, in Chrome in Android and also in OpenHAB android app.
When the chart freezes, it is not possible to use any control elements (move forward/backward in time period, zooming doesn’t work and sometimes even the back button doesn’t work.
I’m going to prepare some test chart page so you can try to reproduce it.
It freezes when you just mouse over the chart to display the tooltip. Additionally in the browser console it displays following error:
oh-chart-component-BnDEtVOF.js:670 Uncaught TypeError: Cannot read properties of undefined (reading 'VenkuTeplota')
at oh-chart-component-BnDEtVOF.js:670:32
at Array.forEach (<anonymous>)
at a2.smartFormatter.a2.formatter (oh-chart-component-BnDEtVOF.js:666:170)
at t2._showTooltipContent (dist-Bw8Dl26-.js:15886:33)
at t2.<anonymous> (dist-Bw8Dl26-.js:15846:129)
at t2._showOrMove (dist-Bw8Dl26-.js:15819:104)
at t2._showAxisTooltip (dist-Bw8Dl26-.js:15845:10)
at t2._tryShow (dist-Bw8Dl26-.js:15806:33)
at t2.manuallyShowTip (dist-Bw8Dl26-.js:15785:27)
at u2 (dist-Bw8Dl26-.js:9881:47)
I’m pretty sure @florian-h05 would prefer a GitHub issue. There are a lot of balls to juggle with the UI at the moment, and it’s just easier to handle them through the GitHub issue/PR process than having to remember to find a forum post when the time comes that you want to try to fix it.