Companion
object Companion
Houses HorizontalAxis factory functions.
Functions
Link copied to clipboard
fun bottom(line: LineComponent? = null, label: TextComponent? = null, labelRotationDegrees: Float = 0.0f, valueFormatter: CartesianValueFormatter = CartesianValueFormatter.decimal(), tick: LineComponent? = null, tickLengthDp: Float = 0.0f, guideline: LineComponent? = null, itemPlacer: HorizontalAxis.ItemPlacer = ItemPlacer.aligned(), size: BaseAxis.Size = Size.Auto(), titleComponent: TextComponent? = null, title: CharSequence? = null): HorizontalAxis<Axis.Position.Horizontal.Bottom>
Creates a bottom HorizontalAxis.
Link copied to clipboard
fun top(line: LineComponent? = null, label: TextComponent? = null, labelRotationDegrees: Float = 0.0f, valueFormatter: CartesianValueFormatter = CartesianValueFormatter.decimal(), tick: LineComponent? = null, tickLengthDp: Float = 0.0f, guideline: LineComponent? = null, itemPlacer: HorizontalAxis.ItemPlacer = ItemPlacer.aligned(), size: BaseAxis.Size = Size.Auto(), titleComponent: TextComponent? = null, title: CharSequence? = null): HorizontalAxis<Axis.Position.Horizontal.Top>
Creates a top HorizontalAxis.