-
Notifications
You must be signed in to change notification settings - Fork 87
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
Cannot read properties of undefined (reading 'enabled') at Object.afterDraw #119
Comments
I'm getting the same issue |
Any updates on this?? I'm getting this exact same error. |
Any updates on this? I'm getting this exact same error. |
Unfortunately the same issue here as well. |
I got the same error with the plugin version 2.0.1 and chart.js 4 using Angular. So in the afterDraw function the access on the variable chart.crosshair.enabled failed. My quick fix is not beautiful, but it helped me and hope some of you guys too:
The trick is to override this function and make the check here. |
worked as a charm. Thank you |
Hi, I'm using this plugin (version 1.2.0) in a Next13 project with Turbo and ChartJS version 4.2.1, I am getting this error when working with Line charts:
This is my component implementation:
This is the entire stack trace:
The text was updated successfully, but these errors were encountered: