NiceTicks
Function: niceTicks()
[object Object]
Defined in: components/Statistics/StatisticsChart.tsx:33
Rounds the largest value up to a "nice" axis maximum and returns the gridline values from 0 up to that maximum. The values are counts, so steps are whole numbers (1, 2 or 5 times a power of ten, at least 1) and there are at most five steps.
Parameters
max
[object Object]
Returns
number[]