Stacked Bar Chart
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
stack Bar Data
The collection of stack bar data.
modifier
The modifier for the chart.
axis Config
The configuration for the chart axes.
padding
The padding around the chart.
spacing
The spacing between stack bars.
text Label Text Config
The configuration for the text labels in the chart.