axisLineComponent
fun axisLineComponent(color: Color = currentChartStyle.axis.axisLineColor, thickness: Dp = currentChartStyle.axis.axisLineWidth, shape: ChartShape = currentChartStyle.axis.axisLineShape, strokeWidth: Dp = 0.dp, strokeColor: Color = Color.Transparent, dynamicShader: DynamicShader? = null, margins: Dimensions = emptyDimensions()): LineComponent
Creates a LineComponent styled as an axis line.
Parameters
color
the background color.
thickness
the line thickness.
shape
the ChartShape to use for the line.
strokeWidth
the stroke width.
strokeColor
the stroke color.
dynamicShader
an optional DynamicShader to apply to the line.
margins
the margins of the line.
fun axisLineComponent(color: Color, thickness: Dp = currentChartStyle.axis.axisLineWidth, shape: Shape = RectangleShape, strokeWidth: Dp = 0.dp, strokeColor: Color = Color.Transparent, brush: Brush? = null, margins: Dimensions = emptyDimensions()): LineComponent
Creates a LineComponent styled as an axis line.