-
public final class VerticalAxisKt
-
-
Method Summary
Modifier and Type Method Description final static VerticalAxis<AxisPosition.Vertical.Start>startAxis(TextComponent label, LineComponent axis, LineComponent tick, Dp tickLength, LineComponent guideline, AxisValueFormatter<AxisPosition.Vertical.Start> valueFormatter, Axis.SizeConstraint sizeConstraint, VerticalAxis.HorizontalLabelPosition horizontalLabelPosition, VerticalAxis.VerticalLabelPosition verticalLabelPosition, Integer maxLabelCount, Float labelRotationDegrees, TextComponent titleComponent, CharSequence title)Creates a start axis. final static VerticalAxis<AxisPosition.Vertical.End>endAxis(TextComponent label, LineComponent axis, LineComponent tick, Dp tickLength, LineComponent guideline, AxisValueFormatter<AxisPosition.Vertical.End> valueFormatter, Axis.SizeConstraint sizeConstraint, VerticalAxis.HorizontalLabelPosition horizontalLabelPosition, VerticalAxis.VerticalLabelPosition verticalLabelPosition, Integer maxLabelCount, Float labelRotationDegrees, TextComponent titleComponent, CharSequence title)Creates an end axis. -
-
Method Detail
-
startAxis
@Composable() final static VerticalAxis<AxisPosition.Vertical.Start> startAxis(TextComponent label, LineComponent axis, LineComponent tick, Dp tickLength, LineComponent guideline, AxisValueFormatter<AxisPosition.Vertical.Start> valueFormatter, Axis.SizeConstraint sizeConstraint, VerticalAxis.HorizontalLabelPosition horizontalLabelPosition, VerticalAxis.VerticalLabelPosition verticalLabelPosition, Integer maxLabelCount, Float labelRotationDegrees, TextComponent titleComponent, CharSequence title)
Creates a start axis.
- Parameters:
label- the TextComponent to use for labels.axis- the LineComponent to use for the axis line.tick- the LineComponent to use for ticks.tickLength- the length of ticks.guideline- the LineComponent to use for guidelines.valueFormatter- the AxisValueFormatter for the axis.sizeConstraint- the Axis.SizeConstraint for the axis.horizontalLabelPosition- the horizontal position of the labels along the axis.verticalLabelPosition- the vertical position of the labels along the axis.maxLabelCount- the maximum label count.labelRotationDegrees- the rotation of axis labels in degrees.titleComponent- an optional TextComponent use as the axis title.title- the axis title.
-
endAxis
@Composable() final static VerticalAxis<AxisPosition.Vertical.End> endAxis(TextComponent label, LineComponent axis, LineComponent tick, Dp tickLength, LineComponent guideline, AxisValueFormatter<AxisPosition.Vertical.End> valueFormatter, Axis.SizeConstraint sizeConstraint, VerticalAxis.HorizontalLabelPosition horizontalLabelPosition, VerticalAxis.VerticalLabelPosition verticalLabelPosition, Integer maxLabelCount, Float labelRotationDegrees, TextComponent titleComponent, CharSequence title)
Creates an end axis.
- Parameters:
label- the TextComponent to use for labels.axis- the LineComponent to use for the axis line.tick- the LineComponent to use for ticks.tickLength- the length of ticks.guideline- the LineComponent to use for guidelines.valueFormatter- the AxisValueFormatter for the axis.sizeConstraint- the Axis.SizeConstraint for the axis.horizontalLabelPosition- the horizontal position of the labels along the axis.verticalLabelPosition- the vertical position of the labels along the axis.maxLabelCount- the maximum label count.labelRotationDegrees- the rotation of axis labels in degrees.titleComponent- an optional TextComponent use as the axis title.title- the axis title.
-
-
-
-