MCPcopy Create free account
hub / github.com/microsoft/SandDance / zoomSymlog

Function zoomSymlog

docs/app/js/sanddance-app.js:106722–106724  ·  view source on GitHub ↗
(domain, anchor, scale, constant2)

Source from the content-addressed store, hash-verified

106720 return zoom(domain, anchor, scale, pow(exponent), pow(1 / exponent));
106721}
106722function zoomSymlog(domain, anchor, scale, constant2) {
106723 return zoom(domain, anchor, scale, symlog(constant2), symexp(constant2));
106724}
106725function quarter(date) {
106726 return 1 + ~~(new Date(date).getMonth() / 3);
106727}

Callers

nothing calls this directly

Calls 3

zoomFunction · 0.70
symlogFunction · 0.70
symexpFunction · 0.70

Tested by

no test coverage detected