Yevgenium/weather-chart-card

Options undefined

Closed this issue · 8 comments

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

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"

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

image

image

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

Thank you @greendog99!

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

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

I have no issues on HA 2023.1...