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

Function Hn

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

Source from the content-addressed store, hash-verified

8013 : 0;
8014 }
8015 function Hn(t, e, n, i, a) {
8016 return t === i || t === a
8017 ? { start: e - n / 2, end: e + n / 2 }
8018 : t < i || t > a
8019 ? { start: e - n, end: e }
8020 : { start: e, end: e + n };
8021 }
8022 function jn(t) {
8023 return 0 === t || 180 === t ? "center" : t < 180 ? "left" : "right";
8024 }

Callers 1

chart.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected