-
Notifications
You must be signed in to change notification settings - Fork 464
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
Wrong dataIndex returned from click listener #324
Labels
Comments
Seems to work fine, do you have a reproducable sample? |
Hello, Lauren from Red Maple Tech. I can no longer reproduce this issue. We are running the latest version. Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
click
listener regularly (but not always) returns the wrong value for thectx.dataIndex
when being used with a radar diagram. Sometimes it will return 0 when a different data point has been clicked on.I have managed to fix this bug for my application by using the
enter
listener to get thedataIndex
, which consistently returns the correct dataIndex.I'm using v2.0.0 with chart.js 3.6.0 and vue 2.6.14.
The text was updated successfully, but these errors were encountered: