Toggle Sidebar B
header.lightDarkMode D

Chart Composed

Composed charts overlay more than one geometry on the same axes. ChartComposed draws a filled area behind a line, useful for forecast or target zones.

Forecast

A striped area zone behind a natural line, with a legend.

API Reference

Props, events, and slots for each sub-component.

ChartComposed

Props

PropTypeDefaultDescription
dataRecord<string, any>[]Series rows.
configChartConfigMap of key → { label, color }.
xKeystring"month"Row key for the category axis.
areaKeystring"area"Row key plotted as the filled area.
lineKeystring"value"Row key plotted as the line.
areaFillstring"var(--chart-1)"Area fill (often a url(#pattern)).
svgDefsstringnullRaw SVG <defs> string (patterns/gradients).
curveTypestring"natural"Curve interpolation.
legendbooleanfalseRender a legend below the chart.