I am having a problem with mini-graph-card inside vertical-stack.
If a card contains only mini-graph-card then the graph is displayed.
If a card contains a vertical-stack with mini-graph-card then the graph SOMETIMES is NOT displayed.
When I open a view containing the card, the graph is not displayed.
When I refresh the browser’s page (F5) - the graph still is not displayed.
Sometimes after 1…5 minutes (by the way, the sensor is updated every 1 minute).
In “dashboard edit” mode - but sometimes in the “edit window” the graph again is NOT displayed.
Look, there is “update_interval: 60” in the card.
In case of “update_interval: 0” the graph is displayed.
I thought that “initially” (after F5 or opening the page) the graph does not have data since these data will be ready after 1 minute. But the graph DOES SHOW current value. And all problems take place only in vertical-stack.
Initially I wanted to use update_interval = 0 - in this case the graph seems to be more “real-time”:
the sensor is actually updating about every 30 sec (I think so, not sure);
but I do not need to check the sensor so often - 1 minute is quite enough.
That is why I decided to use update_interval = 60.
OK, now I specify update_interval = 0 because of the vertical-stack issue.
There is one more issue in case of update_interval = 0.
Please compare two graphs.
All graphs are inside vertical-stack but I hope it does not matter.
The graphs on the left are with update_interval = 60, on the right - with update_interval = 0.
The graphs on the top are earlier, on the bottom - later.
Look, left graphs have same curve, right graphs are changing.
Update 25.03.23: since the actual update frequency of the sensor is 2 times bigger that the “points_per_hour” - then the curve is changing, and every 2nd time is “looks” like a real curve. To get precise data - always set “points_per_hour” at least equal (or even bigger) to the real update frequency.
I wonder why I see not-rounded values in the graph.
Are these actual values in the selected points on the graph, or is it just an approximation?
Update 25.03.23: yes, these non-rounded values are shown due to approximation. Values displayed on the graph may NOT be actually read from a sensor - depends on how “points_per_hour” is set comparing to the “real update frequency” of this sensor.
Hello, thank you for your job) I have a question: is it possible to show states from all graphs at some time point under the mouse cursor ? now it show only state of that graph where my cursor is located, but i have few graphs on one card and want to see all states at that moment or period…
And the same about current states, is it possible to show all current states?
Is it possible to use a different color depending on the hours in the bar graph?
E.g. use blu for 00:00-08:00, red for 0.8-18:00, green for 18:00-00:00
Greetings all… learned so much from this thread… thanks to everyone’s contribution.
Quick question… does anyone know if it’s possible to have a separate set of “color_thresholds” for “secondary Y-axis”? I’m created a speedtest card and wanted seperate color_thresholds for “download speed”(100Mb/s) and “upload speed” (50Mb/s). Thanks
I’m experimenting a strange issue since the upgrade to Core 0.116.4 (from 0.115.x) and python 3.8.6.
If I start HA with my custom dashboard or I refresh it, two custom mini graph cards simply do not appear.
If I change view with anything else (e.g. settings or default auto dashboard) and then I return to my custom dashboard, the two cards appear regularly; then if I refresh the dasboard page the cards disappear again.
This behaviour occurs either in a PC with google chrome or with the android app.
HA 0.116.4 Core on a Raspbian Buster RPi 3/ Python 3.8.6.
The issue does not occur with two other custom mini graph cards stacked together horizontally (type: horizontal-stack).
I’m experiencing the same thing. First time when I open the page, it doesn’t show the mini graph cards. When I do a reload, it does show the mini graph cards.
This is caused by the layout card. There is an issue on GitHub abou it. If you make the view, not the default one, it will work like a charm. I do believe this will be fixed in the next version of HA.
using the (bar) graph to display the water usage of the last 3 days. Is there a possibility to put the value above each of the bars, so without the need to touch/hover them ?
Wrong icon displayed in case of “state_map” use.
There is a binary sensor of “connectivity” device_class.
I am using a “state_map” to display a graph for this sensor.
A wrong icon (for temperature) is displayed for the sensor: