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

Function Fm

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

Source from the content-addressed store, hash-verified

11302 : { scheme: e };
11303 }
11304 function Fm(e, t, n) {
11305 let { center: i } =
11306 arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : {};
11307 const r = st(e),
11308 o = t.getName(r),
11309 a = t.getSignalName.bind(t);
11310 return e === ne && Sr(n)
11311 ? i
11312 ? [
11313 sm.fromName((e) => `${a(e)}/2`, o),
11314 sm.fromName((e) => `-${a(e)}/2`, o),
11315 ]
11316 : [sm.fromName(a, o), 0]
11317 : i
11318 ? [
11319 sm.fromName((e) => `-${a(e)}/2`, o),
11320 sm.fromName((e) => `${a(e)}/2`, o),
11321 ]
11322 : [0, sm.fromName(a, o)];
11323 }
11324 function Om(e, n, i) {
11325 const { encoding: r } = n,
11326 o = n.getScaleComponent(i),

Callers 1

SmFunction · 0.70

Calls 5

getNameMethod · 0.80
fromNameMethod · 0.80
stFunction · 0.70
SrFunction · 0.70
aFunction · 0.70

Tested by

no test coverage detected