Skip to main content

Function: tickDecimals()

tickDecimals(tick): number

Number of decimal places needed to represent a tick (bin width). Logarithmic: a wide tick like 100 needs 0 decimals while a tiny tick like 1e-6 needs 6.

Parameters​

tick​

number

Returns​

number