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

Function GO

resources/vega.min.js:30601–30625  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

30599 let HO = 0;
30600 const YO = { min: "min", max: "max", count: "sum" };
30601 function GO(t, e) {
30602 const n = e.getScale(t.name).params;
30603 let r;
30604 for (r in ((n.domain = ZO(t.domain, t, e)),
30605 null != t.range && (n.range = oR(t, e, n)),
30606 null != t.interpolate &&
30607 (function (t, e) {
30608 ((e.interpolate = VO(t.type || t)),
30609 null != t.gamma && (e.interpolateGamma = VO(t.gamma)));
30610 })(t.interpolate, n),
30611 null != t.nice &&
30612 (n.nice = (function (t, e) {
30613 return t.signal
30614 ? e.signalRef(t.signal)
30615 : A(t)
30616 ? { interval: VO(t.interval), step: VO(t.step) }
30617 : VO(t);
30618 })(t.nice, e)),
30619 null != t.bins &&
30620 (n.bins = (function (t, e) {
30621 return t.signal || k(t) ? XO(t, e) : e.objectProperty(t);
30622 })(t.bins, e)),
30623 t))
30624 ut(n, r) || "name" === r || (n[r] = VO(t[r], e));
30625 }
30626 function VO(t, e) {
30627 return A(t)
30628 ? t.signal

Callers 1

cUFunction · 0.85

Calls 7

ZOFunction · 0.85
oRFunction · 0.85
VOFunction · 0.85
XOFunction · 0.85
AFunction · 0.70
kFunction · 0.70
utFunction · 0.70

Tested by

no test coverage detected