MCPcopy Create free account
hub / github.com/alignoth/alignoth / initScales

Method initScales

resources/vega-lite.min.js:14302–14307  ·  view source on GitHub ↗
(e, t)

Source from the content-addressed store, hash-verified

14300 return this.specifiedLegends[e];
14301 }
14302 initScales(e, t) {
14303 return Xt.reduce((e, n) => {
14304 const i = ka(t[n]);
14305 return (i && (e[n] = this.initScale(i.scale ?? {})), e);
14306 }, {});
14307 }
14308 initScale(e) {
14309 const { domain: n, range: i } = e,
14310 r = bn(e);

Callers 1

constructorMethod · 0.95

Calls 2

initScaleMethod · 0.95
kaFunction · 0.70

Tested by

no test coverage detected