StackedBarChart

fun StackedBarChart(stackBarData: ComposeList<StackBarData>, modifier: Modifier = Modifier, axisConfig: AxisConfig = ChartDefaults.axisConfigDefaults(), padding: Dp = 16.dp, spacing: Dp = 4.dp, textLabelTextConfig: ChartyLabelTextConfig = ChartDefaults.defaultTextLabelConfig())

Composable function that renders a stacked bar chart.

Parameters

stackBarData

The collection of stack bar data.

modifier

The modifier for the chart.

axisConfig

The configuration for the chart axes.

padding

The padding around the chart.

spacing

The spacing between stack bars.

textLabelTextConfig

The configuration for the text labels in the chart.