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

Function vd

resources/vega-lite.min.js:9212–9223  ·  view source on GitHub ↗
(e, t, n, i)

Source from the content-addressed store, hash-verified

9210 })(e);
9211 }
9212 function vd(e, t, n, i) {
9213 if (Na(t, n)) {
9214 const r = qm(e) ? (e.axis(n) ?? e.legend(n) ?? {}) : {},
9215 o = ma(t, { expr: "datum" }),
9216 a = ma(t, { expr: "datum", binSuffix: "end" });
9217 return {
9218 formulaAs: ma(t, { binSuffix: "range", forAs: !0 }),
9219 formula: jo(o, a, r.format, r.formatType, i),
9220 };
9221 }
9222 return {};
9223 }
9224 function bd(e, t) {
9225 return `${dn(e)}_${t}`;
9226 }

Callers 1

makeFromEncodingMethod · 0.70

Calls 6

axisMethod · 0.80
legendMethod · 0.80
NaFunction · 0.70
qmFunction · 0.70
maFunction · 0.70
joFunction · 0.70

Tested by

no test coverage detected