-
-
Notifications
You must be signed in to change notification settings - Fork 831
Open
Labels
Description
Would you like to work on a fix?
- Check this if you would like to implement a PR, we are more than happy to help you go through the process.
Current and expected behavior
Error happens when using vue-chartjs on safari 11 or 12. The chart does not load.
TypeError: Error during Vue render: mounted hook
undefined is not an object (evaluating 't.labels')
(anonymous function) utils.ts:96
(anonymous function) chart.ts:37
qt vue.global.js:1688
Yt vue.global.js:1697
__weh vue.global.js:4171
yn vue.global.js:1883
_n vue.global.js:1927
promiseReactionJob
Looks like data is undefined when deconstructing props here
Data is still defined when combining props here
Other areas using just vue are working fine.
Expected behavior:
I expect the chart to work as normal. Everything works fine on safari 13+
Reproduction
Use vue-chartjs on safari 11 or 12
chart.js version
^4.1.1
vue-chartjs version
5.3.0
Possible solution
No response