KAreaChart
fun KAreaChart(item: ChartRegistryItem, gradient: Boolean = false, stacked: Boolean = false, expandToFull: Boolean = false, curveType: CurveType = CurveType.NATURAL, showGridLines: Boolean = true, modifier: Modifier = Modifier)(source)
A fully-themed area chart that mirrors the shadcn <AreaChart> component.
Parameters
item
The ChartRegistryItem to render.
gradient
When true, fills use an 80 %→10 % opacity gradient (chart-area-gradient). When false, flat 40 % alpha fill is used (chart-area-default).
stacked
When true, series are stacked vertically (chart-area-stacked).
expandToFull
When true AND stacked, each series is normalised to fill the full height (chart-area-stacked-expand).
curveType
Controls how data-points are connected.
showGridLines
Whether to draw horizontal grid lines.
modifier
Applied to the UniversalChartCard wrapper.