-
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
Click listener calls chart onClick function #219
Labels
Comments
@vasyl-shumskyi can you create a codepen that reproduces this behavior so it's easier for us to debug? |
Can be reproduced here: https://jsfiddle.net/simonbrunel/rws67nkp/9/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Click listener invokes two onclick events:
onClick
function.Does anyone know how to prevent chart onClick event if data-label has been clicked? For now, they are just called both.
I have added
event.stopPropagation()
to data-labels click function but it didn't workData Labels plugin config:
Chart configuration
The text was updated successfully, but these errors were encountered: