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

Function Mf

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

Source from the content-addressed store, hash-verified

8292 : { field: ma(e, { expr: "datum" }), order: i ?? "ascending" };
8293 }
8294 function Mf(e, t, n) {
8295 const {
8296 format: i,
8297 formatType: r,
8298 labelAngle: o,
8299 labelAnchor: a,
8300 labelOrient: s,
8301 labelExpr: l,
8302 } = Cf(
8303 [
8304 "format",
8305 "formatType",
8306 "labelAngle",
8307 "labelAnchor",
8308 "labelOrient",
8309 "labelExpr",
8310 ],
8311 e.header,
8312 n,
8313 t,
8314 ),
8315 c = Oo({
8316 fieldOrDatumDef: e,
8317 format: i,
8318 formatType: r,
8319 expr: "parent",
8320 config: n,
8321 }).signal,
8322 u = Of(t, s);
8323 return {
8324 text: {
8325 signal: l
8326 ? R(R(l, "datum.label", c), "datum.value", ma(e, { expr: "parent" }))
8327 : c,
8328 },
8329 ...("row" === t ? { orient: "left" } : {}),
8330 style: "guide-label",
8331 frame: "group",
8332 ...Tf(o, u),
8333 ...Af(u, o, a),
8334 ...Uf(n, e, t, Ds, ks),
8335 };
8336 }
8337 function Rf(e, t, n, i, r) {
8338 if (r) {
8339 let o = null;

Callers 2

RfFunction · 0.85
assembleLabelTitleMethod · 0.85

Calls 8

AfFunction · 0.85
UfFunction · 0.85
CfFunction · 0.70
OoFunction · 0.70
OfFunction · 0.70
RFunction · 0.70
maFunction · 0.70
TfFunction · 0.70

Tested by

no test coverage detected