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

Method getSizeSignalRef

resources/vega-lite.min.js:12041–12065  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

12039 return ((n[t] = (n[t] || 0) + 1), t);
12040 }
12041 getSizeSignalRef(e) {
12042 if (Um(this.parent)) {
12043 const t = At(Hf(e)),
12044 n = this.component.scales[t];
12045 if (n && !n.merged) {
12046 const e = n.get("type"),
12047 i = n.get("range");
12048 if (kr(e) && kn(i)) {
12049 const e = n.get("name"),
12050 i = ym(vm(this, t));
12051 if (i) {
12052 return {
12053 signal: Vf(
12054 e,
12055 n,
12056 ma({ aggregate: "distinct", field: i }, { expr: "datum" }),
12057 ),
12058 };
12059 }
12060 return (Si(Xn(t)), null);
12061 }
12062 }
12063 }
12064 return { signal: this.signalNameMap.get(this.getName(e)) };
12065 }
12066 lookupDataSource(e) {
12067 const t = this.component.data.outputNodes[e];
12068 return t ? t.getSource() : e;

Callers 12

widthMethod · 0.95
heightMethod · 0.95
vega-lite.min.jsFile · 0.80
hFunction · 0.80
HuFunction · 0.80
QuFunction · 0.80
hfFunction · 0.80
IfFunction · 0.80
adFunction · 0.80
ydFunction · 0.80
lpFunction · 0.80

Calls 13

getNameMethod · 0.95
HfFunction · 0.85
krFunction · 0.85
knFunction · 0.85
XnFunction · 0.85
UmFunction · 0.70
AtFunction · 0.70
ymFunction · 0.70
vmFunction · 0.70
VfFunction · 0.70
maFunction · 0.70
SiFunction · 0.70

Tested by

no test coverage detected