Charts
TwConvexTreemapChart
TwConvexTreemapChart is a Blazor treemap for trees: cut-cornered tiles sized by value and grouped with the other leaves of their 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
TwConvexTreemapChart takes a tree of ChartHierarchyNode values and fills the plot with a tile for every leaf, sized by its Value. The leaves of one parent sit together and share its color, with a gap around the group.- Product
- Operations
Many leaves
Tiles are laid out largest first and kept close to square, so a long tail of small values stays readable. Tiles with room show their name; every tile has a tooltip.
- Framework
- Interface
- Application
Three levels
Groups nest inside groups. Each level is inset a little further, and the tooltip and table view give a leaf's full path so two leaves with the same name stay distinct.
- Europe
- Americas
- Asia Pacific
When to use
Use a convex treemap to compare the leaves of a tree by size. Nodes with no value are left out. For a single flat list of values, TwTreemapChart does the same job without the grouping.
Summary
Tooltips and the table view give the path and the value of each leaf. Tooltips also give its share of the whole.