HierarchyTable
Loading example…
Hidden table: every node below the root with its value and share of the total.
Import
Section titled “Import”import { HierarchyTable } from "@jcsoftdev/ui/charts";Single-component entry points tree-shake to just this component: @jcsoftdev/ui/charts/core.
<HierarchyTable root={root} caption="Servicios por sede y barbero" labels={labels}/>| Prop | Type | Default | Description |
|---|---|---|---|
root * |
HierarchyNode |
||
caption * |
string |
||
format * |
ValueFormatter |
||
labels * |
HierarchyLabels |
* marks a required prop.
Storybook stories
Section titled “Storybook stories”Source
Section titled “Source”packages/ui/src/charts/core/hierarchy-chart.tsx