niceTicks
Documentation / @elitechart/core / niceTicks
Defined in: math/ticks.ts:44
Compute axis tick positions for a value range.
Parameters
min
number
lower bound (inclusive)
max
number
upper bound (inclusive)
desiredCount
number
target number of ticks (actual may differ by 1–2)
Returns
number[]
sorted ascending array of tick values inside or equal to the bounds