Graphs not rendering when card is placed within vertical- or horizontal-stack cards.
See original GitHub issueHi!
I’ve come across the bug that’s pretty annoying and I’m out of ideas how to fix it. I have an issue with rendering the graphs when mini-graph-card is being placed in either vertical-stack or horizontal-stack. It’s behaving exactly the same way on Safari and within the iOS app. I tried clearing the cache, restarting HA and others, but with no success… It’s worth to mention that I do not experience the above issue when graphs are not stacked with other cards. The strange part is that it renders correctly after switching to another tab (lovelace view) and going back to the one with graphs.
Here are the steps to reproduce it on my setup:
- Reload the page.
- See that there are no graphs.
- Switch views back-and-forth
- Graphs are visible.
My code:
cards:
- animate: false
cache: true
decimals: 1
entities:
- color: '#0a84ff'
entity: sensor.garaz_front_temperature
index: 0
show_fill: false
show_indicator: false
show_state: true
- color: '#30d158'
entity: sensor.salon_temperature
index: 1
show_fill: false
show_indicator: false
show_state: true
font_size: 75
font_size_header: 14
hour24: true
hours_to_show: 6
line_width: 9
name: Temperatura
points_per_hour: 2
show:
icon: true
labels: false
legend: false
type: 'custom:mini-graph-card'
update_interval: 300
- animate: false
decimals: 1
entities:
- color: '#0a84ff'
entity: sensor.garaz_front_humidity
index: 0
show_fill: false
show_indicator: false
show_state: true
- color: '#30d158'
entity: sensor.salon_humidity
index: 1
show_fill: false
show_indicator: false
show_state: true
font_size: 75
font_size_header: 14
hour24: true
hours_to_show: 6
line_width: 9
name: Wilgotność
points_per_hour: 2
show:
icon: true
labels: false
legend: false
type: 'custom:mini-graph-card'
update_interval: 300
type: horizontal-stack
Thanks!
PS I’m running the latest version of HA and mini-graph-card.
Issue Analytics
- State:
- Created 3 years ago
- Comments:28 (6 by maintainers)
Top Results From Across the Web
Graphs not rendering when card is placed within vertical- or ...
Graphs not rendering when card is placed within vertical- or horizontal -stack cards. ... Hi! I've come across the bug that's pretty annoying...
Read more >Drop-in replacement for vertical-stack-in-card - #186 by ...
So you have ONE vertical-stack, that places all cards inside it under another. Then inside that, you place horizontal-stacks, containing cards ...
Read more >Digital Cards showing vertical instead if horizontal
I'm trying to get the cards below to show up horizontally but they keep showing vertically. I have no idea how to change...
Read more >Untitled
Now, each Glance card is set up to not show the name or the state and also to ... I thought by using...
Read more >Approximating Limit Values from a Graph - AP Central
Recognize limit statements that correspond to vertical and horizontal ... pre-cut cards separated into three stacks: 8 graph cards, 8 limit cards, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That helped! Thanks 😃
Possibly related with https://github.com/kalkih/mini-graph-card/issues/358, fixed with https://github.com/kalkih/mini-graph-card/pull/359, will be fixed with the next HA version or the next version of this card, whichever comes first.