Docs / Area charts

Streamgraph

Pro

A flowing stacked area displaced around a central baseline (themeRiver).

Illustration — rendered output uses live data.

Example

blade
<chart:streamgraph
    :series="[
        ['name' => 'Pop', 'data' => [3, 5, 8, 6, 9]],
        ['name' => 'Rock', 'data' => [6, 4, 7, 9, 5]],
    ]"
    :categories="['2019', '2020', '2021', '2022', '2023']"
/>

Props

Prop Type Default Description
series array [] Series objects ([name, data]).
categories array [] Labels for the axis.

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