Default Vertical Bar
fun BarScope.DefaultVerticalBar(brush: Brush, modifier: Modifier = Modifier, shape: Shape = RectangleShape, border: BorderStroke? = null, hoverElement: @Composable () -> Unit = {})
A default implementation of a bar for bar charts.
Parameters
brush
The brush to paint the bar with
shape
An optional shape for the bar.
border
An optional border for the bar.
hover Element
An optional Composable to be displayed over the bar when hovered over by the mouse or pointer.
fun BarScope.DefaultVerticalBar(color: Color, shape: Shape = RectangleShape, border: BorderStroke? = null)
A simplified DefaultVerticalBar that uses a Solid Color color and default RectangleShape.