chart
Interactive data visualizations powered by Chart.js.
Attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
type | bar | line | pie | doughnut | radar | polarArea | scatter | bar | Chart type. |
title | string | - | Chart title displayed above the visualization. |
label | string | - | Descriptive legend text below the chart. |
labels | string | - | Comma-separated axis or segment labels. |
stacked | boolean | false | Stack bars or lines (bar/line only). |
height | number | - | Fixed height in pixels (overrides aspect ratio). |
Child: series
| Attribute | Type | Required | Description |
|---|---|---|---|
name | string | no | Dataset label shown in the legend. |
values | string | yes | Comma-separated numeric values. |
fill | boolean | no | Fill area under the line (line charts only). |
When no series children are provided, placeholder data is generated automatically.