axisTickComponent

fun axisTickComponent(color: Color = currentChartStyle.axis.axisTickColor, thickness: Dp = currentChartStyle.axis.axisTickWidth, shape: ChartShape = currentChartStyle.axis.axisTickShape, strokeWidth: Dp = 0.dp, strokeColor: Color = Color.Transparent, dynamicShader: DynamicShader? = null): LineComponent

Creates a LineComponent styled as a tick line.

Parameters

color

the background color.

thickness

the thickness of the tick.

shape

the ChartShape to use for the tick.

strokeWidth

the stroke width.

strokeColor

the stroke color.

dynamicShader

an optional DynamicShader to apply to the tick.


fun axisTickComponent(color: Color, thickness: Dp = currentChartStyle.axis.axisTickWidth, shape: Shape = RectangleShape, strokeWidth: Dp = 0.dp, strokeColor: Color = Color.Transparent, brush: Brush? = null): LineComponent

Creates a LineComponent styled as a tick line.

Parameters

color

the background color.

thickness

the thickness of the line.

shape

the Shape to use for the line.

strokeWidth

the stroke width.

strokeColor

the stroke color.

brush

an optional Brush to apply to the line.