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

Function Ge

chart/js/chart.js:5873–5891  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5871 Ue.positioners = qe;
5872 var Ye = V.valueOrDefault;
5873 function Ge() {
5874 return V.merge({}, [].slice.call(arguments), {
5875 merger: function (t, e, n, i) {
5876 if ("xAxes" === t || "yAxes" === t) {
5877 var a,
5878 r,
5879 o,
5880 s = n[t].length;
5881 for (e[t] || (e[t] = []), a = 0; a < s; ++a)
5882 (o = n[t][a]),
5883 (r = Ye(o.type, "xAxes" === t ? "category" : "linear")),
5884 a >= e[t].length && e[t].push({}),
5885 !e[t][a].type || (o.type && o.type !== e[t][a].type)
5886 ? V.merge(e[t][a], [Oe.getScaleDefaults(r), o])
5887 : V.merge(e[t][a], o);
5888 } else V._merger(t, e, n, i);
5889 },
5890 });
5891 }
5892 function Xe() {
5893 return V.merge({}, [].slice.call(arguments), {
5894 merger: function (t, e, n, i) {

Callers 1

XeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected