Skip to content

niceScale

niceScale(min, max, ticks?): NiceScale

Defined in: utils/helpers.ts:87

Compute nice axis scale with min, max, step

Parameters

min

number

max

number

ticks?

number = 6

Returns

NiceScale