rememberBottomAxis

fun rememberBottomAxis(label: TextComponent? = axisLabelComponent(), axis: LineComponent? = axisLineComponent(), tick: LineComponent? = axisTickComponent(), tickLength: Dp = currentChartStyle.axis.axisTickLength, guideline: LineComponent? = axisGuidelineComponent(), valueFormatter: AxisValueFormatter<AxisPosition.Horizontal.Bottom> = DecimalFormatAxisValueFormatter(), sizeConstraint: Axis.SizeConstraint = Axis.SizeConstraint.Auto(), titleComponent: TextComponent? = null, title: CharSequence? = null, labelRotationDegrees: Float = currentChartStyle.axis.axisLabelRotationDegrees, itemPlacer: AxisItemPlacer.Horizontal = remember { AxisItemPlacer.Horizontal.default() }): HorizontalAxis<AxisPosition.Horizontal.Bottom>

Creates and remembers a bottom axis (i.e., a HorizontalAxis with AxisPosition.Horizontal.Bottom).

Parameters

label

the TextComponent to use for the labels.

axis

the LineComponent to use for the axis line.

tick

the LineComponent to use for the ticks.

tickLength

the length of the ticks.

guideline

the LineComponent to use for the guidelines.

valueFormatter

formats the labels.

sizeConstraint

defines how the HorizontalAxis is to size itself.

titleComponent

an optional TextComponent to use as the axis title.

title

the axis title.

labelRotationDegrees

the rotation of the axis labels (in degrees).

itemPlacer

determines for what x values the HorizontalAxis is to display labels, ticks, and guidelines.