AreaChart

fun AreaChart(areaData: ComposeList<AreaData>, modifier: Modifier = Modifier, axisConfig: AxisConfig = ChartDefaults.axisConfigDefaults(), padding: Dp = 16.dp)

A composable function that displays an area chart based on the provided area data.

Parameters

areaData

The collection of area data containing labels and points that define the areas on the chart.

modifier

Modifier for applying styling and positioning to the chart.

axisConfig

Configuration for the chart axes, including color and stroke width.

padding

Padding around the chart content to create spacing.