question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

unified hoverlabels

See original GitHub issue

We need a new hovermode like xunified/yunified that would produce a single hoverlabel that would contain info about all the points at a given x/y … similar to hovermode=x but with a single hover. Like this:

image

Other libraries which implement this include eCharts (ignore the “follow-me” aspect here, it’s not in-scope for this issue and it’s discussed here #3899 ) https://www.echartsjs.com/examples/en/editor.html?c=line-stack and https://www.fusioncharts.com/ (scroll down a bit)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
nicolaskruchtencommented, Feb 25, 2020

Ordering: let’s make that a parameter, default to legend order. Positioning: median of the range in the Y dimension, and same X position as our current ones (in “unified x” mode)

0reactions
antoinergcommented, Feb 25, 2020

Also, I can’t remember what decision was made about the positioning of the unified hover label. Where should it be positioned?

cc @nicolaskruchten

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hover text and formatting in Python - Plotly
Hover label text and colors default to trace colors in hover modes other than unified , and can be globally set via the...
Read more >
how to change order of R plotly hover labels with "x unified ...
Two answers: the ordering of traces in the unified hoverlabel is always the same, regardless of the relative Y values of the traces....
Read more >
Nicolas Kruchten on Twitter: "New feature: unified hover labels ...
New feature: unified hover labels! ... New feature: px.imshow has customizable labels, and automatically reads them from.
Read more >
x-unified hover tooltips overflow #5721 - plotly/plotly.js - GitHub
Synopsis The hover tooltips in x-unified mode exceed max-width and therefore overflow. This happens when: the chart is small and close to ...
Read more >
Hover Text and Formatting in Python-Plotly - GeeksforGeeks
Example 2: x unified. If layout.hovermode='x' , a single hover label appears per trace, for points at the same x value as the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found