Open bwduncan opened 1 month ago
I experience the same. My charts also lost their colors:
Same here, adding another screenshot, sorry I'm on mobile.
And just to confirm, reverting to version v2.0.4 fixes the issue and colours are shown according to the thresholds again. v2.1.0 and (unsurprisingly) v2.1.1 both have the bug. I've looked at the changelog for v2.1.0 and can't see any obvious commits that would be worth me looking more closely at.
Sorry I'm not a js person so that's the extent of my debugging ability!
btw: only column-charts are affected. When you use "type: line" color_threshold is working.
+1 on this issue for column charts.
+1
same issue here according to this comment on the HA forum it seems that a gray border has been added to the bars and covers the original color.
Checklist
Describe the bug Experimental color_threshold is not being rendered, graphs just come out grey.
Version of the card Version: 2.1.2
To Reproduce This is the configuration I used:
Screenshots![image](https://github.com/RomRider/apexcharts-card/assets/469548/3ab7e3f1-1e8b-4ec0-94c6-3d332e492048)
Expected behavior Until this week, when I upgraded to HA 2024.7.2 and apexcharts v2.1.2 the columns were coloured according to the thresholds, now they are all grey.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context The headers appear to be coloured correctly as the entity state changes over the day, but the chart remains grey.