axisGuidelineComponent

fun axisGuidelineComponent(color: Color = currentChartStyle.axis.axisGuidelineColor, thickness: Dp = currentChartStyle.axis.axisGuidelineWidth, shape: ChartShape = currentChartStyle.axis.axisGuidelineShape, strokeWidth: Dp = 0.dp, strokeColor: Color = Color.Transparent, dynamicShader: DynamicShader? = null, margins: Dimensions = emptyDimensions()): LineComponent

Creates an axis guideline.

Parameters

color

the background color.

thickness

the line thickness.

shape

the ChartShape to use for the guideline.

strokeWidth

the stroke width.

strokeColor

the stroke color.

dynamicShader

an optional DynamicShader to apply to the guideline.

margins

the margins of the guideline.