MCPcopy Create free account
hub / github.com/codemistic/Web-Development / ce

Function ce

chart/js/chart.js:4684–4708  ·  view source on GitHub ↗
(t, e, n)

Source from the content-addressed store, hash-verified

4682 return (s && he(u, e, n)) || l;
4683 }
4684 function ce(t, e, n) {
4685 var i,
4686 a,
4687 r,
4688 o,
4689 s = n.padding,
4690 l = e.x,
4691 u = e.y;
4692 for (i = 0, a = t.length; i < a; ++i)
4693 (o = (r = t[i]).box),
4694 r.horizontal
4695 ? ((o.left = o.fullWidth ? s.left : e.left),
4696 (o.right = o.fullWidth ? n.outerWidth - s.right : e.left + e.w),
4697 (o.top = u),
4698 (o.bottom = u + o.height),
4699 (o.width = o.right - o.left),
4700 (u = o.bottom))
4701 : ((o.left = l),
4702 (o.right = l + o.width),
4703 (o.top = e.top),
4704 (o.bottom = e.top + e.h),
4705 (o.height = o.bottom - o.top),
4706 (l = o.right));
4707 (e.x = l), (e.y = u);
4708 }
4709 z._set("global", {
4710 layout: { padding: { top: 0, right: 0, bottom: 0, left: 0 } },
4711 });

Callers 2

chart.jsFile · 0.85
UFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected