MCPcopy Create free account
hub / github.com/adobe/leonardo / shift

Method shift

docs/ui/src/js/initialDivergingScale.js:181–189  ·  view source on GitHub ↗
(shift)

Source from the content-addressed store, hash-verified

179 }
180
181 set shift(shift) {
182 this._shift = Number(shift);
183 this._startScale.shift = Number(shift);
184 this._endScale.shift = Number(shift);
185
186 this._colors = null;
187 this._colors = this._createColorScale();
188 this._domains = this._getDomains();
189 }
190
191 get shift() {
192 return Number(this._shift);

Callers

nothing calls this directly

Calls 2

_createColorScaleMethod · 0.95
_getDomainsMethod · 0.95

Tested by

no test coverage detected