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

Function b

chart/js/chart.js:9238–9247  ·  view source on GitHub ↗
(t, i)

Source from the content-addressed store, hash-verified

9236 var m = Ci(n, p),
9237 v = t.legendHitBoxes,
9238 b = function (t, i) {
9239 switch (e.align) {
9240 case "start":
9241 return n.padding;
9242 case "end":
9243 return t - i;
9244 default:
9245 return (t - i + n.padding) / 2;
9246 }
9247 },
9248 x = t.isHorizontal();
9249 (d = x
9250 ? { x: t.left + b(l, u[0]), y: t.top + n.padding, line: 0 }

Callers 1

chart.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected