shapeComponent

fun shapeComponent(shape: ChartShape = Shapes.rectShape, color: Color = Color.Black, dynamicShader: DynamicShader? = null, margins: Dimensions = emptyDimensions(), strokeWidth: Dp = 0.dp, strokeColor: Color = Color.Transparent): ShapeComponent
fun shapeComponent(shape: Shape, color: Color = Color.Black, dynamicShader: DynamicShader? = null, margins: Dimensions = emptyDimensions(), strokeWidth: Dp = 0.dp, strokeColor: Color = Color.Transparent): ShapeComponent
fun shapeComponent(shape: ChartShape = Shapes.rectShape, color: Color = Color.Black, brush: Brush, margins: Dimensions = emptyDimensions(), strokeWidth: Dp = 0.dp, strokeColor: Color = Color.Transparent): ShapeComponent

Creates a ShapeComponent with the specified properties.