style

fun style(width: Dp = Dp.Infinity, outerPadding: Dp = 20.dp, innerPadding: Dp = 15.dp, cornerRadius: Dp = 20.dp, shadow: Dp = 15.dp, backgroundColor: Color = MaterialTheme.colorScheme.surface): ChartViewStyle

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

Parameters

width

The width of the chart view. Defaults to Dp.Infinity.

outerPadding

The outer padding of the chart view. Defaults to 20.dp.

innerPadding

The inner padding of the chart view. Defaults to 15.dp.

cornerRadius

The corner radius of the chart view. Defaults to 20.dp.

shadow

The shadow of the chart view. Defaults to 15.dp.

backgroundColor

The background color of the chart view. Defaults to the surface color of the MaterialTheme.