@adiba-banking-cloud/backoffice 0.0.100 → 0.0.102
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.cjs.js/index.js +319 -290
- package/build/index.esm.js/index.js +319 -290
- package/build/typings/components/charts/area/Area.stories.d.ts +1 -0
- package/build/typings/components/charts/area/Area.types.d.ts +4 -0
- package/build/typings/components/charts/heatmap/Heatmap.d.ts +5 -0
- package/build/typings/components/charts/heatmap/Heatmap.default.d.ts +2 -0
- package/build/typings/components/charts/heatmap/Heatmap.stories.d.ts +8 -0
- package/build/typings/components/charts/heatmap/Heatmap.types.d.ts +68 -0
- package/package.json +2 -2
|
@@ -68,10 +68,10 @@ function requireHighcharts() {
|
|
|
68
68
|
(function (module, exports) {
|
|
69
69
|
!
|
|
70
70
|
/**
|
|
71
|
-
* Highcharts JS v12.
|
|
71
|
+
* Highcharts JS v12.4.0 (2025-09-04)
|
|
72
72
|
* @module highcharts/highcharts
|
|
73
73
|
*
|
|
74
|
-
* (c) 2009-2025
|
|
74
|
+
* (c) 2009-2025 Highsoft AS
|
|
75
75
|
*
|
|
76
76
|
* License: www.highcharts.com/license
|
|
77
77
|
*/
|
|
@@ -107,9 +107,9 @@ function requireHighcharts() {
|
|
|
107
107
|
}, v.o = (t, e) => Object.prototype.hasOwnProperty.call(t, e);
|
|
108
108
|
var k = {};
|
|
109
109
|
v.d(k, {
|
|
110
|
-
default: () =>
|
|
110
|
+
default: () => lI
|
|
111
111
|
}), function (t) {
|
|
112
|
-
t.SVG_NS = "http://www.w3.org/2000/svg", t.product = "Highcharts", t.version = "12.
|
|
112
|
+
t.SVG_NS = "http://www.w3.org/2000/svg", t.product = "Highcharts", t.version = "12.4.0", t.win = "undefined" != typeof window ? window : {}, t.doc = t.win.document, t.svg = !!t.doc?.createElementNS?.(t.SVG_NS, "svg")?.createSVGRect, t.pageLang = t.doc?.documentElement?.closest("[lang]")?.lang, t.userAgent = t.win.navigator?.userAgent || "", t.isChrome = t.win.chrome, t.isFirefox = -1 !== t.userAgent.indexOf("Firefox"), t.isMS = /(edge|msie|trident)/i.test(t.userAgent) && !t.win.opera, t.isSafari = !t.isChrome && -1 !== t.userAgent.indexOf("Safari"), t.isTouchDevice = /(Mobile|Android|Windows Phone)/.test(t.userAgent), t.isWebKit = -1 !== t.userAgent.indexOf("AppleWebKit"), t.deg2rad = 2 * Math.PI / 360, t.marginNames = ["plotTop", "marginRight", "marginBottom", "plotLeft"], t.noop = function () {}, t.supportsPassiveEvents = function () {
|
|
113
113
|
let e = false;
|
|
114
114
|
if (!t.isMS) {
|
|
115
115
|
let i = Object.defineProperty({}, "passive", {
|
|
@@ -203,10 +203,10 @@ function requireHighcharts() {
|
|
|
203
203
|
function H(t, e) {
|
|
204
204
|
R(t.style, e);
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function X(t) {
|
|
207
207
|
return Math.pow(10, Math.floor(Math.log(t) / Math.LN10));
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function F(t, e) {
|
|
210
210
|
return t > 1e14 ? t : parseFloat(t.toPrecision(e || 14));
|
|
211
211
|
}
|
|
212
212
|
(C || (C = {})).messages = [], Math.easeInOutSine = function (t) {
|
|
@@ -315,7 +315,7 @@ function requireHighcharts() {
|
|
|
315
315
|
clearTimeout: function (t) {
|
|
316
316
|
B(t) && clearTimeout(t);
|
|
317
317
|
},
|
|
318
|
-
correctFloat:
|
|
318
|
+
correctFloat: F,
|
|
319
319
|
createElement: function (t, e, i, s, o) {
|
|
320
320
|
let r = S.createElement(t);
|
|
321
321
|
return e && R(r, e), o && H(r, {
|
|
@@ -381,7 +381,7 @@ function requireHighcharts() {
|
|
|
381
381
|
if (t.length > 1) for (r = t.length - 1; r > 0; r--) (o = t[r] - t[r - 1]) < 0 && !a ? (e?.(), e = void 0) : o && (void 0 === i || o < i) && (i = o);
|
|
382
382
|
}), i;
|
|
383
383
|
},
|
|
384
|
-
getMagnitude:
|
|
384
|
+
getMagnitude: X,
|
|
385
385
|
getNestedProperty: function (t, e) {
|
|
386
386
|
let i = t.split(".");
|
|
387
387
|
for (; i.length && B(e);) {
|
|
@@ -444,12 +444,12 @@ function requireHighcharts() {
|
|
|
444
444
|
normalizeTickInterval: function (t, e, i, s, o) {
|
|
445
445
|
let r,
|
|
446
446
|
a = t;
|
|
447
|
-
i = W(i,
|
|
447
|
+
i = W(i, X(t));
|
|
448
448
|
let n = t / i;
|
|
449
449
|
for (!e && (e = o ? [1, 1.2, 1.5, 2, 2.5, 3, 4, 5, 6, 8, 10] : [1, 2, 2.5, 5, 10], false === s && (1 === i ? e = e.filter(function (t) {
|
|
450
450
|
return t % 1 == 0;
|
|
451
451
|
}) : i <= .1 && (e = [1 / i]))), r = 0; r < e.length && (a = e[r], (!o || !(a * i >= t)) && (o || !(n <= (e[r] + (e[r + 1] || e[r])) / 2))); r++);
|
|
452
|
-
return
|
|
452
|
+
return F(a * i, -Math.round(Math.log(.001) / Math.LN10));
|
|
453
453
|
},
|
|
454
454
|
objectEach: j,
|
|
455
455
|
offset: function (t) {
|
|
@@ -1288,12 +1288,12 @@ function requireHighcharts() {
|
|
|
1288
1288
|
isArray: tR,
|
|
1289
1289
|
isNumber: tW,
|
|
1290
1290
|
isObject: tH,
|
|
1291
|
-
merge:
|
|
1292
|
-
objectEach:
|
|
1291
|
+
merge: tX,
|
|
1292
|
+
objectEach: tF,
|
|
1293
1293
|
pick: tG
|
|
1294
1294
|
} = V;
|
|
1295
1295
|
function tj(t) {
|
|
1296
|
-
return tH(t) ?
|
|
1296
|
+
return tH(t) ? tX({
|
|
1297
1297
|
duration: 500,
|
|
1298
1298
|
defer: 0
|
|
1299
1299
|
}, t) : {
|
|
@@ -1316,7 +1316,7 @@ function requireHighcharts() {
|
|
|
1316
1316
|
duration: n[2],
|
|
1317
1317
|
easing: n[3],
|
|
1318
1318
|
complete: n[4]
|
|
1319
|
-
}), tW(i.duration) || (i.duration = 400), i.easing = "function" == typeof i.easing ? i.easing : Math[i.easing] || Math.easeInOutSine, i.curAnim =
|
|
1319
|
+
}), tW(i.duration) || (i.duration = 400), i.easing = "function" == typeof i.easing ? i.easing : Math[i.easing] || Math.easeInOutSine, i.curAnim = tX(e), tF(e, function (n, h) {
|
|
1320
1320
|
tY(t, h), a = new tB(t, i, h), r = void 0, "d" === h && tR(e.d) ? (a.paths = a.initPath(t, t.pathArray, e.d), a.toD = e.d, s = 0, r = 1) : t.attr ? s = t.attr(h) : (s = parseFloat(tz(t, h)) || 0, "opacity" !== h && (o = "px")), r || (r = n), "string" == typeof r && r.match("px") && (r = r.replace(/px/g, "")), a.run(s, r, o);
|
|
1321
1321
|
});
|
|
1322
1322
|
},
|
|
@@ -1410,7 +1410,7 @@ function requireHighcharts() {
|
|
|
1410
1410
|
t = t.trim().replace(/ style=(["'])/g, " data-style=$1");
|
|
1411
1411
|
try {
|
|
1412
1412
|
e = new DOMParser().parseFromString(t3 ? t3.createHTML(t) : t, "text/html");
|
|
1413
|
-
} catch
|
|
1413
|
+
} catch {}
|
|
1414
1414
|
if (!e) {
|
|
1415
1415
|
let i = t_("div");
|
|
1416
1416
|
i.innerHTML = t, e = {
|
|
@@ -1662,8 +1662,8 @@ function requireHighcharts() {
|
|
|
1662
1662
|
getAlignFactor: eR,
|
|
1663
1663
|
isArray: eW,
|
|
1664
1664
|
isFunction: eH,
|
|
1665
|
-
isNumber:
|
|
1666
|
-
isObject:
|
|
1665
|
+
isNumber: eX,
|
|
1666
|
+
isObject: eF,
|
|
1667
1667
|
isString: eG,
|
|
1668
1668
|
merge: ej,
|
|
1669
1669
|
objectEach: eY,
|
|
@@ -1869,7 +1869,7 @@ function requireHighcharts() {
|
|
|
1869
1869
|
}), r) {
|
|
1870
1870
|
e && (t = eN(e, i)), null === t.width || "auto" === t.width ? delete this.textWidth : "text" === s.nodeName.toLowerCase() && t.width && (o = this.textWidth = e$(t.width)), eN(this.styles, t), o && !eS && this.renderer.forExport && delete t.width;
|
|
1871
1871
|
let r = eA && t.fontSize || null;
|
|
1872
|
-
r && (
|
|
1872
|
+
r && (eX(r) || /^\d+$/.test(r)) && (t.fontSize += "px");
|
|
1873
1873
|
let a = ej(t);
|
|
1874
1874
|
s.namespaceURI === this.SVG_NS && (["textOutline", "textOverflow", "whiteSpace", "width"].forEach(t => a && delete a[t]), a.color && (a.fill = a.color, delete a.color)), eI(s, a);
|
|
1875
1875
|
}
|
|
@@ -1949,7 +1949,7 @@ function requireHighcharts() {
|
|
|
1949
1949
|
x: 0,
|
|
1950
1950
|
y: 0
|
|
1951
1951
|
}, eH(o) && o("");
|
|
1952
|
-
} catch
|
|
1952
|
+
} catch {}
|
|
1953
1953
|
(!i || i.width < 0) && (i = {
|
|
1954
1954
|
x: 0,
|
|
1955
1955
|
y: 0,
|
|
@@ -2073,7 +2073,7 @@ function requireHighcharts() {
|
|
|
2073
2073
|
i = ej(this.parentGroup?.rotation === 90 ? {
|
|
2074
2074
|
offsetX: -1,
|
|
2075
2075
|
offsetY: -1
|
|
2076
|
-
} : {},
|
|
2076
|
+
} : {}, eF(t) ? t : {}),
|
|
2077
2077
|
s = e.shadowDefinition(i);
|
|
2078
2078
|
return this.attr({
|
|
2079
2079
|
filter: t ? `url(${e.url}#${s})` : "none"
|
|
@@ -2318,10 +2318,10 @@ function requireHighcharts() {
|
|
|
2318
2318
|
return (this.widthSetting || this.bBox.width || 0) + e + i;
|
|
2319
2319
|
}
|
|
2320
2320
|
xSetter(t) {
|
|
2321
|
-
this.x = t, this.alignFactor && (t -= this.alignFactor * this.getPaddedWidth(), this["forceAnimate:x"] = true), this.xSetting = Math.round(t), this.attr("translateX", this.xSetting);
|
|
2321
|
+
this.x = t, this.alignFactor && (t -= this.alignFactor * this.getPaddedWidth(), this["forceAnimate:x"] = true), this.anchorX && (this["forceAnimate:anchorX"] = true), this.xSetting = Math.round(t), this.attr("translateX", this.xSetting);
|
|
2322
2322
|
}
|
|
2323
2323
|
ySetter(t) {
|
|
2324
|
-
this.ySetting = this.y = Math.round(t), this.attr("translateY", this.ySetting);
|
|
2324
|
+
this.anchorY && (this["forceAnimate:anchorY"] = true), this.ySetting = this.y = Math.round(t), this.attr("translateY", this.ySetting);
|
|
2325
2325
|
}
|
|
2326
2326
|
}
|
|
2327
2327
|
e9.emptyBBox = {
|
|
@@ -2556,7 +2556,7 @@ function requireHighcharts() {
|
|
|
2556
2556
|
a = t.parentNode;
|
|
2557
2557
|
if (a && void 0 === c[r] && a.getSubStringLength) try {
|
|
2558
2558
|
c[r] = s + a.getSubStringLength(0, i ? r + 1 : r);
|
|
2559
|
-
} catch
|
|
2559
|
+
} catch {}
|
|
2560
2560
|
return c[r];
|
|
2561
2561
|
};
|
|
2562
2562
|
if (l.rotation = 0, s + (h = f(t.textContent.length)) > o) {
|
|
@@ -2599,8 +2599,8 @@ function requireHighcharts() {
|
|
|
2599
2599
|
isNumber: iR,
|
|
2600
2600
|
isObject: iW,
|
|
2601
2601
|
isString: iH,
|
|
2602
|
-
merge:
|
|
2603
|
-
pick:
|
|
2602
|
+
merge: iX,
|
|
2603
|
+
pick: iF,
|
|
2604
2604
|
pInt: iG,
|
|
2605
2605
|
replaceNested: ij,
|
|
2606
2606
|
uniqueKey: iY
|
|
@@ -2614,7 +2614,7 @@ function requireHighcharts() {
|
|
|
2614
2614
|
class: "highcharts-root"
|
|
2615
2615
|
}),
|
|
2616
2616
|
d = l.element;
|
|
2617
|
-
a || l.css(this.getStyle(s || {})), t.appendChild(d), iL(t, "dir", "ltr"), -1 === t.innerHTML.indexOf("xmlns") && iL(d, "xmlns", this.SVG_NS), this.box = d, this.boxWrapper = l, this.alignedObjects = [], this.url = this.getReferenceURL(), this.createElement("desc").add().element.appendChild(iv.createTextNode("Created with Highcharts 12.
|
|
2617
|
+
a || l.css(this.getStyle(s || {})), t.appendChild(d), iL(t, "dir", "ltr"), -1 === t.innerHTML.indexOf("xmlns") && iL(d, "xmlns", this.SVG_NS), this.box = d, this.boxWrapper = l, this.alignedObjects = [], this.url = this.getReferenceURL(), this.createElement("desc").add().element.appendChild(iv.createTextNode("Created with Highcharts 12.4.0")), this.defs = this.createElement("defs").add(), this.allowHTML = r, this.forExport = o, this.styledMode = a, this.gradients = {}, this.cache = {}, this.cacheKeys = [], this.imgCount = 0, this.rootFontSize = l.getStyle("font-size"), this.setSize(e, i, false), ik && t.getBoundingClientRect && ((n = function () {
|
|
2618
2618
|
iI(t, {
|
|
2619
2619
|
left: 0,
|
|
2620
2620
|
top: 0
|
|
@@ -2704,7 +2704,7 @@ function requireHighcharts() {
|
|
|
2704
2704
|
}
|
|
2705
2705
|
shadowDefinition(t) {
|
|
2706
2706
|
let e = [`highcharts-drop-shadow-${this.chartIndex}`, ...Object.keys(t).map(e => `${e}-${t[e]}`)].join("-").toLowerCase().replace(/[^a-z\d\-]/g, ""),
|
|
2707
|
-
i =
|
|
2707
|
+
i = iX({
|
|
2708
2708
|
color: "#000000",
|
|
2709
2709
|
offsetX: 1,
|
|
2710
2710
|
offsetY: 1,
|
|
@@ -2754,14 +2754,14 @@ function requireHighcharts() {
|
|
|
2754
2754
|
c = this.styledMode,
|
|
2755
2755
|
p = arguments,
|
|
2756
2756
|
g = 0;
|
|
2757
|
-
o =
|
|
2757
|
+
o = iX(ix.global.buttonTheme, o), c && (delete o.fill, delete o.stroke, delete o["stroke-width"]);
|
|
2758
2758
|
let u = o.states || {},
|
|
2759
2759
|
f = o.style || {};
|
|
2760
2760
|
delete o.states, delete o.style;
|
|
2761
2761
|
let m = [t6.filterUserAttributes(o)],
|
|
2762
2762
|
x = [f];
|
|
2763
2763
|
return c || ["hover", "select", "disabled"].forEach((t, e) => {
|
|
2764
|
-
m.push(
|
|
2764
|
+
m.push(iX(m[0], t6.filterUserAttributes(p[e + 5] || u[t] || {}))), x.push(m[e + 1].style), delete m[e + 1].style;
|
|
2765
2765
|
}), iP(d.element, iw ? "mouseover" : "mouseenter", function () {
|
|
2766
2766
|
3 !== g && d.setState(1);
|
|
2767
2767
|
}), iP(d.element, iw ? "mouseout" : "mouseleave", function () {
|
|
@@ -2842,7 +2842,7 @@ function requireHighcharts() {
|
|
|
2842
2842
|
viewBox: "0 0 " + this.attr("width") + " " + this.attr("height")
|
|
2843
2843
|
});
|
|
2844
2844
|
},
|
|
2845
|
-
duration:
|
|
2845
|
+
duration: iF(i, true) ? void 0 : 0
|
|
2846
2846
|
}), this.alignElements();
|
|
2847
2847
|
}
|
|
2848
2848
|
g(t) {
|
|
@@ -2892,7 +2892,7 @@ function requireHighcharts() {
|
|
|
2892
2892
|
}), r && iN(a, r);else if (p) {
|
|
2893
2893
|
h = t.match(c)[1];
|
|
2894
2894
|
let s = a = this.image(h);
|
|
2895
|
-
s.imgwidth =
|
|
2895
|
+
s.imgwidth = iF(r?.width, iC[h]?.width), s.imgheight = iF(r?.height, iC[h]?.height), l = t => t.attr({
|
|
2896
2896
|
width: t.width,
|
|
2897
2897
|
height: t.height
|
|
2898
2898
|
}), ["width", "height"].forEach(t => {
|
|
@@ -2951,7 +2951,7 @@ function requireHighcharts() {
|
|
|
2951
2951
|
}), r;
|
|
2952
2952
|
}
|
|
2953
2953
|
fontMetrics(t) {
|
|
2954
|
-
let e = iG(eJ.prototype.getStyle.call(t, "font-size") || 0),
|
|
2954
|
+
let e = iR(t) ? t : iG(eJ.prototype.getStyle.call(t, "font-size") || 0),
|
|
2955
2955
|
i = e < 24 ? e + 3 : Math.round(1.2 * e),
|
|
2956
2956
|
s = Math.round(.8 * i);
|
|
2957
2957
|
return {
|
|
@@ -3135,10 +3135,10 @@ function requireHighcharts() {
|
|
|
3135
3135
|
width: "",
|
|
3136
3136
|
whiteSpace: d || "nowrap"
|
|
3137
3137
|
}), t.offsetWidth),
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
(
|
|
3141
|
-
width: (o || n || e >
|
|
3138
|
+
r = p || 0,
|
|
3139
|
+
a = !s.styledMode && "" === t.style.textOverflow && t.style.webkitLineClamp;
|
|
3140
|
+
(r > i || e > r || a) && (/[\-\s\u00AD]/.test(t.textContent || t.innerText) || "ellipsis" === t.style.textOverflow) && (i_(t, {
|
|
3141
|
+
width: (o || n || e > r || a) && i0(p) ? p + "px" : "auto",
|
|
3142
3142
|
display: l,
|
|
3143
3143
|
whiteSpace: d || "normal"
|
|
3144
3144
|
}), this.oldTextWidth = p);
|
|
@@ -3629,13 +3629,13 @@ function requireHighcharts() {
|
|
|
3629
3629
|
merge: sR,
|
|
3630
3630
|
normalizeTickInterval: sW,
|
|
3631
3631
|
objectEach: sH,
|
|
3632
|
-
pick:
|
|
3633
|
-
relativeLength:
|
|
3632
|
+
pick: sX,
|
|
3633
|
+
relativeLength: sF,
|
|
3634
3634
|
removeEvent: sG,
|
|
3635
3635
|
splat: sj,
|
|
3636
3636
|
syncTimeout: sY
|
|
3637
3637
|
} = V,
|
|
3638
|
-
sU = (t, e) => sW(e, void 0, void 0,
|
|
3638
|
+
sU = (t, e) => sW(e, void 0, void 0, sX(t.options.allowDecimals, e < .5 || void 0 !== t.tickAmount), !!t.tickAmount);
|
|
3639
3639
|
sO(sb, {
|
|
3640
3640
|
xAxis: sx,
|
|
3641
3641
|
yAxis: sR(sx, sy)
|
|
@@ -3649,11 +3649,11 @@ function requireHighcharts() {
|
|
|
3649
3649
|
o = this.isZAxis || (t.inverted ? !s : s);
|
|
3650
3650
|
this.chart = t, this.horiz = o, this.isXAxis = s, this.coll = i, sE(this, "init", {
|
|
3651
3651
|
userOptions: e
|
|
3652
|
-
}), this.opposite =
|
|
3652
|
+
}), this.opposite = sX(e.opposite, this.opposite), this.side = sX(e.side, this.side, o ? 2 * !this.opposite : this.opposite ? 1 : 3), this.setOptions(e);
|
|
3653
3653
|
let r = this.options,
|
|
3654
3654
|
a = r.labels;
|
|
3655
|
-
this.type ?? (this.type = r.type || "linear"), this.uniqueNames ?? (this.uniqueNames = r.uniqueNames ?? true), sE(this, "afterSetType"), this.userOptions = e, this.minPixelPadding = 0, this.reversed =
|
|
3656
|
-
let n =
|
|
3655
|
+
this.type ?? (this.type = r.type || "linear"), this.uniqueNames ?? (this.uniqueNames = r.uniqueNames ?? true), sE(this, "afterSetType"), this.userOptions = e, this.minPixelPadding = 0, this.reversed = sX(r.reversed, this.reversed), this.visible = r.visible, this.zoomEnabled = r.zoomEnabled, this.hasNames = "category" === this.type || true === r.categories, this.categories = sB(r.categories) && r.categories || (this.hasNames ? [] : void 0), this.names || (this.names = [], this.names.keys = {}), this.plotLinesAndBandsGroups = {}, this.positiveValuesOnly = !!this.logarithmic, this.isLinked = sC(r.linkedTo), this.ticks = {}, this.labelEdge = [], this.minorTicks = {}, this.plotLinesAndBands = [], this.alternateBands = {}, this.len ?? (this.len = 0), this.minRange = this.userMinRange = r.minRange || r.maxZoom, this.range = r.range, this.offset = r.offset || 0, this.max = void 0, this.min = void 0;
|
|
3656
|
+
let n = sX(r.crosshair, sj(t.options.tooltip.crosshairs)[+!s]);
|
|
3657
3657
|
this.crosshair = true === n ? {} : n, -1 === t.axes.indexOf(this) && (s ? t.axes.splice(t.xAxis.length, 0, this) : t.axes.push(this), sD(this, t[this.coll])), t.orderItems(this.coll), this.series = this.series || [], t.inverted && !this.isZAxis && s && !sC(this.reversed) && (this.reversed = true), this.labelRotation = sN(a.rotation) ? a.rotation : void 0, sv(this, r), sE(this, "afterInit");
|
|
3658
3658
|
}
|
|
3659
3659
|
setOptions(t) {
|
|
@@ -3709,9 +3709,9 @@ function requireHighcharts() {
|
|
|
3709
3709
|
r = s.threshold,
|
|
3710
3710
|
a,
|
|
3711
3711
|
n;
|
|
3712
|
-
if (e.hasVisibleSeries = true, e.positiveValuesOnly && 0 >= (r || 0) && (r = void 0), e.isXAxis) (o = i.getColumn("x")).length && (o = e.logarithmic ? o.filter(t => t > 0) : o, a = (t = i.getXExtremes(o)).min, n = t.max, sN(a) || a instanceof Date || (o = o.filter(sN), a = (t = i.getXExtremes(o)).min, n = t.max), o.length && (e.dataMin = Math.min(
|
|
3712
|
+
if (e.hasVisibleSeries = true, e.positiveValuesOnly && 0 >= (r || 0) && (r = void 0), e.isXAxis) (o = i.getColumn("x")).length && (o = e.logarithmic ? o.filter(t => t > 0) : o, a = (t = i.getXExtremes(o)).min, n = t.max, sN(a) || a instanceof Date || (o = o.filter(sN), a = (t = i.getXExtremes(o)).min, n = t.max), o.length && (e.dataMin = Math.min(sX(e.dataMin, a), a), e.dataMax = Math.max(sX(e.dataMax, n), n)));else {
|
|
3713
3713
|
let t = i.applyExtremes();
|
|
3714
|
-
sN(t.dataMin) && (a = t.dataMin, e.dataMin = Math.min(
|
|
3714
|
+
sN(t.dataMin) && (a = t.dataMin, e.dataMin = Math.min(sX(e.dataMin, a), a)), sN(t.dataMax) && (n = t.dataMax, e.dataMax = Math.max(sX(e.dataMax, n), n)), sC(r) && (e.threshold = r), (!s.softThreshold || e.positiveValuesOnly) && (e.softThreshold = false);
|
|
3715
3715
|
}
|
|
3716
3716
|
}
|
|
3717
3717
|
});
|
|
@@ -3722,7 +3722,7 @@ function requireHighcharts() {
|
|
|
3722
3722
|
n = s && a.old ? a.old.min : a.min;
|
|
3723
3723
|
if (!sN(n)) return NaN;
|
|
3724
3724
|
let h = a.minPixelPadding,
|
|
3725
|
-
l = (a.isOrdinal || a.brokenAxis?.hasBreaks || a.logarithmic && o) && a.lin2val,
|
|
3725
|
+
l = (a.isOrdinal || a.brokenAxis?.hasBreaks || a.logarithmic && o) && !!a.lin2val,
|
|
3726
3726
|
d = 1,
|
|
3727
3727
|
c = 0,
|
|
3728
3728
|
p = s && a.old ? a.old.transA : a.transA,
|
|
@@ -3765,7 +3765,7 @@ function requireHighcharts() {
|
|
|
3765
3765
|
translatedValue: c
|
|
3766
3766
|
};
|
|
3767
3767
|
return sE(this, "getPlotLinePath", b, function (t) {
|
|
3768
|
-
g = f = (c = sS(c =
|
|
3768
|
+
g = f = (c = sS(c = sX(c, e.translate(a, void 0, void 0, r)), -1e9, 1e9)) + d, u = m = h - c - d, sN(c) ? e.horiz ? (u = o, m = h - e.bottom + (e.options.isInternal ? 0 : i.scrollablePixelsY || 0), g = f = y(g, s, s + e.width)) : (g = s, f = l - e.right + (i.scrollablePixelsX || 0), u = m = y(u, o, o + e.height)) : (x = true, p = false), t.path = x && !p ? void 0 : i.renderer.crispLine([["M", g, u], ["L", f, m]], n || 1);
|
|
3769
3769
|
}), b.path;
|
|
3770
3770
|
}
|
|
3771
3771
|
getLinearTickPositions(t, e, i) {
|
|
@@ -3784,7 +3784,7 @@ function requireHighcharts() {
|
|
|
3784
3784
|
minorTicks: t,
|
|
3785
3785
|
minorTickInterval: e
|
|
3786
3786
|
} = this.options;
|
|
3787
|
-
return true === t ?
|
|
3787
|
+
return true === t ? sX(e, "auto") : false !== t ? e : void 0;
|
|
3788
3788
|
}
|
|
3789
3789
|
getMinorTickPositions() {
|
|
3790
3790
|
let t = this.options,
|
|
@@ -3839,7 +3839,7 @@ function requireHighcharts() {
|
|
|
3839
3839
|
i = e ? this.categories : this.names,
|
|
3840
3840
|
s = t.options.x,
|
|
3841
3841
|
o;
|
|
3842
|
-
return t.series.requireSorting = false, sC(s) || (s = this.uniqueNames && i ? e ? i.indexOf(t.name) :
|
|
3842
|
+
return t.series.requireSorting = false, sC(s) || (s = this.uniqueNames && i ? e ? i.indexOf(t.name) : sX(i.keys[t.name], -1) : t.series.autoIncrement()), -1 === s ? !e && i && (o = i.length) : sN(s) && (o = s), void 0 !== o ? (this.names[o] = t.name, this.names.keys[t.name] = o) : t.x && (o = t.x), o;
|
|
3843
3843
|
}
|
|
3844
3844
|
updateNames() {
|
|
3845
3845
|
let t = this,
|
|
@@ -3868,7 +3868,7 @@ function requireHighcharts() {
|
|
|
3868
3868
|
l,
|
|
3869
3869
|
d = t.transA;
|
|
3870
3870
|
(o || s || r) && (a = t.getClosest(), i ? (n = i.minPointOffset, h = i.pointRangePadding) : t.series.forEach(function (e) {
|
|
3871
|
-
let i = s ? 1 : o ?
|
|
3871
|
+
let i = s ? 1 : o ? sX(e.options.pointRange, a, 0) : t.axisPointRange || 0,
|
|
3872
3872
|
l = e.options.pointPlacement;
|
|
3873
3873
|
if (r = Math.max(r, i), !t.single || s) {
|
|
3874
3874
|
let t = e.is("xrange") ? !o : o;
|
|
@@ -3916,14 +3916,14 @@ function requireHighcharts() {
|
|
|
3916
3916
|
C,
|
|
3917
3917
|
A,
|
|
3918
3918
|
P;
|
|
3919
|
-
if (r || e || y || this.getTickAmount(), A =
|
|
3919
|
+
if (r || e || y || this.getTickAmount(), A = sX(this.userMin, d.parse(h.min)), P = sX(this.userMax, d.parse(h.max)), y ? (this.linkedParent = y, M = y.getExtremes(), this.min = sX(M.min, M.dataMin), this.max = sX(M.max, M.dataMax), this.type !== y.type && sL(11, true, i)) : (l && sC(c) && sN(s) && sN(o) && (o >= c ? (T = c, k = 0) : s <= c && (C = c, v = 0)), this.min = sX(A, T, o), this.max = sX(P, C, s)), sN(this.max) && sN(this.min) && (n && (this.positiveValuesOnly && !t && 0 >= Math.min(this.min, sX(o, this.min)) && sL(10, true, i), this.min = sT(n.log2lin(this.min), 16), this.max = sT(n.log2lin(this.max), 16)), this.range && sN(o) && (this.userMin = this.min = A = Math.max(o, this.minFromRange() || 0), this.userMax = P = this.max, this.range = void 0)), sE(this, "foundExtremes"), this.adjustForMinRange(), sN(this.min) && sN(this.max)) {
|
|
3920
3920
|
if (!sN(this.userMin) && sN(x) && x < this.min && (this.min = A = x), !sN(this.userMax) && sN(m) && m > this.max && (this.max = P = m), e || this.axisPointRange || this.stacking?.usePercentage || y || (w = this.max - this.min) && (!sC(A) && k && (this.min -= w * k), !sC(P) && v && (this.max += w * v)), !sN(this.userMin) && sN(u) && (this.min = Math.max(this.min, u)), !sN(this.userMax) && sN(g) && (this.max = Math.min(this.max, g)), l && sN(o) && sN(s)) {
|
|
3921
3921
|
let t = c || 0;
|
|
3922
3922
|
!sC(A) && this.min < t && o >= t ? this.min = h.minRange ? Math.min(t, this.max - p) : t : !sC(P) && this.max > t && s <= t && (this.max = h.minRange ? Math.max(t, this.min + p) : t);
|
|
3923
3923
|
}
|
|
3924
3924
|
!i.polar && this.min > this.max && (sC(h.min) ? this.max = this.min : sC(h.max) && (this.min = this.max)), w = this.max - this.min;
|
|
3925
3925
|
}
|
|
3926
|
-
if (this.min !== this.max && sN(this.min) && sN(this.max) ? y && !S && b === y.options.tickPixelInterval ? this.tickInterval = S = y.tickInterval : this.tickInterval =
|
|
3926
|
+
if (this.min !== this.max && sN(this.min) && sN(this.max) ? y && !S && b === y.options.tickPixelInterval ? this.tickInterval = S = y.tickInterval : this.tickInterval = sX(S, this.tickAmount ? w / Math.max(this.tickAmount - 1, 1) : void 0, e ? 1 : w * b / Math.max(this.len, b)) : this.tickInterval = 1, a && !t) {
|
|
3927
3927
|
let t = this.min !== this.old?.min || this.max !== this.old?.max;
|
|
3928
3928
|
this.series.forEach(function (e) {
|
|
3929
3929
|
e.forceCrop = e.forceCropping?.(), e.processData(t);
|
|
@@ -3932,7 +3932,7 @@ function requireHighcharts() {
|
|
|
3932
3932
|
});
|
|
3933
3933
|
}
|
|
3934
3934
|
this.setAxisTranslation(), sE(this, "initialAxisTranslation"), this.pointRange && !S && (this.tickInterval = Math.max(this.pointRange, this.tickInterval));
|
|
3935
|
-
let L =
|
|
3935
|
+
let L = sX(h.minTickInterval, r && !this.series.some(t => !t.sorted) ? this.closestPointRange : 0);
|
|
3936
3936
|
!S && L && this.tickInterval < L && (this.tickInterval = L), r || n || S || (this.tickInterval = sU(this, this.tickInterval)), this.tickAmount || (this.tickInterval = this.unsquish()), this.setTickPositions();
|
|
3937
3937
|
}
|
|
3938
3938
|
setTickPositions() {
|
|
@@ -4026,7 +4026,7 @@ function requireHighcharts() {
|
|
|
4026
4026
|
thresholdAlignment: n
|
|
4027
4027
|
} = t,
|
|
4028
4028
|
h = r?.length,
|
|
4029
|
-
l =
|
|
4029
|
+
l = sX(t.threshold, t.softThreshold ? 0 : null),
|
|
4030
4030
|
d,
|
|
4031
4031
|
c,
|
|
4032
4032
|
p = t.tickInterval,
|
|
@@ -4083,10 +4083,10 @@ function requireHighcharts() {
|
|
|
4083
4083
|
e = this.options,
|
|
4084
4084
|
i = e.offsets || [0, 0, 0, 0],
|
|
4085
4085
|
s = this.horiz,
|
|
4086
|
-
o = this.width = Math.round(sX(
|
|
4087
|
-
r = this.height = Math.round(sX(
|
|
4088
|
-
a = this.top = Math.round(sX(
|
|
4089
|
-
n = this.left = Math.round(sX(
|
|
4086
|
+
o = this.width = Math.round(sF(sX(e.width, t.plotWidth - i[3] + i[1]), t.plotWidth)),
|
|
4087
|
+
r = this.height = Math.round(sF(sX(e.height, t.plotHeight - i[0] + i[2]), t.plotHeight)),
|
|
4088
|
+
a = this.top = Math.round(sF(sX(e.top, t.plotTop + i[0]), t.plotHeight, t.plotTop)),
|
|
4089
|
+
n = this.left = Math.round(sF(sX(e.left, t.plotLeft + i[3]), t.plotWidth, t.plotLeft));
|
|
4090
4090
|
this.bottom = t.chartHeight - r - a, this.right = t.chartWidth - o - n, this.len = Math.max(s ? o : r, 0), this.pos = s ? n : a;
|
|
4091
4091
|
}
|
|
4092
4092
|
getExtremes() {
|
|
@@ -4107,7 +4107,7 @@ function requireHighcharts() {
|
|
|
4107
4107
|
return null === t || t === -1 / 0 ? t = i : t === 1 / 0 ? t = s : i > t ? t = i : s < t && (t = s), this.translate(t, 0, 1, 0, 1);
|
|
4108
4108
|
}
|
|
4109
4109
|
autoLabelAlign(t) {
|
|
4110
|
-
let e = (
|
|
4110
|
+
let e = (sX(t, 0) - 90 * this.side + 720) % 360,
|
|
4111
4111
|
i = {
|
|
4112
4112
|
align: "center"
|
|
4113
4113
|
};
|
|
@@ -4117,7 +4117,7 @@ function requireHighcharts() {
|
|
|
4117
4117
|
}
|
|
4118
4118
|
tickSize(t) {
|
|
4119
4119
|
let e = this.options,
|
|
4120
|
-
i =
|
|
4120
|
+
i = sX(e["tick" === t ? "tickWidth" : "minorTickWidth"], "tick" === t && this.isXAxis && !this.categories ? 1 : 0),
|
|
4121
4121
|
s = e["tick" === t ? "tickLength" : "minorTickLength"],
|
|
4122
4122
|
o;
|
|
4123
4123
|
i && s && ("inside" === e[t + "Position"] && (s = -s), o = [s, i]);
|
|
@@ -4155,7 +4155,7 @@ function requireHighcharts() {
|
|
|
4155
4155
|
for (let i of p) (i === r || i && i >= -90 && i <= 90) && (e = (t = h(Math.abs(a / Math.sin(sk * i)))) + Math.abs(i / 360)) < c && (c = e, d = i, l = t);
|
|
4156
4156
|
}
|
|
4157
4157
|
} else l = h(.75 * a);
|
|
4158
|
-
return this.autoRotation = p, this.labelRotation =
|
|
4158
|
+
return this.autoRotation = p, this.labelRotation = sX(d, sN(r) ? r : 0), t.step ? s : l;
|
|
4159
4159
|
}
|
|
4160
4160
|
getSlotWidth(t) {
|
|
4161
4161
|
let e = this.chart,
|
|
@@ -4168,7 +4168,7 @@ function requireHighcharts() {
|
|
|
4168
4168
|
if (!i) {
|
|
4169
4169
|
let t = s.style.width;
|
|
4170
4170
|
if (void 0 !== t) return parseInt(String(t), 10);
|
|
4171
|
-
if (r) return r - e.spacing[3];
|
|
4171
|
+
if (!this.opposite && r) return r - e.spacing[3];
|
|
4172
4172
|
}
|
|
4173
4173
|
return .33 * e.chartWidth;
|
|
4174
4174
|
}
|
|
@@ -4282,14 +4282,14 @@ function requireHighcharts() {
|
|
|
4282
4282
|
}), t.renderUnsquish(), t.reserveSpaceDefault = 0 === o || 2 === o || {
|
|
4283
4283
|
1: "left",
|
|
4284
4284
|
3: "right"
|
|
4285
|
-
}[o] === t.labelAlign,
|
|
4285
|
+
}[o] === t.labelAlign, sX(c.reserveSpace, !p && null, "center" === t.labelAlign || null, t.reserveSpaceDefault) && a.forEach(function (t) {
|
|
4286
4286
|
v = Math.max(r[t].getLabelSize(), v);
|
|
4287
4287
|
}), t.staggerLines && (v *= t.staggerLines), t.labelOffset = v * (t.opposite ? -1 : 1)) : sH(r, function (t, e) {
|
|
4288
4288
|
t.destroy(), delete r[e];
|
|
4289
|
-
}), d?.text && false !== d.enabled && (t.addTitle(m), m && !p && false !== d.reserveSpace && (t.titleOffset = x = t.axisTitle.getBBox()[i ? "height" : "width"], b = sC(y = d.offset) ? 0 :
|
|
4289
|
+
}), d?.text && false !== d.enabled && (t.addTitle(m), m && !p && false !== d.reserveSpace && (t.titleOffset = x = t.axisTitle.getBBox()[i ? "height" : "width"], b = sC(y = d.offset) ? 0 : sX(d.margin, i ? 5 : 10))), t.renderLine(), t.offset = f * sX(s.offset, g[o] ? g[o] + (s.margin || 0) : 0), t.tickRotCorr = t.tickRotCorr || {
|
|
4290
4290
|
x: 0,
|
|
4291
4291
|
y: 0
|
|
4292
|
-
}, w = 0 === o ? -t.labelMetrics().h : 2 === o ? t.tickRotCorr.y : 0, k = Math.abs(v) + b, v && (k -= w, k += f * (i ?
|
|
4292
|
+
}, w = 0 === o ? -t.labelMetrics().h : 2 === o ? t.tickRotCorr.y : 0, k = Math.abs(v) + b, v && (k -= w, k += f * (i ? sX(c.y, t.tickRotCorr.y + f * c.distance) : sX(c.x, f * c.distance))), t.axisTitleMargin = sX(y, k), t.getMaxLabelDimensions && (t.maxLabelDimensions = t.getMaxLabelDimensions(r, a)), "colorAxis" !== n && u) {
|
|
4293
4293
|
let e = this.tickSize("tick");
|
|
4294
4294
|
g[o] = Math.max(g[o], (t.axisTitleMargin || 0) + x + f * t.offset, k, a?.length && e ? e[0] + f * t.offset : 0);
|
|
4295
4295
|
let i = !t.axisLine || s.offset ? 0 : t.axisLine.strokeWidth() / 2;
|
|
@@ -4461,8 +4461,8 @@ function requireHighcharts() {
|
|
|
4461
4461
|
e: t,
|
|
4462
4462
|
point: e
|
|
4463
4463
|
}), t || (t = this.cross?.e), i && false !== (sC(e) || !s)) {
|
|
4464
|
-
if (s ? sC(e) && (a =
|
|
4465
|
-
value: e && (this.isXAxis ? e.x :
|
|
4464
|
+
if (s ? sC(e) && (a = sX("colorAxis" !== this.coll ? e.crosshairPos : null, this.isXAxis ? e.plotX : this.len - e.plotY)) : a = t && (this.horiz ? t.chartX - this.pos : this.len - t.chartY + this.pos), sC(a) && (l = {
|
|
4465
|
+
value: e && (this.isXAxis ? e.x : sX(e.stackY, e.y)),
|
|
4466
4466
|
translatedValue: a
|
|
4467
4467
|
}, o.polar && sO(l, {
|
|
4468
4468
|
isCrosshair: true,
|
|
@@ -4471,10 +4471,10 @@ function requireHighcharts() {
|
|
|
4471
4471
|
point: e
|
|
4472
4472
|
}), r = this.getPlotLinePath(l) || null), !sC(r)) return void this.hideCrosshair();
|
|
4473
4473
|
n = this.categories && !this.isRadial, h || (this.cross = h = o.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-" + (n ? "category " : "thin ") + (i.className || "")).attr({
|
|
4474
|
-
zIndex:
|
|
4474
|
+
zIndex: sX(i.zIndex, 2)
|
|
4475
4475
|
}).add(), !o.styledMode && (h.attr({
|
|
4476
4476
|
stroke: i.color || (n ? tL.parse("#ccd3ff").setOpacity(.25).get() : "#cccccc"),
|
|
4477
|
-
"stroke-width":
|
|
4477
|
+
"stroke-width": sX(i.width, 1)
|
|
4478
4478
|
}).css({
|
|
4479
4479
|
"pointer-events": "none"
|
|
4480
4480
|
}), i.dashStyle && h.attr({
|
|
@@ -4495,7 +4495,7 @@ function requireHighcharts() {
|
|
|
4495
4495
|
}
|
|
4496
4496
|
update(t, e) {
|
|
4497
4497
|
let i = this.chart;
|
|
4498
|
-
t = sR(this.userOptions, t), this.destroy(true), this.init(i, t), i.isDirtyBox = true,
|
|
4498
|
+
t = sR(this.userOptions, t), this.destroy(true), this.init(i, t), i.isDirtyBox = true, sX(e, true) && i.redraw();
|
|
4499
4499
|
}
|
|
4500
4500
|
remove(t) {
|
|
4501
4501
|
let e = this.chart,
|
|
@@ -4503,7 +4503,7 @@ function requireHighcharts() {
|
|
|
4503
4503
|
s = this.series,
|
|
4504
4504
|
o = s.length;
|
|
4505
4505
|
for (; o--;) s[o] && s[o].remove(false);
|
|
4506
|
-
sP(e.axes, this), sP(e[i] || [], this), e.orderItems(i), this.destroy(), e.isDirtyBox = true,
|
|
4506
|
+
sP(e.axes, this), sP(e[i] || [], this), e.orderItems(i), this.destroy(), e.isDirtyBox = true, sX(t, true) && e.redraw();
|
|
4507
4507
|
}
|
|
4508
4508
|
setTitle(t, e) {
|
|
4509
4509
|
this.update({
|
|
@@ -4816,7 +4816,7 @@ function requireHighcharts() {
|
|
|
4816
4816
|
class: "highcharts-plot-" + (i ? "band" : "line") + "-label " + (t.className || ""),
|
|
4817
4817
|
zIndex: s
|
|
4818
4818
|
}), o.chart.styledMode || n.css(os({
|
|
4819
|
-
color: o.chart.options.title?.style
|
|
4819
|
+
color: o.chart.options.title?.style?.color,
|
|
4820
4820
|
fontSize: "0.8em",
|
|
4821
4821
|
textOverflow: i && !a ? "" : "ellipsis"
|
|
4822
4822
|
}, t.style)), n.add());
|
|
@@ -5474,8 +5474,8 @@ function requireHighcharts() {
|
|
|
5474
5474
|
erase: oR,
|
|
5475
5475
|
extend: oW,
|
|
5476
5476
|
fireEvent: oH,
|
|
5477
|
-
getNestedProperty:
|
|
5478
|
-
isArray:
|
|
5477
|
+
getNestedProperty: oX,
|
|
5478
|
+
isArray: oF,
|
|
5479
5479
|
isFunction: oG,
|
|
5480
5480
|
isNumber: oj,
|
|
5481
5481
|
isObject: oY,
|
|
@@ -5570,7 +5570,7 @@ function requireHighcharts() {
|
|
|
5570
5570
|
}), r;
|
|
5571
5571
|
}
|
|
5572
5572
|
getNestedProperty(t) {
|
|
5573
|
-
if (t) return 0 === t.indexOf("custom.") ?
|
|
5573
|
+
if (t) return 0 === t.indexOf("custom.") ? oX(t, this.options) : this[t];
|
|
5574
5574
|
}
|
|
5575
5575
|
getZone() {
|
|
5576
5576
|
let t = this.series,
|
|
@@ -5599,7 +5599,7 @@ function requireHighcharts() {
|
|
|
5599
5599
|
a,
|
|
5600
5600
|
n = 0,
|
|
5601
5601
|
h = 0;
|
|
5602
|
-
if (oj(t) || null === t) r[s[0]] = t;else if (
|
|
5602
|
+
if (oj(t) || null === t) r[s[0]] = t;else if (oF(t)) for (!i && t.length > o && ("string" == (a = typeof t[0]) ? e.xAxis?.dateTime ? r.x = e.chart.time.parse(t[0]) : r.name = t[0] : "number" === a && (r.x = t[0]), n++); h < o;) i && void 0 === t[n] || (s[h].indexOf(".") > 0 ? oq.prototype.setNestedProperty(r, t[n], s[h]) : r[s[h]] = t[n]), n++, h++;else "object" == typeof t && (r = t, t.dataLabels && (e.hasDataLabels = () => true), t.marker && (e._hasPointMarkers = true));
|
|
5603
5603
|
return r;
|
|
5604
5604
|
}
|
|
5605
5605
|
pos(t, e = this.plotY) {
|
|
@@ -5791,12 +5791,13 @@ function requireHighcharts() {
|
|
|
5791
5791
|
class rr {
|
|
5792
5792
|
applyInactiveState(t = []) {
|
|
5793
5793
|
let e = [];
|
|
5794
|
-
t.forEach(t => {
|
|
5794
|
+
for (let i of (t.forEach(t => {
|
|
5795
5795
|
let i = t.series;
|
|
5796
5796
|
e.push(i), i.linkedParent && e.push(i.linkedParent), i.linkedSeries && e.push.apply(e, i.linkedSeries), i.navigatorSeries && e.push(i.navigatorSeries), i.boosted && i.markerGroup && e.push.apply(e, this.chart.series.filter(t => t.markerGroup === i.markerGroup));
|
|
5797
|
-
}), this.chart.series
|
|
5798
|
-
|
|
5799
|
-
|
|
5797
|
+
}), this.chart.series)) {
|
|
5798
|
+
let t = i.options;
|
|
5799
|
+
t.states?.inactive?.enabled !== false && (-1 === e.indexOf(i) ? i.setState("inactive", true) : t.inactiveOtherPoints && i.setAllPointsToState("inactive"));
|
|
5800
|
+
}
|
|
5800
5801
|
}
|
|
5801
5802
|
destroy() {
|
|
5802
5803
|
let t = this;
|
|
@@ -5905,7 +5906,7 @@ function requireHighcharts() {
|
|
|
5905
5906
|
}
|
|
5906
5907
|
i && o8(i.index) && (o5(i.container, {
|
|
5907
5908
|
cursor: i._cursor
|
|
5908
|
-
}), i.cancelClick = this.hasDragged > 10, i.mouseIsDown = false, this.hasDragged = 0, this.pinchDown = []);
|
|
5909
|
+
}), i.cancelClick = this.hasDragged > 10, i.mouseIsDown = false, this.hasDragged = 0, this.pinchDown = [], this.hasPinchMoved = false);
|
|
5909
5910
|
}
|
|
5910
5911
|
findNearestKDPoint(t, e, i) {
|
|
5911
5912
|
let s;
|
|
@@ -6090,7 +6091,7 @@ function requireHighcharts() {
|
|
|
6090
6091
|
}) || i?.shouldStickOnContact(o) || o.target !== e.container.ownerDocument && this.inClass(o.target, "highcharts-tracker") || this.reset();
|
|
6091
6092
|
}
|
|
6092
6093
|
onDocumentMouseUp(t) {
|
|
6093
|
-
oQ[ri(rr.hoverChartIndex, -1)]?.pointer?.drop(t);
|
|
6094
|
+
t?.touches && this.hasPinchMoved && t?.preventDefault?.(), oQ[ri(rr.hoverChartIndex, -1)]?.pointer?.drop(t);
|
|
6094
6095
|
}
|
|
6095
6096
|
pinch(t) {
|
|
6096
6097
|
let e = this,
|
|
@@ -6236,7 +6237,7 @@ function requireHighcharts() {
|
|
|
6236
6237
|
} = this;
|
|
6237
6238
|
this.setHoverChartIndex(), 1 === (t = this.normalize(t)).touches.length ? s.isInsidePlot(t.chartX - s.plotLeft, t.chartY - s.plotTop, {
|
|
6238
6239
|
visiblePlotOnly: true
|
|
6239
|
-
}) && !s.exporting?.openMenu ? (e && this.runPointActions(t), "touchmove" === t.type && (i = !!o[0] && Math.pow(o[0].chartX - t.chartX, 2) + Math.pow(o[0].chartY - t.chartY, 2) >= 16), ri(i, true) && this.pinch(t)) : e && this.reset() : 2 === t.touches.length && this.pinch(t);
|
|
6240
|
+
}) && !s.exporting?.openMenu ? (e && this.runPointActions(t), "touchmove" === t.type && (this.hasPinchMoved = i = !!o[0] && Math.pow(o[0].chartX - t.chartX, 2) + Math.pow(o[0].chartY - t.chartY, 2) >= 16), ri(i, true) && this.pinch(t)) : e && this.reset() : 2 === t.touches.length && this.pinch(t);
|
|
6240
6241
|
}
|
|
6241
6242
|
touchSelect(t) {
|
|
6242
6243
|
return !!(this.chart.zooming.singleTouch && t.touches && 1 === t.touches.length);
|
|
@@ -6415,7 +6416,7 @@ function requireHighcharts() {
|
|
|
6415
6416
|
}
|
|
6416
6417
|
t.seriesTypes = w.seriesTypes, t.registerSeriesType = e, t.seriesType = function (i, s, o, r, a) {
|
|
6417
6418
|
let n = rx.plotOptions || {};
|
|
6418
|
-
if (s = s || "", n[i] = rv(n[s], o), delete t.seriesTypes[i], e(i, rb(t.seriesTypes[s] ||
|
|
6419
|
+
if (s = s || "", n[i] = rv(n[s], o), delete t.seriesTypes[i], e(i, rb(t.seriesTypes[s] || r1, r)), t.seriesTypes[i].prototype.type = i, a) {
|
|
6419
6420
|
class e extends oK {}
|
|
6420
6421
|
ry(e.prototype, a), t.seriesTypes[i].prototype.pointClass = e;
|
|
6421
6422
|
}
|
|
@@ -6454,8 +6455,8 @@ function requireHighcharts() {
|
|
|
6454
6455
|
diffObjects: rR,
|
|
6455
6456
|
erase: rW,
|
|
6456
6457
|
error: rH,
|
|
6457
|
-
extend:
|
|
6458
|
-
find:
|
|
6458
|
+
extend: rX,
|
|
6459
|
+
find: rF,
|
|
6459
6460
|
fireEvent: rG,
|
|
6460
6461
|
getClosestDistance: rj,
|
|
6461
6462
|
getNestedProperty: rY,
|
|
@@ -6482,7 +6483,7 @@ function requireHighcharts() {
|
|
|
6482
6483
|
this.eventsToUnbind = [], this.chart = t, this.options = this.setOptions(e);
|
|
6483
6484
|
let o = this.options,
|
|
6484
6485
|
r = false !== o.visible;
|
|
6485
|
-
this.linkedSeries = [], this.bindAxes(),
|
|
6486
|
+
this.linkedSeries = [], this.bindAxes(), rX(this, {
|
|
6486
6487
|
name: o.name,
|
|
6487
6488
|
state: "",
|
|
6488
6489
|
visible: r,
|
|
@@ -6532,7 +6533,7 @@ function requireHighcharts() {
|
|
|
6532
6533
|
}
|
|
6533
6534
|
setDataSortingOptions() {
|
|
6534
6535
|
let t = this.options;
|
|
6535
|
-
|
|
6536
|
+
rX(this, {
|
|
6536
6537
|
requireSorting: false,
|
|
6537
6538
|
sorted: false,
|
|
6538
6539
|
enabledDataSorting: true,
|
|
@@ -6613,7 +6614,7 @@ function requireHighcharts() {
|
|
|
6613
6614
|
t instanceof oK && (i = t);
|
|
6614
6615
|
} else if (this.linkedParent || this.enabledDataSorting || this.options.relativeXValue) {
|
|
6615
6616
|
let e = e => !e.touched && e.index === t.index;
|
|
6616
|
-
if (h?.matchByName ? e = e => !e.touched && e.name === t.name : this.options.relativeXValue && (e = e => !e.touched && e.options.x === t.x), !(i =
|
|
6617
|
+
if (h?.matchByName ? e = e => !e.touched && e.name === t.name : this.options.relativeXValue && (e = e => !e.touched && e.options.x === t.x), !(i = rF(n, e))) return;
|
|
6617
6618
|
}
|
|
6618
6619
|
return i && void 0 !== (o = i?.index) && (s = true), void 0 === o && rV(a) && (o = this.getColumn("x").indexOf(a, e)), -1 !== o && void 0 !== o && this.cropped && (o = o >= l ? o - l : o), !s && rV(o) && n[o]?.touched && (o = void 0), o;
|
|
6619
6620
|
}
|
|
@@ -6839,7 +6840,7 @@ function requireHighcharts() {
|
|
|
6839
6840
|
let t = [];
|
|
6840
6841
|
t.length = e?.length || 0, y = this.data = t;
|
|
6841
6842
|
}
|
|
6842
|
-
for (h && n && (this.options.keys = false), x = 0; x < r; x++) f = a + x, n ? ((m = new o(this, i.getRow(x, g) || [])).dataGroup = this.groupMap[d + x], m.dataGroup?.options && (m.options = m.dataGroup.options,
|
|
6843
|
+
for (h && n && (this.options.keys = false), x = 0; x < r; x++) f = a + x, n ? ((m = new o(this, i.getRow(x, g) || [])).dataGroup = this.groupMap[d + x], m.dataGroup?.options && (m.options = m.dataGroup.options, rX(m, m.dataGroup.options), delete m.dataLabels)) : (m = y[f], b = e ? e[f] : i.getRow(x, p), m || void 0 === b || (y[f] = m = new o(this, b, s[x]))), m && (m.index = n ? d + x : f, l[x] = m, m.category = c?.[m.x] ?? m.x, m.key = m.name ?? m.category);
|
|
6843
6844
|
if (this.options.keys = h, y && (r !== (u = y.length) || n)) for (x = 0; x < u; x++) x !== a || n || (x += r), y[x] && (y[x].destroyElements(), y[x].plotX = void 0);
|
|
6844
6845
|
this.data = y, this.points = l, rG(this, "afterGeneratePoints");
|
|
6845
6846
|
}
|
|
@@ -7416,7 +7417,7 @@ function requireHighcharts() {
|
|
|
7416
7417
|
u = !(this.hasDerivedData || g && g !== this.type || void 0 !== t.keys || void 0 !== t.pointStart || void 0 !== t.pointInterval || void 0 !== t.relativeXValue || t.joinBy || t.mapData || ["dataGrouping", "pointStart", "pointInterval", "pointIntervalUnit", "keys"].some(t => i.hasOptionChanged(t)));
|
|
7417
7418
|
g = g || r, u ? (p.push.apply(p, r0.keepPropsForPoints), false !== t.visible && p.push("area", "graph"), i.parallelArrays.forEach(function (t) {
|
|
7418
7419
|
p.push(t + "Data");
|
|
7419
|
-
}), t.data && (t.dataSorting &&
|
|
7420
|
+
}), t.data && (t.dataSorting && rX(i.options.dataSorting, t.dataSorting), this.setData(t.data, false))) : this.dataTable.modified = this.dataTable, t = r_(o, {
|
|
7420
7421
|
index: void 0 === o.index ? i.index : o.index,
|
|
7421
7422
|
pointStart: a?.series?.pointStart ?? o.pointStart ?? i.getColumn("x")[0]
|
|
7422
7423
|
}, !u && {
|
|
@@ -7429,7 +7430,7 @@ function requireHighcharts() {
|
|
|
7429
7430
|
if (f = g !== i.type, i.remove(false, false, false, true), f) if (s.propFromSeries(), Object.setPrototypeOf) Object.setPrototypeOf(i, rP[g].prototype);else {
|
|
7430
7431
|
let t = Object.hasOwnProperty.call(i, "hcEvents") && i.hcEvents;
|
|
7431
7432
|
for (c in n) i[c] = void 0;
|
|
7432
|
-
|
|
7433
|
+
rX(i, rP[g].prototype), t ? i.hcEvents = t : delete i.hcEvents;
|
|
7433
7434
|
}
|
|
7434
7435
|
} else rH(17, true, s, {
|
|
7435
7436
|
missingModuleFor: g
|
|
@@ -7618,7 +7619,7 @@ function requireHighcharts() {
|
|
|
7618
7619
|
stickyTracking: true,
|
|
7619
7620
|
turboThreshold: 1e3,
|
|
7620
7621
|
findNearestPointBy: "x"
|
|
7621
|
-
}, r0.types = rk.seriesTypes, r0.registerType = rk.registerSeriesType, r0.keepProps = ["colorIndex", "eventOptions", "navigatorSeries", "symbolIndex", "baseSeries"], r0.keepPropsForPoints = ["data", "isDirtyData", "isDirtyCanvas", "points", "dataTable", "processedData", "xIncrement", "cropped", "_hasPointMarkers", "hasDataLabels", "nodes", "layout", "level", "mapMap", "mapData", "minY", "maxY", "minX", "maxX", "transformGroups"],
|
|
7622
|
+
}, r0.types = rk.seriesTypes, r0.registerType = rk.registerSeriesType, r0.keepProps = ["colorIndex", "eventOptions", "navigatorSeries", "symbolIndex", "baseSeries"], r0.keepPropsForPoints = ["data", "isDirtyData", "isDirtyCanvas", "points", "dataTable", "processedData", "xIncrement", "cropped", "_hasPointMarkers", "hasDataLabels", "nodes", "layout", "level", "mapMap", "mapData", "minY", "maxY", "minX", "maxX", "transformGroups"], rX(r0.prototype, {
|
|
7622
7623
|
axisTypes: ["xAxis", "yAxis"],
|
|
7623
7624
|
coll: "series",
|
|
7624
7625
|
colorCounter: 0,
|
|
@@ -7745,10 +7746,9 @@ function requireHighcharts() {
|
|
|
7745
7746
|
n && (n.x = i, n.y = s);
|
|
7746
7747
|
}
|
|
7747
7748
|
destroyItem(t) {
|
|
7748
|
-
let e = t.
|
|
7749
|
-
|
|
7750
|
-
|
|
7751
|
-
e && as(e), t.legendItem = void 0;
|
|
7749
|
+
let e = t.legendItem || {};
|
|
7750
|
+
for (let t of ["group", "label", "line", "symbol"]) e[t] && (e[t] = e[t].destroy());
|
|
7751
|
+
t.checkbox = as(t.checkbox), t.legendItem = void 0;
|
|
7752
7752
|
}
|
|
7753
7753
|
destroy() {
|
|
7754
7754
|
for (let t of this.getAllItems()) this.destroyItem(t);
|
|
@@ -7852,8 +7852,8 @@ function requireHighcharts() {
|
|
|
7852
7852
|
let i = this.chart,
|
|
7853
7853
|
s = this.options,
|
|
7854
7854
|
o = this.getAlignment();
|
|
7855
|
-
o && [/(lth|ct|rth)/, /(rtv|rm|rbv)/, /(rbh|cb|lbh)/, /(lbv|lm|ltv)/].forEach(
|
|
7856
|
-
r.test(o) && !ai(t[a]) && (i[r9[a]] = Math.max(i[r9[a]], i.legend[(a + 1) % 2 ? "legendHeight" : "legendWidth"] + [1, -1, -1, 1][a] * s[a % 2 ? "x" : "y"] +
|
|
7855
|
+
o && [/(lth|ct|rth)/, /(rtv|rm|rbv)/, /(rbh|cb|lbh)/, /(lbv|lm|ltv)/].forEach((r, a) => {
|
|
7856
|
+
r.test(o) && !ai(t[a]) && (i[r9[a]] = Math.max(i[r9[a]], i.legend[(a + 1) % 2 ? "legendHeight" : "legendWidth"] + [1, -1, -1, 1][a] * s[a % 2 ? "x" : "y"] + (s.margin ?? 12) + e[a] + (i.titleOffset[a] || 0)));
|
|
7857
7857
|
});
|
|
7858
7858
|
}
|
|
7859
7859
|
proximatePositions() {
|
|
@@ -8098,8 +8098,8 @@ function requireHighcharts() {
|
|
|
8098
8098
|
find: aR,
|
|
8099
8099
|
fireEvent: aW,
|
|
8100
8100
|
getAlignFactor: aH,
|
|
8101
|
-
getStyle:
|
|
8102
|
-
isArray:
|
|
8101
|
+
getStyle: aX,
|
|
8102
|
+
isArray: aF,
|
|
8103
8103
|
isNumber: aG,
|
|
8104
8104
|
isObject: aj,
|
|
8105
8105
|
isString: aY,
|
|
@@ -8375,8 +8375,8 @@ function requireHighcharts() {
|
|
|
8375
8375
|
}
|
|
8376
8376
|
}),
|
|
8377
8377
|
e = {
|
|
8378
|
-
width:
|
|
8379
|
-
height:
|
|
8378
|
+
width: aX(this.renderTo, "width", true) || 0,
|
|
8379
|
+
height: aX(this.renderTo, "height", true) || 0
|
|
8380
8380
|
};
|
|
8381
8381
|
return t.filter(Boolean).forEach(([t, e]) => {
|
|
8382
8382
|
t.style.display = e;
|
|
@@ -8393,7 +8393,7 @@ function requireHighcharts() {
|
|
|
8393
8393
|
temporaryDisplay(t) {
|
|
8394
8394
|
let e = this.renderTo,
|
|
8395
8395
|
i;
|
|
8396
|
-
if (t) for (; e?.style;) e.hcOrigStyle && (aO(e, e.hcOrigStyle), delete e.hcOrigStyle), e.hcOrigDetached && (aw.body.removeChild(e), e.hcOrigDetached = false), e = e.parentNode;else for (; e?.style && (aw.body.contains(e) || e.parentNode || (e.hcOrigDetached = true, aw.body.appendChild(e)), ("none" ===
|
|
8396
|
+
if (t) for (; e?.style;) e.hcOrigStyle && (aO(e, e.hcOrigStyle), delete e.hcOrigStyle), e.hcOrigDetached && (aw.body.removeChild(e), e.hcOrigDetached = false), e = e.parentNode;else for (; e?.style && (aw.body.contains(e) || e.parentNode || (e.hcOrigDetached = true, aw.body.appendChild(e)), ("none" === aX(e, "display", false) || e.hcOricDetached) && (e.hcOrigStyle = {
|
|
8397
8397
|
display: e.style.display,
|
|
8398
8398
|
height: e.style.height,
|
|
8399
8399
|
overflow: e.style.overflow
|
|
@@ -8455,12 +8455,12 @@ function requireHighcharts() {
|
|
|
8455
8455
|
e = t.axisOffset = [0, 0, 0, 0],
|
|
8456
8456
|
i = t.colorAxis,
|
|
8457
8457
|
s = t.margin,
|
|
8458
|
-
o =
|
|
8459
|
-
t.forEach(
|
|
8458
|
+
o = t => {
|
|
8459
|
+
t.forEach(t => {
|
|
8460
8460
|
t.visible && t.getOffset();
|
|
8461
8461
|
});
|
|
8462
8462
|
};
|
|
8463
|
-
t.hasCartesianSeries ? o(t.axes) : i?.length && o(i), aM.forEach(
|
|
8463
|
+
t.hasCartesianSeries ? o(t.axes) : i?.length && o(i), aM.forEach((i, o) => {
|
|
8464
8464
|
aE(s[o]) || (t[i] += e[o]);
|
|
8465
8465
|
}), t.setChartSize();
|
|
8466
8466
|
}
|
|
@@ -8547,14 +8547,14 @@ function requireHighcharts() {
|
|
|
8547
8547
|
e = t.options.chart,
|
|
8548
8548
|
i = e.plotBorderWidth || 0,
|
|
8549
8549
|
s = Math.round(i) / 2;
|
|
8550
|
-
["margin", "spacing"].forEach(
|
|
8550
|
+
["margin", "spacing"].forEach(i => {
|
|
8551
8551
|
let s = e[i],
|
|
8552
8552
|
o = aj(s) ? s : [s, s, s, s];
|
|
8553
|
-
["Top", "Right", "Bottom", "Left"].forEach(
|
|
8554
|
-
t[i][r] =
|
|
8553
|
+
["Top", "Right", "Bottom", "Left"].forEach((s, r) => {
|
|
8554
|
+
t[i][r] = e[`${i}${s}`] ?? o[r];
|
|
8555
8555
|
});
|
|
8556
|
-
}), aM.forEach(
|
|
8557
|
-
t[e] =
|
|
8556
|
+
}), aM.forEach((e, i) => {
|
|
8557
|
+
t[e] = t.margin[i] ?? t.spacing[i];
|
|
8558
8558
|
}), t.axisOffset = [0, 0, 0, 0], t.clipOffset = [s, s, s, s], t.plotBorderWidth = i;
|
|
8559
8559
|
}
|
|
8560
8560
|
drawChartBox() {
|
|
@@ -8710,7 +8710,7 @@ function requireHighcharts() {
|
|
|
8710
8710
|
let t = this,
|
|
8711
8711
|
e = t.options;
|
|
8712
8712
|
t.getContainer(), t.resetMargins(), t.setChartSize(), t.propFromSeries(), t.createAxes();
|
|
8713
|
-
let i =
|
|
8713
|
+
let i = aF(e.series) ? e.series : [];
|
|
8714
8714
|
e.series = [], i.forEach(function (e) {
|
|
8715
8715
|
t.initSeries(e);
|
|
8716
8716
|
}), t.linkSeries(), t.setSortedData(), aW(t, "beforeRender"), t.render(), t.pointer?.getChartPosition(), t.renderer.imgCount || t.hasLoaded || t.onload(), t.temporaryDisplay(true);
|
|
@@ -8971,11 +8971,11 @@ function requireHighcharts() {
|
|
|
8971
8971
|
R = E ?? N,
|
|
8972
8972
|
W = I ?? z,
|
|
8973
8973
|
H = L - P,
|
|
8974
|
-
|
|
8975
|
-
|
|
8976
|
-
G = W +
|
|
8974
|
+
X = t.categories ? 0 : Math.min(H, W - R),
|
|
8975
|
+
F = R - X * (aE(N) ? 0 : f.minPadding),
|
|
8976
|
+
G = W + X * (aE(z) ? 0 : f.maxPadding),
|
|
8977
8977
|
j = t.allowZoomOutside || 1 === k || "zoom" !== n && k > 1,
|
|
8978
|
-
Y = Math.min(N ??
|
|
8978
|
+
Y = Math.min(N ?? F, F, j ? D : F),
|
|
8979
8979
|
U = Math.max(z ?? G, G, j ? B : G);
|
|
8980
8980
|
(!t.isOrdinal || 1 !== k || o) && (P < Y && (P = Y, k >= 1 && (L = P + H)), L > U && (L = U, k >= 1 && (P = L - H)), (o || t.series.length && (P !== D || L !== B) && P >= Y && L <= U) && (r ? r[t.coll].push({
|
|
8981
8981
|
axis: t,
|
|
@@ -9044,7 +9044,9 @@ function requireHighcharts() {
|
|
|
9044
9044
|
inverted: l,
|
|
9045
9045
|
renderer: d
|
|
9046
9046
|
} = t;
|
|
9047
|
-
if (!d.forExport
|
|
9047
|
+
if (!d.forExport) if (r ? (t.scrollablePixelsX = i = Math.max(0, r - t.chartWidth), i && (t.scrollablePlotBox = a8(t.plotBox), h.width = t.plotWidth += i, n[l ? "height" : "width"] += i, o = true)) : a && (t.scrollablePixelsY = s = Math.max(0, a - t.chartHeight), a9(s) && (t.scrollablePlotBox = a8(t.plotBox), h.height = t.plotHeight += s, n[l ? "width" : "height"] += s, o = false)), a9(o)) {
|
|
9048
|
+
if (!e.skipAxes) for (let e of t.axes) (e.horiz === o || t.hasParallelCoordinates && "yAxis" === e.coll) && (e.setAxisSize(), e.setAxisTranslation());
|
|
9049
|
+
} else delete t.scrollablePlotBox;
|
|
9048
9050
|
}
|
|
9049
9051
|
constructor(t) {
|
|
9050
9052
|
let e,
|
|
@@ -9521,7 +9523,7 @@ function requireHighcharts() {
|
|
|
9521
9523
|
objectEach: nW,
|
|
9522
9524
|
pick: nH
|
|
9523
9525
|
} = V;
|
|
9524
|
-
class
|
|
9526
|
+
class nX extends nN {
|
|
9525
9527
|
drawGraph() {
|
|
9526
9528
|
this.areaPath = [], super.drawGraph.apply(this);
|
|
9527
9529
|
let {
|
|
@@ -9649,20 +9651,20 @@ function requireHighcharts() {
|
|
|
9649
9651
|
return i;
|
|
9650
9652
|
}
|
|
9651
9653
|
}
|
|
9652
|
-
|
|
9654
|
+
nX.defaultOptions = nR(nN.defaultOptions, {
|
|
9653
9655
|
threshold: 0,
|
|
9654
9656
|
legendSymbol: "areaMarker"
|
|
9655
|
-
}), nz(
|
|
9657
|
+
}), nz(nX.prototype, {
|
|
9656
9658
|
singleStacks: false
|
|
9657
|
-
}), rk.registerSeriesType("area",
|
|
9659
|
+
}), rk.registerSeriesType("area", nX);
|
|
9658
9660
|
let {
|
|
9659
|
-
line:
|
|
9661
|
+
line: nF
|
|
9660
9662
|
} = rk.seriesTypes,
|
|
9661
9663
|
{
|
|
9662
9664
|
merge: nG,
|
|
9663
9665
|
pick: nj
|
|
9664
9666
|
} = V;
|
|
9665
|
-
class nY extends
|
|
9667
|
+
class nY extends nF {
|
|
9666
9668
|
getPointSpline(t, e, i) {
|
|
9667
9669
|
let s,
|
|
9668
9670
|
o,
|
|
@@ -9690,7 +9692,7 @@ function requireHighcharts() {
|
|
|
9690
9692
|
return l.rightContX = l.rightContY = void 0, p;
|
|
9691
9693
|
}
|
|
9692
9694
|
}
|
|
9693
|
-
nY.defaultOptions = nG(
|
|
9695
|
+
nY.defaultOptions = nG(nF.defaultOptions), rk.registerSeriesType("spline", nY);
|
|
9694
9696
|
let nU = nY,
|
|
9695
9697
|
{
|
|
9696
9698
|
area: n$,
|
|
@@ -10357,8 +10359,8 @@ function requireHighcharts() {
|
|
|
10357
10359
|
addEvent: hR,
|
|
10358
10360
|
defined: hW,
|
|
10359
10361
|
extend: hH,
|
|
10360
|
-
isNumber:
|
|
10361
|
-
pick:
|
|
10362
|
+
isNumber: hX,
|
|
10363
|
+
pick: hF,
|
|
10362
10364
|
relativeLength: hG
|
|
10363
10365
|
} = V;
|
|
10364
10366
|
class hj extends oK {
|
|
@@ -10395,7 +10397,7 @@ function requireHighcharts() {
|
|
|
10395
10397
|
hR(this, "select", s), hR(this, "unselect", s);
|
|
10396
10398
|
}
|
|
10397
10399
|
isValid() {
|
|
10398
|
-
return
|
|
10400
|
+
return hX(this.y) && this.y >= 0;
|
|
10399
10401
|
}
|
|
10400
10402
|
setVisible(t, e = true) {
|
|
10401
10403
|
t !== this.visible && this.update({
|
|
@@ -10404,7 +10406,7 @@ function requireHighcharts() {
|
|
|
10404
10406
|
}
|
|
10405
10407
|
slice(t, e, i) {
|
|
10406
10408
|
let s = this.series;
|
|
10407
|
-
hz(i, s.chart), e =
|
|
10409
|
+
hz(i, s.chart), e = hF(e, true), this.sliced = this.options.sliced = t = hW(t) ? t : !this.sliced, s.options.data[s.data.indexOf(this)] = this.options, this.graphic && this.graphic.animate(this.getTranslate());
|
|
10408
10410
|
}
|
|
10409
10411
|
}
|
|
10410
10412
|
hH(hj.prototype, {
|
|
@@ -10517,7 +10519,7 @@ function requireHighcharts() {
|
|
|
10517
10519
|
return o[0] + Math.cos(h) * (r + n) * (e ? -1 : 1) + (n > 0 ? (e ? -1 : 1) * (s.padding || 0) : 0);
|
|
10518
10520
|
}
|
|
10519
10521
|
hasData() {
|
|
10520
|
-
return
|
|
10522
|
+
return this.points.some(t => t.visible);
|
|
10521
10523
|
}
|
|
10522
10524
|
redrawPoints() {
|
|
10523
10525
|
let t,
|
|
@@ -10653,9 +10655,10 @@ function requireHighcharts() {
|
|
|
10653
10655
|
arrayMax: h2,
|
|
10654
10656
|
clamp: h3,
|
|
10655
10657
|
defined: h5,
|
|
10656
|
-
|
|
10657
|
-
|
|
10658
|
-
|
|
10658
|
+
isNumber: h6,
|
|
10659
|
+
pick: h9,
|
|
10660
|
+
pushUnique: h4,
|
|
10661
|
+
relativeLength: h8
|
|
10659
10662
|
} = V;
|
|
10660
10663
|
!function (t) {
|
|
10661
10664
|
let e = {
|
|
@@ -10751,7 +10754,7 @@ function requireHighcharts() {
|
|
|
10751
10754
|
(t.dataLabels || []).forEach((e, i) => {
|
|
10752
10755
|
let s = n[2] / 2,
|
|
10753
10756
|
o = e.options,
|
|
10754
|
-
r =
|
|
10757
|
+
r = h8(o?.distance || 0, s);
|
|
10755
10758
|
0 === i && d[t.half].push(t), !h5(o?.style?.width) && e.getBBox().width > a && (e.css({
|
|
10756
10759
|
width: Math.round(.7 * a) + "px"
|
|
10757
10760
|
}), e.shortened = true), e.dataLabelPosition = this.getDataLabelPosition(t, r), m = Math.max(m, r);
|
|
@@ -10804,7 +10807,7 @@ function requireHighcharts() {
|
|
|
10804
10807
|
right: -b
|
|
10805
10808
|
}[x.alignment] || 0),
|
|
10806
10809
|
y: M + (d.y || 0) - v / 2
|
|
10807
|
-
}, x.computed.x = w, x.computed.y = M - k,
|
|
10810
|
+
}, x.computed.x = w, x.computed.y = M - k, h9(d.crop, true)) {
|
|
10808
10811
|
let t;
|
|
10809
10812
|
w - (u = l.getBBox().width) < b && 1 === a ? (t = Math.round(u - w + b), c[3] = Math.max(t, c[3])) : w + u > s - b && 0 === a && (t = Math.round(w + u - s + b), c[1] = Math.max(t, c[1])), M - f / 2 < 0 ? c[0] = Math.max(Math.round(-M + f / 2), c[0]) : M + f / 2 > o && (c[2] = Math.max(Math.round(M + f / 2 - o), c[2])), x.sideOverflow = t;
|
|
10810
10813
|
}
|
|
@@ -10818,7 +10821,7 @@ function requireHighcharts() {
|
|
|
10818
10821
|
connectorWidth: r = 1
|
|
10819
10822
|
} = s.options || {},
|
|
10820
10823
|
a = s.dataLabelPosition;
|
|
10821
|
-
if (r) {
|
|
10824
|
+
if (h6(r)) {
|
|
10822
10825
|
let n;
|
|
10823
10826
|
g = s.connector, a && a.distance > 0 ? (n = !g, g || (s.connector = g = i.renderer.path().addClass("highcharts-data-label-connector highcharts-color-" + e.colorIndex + (e.className ? " " + e.className : "")).add(t.dataLabelsGroup)), i.styledMode || g.attr({
|
|
10824
10827
|
"stroke-width": r,
|
|
@@ -10852,16 +10855,16 @@ function requireHighcharts() {
|
|
|
10852
10855
|
o = i.minSize || 80,
|
|
10853
10856
|
r = o,
|
|
10854
10857
|
a = null !== i.size;
|
|
10855
|
-
return !a && (null !== s[0] ? r = Math.max(e[2] - Math.max(t[1], t[3]), o) : (r = Math.max(e[2] - t[1] - t[3], o), e[0] += (t[3] - t[1]) / 2), null !== s[1] ? r = h3(r, o, e[2] - Math.max(t[0], t[2])) : (r = h3(r, o, e[2] - t[0] - t[2]), e[1] += (t[0] - t[2]) / 2), r < e[2] ? (e[2] = r, e[3] = Math.min(i.thickness ? Math.max(0, r - 2 * i.thickness) : Math.max(0,
|
|
10858
|
+
return !a && (null !== s[0] ? r = Math.max(e[2] - Math.max(t[1], t[3]), o) : (r = Math.max(e[2] - t[1] - t[3], o), e[0] += (t[3] - t[1]) / 2), null !== s[1] ? r = h3(r, o, e[2] - Math.max(t[0], t[2])) : (r = h3(r, o, e[2] - t[0] - t[2]), e[1] += (t[0] - t[2]) / 2), r < e[2] ? (e[2] = r, e[3] = Math.min(i.thickness ? Math.max(0, r - 2 * i.thickness) : Math.max(0, h8(i.innerSize || 0, r)), r), this.translate(e), this.drawDataLabels && this.drawDataLabels()) : a = true), a;
|
|
10856
10859
|
}
|
|
10857
10860
|
t.compose = function (t) {
|
|
10858
|
-
if (hf.compose(h1),
|
|
10861
|
+
if (hf.compose(h1), h4(hJ, "PieDataLabel")) {
|
|
10859
10862
|
let a = t.prototype;
|
|
10860
10863
|
a.dataLabelPositioners = e, a.alignDataLabel = hQ, a.drawDataLabels = s, a.getDataLabelPosition = i, a.placeDataLabels = o, a.verifyDataLabelOverflow = r;
|
|
10861
10864
|
}
|
|
10862
10865
|
};
|
|
10863
10866
|
}(x || (x = {}));
|
|
10864
|
-
let
|
|
10867
|
+
let h7 = x;
|
|
10865
10868
|
!function (t) {
|
|
10866
10869
|
t.getCenterOfPoints = function (t) {
|
|
10867
10870
|
let e = t.reduce((t, e) => (t.x += e.x, t.y += e.y, t), {
|
|
@@ -10893,20 +10896,20 @@ function requireHighcharts() {
|
|
|
10893
10896
|
};
|
|
10894
10897
|
}(y || (y = {}));
|
|
10895
10898
|
let {
|
|
10896
|
-
pointInPolygon:
|
|
10899
|
+
pointInPolygon: lt
|
|
10897
10900
|
} = y,
|
|
10898
10901
|
{
|
|
10899
|
-
addEvent:
|
|
10900
|
-
getAlignFactor:
|
|
10901
|
-
fireEvent:
|
|
10902
|
-
objectEach:
|
|
10903
|
-
pick:
|
|
10902
|
+
addEvent: le,
|
|
10903
|
+
getAlignFactor: li,
|
|
10904
|
+
fireEvent: ls,
|
|
10905
|
+
objectEach: lo,
|
|
10906
|
+
pick: lr
|
|
10904
10907
|
} = V;
|
|
10905
|
-
function
|
|
10908
|
+
function la(t) {
|
|
10906
10909
|
let e = t.length,
|
|
10907
10910
|
i = (t, e) => !(e.x >= t.x + t.width || e.x + e.width <= t.x || e.y >= t.y + t.height || e.y + e.height <= t.y),
|
|
10908
10911
|
s = (t, e) => {
|
|
10909
|
-
for (let i of t) if (
|
|
10912
|
+
for (let i of t) if (lt({
|
|
10910
10913
|
x: i[0],
|
|
10911
10914
|
y: i[1]
|
|
10912
10915
|
}, e)) return true;
|
|
@@ -10930,7 +10933,7 @@ function requireHighcharts() {
|
|
|
10930
10933
|
polygon: o,
|
|
10931
10934
|
width: r
|
|
10932
10935
|
} = t.getBBox(),
|
|
10933
|
-
a =
|
|
10936
|
+
a = li(t.alignValue) * r;
|
|
10934
10937
|
return t.width = r, t.height = s, {
|
|
10935
10938
|
x: i.x + (t.parentGroup?.translateX || 0) + e - a,
|
|
10936
10939
|
y: i.y + (t.parentGroup?.translateY || 0) + e,
|
|
@@ -10957,10 +10960,10 @@ function requireHighcharts() {
|
|
|
10957
10960
|
}
|
|
10958
10961
|
}
|
|
10959
10962
|
}
|
|
10960
|
-
for (let e of t)
|
|
10961
|
-
l &&
|
|
10963
|
+
for (let e of t) ln(e, this) && (l = true);
|
|
10964
|
+
l && ls(this, "afterHideAllOverlappingLabels");
|
|
10962
10965
|
}
|
|
10963
|
-
function
|
|
10966
|
+
function ln(t, e) {
|
|
10964
10967
|
let i,
|
|
10965
10968
|
s = false;
|
|
10966
10969
|
return t && (i = t.newOpacity, t.oldOpacity !== i && (t.hasClass("highcharts-data-label") ? (t[i ? "removeClass" : "addClass"]("highcharts-data-label-hidden"), s = true, t[t.isOld ? "animate" : "attr"]({
|
|
@@ -10969,16 +10972,16 @@ function requireHighcharts() {
|
|
|
10969
10972
|
e.styledMode || t.css({
|
|
10970
10973
|
pointerEvents: i ? "auto" : "none"
|
|
10971
10974
|
});
|
|
10972
|
-
}),
|
|
10975
|
+
}), ls(e, "afterHideOverlappingLabel")) : t.attr({
|
|
10973
10976
|
opacity: i
|
|
10974
10977
|
})), t.isOld = true), s;
|
|
10975
10978
|
}
|
|
10976
|
-
function
|
|
10979
|
+
function lh() {
|
|
10977
10980
|
let t = this,
|
|
10978
10981
|
e = [];
|
|
10979
10982
|
for (let i of t.labelCollectors || []) e = e.concat(i());
|
|
10980
|
-
for (let i of t.yAxis || []) i.stacking && i.options.stackLabels && !i.options.stackLabels.allowOverlap &&
|
|
10981
|
-
|
|
10983
|
+
for (let i of t.yAxis || []) i.stacking && i.options.stackLabels && !i.options.stackLabels.allowOverlap && lo(i.stacking.stacks, t => {
|
|
10984
|
+
lo(t, t => {
|
|
10982
10985
|
t.label && e.push(t.label);
|
|
10983
10986
|
});
|
|
10984
10987
|
});
|
|
@@ -10986,54 +10989,56 @@ function requireHighcharts() {
|
|
|
10986
10989
|
let s = i => {
|
|
10987
10990
|
for (let s of i) s.visible && (s.dataLabels || []).forEach(i => {
|
|
10988
10991
|
let o = i.options || {};
|
|
10989
|
-
i.labelrank =
|
|
10992
|
+
i.labelrank = lr(o.labelrank, s.labelrank, s.shapeArgs?.height), o.allowOverlap ?? Number(o.distance) > 0 ? (i.oldOpacity = i.opacity, i.newOpacity = 1, ln(i, t)) : e.push(i);
|
|
10990
10993
|
});
|
|
10991
10994
|
};
|
|
10992
10995
|
s(i.nodes || []), s(i.points);
|
|
10993
10996
|
}
|
|
10994
10997
|
this.hideOverlappingLabels(e);
|
|
10995
10998
|
}
|
|
10996
|
-
let
|
|
10999
|
+
let ll = {
|
|
10997
11000
|
compose: function (t) {
|
|
10998
11001
|
let e = t.prototype;
|
|
10999
|
-
e.hideOverlappingLabels || (e.hideOverlappingLabels =
|
|
11002
|
+
e.hideOverlappingLabels || (e.hideOverlappingLabels = la, le(t, "render", lh));
|
|
11000
11003
|
}
|
|
11001
11004
|
},
|
|
11002
11005
|
{
|
|
11003
|
-
defaultOptions:
|
|
11006
|
+
defaultOptions: ld
|
|
11004
11007
|
} = tv,
|
|
11005
11008
|
{
|
|
11006
|
-
noop:
|
|
11009
|
+
noop: lc
|
|
11007
11010
|
} = w,
|
|
11008
11011
|
{
|
|
11009
|
-
addEvent:
|
|
11010
|
-
extend:
|
|
11011
|
-
isObject:
|
|
11012
|
-
merge:
|
|
11013
|
-
relativeLength:
|
|
11012
|
+
addEvent: lp,
|
|
11013
|
+
extend: lg,
|
|
11014
|
+
isObject: lu,
|
|
11015
|
+
merge: lf,
|
|
11016
|
+
relativeLength: lm
|
|
11014
11017
|
} = V,
|
|
11015
|
-
|
|
11018
|
+
lx = {
|
|
11016
11019
|
radius: 0,
|
|
11017
11020
|
scope: "stack",
|
|
11018
11021
|
where: void 0
|
|
11019
11022
|
},
|
|
11020
|
-
|
|
11021
|
-
|
|
11022
|
-
function
|
|
11023
|
-
let r =
|
|
11023
|
+
ly = lc,
|
|
11024
|
+
lb = lc;
|
|
11025
|
+
function lv(t, e, i, s, o = {}) {
|
|
11026
|
+
let r = ly(t, e, i, s, o),
|
|
11024
11027
|
{
|
|
11025
|
-
|
|
11026
|
-
|
|
11027
|
-
|
|
11028
|
-
|
|
11028
|
+
brStart: a = true,
|
|
11029
|
+
brEnd: n = true,
|
|
11030
|
+
innerR: h = 0,
|
|
11031
|
+
r: l = i,
|
|
11032
|
+
start: d = 0,
|
|
11033
|
+
end: c = 0
|
|
11029
11034
|
} = o;
|
|
11030
11035
|
if (o.open || !o.borderRadius) return r;
|
|
11031
|
-
let
|
|
11032
|
-
|
|
11033
|
-
|
|
11034
|
-
|
|
11035
|
-
|
|
11036
|
-
for (;
|
|
11036
|
+
let p = c - d,
|
|
11037
|
+
g = Math.sin(p / 2),
|
|
11038
|
+
u = Math.max(Math.min(lm(o.borderRadius || 0, l - h), (l - h) / 2, l * g / (1 + g)), 0),
|
|
11039
|
+
f = Math.min(u, p / Math.PI * 2 * h),
|
|
11040
|
+
m = r.length - 1;
|
|
11041
|
+
for (; m--;) (a || 0 !== m && 3 !== m) && (n || 1 !== m && 2 !== m) && !function (t, e, i) {
|
|
11037
11042
|
let s,
|
|
11038
11043
|
o,
|
|
11039
11044
|
r,
|
|
@@ -11055,18 +11060,18 @@ function requireHighcharts() {
|
|
|
11055
11060
|
m = Math.cos(u) * g;
|
|
11056
11061
|
r ? (h.start = l + f, s[1] = c + m * Math.cos(l), s[2] = p + m * Math.sin(l), t.splice(e + 1, 0, ["A", i, i, 0, 0, 1, c + a * Math.cos(h.start), p + a * Math.sin(h.start)])) : (h.end = d - f, o[6] = c + a * Math.cos(h.end), o[7] = p + a * Math.sin(h.end), t.splice(e + 1, 0, ["A", i, i, 0, 0, 1, c + m * Math.cos(d), p + m * Math.sin(d)])), o[4] = Math.abs(h.end - h.start) < Math.PI ? 0 : 1;
|
|
11057
11062
|
}
|
|
11058
|
-
}(r,
|
|
11063
|
+
}(r, m, m > 1 ? f : u);
|
|
11059
11064
|
return r;
|
|
11060
11065
|
}
|
|
11061
|
-
function
|
|
11066
|
+
function lk() {
|
|
11062
11067
|
if (this.options.borderRadius && !(this.chart.is3d && this.chart.is3d())) {
|
|
11063
11068
|
let {
|
|
11064
11069
|
options: t,
|
|
11065
11070
|
yAxis: e
|
|
11066
11071
|
} = this,
|
|
11067
11072
|
i = "percent" === t.stacking,
|
|
11068
|
-
s =
|
|
11069
|
-
o =
|
|
11073
|
+
s = ld.plotOptions?.[this.type]?.borderRadius,
|
|
11074
|
+
o = lw(t.borderRadius, lu(s) ? s : {}),
|
|
11070
11075
|
r = e.options.reversed;
|
|
11071
11076
|
for (let s of this.points) {
|
|
11072
11077
|
let {
|
|
@@ -11089,8 +11094,8 @@ function requireHighcharts() {
|
|
|
11089
11094
|
let p = (s.negative ? -1 : 1) * (r ? -1 : 1) == -1,
|
|
11090
11095
|
g = o.where;
|
|
11091
11096
|
!g && this.is("waterfall") && Math.abs((s.yBottom || 0) - (this.translatedThreshold || 0)) > this.borderWidth && (g = "all"), g || (g = "end");
|
|
11092
|
-
let u = Math.min(
|
|
11093
|
-
"end" === g && (p && (d -= u), c += u),
|
|
11097
|
+
let u = Math.min(lm(o.radius, n), n / 2, "all" === g ? h / 2 : 1 / 0) || 0;
|
|
11098
|
+
"end" === g && (p && (d -= u), c += u), lg(a, {
|
|
11094
11099
|
brBoxHeight: c,
|
|
11095
11100
|
brBoxY: d,
|
|
11096
11101
|
r: u
|
|
@@ -11099,20 +11104,20 @@ function requireHighcharts() {
|
|
|
11099
11104
|
}
|
|
11100
11105
|
}
|
|
11101
11106
|
}
|
|
11102
|
-
function
|
|
11103
|
-
return
|
|
11107
|
+
function lw(t, e) {
|
|
11108
|
+
return lu(t) || (t = {
|
|
11104
11109
|
radius: t || 0
|
|
11105
|
-
}),
|
|
11110
|
+
}), lf(lx, e, t);
|
|
11106
11111
|
}
|
|
11107
|
-
function
|
|
11108
|
-
let t =
|
|
11112
|
+
function lM() {
|
|
11113
|
+
let t = lw(this.options.borderRadius);
|
|
11109
11114
|
for (let e of this.points) {
|
|
11110
11115
|
let i = e.shapeArgs;
|
|
11111
|
-
i && (i.borderRadius =
|
|
11116
|
+
i && (i.borderRadius = lm(t.radius, (i.r || 0) - (i.innerR || 0)));
|
|
11112
11117
|
}
|
|
11113
11118
|
}
|
|
11114
|
-
function
|
|
11115
|
-
let r =
|
|
11119
|
+
function lS(t, e, i, s, o = {}) {
|
|
11120
|
+
let r = lb(t, e, i, s, o),
|
|
11116
11121
|
{
|
|
11117
11122
|
r: a = 0,
|
|
11118
11123
|
brBoxHeight: n = s,
|
|
@@ -11152,18 +11157,18 @@ function requireHighcharts() {
|
|
|
11152
11157
|
return r.length = 0, r.push(["M", ...f], ["L", ...m], ["A", c, c, 0, 0, 1, ...x], ["L", ...y], ["A", p, p, 0, 0, 1, ...b], ["L", ...v], ["A", p, p, 0, 0, 1, ...k], ["L", ...w], ["A", c, c, 0, 0, 1, ...f], ["Z"]), r;
|
|
11153
11158
|
}
|
|
11154
11159
|
let {
|
|
11155
|
-
diffObjects:
|
|
11156
|
-
extend:
|
|
11157
|
-
find:
|
|
11158
|
-
merge:
|
|
11159
|
-
pick:
|
|
11160
|
-
uniqueKey:
|
|
11160
|
+
diffObjects: lT,
|
|
11161
|
+
extend: lC,
|
|
11162
|
+
find: lA,
|
|
11163
|
+
merge: lP,
|
|
11164
|
+
pick: lL,
|
|
11165
|
+
uniqueKey: lO
|
|
11161
11166
|
} = V;
|
|
11162
11167
|
!function (t) {
|
|
11163
11168
|
function e(t, e) {
|
|
11164
11169
|
let i = t.condition;
|
|
11165
11170
|
(i.callback || function () {
|
|
11166
|
-
return this.chartWidth <=
|
|
11171
|
+
return this.chartWidth <= lL(i.maxWidth, Number.MAX_VALUE) && this.chartHeight <= lL(i.maxHeight, Number.MAX_VALUE) && this.chartWidth >= lL(i.minWidth, 0) && this.chartHeight >= lL(i.minHeight, 0);
|
|
11167
11172
|
}).call(this) && e.push(t._id);
|
|
11168
11173
|
}
|
|
11169
11174
|
function i(t, e) {
|
|
@@ -11172,12 +11177,12 @@ function requireHighcharts() {
|
|
|
11172
11177
|
o = [],
|
|
11173
11178
|
r;
|
|
11174
11179
|
!e && i && i.rules && i.rules.forEach(t => {
|
|
11175
|
-
void 0 === t._id && (t._id =
|
|
11180
|
+
void 0 === t._id && (t._id = lO()), this.matchResponsiveRule(t, o);
|
|
11176
11181
|
}, this);
|
|
11177
|
-
let a =
|
|
11182
|
+
let a = lP(...o.map(t => lA(i?.rules || [], e => e._id === t)).map(t => t?.chartOptions));
|
|
11178
11183
|
a.isResponsiveOptions = true, o = o.toString() || void 0;
|
|
11179
11184
|
let n = s?.ruleIds;
|
|
11180
|
-
o !== n && (s && (this.currentResponsive = void 0, this.updatingResponsive = true, this.update(s.undoOptions, t, true), this.updatingResponsive = false), o ? ((r =
|
|
11185
|
+
o !== n && (s && (this.currentResponsive = void 0, this.updatingResponsive = true, this.update(s.undoOptions, t, true), this.updatingResponsive = false), o ? ((r = lT(a, this.options, true, this.collectionsWithUpdate)).isResponsiveOptions = true, this.currentResponsive = {
|
|
11181
11186
|
ruleIds: o,
|
|
11182
11187
|
mergedOptions: a,
|
|
11183
11188
|
undoOptions: r
|
|
@@ -11185,26 +11190,26 @@ function requireHighcharts() {
|
|
|
11185
11190
|
}
|
|
11186
11191
|
t.compose = function (t) {
|
|
11187
11192
|
let s = t.prototype;
|
|
11188
|
-
return s.matchResponsiveRule ||
|
|
11193
|
+
return s.matchResponsiveRule || lC(s, {
|
|
11189
11194
|
matchResponsiveRule: e,
|
|
11190
11195
|
setResponsive: i
|
|
11191
11196
|
}), t;
|
|
11192
11197
|
};
|
|
11193
11198
|
}(b || (b = {}));
|
|
11194
|
-
let
|
|
11195
|
-
w.AST = t6, w.Axis = s$, w.Chart = a0, w.Color = tL, w.DataLabel = hf, w.DataTableCore = rp, w.Fx = tB, w.HTMLElement = i6, w.Legend = au, w.LegendSymbol = rm, w.OverlappingDataLabels = w.OverlappingDataLabels ||
|
|
11199
|
+
let lE = b;
|
|
11200
|
+
w.AST = t6, w.Axis = s$, w.Chart = a0, w.Color = tL, w.DataLabel = hf, w.DataTableCore = rp, w.Fx = tB, w.HTMLElement = i6, w.Legend = au, w.LegendSymbol = rm, w.OverlappingDataLabels = w.OverlappingDataLabels || ll, w.PlotLineOrBand = oa, w.Point = oK, w.Pointer = ra, w.RendererRegistry = eg, w.Series = r1, w.SeriesRegistry = rk, w.StackItem = nd, w.SVGElement = eJ, w.SVGRenderer = iU, w.Templating = ep, w.Tick = sf, w.Time = tu, w.Tooltip = oE, w.animate = tU.animate, w.animObject = tU.animObject, w.chart = a0.chart, w.color = tL.parse, w.dateFormat = ep.dateFormat, w.defaultOptions = tv.defaultOptions, w.distribute = ey.distribute, w.format = ep.format, w.getDeferredAnimation = tU.getDeferredAnimation, w.getOptions = tv.getOptions, w.numberFormat = ep.numberFormat, w.seriesType = rk.seriesType, w.setAnimation = tU.setAnimation, w.setOptions = tv.setOptions, w.stop = tU.stop, w.time = tv.defaultTime, w.timers = tB.timers, {
|
|
11196
11201
|
compose: function (t, e, i) {
|
|
11197
11202
|
let s = t.types.pie;
|
|
11198
11203
|
if (!e.symbolCustomAttribs.includes("borderRadius")) {
|
|
11199
11204
|
let o = i.prototype.symbols;
|
|
11200
|
-
|
|
11205
|
+
lp(t, "afterColumnTranslate", lk, {
|
|
11201
11206
|
order: 9
|
|
11202
|
-
}),
|
|
11207
|
+
}), lp(s, "afterTranslate", lM), e.symbolCustomAttribs.push("borderRadius", "brBoxHeight", "brBoxY", "brEnd", "brStart"), ly = o.arc, lb = o.roundedRect, o.arc = lv, o.roundedRect = lS;
|
|
11203
11208
|
}
|
|
11204
11209
|
},
|
|
11205
|
-
optionsToObject:
|
|
11206
|
-
}.compose(w.Series, w.SVGElement, w.SVGRenderer), hv.compose(w.Series.types.column), hf.compose(w.Series), sK.compose(w.Axis), i6.compose(w.SVGRenderer), au.compose(w.Chart), s1.compose(w.Axis),
|
|
11207
|
-
let
|
|
11210
|
+
optionsToObject: lw
|
|
11211
|
+
}.compose(w.Series, w.SVGElement, w.SVGRenderer), hv.compose(w.Series.types.column), hf.compose(w.Series), sK.compose(w.Axis), i6.compose(w.SVGRenderer), au.compose(w.Chart), s1.compose(w.Axis), ll.compose(w.Chart), h7.compose(w.Series.types.pie), oa.compose(w.Chart, w.Axis), ra.compose(w.Chart), lE.compose(w.Chart), ni.compose(w.Axis, w.Chart, w.Series), nO.compose(w.Axis, w.Chart, w.Series), oE.compose(w.Pointer), V.extend(w, V);
|
|
11212
|
+
let lI = w;
|
|
11208
11213
|
return k.default;
|
|
11209
11214
|
})());
|
|
11210
11215
|
})(highcharts$1);
|
|
@@ -11414,8 +11419,7 @@ const initSeries$2 = props => {
|
|
|
11414
11419
|
const renderXAxis = (categories, showXLabel) => ({
|
|
11415
11420
|
categories,
|
|
11416
11421
|
labels: {
|
|
11417
|
-
enabled: showXLabel
|
|
11418
|
-
// Default to true if not specified
|
|
11422
|
+
enabled: showXLabel,
|
|
11419
11423
|
style: {
|
|
11420
11424
|
textTransform: "uppercase",
|
|
11421
11425
|
color: "#575E77"
|
|
@@ -11430,8 +11434,7 @@ const initSeries$2 = props => {
|
|
|
11430
11434
|
gridLineDashStyle: "Dot",
|
|
11431
11435
|
gridLineWidth: 2,
|
|
11432
11436
|
labels: {
|
|
11433
|
-
enabled: showYLabel
|
|
11434
|
-
// Default to true if not specified
|
|
11437
|
+
enabled: showYLabel,
|
|
11435
11438
|
formatter: ctx => {
|
|
11436
11439
|
if (!equalizer || series.length > 1) {
|
|
11437
11440
|
return ctx.value;
|
|
@@ -11456,7 +11459,8 @@ const initSeries$2 = props => {
|
|
|
11456
11459
|
dataLabelConfig.style = {
|
|
11457
11460
|
color: "#575E77",
|
|
11458
11461
|
fontSize: "12px",
|
|
11459
|
-
fontWeight: "500"
|
|
11462
|
+
fontWeight: "500",
|
|
11463
|
+
textShadow: "none"
|
|
11460
11464
|
};
|
|
11461
11465
|
dataLabelConfig.align = "center";
|
|
11462
11466
|
dataLabelConfig.verticalAlign = props.inverted ? "middle" : "bottom";
|
|
@@ -11512,7 +11516,8 @@ const initSeries$2 = props => {
|
|
|
11512
11516
|
dataLabelConfig.style = {
|
|
11513
11517
|
color: "#575E77",
|
|
11514
11518
|
fontSize: "12px",
|
|
11515
|
-
fontWeight: "500"
|
|
11519
|
+
fontWeight: "500",
|
|
11520
|
+
textShadow: "none"
|
|
11516
11521
|
};
|
|
11517
11522
|
dataLabelConfig.align = "center";
|
|
11518
11523
|
dataLabelConfig.verticalAlign = props.inverted ? "middle" : "bottom";
|
|
@@ -11604,9 +11609,11 @@ const isStacked = props => {
|
|
|
11604
11609
|
const initChart$1 = props => {
|
|
11605
11610
|
const isMulti = isMultiAxis(props);
|
|
11606
11611
|
const isStackedChart = isStacked(props);
|
|
11612
|
+
// Use "area" type when step is enabled, otherwise use "areaspline" for smooth curves
|
|
11613
|
+
const chartType = props.step ? "area" : "areaspline";
|
|
11607
11614
|
return {
|
|
11608
11615
|
chart: {
|
|
11609
|
-
type:
|
|
11616
|
+
type: chartType,
|
|
11610
11617
|
backgroundColor: props?.bgColor || "rgba(255, 255, 255, 0)",
|
|
11611
11618
|
plotBackgroundColor: props?.plotBgColor || "rgba(255, 255, 255, 0)"
|
|
11612
11619
|
},
|
|
@@ -11714,7 +11721,8 @@ const SimpleArea = props => {
|
|
|
11714
11721
|
colors: [props.color || "gray"],
|
|
11715
11722
|
title: props.title,
|
|
11716
11723
|
legendPosition: props.legendPosition,
|
|
11717
|
-
showYAxis: props.showYAxis
|
|
11724
|
+
showYAxis: props.showYAxis,
|
|
11725
|
+
step: props.step
|
|
11718
11726
|
};
|
|
11719
11727
|
return /*#__PURE__*/React.createElement(Area, chartOptions);
|
|
11720
11728
|
};
|
|
@@ -11792,30 +11800,27 @@ const initSeries$1 = props => {
|
|
|
11792
11800
|
gridLineDashStyle: "Dot",
|
|
11793
11801
|
gridLineWidth: 2
|
|
11794
11802
|
};
|
|
11795
|
-
const labels = {
|
|
11796
|
-
color: "#575E77"
|
|
11797
|
-
};
|
|
11798
|
-
const yAxis = {
|
|
11799
|
-
...defaults,
|
|
11800
|
-
...{
|
|
11801
|
-
labels
|
|
11802
|
-
}
|
|
11803
|
-
};
|
|
11804
11803
|
|
|
11805
|
-
// Hide yAxis if showYAxis is false
|
|
11804
|
+
// Hide yAxis labels and grid if showYAxis is explicitly false
|
|
11806
11805
|
if (props.showYAxis === false) {
|
|
11807
11806
|
return {
|
|
11808
|
-
...
|
|
11809
|
-
visible: false,
|
|
11807
|
+
...defaults,
|
|
11810
11808
|
labels: {
|
|
11811
11809
|
enabled: false
|
|
11812
11810
|
},
|
|
11813
|
-
|
|
11814
|
-
|
|
11815
|
-
}
|
|
11811
|
+
gridLineWidth: 0,
|
|
11812
|
+
lineWidth: 0
|
|
11816
11813
|
};
|
|
11817
11814
|
}
|
|
11818
|
-
|
|
11815
|
+
|
|
11816
|
+
// When showYAxis is true or undefined, show axis with labels
|
|
11817
|
+
return {
|
|
11818
|
+
...defaults,
|
|
11819
|
+
labels: {
|
|
11820
|
+
enabled: true,
|
|
11821
|
+
color: "#575E77"
|
|
11822
|
+
}
|
|
11823
|
+
};
|
|
11819
11824
|
};
|
|
11820
11825
|
const renderPlot = () => {
|
|
11821
11826
|
const areaspline = {
|
|
@@ -11831,12 +11836,19 @@ const initSeries$1 = props => {
|
|
|
11831
11836
|
};
|
|
11832
11837
|
};
|
|
11833
11838
|
const renderSeries = () => {
|
|
11834
|
-
const series = props.series.map((value, key) =>
|
|
11835
|
-
|
|
11836
|
-
|
|
11837
|
-
|
|
11838
|
-
|
|
11839
|
-
|
|
11839
|
+
const series = props.series.map((value, key) => {
|
|
11840
|
+
const seriesConfig = {
|
|
11841
|
+
name: props.yAxisLabel[key],
|
|
11842
|
+
color: props.colors?.length ? props.colors[key] : "#C8700B",
|
|
11843
|
+
data: value,
|
|
11844
|
+
fillColor: createAreaFillGradient(props.colors?.length ? props.colors[key] : "#C8700B")
|
|
11845
|
+
};
|
|
11846
|
+
// Only add step property if it's a valid step value (not false)
|
|
11847
|
+
if (props.step) {
|
|
11848
|
+
seriesConfig.step = props.step;
|
|
11849
|
+
}
|
|
11850
|
+
return seriesConfig;
|
|
11851
|
+
});
|
|
11840
11852
|
return series;
|
|
11841
11853
|
};
|
|
11842
11854
|
return {
|
|
@@ -11874,10 +11886,7 @@ const initMultiAxisSeries = props => {
|
|
|
11874
11886
|
text: null
|
|
11875
11887
|
},
|
|
11876
11888
|
gridLineDashStyle: "Dot",
|
|
11877
|
-
gridLineWidth: 2
|
|
11878
|
-
labels: {
|
|
11879
|
-
color: "#575E77"
|
|
11880
|
-
}
|
|
11889
|
+
gridLineWidth: 2
|
|
11881
11890
|
};
|
|
11882
11891
|
|
|
11883
11892
|
// Create yAxes array - one for each series or use provided config
|
|
@@ -11886,30 +11895,39 @@ const initMultiAxisSeries = props => {
|
|
|
11886
11895
|
const showYAxisArray = Array.isArray(props.showYAxis) ? props.showYAxis : props.showYAxis === false ? new Array(yAxesCount).fill(false) : new Array(yAxesCount).fill(true);
|
|
11887
11896
|
for (let i = 0; i < yAxesCount; i++) {
|
|
11888
11897
|
const config = props.yAxisConfig?.[i] || {};
|
|
11898
|
+
// showYAxisArray[i] will be true or false (never undefined due to fill logic above)
|
|
11899
|
+
// We want to show the axis unless it's explicitly false
|
|
11889
11900
|
const shouldShowYAxis = showYAxisArray[i] !== false;
|
|
11890
|
-
const yAxis = {
|
|
11891
|
-
...defaultYAxis,
|
|
11892
|
-
...config,
|
|
11893
|
-
title: config.title !== undefined ? {
|
|
11894
|
-
text: config.title
|
|
11895
|
-
} : defaultYAxis.title,
|
|
11896
|
-
labels: config.labels || defaultYAxis.labels
|
|
11897
|
-
};
|
|
11898
11901
|
|
|
11899
|
-
// Hide yAxis if showYAxis is false for this axis
|
|
11902
|
+
// Hide yAxis labels and grid if showYAxis is explicitly false for this axis
|
|
11900
11903
|
if (!shouldShowYAxis) {
|
|
11901
11904
|
yAxes.push({
|
|
11902
|
-
...
|
|
11903
|
-
|
|
11905
|
+
...defaultYAxis,
|
|
11906
|
+
...config,
|
|
11907
|
+
title: config.title !== undefined ? {
|
|
11908
|
+
text: config.title
|
|
11909
|
+
} : defaultYAxis.title,
|
|
11904
11910
|
labels: {
|
|
11905
11911
|
enabled: false
|
|
11906
11912
|
},
|
|
11907
|
-
|
|
11908
|
-
|
|
11909
|
-
}
|
|
11913
|
+
gridLineWidth: 0,
|
|
11914
|
+
lineWidth: 0
|
|
11910
11915
|
});
|
|
11911
11916
|
} else {
|
|
11912
|
-
|
|
11917
|
+
// Show axis (when true) - explicitly enable labels
|
|
11918
|
+
const customLabels = config.labels || {};
|
|
11919
|
+
yAxes.push({
|
|
11920
|
+
...defaultYAxis,
|
|
11921
|
+
...config,
|
|
11922
|
+
title: config.title !== undefined ? {
|
|
11923
|
+
text: config.title
|
|
11924
|
+
} : defaultYAxis.title,
|
|
11925
|
+
labels: {
|
|
11926
|
+
enabled: true,
|
|
11927
|
+
color: "#575E77",
|
|
11928
|
+
...customLabels
|
|
11929
|
+
}
|
|
11930
|
+
});
|
|
11913
11931
|
}
|
|
11914
11932
|
}
|
|
11915
11933
|
return yAxes;
|
|
@@ -11928,14 +11946,21 @@ const initMultiAxisSeries = props => {
|
|
|
11928
11946
|
};
|
|
11929
11947
|
};
|
|
11930
11948
|
const renderSeries = () => {
|
|
11931
|
-
const series = props.series.map((value, key) =>
|
|
11932
|
-
|
|
11933
|
-
|
|
11934
|
-
|
|
11935
|
-
|
|
11936
|
-
|
|
11937
|
-
|
|
11938
|
-
|
|
11949
|
+
const series = props.series.map((value, key) => {
|
|
11950
|
+
const seriesConfig = {
|
|
11951
|
+
name: props.yAxisLabel[key],
|
|
11952
|
+
color: props.colors?.length ? props.colors[key] : "#C8700B",
|
|
11953
|
+
data: value,
|
|
11954
|
+
yAxis: key,
|
|
11955
|
+
// Assign each series to its corresponding yAxis
|
|
11956
|
+
fillColor: createAreaFillGradient(props.colors?.length ? props.colors[key] : "#C8700B")
|
|
11957
|
+
};
|
|
11958
|
+
// Only add step property if it's a valid step value (not false)
|
|
11959
|
+
if (props.step) {
|
|
11960
|
+
seriesConfig.step = props.step;
|
|
11961
|
+
}
|
|
11962
|
+
return seriesConfig;
|
|
11963
|
+
});
|
|
11939
11964
|
return series;
|
|
11940
11965
|
};
|
|
11941
11966
|
return {
|
|
@@ -11975,30 +12000,27 @@ const initStackedSeries = props => {
|
|
|
11975
12000
|
gridLineDashStyle: "Dot",
|
|
11976
12001
|
gridLineWidth: 2
|
|
11977
12002
|
};
|
|
11978
|
-
const labels = {
|
|
11979
|
-
color: "#575E77"
|
|
11980
|
-
};
|
|
11981
|
-
const yAxis = {
|
|
11982
|
-
...defaults,
|
|
11983
|
-
...{
|
|
11984
|
-
labels
|
|
11985
|
-
}
|
|
11986
|
-
};
|
|
11987
12003
|
|
|
11988
|
-
// Hide yAxis if showYAxis is false
|
|
12004
|
+
// Hide yAxis labels and grid if showYAxis is explicitly false
|
|
11989
12005
|
if (props.showYAxis === false) {
|
|
11990
12006
|
return {
|
|
11991
|
-
...
|
|
11992
|
-
visible: false,
|
|
12007
|
+
...defaults,
|
|
11993
12008
|
labels: {
|
|
11994
12009
|
enabled: false
|
|
11995
12010
|
},
|
|
11996
|
-
|
|
11997
|
-
|
|
11998
|
-
}
|
|
12011
|
+
gridLineWidth: 0,
|
|
12012
|
+
lineWidth: 0
|
|
11999
12013
|
};
|
|
12000
12014
|
}
|
|
12001
|
-
|
|
12015
|
+
|
|
12016
|
+
// When showYAxis is true or undefined, show axis with labels
|
|
12017
|
+
return {
|
|
12018
|
+
...defaults,
|
|
12019
|
+
labels: {
|
|
12020
|
+
enabled: true,
|
|
12021
|
+
color: "#575E77"
|
|
12022
|
+
}
|
|
12023
|
+
};
|
|
12002
12024
|
};
|
|
12003
12025
|
const renderPlot = () => {
|
|
12004
12026
|
const areaspline = {
|
|
@@ -12016,12 +12038,19 @@ const initStackedSeries = props => {
|
|
|
12016
12038
|
};
|
|
12017
12039
|
};
|
|
12018
12040
|
const renderSeries = () => {
|
|
12019
|
-
const series = props.series.map((value, key) =>
|
|
12020
|
-
|
|
12021
|
-
|
|
12022
|
-
|
|
12023
|
-
|
|
12024
|
-
|
|
12041
|
+
const series = props.series.map((value, key) => {
|
|
12042
|
+
const seriesConfig = {
|
|
12043
|
+
name: props.yAxisLabel[key],
|
|
12044
|
+
color: props.colors?.length ? props.colors[key] : "#C8700B",
|
|
12045
|
+
data: value,
|
|
12046
|
+
fillColor: createAreaFillGradient(props.colors?.length ? props.colors[key] : "#C8700B")
|
|
12047
|
+
};
|
|
12048
|
+
// Only add step property if it's a valid step value (not false)
|
|
12049
|
+
if (props.step) {
|
|
12050
|
+
seriesConfig.step = props.step;
|
|
12051
|
+
}
|
|
12052
|
+
return seriesConfig;
|
|
12053
|
+
});
|
|
12025
12054
|
return series;
|
|
12026
12055
|
};
|
|
12027
12056
|
return {
|