Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement hovertemplate for Sankey traces #3269

Closed
OliBravo opened this issue Nov 20, 2018 · 3 comments
Closed

implement hovertemplate for Sankey traces #3269

OliBravo opened this issue Nov 20, 2018 · 3 comments
Assignees
Labels
feature something new

Comments

@OliBravo
Copy link

OliBravo commented Nov 20, 2018

Custom HTML code for both links and nodes.

@antoinerg antoinerg changed the title [sankey] allow custom HTML code in hoverinfo implement hovertemplate for Sankey traces Nov 20, 2018
@antoinerg antoinerg added the feature something new label Nov 20, 2018
@antoinerg
Copy link
Contributor

By adding support for hovertemplate to Sankey traces, we would have support for formatting with HTML pseudo-code and access to the different variables of interest to completely control the content of hover boxes.

See PR #3126 for details on hovertemplate

@alexcjohnson
Copy link
Collaborator

There's also #1663

BTW I notice pseudo-HTML is currently honored (in its current limited way) in sankey hover labels but not the node labels:
screen shot 2018-11-20 at 7 04 38 pm

@antoinerg antoinerg self-assigned this Nov 21, 2018
@antoinerg
Copy link
Contributor

Nice catch @alexcjohnson !

Actually the pseudo-html works in hover labels but not on the node labels that are always displayed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new
Projects
None yet
Development

No branches or pull requests

3 participants