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

Function _i

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

Source from the content-addressed store, hash-verified

8945 }
8946 }
8947 function _i(t, e, n, i, a, r) {
8948 var o,
8949 s,
8950 l,
8951 u,
8952 d,
8953 h,
8954 c,
8955 f,
8956 g = e.length,
8957 p = i.spanGaps,
8958 m = [],
8959 v = [],
8960 b = 0,
8961 x = 0;
8962 for (t.beginPath(), o = 0, s = g; o < s; ++o)
8963 (d = n((u = e[(l = o % g)]._view), l, i)),
8964 (h = xi(u)),
8965 (c = xi(d)),
8966 r && void 0 === f && h && (s = g + (f = o + 1)),
8967 h && c
8968 ? ((b = m.push(u)), (x = v.push(d)))
8969 : b &&
8970 x &&
8971 (p
8972 ? (h && m.push(u), c && v.push(d))
8973 : (yi(t, m, v, b, x), (b = x = 0), (m = []), (v = [])));
8974 yi(t, m, v, b, x), t.closePath(), (t.fillStyle = a), t.fill();
8975 }
8976 var ki = {
8977 id: "filler",
8978 afterDatasetsUpdate: function (t, e) {

Callers 1

chart.jsFile · 0.85

Calls 3

xiFunction · 0.85
yiFunction · 0.85
nFunction · 0.70

Tested by

no test coverage detected