Closed johanrd closed 1 year ago
Thanks, regarding the errors, these always show up because the svg is rendered before it receives the data. I agree this should be fixed, will keep this on the list for next patch!
Have the graph started to populate? I think maybe I see the same error on a device I started up yesterday, will investigate
ok, great, thanks.
FYI: the graphs have still not started to populate (in case there are other-than-SVG-bugs to be documented / fixed), though I am still running on v2.2.16
.
Working on issue #554 which will solve the issue where graph is not updated
Describe the bug Bars for consumption is not rendered in the charts
Energy use last 24 hours (kWh)
andEnergy use last month (kWh)
: Upon first glance I thought it was because the device only had been up and running for a couple of hours, but when inspecting the browser console, I found several errors forattribute transform: Expected number
, found NaN in the context of svg rendering.To Reproduce Steps to reproduce the behavior:
ams.local
)Energy use
charts have SVGs with NaN values, e.g.<g class="tick tick-0 tick-undefined" transform="translate(0, NaN)">
Expected behavior Charts to show consumption data bars, or at least be be resilient towards "no data" / "not a number" in a way that does not break svgs.
Screenshots
Hardware information:
Relevant firmware information:
Additional context Possibly relevant: I had recently upgraded firmware from v2.2.13, changed 'fixed price' to
1
and changed tariff thresholds.data.json:
configuration.json: