Charts
TwSankeyChart
TwSankeyChart is a Blazor Sankey diagram: nodes in columns joined by ribbons as thick as the flow between them.
Last updated
Please be aware this component is new, may have bugs and/or be subject to change. Please report any bugs at
https://github.com/twblazor/twblazor/issues.
Basic usage
TwSankeyChart arranges ChartGraphNode values in columns and joins them with a ribbon for every ChartGraphLink, as thick as its value. A node sits to the right of every node that flows into it, and is as tall as what flows through it. Links refer to nodes by Id.Several stages
Columns are worked out from the links, so a longer chain simply adds columns. This budget splits income into categories and then into line items, with everything it does not spend flowing to savings.
Setting the column
A node with nothing flowing into it starts in the first column. Set its
Stage to move it further right, as with the visitors who join this funnel at the basket from a saved link.When to use
Use a Sankey diagram to show how a quantity divides and recombines as it moves through stages. Links without a positive value are left out.
Summary
Tooltips and the table view give the source, target and value of each link. Tooltips also give the total of each node. The arrow keys visit the nodes first, then the links.