@dpuse/dpuse-tool-highcharts-visualiser 0.0.82 → 0.0.83
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/dist/{AnimationUtilities-CJw-tdb_.js → AnimationUtilities-HCzBkGkl.js} +84 -84
- package/dist/AnimationUtilities-HCzBkGkl.js.map +1 -0
- package/dist/{BorderRadius-CqHYi9va.js → BorderRadius-DsUUgNnR.js} +2 -2
- package/dist/{BorderRadius-CqHYi9va.js.map → BorderRadius-DsUUgNnR.js.map} +1 -1
- package/dist/{CenteredUtilities-BTUT7_Ld.js → CenteredUtilities-CBtdKzw5.js} +305 -309
- package/dist/CenteredUtilities-CBtdKzw5.js.map +1 -0
- package/dist/{SVGElement-uTuGcjav.js → SVGElement-DQ_bI6Wv.js} +73 -73
- package/dist/SVGElement-DQ_bI6Wv.js.map +1 -0
- package/dist/{SeriesRegistry-CXsAINSj.js → SeriesRegistry-BO6tW97M.js} +125 -125
- package/dist/SeriesRegistry-BO6tW97M.js.map +1 -0
- package/dist/{TextPath-Coabnrz0.js → TextPath-D9gJwxEx.js} +1 -1
- package/dist/{TextPath-Coabnrz0.js.map → TextPath-D9gJwxEx.js.map} +1 -1
- package/dist/{dependency-wheel.src-ByNiAiZS.js → dependency-wheel.src-CzVxcqBs.js} +5 -5
- package/dist/{dependency-wheel.src-ByNiAiZS.js.map → dependency-wheel.src-CzVxcqBs.js.map} +1 -1
- package/dist/dpuse-tool-highcharts-visualiser.es.js +1423 -1413
- package/dist/dpuse-tool-highcharts-visualiser.es.js.map +1 -1
- package/dist/{highchartsMoreCustom-Cm6MkFMu.js → highchartsMoreCustom-C4nqraZj.js} +328 -300
- package/dist/highchartsMoreCustom-C4nqraZj.js.map +1 -0
- package/dist/{pattern-fill.src-CGZp553r.js → pattern-fill.src-B5NNMA8k.js} +43 -43
- package/dist/pattern-fill.src-B5NNMA8k.js.map +1 -0
- package/dist/sankey.src-CwyzwAVp.js +522 -0
- package/dist/sankey.src-CwyzwAVp.js.map +1 -0
- package/dist/{streamgraph.src-DjMW1U2g.js → streamgraph.src-BxwGr88G.js} +2 -2
- package/dist/streamgraph.src-BxwGr88G.js.map +1 -0
- package/package.json +12 -12
- package/dist/AnimationUtilities-CJw-tdb_.js.map +0 -1
- package/dist/CenteredUtilities-BTUT7_Ld.js.map +0 -1
- package/dist/SVGElement-uTuGcjav.js.map +0 -1
- package/dist/SeriesRegistry-CXsAINSj.js.map +0 -1
- package/dist/highchartsMoreCustom-Cm6MkFMu.js.map +0 -1
- package/dist/pattern-fill.src-CGZp553r.js.map +0 -1
- package/dist/sankey.src-Buj1zAlU.js +0 -522
- package/dist/sankey.src-Buj1zAlU.js.map +0 -1
- package/dist/streamgraph.src-DjMW1U2g.js.map +0 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { $ as e, J as t, K as n, M as r, N as i,
|
|
2
|
-
import { n as
|
|
3
|
-
import { i as
|
|
4
|
-
import { t as
|
|
1
|
+
import { $ as e, J as t, K as n, M as r, N as i, S as a, U as o, W as s, _ as c, b as l, c as u, et as d, g as f, h as p, j as m, k as h, lt as g, p as _, rt as v, st as y, t as b, w as x, y as S, z as C } from "./AnimationUtilities-HCzBkGkl.js";
|
|
2
|
+
import { n as w, t as T } from "./SeriesRegistry-BO6tW97M.js";
|
|
3
|
+
import { i as E, n as D, r as O, t as k } from "./CenteredUtilities-CBtdKzw5.js";
|
|
4
|
+
import { t as A } from "./BorderRadius-DsUUgNnR.js";
|
|
5
5
|
//#region node_modules/highcharts/es-modules/Series/AreaRange/AreaRangePoint.js
|
|
6
|
-
var { area: { prototype: { pointClass:
|
|
6
|
+
var { area: { prototype: { pointClass: j, pointClass: { prototype: M } } } } = T.seriesTypes, ee = class extends j {
|
|
7
7
|
setState() {
|
|
8
8
|
let e = this.state, t = this.series, n = t.chart.polar;
|
|
9
|
-
|
|
9
|
+
x(this.plotHigh) || (this.plotHigh = t.yAxis.toPixels(this.high, !0)), x(this.plotLow) || (this.plotLow = this.plotY = t.yAxis.toPixels(this.low, !0)), t.lowerStateMarkerGraphic = t.stateMarkerGraphic, t.stateMarkerGraphic = t.upperStateMarkerGraphic, this.graphic = this.graphics && this.graphics[1], this.plotY = this.plotHigh, n && o(this.plotHighX) && (this.plotX = this.plotHighX), M.setState.apply(this, arguments), this.state = e, this.plotY = this.plotLow, this.graphic = this.graphics && this.graphics[0], n && o(this.plotLowX) && (this.plotX = this.plotLowX), t.upperStateMarkerGraphic = t.stateMarkerGraphic, t.stateMarkerGraphic = t.lowerStateMarkerGraphic, t.lowerStateMarkerGraphic = void 0;
|
|
10
10
|
let r = t.modifyMarkerSettings();
|
|
11
|
-
|
|
11
|
+
M.setState.apply(this, arguments), t.restoreMarkerSettings(r);
|
|
12
12
|
}
|
|
13
13
|
haloPath() {
|
|
14
14
|
let e = this.series.chart.polar, t = [];
|
|
15
|
-
return this.plotY = this.plotLow, e &&
|
|
15
|
+
return this.plotY = this.plotLow, e && o(this.plotLowX) && (this.plotX = this.plotLowX), this.isInside && (t = M.haloPath.apply(this, arguments)), this.plotY = this.plotHigh, e && o(this.plotHighX) && (this.plotX = this.plotHighX), this.isTopInside && (t = t.concat(M.haloPath.apply(this, arguments))), t;
|
|
16
16
|
}
|
|
17
17
|
isValid() {
|
|
18
|
-
return
|
|
18
|
+
return o(this.low) && o(this.high);
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, N;
|
|
21
21
|
(function(e) {
|
|
22
22
|
let t = {
|
|
23
23
|
close: ["plotClose"],
|
|
@@ -33,23 +33,23 @@ var { area: { prototype: { pointClass: M, pointClass: { prototype: N } } } } = E
|
|
|
33
33
|
let r = t[n] ?? [];
|
|
34
34
|
for (let t of r) {
|
|
35
35
|
let n = e[t];
|
|
36
|
-
if (
|
|
36
|
+
if (o(n)) return n;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
function r(e, t, r) {
|
|
40
40
|
let i = n(e, "high"), a = n(e, "low");
|
|
41
|
-
return
|
|
41
|
+
return o(i) && o(a) ? t.inside ? r === Math.min(i, a) : r === Math.max(i, a) : !1;
|
|
42
42
|
}
|
|
43
43
|
function i(e) {
|
|
44
44
|
let t = e.prototype;
|
|
45
45
|
return t.alignDataLabel = u, e;
|
|
46
46
|
}
|
|
47
47
|
e.compose = i;
|
|
48
|
-
function
|
|
49
|
-
let t = e.alignToKey ? this.getNestedProperty(e.alignToKey) : this.y, n =
|
|
50
|
-
return
|
|
48
|
+
function s(e) {
|
|
49
|
+
let t = e.alignToKey ? this.getNestedProperty(e.alignToKey) : this.y, n = o(t) ? t : this.y;
|
|
50
|
+
return o(n) ? this.series.chart.numberFormatter(n, -1) : "";
|
|
51
51
|
}
|
|
52
|
-
e.formatter =
|
|
52
|
+
e.formatter = s;
|
|
53
53
|
function c(e) {
|
|
54
54
|
let { alignToKey: t, format: n } = e;
|
|
55
55
|
t && n && (e.format = n.replace(/\{(?:point\.)?y([:}])/g, "{point." + t + "$1"));
|
|
@@ -59,30 +59,30 @@ var { area: { prototype: { pointClass: M, pointClass: { prototype: N } } } } = E
|
|
|
59
59
|
return t && e.pointArrayMap.indexOf(t) > -1 ? t : e.pointValKey;
|
|
60
60
|
}
|
|
61
61
|
e.resolveAlignToKey = l;
|
|
62
|
-
function u(e, t, i,
|
|
62
|
+
function u(e, t, i, s, c) {
|
|
63
63
|
let u = this, d = n(e, l(u, i.alignToKey)), f = e.shapeArgs, p = e.plotY, m = e.dlBox, h = e.below;
|
|
64
|
-
if (
|
|
64
|
+
if (o(d)) {
|
|
65
65
|
e.plotY = d, f && !i.inside && (e.dlBox = {
|
|
66
66
|
x: f.x ?? 0,
|
|
67
|
-
y:
|
|
67
|
+
y: a(d, u.borderWidth, u.chart.inverted),
|
|
68
68
|
width: f.width ?? 0,
|
|
69
69
|
height: 0
|
|
70
70
|
});
|
|
71
71
|
let t = e.below = r(e, i, d);
|
|
72
72
|
u.chart.inverted ? i.align ??= t ? "right" : "left" : i.verticalAlign ??= t ? "top" : "bottom";
|
|
73
73
|
}
|
|
74
|
-
|
|
74
|
+
D.prototype.alignDataLabel.call(u, e, t, i, s, c), e.plotY = p, e.dlBox = m, e.below = h;
|
|
75
75
|
}
|
|
76
76
|
e.alignDataLabel = u;
|
|
77
|
-
})(
|
|
78
|
-
var
|
|
77
|
+
})(N ||= {});
|
|
78
|
+
var P = N, { noop: te } = g, { area: F, area: { prototype: I } } = T.seriesTypes, ne = {
|
|
79
79
|
lineWidth: 1,
|
|
80
80
|
threshold: null,
|
|
81
81
|
tooltip: { pointFormat: "<span style=\"color:{series.color}\">●</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>" },
|
|
82
82
|
trackByArea: !0,
|
|
83
83
|
dataLabels: {
|
|
84
84
|
align: void 0,
|
|
85
|
-
formatter:
|
|
85
|
+
formatter: P.formatter,
|
|
86
86
|
verticalAlign: void 0,
|
|
87
87
|
xLow: 0,
|
|
88
88
|
xHigh: 0,
|
|
@@ -90,9 +90,9 @@ var F = P, { noop: te } = _, { area: I, area: { prototype: L } } = E.seriesTypes
|
|
|
90
90
|
yHigh: 0
|
|
91
91
|
}
|
|
92
92
|
};
|
|
93
|
-
function
|
|
93
|
+
function re(e) {
|
|
94
94
|
let t = e.options.dataLabels;
|
|
95
|
-
return
|
|
95
|
+
return C(t) ? Array.from({ length: Math.max(t.length, 2) }, (r, i) => {
|
|
96
96
|
let a = t[i], o = i === 0 ? "high" : i === 1 ? "low" : e.pointValKey, s = a?.alignToKey ?? o;
|
|
97
97
|
return n(a ?? { enabled: !1 }, { alignToKey: s });
|
|
98
98
|
}) : t?.alignToKey ? [n(t, t.alignToKey === "high" ? {
|
|
@@ -111,7 +111,7 @@ function ne(e) {
|
|
|
111
111
|
y: t?.yLow
|
|
112
112
|
})];
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var L = class extends F {
|
|
115
115
|
toYData(e) {
|
|
116
116
|
return [e.low, e.high];
|
|
117
117
|
}
|
|
@@ -120,7 +120,7 @@ var z = class extends I {
|
|
|
120
120
|
e.plotHighX = n.x - t.plotLeft, e.plotHigh = n.y - t.plotTop, e.plotLowX = e.plotX;
|
|
121
121
|
}
|
|
122
122
|
getGraphPath(e) {
|
|
123
|
-
let t = [], n = [], r =
|
|
123
|
+
let t = [], n = [], r = I.getGraphPath, i = this.options, a = this.chart.polar, o = a && i.connectEnds !== !1, s = i.connectNulls, c, l, u, d = i.step;
|
|
124
124
|
for (e ||= this.points, c = e.length; c--;) {
|
|
125
125
|
l = e[c];
|
|
126
126
|
let r = a ? {
|
|
@@ -159,11 +159,11 @@ var z = class extends I {
|
|
|
159
159
|
drawDataLabels() {
|
|
160
160
|
let e = this, t = e.options.dataLabels;
|
|
161
161
|
if (t) {
|
|
162
|
-
let n =
|
|
163
|
-
n.forEach(
|
|
162
|
+
let n = re(e);
|
|
163
|
+
n.forEach(P.applyAlignToKeyValue), e.options.dataLabels = n, I.drawDataLabels && I.drawDataLabels.call(e), e.options.dataLabels = t;
|
|
164
164
|
for (let t of e.points) {
|
|
165
165
|
let n = t.dataLabels ?? [];
|
|
166
|
-
t.dataLabelUpper = n.find((t) =>
|
|
166
|
+
t.dataLabelUpper = n.find((t) => P.resolveAlignToKey(e, t.options?.alignToKey) === "high"), t.dataLabel = n.find((t) => P.resolveAlignToKey(e, t.options?.alignToKey) === "low");
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
}
|
|
@@ -184,27 +184,27 @@ var z = class extends I {
|
|
|
184
184
|
}
|
|
185
185
|
drawPoints() {
|
|
186
186
|
let e = this, t = e.points.length, n, r, i = e.modifyMarkerSettings();
|
|
187
|
-
for (
|
|
187
|
+
for (I.drawPoints.apply(e, arguments), e.restoreMarkerSettings(i), n = 0; n < t;) r = e.points[n], r.graphics = r.graphics || [], r.origProps = {
|
|
188
188
|
plotY: r.plotY,
|
|
189
189
|
plotX: r.plotX,
|
|
190
190
|
isInside: r.isInside,
|
|
191
191
|
negative: r.negative,
|
|
192
192
|
zone: r.zone,
|
|
193
193
|
y: r.y
|
|
194
|
-
}, (r.graphic || r.graphics[0]) && (r.graphics[0] = r.graphic), r.graphic = r.graphics[1], r.plotY = r.plotHigh,
|
|
195
|
-
for (
|
|
194
|
+
}, (r.graphic || r.graphics[0]) && (r.graphics[0] = r.graphic), r.graphic = r.graphics[1], r.plotY = r.plotHigh, x(r.plotHighX) && (r.plotX = r.plotHighX), r.y = r.high ?? r.origProps.y, r.negative = r.y < (e.options.threshold || 0), e.zones.length && (r.zone = r.getZone()), e.chart.polar || (r.isInside = r.isTopInside = r.plotY !== void 0 && r.plotY >= 0 && r.plotY <= e.yAxis.len && r.plotX >= 0 && r.plotX <= e.xAxis.len), n++;
|
|
195
|
+
for (I.drawPoints.apply(e, arguments), n = 0; n < t;) r = e.points[n], r.graphics = r.graphics || [], (r.graphic || r.graphics[1]) && (r.graphics[1] = r.graphic), r.graphic = r.graphics[0], r.origProps && (h(r, r.origProps), delete r.origProps), n++;
|
|
196
196
|
}
|
|
197
197
|
hasMarkerChanged(e, t) {
|
|
198
198
|
let n = e.lowMarker, r = t.lowMarker || {};
|
|
199
199
|
return n && (n.enabled === !1 || r.symbol !== n.symbol || r.height !== n.height || r.width !== n.width) || super.hasMarkerChanged(e, t);
|
|
200
200
|
}
|
|
201
201
|
};
|
|
202
|
-
|
|
202
|
+
L.defaultOptions = n(F.defaultOptions, ne), p(L, "afterTranslate", function() {
|
|
203
203
|
this.pointArrayMap.join(",") === "low,high" && this.points.forEach((e) => {
|
|
204
204
|
let t = e.high, n = e.plotY;
|
|
205
|
-
e.isNull ? e.plotY = void 0 : (e.plotLow = n, e.plotHigh =
|
|
205
|
+
e.isNull ? e.plotY = void 0 : (e.plotLow = n, e.plotHigh = o(t) ? this.yAxis.translate(this.dataModify ? this.dataModify.modifyValue(t) : t, !1, !0, void 0, !0) : void 0, this.dataModify && (e.yBottom = e.plotHigh));
|
|
206
206
|
});
|
|
207
|
-
}, { order: 0 }),
|
|
207
|
+
}, { order: 0 }), p(L, "afterTranslate", function() {
|
|
208
208
|
this.points.forEach((e) => {
|
|
209
209
|
if (this.chart.polar) this.highToXY(e), e.plotLow = e.plotY, e.tooltipPos = [((e.plotHighX || 0) + (e.plotLowX || 0)) / 2, ((e.plotHigh || 0) + (e.plotLow || 0)) / 2];
|
|
210
210
|
else {
|
|
@@ -212,25 +212,25 @@ z.defaultOptions = n(I.defaultOptions, R), m(z, "afterTranslate", function() {
|
|
|
212
212
|
t && n && (t[0] = (t[0] + n[0]) / 2, t[1] = (t[1] + n[1]) / 2), e.tooltipPos = t;
|
|
213
213
|
}
|
|
214
214
|
});
|
|
215
|
-
}, { order: 3 }),
|
|
215
|
+
}, { order: 3 }), h(L.prototype, {
|
|
216
216
|
deferTranslatePolar: !0,
|
|
217
217
|
pointArrayMap: ["low", "high"],
|
|
218
218
|
pointClass: ee,
|
|
219
219
|
pointValKey: "low",
|
|
220
220
|
setStackedPoints: te
|
|
221
|
-
}),
|
|
221
|
+
}), P.compose(L), T.registerSeriesType("arearange", L);
|
|
222
222
|
//#endregion
|
|
223
223
|
//#region node_modules/highcharts/es-modules/Series/AreaSplineRange/AreaSplineRangeSeries.js
|
|
224
|
-
var { spline: { prototype:
|
|
225
|
-
|
|
224
|
+
var { spline: { prototype: ie } } = T.seriesTypes, R = class extends L {};
|
|
225
|
+
R.defaultOptions = n(L.defaultOptions), h(R.prototype, { getPointSpline: ie.getPointSpline }), T.registerSeriesType("areasplinerange", R);
|
|
226
226
|
//#endregion
|
|
227
227
|
//#region node_modules/highcharts/es-modules/Series/ColumnRange/ColumnRangePoint.js
|
|
228
|
-
var { seriesTypes: { column: { prototype: { pointClass: { prototype:
|
|
228
|
+
var { seriesTypes: { column: { prototype: { pointClass: { prototype: z } } }, arearange: { prototype: { pointClass: ae } } } } = T, B = class extends ae {
|
|
229
229
|
isValid() {
|
|
230
|
-
return
|
|
230
|
+
return o(this.low);
|
|
231
231
|
}
|
|
232
232
|
};
|
|
233
|
-
|
|
233
|
+
h(B.prototype, { setState: z.setState });
|
|
234
234
|
//#endregion
|
|
235
235
|
//#region node_modules/highcharts/es-modules/Series/ColumnRange/ColumnRangeSeriesDefaults.js
|
|
236
236
|
var oe = {
|
|
@@ -239,98 +239,98 @@ var oe = {
|
|
|
239
239
|
legendSymbol: "rectangle",
|
|
240
240
|
marker: null,
|
|
241
241
|
states: { hover: { halo: !1 } }
|
|
242
|
-
}, { noop: se } =
|
|
242
|
+
}, { noop: se } = g, { seriesTypes: { arearange: V, column: ce, column: { prototype: H } } } = T, U = class extends V {
|
|
243
243
|
setOptions() {
|
|
244
|
-
return n(!0, arguments[0], { stacking: void 0 }),
|
|
244
|
+
return n(!0, arguments[0], { stacking: void 0 }), V.prototype.setOptions.apply(this, arguments);
|
|
245
245
|
}
|
|
246
246
|
translate() {
|
|
247
|
-
return
|
|
247
|
+
return H.translate.apply(this);
|
|
248
248
|
}
|
|
249
249
|
pointAttribs() {
|
|
250
|
-
return
|
|
250
|
+
return H.pointAttribs.apply(this, arguments);
|
|
251
251
|
}
|
|
252
252
|
translate3dPoints() {
|
|
253
|
-
return
|
|
253
|
+
return H.translate3dPoints.apply(this, arguments);
|
|
254
254
|
}
|
|
255
255
|
translate3dShapes() {
|
|
256
|
-
return
|
|
256
|
+
return H.translate3dShapes.apply(this, arguments);
|
|
257
257
|
}
|
|
258
258
|
afterColumnTranslate() {
|
|
259
|
-
let e = this.yAxis, t = this.xAxis, r = t.startAngleRad, i = this.chart,
|
|
260
|
-
function
|
|
261
|
-
return
|
|
259
|
+
let e = this.yAxis, t = this.xAxis, r = t.startAngleRad, i = this.chart, a = this.xAxis.isRadial, s = Math.max(i.chartWidth, i.chartHeight) + 999, c, l, u, d;
|
|
260
|
+
function f(e) {
|
|
261
|
+
return S(e, -s, s);
|
|
262
262
|
}
|
|
263
|
-
this.points.forEach((
|
|
264
|
-
let
|
|
265
|
-
if (
|
|
266
|
-
if (
|
|
263
|
+
this.points.forEach((s) => {
|
|
264
|
+
let p = s.shapeArgs || {}, m = this.options.minPointLength, h = s.plotY, g = e.translate(s.high, 0, 1, 0, 1);
|
|
265
|
+
if (o(g) && o(h)) {
|
|
266
|
+
if (s.plotHigh = f(g), s.plotLow = f(h), d = s.plotHigh, c = (s.rectPlotY ?? s.plotY) - s.plotHigh, Math.abs(c) < m ? (l = m - c, c += l, d -= l / 2) : c < 0 && (c *= -1, d -= c), a && this.polar) u = s.barX + r, s.shapeType = "arc", s.shapeArgs = this.polar.arc(d + c, d, u, u + (s.pointWidth || 0));
|
|
267
267
|
else {
|
|
268
|
-
|
|
269
|
-
let { x: r = 0, width: a = 0 } =
|
|
270
|
-
|
|
271
|
-
e.len + e.pos - i.plotLeft -
|
|
268
|
+
p.height = c, p.y = d;
|
|
269
|
+
let { x: r = 0, width: a = 0 } = p;
|
|
270
|
+
s.shapeArgs = n(s.shapeArgs, this.crispCol(r, d, a, c)), s.tooltipPos = i.inverted ? [
|
|
271
|
+
e.len + e.pos - i.plotLeft - d - c / 2,
|
|
272
272
|
t.len + t.pos - i.plotTop - r - a / 2,
|
|
273
|
-
|
|
273
|
+
c
|
|
274
274
|
] : [
|
|
275
275
|
t.left - i.plotLeft + r + a / 2,
|
|
276
|
-
e.pos - i.plotTop +
|
|
277
|
-
|
|
276
|
+
e.pos - i.plotTop + d + c / 2,
|
|
277
|
+
c
|
|
278
278
|
];
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
});
|
|
282
282
|
}
|
|
283
283
|
};
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
}, { order: 5 }),
|
|
284
|
+
U.defaultOptions = n(ce.defaultOptions, V.defaultOptions, oe), p(U, "afterColumnTranslate", function() {
|
|
285
|
+
U.prototype.afterColumnTranslate.apply(this);
|
|
286
|
+
}, { order: 5 }), h(U.prototype, {
|
|
287
287
|
directTouch: !0,
|
|
288
|
-
pointClass:
|
|
288
|
+
pointClass: B,
|
|
289
289
|
trackerGroups: ["group", "dataLabelsGroup"],
|
|
290
|
-
adjustForMissingColumns:
|
|
291
|
-
animate:
|
|
292
|
-
crispCol:
|
|
290
|
+
adjustForMissingColumns: H.adjustForMissingColumns,
|
|
291
|
+
animate: H.animate,
|
|
292
|
+
crispCol: H.crispCol,
|
|
293
293
|
drawGraph: se,
|
|
294
|
-
drawPoints:
|
|
294
|
+
drawPoints: H.drawPoints,
|
|
295
295
|
getSymbol: se,
|
|
296
|
-
drawTracker:
|
|
297
|
-
getColumnMetrics:
|
|
298
|
-
}),
|
|
296
|
+
drawTracker: H.drawTracker,
|
|
297
|
+
getColumnMetrics: H.getColumnMetrics
|
|
298
|
+
}), T.registerSeriesType("columnrange", U);
|
|
299
299
|
//#endregion
|
|
300
300
|
//#region node_modules/highcharts/es-modules/Extensions/Pane/PaneComposition.js
|
|
301
301
|
function le(e) {
|
|
302
302
|
let t = this, n;
|
|
303
303
|
return e && t.pane.forEach((r) => {
|
|
304
|
-
|
|
304
|
+
W(e.chartX - t.plotLeft, e.chartY - t.plotTop, r.center) && (n = r);
|
|
305
305
|
}), n;
|
|
306
306
|
}
|
|
307
307
|
function ue(e, t) {
|
|
308
308
|
let n = e.prototype;
|
|
309
|
-
n.getHoverPane || (n.collectionsWithUpdate.push("pane"), n.getHoverPane = le,
|
|
309
|
+
n.getHoverPane || (n.collectionsWithUpdate.push("pane"), n.getHoverPane = le, p(e, "afterIsInsidePlot", de), p(t, "afterGetHoverData", fe), p(t, "beforeGetHoverData", pe));
|
|
310
310
|
}
|
|
311
|
-
function
|
|
312
|
-
let a = !0, o = n[0], s = n[1], c = 2 * Math.PI,
|
|
313
|
-
if (
|
|
314
|
-
let n = Math.atan2(
|
|
311
|
+
function W(e, t, n, r, i) {
|
|
312
|
+
let a = !0, o = n[0], s = n[1], c = 2 * Math.PI, u = Math.sqrt((e - o) ** 2 + (t - s) ** 2);
|
|
313
|
+
if (x(r) && x(i)) {
|
|
314
|
+
let n = Math.atan2(l(t - s, 8), l(e - o, 8));
|
|
315
315
|
n = (n + c) % c, r = (r + c) % c, i = (i + c) % c, Math.abs(i - r) > 1e-6 && (a = r > i ? n >= r || n <= i : n >= r && n <= i);
|
|
316
316
|
} else a = !0;
|
|
317
|
-
return
|
|
317
|
+
return u <= Math.ceil(n[2] / 2) && a;
|
|
318
318
|
}
|
|
319
319
|
function de(e) {
|
|
320
320
|
let t = this;
|
|
321
|
-
t.polar && (e.options.inverted && ([e.x, e.y] = [e.y, e.x]), e.isInsidePlot = t.pane.some((t) =>
|
|
321
|
+
t.polar && (e.options.inverted && ([e.x, e.y] = [e.y, e.x]), e.isInsidePlot = t.pane.some((t) => W(e.x, e.y, t.center, t.axis && t.axis.normalizedStartAngleRad, t.axis && t.axis.normalizedEndAngleRad)));
|
|
322
322
|
}
|
|
323
323
|
function fe(e) {
|
|
324
324
|
let t = this.chart;
|
|
325
|
-
e.hoverPoint && e.hoverPoint.plotX && e.hoverPoint.plotY && t.hoverPane && !
|
|
325
|
+
e.hoverPoint && e.hoverPoint.plotX && e.hoverPoint.plotY && t.hoverPane && !W(e.hoverPoint.plotX, e.hoverPoint.plotY, t.hoverPane.center) && (e.hoverPoint = void 0);
|
|
326
326
|
}
|
|
327
327
|
function pe(e) {
|
|
328
328
|
let t = this.chart;
|
|
329
329
|
t.polar ? (t.hoverPane = t.getHoverPane(e), e.filter = function(n) {
|
|
330
|
-
return n.visible && !(!e.shared && n.directTouch) &&
|
|
330
|
+
return n.visible && !(!e.shared && n.directTouch) && (n.options.enableMouseTracking ?? !0) && (!t.hoverPane || n.xAxis.pane === t.hoverPane);
|
|
331
331
|
}) : t.hoverPane = void 0;
|
|
332
332
|
}
|
|
333
|
-
var me = { compose: ue }, { defaultOptions: he } =
|
|
333
|
+
var me = { compose: ue }, { defaultOptions: he } = u, ge = {
|
|
334
334
|
shape: "arc",
|
|
335
335
|
borderRadius: void 0,
|
|
336
336
|
borderWidth: 0,
|
|
@@ -347,7 +347,7 @@ he.pane = _e;
|
|
|
347
347
|
var ve = {
|
|
348
348
|
pane: _e,
|
|
349
349
|
background: ge
|
|
350
|
-
},
|
|
350
|
+
}, G = class {
|
|
351
351
|
constructor(e, t) {
|
|
352
352
|
this.coll = "pane", this.init(e, t);
|
|
353
353
|
}
|
|
@@ -368,45 +368,45 @@ var ve = {
|
|
|
368
368
|
this.group ||= t.g("pane-group").attr({ zIndex: e.zIndex || 0 }).add(), this.updateCenter();
|
|
369
369
|
let r = this.options.background;
|
|
370
370
|
if (r) {
|
|
371
|
-
r =
|
|
371
|
+
r = v(r);
|
|
372
372
|
let e = Math.max(r.length, this.background.length || 0);
|
|
373
373
|
for (let t = 0; t < e; t++) r[t] && this.axis ? this.renderBackground(n(ve.background, { borderRadius: this.options.borderRadius }, r[t]), t) : this.background[t] && (this.background[t] = this.background[t].destroy(), this.background.splice(t, 1));
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
376
|
renderBackground(e, t) {
|
|
377
377
|
let n = { class: "highcharts-pane " + (e.className || "") }, r = "animate";
|
|
378
|
-
this.chart.styledMode ||
|
|
378
|
+
this.chart.styledMode || h(n, {
|
|
379
379
|
fill: e.backgroundColor,
|
|
380
380
|
stroke: e.borderColor,
|
|
381
381
|
"stroke-width": e.borderWidth
|
|
382
382
|
}), this.background[t] || (this.background[t] = this.chart.renderer.path().add(this.group), r = "attr"), this.background[t][r]({ d: this.axis.getPlotBandPath(e.from, e.to, e) }).attr(n);
|
|
383
383
|
}
|
|
384
384
|
updateCenter() {
|
|
385
|
-
let { axis: e, chart: t, options: n } = this, { plotHeight: r, plotWidth: a } = t,
|
|
385
|
+
let { axis: e, chart: t, options: n } = this, { plotHeight: r, plotWidth: a } = t, s = n.center?.[1], c = n.margin, l = this.axis?.options.labels, u = n.thickness, f = Array.isArray(c) ? c : [
|
|
386
386
|
c,
|
|
387
387
|
c,
|
|
388
388
|
c,
|
|
389
389
|
c
|
|
390
|
-
], p = [], m = n.size, h, g = 0, _ = 0,
|
|
390
|
+
], p = [], m = n.size, h, g = 0, _ = 0, y = Math.min(t.series.reduce((e, t) => {
|
|
391
391
|
if (!t.is("gauge") || t.yAxis?.pane !== this) return e;
|
|
392
|
-
let n =
|
|
392
|
+
let n = v(t.options.dataLabels)[0], r = 0;
|
|
393
393
|
return n && n.enabled !== !1 && (r = (1 - i(n.verticalAlign)) * 30 + (n.y || 0)), Math.max(e, r);
|
|
394
394
|
}, 0), r * .3);
|
|
395
395
|
if (l?.enabled) {
|
|
396
396
|
let e = String(l.style?.fontSize || ""), t = (/px$/.test(e) ? parseFloat(e) : /em$/.test(e) ? parseFloat(e) * 12 : 12) * 1.2;
|
|
397
|
-
_ = Math.max(l.distance
|
|
397
|
+
_ = Math.max(l.distance ?? 15, 0) + t / 2;
|
|
398
398
|
}
|
|
399
|
-
if (
|
|
399
|
+
if (f.forEach((e, t) => {
|
|
400
400
|
p[t] = e ?? Math.max(_ || 0);
|
|
401
|
-
}), e && (m === void 0 ||
|
|
402
|
-
let { endAngleRad: t, startAngleRad: i } = e, o = Math.PI * 2 / 360, s = i < Math.PI / 2 && t > Math.PI / 2 ||
|
|
401
|
+
}), e && (m === void 0 || s === void 0)) {
|
|
402
|
+
let { endAngleRad: t, startAngleRad: i } = e, o = Math.PI * 2 / 360, s = i < Math.PI / 2 && t > Math.PI / 2 || v(n.background).some((e) => e?.shape === "circle") ? Math.PI : Math.max(Math.abs(i + Math.PI / 2), Math.abs(t + Math.PI / 2)), c = Math.sin(s - Math.PI / 2), l = .5 + .5 * Math.max(c, Math.sin(o * 0));
|
|
403
403
|
if (h = (r - p[0] - p[2]) / l, m === void 0) {
|
|
404
404
|
m = Math.max(Math.min(h, a - p[1] - p[3]), 1);
|
|
405
|
-
let e = m + p[0] + p[2] + 2 * (
|
|
405
|
+
let e = m + p[0] + p[2] + 2 * (y - r);
|
|
406
406
|
e > 0 && (g = e, m = Math.max(1, m - g));
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
|
-
this.center = (e || {}).center =
|
|
409
|
+
this.center = (e || {}).center = k.getCenter.call(this), o(m) && m >= 0 && (this.center[2] = m, o(u) ? this.center[3] = this.center[2] - u * 2 : this.center[3] = Math.min(m, d(n.innerSize || 0, m))), x(s) || (n.size ? this.center[1] = r / 2 : o(h) && (this.center[1] = (h + this.center[2] - g) / 4 + p[0]));
|
|
410
410
|
}
|
|
411
411
|
update(e, t) {
|
|
412
412
|
n(!0, this.options, e), this.setOptions(this.options), this.render(), this.chart.axes.forEach(function(e) {
|
|
@@ -414,7 +414,7 @@ var ve = {
|
|
|
414
414
|
}, this);
|
|
415
415
|
}
|
|
416
416
|
};
|
|
417
|
-
|
|
417
|
+
G.compose = me.compose;
|
|
418
418
|
//#endregion
|
|
419
419
|
//#region node_modules/highcharts/es-modules/Core/Axis/RadialAxisDefaults.js
|
|
420
420
|
var ye = {
|
|
@@ -469,117 +469,117 @@ var ye = {
|
|
|
469
469
|
},
|
|
470
470
|
zIndex: 2
|
|
471
471
|
}
|
|
472
|
-
}, { defaultOptions:
|
|
472
|
+
}, { defaultOptions: K } = u, { composed: be, noop: q } = g, xe;
|
|
473
473
|
(function(t) {
|
|
474
474
|
t.radialDefaultOptions = n(ye);
|
|
475
475
|
function i() {
|
|
476
|
-
this.autoConnect = this.isCircular &&
|
|
476
|
+
this.autoConnect = this.isCircular && (this.userMax ?? this.options.max) === void 0 && l(this.endAngleRad - this.startAngleRad) === l(2 * Math.PI), !this.isCircular && this.chart.inverted && this.max++, this.autoConnect && o(this.max) && (this.max += this.categories && 1 || this.pointRange || this.closestPointRange || 0);
|
|
477
477
|
}
|
|
478
|
-
function
|
|
479
|
-
return e(be, "Axis.Radial") && (
|
|
478
|
+
function a(t, n) {
|
|
479
|
+
return e(be, "Axis.Radial") && (p(t, "afterInit", j), p(t, "afterTickSize", M), p(t, "autoLabelAlign", ee), p(t, "destroy", N), p(t, "init", P), p(t, "initialAxisTranslation", te), p(n, "afterGetLabelPosition", F), p(n, "afterGetPosition", I), p(g, "setOptions", ne), y(t.prototype, "getMinorTickInterval", ae), y(n.prototype, "getMarkPath", B)), t;
|
|
480
480
|
}
|
|
481
|
-
t.compose =
|
|
482
|
-
function
|
|
481
|
+
t.compose = a;
|
|
482
|
+
function c() {
|
|
483
483
|
return () => {
|
|
484
484
|
if (this.isRadial && this.tickPositions && this.options.labels && this.options.labels.allowOverlap !== !0) return this.tickPositions.map((e) => this.ticks[e]?.label).filter((e) => !!e);
|
|
485
485
|
};
|
|
486
486
|
}
|
|
487
|
-
function
|
|
488
|
-
return
|
|
487
|
+
function u() {
|
|
488
|
+
return q;
|
|
489
489
|
}
|
|
490
|
-
function
|
|
490
|
+
function f(e, t, n) {
|
|
491
491
|
let r = this.pane.center, i = e.value, a, o, s, c;
|
|
492
|
-
return this.isCircular ? (
|
|
492
|
+
return this.isCircular ? (x(i) ? e.point && (a = e.point.shapeArgs || {}, a.start && (i = this.chart.inverted ? this.translate(e.point.rectPlotY, !0) : e.point.x)) : (s = e.chartX || 0, c = e.chartY || 0, i = this.translate(Math.atan2(c - n, s - t) - this.startAngleRad, !0)), o = this.getPosition(i), s = o.x, c = o.y) : (x(i) || (s = e.chartX, c = e.chartY), x(s) && x(c) && (n = r[1] + this.chart.plotTop, i = this.translate(Math.min(Math.sqrt((s - t) ** 2 + (c - n) ** 2), r[2] / 2) - r[3] / 2, !0))), [
|
|
493
493
|
i,
|
|
494
494
|
s || 0,
|
|
495
495
|
c || 0
|
|
496
496
|
];
|
|
497
497
|
}
|
|
498
|
-
function
|
|
499
|
-
let r = this.pane.center, i = this.chart,
|
|
500
|
-
return n ??= this.horiz ? 0 : this.center && -this.center[3] / 2, n && n > 0 && (
|
|
498
|
+
function m(e, t, n) {
|
|
499
|
+
let r = this.pane.center, i = this.chart, a = this.left || 0, o = this.top || 0, s, c, l = t ?? r[2] / 2 - this.offset;
|
|
500
|
+
return n ??= this.horiz ? 0 : this.center && -this.center[3] / 2, n && n > 0 && (l += n), this.isCircular || t !== void 0 ? (c = this.chart.renderer.symbols.arc(a + r[0], o + r[1], l, l, {
|
|
501
501
|
start: this.startAngleRad,
|
|
502
502
|
end: this.endAngleRad,
|
|
503
503
|
open: !0,
|
|
504
504
|
innerR: 0
|
|
505
|
-
}),
|
|
505
|
+
}), c.xBounds = [a + r[0]], c.yBounds = [o + r[1] - l]) : (s = this.postTranslate(this.angleRad, l), c = [[
|
|
506
506
|
"M",
|
|
507
507
|
this.center[0] + i.plotLeft,
|
|
508
508
|
this.center[1] + i.plotTop
|
|
509
509
|
], [
|
|
510
510
|
"L",
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
]]),
|
|
511
|
+
s.x,
|
|
512
|
+
s.y
|
|
513
|
+
]]), c;
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function _() {
|
|
516
516
|
this.constructor.prototype.getOffset.call(this);
|
|
517
517
|
let e = this.options.offset ?? (this.pane.hasSeriesType("gauge") ? "-20%" : void 0);
|
|
518
|
-
|
|
518
|
+
x(e) && (this.offset = d(e, this.center[2] / 2) * -1), this.chart.axisOffset[this.side] = 0;
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function b(e, t, n) {
|
|
521
521
|
let r = this.chart, i = (e) => {
|
|
522
522
|
if (typeof e == "string") {
|
|
523
523
|
let t = parseInt(e, 10);
|
|
524
|
-
return
|
|
524
|
+
return m.test(e) && (t = t * u / 100), t;
|
|
525
525
|
}
|
|
526
526
|
return e;
|
|
527
|
-
},
|
|
528
|
-
if (
|
|
527
|
+
}, a = this.center, { endAngleRad: s, startAngleRad: c } = this, l = A(n.borderRadius ?? this.pane.options.borderRadius), u = a[2] / 2, d = Math.min(this.offset || 0, 0), f = this.left || 0, p = this.top || 0, m = /%$/, h = this.isCircular, g = this.options.plotBands || [], _ = g.indexOf(n), v, y, b, x, S, C, w = i(n.outerRadius) ?? u, T = i(n.innerRadius), E = i(n.thickness), D = !0, O = !0;
|
|
528
|
+
if (l.radius && l.scope === "stack" && _ > -1 && (g[_ - 1] && g[_ - 1].to === e && (D = !1), g[_ + 1] && g[_ + 1].from === t && (O = !1)), this.options.gridLineInterpolation === "polygon") C = this.getPlotLinePath({ value: e }).concat(this.getPlotLinePath({
|
|
529
529
|
value: t,
|
|
530
530
|
reverse: !0
|
|
531
531
|
}));
|
|
532
532
|
else {
|
|
533
|
-
|
|
534
|
-
let i = this.translate(e),
|
|
535
|
-
|
|
536
|
-
start: Math.min(
|
|
537
|
-
end: Math.max(
|
|
538
|
-
innerR:
|
|
539
|
-
open:
|
|
540
|
-
borderRadius:
|
|
541
|
-
brStart:
|
|
542
|
-
brEnd:
|
|
543
|
-
}),
|
|
533
|
+
o(this.min) && (e = Math.max(e, this.min)), o(this.max) && (t = Math.min(t, this.max));
|
|
534
|
+
let i = this.translate(e), u = this.translate(t);
|
|
535
|
+
h || (w = i || 0, T = u || 0), !o(this.min) && !o(this.max) && !n.color && !n.className ? (v = c, y = s) : n.shape === "circle" || !h ? (v = -Math.PI / 2, y = Math.PI * 1.5, S = !0) : (v = c + (i || 0), y = c + (u || 0)), w -= d, o(E) && (E -= d), C = r.renderer.symbols.arc(f + a[0], p + a[1], w, w, {
|
|
536
|
+
start: Math.min(v, y),
|
|
537
|
+
end: Math.max(v, y),
|
|
538
|
+
innerR: T ?? (o(E) ? w - E : this.center[3] / 2),
|
|
539
|
+
open: S,
|
|
540
|
+
borderRadius: l.radius,
|
|
541
|
+
brStart: D,
|
|
542
|
+
brEnd: O
|
|
543
|
+
}), h && (b = (y + v) / 2, x = f + a[0] + a[2] / 2 * Math.cos(b), C.xBounds = b > -Math.PI / 2 && b < Math.PI / 2 ? [x, r.plotWidth] : [0, x], C.yBounds = [p + a[1] + a[2] / 2 * Math.sin(b)], C.yBounds[0] += b > -Math.PI && b < 0 || b > Math.PI ? -10 : 10);
|
|
544
544
|
}
|
|
545
|
-
return
|
|
545
|
+
return C;
|
|
546
546
|
}
|
|
547
|
-
function
|
|
548
|
-
let t = this.pane.center, n = this.chart, r = n.inverted, i = e.reverse, a = this.pane.options.background, o = a ?
|
|
549
|
-
if (p && (T = this.getCrosshairPosition(e, l, u), h = T[0] || 0, O = T[1], k = T[2]), this.isCircular) _ = Math.sqrt((O - l) ** 2 + (k - u) ** 2),
|
|
547
|
+
function C(e) {
|
|
548
|
+
let t = this.pane.center, n = this.chart, r = n.inverted, i = e.reverse, a = this.pane.options.background, o = a ? v(a)[0] : {}, s = o.innerRadius || "0%", c = o.outerRadius || "100%", l = t[0] + n.plotLeft, u = t[1] + n.plotTop, f = this.height, p = e.isCrosshair, m = t[3] / 2, h = n.time.parse(e.value) || 0, g, _, y, b, x, C, w, T, E, D = this.getPosition(h, t[2] / 2 + (this.isCircular ? this.offset : 0)), O = D.x, k = D.y;
|
|
549
|
+
if (p && (T = this.getCrosshairPosition(e, l, u), h = T[0] || 0, O = T[1], k = T[2]), this.isCircular) _ = Math.sqrt((O - l) ** 2 + (k - u) ** 2), y = typeof s == "string" ? d(s, 1) : s / _, b = typeof c == "string" ? d(c, 1) : c / _, t && m && (g = m / _, y < g && (y = g), b < g && (b = g)), E = [[
|
|
550
550
|
"M",
|
|
551
|
-
l +
|
|
552
|
-
u -
|
|
551
|
+
l + y * (O - l),
|
|
552
|
+
u - y * (u - k)
|
|
553
553
|
], [
|
|
554
554
|
"L",
|
|
555
555
|
O - (1 - b) * (O - l),
|
|
556
556
|
k + (1 - b) * (u - k)
|
|
557
557
|
]];
|
|
558
558
|
else {
|
|
559
|
-
let e =
|
|
559
|
+
let e = S(this.translate(h), 0, f);
|
|
560
560
|
if (this.options.gridLineInterpolation === "circle") E = this.getLinePath(0, e, m);
|
|
561
561
|
else if (E = [], n[r ? "yAxis" : "xAxis"].forEach((e) => {
|
|
562
562
|
e.pane === this.pane && (x = e);
|
|
563
563
|
}), x) {
|
|
564
564
|
w = x.tickPositions, x.autoConnect && (w = w.concat([w[0]])), i && (w = w.slice().reverse()), e && (e += m);
|
|
565
|
-
for (let t = 0; t < w.length; t++)
|
|
565
|
+
for (let t = 0; t < w.length; t++) C = x.getPosition(w[t], e), E.push(t ? [
|
|
566
566
|
"L",
|
|
567
|
-
|
|
568
|
-
|
|
567
|
+
C.x,
|
|
568
|
+
C.y
|
|
569
569
|
] : [
|
|
570
570
|
"M",
|
|
571
|
-
|
|
572
|
-
|
|
571
|
+
C.x,
|
|
572
|
+
C.y
|
|
573
573
|
]);
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
return E;
|
|
577
577
|
}
|
|
578
|
-
function
|
|
579
|
-
let n = this.translate(e);
|
|
580
|
-
return this.postTranslate(this.isCircular ? n : this.angleRad,
|
|
578
|
+
function w(e, t) {
|
|
579
|
+
let n = this.translate(e), r = (this.center && this.center[2] || 0) / 2;
|
|
580
|
+
return this.postTranslate(this.isCircular ? n : this.angleRad, (this.isCircular ? t ?? r : typeof n == "number" && n < 0 ? 0 : n ?? r) - this.offset);
|
|
581
581
|
}
|
|
582
|
-
function
|
|
582
|
+
function T() {
|
|
583
583
|
let e = this.center, t = this.chart, n = this.options.title;
|
|
584
584
|
return {
|
|
585
585
|
x: t.plotLeft + e[0] + (n.x || 0),
|
|
@@ -590,28 +590,55 @@ var ye = {
|
|
|
590
590
|
}[n.align] * e[2] + (n.y || 0)
|
|
591
591
|
};
|
|
592
592
|
}
|
|
593
|
+
function E(e) {
|
|
594
|
+
e.unmodifiedProps ||= [
|
|
595
|
+
"beforeSetTickPositions",
|
|
596
|
+
"createLabelCollector",
|
|
597
|
+
"getCrosshairPosition",
|
|
598
|
+
"getLinePath",
|
|
599
|
+
"getOffset",
|
|
600
|
+
"getPlotBandPath",
|
|
601
|
+
"getPlotLinePath",
|
|
602
|
+
"getPosition",
|
|
603
|
+
"getTitlePosition",
|
|
604
|
+
"isHidden",
|
|
605
|
+
"postTranslate",
|
|
606
|
+
"redraw",
|
|
607
|
+
"render",
|
|
608
|
+
"setAxisSize",
|
|
609
|
+
"setAxisTranslation",
|
|
610
|
+
"setCategories",
|
|
611
|
+
"setOptions",
|
|
612
|
+
"setScale",
|
|
613
|
+
"setTitle"
|
|
614
|
+
].reduce((t, n) => (t[n] = e[n], t), {});
|
|
615
|
+
}
|
|
593
616
|
function D(e) {
|
|
594
|
-
|
|
617
|
+
let t = e.unmodifiedProps;
|
|
618
|
+
s(t) && (h(e, t), delete e.unmodifiedProps);
|
|
595
619
|
}
|
|
596
620
|
function O(e) {
|
|
597
|
-
e.
|
|
621
|
+
e.beforeSetTickPositions = i, e.createLabelCollector = c, e.getCrosshairPosition = f, e.getLinePath = m, e.getOffset = _, e.getPlotBandPath = b, e.getPlotLinePath = C, e.getPosition = w, e.getTitlePosition = T, e.postTranslate = re, e.setAxisSize = ie, e.setAxisTranslation = R, e.setOptions = z;
|
|
598
622
|
}
|
|
599
|
-
function k() {
|
|
623
|
+
function k(e) {
|
|
624
|
+
e.isHidden = !0, e.createLabelCollector = u, e.getOffset = q, e.redraw = L, e.render = L, e.setCategories = q, e.setTitle = q;
|
|
625
|
+
}
|
|
626
|
+
function j() {
|
|
600
627
|
let e = this.chart, t = this.options, n = e.angular && this.isXAxis, r = this.pane, i = r?.options;
|
|
601
628
|
if (!n && r && (e.angular || e.polar)) {
|
|
602
|
-
let n = Math.PI * 2, r = i.startAngle ?? (e.angular ? -135 : 0),
|
|
603
|
-
this.angleRad = (t.angle || 0) * Math.PI / 180, this.startAngleRad =
|
|
604
|
-
let
|
|
605
|
-
|
|
629
|
+
let n = Math.PI * 2, r = i.startAngle ?? (e.angular ? -135 : 0), a = (r - 90) * Math.PI / 180, o = ((i.endAngle ?? r + (e.angular ? 270 : 360)) - 90) * Math.PI / 180;
|
|
630
|
+
this.angleRad = (t.angle || 0) * Math.PI / 180, this.startAngleRad = a, this.endAngleRad = o;
|
|
631
|
+
let s = (a % n + n) % n, c = (o % n + n) % n;
|
|
632
|
+
s > Math.PI && (s -= n), c > Math.PI && (c -= n), this.normalizedStartAngleRad = s, this.normalizedEndAngleRad = c;
|
|
606
633
|
}
|
|
607
634
|
}
|
|
608
|
-
function
|
|
635
|
+
function M(e) {
|
|
609
636
|
if (this.chart.angular) {
|
|
610
637
|
let { options: t, pane: n } = this;
|
|
611
638
|
n.hasSeriesType("gauge") && (e.tickSize = [t[`${e.prefix}Length`] ?? 10, t[`${e.prefix}Width`] ?? 1], t[`${e.prefix}Position`] === "inside" && (e.tickSize[0] *= -1));
|
|
612
639
|
}
|
|
613
640
|
}
|
|
614
|
-
function
|
|
641
|
+
function ee(e) {
|
|
615
642
|
this.isRadial && (e.align = void 0, e.preventDefault());
|
|
616
643
|
}
|
|
617
644
|
function N() {
|
|
@@ -620,70 +647,71 @@ var ye = {
|
|
|
620
647
|
e >= 0 && this.chart.labelCollectors.splice(e, 1);
|
|
621
648
|
}
|
|
622
649
|
}
|
|
623
|
-
function
|
|
650
|
+
function P(e) {
|
|
624
651
|
let t = this.chart, n = t.angular, r = t.polar, i = this.isXAxis, a = this.coll, o = n && i, s = e.userOptions.pane || 0, c = this.pane = t.pane && t.pane[s], l;
|
|
625
652
|
if (a === "colorAxis") {
|
|
626
653
|
this.isRadial = !1;
|
|
627
654
|
return;
|
|
628
655
|
}
|
|
629
|
-
n ? (o ?
|
|
656
|
+
E(this), n ? (o ? k(this) : O(this), l = !i) : r ? (O(this), l = this.horiz) : D(this), n || r ? (this.isRadial = !0, this.labelCollector ||= this.createLabelCollector(), this.labelCollector && t.labelCollectors.push(this.labelCollector)) : this.isRadial = !1, c && l && (c.axis = this), this.isCircular = l;
|
|
630
657
|
}
|
|
631
|
-
function
|
|
658
|
+
function te() {
|
|
632
659
|
this.isRadial && this.beforeSetTickPositions?.();
|
|
633
660
|
}
|
|
634
661
|
function F(e) {
|
|
635
662
|
let t = this.label;
|
|
636
663
|
if (!t) return;
|
|
637
|
-
let n = this.axis, r = t.getBBox(), i = n.options.labels, a = (n.translate(this.pos) + n.startAngleRad + Math.PI / 2) / Math.PI * 180 % 360, o = Math.round(a), s =
|
|
638
|
-
n.isRadial && (l = n.getPosition(this.pos, n.center[2] / 2 +
|
|
664
|
+
let n = this.axis, r = t.getBBox(), i = n.options.labels, a = (n.translate(this.pos) + n.startAngleRad + Math.PI / 2) / Math.PI * 180 % 360, o = Math.round(a), s = x(i.y) ? 0 : -r.height * .3, c = i.y, l, u = 20, f = i.align, p = "end", m = o < 0 ? o + 360 : o, h = m, g = 0, _ = 0;
|
|
665
|
+
n.isRadial && (l = n.getPosition(this.pos, n.center[2] / 2 + d(i.distance ?? 15, n.center[2] / 2) + n.offset), i.rotation === "auto" ? t.attr({ rotation: a }) : x(c) || (c = n.chart.renderer.fontMetrics(t).b - r.height / 2), x(f) || (n.isCircular ? (r.width > n.len * n.tickInterval / (n.max - n.min) && (u = 0), f = a > u && a < 180 - u ? "left" : a > 180 + u && a < 360 - u ? "right" : "center") : f = "center", t.attr({ align: f })), f === "auto" && n.tickPositions.length === 2 && n.isCircular && (m > 90 && m < 180 ? m = 180 - m : m > 270 && m <= 360 && (m = 540 - m), h > 180 && h <= 360 && (h = 360 - h), (n.pane.options.startAngle === o || n.pane.options.startAngle === o + 360 || n.pane.options.startAngle === o - 360) && (p = "start"), f = o >= -90 && o <= 90 || o >= -360 && o <= -270 || o >= 270 && o <= 360 ? p === "start" ? "right" : "left" : p === "start" ? "left" : "right", h > 70 && h < 110 && (f = "center"), m < 15 || m >= 180 && m < 195 ? g = r.height * .3 : m >= 15 && m <= 35 ? g = p === "start" ? 0 : r.height * .75 : m >= 195 && m <= 215 ? g = p === "start" ? r.height * .75 : 0 : m > 35 && m <= 90 ? g = p === "start" ? -r.height * .25 : r.height : m > 215 && m <= 270 && (g = p === "start" ? r.height : -r.height * .25), h < 15 ? _ = p === "start" ? -r.height * .15 : r.height * .15 : h > 165 && h <= 180 && (_ = p === "start" ? r.height * .15 : -r.height * .15), t.attr({ align: f }), t.translate(_, g + s)), e.pos.x = l.x + (i.x || 0), e.pos.y = l.y + (c || 0));
|
|
639
666
|
}
|
|
640
|
-
function
|
|
641
|
-
this.axis.getPosition &&
|
|
667
|
+
function I(e) {
|
|
668
|
+
this.axis.getPosition && h(e.pos, this.axis.getPosition(this.pos));
|
|
642
669
|
}
|
|
643
|
-
function
|
|
670
|
+
function ne({ options: e }) {
|
|
644
671
|
e.xAxis && n(!0, t.radialDefaultOptions.circular, e.xAxis), e.yAxis && n(!0, t.radialDefaultOptions.radialGauge, e.yAxis);
|
|
645
672
|
}
|
|
646
|
-
function
|
|
673
|
+
function re(e, t) {
|
|
647
674
|
let n = this.chart, r = this.center;
|
|
648
675
|
return e = this.startAngleRad + e, {
|
|
649
676
|
x: n.plotLeft + r[0] + Math.cos(e) * t,
|
|
650
677
|
y: n.plotTop + r[1] + Math.sin(e) * t
|
|
651
678
|
};
|
|
652
679
|
}
|
|
653
|
-
function
|
|
680
|
+
function L() {
|
|
654
681
|
this.isDirty = !1;
|
|
655
682
|
}
|
|
656
|
-
function
|
|
683
|
+
function ie() {
|
|
657
684
|
let e = this.constructor.prototype, t, n;
|
|
658
|
-
e.setAxisSize.call(this), this.isRadial && (this.pane.updateCenter(), t = this.center = this.pane.center.slice(), this.isCircular ? (this.sector = this.endAngleRad - this.startAngleRad, this.len = this.width = this.height = t[2] * this.sector / 2) : (n = this.postTranslate(this.angleRad, t[3] / 2), t[0] = n.x - this.chart.plotLeft, t[1] = n.y - this.chart.plotTop, this.len = this.width = this.height = (t[2] - t[3]) / 2));
|
|
685
|
+
e.setAxisSize.call(this), this.isRadial && (this.pane.updateCenter(), t = this.center = this.pane.center.slice(), this.isCircular ? (this.sector = this.endAngleRad - this.startAngleRad, this.len = this.width = this.height = t[2] * this.sector / 2) : (n = this.postTranslate(this.angleRad, t[3] / 2), t[0] = n.x - this.chart.plotLeft, t[1] = n.y - this.chart.plotTop, delete this.sector, this.len = this.width = this.height = (t[2] - t[3]) / 2));
|
|
659
686
|
}
|
|
660
|
-
function
|
|
687
|
+
function R() {
|
|
661
688
|
this.constructor.prototype.setAxisTranslation.call(this), this.center && (this.transA = this.isCircular ? (this.endAngleRad - this.startAngleRad) / (this.max - this.min || 1) : (this.center[2] - this.center[3]) / 2 / (this.max - this.min || 1), this.minPixelPadding = this.isXAxis ? this.transA * this.minPointOffset : 0);
|
|
662
689
|
}
|
|
663
|
-
function
|
|
664
|
-
let { coll: i } = this, { angular: a, inverted: o, polar:
|
|
665
|
-
a ? this.isXAxis || (l = n(
|
|
690
|
+
function z(e) {
|
|
691
|
+
let { coll: i } = this, { angular: a, inverted: o, polar: c } = this.chart, l = {};
|
|
692
|
+
a ? this.isXAxis || (l = n(K.yAxis, t.radialDefaultOptions.radialGauge)) : c && (l = this.horiz ? n(K.xAxis, t.radialDefaultOptions.circular) : n(i === "xAxis" ? K.xAxis : K.yAxis, t.radialDefaultOptions.radial)), o && i === "yAxis" && (l.stackLabels = s(K.yAxis, !0) ? K.yAxis.stackLabels : {}, l.reversedStacks = !0);
|
|
666
693
|
let u = this.options = n(l, e);
|
|
667
694
|
u.plotBands ||= [], r(this, "afterSetOptions");
|
|
668
695
|
}
|
|
669
|
-
function
|
|
670
|
-
return !
|
|
696
|
+
function ae(e) {
|
|
697
|
+
return !x(this.options.minorTicks) && this.pane.hasSeriesType("gauge") ? "auto" : e.apply(this, Array.prototype.slice.call(arguments, 1));
|
|
671
698
|
}
|
|
672
|
-
function
|
|
699
|
+
function B(e, t, n, r, i, a, o) {
|
|
673
700
|
let s = this.axis, c, l;
|
|
674
|
-
return s.isRadial ? (c = s.getPosition(this.pos, s.center[2] / 2 + r), l = [
|
|
701
|
+
return s.isRadial ? (c = s.getPosition(this.pos, s.center[2] / 2 + r), l = [[
|
|
675
702
|
"M",
|
|
676
703
|
t,
|
|
677
|
-
n
|
|
704
|
+
n
|
|
705
|
+
], [
|
|
678
706
|
"L",
|
|
679
707
|
c.x,
|
|
680
708
|
c.y
|
|
681
|
-
]) : l = e.call(this, t, n, r, i, a, o), l;
|
|
709
|
+
]]) : l = e.call(this, t, n, r, i, a, o), l;
|
|
682
710
|
}
|
|
683
711
|
})(xe ||= {});
|
|
684
|
-
var Se = xe, { defaultOptions: Ce } =
|
|
712
|
+
var Se = xe, { defaultOptions: Ce } = u, { composed: we } = g;
|
|
685
713
|
function Te(e, t, n, r, i) {
|
|
686
|
-
let a =
|
|
714
|
+
let a = _(), o = e.createElement("clipPath").attr({ id: a }).add(e.defs), s = i ? e.arc(t, n, r, i, 0, 2 * Math.PI).add(o) : e.circle(t, n, r).add(o);
|
|
687
715
|
return s.id = a, s.clipPath = o, s;
|
|
688
716
|
}
|
|
689
717
|
function Ee(e, t) {
|
|
@@ -717,8 +745,8 @@ function ke(e) {
|
|
|
717
745
|
t && n && (n.gridLineInterpolation === "polygon" ? (t.startOnTick = !0, t.endOnTick = !0) : t.gridLineInterpolation === "polygon" && r.inverted && (n.startOnTick = !0, n.endOnTick = !0));
|
|
718
746
|
}
|
|
719
747
|
function Ae() {
|
|
720
|
-
this.pane ||= [], this.options.pane =
|
|
721
|
-
new
|
|
748
|
+
this.pane ||= [], this.options.pane = v(this.options.pane || {}), v(this.userOptions.pane || {}).forEach((e) => {
|
|
749
|
+
new G(e, this);
|
|
722
750
|
}, this);
|
|
723
751
|
}
|
|
724
752
|
function je(e) {
|
|
@@ -751,7 +779,7 @@ function Me(e) {
|
|
|
751
779
|
let { min: t, max: n } = e.getExtremes();
|
|
752
780
|
s = n - (t - s);
|
|
753
781
|
}
|
|
754
|
-
s < o && (s = [o, o = s][0]), a =
|
|
782
|
+
s < o && (s = [o, o = s][0]), a = J(a, o, s, e), a.push([
|
|
755
783
|
"L",
|
|
756
784
|
n[0] + t.plotLeft,
|
|
757
785
|
t.plotTop + n[1]
|
|
@@ -774,7 +802,7 @@ function Me(e) {
|
|
|
774
802
|
let e = d.d.slice(0, d.d.length / 2), n = d.d.slice(d.d.length / 2, d.d.length);
|
|
775
803
|
n = [...n].reverse();
|
|
776
804
|
let r = t.hoverPane.axis;
|
|
777
|
-
e =
|
|
805
|
+
e = J(e, o, s, r), n = J(n, o, s, r), n && (n[0][0] = "L"), n = [...n].reverse(), d.d = e.concat(n), f = "path";
|
|
778
806
|
}
|
|
779
807
|
}
|
|
780
808
|
e.attrs = d, e.shapeType = f;
|
|
@@ -782,12 +810,12 @@ function Me(e) {
|
|
|
782
810
|
}
|
|
783
811
|
function Ne() {
|
|
784
812
|
let e = this.chart;
|
|
785
|
-
e.polar && (this.polar = new
|
|
813
|
+
e.polar && (this.polar = new Ge(this), e.inverted && (this.isRadialSeries = !0, this.is("column") && (this.isRadialBar = !0)));
|
|
786
814
|
}
|
|
787
815
|
function Pe() {
|
|
788
816
|
let { chart: e, options: t, yAxis: n } = this;
|
|
789
817
|
if (t.borderRadius && e.polar && e.inverted) {
|
|
790
|
-
let e = Ce.plotOptions?.[this.type]?.borderRadius, { scope: r, where: i = "end" } =
|
|
818
|
+
let e = Ce.plotOptions?.[this.type]?.borderRadius, { scope: r, where: i = "end" } = A(t.borderRadius, s(e) ? e : {});
|
|
791
819
|
for (let e of this.points) {
|
|
792
820
|
let { shapeArgs: a } = e;
|
|
793
821
|
if (e.shapeType === "arc" && a) {
|
|
@@ -801,16 +829,16 @@ function Fe() {
|
|
|
801
829
|
if (this.chart.polar && this.xAxis) {
|
|
802
830
|
let e = this, { xAxis: t, yAxis: n } = e, r = e.chart;
|
|
803
831
|
e.kdByAngle = r.tooltip && r.tooltip.shared, e.kdByAngle || r.inverted ? e.searchPoint = Ie : e.options.findNearestPointBy = "xy";
|
|
804
|
-
let i = e.points,
|
|
805
|
-
for (;
|
|
806
|
-
this.hasClipCircleSetter ||= !!e.eventsToUnbind.push(
|
|
832
|
+
let i = e.points, a = i.length;
|
|
833
|
+
for (; a--;) !e.is("column") && !e.is("columnrange") && e.polar.toXY(i[a]), !r.hasParallelCoordinates && !e.yAxis.reversed && ((i[a].y ?? Number.MIN_VALUE) < n.min || i[a].x < t.min || i[a].x > t.max ? (i[a].isNull = !0, i[a].plotY = NaN) : i[a].isNull = i[a].isValid && !i[a].isValid());
|
|
834
|
+
this.hasClipCircleSetter ||= !!e.eventsToUnbind.push(p(e, "afterRender", function() {
|
|
807
835
|
let e;
|
|
808
836
|
r.polar && this.options.clip !== !1 && (e = this.yAxis.pane.center, this.clipCircle ? this.clipCircle.animate({
|
|
809
837
|
x: e[0],
|
|
810
838
|
y: e[1],
|
|
811
839
|
r: e[2] / 2,
|
|
812
840
|
innerR: e[3] / 2
|
|
813
|
-
}) : this.clipCircle = Te(r.renderer, e[0], e[1], e[2] / 2, e[3] / 2), this.group.clip(this.clipCircle), this.setClip =
|
|
841
|
+
}) : this.clipCircle = Te(r.renderer, e[0], e[1], e[2] / 2, e[3] / 2), this.group.clip(this.clipCircle), this.setClip = g.noop);
|
|
814
842
|
}));
|
|
815
843
|
}
|
|
816
844
|
}
|
|
@@ -821,40 +849,40 @@ function Ie(e) {
|
|
|
821
849
|
} : { clientX: 180 + -180 / Math.PI * Math.atan2(o, s) };
|
|
822
850
|
return t.searchKDTree(c);
|
|
823
851
|
}
|
|
824
|
-
function
|
|
825
|
-
let i = r.tickInterval, a = r.tickPositions, o =
|
|
826
|
-
return
|
|
852
|
+
function J(e, t, n, r) {
|
|
853
|
+
let i = r.tickInterval, a = r.tickPositions, o = m(a, (e) => e >= n), s = m([...a].reverse(), (e) => e <= t);
|
|
854
|
+
return x(o) || (o = a[a.length - 1]), x(s) || (s = a[0], o += i, e[0][0] = "L", e.unshift(e[e.length - 3])), e = e.slice(a.indexOf(s), a.indexOf(o) + 1), e[0][0] = "M", e;
|
|
827
855
|
}
|
|
828
856
|
function Le(e, t) {
|
|
829
|
-
return
|
|
857
|
+
return m(this.pane || [], (e) => e.options.id === t) || e.call(this, t);
|
|
830
858
|
}
|
|
831
|
-
function Re(e, t, r, i,
|
|
832
|
-
let
|
|
833
|
-
|
|
834
|
-
x:
|
|
835
|
-
y:
|
|
836
|
-
})) : t.tooltipPos && (
|
|
859
|
+
function Re(e, t, r, i, a, o) {
|
|
860
|
+
let s = this.chart, c = i.inside ?? !!this.options.stacking, l, u, d;
|
|
861
|
+
s.polar ? (l = t.rectPlotX / Math.PI * 180, s.inverted ? (this.forceDL = s.isInsidePlot(t.plotX, t.plotY), c && t.shapeArgs ? (u = t.shapeArgs, d = this.yAxis.postTranslate(((u.start || 0) + (u.end || 0)) / 2 - this.xAxis.startAngleRad, t.barX + (t.pointWidth || 0) / 2), a = n(a, {
|
|
862
|
+
x: d.x - s.plotLeft,
|
|
863
|
+
y: d.y - s.plotTop
|
|
864
|
+
})) : t.tooltipPos && (a = n(a, {
|
|
837
865
|
x: t.tooltipPos[0],
|
|
838
866
|
y: t.tooltipPos[1]
|
|
839
|
-
})), i.align =
|
|
867
|
+
})), i.align = i.align ?? "center", i.verticalAlign = i.verticalAlign ?? "middle") : i = Ee(l, i), E.prototype.alignDataLabel.call(this, t, r, i, a, o), this.isRadialBar && t.shapeArgs && t.shapeArgs.start === t.shapeArgs.end ? r.hide() : r.show()) : e.call(this, t, r, i, a, o);
|
|
840
868
|
}
|
|
841
869
|
function ze() {
|
|
842
|
-
let e = this, { chart: t, options: n, xAxis: r, yAxis: i } = e, a = n.stacking, { center:
|
|
843
|
-
if (r.isRadial) for (h = e.points, _ = h.length, v = i.translate(i.min), y = i.translate(i.max), p = n.threshold || 0, t.inverted &&
|
|
870
|
+
let e = this, { chart: t, options: n, xAxis: r, yAxis: i } = e, a = n.stacking, { center: s, reversed: c } = i, { endAngleRad: l, startAngleRad: u } = r, f = l - u, p = n.threshold, m = 0, h, g, _, v, y, b = 0, C = 0, w, T, E, D, O, k, j, M;
|
|
871
|
+
if (r.isRadial) for (h = e.points, _ = h.length, v = i.translate(i.min), y = i.translate(i.max), p = n.threshold || 0, t.inverted && o(p) && (m = i.translate(p), x(m) && (m < 0 ? m = 0 : m > f && (m = f), e.translatedThreshold = m + u)); _--;) {
|
|
844
872
|
if (g = h[_], k = g.barX, T = g.x, E = g.y, g.shapeType = "arc", t.inverted) {
|
|
845
|
-
g.plotY = i.translate(E), a && i.stacking ? (O = i.stacking.stacks[(E < 0 ? "-" : "") + e.stackKey], e.visible && O && O[T] && (g.isNull || (D = O[T].points[e.getStackIndicator(void 0, T, e.index).key], b = i.translate(D[0]),
|
|
846
|
-
let t =
|
|
873
|
+
g.plotY = i.translate(E), a && i.stacking ? (O = i.stacking.stacks[(E < 0 ? "-" : "") + e.stackKey], e.visible && O && O[T] && (g.isNull || (D = O[T].points[e.getStackIndicator(void 0, T, e.index).key], b = i.translate(D[0]), C = i.translate(D[1]), x(b) && (b = S(b, 0, f))))) : (b = m, C = g.plotY), b > C && (C = [b, b = C][0]), c ? C > v ? C = v : b < y ? b = y : (b > v || C < y) && (b = C = f) : b < v ? b = v : C > y ? C = y : (C < v || b > y) && (b = C = 0), i.min > i.max && (b = C = c ? f : 0), b += u, C += u, s && (g.barX = k += s[3] / 2), j = Math.max(k, 0), M = Math.max(k + (g.pointWidth || 0), 0);
|
|
874
|
+
let t = A(n.borderRadius), r = d(t.radius, M - j);
|
|
847
875
|
g.shapeArgs = {
|
|
848
|
-
x:
|
|
849
|
-
y:
|
|
876
|
+
x: s[0],
|
|
877
|
+
y: s[1],
|
|
850
878
|
r: M,
|
|
851
|
-
innerR:
|
|
879
|
+
innerR: j,
|
|
852
880
|
start: b,
|
|
853
|
-
end:
|
|
881
|
+
end: C,
|
|
854
882
|
borderRadius: r
|
|
855
|
-
}, g.opacity = b ===
|
|
883
|
+
}, g.opacity = b === C ? 0 : void 0, g.plotY = (x(e.translatedThreshold) && (b < e.translatedThreshold ? b : C)) - u;
|
|
856
884
|
} else b = k + u, g.shapeArgs = e.polar.arc(g.yBottom, g.plotY, b, b + (g.pointWidth || 0)), g.shapeArgs.borderRadius = 0;
|
|
857
|
-
e.polar.toXY(g), t.inverted ? (w = i.postTranslate(g.rectPlotY, k + (g.pointWidth || 0) / 2), g.tooltipPos = [w.x - t.plotLeft, w.y - t.plotTop]) : g.tooltipPos = [g.plotX, g.plotY],
|
|
885
|
+
e.polar.toXY(g), t.inverted ? (w = i.postTranslate(g.rectPlotY, k + (g.pointWidth || 0) / 2), g.tooltipPos = [w.x - t.plotLeft, w.y - t.plotTop]) : g.tooltipPos = [g.plotX, g.plotY], s && (g.ttBelow = g.plotY > s[1]);
|
|
858
886
|
}
|
|
859
887
|
}
|
|
860
888
|
function Be(e, t) {
|
|
@@ -889,29 +917,29 @@ function Ve(e, t) {
|
|
|
889
917
|
function He(e, t) {
|
|
890
918
|
this.chart.polar || e.call(this, t);
|
|
891
919
|
}
|
|
892
|
-
function
|
|
893
|
-
let n = this, r = this.chart, i = this.group,
|
|
894
|
-
r.polar ? n.isRadialBar ? t || (n.startAngleRad =
|
|
895
|
-
|
|
896
|
-
r:
|
|
897
|
-
innerR:
|
|
898
|
-
}),
|
|
899
|
-
r:
|
|
900
|
-
innerR:
|
|
920
|
+
function Y(e, t) {
|
|
921
|
+
let n = this, r = this.chart, i = this.group, a = this.markerGroup, o = this.xAxis && this.xAxis.center, s = r.plotLeft, c = r.plotTop, l = this.options.animation, u, d, f, p, m, h;
|
|
922
|
+
r.polar ? n.isRadialBar ? t || (n.startAngleRad = n.translatedThreshold ?? n.xAxis.startAngleRad, g.seriesTypes.pie.prototype.animate.call(n, t)) : (l = b(l), n.is("column") ? t || (d = o[3] / 2, n.points.forEach((e) => {
|
|
923
|
+
f = e.graphic, p = e.shapeArgs, m = p && p.r, h = p && p.innerR, f && p && (f.attr({
|
|
924
|
+
r: d,
|
|
925
|
+
innerR: d
|
|
926
|
+
}), f.animate({
|
|
927
|
+
r: m,
|
|
928
|
+
innerR: h
|
|
901
929
|
}, n.options.animation));
|
|
902
|
-
})) : t ? (
|
|
903
|
-
translateX:
|
|
904
|
-
translateY:
|
|
930
|
+
})) : t ? (u = {
|
|
931
|
+
translateX: o[0] + s,
|
|
932
|
+
translateY: o[1] + c,
|
|
905
933
|
scaleX: .001,
|
|
906
934
|
scaleY: .001
|
|
907
|
-
}, i.attr(
|
|
908
|
-
translateX:
|
|
909
|
-
translateY:
|
|
935
|
+
}, i.attr(u), a && a.attr(u)) : (u = {
|
|
936
|
+
translateX: s,
|
|
937
|
+
translateY: c,
|
|
910
938
|
scaleX: 1,
|
|
911
939
|
scaleY: 1
|
|
912
|
-
}, i.animate(
|
|
940
|
+
}, i.animate(u, l), a && a.animate(u, l))) : e.call(this, t);
|
|
913
941
|
}
|
|
914
|
-
function
|
|
942
|
+
function Ue(e, t, n, r) {
|
|
915
943
|
let i, a;
|
|
916
944
|
if (this.chart.polar) {
|
|
917
945
|
if (!r) i = [
|
|
@@ -924,10 +952,10 @@ function We(e, t, n, r) {
|
|
|
924
952
|
let e = a.prevPointCont && a.prevPointCont.rightContX, n = a.prevPointCont && a.prevPointCont.rightContY;
|
|
925
953
|
i = [
|
|
926
954
|
"C",
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
955
|
+
o(e) ? e : a.plotX,
|
|
956
|
+
o(n) ? n : a.plotY,
|
|
957
|
+
o(a.leftContX) ? a.leftContX : a.plotX,
|
|
958
|
+
o(a.leftContY) ? a.leftContY : a.plotY,
|
|
931
959
|
a.plotX,
|
|
932
960
|
a.plotY
|
|
933
961
|
];
|
|
@@ -935,25 +963,25 @@ function We(e, t, n, r) {
|
|
|
935
963
|
} else i = e.call(this, t, n, r);
|
|
936
964
|
return i;
|
|
937
965
|
}
|
|
938
|
-
function
|
|
966
|
+
function We(e, t, n = this.plotX, r = this.plotY) {
|
|
939
967
|
let { series: i } = this, { chart: a } = i || {};
|
|
940
|
-
return a?.polar &&
|
|
968
|
+
return a?.polar && o(n) && o(r) ? [n + (t ? a.plotLeft : 0), r + (t ? a.plotTop : 0)] : e.call(this, t, n, r);
|
|
941
969
|
}
|
|
942
|
-
var
|
|
970
|
+
var Ge = class {
|
|
943
971
|
static compose(t, n, r, i, a, o, s, c, l, u) {
|
|
944
|
-
if (
|
|
972
|
+
if (G.compose(n, r), Se.compose(t, a), e(we, "Polar")) {
|
|
945
973
|
let e = n.prototype, t = o.prototype, a = r.prototype, d = i.prototype;
|
|
946
|
-
if (
|
|
974
|
+
if (p(n, "afterDrawChartBox", Oe), p(n, "createAxes", Ae), p(n, "init", ke), y(e, "get", Le), y(a, "getCoordinates", Ve), y(a, "pinch", He), p(r, "getSelectionMarkerAttrs", Me), p(r, "getSelectionBox", je), p(i, "afterInit", Ne), p(i, "afterColumnTranslate", Pe, { order: 9 }), p(i, "afterTranslate", Fe, { order: 2 }), p(i, "afterColumnTranslate", ze, { order: 4 }), y(d, "animate", Y), y(t, "pos", We), c) {
|
|
947
975
|
let e = c.prototype;
|
|
948
|
-
|
|
976
|
+
y(e, "alignDataLabel", Re), y(e, "animate", Y);
|
|
949
977
|
}
|
|
950
978
|
if (l) {
|
|
951
979
|
let e = l.prototype;
|
|
952
|
-
|
|
980
|
+
y(e, "getGraphPath", Be);
|
|
953
981
|
}
|
|
954
982
|
if (u) {
|
|
955
983
|
let e = u.prototype;
|
|
956
|
-
if (
|
|
984
|
+
if (y(e, "getPointSpline", Ue), s) {
|
|
957
985
|
let t = s.prototype;
|
|
958
986
|
t.getPointSpline = e.getPointSpline;
|
|
959
987
|
}
|
|
@@ -964,28 +992,28 @@ var Ke = class {
|
|
|
964
992
|
this.series = e;
|
|
965
993
|
}
|
|
966
994
|
arc(e, t, n, r) {
|
|
967
|
-
let i = this.series,
|
|
968
|
-
return i.yAxis.reversed && (
|
|
969
|
-
x:
|
|
970
|
-
y:
|
|
971
|
-
r:
|
|
972
|
-
innerR:
|
|
995
|
+
let i = this.series, a = i.xAxis.center, o = i.yAxis.len, s = a[3] / 2, c = o - t + s, l = o - (e ?? o) + s;
|
|
996
|
+
return i.yAxis.reversed && (c < 0 && (c = s), l < 0 && (l = s)), {
|
|
997
|
+
x: a[0],
|
|
998
|
+
y: a[1],
|
|
999
|
+
r: c,
|
|
1000
|
+
innerR: l,
|
|
973
1001
|
start: n,
|
|
974
1002
|
end: r
|
|
975
1003
|
};
|
|
976
1004
|
}
|
|
977
1005
|
toXY(e) {
|
|
978
|
-
let t = this.series, n = t.chart, r = t.xAxis, i = t.yAxis, a = e.plotX,
|
|
979
|
-
if (
|
|
980
|
-
let t =
|
|
1006
|
+
let t = this.series, n = t.chart, r = t.xAxis, i = t.yAxis, a = e.plotX, s = n.inverted, c = e.y, l = e.plotY, u = s ? a : i.len - l, d;
|
|
1007
|
+
if (s && t && !t.isRadialBar && (e.plotY = l = o(c) ? i.translate(c) : 0), e.rectPlotX = a, e.rectPlotY = l, i.center && (u += i.center[3] / 2), o(l)) {
|
|
1008
|
+
let t = s ? i.postTranslate(l, u) : r.postTranslate(a, u);
|
|
981
1009
|
e.plotX = e.polarPlotX = t.x - n.plotLeft, e.plotY = e.polarPlotY = t.y - n.plotTop;
|
|
982
1010
|
}
|
|
983
1011
|
t.kdByAngle ? (d = (a / Math.PI * 180 + (r.pane.options.startAngle || 0)) % 360, d < 0 && (d += 360), e.clientX = d) : e.clientX = e.plotX;
|
|
984
1012
|
}
|
|
985
|
-
}, { composed:
|
|
1013
|
+
}, { composed: Ke } = g, qe;
|
|
986
1014
|
(function(n) {
|
|
987
1015
|
function r(t, n) {
|
|
988
|
-
e(
|
|
1016
|
+
e(Ke, "Axis.Waterfall") && (p(t, "init", o), p(t, "afterBuildStacks", i), p(t, "afterRender", a), p(n, "beforeRedraw", s));
|
|
989
1017
|
}
|
|
990
1018
|
n.compose = r;
|
|
991
1019
|
function i() {
|
|
@@ -1012,32 +1040,32 @@ var Ke = class {
|
|
|
1012
1040
|
this.axis = e, this.stacks = { changed: !1 };
|
|
1013
1041
|
}
|
|
1014
1042
|
renderStackTotals() {
|
|
1015
|
-
let e = this.axis, n = e.waterfall?.stacks, r = e.stacking?.stackTotalGroup, i = new
|
|
1043
|
+
let e = this.axis, n = e.waterfall?.stacks, r = e.stacking?.stackTotalGroup, i = new O(e, !1, 0, void 0);
|
|
1016
1044
|
this.dummyStackItem = i, r && t(n, (e) => {
|
|
1017
1045
|
t(e, (e, t) => {
|
|
1018
|
-
i.total = e.stackTotal, i.x = +t, e.label && (i.label = e.label),
|
|
1046
|
+
i.total = e.stackTotal, i.x = +t, e.label && (i.label = e.label), O.prototype.render.call(i, r), e.label = i.label, delete i.label;
|
|
1019
1047
|
});
|
|
1020
1048
|
}), i.total = null;
|
|
1021
1049
|
}
|
|
1022
1050
|
}
|
|
1023
1051
|
n.Composition = c;
|
|
1024
|
-
})(
|
|
1025
|
-
var
|
|
1052
|
+
})(qe ||= {});
|
|
1053
|
+
var Je = qe, Ye = class extends D.prototype.pointClass {
|
|
1026
1054
|
getClassName() {
|
|
1027
|
-
let e =
|
|
1055
|
+
let e = w.prototype.getClassName.call(this);
|
|
1028
1056
|
return this.isSum ? e += " highcharts-sum" : this.isIntermediateSum && (e += " highcharts-intermediate-sum"), e;
|
|
1029
1057
|
}
|
|
1030
1058
|
isValid() {
|
|
1031
|
-
return
|
|
1059
|
+
return o(this.y) || this.isSum || !!this.isIntermediateSum;
|
|
1032
1060
|
}
|
|
1033
|
-
},
|
|
1061
|
+
}, Xe = {
|
|
1034
1062
|
dataLabels: { inside: !0 },
|
|
1035
1063
|
lineWidth: 1,
|
|
1036
1064
|
lineColor: "var(--highcharts-neutral-color-80)",
|
|
1037
1065
|
dashStyle: "Dot",
|
|
1038
1066
|
borderColor: "var(--highcharts-neutral-color-80)",
|
|
1039
1067
|
states: { hover: { lineWidthPlus: 0 } }
|
|
1040
|
-
}, { column: X, line:
|
|
1068
|
+
}, { column: X, line: Ze } = T.seriesTypes;
|
|
1041
1069
|
function Z(e, t) {
|
|
1042
1070
|
return Object.hasOwnProperty.call(e, t);
|
|
1043
1071
|
}
|
|
@@ -1047,13 +1075,13 @@ var Q = class extends X {
|
|
|
1047
1075
|
let e = this.getColumn("y", !0);
|
|
1048
1076
|
for (let t = 0, n = this.points.length; t < n; t++) {
|
|
1049
1077
|
let n = this.points[t], r = e[t];
|
|
1050
|
-
|
|
1078
|
+
o(r) && (n.isIntermediateSum || n.isSum) && (n.y = l(r));
|
|
1051
1079
|
}
|
|
1052
1080
|
}
|
|
1053
1081
|
processData(e) {
|
|
1054
|
-
let t = this, n = t.options, r = t.getColumn("y"), i = t.getColumn("isSum"), a = t.getColumn("isIntermediateSum"), o = r.length, s = n.threshold || 0, c,
|
|
1055
|
-
|
|
1056
|
-
for (let e = 0; e < o; e++) p = r[e], p === "sum" || i[e] ? r[e] = u
|
|
1082
|
+
let t = this, n = t.options, r = t.getColumn("y"), i = t.getColumn("isSum"), a = t.getColumn("isIntermediateSum"), o = r.length, s = n.threshold || 0, c, u, d, f, p;
|
|
1083
|
+
u = c = d = f = 0;
|
|
1084
|
+
for (let e = 0; e < o; e++) p = r[e], p === "sum" || i[e] ? r[e] = l(u) : p === "intermediateSum" || a[e] ? (r[e] = l(c), c = 0) : (u += p, c += p), d = Math.min(u, d), f = Math.max(u, f);
|
|
1057
1085
|
super.processData.call(this, e), n.stacking || (t.dataMin = d + s, t.dataMax = f);
|
|
1058
1086
|
}
|
|
1059
1087
|
toYData(e) {
|
|
@@ -1061,7 +1089,7 @@ var Q = class extends X {
|
|
|
1061
1089
|
}
|
|
1062
1090
|
pointAttribs(e, t) {
|
|
1063
1091
|
let n = this.options.upColor;
|
|
1064
|
-
n && e && !e.options.color &&
|
|
1092
|
+
n && e && !e.options.color && o(e.y) && (e.color = e.y > 0 ? n : void 0);
|
|
1065
1093
|
let r = X.prototype.pointAttribs.call(this, e, t);
|
|
1066
1094
|
return delete r.dashstyle, r;
|
|
1067
1095
|
}
|
|
@@ -1073,25 +1101,25 @@ var Q = class extends X {
|
|
|
1073
1101
|
]];
|
|
1074
1102
|
}
|
|
1075
1103
|
getCrispPath() {
|
|
1076
|
-
let e = this.points.filter((e) =>
|
|
1104
|
+
let e = this.points.filter((e) => o(e.y)), t = this.yAxis, n = e.length, r = this.graph?.strokeWidth() || 0, i = this.xAxis.reversed, s = this.yAxis.reversed, c = this.options.stacking, l = [];
|
|
1077
1105
|
for (let u = 1; u < n; u++) {
|
|
1078
|
-
if (!(this.options.connectNulls ||
|
|
1106
|
+
if (!(this.options.connectNulls || o(this.data[e[u].index - 1].y))) continue;
|
|
1079
1107
|
let n = e[u].box, d = e[u - 1], f = d.y || 0, p = e[u - 1].box;
|
|
1080
1108
|
if (!n || !p) continue;
|
|
1081
1109
|
let m = t.waterfall?.stacks[this.stackKey], h = f > 0 ? -p.height : 0;
|
|
1082
1110
|
if (m && p && n) {
|
|
1083
|
-
let e = m[u - 1],
|
|
1084
|
-
|
|
1111
|
+
let e = m[u - 1], o;
|
|
1112
|
+
o = a(c ? t.translate(e.connectorThreshold || 0, !1, !0, !1, !0) + (s ? h : 0) : p.y + (d.minPointLengthOffset || 0), r), l.push([
|
|
1085
1113
|
"M",
|
|
1086
1114
|
(p.x || 0) + (i ? 0 : p.width || 0),
|
|
1087
|
-
|
|
1115
|
+
o
|
|
1088
1116
|
], [
|
|
1089
1117
|
"L",
|
|
1090
1118
|
(n.x || 0) + (i && n.width || 0),
|
|
1091
|
-
|
|
1119
|
+
o
|
|
1092
1120
|
]);
|
|
1093
1121
|
}
|
|
1094
|
-
if (p && l.length && (!c && f < 0 && !
|
|
1122
|
+
if (p && l.length && (!c && f < 0 && !s || f > 0 && s)) {
|
|
1095
1123
|
let e = l[l.length - 2];
|
|
1096
1124
|
e && typeof e[2] == "number" && (e[2] += p.height || 0);
|
|
1097
1125
|
let t = l[l.length - 1];
|
|
@@ -1101,10 +1129,10 @@ var Q = class extends X {
|
|
|
1101
1129
|
return l;
|
|
1102
1130
|
}
|
|
1103
1131
|
drawGraph() {
|
|
1104
|
-
|
|
1132
|
+
Ze.prototype.drawGraph.call(this), this.graph?.animate({ d: this.getCrispPath() });
|
|
1105
1133
|
}
|
|
1106
1134
|
setStackedPoints(e) {
|
|
1107
|
-
let t = this, n = t.options, r = e.waterfall?.stacks, i = n.threshold || 0, a = t.stackKey, o = t.getColumn("x"),
|
|
1135
|
+
let t = this, n = t.options, r = e.waterfall?.stacks, i = n.threshold || 0, a = t.stackKey, o = t.getColumn("x"), c = t.getColumn("y"), l = o.length, u = i, d = u, f, p = 0, m = 0, h = 0, g, _, v, y, b, x, S, C, w = (e, t, n, r) => {
|
|
1108
1136
|
if (f) {
|
|
1109
1137
|
if (!g) f.stackState[0] = e, g = f.stackState.length;
|
|
1110
1138
|
else for (; n < g; n++) f.stackState[n] += r;
|
|
@@ -1122,57 +1150,57 @@ var Q = class extends X {
|
|
|
1122
1150
|
stateIndex: 0,
|
|
1123
1151
|
stackState: [],
|
|
1124
1152
|
label: C && e[x] ? e[x].label : void 0
|
|
1125
|
-
}), f = e[x], b =
|
|
1153
|
+
}), f = e[x], b = c[t], b >= 0 ? f.posTotal += b : f.negTotal += b, y = n.data?.[t], _ = f.absolutePos = f.posTotal, v = f.absoluteNeg = f.negTotal, f.stackTotal = _ + v, g = f.stackState.length, s(y, !0) && y.isIntermediateSum ? (w(h, m, 0, h), h = m, m = i, u ^= d, d ^= u, u ^= d) : s(y, !0) && y.isSum ? (w(i, p, g, 0), u = i) : (w(u, b, 0, p), y && (p += b, m += b)), f.stateIndex++, f.threshold = u, u += f.stackTotal;
|
|
1126
1154
|
r.changed = !1, r.alreadyChanged ||= [], r.alreadyChanged.push(a);
|
|
1127
1155
|
}
|
|
1128
1156
|
}
|
|
1129
1157
|
getExtremes() {
|
|
1130
1158
|
let e = this.options.stacking, n = this.yAxis.waterfall?.stacks, r, i;
|
|
1131
1159
|
return e && n ? (r = this.stackedYNeg = [], i = this.stackedYPos = [], e === "overlap" ? t(n[this.stackKey], function(e) {
|
|
1132
|
-
r.push(
|
|
1160
|
+
r.push(c(e.stackState)), i.push(f(e.stackState));
|
|
1133
1161
|
}) : t(n[this.stackKey], function(e) {
|
|
1134
1162
|
r.push(e.negTotal + e.threshold), i.push(e.posTotal + e.threshold);
|
|
1135
1163
|
}), {
|
|
1136
|
-
dataMin:
|
|
1137
|
-
dataMax:
|
|
1164
|
+
dataMin: c(r),
|
|
1165
|
+
dataMax: f(i)
|
|
1138
1166
|
}) : {
|
|
1139
1167
|
dataMin: this.dataMin,
|
|
1140
1168
|
dataMax: this.dataMax
|
|
1141
1169
|
};
|
|
1142
1170
|
}
|
|
1143
1171
|
};
|
|
1144
|
-
Q.defaultOptions = n(X.defaultOptions,
|
|
1172
|
+
Q.defaultOptions = n(X.defaultOptions, Xe), Q.compose = Je.compose, h(Q.prototype, {
|
|
1145
1173
|
pointValKey: "y",
|
|
1146
1174
|
showLine: !0,
|
|
1147
|
-
pointClass:
|
|
1148
|
-
}),
|
|
1149
|
-
let e = this, { options: t, points: r, yAxis: i } = e,
|
|
1175
|
+
pointClass: Ye
|
|
1176
|
+
}), p(Q, "afterColumnTranslate", function() {
|
|
1177
|
+
let e = this, { options: t, points: r, yAxis: i } = e, s = t.minPointLength ?? 5, c = s / 2, l = t.threshold || 0, u = t.stacking, d = i.waterfall?.stacks[e.stackKey], f = e.getColumn("y", !0), p = l, m = l, g, _, v;
|
|
1150
1178
|
for (let t = 0; t < r.length; t++) {
|
|
1151
|
-
let
|
|
1179
|
+
let y = r[t], b = f[t], x = y.shapeArgs, S = h({
|
|
1152
1180
|
x: 0,
|
|
1153
1181
|
y: 0,
|
|
1154
1182
|
width: 0,
|
|
1155
1183
|
height: 0
|
|
1156
1184
|
}, x || {});
|
|
1157
|
-
|
|
1158
|
-
let C = [0, b], w =
|
|
1159
|
-
if (
|
|
1160
|
-
if (
|
|
1161
|
-
let n =
|
|
1162
|
-
|
|
1185
|
+
y.box = S;
|
|
1186
|
+
let C = [0, b], w = y.y || 0;
|
|
1187
|
+
if (u) {
|
|
1188
|
+
if (d) {
|
|
1189
|
+
let n = d[t];
|
|
1190
|
+
u === "overlap" ? (_ = n.stackState[n.stateIndex--], g = w >= 0 ? _ : _ - w, Z(n, "absolutePos") && delete n.absolutePos, Z(n, "absoluteNeg") && delete n.absoluteNeg) : (w >= 0 ? (_ = n.threshold + n.posTotal, n.posTotal -= w, g = _) : (_ = n.threshold + n.negTotal, n.negTotal -= w, g = _ - w), n.posTotal || o(n.absolutePos) && Z(n, "absolutePos") && (n.posTotal = n.absolutePos, delete n.absolutePos), n.negTotal || o(n.absoluteNeg) && Z(n, "absoluteNeg") && (n.negTotal = n.absoluteNeg, delete n.absoluteNeg)), y.isSum || (n.connectorThreshold = n.threshold + n.stackTotal), v = g - Math.abs(w), i.reversed && ([g, v] = [v, g]), y.below = g <= l, S.y = i.translate(g, !1, !0, !1, !0), S.height = i.translate(v, !1, !0, !1, !0) - S.y;
|
|
1163
1191
|
let r = i.waterfall?.dummyStackItem;
|
|
1164
|
-
r && (r.x = t, r.label =
|
|
1192
|
+
r && (r.x = t, r.label = d[t].label, r.setOffset(e.pointXOffset || 0, e.barW || 0, e.stackedYNeg[t], e.stackedYPos[t], void 0, this.xAxis));
|
|
1165
1193
|
}
|
|
1166
|
-
} else
|
|
1167
|
-
S.height < 0 && (S.y += S.height, S.height *= -1),
|
|
1168
|
-
let T =
|
|
1169
|
-
|
|
1170
|
-
let E =
|
|
1171
|
-
S.y =
|
|
1172
|
-
}
|
|
1173
|
-
}, { order: 2 }),
|
|
1194
|
+
} else g = Math.max(m, m + w) + C[0], S.y = i.translate(g, !1, !0, !1, !0), y.isSum ? (S.y = i.translate(C[1], !1, !0, !1, !0), S.height = Math.min(i.translate(C[0], !1, !0, !1, !0), i.len) - S.y, y.below = C[1] <= l) : y.isIntermediateSum ? (w >= 0 ? (g = C[1] + p, v = p) : (g = p, v = C[1] + p), i.reversed && ([g, v] = [v, g]), S.y = i.translate(g, !1, !0, !1, !0), S.height = Math.abs(S.y - Math.min(i.translate(v, !1, !0, !1, !0), i.len)), p += C[1], y.below = g <= l) : (S.height = b > 0 ? i.translate(m, !1, !0, !1, !0) - S.y : i.translate(m + b, !1, !0, !1, !0) - i.translate(m, !1, !0, !1, !0), m += b, y.below = m < l);
|
|
1195
|
+
S.height < 0 && (S.y += S.height, S.height *= -1), y.plotY = S.y, y.yBottom = S.y + S.height, S.height <= s && !y.isNull ? (S.height = s, S.y -= c, y.yBottom = S.y + S.height, y.plotY = S.y, y.minPointLengthOffset = w < 0 ? -c : c) : (y.isNull && (S.width = 0), y.minPointLengthOffset = 0);
|
|
1196
|
+
let T = y.plotY + (y.negative ? S.height : 0);
|
|
1197
|
+
y.below && (y.plotY += S.height), y.tooltipPos && (e.chart.inverted ? y.tooltipPos[0] = i.len - T : y.tooltipPos[1] = T), y.isInside = this.isPointInside(y);
|
|
1198
|
+
let E = a(y.yBottom, e.borderWidth);
|
|
1199
|
+
S.y = a(S.y, e.borderWidth), S.height = E - S.y, n(!0, y.shapeArgs, S);
|
|
1200
|
+
}
|
|
1201
|
+
}, { order: 2 }), T.registerSeriesType("waterfall", Q);
|
|
1174
1202
|
//#endregion
|
|
1175
1203
|
//#region src/highchartsMoreCustom.ts
|
|
1176
|
-
var $ =
|
|
1177
|
-
$.RadialAxis = Se,
|
|
1204
|
+
var $ = g;
|
|
1205
|
+
$.RadialAxis = Se, G.compose($.Chart, $.Pointer), Ge.compose($.Axis, $.Chart, $.Pointer, $.Series, $.Tick, $.Point, T.seriesTypes.areasplinerange, T.seriesTypes.column, T.seriesTypes.line, T.seriesTypes.spline), Q.compose($.Axis, $.Chart);
|
|
1178
1206
|
//#endregion
|