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

Function addProjection

docs/app/js/sanddance-app.js:149702–149704  ·  view source on GitHub ↗
(name, params)

Source from the content-addressed store, hash-verified

149700 this.addScaleProj(name, Scale(params));
149701 },
149702 addProjection (name, params) {
149703 this.addScaleProj(name, Projection(params));
149704 },
149705 getScale (name) {
149706 if (!this.scales[name]) (0, _vegaUtil.error)("Unrecognized scale name: " + (0, _vegaUtil.stringValue)(name));
149707 return this.scales[name];

Callers

nothing calls this directly

Calls 1

ProjectionFunction · 0.70

Tested by

no test coverage detected