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

Function ne

chart/js/chart.js:4529–4537  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

4527 );
4528 }
4529 function ne(t) {
4530 var e = -1 !== t.indexOf("x"),
4531 n = -1 !== t.indexOf("y");
4532 return function (t, i) {
4533 var a = e ? Math.abs(t.x - i.x) : 0,
4534 r = n ? Math.abs(t.y - i.y) : 0;
4535 return Math.sqrt(Math.pow(a, 2) + Math.pow(r, 2));
4536 };
4537 }
4538 function ie(t, e, n) {
4539 var i = Jt(e, t);
4540 n.axis = n.axis || "x";

Callers 2

ieFunction · 0.70
chart.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected