Yevgenium / weather-chart-card

Custom weather card with charts
MIT License
274 stars 80 forks source link

Options undefined #117

Closed Firesphere closed 9 months ago

Firesphere commented 1 year ago

As of late, I'm getting the following error persistently:

weather-chart-card.js:4100:16 TypeError: can't access property "borderSkipped", options is undefined

Firesphere commented 1 year ago

This happens at multiple places, where the options from this are undefined, it seems that some data isn't properly copied over?

I also get an error that the namespace fails:

lineNumber: 6883
​
message: ""
​
name: "NS_ERROR_FAILURE"
selfish commented 1 year ago

I'm getting a similar thing, and the chart goes blank:

image image
greendog99 commented 1 year ago

I updated the version of chart.js from 3.5.1 to 3.9.1 in the weather-chart-card and now it renders correctly in Firefox. I've submitted a pull request, but in the meantime you can get my fixed version at https://github.com/greendog99/weather-chart-card/releases

selfish commented 1 year ago

Thank you @greendog99!

Flox-Muc commented 1 year ago

Thank you @greendog99 also from my side! I love this card and I'm really happy that it works again.

Firesphere commented 1 year ago

Cheers @greendog99 !

override80 commented 1 year ago

Today I upgraded to 2023.1 and I'm having the same problem :/

Firesphere commented 1 year ago

I have no issues on HA 2023.1...