Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No colors in pie chart #1

Open
ioannispelelis opened this issue Aug 3, 2020 · 11 comments
Open

No colors in pie chart #1

ioannispelelis opened this issue Aug 3, 2020 · 11 comments

Comments

@ioannispelelis
Copy link

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
Copy link

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

@ioannispelelis
Copy link
Author

@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
Copy link

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
Copy link

Hello I have the same problem also on chrome and Edge

@ipa64
Copy link

ipa64 commented Dec 9, 2020

Same issue on Safari

@Jastroger
Copy link

+1

@RoadkillUK
Copy link

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

@apfelflo89
Copy link

apfelflo89 commented Aug 2, 2021

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
Copy link

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

@Spirituss
Copy link

Spirituss commented Mar 1, 2022

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
Copy link

bcutter commented Aug 21, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants