rememberEndAxis
fun rememberEndAxis(label: TextComponent? = axisLabelComponent(), axis: LineComponent? = axisLineComponent(), tick: LineComponent? = axisTickComponent(), tickLength: Dp = currentChartStyle.axis.axisTickLength, guideline: LineComponent? = axisGuidelineComponent(), valueFormatter: AxisValueFormatter<AxisPosition.Vertical.End> = DecimalFormatAxisValueFormatter(), sizeConstraint: Axis.SizeConstraint = Axis.SizeConstraint.Auto(), horizontalLabelPosition: VerticalAxis.HorizontalLabelPosition = VerticalAxis.HorizontalLabelPosition.Outside, verticalLabelPosition: VerticalAxis.VerticalLabelPosition = VerticalAxis.VerticalLabelPosition.Center, itemPlacer: AxisItemPlacer.Vertical = remember { AxisItemPlacer.Vertical.default() }, labelRotationDegrees: Float = currentChartStyle.axis.axisLabelRotationDegrees, titleComponent: TextComponent? = null, title: CharSequence? = null): VerticalAxis<AxisPosition.Vertical.End>
Creates and remembers an end axis (i.e., a VerticalAxis with AxisPosition.Vertical.End).
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 VerticalAxis is to size itself.
horizontalLabelPosition
the horizontal position of the labels.
verticalLabelPosition
the vertical position of the labels.
itemPlacer
determines for what y values the VerticalAxis is to display labels, ticks, and guidelines.
labelRotationDegrees
the rotation of the axis labels (in degrees).
titleComponent
an optional TextComponent to use as the axis title.
title
the axis title.