style
fun style(barColor: Color = MaterialTheme.colorScheme.primary, space: Dp = 10.dp, barColors: List<Color> = emptyList(), chartViewStyle: ChartViewStyle = ChartViewDefaults.style()): StackedBarChartStyle
Returns a StackedBarChartStyle with the provided parameters or their default values.
Parameters
bar Color
The color to be used for the bars in the chart. Defaults to the primary color of the MaterialTheme.
space
The space between the bars in the chart. Defaults to 10.dp.
bar Colors
The colors to be used for the bars in the chart. Defaults to an empty list.
chart View Style
The style to be applied to the chart view. Defaults to the default style of ChartViewDefaults.