Chart
Treemap
Web supportediOS supportedAndroid supported
Pack hierarchical values into a rectangle.
Chart
Pack hierarchical values into a rectangle.
Use it when compact use of space matters more than hierarchy depth.
Keys accepted inside zyplot(z => ({...})). Required keys are marked with an asterisk.
| Name | Type | Default | Description |
|---|---|---|---|
nodes* | ChartHierarchyNode[] | — | Hierarchy on web. |
data* | ChartHierarchyNode[] | — | Hierarchy on iOS and Android. |
format | ChartNumberFormat | — | Number prefix, suffix, decimals, and locale. |
height | number | 240 web / 320 native | Chart height in pixels or native points. |
isLoading | boolean | false | Shows the built-in placeholder while data loads. |
theme | ChartTheme | — | Colors and typography for this chart. |