-
Notifications
You must be signed in to change notification settings - Fork 378
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
Tooltip gets stuck after refresh data (updateWithOptions: true) #172
Comments
Having the same issue on discrete bar chart. Thanks for the workaround |
I was also able to reproduce this issue using the donut chart. I am using: |
Yup, same here. I am seeing this on the pie chart. |
Same here. Is there a fix expected? |
Same here... also removing them by hacking it. |
@miguelrincon thanks, your approach is correct. In the latest releases [1.0.3+] all it's fixed. |
Despite krispo#172 had been solved in case of changing data, bu it is stil happening when change options. Set the option useInteractiveGuideline true. After populate data, change the current options like tickFormat. This only happens with useInteractiveGuideline=true.
I am updating to 1.0.0-rc.2 with nvd3 1.8.1 an I am experiencing some problems with the tooltips.
My pie chart is refreshed every 10 seconds with new data from an ajax call, if I happen to to hover the chart so a tooltip is shown WHILE the refresh happens, the tooltip stays stuck in the same position and is never removed from the DOM.
In my setup
updateWithOptions
istrue
Since
nv.tooltip.cleanup
is removed from this version of nvd3, no cleanup happens on clearElement.I am able to make things work normally by forcibly removing the tooltip in the clearElement function like this:
Not sure if this is the right approach and also I hope not to have to hack this tool.
I am using angular v1.4.2 and I was not able to reproduce this issue on a lineChart.
The text was updated successfully, but these errors were encountered: