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

Function yi

chart/js/chart.js:8927–8946  ·  view source on GitHub ↗
(t, e, n, i, a)

Source from the content-addressed store, hash-verified

8925 return t && !t.skip;
8926 }
8927 function yi(t, e, n, i, a) {
8928 var r, o, s, l;
8929 if (i && a) {
8930 for (t.moveTo(e[0].x, e[0].y), r = 1; r < i; ++r)
8931 V.canvas.lineTo(t, e[r - 1], e[r]);
8932 if (void 0 === n[0].angle)
8933 for (t.lineTo(n[a - 1].x, n[a - 1].y), r = a - 1; r > 0; --r)
8934 V.canvas.lineTo(t, n[r], n[r - 1], !0);
8935 else
8936 for (
8937 o = n[0].cx,
8938 s = n[0].cy,
8939 l = Math.sqrt(Math.pow(n[0].x - o, 2) + Math.pow(n[0].y - s, 2)),
8940 r = a - 1;
8941 r > 0;
8942 --r
8943 )
8944 t.arc(o, s, l, n[r].angle, n[r - 1].angle, !0);
8945 }
8946 }
8947 function _i(t, e, n, i, a, r) {
8948 var o,
8949 s,

Callers 1

_iFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected