Area Chart
Visualize volume and cumulative data with filled areas beneath lines.
Usage
Config Reference
| Property | Type | Default | Description |
|---|---|---|---|
series | { name: string; data: number[] }[] | required | Array of data series |
xAxis | { categories: string[] } | required | Category labels for the X axis |
stacked | boolean | false | Stack areas on top of each other |
stroke | { curve?: 'smooth' | 'straight'; width?: number } | { curve: 'smooth', width: 2 } | Line interpolation and width |
fillOpacity | number | 0.3 | Opacity of the filled area (0 to 1) |