default

fun default(spacing: Int = 1, offset: Int = 0, shiftExtremeTicks: Boolean = true, addExtremeLabelPadding: Boolean = false): AxisItemPlacer.Horizontal

Instantiates a base AxisItemPlacer.Horizontal implementation.

Parameters

spacing

how often labels—and, for HorizontalLayout.FullWidth, their corresponding lines—should be drawn (relative to ChartValues.xStep).

offset

the number of labels—and, for HorizontalLayout.FullWidth, their corresponding lines—to skip from the start.

shiftExtremeTicks
addExtremeLabelPadding

whether padding should be added for the ChartValues.minX and ChartValues.maxX labels, if such labels are present, to ensure their visibility. This requires HorizontalLayout.FullWidth.