-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Request] Allow customdata
attribute to be accessed by hovertemplate
using sankey
,
#4243
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
Comments
Right, the problem here is: should we assume So perhaps, we could expose two This ticket is essentially equivalent to #2504 |
This proposal makes a whole lot of sense. 👍 |
Can you confirm that it is not possible to iterate through the |
Unfortunately, at the moment, it is not possible to iterate through the |
Thank you @antoinerg. I don't know how urgent this is for @matthewchan15, but there have been several requests on the forum in order to use |
If it's not a complicated feature to implement it'd be great to have. This issue has come up for myself as a Dash/Plotly user many times, for users in the community forums (https://community.plot.ly/t/sankey-diagram-customize-tooltip/11487), users at a workshop I gave (for a paying customer - this issue), and now as a feature addition to a POC we're trying to present to sway a client to get DE (https://github.com/plotly/dash-customer-success/issues/248). I'd say it's urgent in the sense that it could be useful for all the above reasons. But it's not urgent in the sense that no one is paying for it. Up to you @antoinerg. |
I am/was giving a workshop to an enterprise customer where they want the ability/flexibility to be able to pass in multiple sets of external metadata to
customdata
, that can be than used byhovertemplate
for thesankey
graph.We tried using
customdata
from the top leveldata
property, but were not able to access it. Currentlyhovertemplate
can only access whatever is within it's scope, e.gnode
orlink
. And, it can only take in one data set (list
data structure). This could be helpful for other graph types as well.CC: @alb-erandelcastillo
The text was updated successfully, but these errors were encountered: