-
Notifications
You must be signed in to change notification settings - Fork 576
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
Toggle Tooltip dynamically #1329
Comments
@santam85 is there a way t update the ChartConfiguration and update without rerendering the charts? |
You can call the
|
@santam85 this doesn't work for me unfortunately. |
Probably the tooltip plugin implementation does not check the value again after rendering. Maybe you could use the callbacks and prevents tooltip to show that way: https://www.chartjs.org/docs/latest/configuration/tooltip.html#tooltip-callbacks |
Reproduction of the problem
Hi,
I am using the "ng2-charts": "^3.0.0-rc.4" and "chart.js": "^3.5.0". I want to enable or disable the tooltip dynamically. This are my configurations:
Then I am using it like this right now:
Is there a cleaner way to do it?
The text was updated successfully, but these errors were encountered: