Skip to content

[Bug] If selected series has null value, the tooltip doesn't show with showTip dispatchAction #20773

@petercsaki

Description

@petercsaki

Version

5.6.0

Link to Minimal Reproduction

https://codepen.io/petercsaki/pen/jEOWgre?editors=0010

Steps to Reproduce

  1. Create a chart with multiple series, where one has null values. Enable tooltips for it.
  2. Trigger the tooltip with dispatchAction showTip, with the seriesIndex pointing to the series that has null value.

Current Behavior

The tooltip doesn't show at all.

Expected Behavior

The tooltip should show.

Environment

- OS: any
- Browser: any
- Framework: none

Any additional comments?

When the selected series has a non null value, the tooltip shows, even if other series have nulls.
The same problem was fixed in 5.3 for the normal, hover over tooltips. #15757 The event driven tooltip was not fixed back then.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions