Skip to main content

Stacked Area Chart

Type: stacked-area-chart

Stacked area chart driven by DuckDB SQL query.

Supports children: No

A stacked area chart powered by DuckDB SQL. Query should return label, series, and value.

Example

{
"type": "stacked-area-chart",
"props": {
"sql": "SELECT month AS label, revenue AS value, category AS series FROM {{sales}} ORDER BY 1",
"title": "Revenue by Category"
}
}

Every widget is defined as { "type": "stacked-area-chart", "props": { ... } }. The properties below describe the props object.

Props

Loading ....

Raw schema

Download the full schema file: /widget-schema/stacked-area-chart.json