Skip to content

Tooltip stuck on first data element when first series is hidden (Combo) #2744

@nikolaifischer

Description

@nikolaifischer

Description

On Combo Charts the Tooltip is stuck on the first column when the first series is hidden. This only happens on the first series and when the chart.type === 'line'. With chart.type ==='bar' it works correctly

Steps to Reproduce

  1. Hide the first series by clicking on the series in the legend
  2. Hover over any column

Expected Behavior

  • Tooltip should display the information for the column that is hovered

Actual Behavior

  • Tooltip is "stuck" on the first point (in this case Dec)
  • Only happens on first series, if a different series is hidden it works fine

Screenshots

image

Reproduction Link

https://codepen.io/nikolaifischer/pen/wvqPXgd

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingverified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions