DBa2016 / power-usage-card-regex

Lovelace pie chart card that displays current energy usage
8 stars 6 forks source link

No colors in pie chart #1

Open ioannispelelis opened 4 years ago

ioannispelelis commented 4 years ago

Hello. The pie chart i have has no colors most of the times. I tried to do a ctrl+F5 on my browser (Chrome) and it still wont load the colors (pies is all grey) I tried using also the default theme for HA but still shows grey. At some point when i am refreshing the color might appear for an instant but then will disappear again. See below two screenshots one wit the default theme and the other one with the Google Dark Theme powerusage pie default theme powerusage pie google dark theme

eerorossi commented 4 years ago

I noticed the same. Clearing browser cache solved the problem.

ioannispelelis commented 4 years ago

@eerorossi tried that and the issue is still there colors might appear but you put your mouse over them they might blink and dissappear... weird I am on Chrome what about you?

eerorossi commented 4 years ago

Ok, I re-checked this, and now clearing cache does not help:) I also tested with chrome, edge and firefox and all have the same issue. Hope the developer can fix this nice module.

Thomasdmm commented 4 years ago

Hello I have the same problem also on chrome and Edge

ipa64 commented 3 years ago

Same issue on Safari

Jastroger commented 3 years ago

+1

RoadkillUK commented 3 years ago

I've had this installed for a while and it's never shown any colour.

apfelflo89 commented 3 years ago

I´ve had the same issue, I looked for a workaround and for now it appears to help. I edited /config/www/community/power-usage-card-regex/power-usage-card-regex.js and changed the color scheme which is used to:

plugins: {colorschemes: { scheme: 'ClassicOrangeWhiteBlue11' } }

After a restart it looks like this again: Bildschirmfoto 2021-08-02 um 16 19 58

Spirituss commented 2 years ago

I face the same issue. Clearing browser cache works only till next page refresh. After it it becomes BW again.

Spirituss commented 2 years ago

I faced the same issue, I looked for a workaround and for now it appears to help. I edited /config/www/community/power-usage-card-regex/power-usage-card-regex.js and changed the color scheme which is used to:

plugins: {colorschemes: { scheme: 'ClassicOrangeWhiteBlue11' } }

After a restart it looks like this again: Bildschirmfoto 2021-08-02 um 16 19 58

This also doesn't work

bcutter commented 2 months ago

Well this integration was looking so good... after testing it for a few minutes I discovered this bug. Next to the fact that color is only shown in rare conditions, the pie chart is also zooming in/out wildly when moving over it with the mouse. Crazy.

grafik

grafik

Would be such a great integration - if it would basically work. Therefore removed.