Skip to content
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

chart updates cause tooltips to disappear #5688

Closed
activedecay opened this issue Aug 14, 2018 · 2 comments
Closed

chart updates cause tooltips to disappear #5688

activedecay opened this issue Aug 14, 2018 · 2 comments

Comments

@activedecay
Copy link

https://stackoverflow.com/questions/51849320/chartjs-tooltips-disappear-when-calling-chart-update

I have the goal of showing a tooltip on a near real-time chart that is updating constantly.

Using the standard tooltips in the chartjs library, calling Chart.update() will destroy the tooltip.

In the example here, if the user is hovering the chart, and the graph is updated, the tooltip goes away.

Note: if I change the chartjs version to 2.5.0, there is no issue. It appears to be a bug in 2.7.2

How do I prevent this behavior?

@activedecay
Copy link
Author

2.7.0 works 2.7.1 is broken

@benmccann
Copy link
Contributor

Duplicate of #4991

@benmccann benmccann marked this as a duplicate of #4991 Aug 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants