Skip to content

Axis-unified hover tooltips overlay data points #5889

@xenatisch

Description

@xenatisch

Synopsis

Axis-unified hover tooltips overlay data points, making it impossible to see graph content.

Current behaviour

When hovering over data points, specially in data that fluctuate, the tooltip is drawn over the visualisation, making it impossible to see the content. This is best deomonstrated as follows:
E8ifXpcWYAI0gFp

Expected behaviour

The expected behaviour would be something along these lines - albeit within the boundaries of the graph:
Screenshot 2021-08-12 at 23 28 34

Alternatively, it might be feasible to consider having a fixed location - e.g. midpoint of the axis - for the tooltip and get it to move around if the cursor position along the same axis is within the boundaries of the tooltip.

Reproduce

You can get data to reproduce this behaviour from the UK Coronavirus dashboard.


Plotly version: 2.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions