StackedBarChart

fun StackedBarChart(dataSet: MultiChartDataSet, style: StackedBarChartStyle = StackedBarChartDefaults.style(), interactionEnabled: Boolean = true, animateOnStart: Boolean = true)(source)

A composable function that displays a Stacked Bar Chart.

Parameters

dataSet

The data set to be displayed in the chart.

style

The style to be applied to the chart. If not provided, the default style will be used.

interactionEnabled

Enables touch interactions (drag selection). Defaults to true.

animateOnStart

Enables initial chart animations. Defaults to true.