opinion
StackedLineChart
Lines that plot a running total, so each line sits on top of the ones before it.
Tasks done per weekCumulative by tag, 14 Sep to 19 Oct
In context
Delivery dashboardA card beside the area chart's totals
Output by tagEach line includes the ones below it
Last 6 weeksProps
| Prop | Type | Required | Default |
|---|---|---|---|
series | StackedLineChartSeries[] | Yes | — |
xLabels | string[] | Yes | — |
title | string | undefined | No | — |
ariaLabel | string | undefined | No | — |
height | number | undefined | No | 300 |
yFormat | ((v: number) => string) | undefined | No | (v: number) => Math.round(v).toLocaleString() |
labelStep | number | undefined | No | 1 |
filterable | boolean | undefined | No | — |
bionic | boolean | undefined | No | — |
bionicOptions | BionicOptions | undefined | No | — |
data-rebar-* attributes
data-rebar-component="stacked-line-chart" on the root <figure>; data-rebar-part="mark" on each point.
Migrating to Ant Design
Not codemod-covered — AntD ships no chart components of its own; a migration typically pre-computes the same cumulative sums and feeds them to whatever charting library's own line chart the target project uses.