Charts
TwDendrogramChart
TwDendrogramChart is a Blazor dendrogram: a tree drawn from its root down to its leaves with a bracket joining every branch to its parent.
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
TwDendrogramChart draws a tree of ChartHierarchyNode values from the root at the top to the leaves along the bottom. Leaves are named on the axis under the plot, and branches are named beside the point where they split.Uneven depth
Leaves line up along the bottom whatever their depth, so a branch that splits again and again is easy to compare with one that ends early. This is the usual way to draw a classification.
Values
Give leaves a
Value and every branch shows the total of the leaves beneath it in its tooltip and in the table view.Several roots
Pass more than one root to draw separate trees side by side.
When to use
Use a dendrogram to show how items group into clusters, when the structure matters more than the sizes. To compare sizes use TwSunburstChart or TwConvexTreemapChart.
Summary
Tooltips and the table view give the path and the value of each node. The arrow keys visit the nodes from the root down, a branch before its children.