Skip to content

HierarchyTable

Open .md
Live preview

Loading example…

Hidden table: every node below the root with its value and share of the total.

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.

packages/ui/src/charts/core/hierarchy-chart.tsx