-
Notifications
You must be signed in to change notification settings - Fork 32
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
TypeError: Cannot read property 'getContext' of undefined #4
Comments
I got a similar problem - Initial warning is
and later the same getContext error because of the missing ref
|
I had this error, and resolved it by removing the empty tag from my component file. It only needs the <script> portion. This is explained in the docs for the Vue2 version: https://github.com/apertureless/vue-chartjs/
|
I switched to this fork and all seems to work pok:
|
In case it helps others, I upgraded to Vue |
Hello, I'm facing an issue that i cannot render my chart in vue3, the Error is
TypeError: Cannot read property 'getContext' of undefined at Proxy.renderChart (BaseChart.tsx?b4f3:124)
. Which is thrown in BaseChart.tsx line 124The text was updated successfully, but these errors were encountered: