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.

Sankey hoverinfo options not honored

See original GitHub issue

As of right now, Sankey traces ignore all hoverinfo options except for ‘none’ and ‘skip’.

https://codepen.io/anon/pen/xyrXXm

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
antoinergcommented, Oct 12, 2018

I wrote my last comment a bit too fast. We already have node and link attributes so I should just use them 🤔

1reaction
alexcjohnsoncommented, Oct 12, 2018

That makes sense. I guess we could also have the upcoming templates on hover be split into node.hovertemplate and link.hovertemplate 🤔

Yes, I think those had better be separate too.

@antoinerg and I had a discussion about how to handle this for other types that support hoveron or otherwise have multiple classes of hoverable items - like scatter, how would we specify separate point and fill (and eventually line) hover templates (or separate hoverinfo and hoverlabel style)? Tentative conclusion was that trace.hover(info|template|label) should apply only to points, we should make a new container trace.fills.hover(info|template|label) for fill hover (and perhaps at least hoverlabel would be inherited from trace.hoverlabel) and when we get around to line hover we can add those to the existing line container, ie trace.line.hover(info|template|label). Any other ideas?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using hoverinfo and hovertemplate in sankey diagram
I am trying to add some hover data to each node in a Sankey Diagram, I have tried both hoverinfo and hovertemplate but...
Read more >
Custom hoverinfo text on plotly R chart that is different to the ...
I would like to visualize a custom hoverinfo text that is different from the text label defined for the markers (or nodes in...
Read more >
plotly.js-gl2d-dist-min | Yarn - Package Manager
... options so that they point to the d3-time-format v2.2.3 applied not the ... traces with not-found country names [#1046]; Honor 'name' hoverinfo...
Read more >
Plotly Tutorial for Everyone | Kaggle
Plotly provides a wide range of interactive plotting options and is one of the ... dict(width = 1)) ) # trace1 will capture...
Read more >
plotly.graph_objects.Sankey — 5.11.0 documentation
Note that this attribute is superseded by node.hoverinfo and node.hoverinfo for nodes and ... Should be an array of strings, not numbers or...
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