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

[Bug]: error during Vue render: mounted hook undefined is not an object (evaluating 't.labels') #1101

Open
1 task
TylerWanta opened this issue Jul 8, 2024 · 0 comments

Comments

@TylerWanta
Copy link

TylerWanta commented Jul 8, 2024

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

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

No branches or pull requests

2 participants