MCPcopy Create free account
hub / github.com/idank/explainshell / d3_time_scaleExtent

Function d3_time_scaleExtent

explainshell/web/static/js/d3.v3.js:8330–8333  ·  view source on GitHub ↗
(domain)

Source from the content-addressed store, hash-verified

8328 return d3.rebind(scale, linear, "range", "rangeRound", "interpolate", "clamp");
8329 }
8330 function d3_time_scaleExtent(domain) {
8331 var start = domain[0], stop = domain[domain.length - 1];
8332 return start < stop ? [ start, stop ] : [ stop, start ];
8333 }
8334 function d3_time_scaleDate(t) {
8335 return new Date(t);
8336 }

Callers 1

d3_time_scaleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected