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.
outer Padding
The outer padding of the chart view. Defaults to 20.dp.
inner Padding
The inner padding of the chart view. Defaults to 15.dp.
corner Radius
The corner radius of the chart view. Defaults to 20.dp.
shadow
The shadow of the chart view. Defaults to 15.dp.
background Color
The background color of the chart view. Defaults to the surface color of the MaterialTheme.