Skip to content

Incorrect hover label for missing last value with hovermode x-unified and tickson=boundaries #7152

Description

@stephprobst

In this codepen the hover label for the last x axis value is incorrect. It displays "AC" in the hover, even though the correct value should be "Other".

image

The problem seems to be related to the missing last value (null) in the line trace. If that value is present, the hover labels work correctly.

The problem disappears when changing the width of the chart or reducing the number of data points.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogbugsomething broken

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions