Documentation / @ripl/core / resolveNiceCount
Function: resolveNiceCount()
resolveNiceCount(
nice):number|undefined
Defined in: packages/core/src/scales/_base/index.ts:70
Resolves a nice option to a target tick count (defaults to 10 when true).
Parameters
| Parameter | Type |
|---|---|
nice | number | boolean | undefined |
Returns
number | undefined