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

Tooltip not disappearing on null values #4790

Open
rozxter1 opened this issue Nov 5, 2024 · 0 comments
Open

Tooltip not disappearing on null values #4790

rozxter1 opened this issue Nov 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rozxter1
Copy link

rozxter1 commented Nov 5, 2024

Description

Tooltip is not hidden over null values in single series line chart. might be because of tooltip.shared:false, setting this to true - shows empty tooltip

 tooltip: {
      shared: false,
  }

Steps to Reproduce

  1. Move cursor to areas where null values - tooltip will be displayed over last point
  2. Move cursor outside of chart from left or right side and enter in opposite side - tooltip will be displayed where it was last seen

Expected Behavior

Hide tooltip if there is null value. Dont show last tooltip on mouse enter into chart on empty area

Actual Behavior

Tooltip is displayed wrong and not dissapearing when needed and appearing when not needed

Screenshots

stuck tooltip

Reproduction Link

https://codepen.io/tzioo/pen/RwXYPeG

@rozxter1 rozxter1 added the bug Something isn't working label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant