MCPcopy Create free account
hub / github.com/breck7/scroll / tickStep

Function tickStep

external/.d3.js:645–649  ·  view source on GitHub ↗
(start, stop, count)

Source from the content-addressed store, hash-verified

643}
644
645function tickStep(start, stop, count) {
646 stop = +stop, start = +start, count = +count;
647 const reverse = stop < start, inc = reverse ? tickIncrement(stop, start, count) : tickIncrement(start, stop, count);
648 return (reverse ? -1 : 1) * (inc < 0 ? 1 / -inc : inc);
649}
650
651function nice$1(start, stop, count) {
652 let prestep;

Callers 2

tickFormatFunction · 0.85
tickIntervalFunction · 0.85

Calls 1

tickIncrementFunction · 0.85

Tested by

no test coverage detected