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

Function numericMultipleDomain

docs/tests/v2/es6/js/sanddance.js:133712–133723  ·  view source on GitHub ↗
(domain, scope, fields)

Source from the content-addressed store, hash-verified

133710}
133711
133712function numericMultipleDomain(domain, scope, fields) {
133713 // get extents for each domain field
133714 var extents = fields.map(function (f) {
133715 var data = scope.getData(f.data);
133716 if (!data) dataLookupError(f.data);
133717 return data.extentRef(scope, f.field);
133718 }); // combine extents
133719
133720 return (0, _util.ref)(scope.add((0, _transforms.MultiExtent)({
133721 extents: extents
133722 })));
133723} // -- SCALE BINS -----
133724
133725
133726function parseScaleBins(v, scope) {

Callers

nothing calls this directly

Calls 2

dataLookupErrorFunction · 0.70
addMethod · 0.45

Tested by

no test coverage detected