VerticalBarPlot2

fun <X, Y> XYGraphScope<X, Y>.VerticalBarPlot2(modifier: Modifier = Modifier, defaultBar: DefaultVerticalBarComposable<X, Y> = verticalSolidBar(MaterialTheme.colorScheme.primary), barWidth: Float = 0.9f, startAnimationUseCase: StartAnimationUseCase = StartAnimationUseCase( executionType = StartAnimationUseCase.ExecutionType.Default, // chart animation KoalaPlotTheme.animationSpec, ), content: VerticalBarPlotScope<X, Y>.() -> Unit)

Creates a Vertical Bar Plot.

Parameters

defaultBar

A Composable to provide the bar if not specified on an individually added item.

barWidth

The fraction of space between adjacent x-axis bars that may be used. Must be between 0 and 1, defaults to 0.9.

content

A block which describes the content for the plot.