count

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

Creates a count-based ItemPlacer implementation. count returns the number of labels (and their corresponding line pairs) to be displayed. This may be reduced for overlap prevention. If null is returned, the VerticalAxis will display as many items as possible. shiftTopLines is used as the return value of ItemPlacer.getShiftTopLines.