default

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

Creates a base AxisItemPlacer.Horizontal implementation. spacing defines how often items should be drawn (relative to ChartValues.xStep). offset is the number of labels (and, for HorizontalLayout.FullWidth, their corresponding ticks and guidelines) to skip from the start. shiftExtremeTicks defines whether ticks whose x values are bounds of the x-axis value range should be shifted to the edges of the axis bounds, to be aligned with the vertical axes. addExtremeLabelPadding specifies whether, for HorizontalLayout.FullWidth, padding should be added for the first and last labels, ensuring their visibility.