mini-graph-card
mini-graph-card copied to clipboard
Add option to display gaps in data (unavailable state)
Please add an option that enables the graph to start from the position when the data was last updated.
That way there aren't flat lines in the graph where there is no data.

This is the biggest issue for me. Any missing/null value is ignored. The standard history graph does properly show that there is no data in that range as opposed to a constant value. Grafana allows specifying the behavior in that case (either like Lovelace standard history graph or like the current mini-graph-card). Depending on the situation I understand that one of those two may be optimal.
Possibly a sane option would be a time range after which it would consider that there is no data as opposed to using the latest known value.
Probably same as https://github.com/kalkih/mini-graph-card/issues/678
From #678
Is it possible to display gaps for periods where the sensor is
unavailable
?Look at these conventional graphs:
They have gaps for these periods.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this is still an active issue, please let us know!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this is still an active issue, please let us know!
skipping another year ...
This is still a problem in 2023 and driving me nuts. Missing values are something that simply happens. Progressing the last known value leads to weird results, especially if the intermediate points are just "invented".
The following graph will make me believe my solar panels produced > 1kW of power in an overcast and dark night at just past 1am. Wish they had... I'm well below northern tropic. We do not get midnight sun here. ;-)
I'd like to add my vote on this issue.
This happened for me with a new Sensor which only has data for the last day in this graph but because of the current behaviour the data is not only displayed for the current day but also for a previous day instead of going to zero as I would have expected.
As previously mentioned in #1056 this will self heal in a week, just leaving it here for reference in case this gets handled in the future.
Anything new on this? Thanks