style

fun style(barColor: Color = MaterialTheme.colorScheme.primary, space: Dp = 10.dp, chartViewStyle: ChartViewStyle = ChartViewDefaults.style()): BarChartStyle

Returns a BarChartStyle with the provided parameters or their default values.

Parameters

barColor

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.

chartViewStyle

The style to be applied to the chart view. Defaults to the default style of ChartViewDefaults.