You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.
Sorry for not responding earlier, somehow I've missed these notifications.
In theory this would be no problem, and I'd love d3.chart.sankey to support this. I'd say that you could subclass one of the d3.chart.sankey classes and setup d3.tip. Some untested rough idea:
varMySankeyTip=Sankey.extend("Sankey.Tip",{initialize: function(){varchart=this;chart.tip=// make the tip stuff work}});
Cool! I wonder if this should be a separate Sankey class, since there is no clear chain of derivation. It might be better to just create the chart, and then attach d3.tip() to it - so I'm curious where you'll end up. In any case, this would be useful to add to the documentation and/or as an example.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is there way to use d3.tip with the
chart.on
if not then best way to add achart.tip
method simmilar to the one implemented here line 102 and 156Also, great plugin (the only decent of sankey) and really liked the hierarchical highlighting of edges in product demo.
The text was updated successfully, but these errors were encountered: