getNiceTickValues
Calculate the ticks of an interval. Ticks can appear outside the interval if it makes them more rounded and nice.
Return value
Array<number>
array of ticks
Props
__0NumberDomain
allowDecimalsbooleanoptional
Allow the ticks to be decimals or not
DEFAULT:
"true"niceTicksMode"adaptive" | "auto" | "none" | "snap125"optional
The algorithm to use for calculating nice ticks.
DEFAULT:
"'auto'"tickCountnumberoptional
The count of ticks
DEFAULT:
"6"