-
Notifications
You must be signed in to change notification settings - Fork 345
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
How to know the source of a linked tooltip trigger #3267
Comments
I don't know the way to know which chart is hovered. |
I made an example to determine the instance were triggered the event. (open the devtool and checkout the console log) tooltip: {
linked: true,
contents: function() {
if (this === currentInstance) {
// within this block, means from the current instance triggered the event
}
}
}, |
I see.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Hey guys,
I have two charts with linked tooltips. Is there a way to know which of the charts is the source of the tooltip trigger?
PS: Both charts tooltips are customized using the
tooltip.content
option.The text was updated successfully, but these errors were encountered: