MeldUI

Area Chart

Visualize volume and cumulative data with filled areas beneath lines.

Usage

Config Reference

PropertyTypeDefaultDescription
series{ name: string; data: number[] }[]requiredArray of data series
xAxis{ categories: string[] }requiredCategory labels for the X axis
stackedbooleanfalseStack areas on top of each other
stroke{ curve?: 'smooth' | 'straight'; width?: number }{ curve: 'smooth', width: 2 }Line interpolation and width
fillOpacitynumber0.3Opacity of the filled area (0 to 1)