Components
chart
Chart placeholder.
Note: Chart is currently a placeholder component. All chart types render as a generic placeholder image. The
:typeproperty exists for semantic purposes but does not change the rendered output.
A placeholder for charts and data visualizations.
Usage
Chart Types
Properties
accepts contentaccepts children
Sizing
| Property | Type | Default |
|---|---|---|
:full | flag | - |
:fit | flag | - |
:fill | flag | - |
Spacing
| Property | Type | Default |
|---|---|---|
:gap | number | 0 |
:padding | number | 0 |
Dimensions
| Property | Type | Default |
|---|---|---|
:width | any | - |
:height | any | - |
Input
| Property | Type | Default |
|---|---|---|
:type | symbol | - |
Chart Types
| Type | Description |
|---|---|
bar | Bar chart |
line | Line chart |
pie | Pie chart |
area | Area chart |