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

Function ds

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

Source from the content-addressed store, hash-verified

3574 const us = "errorbar",
3575 fs = new Wa(us, ds);
3576 function ds(e, t) {
3577 let { config: n } = t;
3578 e = { ...e, encoding: Xa(e.encoding, n) };
3579 const {
3580 transform: i,
3581 continuousAxisChannelDef: r,
3582 continuousAxis: o,
3583 encodingWithoutContinuousAxis: a,
3584 ticksOrient: s,
3585 markDef: l,
3586 outerSpec: c,
3587 tooltipEncoding: u,
3588 } = ps(e, us, n);
3589 delete a.size;
3590 const f = es(l, o, r, a, n.errorbar),
3591 d = l.thickness,
3592 m = l.size,
3593 p = {
3594 type: "tick",
3595 orient: s,
3596 aria: !1,
3597 ...(void 0 !== d ? { thickness: d } : {}),
3598 ...(void 0 !== m ? { size: m } : {}),
3599 },
3600 g = [
3601 ...f({
3602 partName: "ticks",
3603 mark: p,
3604 positionPrefix: "lower",
3605 extraEncoding: u,
3606 }),
3607 ...f({
3608 partName: "ticks",
3609 mark: p,
3610 positionPrefix: "upper",
3611 extraEncoding: u,
3612 }),
3613 ...f({
3614 partName: "rule",
3615 mark: {
3616 type: "rule",
3617 ariaRoleDescription: "errorbar",
3618 ...(void 0 !== d ? { size: d } : {}),
3619 },
3620 positionPrefix: "lower",
3621 endPositionPrefix: "upper",
3622 extraEncoding: u,
3623 }),
3624 ];
3625 return {
3626 ...c,
3627 transform: i,
3628 ...(g.length > 1 ? { layer: g } : { ...g[0] }),
3629 };
3630 }
3631 function ms(e, t) {
3632 const { encoding: n } = e;
3633 if (

Callers

nothing calls this directly

Calls 4

XaFunction · 0.70
psFunction · 0.70
esFunction · 0.70
fFunction · 0.70

Tested by

no test coverage detected