step

fun step(step: (ExtraStore) -> Double? = { null }, shiftTopLines: Boolean = true): VerticalAxis.ItemPlacer

Creates a step-based ItemPlacer implementation. step returns the difference between the y values of neighboring labels (and their corresponding line pairs). A multiple of this may be used for overlap prevention. If null is returned, the step will be determined automatically. shiftTopLines is used as the return value of ItemPlacer.getShiftTopLines.