Tree
ProRender hierarchical data as an expandable node tree.
Example
blade
<chart:tree
:data="['name' => 'root', 'children' => [
['name' => 'A', 'children' => [['name' => 'A1'], ['name' => 'A2']]],
['name' => 'B'],
]]"
/>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| data | array | [] | A nested [name, children] hierarchy. |
Plus the common props (height, theme, model, class).
This is a Pro component
Unlock it and every other Pro chart with a one-time license.
Get WireCharts Pro