DefaultBar

fun BarScope.DefaultBar(brush: Brush, modifier: Modifier = Modifier, shape: Shape = RectangleShape, border: BorderStroke? = null)

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.


fun BarScope.DefaultBar(color: Color, shape: Shape = RectangleShape, border: BorderStroke? = null)

A simplified DefaultVerticalBar that uses a Solid Color color and default RectangleShape.