-
Notifications
You must be signed in to change notification settings - Fork 346
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 disappears on chart update #3305
Comments
Hi @CmShepard, from the example you provided, it seems reasonable maintain tooltip display and update its contents when data is updated. But, the dynamic data loads not always done maintaining same x Axis values. For example, when the loaded data can have different x Axis intervals and the current mouse position have to reflect corresponding x Axis updated. And there will be several more cases which need to be handle to make tooltip not disappear. I'm not sure if this needed to be updated for now. I'll be considering how to handle in this scenario. Anyway, thanks for the report. |
Hi @netil, thank you for your answer! Sure it makes sense. It would be great to have maybe some sort of boolean flag For your understanding, my usecase is the chart with fixed timescale x-axis, where real-time data is updated every second. Tooltip hides even if the "old" value is hovered. That makes tooltip practically unusable in my case. |
- Enhance tooltip update dynamically on redraws - refactoring on handling events - Improve .tooltip.show() param to accept 'id' for Arc types Ref naver#3305
Description
Tooltip disappears on chart load with updated data.
Steps to check or reproduce
https://jsfiddle.net/bqm9skv7/7/
It seems that it is a regression, in the version 3.6.0 the bug was not present.
The text was updated successfully, but these errors were encountered: