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

Function d3_scale_linearTicks

explainshell/web/static/js/d3.v3.js:6474–6476  ·  view source on GitHub ↗
(domain, m)

Source from the content-addressed store, hash-verified

6472 return extent;
6473 }
6474 function d3_scale_linearTicks(domain, m) {
6475 return d3.range.apply(d3, d3_scale_linearTickRange(domain, m));
6476 }
6477 function d3_scale_linearTickFormat(domain, m, format) {
6478 var precision = -Math.floor(Math.log(d3_scale_linearTickRange(domain, m)[2]) / Math.LN10 + .01);
6479 return d3.format(format ? format.replace(d3_format_re, function(a, b, c, d, e, f, g, h, i, j) {

Callers 3

d3_scale_linearFunction · 0.85
d3_scale_powFunction · 0.85
d3_scale_identityFunction · 0.85

Calls 1

d3_scale_linearTickRangeFunction · 0.85

Tested by

no test coverage detected