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

Function Scale

docs/app/js/sanddance-app.js:129961–129964  ·  view source on GitHub ↗

* Maintains a scale function mapping data values to visual channels. * @constructor * @param {object} params - The parameters for this operator.

(params)

Source from the content-addressed store, hash-verified

129959 * @constructor
129960 * @param {object} params - The parameters for this operator.
129961 */ function Scale(params) {
129962 (0, _vegaDataflow.Transform).call(this, null, params);
129963 this.modified(true); // always treat as modified
129964}
129965(0, _vegaUtil.inherits)(Scale, (0, _vegaDataflow.Transform), {
129966 transform (_, pulse) {
129967 var df = pulse.dataflow, scale$1 = this.value, key = scaleKey(_);

Callers 1

addScaleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected