@adiba-banking-cloud/backoffice 0.0.101 → 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 +315 -288
- package/build/index.esm.js/index.js +315 -288
- 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
|
@@ -47,10 +47,10 @@ function requireHighcharts() {
|
|
|
47
47
|
(function (module, exports) {
|
|
48
48
|
!
|
|
49
49
|
/**
|
|
50
|
-
* Highcharts JS v12.
|
|
50
|
+
* Highcharts JS v12.4.0 (2025-09-04)
|
|
51
51
|
* @module highcharts/highcharts
|
|
52
52
|
*
|
|
53
|
-
* (c) 2009-2025
|
|
53
|
+
* (c) 2009-2025 Highsoft AS
|
|
54
54
|
*
|
|
55
55
|
* License: www.highcharts.com/license
|
|
56
56
|
*/
|
|
@@ -86,9 +86,9 @@ function requireHighcharts() {
|
|
|
86
86
|
}, v.o = (t, e) => Object.prototype.hasOwnProperty.call(t, e);
|
|
87
87
|
var k = {};
|
|
88
88
|
v.d(k, {
|
|
89
|
-
default: () =>
|
|
89
|
+
default: () => lI
|
|
90
90
|
}), function (t) {
|
|
91
|
-
t.SVG_NS = "http://www.w3.org/2000/svg", t.product = "Highcharts", t.version = "12.
|
|
91
|
+
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 () {
|
|
92
92
|
let e = false;
|
|
93
93
|
if (!t.isMS) {
|
|
94
94
|
let i = Object.defineProperty({}, "passive", {
|
|
@@ -182,10 +182,10 @@ function requireHighcharts() {
|
|
|
182
182
|
function H(t, e) {
|
|
183
183
|
R(t.style, e);
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function X(t) {
|
|
186
186
|
return Math.pow(10, Math.floor(Math.log(t) / Math.LN10));
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function F(t, e) {
|
|
189
189
|
return t > 1e14 ? t : parseFloat(t.toPrecision(e || 14));
|
|
190
190
|
}
|
|
191
191
|
(C || (C = {})).messages = [], Math.easeInOutSine = function (t) {
|
|
@@ -294,7 +294,7 @@ function requireHighcharts() {
|
|
|
294
294
|
clearTimeout: function (t) {
|
|
295
295
|
B(t) && clearTimeout(t);
|
|
296
296
|
},
|
|
297
|
-
correctFloat:
|
|
297
|
+
correctFloat: F,
|
|
298
298
|
createElement: function (t, e, i, s, o) {
|
|
299
299
|
let r = S.createElement(t);
|
|
300
300
|
return e && R(r, e), o && H(r, {
|
|
@@ -360,7 +360,7 @@ function requireHighcharts() {
|
|
|
360
360
|
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);
|
|
361
361
|
}), i;
|
|
362
362
|
},
|
|
363
|
-
getMagnitude:
|
|
363
|
+
getMagnitude: X,
|
|
364
364
|
getNestedProperty: function (t, e) {
|
|
365
365
|
let i = t.split(".");
|
|
366
366
|
for (; i.length && B(e);) {
|
|
@@ -423,12 +423,12 @@ function requireHighcharts() {
|
|
|
423
423
|
normalizeTickInterval: function (t, e, i, s, o) {
|
|
424
424
|
let r,
|
|
425
425
|
a = t;
|
|
426
|
-
i = W(i,
|
|
426
|
+
i = W(i, X(t));
|
|
427
427
|
let n = t / i;
|
|
428
428
|
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) {
|
|
429
429
|
return t % 1 == 0;
|
|
430
430
|
}) : 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++);
|
|
431
|
-
return
|
|
431
|
+
return F(a * i, -Math.round(Math.log(.001) / Math.LN10));
|
|
432
432
|
},
|
|
433
433
|
objectEach: j,
|
|
434
434
|
offset: function (t) {
|
|
@@ -1267,12 +1267,12 @@ function requireHighcharts() {
|
|
|
1267
1267
|
isArray: tR,
|
|
1268
1268
|
isNumber: tW,
|
|
1269
1269
|
isObject: tH,
|
|
1270
|
-
merge:
|
|
1271
|
-
objectEach:
|
|
1270
|
+
merge: tX,
|
|
1271
|
+
objectEach: tF,
|
|
1272
1272
|
pick: tG
|
|
1273
1273
|
} = V;
|
|
1274
1274
|
function tj(t) {
|
|
1275
|
-
return tH(t) ?
|
|
1275
|
+
return tH(t) ? tX({
|
|
1276
1276
|
duration: 500,
|
|
1277
1277
|
defer: 0
|
|
1278
1278
|
}, t) : {
|
|
@@ -1295,7 +1295,7 @@ function requireHighcharts() {
|
|
|
1295
1295
|
duration: n[2],
|
|
1296
1296
|
easing: n[3],
|
|
1297
1297
|
complete: n[4]
|
|
1298
|
-
}), tW(i.duration) || (i.duration = 400), i.easing = "function" == typeof i.easing ? i.easing : Math[i.easing] || Math.easeInOutSine, i.curAnim =
|
|
1298
|
+
}), 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) {
|
|
1299
1299
|
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);
|
|
1300
1300
|
});
|
|
1301
1301
|
},
|
|
@@ -1389,7 +1389,7 @@ function requireHighcharts() {
|
|
|
1389
1389
|
t = t.trim().replace(/ style=(["'])/g, " data-style=$1");
|
|
1390
1390
|
try {
|
|
1391
1391
|
e = new DOMParser().parseFromString(t3 ? t3.createHTML(t) : t, "text/html");
|
|
1392
|
-
} catch
|
|
1392
|
+
} catch {}
|
|
1393
1393
|
if (!e) {
|
|
1394
1394
|
let i = t_("div");
|
|
1395
1395
|
i.innerHTML = t, e = {
|
|
@@ -1641,8 +1641,8 @@ function requireHighcharts() {
|
|
|
1641
1641
|
getAlignFactor: eR,
|
|
1642
1642
|
isArray: eW,
|
|
1643
1643
|
isFunction: eH,
|
|
1644
|
-
isNumber:
|
|
1645
|
-
isObject:
|
|
1644
|
+
isNumber: eX,
|
|
1645
|
+
isObject: eF,
|
|
1646
1646
|
isString: eG,
|
|
1647
1647
|
merge: ej,
|
|
1648
1648
|
objectEach: eY,
|
|
@@ -1848,7 +1848,7 @@ function requireHighcharts() {
|
|
|
1848
1848
|
}), r) {
|
|
1849
1849
|
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;
|
|
1850
1850
|
let r = eA && t.fontSize || null;
|
|
1851
|
-
r && (
|
|
1851
|
+
r && (eX(r) || /^\d+$/.test(r)) && (t.fontSize += "px");
|
|
1852
1852
|
let a = ej(t);
|
|
1853
1853
|
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);
|
|
1854
1854
|
}
|
|
@@ -1928,7 +1928,7 @@ function requireHighcharts() {
|
|
|
1928
1928
|
x: 0,
|
|
1929
1929
|
y: 0
|
|
1930
1930
|
}, eH(o) && o("");
|
|
1931
|
-
} catch
|
|
1931
|
+
} catch {}
|
|
1932
1932
|
(!i || i.width < 0) && (i = {
|
|
1933
1933
|
x: 0,
|
|
1934
1934
|
y: 0,
|
|
@@ -2052,7 +2052,7 @@ function requireHighcharts() {
|
|
|
2052
2052
|
i = ej(this.parentGroup?.rotation === 90 ? {
|
|
2053
2053
|
offsetX: -1,
|
|
2054
2054
|
offsetY: -1
|
|
2055
|
-
} : {},
|
|
2055
|
+
} : {}, eF(t) ? t : {}),
|
|
2056
2056
|
s = e.shadowDefinition(i);
|
|
2057
2057
|
return this.attr({
|
|
2058
2058
|
filter: t ? `url(${e.url}#${s})` : "none"
|
|
@@ -2297,10 +2297,10 @@ function requireHighcharts() {
|
|
|
2297
2297
|
return (this.widthSetting || this.bBox.width || 0) + e + i;
|
|
2298
2298
|
}
|
|
2299
2299
|
xSetter(t) {
|
|
2300
|
-
this.x = t, this.alignFactor && (t -= this.alignFactor * this.getPaddedWidth(), this["forceAnimate:x"] = true), this.xSetting = Math.round(t), this.attr("translateX", this.xSetting);
|
|
2300
|
+
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);
|
|
2301
2301
|
}
|
|
2302
2302
|
ySetter(t) {
|
|
2303
|
-
this.ySetting = this.y = Math.round(t), this.attr("translateY", this.ySetting);
|
|
2303
|
+
this.anchorY && (this["forceAnimate:anchorY"] = true), this.ySetting = this.y = Math.round(t), this.attr("translateY", this.ySetting);
|
|
2304
2304
|
}
|
|
2305
2305
|
}
|
|
2306
2306
|
e9.emptyBBox = {
|
|
@@ -2535,7 +2535,7 @@ function requireHighcharts() {
|
|
|
2535
2535
|
a = t.parentNode;
|
|
2536
2536
|
if (a && void 0 === c[r] && a.getSubStringLength) try {
|
|
2537
2537
|
c[r] = s + a.getSubStringLength(0, i ? r + 1 : r);
|
|
2538
|
-
} catch
|
|
2538
|
+
} catch {}
|
|
2539
2539
|
return c[r];
|
|
2540
2540
|
};
|
|
2541
2541
|
if (l.rotation = 0, s + (h = f(t.textContent.length)) > o) {
|
|
@@ -2578,8 +2578,8 @@ function requireHighcharts() {
|
|
|
2578
2578
|
isNumber: iR,
|
|
2579
2579
|
isObject: iW,
|
|
2580
2580
|
isString: iH,
|
|
2581
|
-
merge:
|
|
2582
|
-
pick:
|
|
2581
|
+
merge: iX,
|
|
2582
|
+
pick: iF,
|
|
2583
2583
|
pInt: iG,
|
|
2584
2584
|
replaceNested: ij,
|
|
2585
2585
|
uniqueKey: iY
|
|
@@ -2593,7 +2593,7 @@ function requireHighcharts() {
|
|
|
2593
2593
|
class: "highcharts-root"
|
|
2594
2594
|
}),
|
|
2595
2595
|
d = l.element;
|
|
2596
|
-
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.
|
|
2596
|
+
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 () {
|
|
2597
2597
|
iI(t, {
|
|
2598
2598
|
left: 0,
|
|
2599
2599
|
top: 0
|
|
@@ -2683,7 +2683,7 @@ function requireHighcharts() {
|
|
|
2683
2683
|
}
|
|
2684
2684
|
shadowDefinition(t) {
|
|
2685
2685
|
let e = [`highcharts-drop-shadow-${this.chartIndex}`, ...Object.keys(t).map(e => `${e}-${t[e]}`)].join("-").toLowerCase().replace(/[^a-z\d\-]/g, ""),
|
|
2686
|
-
i =
|
|
2686
|
+
i = iX({
|
|
2687
2687
|
color: "#000000",
|
|
2688
2688
|
offsetX: 1,
|
|
2689
2689
|
offsetY: 1,
|
|
@@ -2733,14 +2733,14 @@ function requireHighcharts() {
|
|
|
2733
2733
|
c = this.styledMode,
|
|
2734
2734
|
p = arguments,
|
|
2735
2735
|
g = 0;
|
|
2736
|
-
o =
|
|
2736
|
+
o = iX(ix.global.buttonTheme, o), c && (delete o.fill, delete o.stroke, delete o["stroke-width"]);
|
|
2737
2737
|
let u = o.states || {},
|
|
2738
2738
|
f = o.style || {};
|
|
2739
2739
|
delete o.states, delete o.style;
|
|
2740
2740
|
let m = [t6.filterUserAttributes(o)],
|
|
2741
2741
|
x = [f];
|
|
2742
2742
|
return c || ["hover", "select", "disabled"].forEach((t, e) => {
|
|
2743
|
-
m.push(
|
|
2743
|
+
m.push(iX(m[0], t6.filterUserAttributes(p[e + 5] || u[t] || {}))), x.push(m[e + 1].style), delete m[e + 1].style;
|
|
2744
2744
|
}), iP(d.element, iw ? "mouseover" : "mouseenter", function () {
|
|
2745
2745
|
3 !== g && d.setState(1);
|
|
2746
2746
|
}), iP(d.element, iw ? "mouseout" : "mouseleave", function () {
|
|
@@ -2821,7 +2821,7 @@ function requireHighcharts() {
|
|
|
2821
2821
|
viewBox: "0 0 " + this.attr("width") + " " + this.attr("height")
|
|
2822
2822
|
});
|
|
2823
2823
|
},
|
|
2824
|
-
duration:
|
|
2824
|
+
duration: iF(i, true) ? void 0 : 0
|
|
2825
2825
|
}), this.alignElements();
|
|
2826
2826
|
}
|
|
2827
2827
|
g(t) {
|
|
@@ -2871,7 +2871,7 @@ function requireHighcharts() {
|
|
|
2871
2871
|
}), r && iN(a, r);else if (p) {
|
|
2872
2872
|
h = t.match(c)[1];
|
|
2873
2873
|
let s = a = this.image(h);
|
|
2874
|
-
s.imgwidth =
|
|
2874
|
+
s.imgwidth = iF(r?.width, iC[h]?.width), s.imgheight = iF(r?.height, iC[h]?.height), l = t => t.attr({
|
|
2875
2875
|
width: t.width,
|
|
2876
2876
|
height: t.height
|
|
2877
2877
|
}), ["width", "height"].forEach(t => {
|
|
@@ -2930,7 +2930,7 @@ function requireHighcharts() {
|
|
|
2930
2930
|
}), r;
|
|
2931
2931
|
}
|
|
2932
2932
|
fontMetrics(t) {
|
|
2933
|
-
let e = iG(eJ.prototype.getStyle.call(t, "font-size") || 0),
|
|
2933
|
+
let e = iR(t) ? t : iG(eJ.prototype.getStyle.call(t, "font-size") || 0),
|
|
2934
2934
|
i = e < 24 ? e + 3 : Math.round(1.2 * e),
|
|
2935
2935
|
s = Math.round(.8 * i);
|
|
2936
2936
|
return {
|
|
@@ -3114,10 +3114,10 @@ function requireHighcharts() {
|
|
|
3114
3114
|
width: "",
|
|
3115
3115
|
whiteSpace: d || "nowrap"
|
|
3116
3116
|
}), t.offsetWidth),
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
(
|
|
3120
|
-
width: (o || n || e >
|
|
3117
|
+
r = p || 0,
|
|
3118
|
+
a = !s.styledMode && "" === t.style.textOverflow && t.style.webkitLineClamp;
|
|
3119
|
+
(r > i || e > r || a) && (/[\-\s\u00AD]/.test(t.textContent || t.innerText) || "ellipsis" === t.style.textOverflow) && (i_(t, {
|
|
3120
|
+
width: (o || n || e > r || a) && i0(p) ? p + "px" : "auto",
|
|
3121
3121
|
display: l,
|
|
3122
3122
|
whiteSpace: d || "normal"
|
|
3123
3123
|
}), this.oldTextWidth = p);
|
|
@@ -3608,13 +3608,13 @@ function requireHighcharts() {
|
|
|
3608
3608
|
merge: sR,
|
|
3609
3609
|
normalizeTickInterval: sW,
|
|
3610
3610
|
objectEach: sH,
|
|
3611
|
-
pick:
|
|
3612
|
-
relativeLength:
|
|
3611
|
+
pick: sX,
|
|
3612
|
+
relativeLength: sF,
|
|
3613
3613
|
removeEvent: sG,
|
|
3614
3614
|
splat: sj,
|
|
3615
3615
|
syncTimeout: sY
|
|
3616
3616
|
} = V,
|
|
3617
|
-
sU = (t, e) => sW(e, void 0, void 0,
|
|
3617
|
+
sU = (t, e) => sW(e, void 0, void 0, sX(t.options.allowDecimals, e < .5 || void 0 !== t.tickAmount), !!t.tickAmount);
|
|
3618
3618
|
sO(sb, {
|
|
3619
3619
|
xAxis: sx,
|
|
3620
3620
|
yAxis: sR(sx, sy)
|
|
@@ -3628,11 +3628,11 @@ function requireHighcharts() {
|
|
|
3628
3628
|
o = this.isZAxis || (t.inverted ? !s : s);
|
|
3629
3629
|
this.chart = t, this.horiz = o, this.isXAxis = s, this.coll = i, sE(this, "init", {
|
|
3630
3630
|
userOptions: e
|
|
3631
|
-
}), this.opposite =
|
|
3631
|
+
}), 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);
|
|
3632
3632
|
let r = this.options,
|
|
3633
3633
|
a = r.labels;
|
|
3634
|
-
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 =
|
|
3635
|
-
let n =
|
|
3634
|
+
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;
|
|
3635
|
+
let n = sX(r.crosshair, sj(t.options.tooltip.crosshairs)[+!s]);
|
|
3636
3636
|
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");
|
|
3637
3637
|
}
|
|
3638
3638
|
setOptions(t) {
|
|
@@ -3688,9 +3688,9 @@ function requireHighcharts() {
|
|
|
3688
3688
|
r = s.threshold,
|
|
3689
3689
|
a,
|
|
3690
3690
|
n;
|
|
3691
|
-
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(
|
|
3691
|
+
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 {
|
|
3692
3692
|
let t = i.applyExtremes();
|
|
3693
|
-
sN(t.dataMin) && (a = t.dataMin, e.dataMin = Math.min(
|
|
3693
|
+
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);
|
|
3694
3694
|
}
|
|
3695
3695
|
}
|
|
3696
3696
|
});
|
|
@@ -3701,7 +3701,7 @@ function requireHighcharts() {
|
|
|
3701
3701
|
n = s && a.old ? a.old.min : a.min;
|
|
3702
3702
|
if (!sN(n)) return NaN;
|
|
3703
3703
|
let h = a.minPixelPadding,
|
|
3704
|
-
l = (a.isOrdinal || a.brokenAxis?.hasBreaks || a.logarithmic && o) && a.lin2val,
|
|
3704
|
+
l = (a.isOrdinal || a.brokenAxis?.hasBreaks || a.logarithmic && o) && !!a.lin2val,
|
|
3705
3705
|
d = 1,
|
|
3706
3706
|
c = 0,
|
|
3707
3707
|
p = s && a.old ? a.old.transA : a.transA,
|
|
@@ -3744,7 +3744,7 @@ function requireHighcharts() {
|
|
|
3744
3744
|
translatedValue: c
|
|
3745
3745
|
};
|
|
3746
3746
|
return sE(this, "getPlotLinePath", b, function (t) {
|
|
3747
|
-
g = f = (c = sS(c =
|
|
3747
|
+
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);
|
|
3748
3748
|
}), b.path;
|
|
3749
3749
|
}
|
|
3750
3750
|
getLinearTickPositions(t, e, i) {
|
|
@@ -3763,7 +3763,7 @@ function requireHighcharts() {
|
|
|
3763
3763
|
minorTicks: t,
|
|
3764
3764
|
minorTickInterval: e
|
|
3765
3765
|
} = this.options;
|
|
3766
|
-
return true === t ?
|
|
3766
|
+
return true === t ? sX(e, "auto") : false !== t ? e : void 0;
|
|
3767
3767
|
}
|
|
3768
3768
|
getMinorTickPositions() {
|
|
3769
3769
|
let t = this.options,
|
|
@@ -3818,7 +3818,7 @@ function requireHighcharts() {
|
|
|
3818
3818
|
i = e ? this.categories : this.names,
|
|
3819
3819
|
s = t.options.x,
|
|
3820
3820
|
o;
|
|
3821
|
-
return t.series.requireSorting = false, sC(s) || (s = this.uniqueNames && i ? e ? i.indexOf(t.name) :
|
|
3821
|
+
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;
|
|
3822
3822
|
}
|
|
3823
3823
|
updateNames() {
|
|
3824
3824
|
let t = this,
|
|
@@ -3847,7 +3847,7 @@ function requireHighcharts() {
|
|
|
3847
3847
|
l,
|
|
3848
3848
|
d = t.transA;
|
|
3849
3849
|
(o || s || r) && (a = t.getClosest(), i ? (n = i.minPointOffset, h = i.pointRangePadding) : t.series.forEach(function (e) {
|
|
3850
|
-
let i = s ? 1 : o ?
|
|
3850
|
+
let i = s ? 1 : o ? sX(e.options.pointRange, a, 0) : t.axisPointRange || 0,
|
|
3851
3851
|
l = e.options.pointPlacement;
|
|
3852
3852
|
if (r = Math.max(r, i), !t.single || s) {
|
|
3853
3853
|
let t = e.is("xrange") ? !o : o;
|
|
@@ -3895,14 +3895,14 @@ function requireHighcharts() {
|
|
|
3895
3895
|
C,
|
|
3896
3896
|
A,
|
|
3897
3897
|
P;
|
|
3898
|
-
if (r || e || y || this.getTickAmount(), A =
|
|
3898
|
+
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)) {
|
|
3899
3899
|
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)) {
|
|
3900
3900
|
let t = c || 0;
|
|
3901
3901
|
!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);
|
|
3902
3902
|
}
|
|
3903
3903
|
!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;
|
|
3904
3904
|
}
|
|
3905
|
-
if (this.min !== this.max && sN(this.min) && sN(this.max) ? y && !S && b === y.options.tickPixelInterval ? this.tickInterval = S = y.tickInterval : this.tickInterval =
|
|
3905
|
+
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) {
|
|
3906
3906
|
let t = this.min !== this.old?.min || this.max !== this.old?.max;
|
|
3907
3907
|
this.series.forEach(function (e) {
|
|
3908
3908
|
e.forceCrop = e.forceCropping?.(), e.processData(t);
|
|
@@ -3911,7 +3911,7 @@ function requireHighcharts() {
|
|
|
3911
3911
|
});
|
|
3912
3912
|
}
|
|
3913
3913
|
this.setAxisTranslation(), sE(this, "initialAxisTranslation"), this.pointRange && !S && (this.tickInterval = Math.max(this.pointRange, this.tickInterval));
|
|
3914
|
-
let L =
|
|
3914
|
+
let L = sX(h.minTickInterval, r && !this.series.some(t => !t.sorted) ? this.closestPointRange : 0);
|
|
3915
3915
|
!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();
|
|
3916
3916
|
}
|
|
3917
3917
|
setTickPositions() {
|
|
@@ -4005,7 +4005,7 @@ function requireHighcharts() {
|
|
|
4005
4005
|
thresholdAlignment: n
|
|
4006
4006
|
} = t,
|
|
4007
4007
|
h = r?.length,
|
|
4008
|
-
l =
|
|
4008
|
+
l = sX(t.threshold, t.softThreshold ? 0 : null),
|
|
4009
4009
|
d,
|
|
4010
4010
|
c,
|
|
4011
4011
|
p = t.tickInterval,
|
|
@@ -4062,10 +4062,10 @@ function requireHighcharts() {
|
|
|
4062
4062
|
e = this.options,
|
|
4063
4063
|
i = e.offsets || [0, 0, 0, 0],
|
|
4064
4064
|
s = this.horiz,
|
|
4065
|
-
o = this.width = Math.round(sX(
|
|
4066
|
-
r = this.height = Math.round(sX(
|
|
4067
|
-
a = this.top = Math.round(sX(
|
|
4068
|
-
n = this.left = Math.round(sX(
|
|
4065
|
+
o = this.width = Math.round(sF(sX(e.width, t.plotWidth - i[3] + i[1]), t.plotWidth)),
|
|
4066
|
+
r = this.height = Math.round(sF(sX(e.height, t.plotHeight - i[0] + i[2]), t.plotHeight)),
|
|
4067
|
+
a = this.top = Math.round(sF(sX(e.top, t.plotTop + i[0]), t.plotHeight, t.plotTop)),
|
|
4068
|
+
n = this.left = Math.round(sF(sX(e.left, t.plotLeft + i[3]), t.plotWidth, t.plotLeft));
|
|
4069
4069
|
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;
|
|
4070
4070
|
}
|
|
4071
4071
|
getExtremes() {
|
|
@@ -4086,7 +4086,7 @@ function requireHighcharts() {
|
|
|
4086
4086
|
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);
|
|
4087
4087
|
}
|
|
4088
4088
|
autoLabelAlign(t) {
|
|
4089
|
-
let e = (
|
|
4089
|
+
let e = (sX(t, 0) - 90 * this.side + 720) % 360,
|
|
4090
4090
|
i = {
|
|
4091
4091
|
align: "center"
|
|
4092
4092
|
};
|
|
@@ -4096,7 +4096,7 @@ function requireHighcharts() {
|
|
|
4096
4096
|
}
|
|
4097
4097
|
tickSize(t) {
|
|
4098
4098
|
let e = this.options,
|
|
4099
|
-
i =
|
|
4099
|
+
i = sX(e["tick" === t ? "tickWidth" : "minorTickWidth"], "tick" === t && this.isXAxis && !this.categories ? 1 : 0),
|
|
4100
4100
|
s = e["tick" === t ? "tickLength" : "minorTickLength"],
|
|
4101
4101
|
o;
|
|
4102
4102
|
i && s && ("inside" === e[t + "Position"] && (s = -s), o = [s, i]);
|
|
@@ -4134,7 +4134,7 @@ function requireHighcharts() {
|
|
|
4134
4134
|
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);
|
|
4135
4135
|
}
|
|
4136
4136
|
} else l = h(.75 * a);
|
|
4137
|
-
return this.autoRotation = p, this.labelRotation =
|
|
4137
|
+
return this.autoRotation = p, this.labelRotation = sX(d, sN(r) ? r : 0), t.step ? s : l;
|
|
4138
4138
|
}
|
|
4139
4139
|
getSlotWidth(t) {
|
|
4140
4140
|
let e = this.chart,
|
|
@@ -4147,7 +4147,7 @@ function requireHighcharts() {
|
|
|
4147
4147
|
if (!i) {
|
|
4148
4148
|
let t = s.style.width;
|
|
4149
4149
|
if (void 0 !== t) return parseInt(String(t), 10);
|
|
4150
|
-
if (r) return r - e.spacing[3];
|
|
4150
|
+
if (!this.opposite && r) return r - e.spacing[3];
|
|
4151
4151
|
}
|
|
4152
4152
|
return .33 * e.chartWidth;
|
|
4153
4153
|
}
|
|
@@ -4261,14 +4261,14 @@ function requireHighcharts() {
|
|
|
4261
4261
|
}), t.renderUnsquish(), t.reserveSpaceDefault = 0 === o || 2 === o || {
|
|
4262
4262
|
1: "left",
|
|
4263
4263
|
3: "right"
|
|
4264
|
-
}[o] === t.labelAlign,
|
|
4264
|
+
}[o] === t.labelAlign, sX(c.reserveSpace, !p && null, "center" === t.labelAlign || null, t.reserveSpaceDefault) && a.forEach(function (t) {
|
|
4265
4265
|
v = Math.max(r[t].getLabelSize(), v);
|
|
4266
4266
|
}), t.staggerLines && (v *= t.staggerLines), t.labelOffset = v * (t.opposite ? -1 : 1)) : sH(r, function (t, e) {
|
|
4267
4267
|
t.destroy(), delete r[e];
|
|
4268
|
-
}), 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 :
|
|
4268
|
+
}), 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 || {
|
|
4269
4269
|
x: 0,
|
|
4270
4270
|
y: 0
|
|
4271
|
-
}, w = 0 === o ? -t.labelMetrics().h : 2 === o ? t.tickRotCorr.y : 0, k = Math.abs(v) + b, v && (k -= w, k += f * (i ?
|
|
4271
|
+
}, 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) {
|
|
4272
4272
|
let e = this.tickSize("tick");
|
|
4273
4273
|
g[o] = Math.max(g[o], (t.axisTitleMargin || 0) + x + f * t.offset, k, a?.length && e ? e[0] + f * t.offset : 0);
|
|
4274
4274
|
let i = !t.axisLine || s.offset ? 0 : t.axisLine.strokeWidth() / 2;
|
|
@@ -4440,8 +4440,8 @@ function requireHighcharts() {
|
|
|
4440
4440
|
e: t,
|
|
4441
4441
|
point: e
|
|
4442
4442
|
}), t || (t = this.cross?.e), i && false !== (sC(e) || !s)) {
|
|
4443
|
-
if (s ? sC(e) && (a =
|
|
4444
|
-
value: e && (this.isXAxis ? e.x :
|
|
4443
|
+
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 = {
|
|
4444
|
+
value: e && (this.isXAxis ? e.x : sX(e.stackY, e.y)),
|
|
4445
4445
|
translatedValue: a
|
|
4446
4446
|
}, o.polar && sO(l, {
|
|
4447
4447
|
isCrosshair: true,
|
|
@@ -4450,10 +4450,10 @@ function requireHighcharts() {
|
|
|
4450
4450
|
point: e
|
|
4451
4451
|
}), r = this.getPlotLinePath(l) || null), !sC(r)) return void this.hideCrosshair();
|
|
4452
4452
|
n = this.categories && !this.isRadial, h || (this.cross = h = o.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-" + (n ? "category " : "thin ") + (i.className || "")).attr({
|
|
4453
|
-
zIndex:
|
|
4453
|
+
zIndex: sX(i.zIndex, 2)
|
|
4454
4454
|
}).add(), !o.styledMode && (h.attr({
|
|
4455
4455
|
stroke: i.color || (n ? tL.parse("#ccd3ff").setOpacity(.25).get() : "#cccccc"),
|
|
4456
|
-
"stroke-width":
|
|
4456
|
+
"stroke-width": sX(i.width, 1)
|
|
4457
4457
|
}).css({
|
|
4458
4458
|
"pointer-events": "none"
|
|
4459
4459
|
}), i.dashStyle && h.attr({
|
|
@@ -4474,7 +4474,7 @@ function requireHighcharts() {
|
|
|
4474
4474
|
}
|
|
4475
4475
|
update(t, e) {
|
|
4476
4476
|
let i = this.chart;
|
|
4477
|
-
t = sR(this.userOptions, t), this.destroy(true), this.init(i, t), i.isDirtyBox = true,
|
|
4477
|
+
t = sR(this.userOptions, t), this.destroy(true), this.init(i, t), i.isDirtyBox = true, sX(e, true) && i.redraw();
|
|
4478
4478
|
}
|
|
4479
4479
|
remove(t) {
|
|
4480
4480
|
let e = this.chart,
|
|
@@ -4482,7 +4482,7 @@ function requireHighcharts() {
|
|
|
4482
4482
|
s = this.series,
|
|
4483
4483
|
o = s.length;
|
|
4484
4484
|
for (; o--;) s[o] && s[o].remove(false);
|
|
4485
|
-
sP(e.axes, this), sP(e[i] || [], this), e.orderItems(i), this.destroy(), e.isDirtyBox = true,
|
|
4485
|
+
sP(e.axes, this), sP(e[i] || [], this), e.orderItems(i), this.destroy(), e.isDirtyBox = true, sX(t, true) && e.redraw();
|
|
4486
4486
|
}
|
|
4487
4487
|
setTitle(t, e) {
|
|
4488
4488
|
this.update({
|
|
@@ -4795,7 +4795,7 @@ function requireHighcharts() {
|
|
|
4795
4795
|
class: "highcharts-plot-" + (i ? "band" : "line") + "-label " + (t.className || ""),
|
|
4796
4796
|
zIndex: s
|
|
4797
4797
|
}), o.chart.styledMode || n.css(os({
|
|
4798
|
-
color: o.chart.options.title?.style
|
|
4798
|
+
color: o.chart.options.title?.style?.color,
|
|
4799
4799
|
fontSize: "0.8em",
|
|
4800
4800
|
textOverflow: i && !a ? "" : "ellipsis"
|
|
4801
4801
|
}, t.style)), n.add());
|
|
@@ -5453,8 +5453,8 @@ function requireHighcharts() {
|
|
|
5453
5453
|
erase: oR,
|
|
5454
5454
|
extend: oW,
|
|
5455
5455
|
fireEvent: oH,
|
|
5456
|
-
getNestedProperty:
|
|
5457
|
-
isArray:
|
|
5456
|
+
getNestedProperty: oX,
|
|
5457
|
+
isArray: oF,
|
|
5458
5458
|
isFunction: oG,
|
|
5459
5459
|
isNumber: oj,
|
|
5460
5460
|
isObject: oY,
|
|
@@ -5549,7 +5549,7 @@ function requireHighcharts() {
|
|
|
5549
5549
|
}), r;
|
|
5550
5550
|
}
|
|
5551
5551
|
getNestedProperty(t) {
|
|
5552
|
-
if (t) return 0 === t.indexOf("custom.") ?
|
|
5552
|
+
if (t) return 0 === t.indexOf("custom.") ? oX(t, this.options) : this[t];
|
|
5553
5553
|
}
|
|
5554
5554
|
getZone() {
|
|
5555
5555
|
let t = this.series,
|
|
@@ -5578,7 +5578,7 @@ function requireHighcharts() {
|
|
|
5578
5578
|
a,
|
|
5579
5579
|
n = 0,
|
|
5580
5580
|
h = 0;
|
|
5581
|
-
if (oj(t) || null === t) r[s[0]] = t;else if (
|
|
5581
|
+
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));
|
|
5582
5582
|
return r;
|
|
5583
5583
|
}
|
|
5584
5584
|
pos(t, e = this.plotY) {
|
|
@@ -5770,12 +5770,13 @@ function requireHighcharts() {
|
|
|
5770
5770
|
class rr {
|
|
5771
5771
|
applyInactiveState(t = []) {
|
|
5772
5772
|
let e = [];
|
|
5773
|
-
t.forEach(t => {
|
|
5773
|
+
for (let i of (t.forEach(t => {
|
|
5774
5774
|
let i = t.series;
|
|
5775
5775
|
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));
|
|
5776
|
-
}), this.chart.series
|
|
5777
|
-
|
|
5778
|
-
|
|
5776
|
+
}), this.chart.series)) {
|
|
5777
|
+
let t = i.options;
|
|
5778
|
+
t.states?.inactive?.enabled !== false && (-1 === e.indexOf(i) ? i.setState("inactive", true) : t.inactiveOtherPoints && i.setAllPointsToState("inactive"));
|
|
5779
|
+
}
|
|
5779
5780
|
}
|
|
5780
5781
|
destroy() {
|
|
5781
5782
|
let t = this;
|
|
@@ -5884,7 +5885,7 @@ function requireHighcharts() {
|
|
|
5884
5885
|
}
|
|
5885
5886
|
i && o8(i.index) && (o5(i.container, {
|
|
5886
5887
|
cursor: i._cursor
|
|
5887
|
-
}), i.cancelClick = this.hasDragged > 10, i.mouseIsDown = false, this.hasDragged = 0, this.pinchDown = []);
|
|
5888
|
+
}), i.cancelClick = this.hasDragged > 10, i.mouseIsDown = false, this.hasDragged = 0, this.pinchDown = [], this.hasPinchMoved = false);
|
|
5888
5889
|
}
|
|
5889
5890
|
findNearestKDPoint(t, e, i) {
|
|
5890
5891
|
let s;
|
|
@@ -6069,7 +6070,7 @@ function requireHighcharts() {
|
|
|
6069
6070
|
}) || i?.shouldStickOnContact(o) || o.target !== e.container.ownerDocument && this.inClass(o.target, "highcharts-tracker") || this.reset();
|
|
6070
6071
|
}
|
|
6071
6072
|
onDocumentMouseUp(t) {
|
|
6072
|
-
oQ[ri(rr.hoverChartIndex, -1)]?.pointer?.drop(t);
|
|
6073
|
+
t?.touches && this.hasPinchMoved && t?.preventDefault?.(), oQ[ri(rr.hoverChartIndex, -1)]?.pointer?.drop(t);
|
|
6073
6074
|
}
|
|
6074
6075
|
pinch(t) {
|
|
6075
6076
|
let e = this,
|
|
@@ -6215,7 +6216,7 @@ function requireHighcharts() {
|
|
|
6215
6216
|
} = this;
|
|
6216
6217
|
this.setHoverChartIndex(), 1 === (t = this.normalize(t)).touches.length ? s.isInsidePlot(t.chartX - s.plotLeft, t.chartY - s.plotTop, {
|
|
6217
6218
|
visiblePlotOnly: true
|
|
6218
|
-
}) && !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);
|
|
6219
|
+
}) && !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);
|
|
6219
6220
|
}
|
|
6220
6221
|
touchSelect(t) {
|
|
6221
6222
|
return !!(this.chart.zooming.singleTouch && t.touches && 1 === t.touches.length);
|
|
@@ -6394,7 +6395,7 @@ function requireHighcharts() {
|
|
|
6394
6395
|
}
|
|
6395
6396
|
t.seriesTypes = w.seriesTypes, t.registerSeriesType = e, t.seriesType = function (i, s, o, r, a) {
|
|
6396
6397
|
let n = rx.plotOptions || {};
|
|
6397
|
-
if (s = s || "", n[i] = rv(n[s], o), delete t.seriesTypes[i], e(i, rb(t.seriesTypes[s] ||
|
|
6398
|
+
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) {
|
|
6398
6399
|
class e extends oK {}
|
|
6399
6400
|
ry(e.prototype, a), t.seriesTypes[i].prototype.pointClass = e;
|
|
6400
6401
|
}
|
|
@@ -6433,8 +6434,8 @@ function requireHighcharts() {
|
|
|
6433
6434
|
diffObjects: rR,
|
|
6434
6435
|
erase: rW,
|
|
6435
6436
|
error: rH,
|
|
6436
|
-
extend:
|
|
6437
|
-
find:
|
|
6437
|
+
extend: rX,
|
|
6438
|
+
find: rF,
|
|
6438
6439
|
fireEvent: rG,
|
|
6439
6440
|
getClosestDistance: rj,
|
|
6440
6441
|
getNestedProperty: rY,
|
|
@@ -6461,7 +6462,7 @@ function requireHighcharts() {
|
|
|
6461
6462
|
this.eventsToUnbind = [], this.chart = t, this.options = this.setOptions(e);
|
|
6462
6463
|
let o = this.options,
|
|
6463
6464
|
r = false !== o.visible;
|
|
6464
|
-
this.linkedSeries = [], this.bindAxes(),
|
|
6465
|
+
this.linkedSeries = [], this.bindAxes(), rX(this, {
|
|
6465
6466
|
name: o.name,
|
|
6466
6467
|
state: "",
|
|
6467
6468
|
visible: r,
|
|
@@ -6511,7 +6512,7 @@ function requireHighcharts() {
|
|
|
6511
6512
|
}
|
|
6512
6513
|
setDataSortingOptions() {
|
|
6513
6514
|
let t = this.options;
|
|
6514
|
-
|
|
6515
|
+
rX(this, {
|
|
6515
6516
|
requireSorting: false,
|
|
6516
6517
|
sorted: false,
|
|
6517
6518
|
enabledDataSorting: true,
|
|
@@ -6592,7 +6593,7 @@ function requireHighcharts() {
|
|
|
6592
6593
|
t instanceof oK && (i = t);
|
|
6593
6594
|
} else if (this.linkedParent || this.enabledDataSorting || this.options.relativeXValue) {
|
|
6594
6595
|
let e = e => !e.touched && e.index === t.index;
|
|
6595
|
-
if (h?.matchByName ? e = e => !e.touched && e.name === t.name : this.options.relativeXValue && (e = e => !e.touched && e.options.x === t.x), !(i =
|
|
6596
|
+
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;
|
|
6596
6597
|
}
|
|
6597
6598
|
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;
|
|
6598
6599
|
}
|
|
@@ -6818,7 +6819,7 @@ function requireHighcharts() {
|
|
|
6818
6819
|
let t = [];
|
|
6819
6820
|
t.length = e?.length || 0, y = this.data = t;
|
|
6820
6821
|
}
|
|
6821
|
-
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,
|
|
6822
|
+
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);
|
|
6822
6823
|
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);
|
|
6823
6824
|
this.data = y, this.points = l, rG(this, "afterGeneratePoints");
|
|
6824
6825
|
}
|
|
@@ -7395,7 +7396,7 @@ function requireHighcharts() {
|
|
|
7395
7396
|
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)));
|
|
7396
7397
|
g = g || r, u ? (p.push.apply(p, r0.keepPropsForPoints), false !== t.visible && p.push("area", "graph"), i.parallelArrays.forEach(function (t) {
|
|
7397
7398
|
p.push(t + "Data");
|
|
7398
|
-
}), t.data && (t.dataSorting &&
|
|
7399
|
+
}), t.data && (t.dataSorting && rX(i.options.dataSorting, t.dataSorting), this.setData(t.data, false))) : this.dataTable.modified = this.dataTable, t = r_(o, {
|
|
7399
7400
|
index: void 0 === o.index ? i.index : o.index,
|
|
7400
7401
|
pointStart: a?.series?.pointStart ?? o.pointStart ?? i.getColumn("x")[0]
|
|
7401
7402
|
}, !u && {
|
|
@@ -7408,7 +7409,7 @@ function requireHighcharts() {
|
|
|
7408
7409
|
if (f = g !== i.type, i.remove(false, false, false, true), f) if (s.propFromSeries(), Object.setPrototypeOf) Object.setPrototypeOf(i, rP[g].prototype);else {
|
|
7409
7410
|
let t = Object.hasOwnProperty.call(i, "hcEvents") && i.hcEvents;
|
|
7410
7411
|
for (c in n) i[c] = void 0;
|
|
7411
|
-
|
|
7412
|
+
rX(i, rP[g].prototype), t ? i.hcEvents = t : delete i.hcEvents;
|
|
7412
7413
|
}
|
|
7413
7414
|
} else rH(17, true, s, {
|
|
7414
7415
|
missingModuleFor: g
|
|
@@ -7597,7 +7598,7 @@ function requireHighcharts() {
|
|
|
7597
7598
|
stickyTracking: true,
|
|
7598
7599
|
turboThreshold: 1e3,
|
|
7599
7600
|
findNearestPointBy: "x"
|
|
7600
|
-
}, 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"],
|
|
7601
|
+
}, 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, {
|
|
7601
7602
|
axisTypes: ["xAxis", "yAxis"],
|
|
7602
7603
|
coll: "series",
|
|
7603
7604
|
colorCounter: 0,
|
|
@@ -7724,10 +7725,9 @@ function requireHighcharts() {
|
|
|
7724
7725
|
n && (n.x = i, n.y = s);
|
|
7725
7726
|
}
|
|
7726
7727
|
destroyItem(t) {
|
|
7727
|
-
let e = t.
|
|
7728
|
-
|
|
7729
|
-
|
|
7730
|
-
e && as(e), t.legendItem = void 0;
|
|
7728
|
+
let e = t.legendItem || {};
|
|
7729
|
+
for (let t of ["group", "label", "line", "symbol"]) e[t] && (e[t] = e[t].destroy());
|
|
7730
|
+
t.checkbox = as(t.checkbox), t.legendItem = void 0;
|
|
7731
7731
|
}
|
|
7732
7732
|
destroy() {
|
|
7733
7733
|
for (let t of this.getAllItems()) this.destroyItem(t);
|
|
@@ -7831,8 +7831,8 @@ function requireHighcharts() {
|
|
|
7831
7831
|
let i = this.chart,
|
|
7832
7832
|
s = this.options,
|
|
7833
7833
|
o = this.getAlignment();
|
|
7834
|
-
o && [/(lth|ct|rth)/, /(rtv|rm|rbv)/, /(rbh|cb|lbh)/, /(lbv|lm|ltv)/].forEach(
|
|
7835
|
-
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"] +
|
|
7834
|
+
o && [/(lth|ct|rth)/, /(rtv|rm|rbv)/, /(rbh|cb|lbh)/, /(lbv|lm|ltv)/].forEach((r, a) => {
|
|
7835
|
+
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)));
|
|
7836
7836
|
});
|
|
7837
7837
|
}
|
|
7838
7838
|
proximatePositions() {
|
|
@@ -8077,8 +8077,8 @@ function requireHighcharts() {
|
|
|
8077
8077
|
find: aR,
|
|
8078
8078
|
fireEvent: aW,
|
|
8079
8079
|
getAlignFactor: aH,
|
|
8080
|
-
getStyle:
|
|
8081
|
-
isArray:
|
|
8080
|
+
getStyle: aX,
|
|
8081
|
+
isArray: aF,
|
|
8082
8082
|
isNumber: aG,
|
|
8083
8083
|
isObject: aj,
|
|
8084
8084
|
isString: aY,
|
|
@@ -8354,8 +8354,8 @@ function requireHighcharts() {
|
|
|
8354
8354
|
}
|
|
8355
8355
|
}),
|
|
8356
8356
|
e = {
|
|
8357
|
-
width:
|
|
8358
|
-
height:
|
|
8357
|
+
width: aX(this.renderTo, "width", true) || 0,
|
|
8358
|
+
height: aX(this.renderTo, "height", true) || 0
|
|
8359
8359
|
};
|
|
8360
8360
|
return t.filter(Boolean).forEach(([t, e]) => {
|
|
8361
8361
|
t.style.display = e;
|
|
@@ -8372,7 +8372,7 @@ function requireHighcharts() {
|
|
|
8372
8372
|
temporaryDisplay(t) {
|
|
8373
8373
|
let e = this.renderTo,
|
|
8374
8374
|
i;
|
|
8375
|
-
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" ===
|
|
8375
|
+
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 = {
|
|
8376
8376
|
display: e.style.display,
|
|
8377
8377
|
height: e.style.height,
|
|
8378
8378
|
overflow: e.style.overflow
|
|
@@ -8434,12 +8434,12 @@ function requireHighcharts() {
|
|
|
8434
8434
|
e = t.axisOffset = [0, 0, 0, 0],
|
|
8435
8435
|
i = t.colorAxis,
|
|
8436
8436
|
s = t.margin,
|
|
8437
|
-
o =
|
|
8438
|
-
t.forEach(
|
|
8437
|
+
o = t => {
|
|
8438
|
+
t.forEach(t => {
|
|
8439
8439
|
t.visible && t.getOffset();
|
|
8440
8440
|
});
|
|
8441
8441
|
};
|
|
8442
|
-
t.hasCartesianSeries ? o(t.axes) : i?.length && o(i), aM.forEach(
|
|
8442
|
+
t.hasCartesianSeries ? o(t.axes) : i?.length && o(i), aM.forEach((i, o) => {
|
|
8443
8443
|
aE(s[o]) || (t[i] += e[o]);
|
|
8444
8444
|
}), t.setChartSize();
|
|
8445
8445
|
}
|
|
@@ -8526,14 +8526,14 @@ function requireHighcharts() {
|
|
|
8526
8526
|
e = t.options.chart,
|
|
8527
8527
|
i = e.plotBorderWidth || 0,
|
|
8528
8528
|
s = Math.round(i) / 2;
|
|
8529
|
-
["margin", "spacing"].forEach(
|
|
8529
|
+
["margin", "spacing"].forEach(i => {
|
|
8530
8530
|
let s = e[i],
|
|
8531
8531
|
o = aj(s) ? s : [s, s, s, s];
|
|
8532
|
-
["Top", "Right", "Bottom", "Left"].forEach(
|
|
8533
|
-
t[i][r] =
|
|
8532
|
+
["Top", "Right", "Bottom", "Left"].forEach((s, r) => {
|
|
8533
|
+
t[i][r] = e[`${i}${s}`] ?? o[r];
|
|
8534
8534
|
});
|
|
8535
|
-
}), aM.forEach(
|
|
8536
|
-
t[e] =
|
|
8535
|
+
}), aM.forEach((e, i) => {
|
|
8536
|
+
t[e] = t.margin[i] ?? t.spacing[i];
|
|
8537
8537
|
}), t.axisOffset = [0, 0, 0, 0], t.clipOffset = [s, s, s, s], t.plotBorderWidth = i;
|
|
8538
8538
|
}
|
|
8539
8539
|
drawChartBox() {
|
|
@@ -8689,7 +8689,7 @@ function requireHighcharts() {
|
|
|
8689
8689
|
let t = this,
|
|
8690
8690
|
e = t.options;
|
|
8691
8691
|
t.getContainer(), t.resetMargins(), t.setChartSize(), t.propFromSeries(), t.createAxes();
|
|
8692
|
-
let i =
|
|
8692
|
+
let i = aF(e.series) ? e.series : [];
|
|
8693
8693
|
e.series = [], i.forEach(function (e) {
|
|
8694
8694
|
t.initSeries(e);
|
|
8695
8695
|
}), t.linkSeries(), t.setSortedData(), aW(t, "beforeRender"), t.render(), t.pointer?.getChartPosition(), t.renderer.imgCount || t.hasLoaded || t.onload(), t.temporaryDisplay(true);
|
|
@@ -8950,11 +8950,11 @@ function requireHighcharts() {
|
|
|
8950
8950
|
R = E ?? N,
|
|
8951
8951
|
W = I ?? z,
|
|
8952
8952
|
H = L - P,
|
|
8953
|
-
|
|
8954
|
-
|
|
8955
|
-
G = W +
|
|
8953
|
+
X = t.categories ? 0 : Math.min(H, W - R),
|
|
8954
|
+
F = R - X * (aE(N) ? 0 : f.minPadding),
|
|
8955
|
+
G = W + X * (aE(z) ? 0 : f.maxPadding),
|
|
8956
8956
|
j = t.allowZoomOutside || 1 === k || "zoom" !== n && k > 1,
|
|
8957
|
-
Y = Math.min(N ??
|
|
8957
|
+
Y = Math.min(N ?? F, F, j ? D : F),
|
|
8958
8958
|
U = Math.max(z ?? G, G, j ? B : G);
|
|
8959
8959
|
(!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({
|
|
8960
8960
|
axis: t,
|
|
@@ -9023,7 +9023,9 @@ function requireHighcharts() {
|
|
|
9023
9023
|
inverted: l,
|
|
9024
9024
|
renderer: d
|
|
9025
9025
|
} = t;
|
|
9026
|
-
if (!d.forExport
|
|
9026
|
+
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)) {
|
|
9027
|
+
if (!e.skipAxes) for (let e of t.axes) (e.horiz === o || t.hasParallelCoordinates && "yAxis" === e.coll) && (e.setAxisSize(), e.setAxisTranslation());
|
|
9028
|
+
} else delete t.scrollablePlotBox;
|
|
9027
9029
|
}
|
|
9028
9030
|
constructor(t) {
|
|
9029
9031
|
let e,
|
|
@@ -9500,7 +9502,7 @@ function requireHighcharts() {
|
|
|
9500
9502
|
objectEach: nW,
|
|
9501
9503
|
pick: nH
|
|
9502
9504
|
} = V;
|
|
9503
|
-
class
|
|
9505
|
+
class nX extends nN {
|
|
9504
9506
|
drawGraph() {
|
|
9505
9507
|
this.areaPath = [], super.drawGraph.apply(this);
|
|
9506
9508
|
let {
|
|
@@ -9628,20 +9630,20 @@ function requireHighcharts() {
|
|
|
9628
9630
|
return i;
|
|
9629
9631
|
}
|
|
9630
9632
|
}
|
|
9631
|
-
|
|
9633
|
+
nX.defaultOptions = nR(nN.defaultOptions, {
|
|
9632
9634
|
threshold: 0,
|
|
9633
9635
|
legendSymbol: "areaMarker"
|
|
9634
|
-
}), nz(
|
|
9636
|
+
}), nz(nX.prototype, {
|
|
9635
9637
|
singleStacks: false
|
|
9636
|
-
}), rk.registerSeriesType("area",
|
|
9638
|
+
}), rk.registerSeriesType("area", nX);
|
|
9637
9639
|
let {
|
|
9638
|
-
line:
|
|
9640
|
+
line: nF
|
|
9639
9641
|
} = rk.seriesTypes,
|
|
9640
9642
|
{
|
|
9641
9643
|
merge: nG,
|
|
9642
9644
|
pick: nj
|
|
9643
9645
|
} = V;
|
|
9644
|
-
class nY extends
|
|
9646
|
+
class nY extends nF {
|
|
9645
9647
|
getPointSpline(t, e, i) {
|
|
9646
9648
|
let s,
|
|
9647
9649
|
o,
|
|
@@ -9669,7 +9671,7 @@ function requireHighcharts() {
|
|
|
9669
9671
|
return l.rightContX = l.rightContY = void 0, p;
|
|
9670
9672
|
}
|
|
9671
9673
|
}
|
|
9672
|
-
nY.defaultOptions = nG(
|
|
9674
|
+
nY.defaultOptions = nG(nF.defaultOptions), rk.registerSeriesType("spline", nY);
|
|
9673
9675
|
let nU = nY,
|
|
9674
9676
|
{
|
|
9675
9677
|
area: n$,
|
|
@@ -10336,8 +10338,8 @@ function requireHighcharts() {
|
|
|
10336
10338
|
addEvent: hR,
|
|
10337
10339
|
defined: hW,
|
|
10338
10340
|
extend: hH,
|
|
10339
|
-
isNumber:
|
|
10340
|
-
pick:
|
|
10341
|
+
isNumber: hX,
|
|
10342
|
+
pick: hF,
|
|
10341
10343
|
relativeLength: hG
|
|
10342
10344
|
} = V;
|
|
10343
10345
|
class hj extends oK {
|
|
@@ -10374,7 +10376,7 @@ function requireHighcharts() {
|
|
|
10374
10376
|
hR(this, "select", s), hR(this, "unselect", s);
|
|
10375
10377
|
}
|
|
10376
10378
|
isValid() {
|
|
10377
|
-
return
|
|
10379
|
+
return hX(this.y) && this.y >= 0;
|
|
10378
10380
|
}
|
|
10379
10381
|
setVisible(t, e = true) {
|
|
10380
10382
|
t !== this.visible && this.update({
|
|
@@ -10383,7 +10385,7 @@ function requireHighcharts() {
|
|
|
10383
10385
|
}
|
|
10384
10386
|
slice(t, e, i) {
|
|
10385
10387
|
let s = this.series;
|
|
10386
|
-
hz(i, s.chart), e =
|
|
10388
|
+
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());
|
|
10387
10389
|
}
|
|
10388
10390
|
}
|
|
10389
10391
|
hH(hj.prototype, {
|
|
@@ -10496,7 +10498,7 @@ function requireHighcharts() {
|
|
|
10496
10498
|
return o[0] + Math.cos(h) * (r + n) * (e ? -1 : 1) + (n > 0 ? (e ? -1 : 1) * (s.padding || 0) : 0);
|
|
10497
10499
|
}
|
|
10498
10500
|
hasData() {
|
|
10499
|
-
return
|
|
10501
|
+
return this.points.some(t => t.visible);
|
|
10500
10502
|
}
|
|
10501
10503
|
redrawPoints() {
|
|
10502
10504
|
let t,
|
|
@@ -10632,9 +10634,10 @@ function requireHighcharts() {
|
|
|
10632
10634
|
arrayMax: h2,
|
|
10633
10635
|
clamp: h3,
|
|
10634
10636
|
defined: h5,
|
|
10635
|
-
|
|
10636
|
-
|
|
10637
|
-
|
|
10637
|
+
isNumber: h6,
|
|
10638
|
+
pick: h9,
|
|
10639
|
+
pushUnique: h4,
|
|
10640
|
+
relativeLength: h8
|
|
10638
10641
|
} = V;
|
|
10639
10642
|
!function (t) {
|
|
10640
10643
|
let e = {
|
|
@@ -10730,7 +10733,7 @@ function requireHighcharts() {
|
|
|
10730
10733
|
(t.dataLabels || []).forEach((e, i) => {
|
|
10731
10734
|
let s = n[2] / 2,
|
|
10732
10735
|
o = e.options,
|
|
10733
|
-
r =
|
|
10736
|
+
r = h8(o?.distance || 0, s);
|
|
10734
10737
|
0 === i && d[t.half].push(t), !h5(o?.style?.width) && e.getBBox().width > a && (e.css({
|
|
10735
10738
|
width: Math.round(.7 * a) + "px"
|
|
10736
10739
|
}), e.shortened = true), e.dataLabelPosition = this.getDataLabelPosition(t, r), m = Math.max(m, r);
|
|
@@ -10783,7 +10786,7 @@ function requireHighcharts() {
|
|
|
10783
10786
|
right: -b
|
|
10784
10787
|
}[x.alignment] || 0),
|
|
10785
10788
|
y: M + (d.y || 0) - v / 2
|
|
10786
|
-
}, x.computed.x = w, x.computed.y = M - k,
|
|
10789
|
+
}, x.computed.x = w, x.computed.y = M - k, h9(d.crop, true)) {
|
|
10787
10790
|
let t;
|
|
10788
10791
|
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;
|
|
10789
10792
|
}
|
|
@@ -10797,7 +10800,7 @@ function requireHighcharts() {
|
|
|
10797
10800
|
connectorWidth: r = 1
|
|
10798
10801
|
} = s.options || {},
|
|
10799
10802
|
a = s.dataLabelPosition;
|
|
10800
|
-
if (r) {
|
|
10803
|
+
if (h6(r)) {
|
|
10801
10804
|
let n;
|
|
10802
10805
|
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({
|
|
10803
10806
|
"stroke-width": r,
|
|
@@ -10831,16 +10834,16 @@ function requireHighcharts() {
|
|
|
10831
10834
|
o = i.minSize || 80,
|
|
10832
10835
|
r = o,
|
|
10833
10836
|
a = null !== i.size;
|
|
10834
|
-
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,
|
|
10837
|
+
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;
|
|
10835
10838
|
}
|
|
10836
10839
|
t.compose = function (t) {
|
|
10837
|
-
if (hf.compose(h1),
|
|
10840
|
+
if (hf.compose(h1), h4(hJ, "PieDataLabel")) {
|
|
10838
10841
|
let a = t.prototype;
|
|
10839
10842
|
a.dataLabelPositioners = e, a.alignDataLabel = hQ, a.drawDataLabels = s, a.getDataLabelPosition = i, a.placeDataLabels = o, a.verifyDataLabelOverflow = r;
|
|
10840
10843
|
}
|
|
10841
10844
|
};
|
|
10842
10845
|
}(x || (x = {}));
|
|
10843
|
-
let
|
|
10846
|
+
let h7 = x;
|
|
10844
10847
|
!function (t) {
|
|
10845
10848
|
t.getCenterOfPoints = function (t) {
|
|
10846
10849
|
let e = t.reduce((t, e) => (t.x += e.x, t.y += e.y, t), {
|
|
@@ -10872,20 +10875,20 @@ function requireHighcharts() {
|
|
|
10872
10875
|
};
|
|
10873
10876
|
}(y || (y = {}));
|
|
10874
10877
|
let {
|
|
10875
|
-
pointInPolygon:
|
|
10878
|
+
pointInPolygon: lt
|
|
10876
10879
|
} = y,
|
|
10877
10880
|
{
|
|
10878
|
-
addEvent:
|
|
10879
|
-
getAlignFactor:
|
|
10880
|
-
fireEvent:
|
|
10881
|
-
objectEach:
|
|
10882
|
-
pick:
|
|
10881
|
+
addEvent: le,
|
|
10882
|
+
getAlignFactor: li,
|
|
10883
|
+
fireEvent: ls,
|
|
10884
|
+
objectEach: lo,
|
|
10885
|
+
pick: lr
|
|
10883
10886
|
} = V;
|
|
10884
|
-
function
|
|
10887
|
+
function la(t) {
|
|
10885
10888
|
let e = t.length,
|
|
10886
10889
|
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),
|
|
10887
10890
|
s = (t, e) => {
|
|
10888
|
-
for (let i of t) if (
|
|
10891
|
+
for (let i of t) if (lt({
|
|
10889
10892
|
x: i[0],
|
|
10890
10893
|
y: i[1]
|
|
10891
10894
|
}, e)) return true;
|
|
@@ -10909,7 +10912,7 @@ function requireHighcharts() {
|
|
|
10909
10912
|
polygon: o,
|
|
10910
10913
|
width: r
|
|
10911
10914
|
} = t.getBBox(),
|
|
10912
|
-
a =
|
|
10915
|
+
a = li(t.alignValue) * r;
|
|
10913
10916
|
return t.width = r, t.height = s, {
|
|
10914
10917
|
x: i.x + (t.parentGroup?.translateX || 0) + e - a,
|
|
10915
10918
|
y: i.y + (t.parentGroup?.translateY || 0) + e,
|
|
@@ -10936,10 +10939,10 @@ function requireHighcharts() {
|
|
|
10936
10939
|
}
|
|
10937
10940
|
}
|
|
10938
10941
|
}
|
|
10939
|
-
for (let e of t)
|
|
10940
|
-
l &&
|
|
10942
|
+
for (let e of t) ln(e, this) && (l = true);
|
|
10943
|
+
l && ls(this, "afterHideAllOverlappingLabels");
|
|
10941
10944
|
}
|
|
10942
|
-
function
|
|
10945
|
+
function ln(t, e) {
|
|
10943
10946
|
let i,
|
|
10944
10947
|
s = false;
|
|
10945
10948
|
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"]({
|
|
@@ -10948,16 +10951,16 @@ function requireHighcharts() {
|
|
|
10948
10951
|
e.styledMode || t.css({
|
|
10949
10952
|
pointerEvents: i ? "auto" : "none"
|
|
10950
10953
|
});
|
|
10951
|
-
}),
|
|
10954
|
+
}), ls(e, "afterHideOverlappingLabel")) : t.attr({
|
|
10952
10955
|
opacity: i
|
|
10953
10956
|
})), t.isOld = true), s;
|
|
10954
10957
|
}
|
|
10955
|
-
function
|
|
10958
|
+
function lh() {
|
|
10956
10959
|
let t = this,
|
|
10957
10960
|
e = [];
|
|
10958
10961
|
for (let i of t.labelCollectors || []) e = e.concat(i());
|
|
10959
|
-
for (let i of t.yAxis || []) i.stacking && i.options.stackLabels && !i.options.stackLabels.allowOverlap &&
|
|
10960
|
-
|
|
10962
|
+
for (let i of t.yAxis || []) i.stacking && i.options.stackLabels && !i.options.stackLabels.allowOverlap && lo(i.stacking.stacks, t => {
|
|
10963
|
+
lo(t, t => {
|
|
10961
10964
|
t.label && e.push(t.label);
|
|
10962
10965
|
});
|
|
10963
10966
|
});
|
|
@@ -10965,54 +10968,56 @@ function requireHighcharts() {
|
|
|
10965
10968
|
let s = i => {
|
|
10966
10969
|
for (let s of i) s.visible && (s.dataLabels || []).forEach(i => {
|
|
10967
10970
|
let o = i.options || {};
|
|
10968
|
-
i.labelrank =
|
|
10971
|
+
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);
|
|
10969
10972
|
});
|
|
10970
10973
|
};
|
|
10971
10974
|
s(i.nodes || []), s(i.points);
|
|
10972
10975
|
}
|
|
10973
10976
|
this.hideOverlappingLabels(e);
|
|
10974
10977
|
}
|
|
10975
|
-
let
|
|
10978
|
+
let ll = {
|
|
10976
10979
|
compose: function (t) {
|
|
10977
10980
|
let e = t.prototype;
|
|
10978
|
-
e.hideOverlappingLabels || (e.hideOverlappingLabels =
|
|
10981
|
+
e.hideOverlappingLabels || (e.hideOverlappingLabels = la, le(t, "render", lh));
|
|
10979
10982
|
}
|
|
10980
10983
|
},
|
|
10981
10984
|
{
|
|
10982
|
-
defaultOptions:
|
|
10985
|
+
defaultOptions: ld
|
|
10983
10986
|
} = tv,
|
|
10984
10987
|
{
|
|
10985
|
-
noop:
|
|
10988
|
+
noop: lc
|
|
10986
10989
|
} = w,
|
|
10987
10990
|
{
|
|
10988
|
-
addEvent:
|
|
10989
|
-
extend:
|
|
10990
|
-
isObject:
|
|
10991
|
-
merge:
|
|
10992
|
-
relativeLength:
|
|
10991
|
+
addEvent: lp,
|
|
10992
|
+
extend: lg,
|
|
10993
|
+
isObject: lu,
|
|
10994
|
+
merge: lf,
|
|
10995
|
+
relativeLength: lm
|
|
10993
10996
|
} = V,
|
|
10994
|
-
|
|
10997
|
+
lx = {
|
|
10995
10998
|
radius: 0,
|
|
10996
10999
|
scope: "stack",
|
|
10997
11000
|
where: void 0
|
|
10998
11001
|
},
|
|
10999
|
-
|
|
11000
|
-
|
|
11001
|
-
function
|
|
11002
|
-
let r =
|
|
11002
|
+
ly = lc,
|
|
11003
|
+
lb = lc;
|
|
11004
|
+
function lv(t, e, i, s, o = {}) {
|
|
11005
|
+
let r = ly(t, e, i, s, o),
|
|
11003
11006
|
{
|
|
11004
|
-
|
|
11005
|
-
|
|
11006
|
-
|
|
11007
|
-
|
|
11007
|
+
brStart: a = true,
|
|
11008
|
+
brEnd: n = true,
|
|
11009
|
+
innerR: h = 0,
|
|
11010
|
+
r: l = i,
|
|
11011
|
+
start: d = 0,
|
|
11012
|
+
end: c = 0
|
|
11008
11013
|
} = o;
|
|
11009
11014
|
if (o.open || !o.borderRadius) return r;
|
|
11010
|
-
let
|
|
11011
|
-
|
|
11012
|
-
|
|
11013
|
-
|
|
11014
|
-
|
|
11015
|
-
for (;
|
|
11015
|
+
let p = c - d,
|
|
11016
|
+
g = Math.sin(p / 2),
|
|
11017
|
+
u = Math.max(Math.min(lm(o.borderRadius || 0, l - h), (l - h) / 2, l * g / (1 + g)), 0),
|
|
11018
|
+
f = Math.min(u, p / Math.PI * 2 * h),
|
|
11019
|
+
m = r.length - 1;
|
|
11020
|
+
for (; m--;) (a || 0 !== m && 3 !== m) && (n || 1 !== m && 2 !== m) && !function (t, e, i) {
|
|
11016
11021
|
let s,
|
|
11017
11022
|
o,
|
|
11018
11023
|
r,
|
|
@@ -11034,18 +11039,18 @@ function requireHighcharts() {
|
|
|
11034
11039
|
m = Math.cos(u) * g;
|
|
11035
11040
|
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;
|
|
11036
11041
|
}
|
|
11037
|
-
}(r,
|
|
11042
|
+
}(r, m, m > 1 ? f : u);
|
|
11038
11043
|
return r;
|
|
11039
11044
|
}
|
|
11040
|
-
function
|
|
11045
|
+
function lk() {
|
|
11041
11046
|
if (this.options.borderRadius && !(this.chart.is3d && this.chart.is3d())) {
|
|
11042
11047
|
let {
|
|
11043
11048
|
options: t,
|
|
11044
11049
|
yAxis: e
|
|
11045
11050
|
} = this,
|
|
11046
11051
|
i = "percent" === t.stacking,
|
|
11047
|
-
s =
|
|
11048
|
-
o =
|
|
11052
|
+
s = ld.plotOptions?.[this.type]?.borderRadius,
|
|
11053
|
+
o = lw(t.borderRadius, lu(s) ? s : {}),
|
|
11049
11054
|
r = e.options.reversed;
|
|
11050
11055
|
for (let s of this.points) {
|
|
11051
11056
|
let {
|
|
@@ -11068,8 +11073,8 @@ function requireHighcharts() {
|
|
|
11068
11073
|
let p = (s.negative ? -1 : 1) * (r ? -1 : 1) == -1,
|
|
11069
11074
|
g = o.where;
|
|
11070
11075
|
!g && this.is("waterfall") && Math.abs((s.yBottom || 0) - (this.translatedThreshold || 0)) > this.borderWidth && (g = "all"), g || (g = "end");
|
|
11071
|
-
let u = Math.min(
|
|
11072
|
-
"end" === g && (p && (d -= u), c += u),
|
|
11076
|
+
let u = Math.min(lm(o.radius, n), n / 2, "all" === g ? h / 2 : 1 / 0) || 0;
|
|
11077
|
+
"end" === g && (p && (d -= u), c += u), lg(a, {
|
|
11073
11078
|
brBoxHeight: c,
|
|
11074
11079
|
brBoxY: d,
|
|
11075
11080
|
r: u
|
|
@@ -11078,20 +11083,20 @@ function requireHighcharts() {
|
|
|
11078
11083
|
}
|
|
11079
11084
|
}
|
|
11080
11085
|
}
|
|
11081
|
-
function
|
|
11082
|
-
return
|
|
11086
|
+
function lw(t, e) {
|
|
11087
|
+
return lu(t) || (t = {
|
|
11083
11088
|
radius: t || 0
|
|
11084
|
-
}),
|
|
11089
|
+
}), lf(lx, e, t);
|
|
11085
11090
|
}
|
|
11086
|
-
function
|
|
11087
|
-
let t =
|
|
11091
|
+
function lM() {
|
|
11092
|
+
let t = lw(this.options.borderRadius);
|
|
11088
11093
|
for (let e of this.points) {
|
|
11089
11094
|
let i = e.shapeArgs;
|
|
11090
|
-
i && (i.borderRadius =
|
|
11095
|
+
i && (i.borderRadius = lm(t.radius, (i.r || 0) - (i.innerR || 0)));
|
|
11091
11096
|
}
|
|
11092
11097
|
}
|
|
11093
|
-
function
|
|
11094
|
-
let r =
|
|
11098
|
+
function lS(t, e, i, s, o = {}) {
|
|
11099
|
+
let r = lb(t, e, i, s, o),
|
|
11095
11100
|
{
|
|
11096
11101
|
r: a = 0,
|
|
11097
11102
|
brBoxHeight: n = s,
|
|
@@ -11131,18 +11136,18 @@ function requireHighcharts() {
|
|
|
11131
11136
|
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;
|
|
11132
11137
|
}
|
|
11133
11138
|
let {
|
|
11134
|
-
diffObjects:
|
|
11135
|
-
extend:
|
|
11136
|
-
find:
|
|
11137
|
-
merge:
|
|
11138
|
-
pick:
|
|
11139
|
-
uniqueKey:
|
|
11139
|
+
diffObjects: lT,
|
|
11140
|
+
extend: lC,
|
|
11141
|
+
find: lA,
|
|
11142
|
+
merge: lP,
|
|
11143
|
+
pick: lL,
|
|
11144
|
+
uniqueKey: lO
|
|
11140
11145
|
} = V;
|
|
11141
11146
|
!function (t) {
|
|
11142
11147
|
function e(t, e) {
|
|
11143
11148
|
let i = t.condition;
|
|
11144
11149
|
(i.callback || function () {
|
|
11145
|
-
return this.chartWidth <=
|
|
11150
|
+
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);
|
|
11146
11151
|
}).call(this) && e.push(t._id);
|
|
11147
11152
|
}
|
|
11148
11153
|
function i(t, e) {
|
|
@@ -11151,12 +11156,12 @@ function requireHighcharts() {
|
|
|
11151
11156
|
o = [],
|
|
11152
11157
|
r;
|
|
11153
11158
|
!e && i && i.rules && i.rules.forEach(t => {
|
|
11154
|
-
void 0 === t._id && (t._id =
|
|
11159
|
+
void 0 === t._id && (t._id = lO()), this.matchResponsiveRule(t, o);
|
|
11155
11160
|
}, this);
|
|
11156
|
-
let a =
|
|
11161
|
+
let a = lP(...o.map(t => lA(i?.rules || [], e => e._id === t)).map(t => t?.chartOptions));
|
|
11157
11162
|
a.isResponsiveOptions = true, o = o.toString() || void 0;
|
|
11158
11163
|
let n = s?.ruleIds;
|
|
11159
|
-
o !== n && (s && (this.currentResponsive = void 0, this.updatingResponsive = true, this.update(s.undoOptions, t, true), this.updatingResponsive = false), o ? ((r =
|
|
11164
|
+
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 = {
|
|
11160
11165
|
ruleIds: o,
|
|
11161
11166
|
mergedOptions: a,
|
|
11162
11167
|
undoOptions: r
|
|
@@ -11164,26 +11169,26 @@ function requireHighcharts() {
|
|
|
11164
11169
|
}
|
|
11165
11170
|
t.compose = function (t) {
|
|
11166
11171
|
let s = t.prototype;
|
|
11167
|
-
return s.matchResponsiveRule ||
|
|
11172
|
+
return s.matchResponsiveRule || lC(s, {
|
|
11168
11173
|
matchResponsiveRule: e,
|
|
11169
11174
|
setResponsive: i
|
|
11170
11175
|
}), t;
|
|
11171
11176
|
};
|
|
11172
11177
|
}(b || (b = {}));
|
|
11173
|
-
let
|
|
11174
|
-
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 ||
|
|
11178
|
+
let lE = b;
|
|
11179
|
+
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, {
|
|
11175
11180
|
compose: function (t, e, i) {
|
|
11176
11181
|
let s = t.types.pie;
|
|
11177
11182
|
if (!e.symbolCustomAttribs.includes("borderRadius")) {
|
|
11178
11183
|
let o = i.prototype.symbols;
|
|
11179
|
-
|
|
11184
|
+
lp(t, "afterColumnTranslate", lk, {
|
|
11180
11185
|
order: 9
|
|
11181
|
-
}),
|
|
11186
|
+
}), lp(s, "afterTranslate", lM), e.symbolCustomAttribs.push("borderRadius", "brBoxHeight", "brBoxY", "brEnd", "brStart"), ly = o.arc, lb = o.roundedRect, o.arc = lv, o.roundedRect = lS;
|
|
11182
11187
|
}
|
|
11183
11188
|
},
|
|
11184
|
-
optionsToObject:
|
|
11185
|
-
}.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),
|
|
11186
|
-
let
|
|
11189
|
+
optionsToObject: lw
|
|
11190
|
+
}.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);
|
|
11191
|
+
let lI = w;
|
|
11187
11192
|
return k.default;
|
|
11188
11193
|
})());
|
|
11189
11194
|
})(highcharts$1);
|
|
@@ -11393,8 +11398,7 @@ const initSeries$2 = props => {
|
|
|
11393
11398
|
const renderXAxis = (categories, showXLabel) => ({
|
|
11394
11399
|
categories,
|
|
11395
11400
|
labels: {
|
|
11396
|
-
enabled: showXLabel
|
|
11397
|
-
// Default to true if not specified
|
|
11401
|
+
enabled: showXLabel,
|
|
11398
11402
|
style: {
|
|
11399
11403
|
textTransform: "uppercase",
|
|
11400
11404
|
color: "#575E77"
|
|
@@ -11409,8 +11413,7 @@ const initSeries$2 = props => {
|
|
|
11409
11413
|
gridLineDashStyle: "Dot",
|
|
11410
11414
|
gridLineWidth: 2,
|
|
11411
11415
|
labels: {
|
|
11412
|
-
enabled: showYLabel
|
|
11413
|
-
// Default to true if not specified
|
|
11416
|
+
enabled: showYLabel,
|
|
11414
11417
|
formatter: ctx => {
|
|
11415
11418
|
if (!equalizer || series.length > 1) {
|
|
11416
11419
|
return ctx.value;
|
|
@@ -11585,9 +11588,11 @@ const isStacked = props => {
|
|
|
11585
11588
|
const initChart$1 = props => {
|
|
11586
11589
|
const isMulti = isMultiAxis(props);
|
|
11587
11590
|
const isStackedChart = isStacked(props);
|
|
11591
|
+
// Use "area" type when step is enabled, otherwise use "areaspline" for smooth curves
|
|
11592
|
+
const chartType = props.step ? "area" : "areaspline";
|
|
11588
11593
|
return {
|
|
11589
11594
|
chart: {
|
|
11590
|
-
type:
|
|
11595
|
+
type: chartType,
|
|
11591
11596
|
backgroundColor: props?.bgColor || "rgba(255, 255, 255, 0)",
|
|
11592
11597
|
plotBackgroundColor: props?.plotBgColor || "rgba(255, 255, 255, 0)"
|
|
11593
11598
|
},
|
|
@@ -11695,7 +11700,8 @@ const SimpleArea = props => {
|
|
|
11695
11700
|
colors: [props.color || "gray"],
|
|
11696
11701
|
title: props.title,
|
|
11697
11702
|
legendPosition: props.legendPosition,
|
|
11698
|
-
showYAxis: props.showYAxis
|
|
11703
|
+
showYAxis: props.showYAxis,
|
|
11704
|
+
step: props.step
|
|
11699
11705
|
};
|
|
11700
11706
|
return /*#__PURE__*/React.createElement(Area, chartOptions);
|
|
11701
11707
|
};
|
|
@@ -11773,30 +11779,27 @@ const initSeries$1 = props => {
|
|
|
11773
11779
|
gridLineDashStyle: "Dot",
|
|
11774
11780
|
gridLineWidth: 2
|
|
11775
11781
|
};
|
|
11776
|
-
const labels = {
|
|
11777
|
-
color: "#575E77"
|
|
11778
|
-
};
|
|
11779
|
-
const yAxis = {
|
|
11780
|
-
...defaults,
|
|
11781
|
-
...{
|
|
11782
|
-
labels
|
|
11783
|
-
}
|
|
11784
|
-
};
|
|
11785
11782
|
|
|
11786
|
-
// Hide yAxis if showYAxis is false
|
|
11783
|
+
// Hide yAxis labels and grid if showYAxis is explicitly false
|
|
11787
11784
|
if (props.showYAxis === false) {
|
|
11788
11785
|
return {
|
|
11789
|
-
...
|
|
11790
|
-
visible: false,
|
|
11786
|
+
...defaults,
|
|
11791
11787
|
labels: {
|
|
11792
11788
|
enabled: false
|
|
11793
11789
|
},
|
|
11794
|
-
|
|
11795
|
-
|
|
11796
|
-
}
|
|
11790
|
+
gridLineWidth: 0,
|
|
11791
|
+
lineWidth: 0
|
|
11797
11792
|
};
|
|
11798
11793
|
}
|
|
11799
|
-
|
|
11794
|
+
|
|
11795
|
+
// When showYAxis is true or undefined, show axis with labels
|
|
11796
|
+
return {
|
|
11797
|
+
...defaults,
|
|
11798
|
+
labels: {
|
|
11799
|
+
enabled: true,
|
|
11800
|
+
color: "#575E77"
|
|
11801
|
+
}
|
|
11802
|
+
};
|
|
11800
11803
|
};
|
|
11801
11804
|
const renderPlot = () => {
|
|
11802
11805
|
const areaspline = {
|
|
@@ -11812,12 +11815,19 @@ const initSeries$1 = props => {
|
|
|
11812
11815
|
};
|
|
11813
11816
|
};
|
|
11814
11817
|
const renderSeries = () => {
|
|
11815
|
-
const series = props.series.map((value, key) =>
|
|
11816
|
-
|
|
11817
|
-
|
|
11818
|
-
|
|
11819
|
-
|
|
11820
|
-
|
|
11818
|
+
const series = props.series.map((value, key) => {
|
|
11819
|
+
const seriesConfig = {
|
|
11820
|
+
name: props.yAxisLabel[key],
|
|
11821
|
+
color: props.colors?.length ? props.colors[key] : "#C8700B",
|
|
11822
|
+
data: value,
|
|
11823
|
+
fillColor: createAreaFillGradient(props.colors?.length ? props.colors[key] : "#C8700B")
|
|
11824
|
+
};
|
|
11825
|
+
// Only add step property if it's a valid step value (not false)
|
|
11826
|
+
if (props.step) {
|
|
11827
|
+
seriesConfig.step = props.step;
|
|
11828
|
+
}
|
|
11829
|
+
return seriesConfig;
|
|
11830
|
+
});
|
|
11821
11831
|
return series;
|
|
11822
11832
|
};
|
|
11823
11833
|
return {
|
|
@@ -11855,10 +11865,7 @@ const initMultiAxisSeries = props => {
|
|
|
11855
11865
|
text: null
|
|
11856
11866
|
},
|
|
11857
11867
|
gridLineDashStyle: "Dot",
|
|
11858
|
-
gridLineWidth: 2
|
|
11859
|
-
labels: {
|
|
11860
|
-
color: "#575E77"
|
|
11861
|
-
}
|
|
11868
|
+
gridLineWidth: 2
|
|
11862
11869
|
};
|
|
11863
11870
|
|
|
11864
11871
|
// Create yAxes array - one for each series or use provided config
|
|
@@ -11867,30 +11874,39 @@ const initMultiAxisSeries = props => {
|
|
|
11867
11874
|
const showYAxisArray = Array.isArray(props.showYAxis) ? props.showYAxis : props.showYAxis === false ? new Array(yAxesCount).fill(false) : new Array(yAxesCount).fill(true);
|
|
11868
11875
|
for (let i = 0; i < yAxesCount; i++) {
|
|
11869
11876
|
const config = props.yAxisConfig?.[i] || {};
|
|
11877
|
+
// showYAxisArray[i] will be true or false (never undefined due to fill logic above)
|
|
11878
|
+
// We want to show the axis unless it's explicitly false
|
|
11870
11879
|
const shouldShowYAxis = showYAxisArray[i] !== false;
|
|
11871
|
-
const yAxis = {
|
|
11872
|
-
...defaultYAxis,
|
|
11873
|
-
...config,
|
|
11874
|
-
title: config.title !== undefined ? {
|
|
11875
|
-
text: config.title
|
|
11876
|
-
} : defaultYAxis.title,
|
|
11877
|
-
labels: config.labels || defaultYAxis.labels
|
|
11878
|
-
};
|
|
11879
11880
|
|
|
11880
|
-
// Hide yAxis if showYAxis is false for this axis
|
|
11881
|
+
// Hide yAxis labels and grid if showYAxis is explicitly false for this axis
|
|
11881
11882
|
if (!shouldShowYAxis) {
|
|
11882
11883
|
yAxes.push({
|
|
11883
|
-
...
|
|
11884
|
-
|
|
11884
|
+
...defaultYAxis,
|
|
11885
|
+
...config,
|
|
11886
|
+
title: config.title !== undefined ? {
|
|
11887
|
+
text: config.title
|
|
11888
|
+
} : defaultYAxis.title,
|
|
11885
11889
|
labels: {
|
|
11886
11890
|
enabled: false
|
|
11887
11891
|
},
|
|
11888
|
-
|
|
11889
|
-
|
|
11890
|
-
}
|
|
11892
|
+
gridLineWidth: 0,
|
|
11893
|
+
lineWidth: 0
|
|
11891
11894
|
});
|
|
11892
11895
|
} else {
|
|
11893
|
-
|
|
11896
|
+
// Show axis (when true) - explicitly enable labels
|
|
11897
|
+
const customLabels = config.labels || {};
|
|
11898
|
+
yAxes.push({
|
|
11899
|
+
...defaultYAxis,
|
|
11900
|
+
...config,
|
|
11901
|
+
title: config.title !== undefined ? {
|
|
11902
|
+
text: config.title
|
|
11903
|
+
} : defaultYAxis.title,
|
|
11904
|
+
labels: {
|
|
11905
|
+
enabled: true,
|
|
11906
|
+
color: "#575E77",
|
|
11907
|
+
...customLabels
|
|
11908
|
+
}
|
|
11909
|
+
});
|
|
11894
11910
|
}
|
|
11895
11911
|
}
|
|
11896
11912
|
return yAxes;
|
|
@@ -11909,14 +11925,21 @@ const initMultiAxisSeries = props => {
|
|
|
11909
11925
|
};
|
|
11910
11926
|
};
|
|
11911
11927
|
const renderSeries = () => {
|
|
11912
|
-
const series = props.series.map((value, key) =>
|
|
11913
|
-
|
|
11914
|
-
|
|
11915
|
-
|
|
11916
|
-
|
|
11917
|
-
|
|
11918
|
-
|
|
11919
|
-
|
|
11928
|
+
const series = props.series.map((value, key) => {
|
|
11929
|
+
const seriesConfig = {
|
|
11930
|
+
name: props.yAxisLabel[key],
|
|
11931
|
+
color: props.colors?.length ? props.colors[key] : "#C8700B",
|
|
11932
|
+
data: value,
|
|
11933
|
+
yAxis: key,
|
|
11934
|
+
// Assign each series to its corresponding yAxis
|
|
11935
|
+
fillColor: createAreaFillGradient(props.colors?.length ? props.colors[key] : "#C8700B")
|
|
11936
|
+
};
|
|
11937
|
+
// Only add step property if it's a valid step value (not false)
|
|
11938
|
+
if (props.step) {
|
|
11939
|
+
seriesConfig.step = props.step;
|
|
11940
|
+
}
|
|
11941
|
+
return seriesConfig;
|
|
11942
|
+
});
|
|
11920
11943
|
return series;
|
|
11921
11944
|
};
|
|
11922
11945
|
return {
|
|
@@ -11956,30 +11979,27 @@ const initStackedSeries = props => {
|
|
|
11956
11979
|
gridLineDashStyle: "Dot",
|
|
11957
11980
|
gridLineWidth: 2
|
|
11958
11981
|
};
|
|
11959
|
-
const labels = {
|
|
11960
|
-
color: "#575E77"
|
|
11961
|
-
};
|
|
11962
|
-
const yAxis = {
|
|
11963
|
-
...defaults,
|
|
11964
|
-
...{
|
|
11965
|
-
labels
|
|
11966
|
-
}
|
|
11967
|
-
};
|
|
11968
11982
|
|
|
11969
|
-
// Hide yAxis if showYAxis is false
|
|
11983
|
+
// Hide yAxis labels and grid if showYAxis is explicitly false
|
|
11970
11984
|
if (props.showYAxis === false) {
|
|
11971
11985
|
return {
|
|
11972
|
-
...
|
|
11973
|
-
visible: false,
|
|
11986
|
+
...defaults,
|
|
11974
11987
|
labels: {
|
|
11975
11988
|
enabled: false
|
|
11976
11989
|
},
|
|
11977
|
-
|
|
11978
|
-
|
|
11979
|
-
}
|
|
11990
|
+
gridLineWidth: 0,
|
|
11991
|
+
lineWidth: 0
|
|
11980
11992
|
};
|
|
11981
11993
|
}
|
|
11982
|
-
|
|
11994
|
+
|
|
11995
|
+
// When showYAxis is true or undefined, show axis with labels
|
|
11996
|
+
return {
|
|
11997
|
+
...defaults,
|
|
11998
|
+
labels: {
|
|
11999
|
+
enabled: true,
|
|
12000
|
+
color: "#575E77"
|
|
12001
|
+
}
|
|
12002
|
+
};
|
|
11983
12003
|
};
|
|
11984
12004
|
const renderPlot = () => {
|
|
11985
12005
|
const areaspline = {
|
|
@@ -11997,12 +12017,19 @@ const initStackedSeries = props => {
|
|
|
11997
12017
|
};
|
|
11998
12018
|
};
|
|
11999
12019
|
const renderSeries = () => {
|
|
12000
|
-
const series = props.series.map((value, key) =>
|
|
12001
|
-
|
|
12002
|
-
|
|
12003
|
-
|
|
12004
|
-
|
|
12005
|
-
|
|
12020
|
+
const series = props.series.map((value, key) => {
|
|
12021
|
+
const seriesConfig = {
|
|
12022
|
+
name: props.yAxisLabel[key],
|
|
12023
|
+
color: props.colors?.length ? props.colors[key] : "#C8700B",
|
|
12024
|
+
data: value,
|
|
12025
|
+
fillColor: createAreaFillGradient(props.colors?.length ? props.colors[key] : "#C8700B")
|
|
12026
|
+
};
|
|
12027
|
+
// Only add step property if it's a valid step value (not false)
|
|
12028
|
+
if (props.step) {
|
|
12029
|
+
seriesConfig.step = props.step;
|
|
12030
|
+
}
|
|
12031
|
+
return seriesConfig;
|
|
12032
|
+
});
|
|
12006
12033
|
return series;
|
|
12007
12034
|
};
|
|
12008
12035
|
return {
|