@arcgis/charts-components 5.2.0-next.149 → 5.2.0-next.150
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/cdn/NNQEFAQU.js +2 -0
- package/dist/cdn/{7TMJU2RX.js → OPVOVIKX.js} +1 -1
- package/dist/cdn/TUVE7ZQE.js +2 -0
- package/dist/cdn/{MMPVO6UX.js → XZ42EIPM.js} +1 -1
- package/dist/cdn/YINDSPLO.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +455 -455
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +55 -48
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +51 -45
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +35 -30
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +6 -6
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +4 -4
- package/dist/cdn/JX7NTVFL.js +0 -2
- package/dist/cdn/VCKFHB4U.js +0 -2
- package/dist/cdn/VSRAB3LY.js +0 -2
|
@@ -19,14 +19,14 @@ import { XYChart as ue, PieChart as Me, AxisFill as Km, AxisFillCircular as Qm,
|
|
|
19
19
|
import { Color as Go, percent as gt, LinePattern as Uc, RectPattern as jc, color as bn, DateFormatter as qc, NumberFormatter as Zc, Group as ag, MouseCursorStyle as qt, Label as Xo, DropShadowFilter as og, Sprite as ir, utils as Kc, Tooltip as Qc, Container as ng, RoundedRectangle as sg, Percent as Yo, Slice as rg, options as io, useTheme as lg, unuseTheme as cg, create as ar } from "@amcharts/amcharts4/core.js";
|
|
20
20
|
import vl from "@amcharts/amcharts4/themes/animated.js";
|
|
21
21
|
import { W as xe, a as y, b as ss, c as te, S as Jc, d as Ut, e as Ue, f as H, g as yn, h as ed, i as Ll, j as Ca, k as Fl, l as rs, m as Al, n as xa, o as dg } from "../../chunks/chart-object-literals.js";
|
|
22
|
-
import { C as _, f as td, e as po, i as no, a as Uo, b as id, m as ad, c as Sn, d as od, g as jt, h as nd, j as sd, k as or, s as nr, l as _e, n as rd, o as ld, p as jo, q as ug, r as Z, t as it, u as sa, v as vt, w as _i, x as V, y as Et, z as sr, A as ai, B as $e, D as ls, E as va, F as gi, G as hi, H as bt, I as
|
|
22
|
+
import { C as _, f as td, e as po, i as no, a as Uo, b as id, m as ad, c as Sn, d as od, g as jt, h as nd, j as sd, k as or, s as nr, l as _e, n as rd, o as ld, p as jo, q as ug, r as Z, t as it, u as sa, v as vt, w as _i, x as V, y as Et, z as sr, A as ai, B as $e, D as ls, E as va, F as gi, G as hi, H as bt, I as De, J as bo, K as Ea, L as Xe, M as Si, N as rr, O as Ae, P as oi, Q as ka, R as Cn, S as ni, T as lr, U as cs, V as J, W as St, X as cr, Y as Qt, Z as Ai, _ as ie, $ as Ce, a0 as fg, a1 as Qe, a2 as xn, a3 as nt, a4 as Vi, a5 as di, a6 as Ti, a7 as ge, a8 as Wi, a9 as dr, aa as za, ab as Mt, ac as cd, ad as ur, ae as fr, af as dd, ag as mr, ah as gr, ai as Gt, aj as yo, ak as so, al as hr, am as Ha, an as ud, ao as fd, ap as Ci, aq as md, ar as gd, as as vn, at as pr, au as Ln, av as br, aw as yr, ax as hd, ay as pd, az as bd, aA as Sr, aB as yd, aC as Tl, aD as Fn, aE as Sd, aF as Cr, aG as xr, aH as qo, aI as si, aJ as mg, aK as Cd, aL as xd, aM as ao, aN as An, aO as vd, aP as Ld, aQ as gg, aR as hg, aS as Zo, aT as pg, aU as bg, aV as Fd, aW as Ad, aX as yg, aY as Sg, aZ as Cg, a_ as Tn, a$ as xg, b0 as F, b1 as vg, b2 as Td, b3 as Lg, b4 as Fg, b5 as Ag, b6 as zt, b7 as Eo, b8 as Ie, b9 as kn, ba as Ki, bb as ro, bc as kd, bd as Id, be as Rd, bf as Tg, bg as kg, bh as Ig, bi as Rg, bj as wg, bk as ds, bl as Dg, bm as Og, bn as wd, bo as Mg, bp as $g, bq as Bg, br as Ng, bs as Pg, bt as Vg, bu as Wg, bv as Eg, bw as zg, bx as zo, by as Dd, bz as Ls, bA as kl, bB as Hg, bC as _g, bD as Gg, bE as Xg, bF as us, bG as Yg, bH as Oi, bI as Ug, bJ as jg, bK as qg, bL as Zg, bM as Kg, bN as Il, bO as Qg, bP as Jg, bQ as eh, bR as th, bS as ih, bT as ah, bU as Rl, bV as oh, bW as nh, bX as sh, bY as rh, bZ as lh, b_ as ch, b$ as dh, c0 as uh, c1 as fh } from "../../chunks/index.js";
|
|
23
23
|
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
24
24
|
import { R as Ye, a as tt, b as K, c as fs, d as In, e as Ko } from "../../chunks/rest-js-object-literals.js";
|
|
25
|
-
import { g as ta, r as vr, f as So, a as wl, p as Pt, b as Ia, c as Fs, d as mh, e as gh, h as hh, q as pi, i as Re, j as Rn, k as Lr, l as Fr, m as Ar, n as
|
|
25
|
+
import { g as ta, r as vr, f as So, a as wl, p as Pt, b as Ia, c as Fs, d as mh, e as gh, h as hh, q as pi, i as Re, j as Rn, k as Lr, l as Fr, m as Ar, n as Od, o as Ra, s as Md, t as wn, u as $d, v as Tr, w as Bd, x as ph, y as Nd, z as Co, A as bh, B as yh, C as Sh, D as Ch, E as wa, F as Dl, G as xh, H as vh, L as Lh, I as Ol } from "../../chunks/index2.js";
|
|
26
26
|
import { g as W, a as Fh } from "../../chunks/series-types.js";
|
|
27
27
|
import { isLight as Ah } from "@amcharts/amcharts4/.internal/core/utils/Colors.js";
|
|
28
28
|
import { Scrollbar as Ml } from "@amcharts/amcharts4/.internal/core/elements/Scrollbar.js";
|
|
29
|
-
import { color as lo, Series as
|
|
29
|
+
import { color as lo, Series as Da, SerialChart as co, percent as at, LinePattern as Pd, RectanglePattern as Th, p50 as ce, p0 as Oe, p100 as he, Graphics as Rt, DateFormatter as kh, NumberFormatter as Vd, Tooltip as Gi, Template as ra, Bullet as ki, RoundedRectangle as As, Slice as $l, time as Ih, Label as ht, Rectangle as Oa, DataItem as kr, Timezone as Rh, Container as Bi, Color as wh, HeatLegend as Qo, LinearGradient as Dh, Legend as Wd, Scrollbar as Ts, addLicense as Oh, registry as Mh, Root as $h } from "@amcharts/amcharts5";
|
|
30
30
|
import { PieSeries as Je, PieChart as Kt } from "@amcharts/amcharts5/percent.js";
|
|
31
31
|
import { RadarCursor as Ir, AxisRendererCircular as Jt, ClockHand as ks, RadarChart as Ei, AxisRendererRadial as Bh, RadarLineSeries as Rr } from "@amcharts/amcharts5/radar.js";
|
|
32
32
|
import { XYSeries as wr, StepLineSeries as la, LineSeries as se, ColumnSeries as ye, CategoryAxis as Ee, XYCursor as Ed, XYChart as pe, CandlestickSeries as Ii, ValueAxis as Se, DateAxis as Pe, AxisRendererX as dt, AxisLabel as Bl, AxisRendererY as xi, AxisBullet as Nh } from "@amcharts/amcharts5/xy.js";
|
|
@@ -78,7 +78,7 @@ function Fp(t, e) {
|
|
|
78
78
|
function Ap(t, e) {
|
|
79
79
|
ca(t, e);
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function O(t, e) {
|
|
82
82
|
return da(t, e);
|
|
83
83
|
}
|
|
84
84
|
function ae(t, e) {
|
|
@@ -161,7 +161,7 @@ function wp(t) {
|
|
|
161
161
|
const A = {
|
|
162
162
|
..._
|
|
163
163
|
};
|
|
164
|
-
function
|
|
164
|
+
function Dp(t) {
|
|
165
165
|
const { fill: e, rotation: i, isLinePattern: a, chartBackgroundColor: o } = t;
|
|
166
166
|
let n;
|
|
167
167
|
return a !== !1 ? (n = new Uc(), n.width = A.patternLineProperties.width ?? Number.NaN, n.height = A.patternLineProperties.height ?? Number.NaN, n.strokeWidth = A.patternLineProperties.strokeWidth ?? Number.NaN, n.stroke = e, n.rotation = i ?? Number.NaN) : (n = new jc(), n.rectWidth = A.patternRectProperties.rectWidth ?? Number.NaN, n.rectHeight = A.patternRectProperties.rectHeight ?? Number.NaN, n.width = A.patternRectProperties.width ?? Number.NaN, n.height = A.patternRectProperties.height ?? Number.NaN, n.fillOpacity = A.patternRectProperties.fillOpacity ?? Number.NaN, n.strokeWidth = A.patternRectProperties.strokeWidth ?? Number.NaN, n.fill = ia(o), n.stroke = e, n.rotation = i ?? Number.NaN), n;
|
|
@@ -176,7 +176,7 @@ function ql(t) {
|
|
|
176
176
|
}
|
|
177
177
|
return e;
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function Op(t) {
|
|
180
180
|
const { fill: e, style: i, chartBackgroundColor: a } = t;
|
|
181
181
|
let o, n, s = !0;
|
|
182
182
|
switch (i) {
|
|
@@ -206,7 +206,7 @@ function Dp(t) {
|
|
|
206
206
|
}
|
|
207
207
|
case tt.Solid:
|
|
208
208
|
}
|
|
209
|
-
return n !== void 0 && (o =
|
|
209
|
+
return n !== void 0 && (o = Dp({ fill: e, rotation: n, isLinePattern: s, chartBackgroundColor: a })), o;
|
|
210
210
|
}
|
|
211
211
|
function It(t, e) {
|
|
212
212
|
let i;
|
|
@@ -237,7 +237,7 @@ function Rs(t, e) {
|
|
|
237
237
|
}
|
|
238
238
|
return i;
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function Dr(t, e) {
|
|
241
241
|
let i = "middle";
|
|
242
242
|
switch (t ?? e) {
|
|
243
243
|
case "right":
|
|
@@ -346,7 +346,7 @@ function zi(t) {
|
|
|
346
346
|
i.maxWidth = o;
|
|
347
347
|
let s = !1;
|
|
348
348
|
if (n) {
|
|
349
|
-
const r =
|
|
349
|
+
const r = O(e.uid, "options")?.truncateLongTitles === !0, l = Be(i.uid, "renderedText"), c = Be(i.uid, "sourceText");
|
|
350
350
|
if (r) {
|
|
351
351
|
const u = Number(i.fontSize) || A.generalFontSize, d = Math.max(1, Math.floor(o / Math.max(u * 0.5, 1)));
|
|
352
352
|
s = i.wrap, i.wrap = !1;
|
|
@@ -415,13 +415,13 @@ function jd(t, e) {
|
|
|
415
415
|
}
|
|
416
416
|
function qd(t, e) {
|
|
417
417
|
let i = t;
|
|
418
|
-
const [a, o, n, s] = t?.color ?? e ?? A.color, r = [a, o, n, s];
|
|
419
|
-
return i == null ? i = { type: K.SLS, color:
|
|
418
|
+
const [a, o, n, s] = t?.color ?? e ?? A.color, r = [a, o, n, s], [l, c, u, d] = e ?? A.color, f = [l, c, u, d], g = i?.color?.[3];
|
|
419
|
+
return i == null || i.width === 0 || g === 0 ? i = { type: K.SLS, color: f } : i.color === void 0 && (i.color = r), jd(i, !1);
|
|
420
420
|
}
|
|
421
421
|
function Wp(t, e) {
|
|
422
422
|
const { color: i, outline: a, style: o } = t, n = It(i);
|
|
423
423
|
return {
|
|
424
|
-
pattern:
|
|
424
|
+
pattern: Op({ fill: n, style: o, chartBackgroundColor: e }),
|
|
425
425
|
fill: n,
|
|
426
426
|
outline: qd(a, i)
|
|
427
427
|
};
|
|
@@ -437,7 +437,7 @@ function Ep(t) {
|
|
|
437
437
|
angle: c
|
|
438
438
|
};
|
|
439
439
|
}
|
|
440
|
-
function
|
|
440
|
+
function Or(t) {
|
|
441
441
|
const { symbol: e, defaultToColorFromRamp: i, colorRampIndex: a, isChartFillSymbol: o = !1, chartBackgroundColor: n } = t;
|
|
442
442
|
let s;
|
|
443
443
|
if (i === !0) {
|
|
@@ -450,7 +450,7 @@ function Dr(t) {
|
|
|
450
450
|
return id(e) ? s = jd(e, !0) : Uo(e) ? (e.style ??= A.lineSeries.marker.markerStyle, e.size ??= A.lineSeries.marker.markerBigSize, s = Ep(e)) : no(e) && (s = Wp(e, n)), s;
|
|
451
451
|
}
|
|
452
452
|
function tn(t, e, i) {
|
|
453
|
-
const a =
|
|
453
|
+
const a = Dr(t.horizontalAlignment, i?.horizontalCenter), o = Rs(t.horizontalAlignment, i?.align), n = Ud(t.verticalAlignment, i?.verticalCenter), s = $p(t.verticalAlignment, i?.valign);
|
|
454
454
|
return {
|
|
455
455
|
fill: It(t.color, A.color),
|
|
456
456
|
fontFamily: t.font?.family ?? "Arial, Helvetica, sans-serif",
|
|
@@ -484,7 +484,7 @@ function La(t, e) {
|
|
|
484
484
|
function an(t) {
|
|
485
485
|
const { element: e, markerSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
|
|
486
486
|
let s;
|
|
487
|
-
return i !== void 0 ? (s =
|
|
487
|
+
return i !== void 0 ? (s = Or({
|
|
488
488
|
symbol: i,
|
|
489
489
|
defaultToColorFromRamp: o,
|
|
490
490
|
colorRampIndex: n
|
|
@@ -493,7 +493,7 @@ function an(t) {
|
|
|
493
493
|
function Ji(t) {
|
|
494
494
|
const { element: e, lineSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
|
|
495
495
|
let s;
|
|
496
|
-
return i !== void 0 ? (s =
|
|
496
|
+
return i !== void 0 ? (s = Or({
|
|
497
497
|
symbol: i,
|
|
498
498
|
defaultToColorFromRamp: o,
|
|
499
499
|
colorRampIndex: n
|
|
@@ -507,7 +507,7 @@ function mo(t) {
|
|
|
507
507
|
const c = Rp(e);
|
|
508
508
|
c !== void 0 && (l = wp(c));
|
|
509
509
|
}
|
|
510
|
-
r =
|
|
510
|
+
r = Or({
|
|
511
511
|
symbol: i,
|
|
512
512
|
defaultToColorFromRamp: o,
|
|
513
513
|
colorRampIndex: n,
|
|
@@ -645,10 +645,10 @@ function Kl(t, e) {
|
|
|
645
645
|
isPieFromFields: n
|
|
646
646
|
});
|
|
647
647
|
p[_.pieChart.technicalFieldSliceId] = C;
|
|
648
|
-
const x =
|
|
648
|
+
const x = Ds(s.slices, C);
|
|
649
649
|
x?.fillSymbol?.color !== void 0 && b.add(ws(x.fillSymbol.color));
|
|
650
650
|
}), e?.forEach((p, S) => {
|
|
651
|
-
const C = p[_.pieChart.technicalFieldSliceId], x =
|
|
651
|
+
const C = p[_.pieChart.technicalFieldSliceId], x = Ds(s.slices, C), L = Ri(p), v = _p({
|
|
652
652
|
dataContext: p,
|
|
653
653
|
seriesConfig: s,
|
|
654
654
|
existingSlicesColors: b,
|
|
@@ -890,7 +890,7 @@ function Kp(t) {
|
|
|
890
890
|
});
|
|
891
891
|
}
|
|
892
892
|
}
|
|
893
|
-
function
|
|
893
|
+
function Ds(t, e) {
|
|
894
894
|
let i;
|
|
895
895
|
return t !== void 0 && e !== void 0 && (i = t.find((a) => a.sliceId === e)), i;
|
|
896
896
|
}
|
|
@@ -1020,37 +1020,37 @@ function ib(t) {
|
|
|
1020
1020
|
function ab(t) {
|
|
1021
1021
|
const { data: e, newChartConfig: i, pieSlicesSymbols: a, fieldList: o } = t, n = i.series[0], s = Z(i.series) === V.PieFromFields ? ai : n.x;
|
|
1022
1022
|
e.forEach((r) => {
|
|
1023
|
-
const l = Ri(r), c = r[_.pieChart.technicalFieldSliceId], u = l ? n.sliceGrouping?.label :
|
|
1023
|
+
const l = Ri(r), c = r[_.pieChart.technicalFieldSliceId], u = l ? n.sliceGrouping?.label : Ds(a?.slices, c)?.label;
|
|
1024
1024
|
ib({ dataContext: r, x: s, newLabel: u });
|
|
1025
1025
|
}), Kp({ chartConfig: i, chartData: e, fieldList: o });
|
|
1026
1026
|
}
|
|
1027
|
-
function
|
|
1027
|
+
function Dn(t, e) {
|
|
1028
1028
|
const i = e.errors[t];
|
|
1029
1029
|
throw new gi(e.modalHeaders.error, i ?? e.errors.simpleError);
|
|
1030
1030
|
}
|
|
1031
1031
|
function ob(t) {
|
|
1032
|
-
return
|
|
1032
|
+
return De(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || De(t[2].valueFormat));
|
|
1033
1033
|
}
|
|
1034
1034
|
function nb(t) {
|
|
1035
|
-
return
|
|
1035
|
+
return De(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || De(t[2].valueFormat));
|
|
1036
1036
|
}
|
|
1037
1037
|
function sb(t) {
|
|
1038
|
-
return (hi(t?.[0]?.valueFormat) || bt(t?.[0]?.valueFormat)) &&
|
|
1038
|
+
return (hi(t?.[0]?.valueFormat) || bt(t?.[0]?.valueFormat)) && De(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || De(t[2].valueFormat));
|
|
1039
1039
|
}
|
|
1040
1040
|
function rb(t) {
|
|
1041
1041
|
return hi(t?.[0]?.valueFormat) && hi(t?.[1]?.valueFormat) || bt(t?.[0]?.valueFormat) && hi(t?.[1]?.valueFormat) || bt(t?.[0]?.valueFormat) && bt(t?.[1]?.valueFormat);
|
|
1042
1042
|
}
|
|
1043
1043
|
function lb(t) {
|
|
1044
|
-
return (hi(t?.[0]?.valueFormat) || bt(t?.[0]?.valueFormat)) &&
|
|
1044
|
+
return (hi(t?.[0]?.valueFormat) || bt(t?.[0]?.valueFormat)) && De(t?.[1]?.valueFormat);
|
|
1045
1045
|
}
|
|
1046
1046
|
function cb(t) {
|
|
1047
|
-
return
|
|
1047
|
+
return De(t?.[0]?.valueFormat) && De(t?.[1]?.valueFormat);
|
|
1048
1048
|
}
|
|
1049
1049
|
function db(t) {
|
|
1050
|
-
return
|
|
1050
|
+
return De(t?.[0]?.valueFormat) && De(t?.[1]?.valueFormat);
|
|
1051
1051
|
}
|
|
1052
1052
|
function ub(t) {
|
|
1053
|
-
return
|
|
1053
|
+
return De(t?.[0]?.valueFormat);
|
|
1054
1054
|
}
|
|
1055
1055
|
function Xi(t) {
|
|
1056
1056
|
const { chartType: e, axesConfig: i, errorStrings: a } = t;
|
|
@@ -1081,7 +1081,7 @@ function Xi(t) {
|
|
|
1081
1081
|
o = rb, n = "invalidValueFormatForHeatChart";
|
|
1082
1082
|
break;
|
|
1083
1083
|
}
|
|
1084
|
-
o !== void 0 && n !== void 0 && (o(i) ||
|
|
1084
|
+
o !== void 0 && n !== void 0 && (o(i) || Dn(n, a));
|
|
1085
1085
|
}
|
|
1086
1086
|
const de = {
|
|
1087
1087
|
SelectXY: "selectXY",
|
|
@@ -1112,12 +1112,12 @@ function ri(t) {
|
|
|
1112
1112
|
}
|
|
1113
1113
|
return o;
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1115
|
+
function Os(t) {
|
|
1116
1116
|
const { axis: e, valueFormat: i, chartType: a } = t, o = Ea({
|
|
1117
1117
|
isXAxis: !0,
|
|
1118
1118
|
chartType: a,
|
|
1119
1119
|
valueFormat: i
|
|
1120
|
-
}), n = bt(i) && e instanceof Ve, s =
|
|
1120
|
+
}), n = bt(i) && e instanceof Ve, s = De(i) && e instanceof Te && !(e instanceof Ve), r = o && e instanceof lt;
|
|
1121
1121
|
return !n && !s && !r;
|
|
1122
1122
|
}
|
|
1123
1123
|
function Jd(t, e) {
|
|
@@ -1137,7 +1137,7 @@ function eu(t) {
|
|
|
1137
1137
|
let o = i;
|
|
1138
1138
|
const n = ot(e.uid, "categoryFormatter"), s = ot(e.uid, "numberFormatter");
|
|
1139
1139
|
if ((s !== void 0 || n !== void 0) && a instanceof Ta && a.dataContext) {
|
|
1140
|
-
const r =
|
|
1140
|
+
const r = O(e.chart.uid, "config"), l = Z(r?.series), c = O(e.chart.uid, "rendererFieldNames");
|
|
1141
1141
|
let u = oi({
|
|
1142
1142
|
value: Cn(l, r?.series?.[0]),
|
|
1143
1143
|
dataContext: a.dataContext,
|
|
@@ -1154,7 +1154,7 @@ function eu(t) {
|
|
|
1154
1154
|
V.BoxPlotC6MultiFieldsAndSplitBy,
|
|
1155
1155
|
V.BarAndLineFromFields
|
|
1156
1156
|
].includes(l) && typeof u == "string") {
|
|
1157
|
-
const g =
|
|
1157
|
+
const g = O(e.chart.uid, "fieldList");
|
|
1158
1158
|
u = $e(g, u);
|
|
1159
1159
|
}
|
|
1160
1160
|
let f = ni(a.dataContext);
|
|
@@ -1264,7 +1264,7 @@ function Sb(t, e, i, a) {
|
|
|
1264
1264
|
};
|
|
1265
1265
|
}
|
|
1266
1266
|
function Jl(t) {
|
|
1267
|
-
const { axis: e, formatOptions: i, overridePercentMultiplication: a, valueAxisFormatter: o } = t, n = Si(i), s =
|
|
1267
|
+
const { axis: e, formatOptions: i, overridePercentMultiplication: a, valueAxisFormatter: o } = t, n = Si(i), s = O(e.chart.uid, "formatLocale");
|
|
1268
1268
|
Ke(e.uid, {
|
|
1269
1269
|
numberFormatter: o ?? Sb(
|
|
1270
1270
|
n,
|
|
@@ -1279,7 +1279,7 @@ function Cb(t) {
|
|
|
1279
1279
|
Ke(e.uid, { categoryFormatter: o });
|
|
1280
1280
|
}
|
|
1281
1281
|
function xb(t) {
|
|
1282
|
-
const { axis: e, labelsTextSymbol: i, axisValueFormatter: a } = t, n =
|
|
1282
|
+
const { axis: e, labelsTextSymbol: i, axisValueFormatter: a } = t, n = O(e.chart.uid, "config")?.horizontalAxisLabelsBehavior;
|
|
1283
1283
|
if (Ke(e.uid, { axisLabelsBehavior: n }), a !== void 0)
|
|
1284
1284
|
Ke(e.uid, { fontStyleCallback: void 0 });
|
|
1285
1285
|
else if (ot(e.uid, "fontStyleCallback") === void 0) {
|
|
@@ -1315,7 +1315,7 @@ function vb(t) {
|
|
|
1315
1315
|
valueFormat: a
|
|
1316
1316
|
});
|
|
1317
1317
|
let g = !1;
|
|
1318
|
-
!(e instanceof Ve) &&
|
|
1318
|
+
!(e instanceof Ve) && De(a) ? Jl({
|
|
1319
1319
|
axis: e,
|
|
1320
1320
|
formatOptions: a,
|
|
1321
1321
|
overridePercentMultiplication: n,
|
|
@@ -1331,12 +1331,12 @@ function vb(t) {
|
|
|
1331
1331
|
axis: e,
|
|
1332
1332
|
formatOptions: a,
|
|
1333
1333
|
categoryAxisFormatter: r
|
|
1334
|
-
}), Ke(e.uid, { numberFormatter: void 0 })) :
|
|
1334
|
+
}), Ke(e.uid, { numberFormatter: void 0 })) : De(a) ? (Jl({
|
|
1335
1335
|
axis: e,
|
|
1336
1336
|
formatOptions: a,
|
|
1337
1337
|
overridePercentMultiplication: n,
|
|
1338
1338
|
valueAxisFormatter: r
|
|
1339
|
-
}), Ke(e.uid, { categoryFormatter: void 0 })) : g = !0 : g = !0, g &&
|
|
1339
|
+
}), Ke(e.uid, { categoryFormatter: void 0 })) : g = !0 : g = !0, g && Dn("mismatchAxisAndValueFormat", d), xb({ axis: e, labelsTextSymbol: o, axisValueFormatter: r }), e.invalidateLabels();
|
|
1340
1340
|
}
|
|
1341
1341
|
function tu(t) {
|
|
1342
1342
|
let e = t;
|
|
@@ -1431,10 +1431,10 @@ function Ab(t) {
|
|
|
1431
1431
|
}
|
|
1432
1432
|
}
|
|
1433
1433
|
function Tb(t) {
|
|
1434
|
-
const { chart: e, actionMode: i, cursorRange: a } = t, o =
|
|
1434
|
+
const { chart: e, actionMode: i, cursorRange: a } = t, o = O(e.uid, "isRotated"), n = O(e.uid, "config"), s = St(n), r = W(n?.series), l = r === y.LineSeries && De(n?.axes?.[0]?.valueFormat), c = r === y.LineSeries && hi(n?.axes?.[0]?.valueFormat), u = r === y.LineSeries && bt(n?.axes?.[0]?.valueFormat);
|
|
1435
1435
|
let d, f = !1;
|
|
1436
|
-
const g = i ??
|
|
1437
|
-
if (
|
|
1436
|
+
const g = i ?? O(e.uid, "actionMode") ?? A.actionMode;
|
|
1437
|
+
if (O(e.uid, "filterBySelection") === !0)
|
|
1438
1438
|
d = de.None, f = !1;
|
|
1439
1439
|
else if (a !== void 0)
|
|
1440
1440
|
d = au({ actionMode: g, cursorRange: a, isRotated: o });
|
|
@@ -1465,13 +1465,13 @@ function ru(t) {
|
|
|
1465
1465
|
return t instanceof bi ? e = t.dataFields?.categoryY ?? t.dataFields?.dateY ?? t.dataFields?.valueY ?? "" : t instanceof Wt && (e = t.dataFields?.value ?? ""), e;
|
|
1466
1466
|
}
|
|
1467
1467
|
function lu(t) {
|
|
1468
|
-
return
|
|
1468
|
+
return O(t.chart.uid, "isRotated") === !0 ? ru(t) : su(t);
|
|
1469
1469
|
}
|
|
1470
1470
|
function Yi(t) {
|
|
1471
|
-
return
|
|
1471
|
+
return O(t.chart.uid, "isRotated") === !0 ? su(t) : ru(t);
|
|
1472
1472
|
}
|
|
1473
|
-
function
|
|
1474
|
-
const i =
|
|
1473
|
+
function On(t, e = 0) {
|
|
1474
|
+
const i = O(t.chart.uid, "config");
|
|
1475
1475
|
return W(i?.series, e);
|
|
1476
1476
|
}
|
|
1477
1477
|
const $i = {
|
|
@@ -1502,14 +1502,14 @@ function wb(t) {
|
|
|
1502
1502
|
const r = n in o;
|
|
1503
1503
|
return s !== !1 && r;
|
|
1504
1504
|
}
|
|
1505
|
-
function
|
|
1505
|
+
function Db(t) {
|
|
1506
1506
|
const { selectedMin: e, selectedMax: i, elementMin: a, oneSelectedItem: o, elementMax: n, iqrField: s } = t;
|
|
1507
1507
|
let r;
|
|
1508
1508
|
typeof a == "number" && typeof n == "number" && typeof e == "number" && typeof i == "number" && (r = !(a >= i || n <= e));
|
|
1509
1509
|
const l = s in o;
|
|
1510
1510
|
return r !== !1 && l;
|
|
1511
1511
|
}
|
|
1512
|
-
function
|
|
1512
|
+
function Ob(t) {
|
|
1513
1513
|
const { oneSelectedItem: e, dataContext: i, xAxisField: a } = t, o = i[_.originalXValue] ?? i[_.boxPlot.boxPlotCategory] ?? i[a], n = e[_.originalXValue] ?? e[_.boxPlot.boxPlotCategory] ?? e[a];
|
|
1514
1514
|
return o === n;
|
|
1515
1515
|
}
|
|
@@ -1584,8 +1584,8 @@ function $b(t) {
|
|
|
1584
1584
|
selectedMaxFieldWithOutliers: C,
|
|
1585
1585
|
selectedMinFieldWithOutliers: x,
|
|
1586
1586
|
iqrField: L
|
|
1587
|
-
} = Mb({ chartSubType: s, yAxisField: n, splitBy: o, showOutliers: r }), v = l[g], T = d[g], k = l[b], I = l[h], R = d[S] ?? d[x],
|
|
1588
|
-
let $ =
|
|
1587
|
+
} = Mb({ chartSubType: s, yAxisField: n, splitBy: o, showOutliers: r }), v = l[g], T = d[g], k = l[b], I = l[h], R = d[S] ?? d[x], D = d[p] ?? d[C];
|
|
1588
|
+
let $ = Ob({ oneSelectedItem: d, dataContext: l, xAxisField: a });
|
|
1589
1589
|
if ($)
|
|
1590
1590
|
switch (kb(d, v)) {
|
|
1591
1591
|
case $i.OutlierToOutlier:
|
|
@@ -1597,16 +1597,16 @@ function $b(t) {
|
|
|
1597
1597
|
case $i.BoxToOutlier:
|
|
1598
1598
|
$ = wb({
|
|
1599
1599
|
selectedMin: R,
|
|
1600
|
-
selectedMax:
|
|
1600
|
+
selectedMax: D,
|
|
1601
1601
|
elementOutlierValue: v,
|
|
1602
1602
|
oneSelectedItem: d,
|
|
1603
1603
|
iqrField: L
|
|
1604
1604
|
});
|
|
1605
1605
|
break;
|
|
1606
1606
|
case $i.BoxToBox:
|
|
1607
|
-
$ =
|
|
1607
|
+
$ = Db({
|
|
1608
1608
|
selectedMin: R,
|
|
1609
|
-
selectedMax:
|
|
1609
|
+
selectedMax: D,
|
|
1610
1610
|
elementMin: k,
|
|
1611
1611
|
oneSelectedItem: d,
|
|
1612
1612
|
elementMax: I,
|
|
@@ -1694,8 +1694,8 @@ function Mn(t) {
|
|
|
1694
1694
|
else if (x !== void 0 && x in S && x in p)
|
|
1695
1695
|
C = S[x] === p[x];
|
|
1696
1696
|
else if (_.dateBinningRange in p && typeof S[n] == "number") {
|
|
1697
|
-
const L = S[n], v = S[_.dateBinningRange], T = Array.isArray(v) && Number.isFinite(v[0]) && Number.isFinite(v[1]), [k, I] = T ? v : [0, 0], [R,
|
|
1698
|
-
C = (T ? k <
|
|
1697
|
+
const L = S[n], v = S[_.dateBinningRange], T = Array.isArray(v) && Number.isFinite(v[0]) && Number.isFinite(v[1]), [k, I] = T ? v : [0, 0], [R, D] = p[_.dateBinningRange], $ = u === ss.Start || p[_.firstTemporalBin] === !0 ? L >= R : L > R, M = u === ss.End || p[_.lastTemporalBin] === !0 ? L <= D : L < D;
|
|
1698
|
+
C = (T ? k < D && R < I : $ && M) && s in S && Number.isFinite(S[s]);
|
|
1699
1699
|
} else {
|
|
1700
1700
|
const L = (k) => {
|
|
1701
1701
|
let I = k[_.originalXValue];
|
|
@@ -1725,11 +1725,11 @@ function Mn(t) {
|
|
|
1725
1725
|
const { dataContextXMinField: S, dataContextXMaxField: C, dataContextYMinField: x, dataContextYMaxField: L } = _.scatterplotAggregationFields, { [S]: v, [C]: T } = p, k = n !== s ? p[x] : v, I = n !== s ? p[L] : T, R = ($) => {
|
|
1726
1726
|
const M = $[n] ?? Number.NaN, B = v ?? Number.NaN, P = T ?? Number.NaN;
|
|
1727
1727
|
return v === T ? M === B : (M ?? Number.NaN) >= B && (M ?? Number.NaN) < P;
|
|
1728
|
-
},
|
|
1728
|
+
}, D = ($) => {
|
|
1729
1729
|
const M = $[s] ?? Number.NaN, B = k ?? Number.NaN, P = I ?? Number.NaN;
|
|
1730
1730
|
return k === I ? M === B : M >= B && M < P;
|
|
1731
1731
|
};
|
|
1732
|
-
f = ($) => R($) &&
|
|
1732
|
+
f = ($) => R($) && D($);
|
|
1733
1733
|
}
|
|
1734
1734
|
}
|
|
1735
1735
|
break;
|
|
@@ -1826,7 +1826,7 @@ function go(t) {
|
|
|
1826
1826
|
function wt(t) {
|
|
1827
1827
|
const { chart: e, config: i } = t;
|
|
1828
1828
|
let a = i;
|
|
1829
|
-
return i === void 0 && e !== void 0 && (a =
|
|
1829
|
+
return i === void 0 && e !== void 0 && (a = O(e.uid, "config")), Qe(a);
|
|
1830
1830
|
}
|
|
1831
1831
|
function Bb(t) {
|
|
1832
1832
|
t instanceof Ks && t.series.each((e) => {
|
|
@@ -1851,7 +1851,7 @@ function No(t) {
|
|
|
1851
1851
|
return typeof t == "number" ? t : t.value;
|
|
1852
1852
|
}
|
|
1853
1853
|
function $n(t, e) {
|
|
1854
|
-
e !== void 0 && (e.marginBottom !== void 0 && (t.marginBottom = e.marginBottom), e.marginTop !== void 0 && (t.marginTop = e.marginTop), e.marginRight !== void 0 && (t.marginRight = e.marginRight), e.marginLeft !== void 0 && (t.marginLeft = e.marginLeft), e.verticalCenter !== void 0 && (t.verticalCenter = Ud(e.verticalCenter)), e.horizontalCenter !== void 0 && (t.horizontalCenter =
|
|
1854
|
+
e !== void 0 && (e.marginBottom !== void 0 && (t.marginBottom = e.marginBottom), e.marginTop !== void 0 && (t.marginTop = e.marginTop), e.marginRight !== void 0 && (t.marginRight = e.marginRight), e.marginLeft !== void 0 && (t.marginLeft = e.marginLeft), e.verticalCenter !== void 0 && (t.verticalCenter = Ud(e.verticalCenter)), e.horizontalCenter !== void 0 && (t.horizontalCenter = Dr(e.horizontalCenter)), e.strokeWidth !== void 0 && (t.strokeWidth = e.strokeWidth), e.wrap !== void 0 && (t.wrap = e.wrap), e.truncate !== void 0 && (t.truncate = e.truncate), e.maxWidth !== void 0 && (t.maxWidth = e.maxWidth), e.applyOnClones !== void 0 && (t.applyOnClones = e.applyOnClones, t.background.applyOnClones = e.applyOnClones));
|
|
1855
1855
|
}
|
|
1856
1856
|
function li(t, e) {
|
|
1857
1857
|
const i = e?.createChild(Xo) ?? new Xo();
|
|
@@ -1886,7 +1886,7 @@ function ec(t) {
|
|
|
1886
1886
|
} else
|
|
1887
1887
|
e[a] = i;
|
|
1888
1888
|
}
|
|
1889
|
-
function
|
|
1889
|
+
function Dt(t) {
|
|
1890
1890
|
const { label: e, labelConfig: i, defaults: a, skipSettingText: o } = t;
|
|
1891
1891
|
if (i !== void 0) {
|
|
1892
1892
|
const n = tn(i.content, e.rtl, a);
|
|
@@ -1906,11 +1906,11 @@ function uu(t, e) {
|
|
|
1906
1906
|
e !== void 0 && (t === y.BarSeries && e.adapter.add("dx", (i, a) => {
|
|
1907
1907
|
let o = i ?? 0;
|
|
1908
1908
|
const n = a.dataItem, { chart: s } = n?.component ?? {};
|
|
1909
|
-
return (s !== void 0 ?
|
|
1909
|
+
return (s !== void 0 ? O(s.uid, "isRotated") : !1) === !0 && (n.valueX ?? n.valueY) < 0 && (o -= a.measuredWidth + A.dataLabelNegative.paddingRight), o;
|
|
1910
1910
|
}), (t === y.BarSeries || t === y.LineSeries) && e.adapter.add("dy", (i, a) => {
|
|
1911
1911
|
let o = i ?? 0;
|
|
1912
1912
|
const n = a.dataItem, { chart: s } = n?.component ?? {};
|
|
1913
|
-
return (s !== void 0 ?
|
|
1913
|
+
return (s !== void 0 ? O(s.uid, "isRotated") : !1) !== !0 && (n.valueX ?? n.valueY) < 0 && (o += a.measuredHeight + A.dataLabelNegative.paddingTop), o;
|
|
1914
1914
|
}));
|
|
1915
1915
|
}
|
|
1916
1916
|
function $s(t) {
|
|
@@ -1938,7 +1938,7 @@ function Ns(t, e) {
|
|
|
1938
1938
|
e instanceof ct ? "barSeriesDataLabelFormatter" : "lineSeriesDataLabelFormatter"
|
|
1939
1939
|
);
|
|
1940
1940
|
if (s !== void 0) {
|
|
1941
|
-
const r =
|
|
1941
|
+
const r = O(e.chart.uid, "isRotated"), l = O(e.chart.uid, "config"), c = nt(l), u = r === !0 ? n.valueX : n.valueY, d = r === !0 ? n.values?.valueX?.totalPercent : n.values?.valueY?.totalPercent, f = r === !0 ? (n.component?.xAxis).min : (n.component?.yAxis).min, g = c === te.Stacked100 ? d : u;
|
|
1942
1942
|
o = Wb({
|
|
1943
1943
|
dataValue: g,
|
|
1944
1944
|
series: e,
|
|
@@ -1987,7 +1987,7 @@ function gu(t) {
|
|
|
1987
1987
|
let d = u;
|
|
1988
1988
|
const f = s?.type === y.NumberAxisFormat ? s.intlOptions : void 0, g = n?.content ?? { type: K.TS };
|
|
1989
1989
|
if (u === void 0 && c !== void 0 && f !== void 0) {
|
|
1990
|
-
const b =
|
|
1990
|
+
const b = O(e.chart.uid, "formatLocale"), p = ri({
|
|
1991
1991
|
type: y.NumberAxisFormat,
|
|
1992
1992
|
iLocale: e.chart.language.locale,
|
|
1993
1993
|
formatLocale: b
|
|
@@ -2013,7 +2013,7 @@ function gu(t) {
|
|
|
2013
2013
|
}
|
|
2014
2014
|
h !== void 0 && Xt(e.uid, {
|
|
2015
2015
|
[h]: d
|
|
2016
|
-
}), n !== void 0 && (n.content.text = l === !0 ? "{valueX}" : "{valueY}", n.visible = n.visible !== !1),
|
|
2016
|
+
}), n !== void 0 && (n.content.text = l === !0 ? "{valueX}" : "{valueY}", n.visible = n.visible !== !1), Dt({
|
|
2017
2017
|
label: a,
|
|
2018
2018
|
labelConfig: n,
|
|
2019
2019
|
defaults: o ?? A.dataLabel
|
|
@@ -2022,8 +2022,8 @@ function gu(t) {
|
|
|
2022
2022
|
}
|
|
2023
2023
|
function Bn(t, e) {
|
|
2024
2024
|
let i = e;
|
|
2025
|
-
i === void 0 && (i =
|
|
2026
|
-
const a =
|
|
2025
|
+
i === void 0 && (i = O(t.uid, "config"));
|
|
2026
|
+
const a = O(t.uid, "colorMatchApplied") ?? !1;
|
|
2027
2027
|
return (i?.colorMatch ?? !1) && a;
|
|
2028
2028
|
}
|
|
2029
2029
|
function hu(t, e) {
|
|
@@ -2121,7 +2121,7 @@ function _b(t, e) {
|
|
|
2121
2121
|
}
|
|
2122
2122
|
function tc() {
|
|
2123
2123
|
return (t) => {
|
|
2124
|
-
const e =
|
|
2124
|
+
const e = O(t.chart.uid, "config");
|
|
2125
2125
|
let i = !1;
|
|
2126
2126
|
if (e !== void 0 && t instanceof bi) {
|
|
2127
2127
|
const a = _b(t.chart, e);
|
|
@@ -2234,7 +2234,7 @@ function fa(t) {
|
|
|
2234
2234
|
}) : t instanceof Wt && (t.slices.template.properties.role = e, t.slices.template.hoverOnFocus = !0, t.itemReaderText = "{category} {value.formatNumber('#.#')} {value.percent.formatNumber('#.#')}%");
|
|
2235
2235
|
}
|
|
2236
2236
|
function Yb(t) {
|
|
2237
|
-
const e =
|
|
2237
|
+
const e = O(t.uid, "config");
|
|
2238
2238
|
t.series.each((i) => {
|
|
2239
2239
|
const a = e?.series?.find((o) => o.id === i.id);
|
|
2240
2240
|
a !== void 0 && a.visible !== !1 && !i.visible && le(i);
|
|
@@ -2278,7 +2278,7 @@ function Ht(t) {
|
|
|
2278
2278
|
function Pn(t, e) {
|
|
2279
2279
|
let i = !1;
|
|
2280
2280
|
if (e instanceof ue || e instanceof Me) {
|
|
2281
|
-
const a =
|
|
2281
|
+
const a = O(e.uid, "actionMode");
|
|
2282
2282
|
a !== void 0 && (i = a === J.MultiSelection || a === J.MultiSelectionWithCtrlKey && (t?.event?.ctrlKey || t?.event?.metaKey));
|
|
2283
2283
|
}
|
|
2284
2284
|
return i;
|
|
@@ -2292,7 +2292,7 @@ function yu(t) {
|
|
|
2292
2292
|
), o = t.yAxes.values.some(
|
|
2293
2293
|
(l) => l.renderer.labels.template.events.has(N.Hit) && l.renderer.isHover
|
|
2294
2294
|
), n = a || o;
|
|
2295
|
-
const r =
|
|
2295
|
+
const r = O(t.uid, "config");
|
|
2296
2296
|
St(r) && (s = t.series.values.find((c) => c instanceof ze)?.isHover ?? !1);
|
|
2297
2297
|
}
|
|
2298
2298
|
return !e && !i && !n && !s;
|
|
@@ -2303,7 +2303,7 @@ function Vr(t, e) {
|
|
|
2303
2303
|
const o = !i.isActive;
|
|
2304
2304
|
if (!(i.dataItem instanceof na)) {
|
|
2305
2305
|
i.isActive = !i.isActive;
|
|
2306
|
-
const s =
|
|
2306
|
+
const s = O(e.uid, "filterBySelection") !== !0 && o;
|
|
2307
2307
|
Ht({ element: i, selected: s }), a = o;
|
|
2308
2308
|
}
|
|
2309
2309
|
return a;
|
|
@@ -2311,9 +2311,9 @@ function Vr(t, e) {
|
|
|
2311
2311
|
}
|
|
2312
2312
|
function ic(t, e) {
|
|
2313
2313
|
let i = [];
|
|
2314
|
-
const { columns: a, chart: o } = t, n =
|
|
2314
|
+
const { columns: a, chart: o } = t, n = O(o.uid, "config");
|
|
2315
2315
|
if (n && a !== void 0 && t.visible) {
|
|
2316
|
-
const s = n?.series[0].x, r = t?.dataFields?.customValue ?? "", l =
|
|
2316
|
+
const s = n?.series[0].x, r = t?.dataFields?.customValue ?? "", l = On(t, e), c = aa(t, n), u = l === y.BoxPlotSeries ? c?.y : Yi(t), d = {
|
|
2317
2317
|
element: {},
|
|
2318
2318
|
yAxisField: u,
|
|
2319
2319
|
xAxisField: s,
|
|
@@ -2337,7 +2337,7 @@ function ac(t, e) {
|
|
|
2337
2337
|
if (t.visible) {
|
|
2338
2338
|
const a = We(t)?.clones;
|
|
2339
2339
|
if (a !== void 0) {
|
|
2340
|
-
const { chart: o } = t, n =
|
|
2340
|
+
const { chart: o } = t, n = O(o.uid, "config");
|
|
2341
2341
|
if (n) {
|
|
2342
2342
|
const s = n.series[0].x ?? "", r = Yi(t), l = t?.dataFields?.customValue ?? "", c = {
|
|
2343
2343
|
element: {},
|
|
@@ -2363,7 +2363,7 @@ function ac(t, e) {
|
|
|
2363
2363
|
function jb(t) {
|
|
2364
2364
|
const e = [];
|
|
2365
2365
|
if (t.visible) {
|
|
2366
|
-
const { chart: i } = t, a =
|
|
2366
|
+
const { chart: i } = t, a = O(i.uid, "config");
|
|
2367
2367
|
if (a) {
|
|
2368
2368
|
const o = lu(t), n = Yi(t), s = {
|
|
2369
2369
|
element: {},
|
|
@@ -2412,7 +2412,7 @@ function qb(t) {
|
|
|
2412
2412
|
), n;
|
|
2413
2413
|
}
|
|
2414
2414
|
async function Su(t) {
|
|
2415
|
-
const { chart: e, cursorSelectionRectangle: i, multiSelect: a, selectionSource: o, hitElement: n, errorStrings: s } = t, r =
|
|
2415
|
+
const { chart: e, cursorSelectionRectangle: i, multiSelect: a, selectionSource: o, hitElement: n, errorStrings: s } = t, r = O(e.uid, "config"), l = r?.series[0]?.x ?? "";
|
|
2416
2416
|
let c = [];
|
|
2417
2417
|
ae(e.uid, { pendingSelectionQueries: !0 });
|
|
2418
2418
|
let u = [], d = !0;
|
|
@@ -2423,7 +2423,7 @@ async function Su(t) {
|
|
|
2423
2423
|
}).forEach((g, h) => {
|
|
2424
2424
|
const b = aa(g, r);
|
|
2425
2425
|
if (r && g.visible && g instanceof bi) {
|
|
2426
|
-
const S =
|
|
2426
|
+
const S = On(g, h) === y.BoxPlotSeries ? b?.y : Yi(g), C = g.dataFields?.customValue ?? "", x = {
|
|
2427
2427
|
element: {},
|
|
2428
2428
|
yAxisField: S,
|
|
2429
2429
|
xAxisField: l,
|
|
@@ -2490,7 +2490,7 @@ function Zb(t, e) {
|
|
|
2490
2490
|
});
|
|
2491
2491
|
}
|
|
2492
2492
|
async function nn(t) {
|
|
2493
|
-
const { hitEvent: e, chart: i, errorStrings: a } = t, { target: o } = e, n =
|
|
2493
|
+
const { hitEvent: e, chart: i, errorStrings: a } = t, { target: o } = e, n = O(i.uid, "actionMode");
|
|
2494
2494
|
if (i !== void 0 && yu(i) && n !== J.None && n !== J.Zoom && (o instanceof ue || e.point === void 0)) {
|
|
2495
2495
|
const s = e.svgPoint ? { x: e.svgPoint.x, y: e.svgPoint.y, width: 0, height: 0 } : void 0, r = Pn(e, i);
|
|
2496
2496
|
await Su({
|
|
@@ -2514,7 +2514,7 @@ async function Qb(t, e) {
|
|
|
2514
2514
|
const { series: i } = t;
|
|
2515
2515
|
if (i.length > 0) {
|
|
2516
2516
|
ae(t.uid, { pendingSelectionQueries: !0 });
|
|
2517
|
-
const a =
|
|
2517
|
+
const a = O(t.uid, "config"), n = i.values.map(
|
|
2518
2518
|
(s, r) => {
|
|
2519
2519
|
let l = [];
|
|
2520
2520
|
if (s.visible) {
|
|
@@ -2654,9 +2654,9 @@ function Vn(t, e) {
|
|
|
2654
2654
|
function ey(t) {
|
|
2655
2655
|
const e = t.tooltip ?? new Qc();
|
|
2656
2656
|
e.pointerOrientation = "vertical", t instanceof ze || t instanceof Lt ? e.label.maxWidth = A.boxPlot.boxPlotTooltipLabelWidth : e.label.maxWidth = A.tooltipWidth, e.label.wrap = !0;
|
|
2657
|
-
const i =
|
|
2657
|
+
const i = O(t.chart?.uid, "config"), a = i ? aa(t, i) : void 0;
|
|
2658
2658
|
a !== void 0 && Vn(t, a), e.events.on(N.Shown, (o) => {
|
|
2659
|
-
const n =
|
|
2659
|
+
const n = O(t.chart.uid, "config");
|
|
2660
2660
|
if (n !== void 0) {
|
|
2661
2661
|
const s = aa(t, n), { dataTooltipReverseColor: r } = s ?? {};
|
|
2662
2662
|
Lu(o.target, r);
|
|
@@ -2673,7 +2673,7 @@ function Fu(t, e) {
|
|
|
2673
2673
|
let o = i ?? "";
|
|
2674
2674
|
const { chart: n } = e;
|
|
2675
2675
|
if (n !== void 0) {
|
|
2676
|
-
const s =
|
|
2676
|
+
const s = O(n.uid, "config"), r = s ? aa(e, s) : void 0;
|
|
2677
2677
|
if (r?.dataTooltipVisible === !1)
|
|
2678
2678
|
o = "";
|
|
2679
2679
|
else {
|
|
@@ -2686,7 +2686,7 @@ function Fu(t, e) {
|
|
|
2686
2686
|
if ((c instanceof Js || c instanceof Va) && r !== void 0) {
|
|
2687
2687
|
const u = wt({ config: s }), d = u ? c.valueX : c.valueY, f = (u ? c.values.valueX.totalPercent : c.values.valueY.totalPercent) / 100, g = c.dataContext ?? {};
|
|
2688
2688
|
if (g !== void 0) {
|
|
2689
|
-
const h =
|
|
2689
|
+
const h = O(n.uid, "rendererFieldNames"), b = oi({
|
|
2690
2690
|
value: Cn(Z([r]), r),
|
|
2691
2691
|
dataContext: g,
|
|
2692
2692
|
useRendererLabel: ka(s, h),
|
|
@@ -2722,8 +2722,8 @@ function iy(t) {
|
|
|
2722
2722
|
dataTooltipPercentFormat: r
|
|
2723
2723
|
} = t;
|
|
2724
2724
|
let l = s;
|
|
2725
|
-
l === void 0 && (
|
|
2726
|
-
const c =
|
|
2725
|
+
l === void 0 && (De(n) && n ? (l = n, e && (l.intlOptions.style = "decimal")) : l = Lr());
|
|
2726
|
+
const c = O(i.chart.uid, "formatLocale"), u = a !== void 0 ? go({
|
|
2727
2727
|
value: a,
|
|
2728
2728
|
valueFormat: l,
|
|
2729
2729
|
iLocale: i.chart.language.locale,
|
|
@@ -2745,7 +2745,7 @@ function ay(t) {
|
|
|
2745
2745
|
const { series: e, dateRange: i, xAxisValueFormat: a, isTimeOnlyField: o } = t;
|
|
2746
2746
|
let n;
|
|
2747
2747
|
if (i !== void 0 && i.length > 0) {
|
|
2748
|
-
const s = e.chart?.uid, r =
|
|
2748
|
+
const s = e.chart?.uid, r = O(s, "timeIntervalInfo"), l = O(s, "config"), c = O(s, "options"), u = O(s, "queryObject"), d = vu({
|
|
2749
2749
|
xAxisValueFormat: a,
|
|
2750
2750
|
isTimeOnlyField: o,
|
|
2751
2751
|
timeIntervalInfo: r,
|
|
@@ -2754,7 +2754,7 @@ function ay(t) {
|
|
|
2754
2754
|
queryObject: u
|
|
2755
2755
|
}), f = new Date(i[0]), g = new Date(i[1]);
|
|
2756
2756
|
if (!Number.isNaN(f.valueOf())) {
|
|
2757
|
-
const h =
|
|
2757
|
+
const h = O(e.chart.uid, "formatLocale"), b = ri({
|
|
2758
2758
|
type: y.DateAxisFormat,
|
|
2759
2759
|
iLocale: e.chart.language.locale,
|
|
2760
2760
|
formatLocale: h
|
|
@@ -2781,7 +2781,7 @@ function Au(t) {
|
|
|
2781
2781
|
queryObject: u
|
|
2782
2782
|
} = t;
|
|
2783
2783
|
let d;
|
|
2784
|
-
const f =
|
|
2784
|
+
const f = O(s.chart.uid, "formatLocale");
|
|
2785
2785
|
return /* case 1: temporal binning chart */ ur({
|
|
2786
2786
|
seriesConfig: e,
|
|
2787
2787
|
xAxisValueFormatType: i?.type,
|
|
@@ -2797,7 +2797,7 @@ function Au(t) {
|
|
|
2797
2797
|
valueFormat: n ?? i,
|
|
2798
2798
|
iLocale: s.chart.language.locale,
|
|
2799
2799
|
formatLocale: f
|
|
2800
|
-
})) : typeof r == "number" &&
|
|
2800
|
+
})) : typeof r == "number" && De(i) ? d = go({
|
|
2801
2801
|
value: r,
|
|
2802
2802
|
valueFormat: o ?? i,
|
|
2803
2803
|
iLocale: s.chart.language.locale,
|
|
@@ -2809,7 +2809,7 @@ function oy(t) {
|
|
|
2809
2809
|
let d = () => "";
|
|
2810
2810
|
const { chart: f } = e;
|
|
2811
2811
|
if (f !== void 0) {
|
|
2812
|
-
const g =
|
|
2812
|
+
const g = O(f.uid, "config");
|
|
2813
2813
|
if (g !== void 0) {
|
|
2814
2814
|
const { dataTooltipVisible: h } = s, b = e instanceof be ? s.markerVisible : void 0;
|
|
2815
2815
|
if (h === !1 || b === !1)
|
|
@@ -2822,7 +2822,7 @@ function oy(t) {
|
|
|
2822
2822
|
seriesIndex: n,
|
|
2823
2823
|
utilsStrings: r,
|
|
2824
2824
|
isStacked100: v
|
|
2825
|
-
}),
|
|
2825
|
+
}), D = Mt(f.rtl);
|
|
2826
2826
|
d = ($) => {
|
|
2827
2827
|
const { statValue: M, percentValue: B, xValue: P, dateBinningRange: Y } = $, z = Au({
|
|
2828
2828
|
seriesConfig: s,
|
|
@@ -2843,7 +2843,7 @@ function oy(t) {
|
|
|
2843
2843
|
series: e,
|
|
2844
2844
|
statValue: M,
|
|
2845
2845
|
percentValue: B
|
|
2846
|
-
}), G = [`<b>${I}${
|
|
2846
|
+
}), G = [`<b>${I}${D} </b>${z}`];
|
|
2847
2847
|
switch (x) {
|
|
2848
2848
|
case V.BarAndLineFromFields: {
|
|
2849
2849
|
G.pop();
|
|
@@ -2852,13 +2852,13 @@ function oy(t) {
|
|
|
2852
2852
|
fieldName: $e(i, z ?? ""),
|
|
2853
2853
|
utilsStrings: r
|
|
2854
2854
|
});
|
|
2855
|
-
G.push(`<b>${j}${
|
|
2855
|
+
G.push(`<b>${j}${D} </b>${X}`);
|
|
2856
2856
|
break;
|
|
2857
2857
|
}
|
|
2858
2858
|
case V.BarAndLineMonoField:
|
|
2859
2859
|
case V.BarAndLineNoAggregation:
|
|
2860
2860
|
case V.BarAndLineMultiFields:
|
|
2861
|
-
G.push(`<b>${R}${
|
|
2861
|
+
G.push(`<b>${R}${D} </b>${X}`);
|
|
2862
2862
|
break;
|
|
2863
2863
|
case V.BarAndLineSplitByNoAggregation:
|
|
2864
2864
|
case V.BarAndLineSplitBy:
|
|
@@ -2867,11 +2867,11 @@ function oy(t) {
|
|
|
2867
2867
|
value: $e(i, j),
|
|
2868
2868
|
escape: !0
|
|
2869
2869
|
});
|
|
2870
|
-
G.push(`<b>${E}${
|
|
2870
|
+
G.push(`<b>${E}${D} </b>${e.name}`), (x === V.BarAndLineSplitBy || "y" in g.series[0] && j !== g.series[0].y) && G.push(`<b>${R}${D} </b>${X}`);
|
|
2871
2871
|
}
|
|
2872
2872
|
break;
|
|
2873
2873
|
}
|
|
2874
|
-
return v && G.push(`<b>${r.statistics.percent}${
|
|
2874
|
+
return v && G.push(`<b>${r.statistics.percent}${D} </b>${U}`), G.join("<br />");
|
|
2875
2875
|
};
|
|
2876
2876
|
}
|
|
2877
2877
|
}
|
|
@@ -2891,7 +2891,7 @@ function Er(t) {
|
|
|
2891
2891
|
if (l !== void 0) {
|
|
2892
2892
|
const { chart: c } = l;
|
|
2893
2893
|
if (c !== void 0) {
|
|
2894
|
-
const u =
|
|
2894
|
+
const u = O(c.uid, "config"), { dataTooltipVisible: d } = u?.series[0] ?? {};
|
|
2895
2895
|
if (d === !1)
|
|
2896
2896
|
r = "";
|
|
2897
2897
|
else {
|
|
@@ -3048,7 +3048,7 @@ function uy(t) {
|
|
|
3048
3048
|
return c.forEach((f) => {
|
|
3049
3049
|
const g = Ce({ key: f, y: o, splitBy: n }), h = e[g];
|
|
3050
3050
|
if (h != null && typeof h == "number") {
|
|
3051
|
-
const b =
|
|
3051
|
+
const b = O(i.chart.uid, "formatLocale"), p = go({
|
|
3052
3052
|
value: h,
|
|
3053
3053
|
valueFormat: l,
|
|
3054
3054
|
iLocale: i.chart.language.locale,
|
|
@@ -3095,7 +3095,7 @@ function fy(t) {
|
|
|
3095
3095
|
let r = () => "";
|
|
3096
3096
|
const { chart: l } = e;
|
|
3097
3097
|
if (l !== void 0) {
|
|
3098
|
-
const c =
|
|
3098
|
+
const c = O(l.uid, "config");
|
|
3099
3099
|
if (c !== void 0) {
|
|
3100
3100
|
const u = c.axes, d = u?.[0].valueFormat, { showMean: f } = c, g = Z(c.series), h = Qt(a.query?.where), b = $e(i, h), p = Ai({
|
|
3101
3101
|
where: a.query?.where,
|
|
@@ -3111,7 +3111,7 @@ function fy(t) {
|
|
|
3111
3111
|
series: e,
|
|
3112
3112
|
xValue: T,
|
|
3113
3113
|
queryObject: n
|
|
3114
|
-
}), I = [], R = k !== void 0 && !Sa(k) ? $e(i, k) : "",
|
|
3114
|
+
}), I = [], R = k !== void 0 && !Sa(k) ? $e(i, k) : "", D = f === !0 ? [c.series[0].y].flat()[0] : [a.y].flat()[0], $ = $e(i, D);
|
|
3115
3115
|
switch (g) {
|
|
3116
3116
|
case V.BoxPlotC1MonoField:
|
|
3117
3117
|
case V.BoxPlotC2MultiFields:
|
|
@@ -3432,7 +3432,7 @@ function Sy(t) {
|
|
|
3432
3432
|
}
|
|
3433
3433
|
function Cy(t, e) {
|
|
3434
3434
|
const i = (a, o) => {
|
|
3435
|
-
const { chartContainer: n, chartAndLegendContainer: s } = A, r =
|
|
3435
|
+
const { chartContainer: n, chartAndLegendContainer: s } = A, r = O(a.uid, "config");
|
|
3436
3436
|
if (r !== void 0) {
|
|
3437
3437
|
const l = by(r), c = r.legend?.position;
|
|
3438
3438
|
if (l)
|
|
@@ -3467,7 +3467,7 @@ function zr(t) {
|
|
|
3467
3467
|
valueSuffix: l,
|
|
3468
3468
|
percentagePrefix: c,
|
|
3469
3469
|
percentageSuffix: u
|
|
3470
|
-
} = t, d =
|
|
3470
|
+
} = t, d = O(i.uid, "formatLocale"), f = ri({
|
|
3471
3471
|
type: y.NumberAxisFormat,
|
|
3472
3472
|
iLocale: e,
|
|
3473
3473
|
formatLocale: d
|
|
@@ -3497,15 +3497,15 @@ function wu(t) {
|
|
|
3497
3497
|
}
|
|
3498
3498
|
return e;
|
|
3499
3499
|
}
|
|
3500
|
-
function
|
|
3500
|
+
function Du(t) {
|
|
3501
3501
|
let e = !1;
|
|
3502
3502
|
const i = t.labels.getIndex(0)?.parent?.y;
|
|
3503
3503
|
return i !== void 0 && (e = !t.labels.values.some((a) => a.parent?.y !== i)), e;
|
|
3504
3504
|
}
|
|
3505
3505
|
function xy(t) {
|
|
3506
3506
|
t.events.on(N.LayoutValidated, () => {
|
|
3507
|
-
const e = wu(t), i =
|
|
3508
|
-
t.valueLabels.template.horizontalCenter =
|
|
3507
|
+
const e = wu(t), i = Du(t), a = e || !i ? "right" : "center", o = t.valueLabels.template.align !== Rs(a);
|
|
3508
|
+
t.valueLabels.template.horizontalCenter = Dr(a), t.valueLabels.template.align = Rs(a), o && (a === "center" && (t.labels.each((n) => {
|
|
3509
3509
|
n.width = Number.NaN;
|
|
3510
3510
|
}), t.valueLabels.each((n) => {
|
|
3511
3511
|
n.width = Number.NaN;
|
|
@@ -3523,7 +3523,7 @@ function vy(t) {
|
|
|
3523
3523
|
i.dataItem?.values?.value?.value ?? 0,
|
|
3524
3524
|
i.dataItem?.values?.value?.percent ?? 0
|
|
3525
3525
|
)), Ae(a) && (a = A.htmlEmptyContent), t.baseSprite instanceof Ks) {
|
|
3526
|
-
const n =
|
|
3526
|
+
const n = O(t.baseSprite.uid, "config");
|
|
3527
3527
|
n?.legend?.body !== void 0 && (a = ua({
|
|
3528
3528
|
textSymbol: { ...n.legend.body, text: a },
|
|
3529
3529
|
format: "html"
|
|
@@ -3561,12 +3561,12 @@ function Ly(t) {
|
|
|
3561
3561
|
percentagePrefix: b,
|
|
3562
3562
|
percentageSuffix: p
|
|
3563
3563
|
});
|
|
3564
|
-
L = (R,
|
|
3564
|
+
L = (R, D) => I("", R, D);
|
|
3565
3565
|
}
|
|
3566
3566
|
Ap(e.uid, {
|
|
3567
3567
|
pieChartLegendValueLabelsFormatter: L
|
|
3568
3568
|
});
|
|
3569
|
-
const v = wu(e), T =
|
|
3569
|
+
const v = wu(e), T = Du(e), k = {
|
|
3570
3570
|
type: y.Text,
|
|
3571
3571
|
visible: n,
|
|
3572
3572
|
content: {
|
|
@@ -3578,7 +3578,7 @@ function Ly(t) {
|
|
|
3578
3578
|
horizontalAlignment: v || !T ? "right" : "center"
|
|
3579
3579
|
}
|
|
3580
3580
|
};
|
|
3581
|
-
|
|
3581
|
+
Dt({
|
|
3582
3582
|
label: e.valueLabels.template,
|
|
3583
3583
|
labelConfig: k,
|
|
3584
3584
|
defaults: A.legendProperties.valueLabels
|
|
@@ -3643,7 +3643,7 @@ function Hr(t) {
|
|
|
3643
3643
|
Ja({ labels: t.chart?.legend?.labels, seriesId: i });
|
|
3644
3644
|
});
|
|
3645
3645
|
}
|
|
3646
|
-
function
|
|
3646
|
+
function Ou(t) {
|
|
3647
3647
|
const { title: e, visible: i } = t;
|
|
3648
3648
|
return e !== void 0 && i !== !1 && e?.visible !== !1;
|
|
3649
3649
|
}
|
|
@@ -3654,7 +3654,7 @@ function Ty(t, e) {
|
|
|
3654
3654
|
else if (t.position === H.Top)
|
|
3655
3655
|
t.marginBottom = i.marginBottom ?? 0, t.marginTop = 0, t.dy = 0;
|
|
3656
3656
|
else if (t.marginTop = 0, t.marginBottom = 0, !(t.baseSprite instanceof Me)) {
|
|
3657
|
-
const a =
|
|
3657
|
+
const a = Ou(e), o = e.title?.content?.font?.size ?? A.generalFontSize;
|
|
3658
3658
|
t.dy = -(a ? o : 15);
|
|
3659
3659
|
}
|
|
3660
3660
|
}
|
|
@@ -3662,7 +3662,7 @@ function ky(t) {
|
|
|
3662
3662
|
const e = t.baseSprite;
|
|
3663
3663
|
let i;
|
|
3664
3664
|
if (e !== void 0) {
|
|
3665
|
-
const a =
|
|
3665
|
+
const a = O(e?.uid, "config");
|
|
3666
3666
|
i = e?.rtl && (a?.legend?.position === H.Top || a?.legend?.position === H.Bottom);
|
|
3667
3667
|
}
|
|
3668
3668
|
return i ?? !1;
|
|
@@ -3671,7 +3671,7 @@ function Iy(t) {
|
|
|
3671
3671
|
const e = t.baseSprite;
|
|
3672
3672
|
let i = "";
|
|
3673
3673
|
if (e instanceof ue) {
|
|
3674
|
-
const a =
|
|
3674
|
+
const a = O(e.uid, "config"), o = Qe(a), n = o ? m.Rotated : m.NonRotated, s = nt(a);
|
|
3675
3675
|
let r = m.SideBySide;
|
|
3676
3676
|
s === te.Stacked ? r = m.Stacked : s === te.Stacked100 && (r = m.Stacked100);
|
|
3677
3677
|
const l = e.rtl ? m.RTL : m.LTR;
|
|
@@ -3720,7 +3720,7 @@ function Mu(t, e) {
|
|
|
3720
3720
|
}
|
|
3721
3721
|
function wy(t) {
|
|
3722
3722
|
if (t.visible) {
|
|
3723
|
-
const i =
|
|
3723
|
+
const i = O(t.chart.uid, "config")?.series.find(
|
|
3724
3724
|
(a) => a.id === t.id
|
|
3725
3725
|
);
|
|
3726
3726
|
if (i !== void 0 && W([i]) === y.LineSeries) {
|
|
@@ -3729,16 +3729,16 @@ function wy(t) {
|
|
|
3729
3729
|
}
|
|
3730
3730
|
}
|
|
3731
3731
|
}
|
|
3732
|
-
function
|
|
3732
|
+
function Dy(t, e) {
|
|
3733
3733
|
const i = t.target.dataItem, a = t.target.isActive;
|
|
3734
3734
|
if (i?.dataContext !== void 0) {
|
|
3735
3735
|
const { dataContext: o } = i, n = { visible: a };
|
|
3736
3736
|
if (o instanceof yi)
|
|
3737
|
-
|
|
3737
|
+
O(e.uid, "isNonAggregatedChart") === !0 ? n.sliceData = o.dataContext : n.sliceId = o.category;
|
|
3738
3738
|
else if (o instanceof ze) {
|
|
3739
3739
|
const r = o.id, l = Lo(e, r);
|
|
3740
3740
|
if (l !== void 0) {
|
|
3741
|
-
const f =
|
|
3741
|
+
const f = O(e.uid, "config"), g = Gr(f?.showOutliers, a), h = We(l);
|
|
3742
3742
|
h !== void 0 && (h.disabled = !g), le(l, g);
|
|
3743
3743
|
}
|
|
3744
3744
|
const { topStepLineSeries: c, medianStepLineSeries: u, bottomStepLineSeries: d } = Wn(
|
|
@@ -3754,7 +3754,7 @@ function Oy(t, e) {
|
|
|
3754
3754
|
type: N.Validated,
|
|
3755
3755
|
target: s
|
|
3756
3756
|
}));
|
|
3757
|
-
const r = s instanceof Wt, l =
|
|
3757
|
+
const r = s instanceof Wt, l = O(e.uid, "options")?.selectionData?.selectionItems, c = l !== void 0 && l.length > 0, u = O(e.uid, "actionMode") ?? A.actionMode;
|
|
3758
3758
|
let d;
|
|
3759
3759
|
s instanceof ct ? d = s.columns : r ? d = s.slices : s instanceof be && (wy(s), d = We(s)?.clones), d?.each((f) => {
|
|
3760
3760
|
f.dataItem instanceof na || (Ht({
|
|
@@ -3768,7 +3768,7 @@ function Oy(t, e) {
|
|
|
3768
3768
|
}), dd(n, e.htmlContainer);
|
|
3769
3769
|
}
|
|
3770
3770
|
}
|
|
3771
|
-
function
|
|
3771
|
+
function Oy(t) {
|
|
3772
3772
|
const { legendProperties: e, legendProperties: i } = A;
|
|
3773
3773
|
t.adapter.add(
|
|
3774
3774
|
"paddingRight",
|
|
@@ -3787,7 +3787,7 @@ function $y(t) {
|
|
|
3787
3787
|
}), e.adapter.add("x", (i) => {
|
|
3788
3788
|
let a = i;
|
|
3789
3789
|
const { marginLeft: o, marginRight: n } = A.legendProperties.legendTitle;
|
|
3790
|
-
switch (
|
|
3790
|
+
switch (O(t.baseSprite.uid, "config")?.legend?.title?.content?.horizontalAlignment) {
|
|
3791
3791
|
case "left":
|
|
3792
3792
|
a = e.measuredWidth + (o ?? 0);
|
|
3793
3793
|
break;
|
|
@@ -3802,13 +3802,13 @@ function $y(t) {
|
|
|
3802
3802
|
}), e.adapter.add("disabled", (i) => (i === !1 && e.validate(), i)), e;
|
|
3803
3803
|
}
|
|
3804
3804
|
function By(t) {
|
|
3805
|
-
const { legendConfig: e, legendTitle: i } = t, { title: a, position: o } = e, { legendTitle: n } = A.legendProperties, s =
|
|
3805
|
+
const { legendConfig: e, legendTitle: i } = t, { title: a, position: o } = e, { legendTitle: n } = A.legendProperties, s = Ou(e);
|
|
3806
3806
|
if (a !== void 0) {
|
|
3807
3807
|
const r = {
|
|
3808
3808
|
...a,
|
|
3809
3809
|
visible: s
|
|
3810
3810
|
};
|
|
3811
|
-
|
|
3811
|
+
Dt({ label: i, labelConfig: r, defaults: n }), i.marginLeft = n.marginLeft ?? 0;
|
|
3812
3812
|
}
|
|
3813
3813
|
o === H.Top || o === H.Bottom ? (i.maxWidth = Number.NaN, i.isMeasured = !1) : (i.maxWidth = n.maxWidth ?? Number.NaN, i.marginTop = s ? i.bbox?.height ?? a?.content?.font?.size ?? A.generalFontSize : 0, i.isMeasured = !0);
|
|
3814
3814
|
}
|
|
@@ -3816,7 +3816,7 @@ function Ny(t) {
|
|
|
3816
3816
|
const e = A.legendProperties;
|
|
3817
3817
|
t.labels.template = li(e.legendLabels), t.valueLabels.template = li(e.legendLabels), t.markers.template.width = e.legendMarkersSize, t.markers.template.height = e.legendMarkersSize, t.labels.template.adapter.add("wrap", () => !0), t.labels.template.adapter.add("maxWidth", (i) => {
|
|
3818
3818
|
let a = i, o;
|
|
3819
|
-
if (t.baseSprite instanceof Me && (o =
|
|
3819
|
+
if (t.baseSprite instanceof Me && (o = O(t.baseSprite.uid, "config")?.legend?.labelMaxWidth), t.position === H.Right || t.position === H.Left)
|
|
3820
3820
|
a = o ?? A.legendProperties.legendLabels.maxWidth;
|
|
3821
3821
|
else if (o !== void 0)
|
|
3822
3822
|
a = o;
|
|
@@ -3830,7 +3830,7 @@ function Ny(t) {
|
|
|
3830
3830
|
}), t.labels.template.adapter.add("textOutput", (i, a) => {
|
|
3831
3831
|
const o = a.dataItem?.label?.currentText;
|
|
3832
3832
|
let n;
|
|
3833
|
-
const s =
|
|
3833
|
+
const s = O(t.baseSprite.uid, "config");
|
|
3834
3834
|
if (s !== void 0) {
|
|
3835
3835
|
const { series: l } = s;
|
|
3836
3836
|
if (W(l) === y.PieSeries) {
|
|
@@ -3841,11 +3841,11 @@ function Ny(t) {
|
|
|
3841
3841
|
return (n !== void 0 && !Ae(n) ? po(n) : n) ?? o;
|
|
3842
3842
|
}), t.valueLabels.template.adapter.add("maxWidth", (i) => {
|
|
3843
3843
|
let a = i, o;
|
|
3844
|
-
return t.baseSprite instanceof Me && (o =
|
|
3844
|
+
return t.baseSprite instanceof Me && (o = O(t.baseSprite.uid, "config")?.legend?.valueLabelMaxWidth), t.position === H.Right || t.position === H.Left ? a = o ?? A.legendProperties.valueLabels.maxWidth : a = o ?? Number.NaN, a;
|
|
3845
3845
|
});
|
|
3846
3846
|
}
|
|
3847
3847
|
function Py(t, e) {
|
|
3848
|
-
t.itemContainers.template.events.on(N.Hit, (i) =>
|
|
3848
|
+
t.itemContainers.template.events.on(N.Hit, (i) => Dy(i, e)), e instanceof Me && t.itemContainers.template.events.on(N.Over, (i) => Fy(i));
|
|
3849
3849
|
}
|
|
3850
3850
|
function Vy(t) {
|
|
3851
3851
|
t.itemContainers.template.reverseOrder = t.rtl;
|
|
@@ -3857,7 +3857,7 @@ function Po(t, e) {
|
|
|
3857
3857
|
if (o !== void 0) {
|
|
3858
3858
|
const n = o instanceof yi ? o.component?.chart : o.chart;
|
|
3859
3859
|
if (n !== void 0) {
|
|
3860
|
-
const s =
|
|
3860
|
+
const s = O(n.uid, "config"), { rectangleMarkerRadius: r, roundedMarkerRadius: l } = A.legendProperties;
|
|
3861
3861
|
a = s?.legend?.roundMarkers === !0 ? l : r;
|
|
3862
3862
|
}
|
|
3863
3863
|
}
|
|
@@ -3892,13 +3892,13 @@ function Ey(t) {
|
|
|
3892
3892
|
// using a non empty string to kick in the adapter on `textOutput`
|
|
3893
3893
|
}
|
|
3894
3894
|
};
|
|
3895
|
-
|
|
3895
|
+
Dt({ label: e.labels.template, labelConfig: r, defaults: A.legendProperties.legendLabels }), e.labels.template.valign = "middle", e.valueLabels.template.valign = "middle", s === y.PieSeries && Ly(t), e.valueLabels.template.width = Number.NaN;
|
|
3896
3896
|
}
|
|
3897
3897
|
function zy(t, e) {
|
|
3898
3898
|
e.chartContainer.events.on(
|
|
3899
3899
|
N.SizeChanged,
|
|
3900
3900
|
yt(() => {
|
|
3901
|
-
let a =
|
|
3901
|
+
let a = O(e.uid, "config")?.legend?.maxHeight ?? Number.NaN;
|
|
3902
3902
|
Number.isFinite(a) || (t.position === H.Top || t.position === H.Bottom ? a = A.legendProperties.maxHeight : a = e instanceof Me ? e.chartContainer.measuredHeight : e.seriesContainer.measuredHeight), t.maxHeight = a, t.invalidateLayout();
|
|
3903
3903
|
}),
|
|
3904
3904
|
A.debounceTime
|
|
@@ -3927,8 +3927,8 @@ function Xy(t, e) {
|
|
|
3927
3927
|
const i = new tg();
|
|
3928
3928
|
t.legend = i, My(i);
|
|
3929
3929
|
const a = $y(i);
|
|
3930
|
-
return Ny(i), vy(i), Py(i, t), Vy(i),
|
|
3931
|
-
const o =
|
|
3930
|
+
return Ny(i), vy(i), Py(i, t), Vy(i), Oy(i), _y({ legend: i, legendTitle: a }, W(e)), zy(i, t), Cy(t, a), Ay(i), t.legend.events.on(N.ChildAdded, () => {
|
|
3931
|
+
const o = O(t.uid, "options");
|
|
3932
3932
|
$u(i, o?.legendInteractionsDisabled);
|
|
3933
3933
|
}), { legend: i, legendTitle: a };
|
|
3934
3934
|
}
|
|
@@ -3941,7 +3941,7 @@ function _r(t) {
|
|
|
3941
3941
|
legendTitle: n
|
|
3942
3942
|
}), Wy(o), Ey(t), Hy(o, a), Mu(e, W(i)), o.position = c, Gy(o, c), Ty(o, a), $u(
|
|
3943
3943
|
o,
|
|
3944
|
-
|
|
3944
|
+
O(s.uid, "options")?.legendInteractionsDisabled
|
|
3945
3945
|
);
|
|
3946
3946
|
} else
|
|
3947
3947
|
o.position = H.Right, o.width = 0, le(o, !1);
|
|
@@ -3993,7 +3993,7 @@ function Uy(t) {
|
|
|
3993
3993
|
if (l !== void 0) {
|
|
3994
3994
|
o.markerVisible !== !1 && o.visible !== !1 ? e.bulletsContainer.show() : e.bulletsContainer.hide();
|
|
3995
3995
|
let { markerSymbol: f } = o;
|
|
3996
|
-
f === void 0 && (f =
|
|
3996
|
+
f === void 0 && (f = Od(), f.color = s), n ? f.color = s : f.color ??= s;
|
|
3997
3997
|
const g = /* @__PURE__ */ new Set();
|
|
3998
3998
|
let h, b;
|
|
3999
3999
|
an({ element: l, markerSymbol: f }), l.clones.each((p) => {
|
|
@@ -4056,7 +4056,7 @@ function Nu(t, e) {
|
|
|
4056
4056
|
t.showArea === !0 ? t.areaColor !== void 0 ? (e.fill = It(t.areaColor), e.fillOpacity = e.fill.alpha === 0 ? 0 : 1) : (e.fill = bn(e.stroke.hex, 1), e.fillOpacity = A.lineSeries.areaOpacity) : e.fillOpacity = 0;
|
|
4057
4057
|
}
|
|
4058
4058
|
function Pu(t) {
|
|
4059
|
-
const { series: e, seriesIndexMapper: i, seriesSymbolMapForEvent: a, seriesIndex: o, colorMatch: n, rendererType: s } = t, r = t.seriesConfig, l =
|
|
4059
|
+
const { series: e, seriesIndexMapper: i, seriesSymbolMapForEvent: a, seriesIndex: o, colorMatch: n, rendererType: s } = t, r = t.seriesConfig, l = O(e.chart.uid, "config"), c = l?.series.length ?? 0, u = Z(l?.series);
|
|
4060
4060
|
le(e, r.visible);
|
|
4061
4061
|
const d = Bu({
|
|
4062
4062
|
series: e,
|
|
@@ -4104,7 +4104,7 @@ function Ky(t) {
|
|
|
4104
4104
|
queryObject: l,
|
|
4105
4105
|
options: c,
|
|
4106
4106
|
utilsStrings: u
|
|
4107
|
-
} = t, { visible: d, name: f } = e, g = a[1].valueFormat, h =
|
|
4107
|
+
} = t, { visible: d, name: f } = e, g = a[1].valueFormat, h = O(i.chart.uid, "config"), b = wt({ config: h }), p = Z(h?.series);
|
|
4108
4108
|
i.id = e.id, le(i, d);
|
|
4109
4109
|
let S = f;
|
|
4110
4110
|
const C = i.dataFields?.customValue ?? "";
|
|
@@ -4151,7 +4151,7 @@ function Gr(t, e) {
|
|
|
4151
4151
|
return (t ?? A.boxPlot.boxPlotOutliersVisibility) && e !== !1;
|
|
4152
4152
|
}
|
|
4153
4153
|
function Qy(t, e) {
|
|
4154
|
-
const i =
|
|
4154
|
+
const i = O(t.uid, "config");
|
|
4155
4155
|
i && t.series.each((a) => {
|
|
4156
4156
|
let o;
|
|
4157
4157
|
switch (!0) {
|
|
@@ -4248,7 +4248,7 @@ function Ga(t) {
|
|
|
4248
4248
|
});
|
|
4249
4249
|
T ? (a.dataFields.valueX = P, a.dataFields.categoryY = g) : (a.dataFields.valueY = P, a.dataFields.categoryX = g), a.dataFields.customValue = B;
|
|
4250
4250
|
}
|
|
4251
|
-
const k = hr(e), I = Z(k.series), R = v === !0 ? void 0 : i?.query?.where,
|
|
4251
|
+
const k = hr(e), I = Z(k.series), R = v === !0 ? void 0 : i?.query?.where, D = {
|
|
4252
4252
|
y: I === V.BoxPlotC4MultiFieldsAndCategory ? h : void 0,
|
|
4253
4253
|
chartSubType: I,
|
|
4254
4254
|
splitBy: R,
|
|
@@ -4258,16 +4258,16 @@ function Ga(t) {
|
|
|
4258
4258
|
if (p) {
|
|
4259
4259
|
if (o instanceof ze) {
|
|
4260
4260
|
const M = Ce({
|
|
4261
|
-
...
|
|
4261
|
+
...D,
|
|
4262
4262
|
key: ie.Min
|
|
4263
4263
|
}), B = Ce({
|
|
4264
|
-
...
|
|
4264
|
+
...D,
|
|
4265
4265
|
key: ie.FirstQuartile
|
|
4266
4266
|
}), P = Ce({
|
|
4267
|
-
...
|
|
4267
|
+
...D,
|
|
4268
4268
|
key: ie.Max
|
|
4269
4269
|
}), Y = Ce({
|
|
4270
|
-
...
|
|
4270
|
+
...D,
|
|
4271
4271
|
key: ie.ThirdQuartile
|
|
4272
4272
|
});
|
|
4273
4273
|
T ? (o.dataFields.lowValueX = M, o.dataFields.openValueX = B, o.dataFields.highValueX = P, o.dataFields.valueX = Y, o.dataFields.categoryY = g) : (o.dataFields.lowValueY = M, o.dataFields.openValueY = B, o.dataFields.highValueY = P, o.dataFields.valueY = Y, o.dataFields.categoryX = g), o.dataFields.customValue = R;
|
|
@@ -4275,20 +4275,20 @@ function Ga(t) {
|
|
|
4275
4275
|
if (n instanceof Lt && s instanceof Lt && r instanceof Lt) {
|
|
4276
4276
|
const M = Ce({
|
|
4277
4277
|
key: ie.Max,
|
|
4278
|
-
...
|
|
4278
|
+
...D
|
|
4279
4279
|
}), B = Ce({
|
|
4280
4280
|
key: ie.Median,
|
|
4281
|
-
...
|
|
4281
|
+
...D
|
|
4282
4282
|
}), P = Ce({
|
|
4283
4283
|
key: ie.Min,
|
|
4284
|
-
...
|
|
4284
|
+
...D
|
|
4285
4285
|
});
|
|
4286
4286
|
T ? (n.dataFields.valueX = M, s.dataFields.valueX = B, r.dataFields.valueX = P, n.dataFields.categoryY = g, s.dataFields.categoryY = g, r.dataFields.categoryY = g) : (n.dataFields.valueY = M, s.dataFields.valueY = B, r.dataFields.valueY = P, n.dataFields.categoryX = g, s.dataFields.categoryX = g, r.dataFields.categoryX = g), n.dataFields.customValue = R, r.dataFields.customValue = R, s.dataFields.customValue = R;
|
|
4287
4287
|
}
|
|
4288
4288
|
}
|
|
4289
4289
|
if (l instanceof be && S) {
|
|
4290
4290
|
const M = Ce({
|
|
4291
|
-
...
|
|
4291
|
+
...D,
|
|
4292
4292
|
key: ie.Outlier
|
|
4293
4293
|
});
|
|
4294
4294
|
T ? (l.dataFields.valueX = M, l.dataFields.categoryY = g) : (l.dataFields.valueY = M, l.dataFields.categoryX = g), l.dataFields.customValue = R, l.invalidateRawData();
|
|
@@ -4455,7 +4455,7 @@ function sS(t) {
|
|
|
4455
4455
|
seriesConfig: r,
|
|
4456
4456
|
rendererType: l,
|
|
4457
4457
|
queryObject: c
|
|
4458
|
-
} = t, u =
|
|
4458
|
+
} = t, u = O(e.chart.uid, "config"), d = St(u), f = u?.series.length ?? 0, g = Z(u?.series);
|
|
4459
4459
|
let h = !1, b;
|
|
4460
4460
|
if (e instanceof ze && r.type === y.BoxPlotSeries) {
|
|
4461
4461
|
const p = nS({
|
|
@@ -4625,7 +4625,7 @@ function fS(t) {
|
|
|
4625
4625
|
chart: e,
|
|
4626
4626
|
showMean: s
|
|
4627
4627
|
});
|
|
4628
|
-
const h =
|
|
4628
|
+
const h = O(e.uid, "config");
|
|
4629
4629
|
if (h !== void 0) {
|
|
4630
4630
|
if (i instanceof ze && r.type === y.BoxPlotSeries) {
|
|
4631
4631
|
const { id: b } = i;
|
|
@@ -4690,7 +4690,7 @@ function gS(t, e = !0) {
|
|
|
4690
4690
|
let i;
|
|
4691
4691
|
t.series.each((a, o) => {
|
|
4692
4692
|
if (!e || a.visible) {
|
|
4693
|
-
i =
|
|
4693
|
+
i = On(a, o);
|
|
4694
4694
|
let n = [];
|
|
4695
4695
|
if (i === y.BarSeries)
|
|
4696
4696
|
n = a.columns?.values;
|
|
@@ -4722,7 +4722,7 @@ function Xa(t) {
|
|
|
4722
4722
|
computedSelectionItems: void 0,
|
|
4723
4723
|
computedSelectionIndexes: void 0,
|
|
4724
4724
|
pendingSelectionQueries: !1
|
|
4725
|
-
}), $t(e) && (e instanceof ue ? gS(e, a ?? !0) : e instanceof Me && mS(e)),
|
|
4725
|
+
}), $t(e) && (e instanceof ue ? gS(e, a ?? !0) : e instanceof Me && mS(e)), O(e.uid, "options")?.selectionData?.selectionItems?.[0] && Ha({
|
|
4726
4726
|
data: {
|
|
4727
4727
|
selectionSource: i ?? ge.ClearSelection
|
|
4728
4728
|
},
|
|
@@ -4742,7 +4742,7 @@ function bS(t) {
|
|
|
4742
4742
|
t.series.each((e) => Xt(e.uid, { isSelectionApplied: void 0 }));
|
|
4743
4743
|
}
|
|
4744
4744
|
function Vu(t, e) {
|
|
4745
|
-
const i =
|
|
4745
|
+
const i = O(t.uid, "actionMode");
|
|
4746
4746
|
if ((i === J.MonoSelection || i === J.None) && e.length > 1)
|
|
4747
4747
|
Xa({ chart: t });
|
|
4748
4748
|
else {
|
|
@@ -4802,11 +4802,11 @@ function yS(t) {
|
|
|
4802
4802
|
d === y.PieSeries && Ri(v) ? (xo({
|
|
4803
4803
|
groupOfSlicesDataContext: v
|
|
4804
4804
|
}) ?? []).forEach((R) => {
|
|
4805
|
-
s.forEach((
|
|
4805
|
+
s.forEach((D) => {
|
|
4806
4806
|
Br({
|
|
4807
4807
|
layerOidField: r,
|
|
4808
4808
|
sliceDataContext: R,
|
|
4809
|
-
selectionDataContext:
|
|
4809
|
+
selectionDataContext: D,
|
|
4810
4810
|
xAxisField: l
|
|
4811
4811
|
}) && k.add(R);
|
|
4812
4812
|
});
|
|
@@ -4835,10 +4835,10 @@ function yS(t) {
|
|
|
4835
4835
|
}), Vu(e, b), { selectedIndexes: p, newSelectionItems: S };
|
|
4836
4836
|
}
|
|
4837
4837
|
function SS(t) {
|
|
4838
|
-
const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s =
|
|
4838
|
+
const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = O(e.uid, "config"), r = Ti(s), l = di(s?.series ?? []), c = Z(s?.series);
|
|
4839
4839
|
return e.series.each((u, d) => {
|
|
4840
4840
|
if (s && u.visible) {
|
|
4841
|
-
const f = s.series[0].x, g = Yi(u), h = u instanceof bi ? u.dataFields?.customValue ?? "" : "", b =
|
|
4841
|
+
const f = s.series[0].x, g = Yi(u), h = u instanceof bi ? u.dataFields?.customValue ?? "" : "", b = On(u, d), p = i.get(d);
|
|
4842
4842
|
if (p !== void 0) {
|
|
4843
4843
|
let S;
|
|
4844
4844
|
if (u instanceof ct ? S = u.columns : u instanceof Wt ? S = u.slices : S = We(u)?.clones, S !== void 0) {
|
|
@@ -4930,15 +4930,15 @@ function xS(t) {
|
|
|
4930
4930
|
returnSelectionOIDs: h,
|
|
4931
4931
|
selectionByIndexesChanged: b = !1,
|
|
4932
4932
|
selectionByItemsChanged: p = !1
|
|
4933
|
-
} = o ?? {}, { selectionIndexes: S, selectionFilters: C } = f ?? {}, { chart: x } = e, L =
|
|
4933
|
+
} = o ?? {}, { selectionIndexes: S, selectionFilters: C } = f ?? {}, { chart: x } = e, L = O(x.uid, "config"), v = _e(a), T = Ti(L), k = Ln(L), I = St(L), R = W(L?.series);
|
|
4934
4934
|
if (d !== !0 && L !== void 0) {
|
|
4935
|
-
const
|
|
4935
|
+
const D = CS({
|
|
4936
4936
|
series: e,
|
|
4937
4937
|
chartType: R,
|
|
4938
4938
|
showMean: I
|
|
4939
4939
|
}), $ = Z(L?.series), M = it(a), B = sa(M).idField;
|
|
4940
4940
|
let P = !1, Y = !1, z;
|
|
4941
|
-
if (
|
|
4941
|
+
if (D?.[0] !== void 0) {
|
|
4942
4942
|
if (o?.viewExtentUpdated !== !0) {
|
|
4943
4943
|
z = o?.selectionData?.selectionItems, P = s === !0 || n === !0 || r === !0 || u === !0 || z !== void 0 && p;
|
|
4944
4944
|
let X = !0;
|
|
@@ -4954,24 +4954,24 @@ function xS(t) {
|
|
|
4954
4954
|
chartConfig: L,
|
|
4955
4955
|
options: o,
|
|
4956
4956
|
series: e,
|
|
4957
|
-
elementsToApplySelectionTo:
|
|
4957
|
+
elementsToApplySelectionTo: D,
|
|
4958
4958
|
selectionItems: z,
|
|
4959
4959
|
layerOidField: B,
|
|
4960
4960
|
xAxisField: l,
|
|
4961
4961
|
yAxisField: c
|
|
4962
4962
|
});
|
|
4963
|
-
let G =
|
|
4963
|
+
let G = O(x.uid, "computedSelectionItems") ?? [];
|
|
4964
4964
|
if (G.push(...U), L.series.length > 1 && $ !== V.BarAndLineNoAggregation && $ !== V.BarAndLineSplitByNoAggregation && (G = vn({
|
|
4965
4965
|
data: G,
|
|
4966
4966
|
x: L.series[0].x,
|
|
4967
4967
|
splitByField: Qt(L.series[0].query?.where)
|
|
4968
4968
|
})), ae(x.uid, { computedSelectionItems: G }), g === !0) {
|
|
4969
4969
|
const j = Array.from(new Set(X));
|
|
4970
|
-
let E =
|
|
4970
|
+
let E = O(
|
|
4971
4971
|
x.uid,
|
|
4972
4972
|
"computedSelectionIndexes"
|
|
4973
4973
|
);
|
|
4974
|
-
E === void 0 && (E = /* @__PURE__ */ new Map()), j.length ===
|
|
4974
|
+
E === void 0 && (E = /* @__PURE__ */ new Map()), j.length === D.length ? E.set(i ?? 0, {}) : E.set(i ?? 0, {
|
|
4975
4975
|
indexesToSelect: j
|
|
4976
4976
|
}), ae(x.uid, { computedSelectionIndexes: E });
|
|
4977
4977
|
}
|
|
@@ -5004,7 +5004,7 @@ function xS(t) {
|
|
|
5004
5004
|
timeAggregationType: k
|
|
5005
5005
|
});
|
|
5006
5006
|
};
|
|
5007
|
-
|
|
5007
|
+
D.forEach((j) => {
|
|
5008
5008
|
const E = j.isActive || G(j);
|
|
5009
5009
|
Ht({
|
|
5010
5010
|
element: j,
|
|
@@ -5016,12 +5016,12 @@ function xS(t) {
|
|
|
5016
5016
|
}
|
|
5017
5017
|
}
|
|
5018
5018
|
if (Xt(e.uid, { isSelectionApplied: !0 }), pS({ chart: x, chartType: R, showMean: I }) && (bS(x), p || Y)) {
|
|
5019
|
-
let X =
|
|
5019
|
+
let X = O(x.uid, "computedSelectionItems") ?? z;
|
|
5020
5020
|
X = Array.from(new Set(X?.map((G) => JSON.stringify(G)))).map(
|
|
5021
5021
|
(G) => JSON.parse(G)
|
|
5022
5022
|
);
|
|
5023
5023
|
let U;
|
|
5024
|
-
if (g === !0 && (U =
|
|
5024
|
+
if (g === !0 && (U = O(x.uid, "computedSelectionIndexes") ?? S), X === void 0 || X.length === 0)
|
|
5025
5025
|
Xa({
|
|
5026
5026
|
chart: x,
|
|
5027
5027
|
selectionSource: ge.ProgrammaticSelection
|
|
@@ -5074,7 +5074,7 @@ function vS(t) {
|
|
|
5074
5074
|
}
|
|
5075
5075
|
}
|
|
5076
5076
|
async function Fo(t) {
|
|
5077
|
-
const { chart: e, listSelectedElements: i, selectionSource: a, errorStrings: o } = t, n =
|
|
5077
|
+
const { chart: e, listSelectedElements: i, selectionSource: a, errorStrings: o } = t, n = O(e.uid, "options"), s = O(e.uid, "config"), r = O(e.uid, "queryObject"), l = _e(r);
|
|
5078
5078
|
if (s && r)
|
|
5079
5079
|
if (i.length === 0)
|
|
5080
5080
|
Xa({
|
|
@@ -5090,8 +5090,8 @@ async function Fo(t) {
|
|
|
5090
5090
|
let h = [], b = [];
|
|
5091
5091
|
const p = /* @__PURE__ */ new Map(), { xAxisField: S } = i[0] ?? {}, C = W(s?.series), x = Z(s?.series), L = di(s?.series ?? []), v = vt(r), T = v.find((R) => R.name === S)?.type, k = v.find((R) => R.name === L[0])?.type;
|
|
5092
5092
|
if (i.forEach((R) => {
|
|
5093
|
-
const { elementDataContext:
|
|
5094
|
-
dataContext:
|
|
5093
|
+
const { elementDataContext: D, yAxisField: $, splitBy: M } = R, B = Li({
|
|
5094
|
+
dataContext: D,
|
|
5095
5095
|
yAxisField: $,
|
|
5096
5096
|
yList: L,
|
|
5097
5097
|
xAxisField: S,
|
|
@@ -5109,12 +5109,12 @@ async function Fo(t) {
|
|
|
5109
5109
|
indexesToSelect: Array.from(new Set(z))
|
|
5110
5110
|
});
|
|
5111
5111
|
}
|
|
5112
|
-
if (!l &&
|
|
5113
|
-
if (u &&
|
|
5114
|
-
b.push(
|
|
5112
|
+
if (!l && D !== void 0)
|
|
5113
|
+
if (u && D[u] !== void 0 && (typeof D[u] == "number" || typeof D[u] == "string"))
|
|
5114
|
+
b.push(D[u]);
|
|
5115
5115
|
else {
|
|
5116
|
-
const z = cr(M) ? pi.uniqueIds : `${pi.uniqueIds}_${C === y.BoxPlotSeries ? Ai({ where: M }) : $}`, X =
|
|
5117
|
-
dataContext:
|
|
5116
|
+
const z = cr(M) ? pi.uniqueIds : `${pi.uniqueIds}_${C === y.BoxPlotSeries ? Ai({ where: M }) : $}`, X = D[z] ?? D[pi.uniqueIds] ?? [], U = md({
|
|
5117
|
+
dataContext: D,
|
|
5118
5118
|
options: n,
|
|
5119
5119
|
xAxisField: S,
|
|
5120
5120
|
yAxisField: $ ?? "",
|
|
@@ -5124,18 +5124,18 @@ async function Fo(t) {
|
|
|
5124
5124
|
chartConfig: s,
|
|
5125
5125
|
queryObject: r
|
|
5126
5126
|
});
|
|
5127
|
-
if (
|
|
5127
|
+
if (D[_.boxPlot.boxPlotOutlierId] || g.push(U), Array.isArray(X) && X.length > 0)
|
|
5128
5128
|
for (const G of X)
|
|
5129
5129
|
b.push(G);
|
|
5130
5130
|
else U && n?.returnSelectionOIDs !== !1 && f.push(U);
|
|
5131
5131
|
}
|
|
5132
5132
|
}), !l && n?.returnSelectionOIDs !== !1 && f.length > 0) {
|
|
5133
|
-
const
|
|
5134
|
-
delete
|
|
5133
|
+
const D = { ...O(e.uid, "queryConfig") };
|
|
5134
|
+
delete D.groupByFieldsForStatistics, delete D.orderByFields, delete D.outStatistics;
|
|
5135
5135
|
const $ = await gd({
|
|
5136
5136
|
whereList: f,
|
|
5137
5137
|
queryObject: r,
|
|
5138
|
-
queryConfig:
|
|
5138
|
+
queryConfig: D,
|
|
5139
5139
|
errorStrings: o
|
|
5140
5140
|
});
|
|
5141
5141
|
if (f.length === i.length)
|
|
@@ -5189,7 +5189,7 @@ async function FS(t, e) {
|
|
|
5189
5189
|
}
|
|
5190
5190
|
}
|
|
5191
5191
|
});
|
|
5192
|
-
const r = Pn(t, o), l = a instanceof Ve || a instanceof lt, c = [], u =
|
|
5192
|
+
const r = Pn(t, o), l = a instanceof Ve || a instanceof lt, c = [], u = O(o.uid, "config");
|
|
5193
5193
|
if (u) {
|
|
5194
5194
|
const d = u.series[0].x ?? "";
|
|
5195
5195
|
o.series.each((f, g) => {
|
|
@@ -5228,7 +5228,7 @@ function AS(t, e) {
|
|
|
5228
5228
|
t.renderer.labels.template.events.on(N.Hit, async (o) => {
|
|
5229
5229
|
t.renderer.labels.template.events.isEnabled(N.Hit) && await FS(o, e);
|
|
5230
5230
|
});
|
|
5231
|
-
const a =
|
|
5231
|
+
const a = O(t.chart.uid, "filterBySelection") === !0 ? qt.default : qt.pointer;
|
|
5232
5232
|
Ms(t, a);
|
|
5233
5233
|
}
|
|
5234
5234
|
}
|
|
@@ -5238,7 +5238,7 @@ function sn(t, e) {
|
|
|
5238
5238
|
t.renderer.labels.template.events.disableType(N.Hit), Ms(t, qt.default);
|
|
5239
5239
|
else {
|
|
5240
5240
|
t.renderer.labels.template.events.enableType(N.Hit);
|
|
5241
|
-
const a =
|
|
5241
|
+
const a = O(t.chart.uid, "filterBySelection") === !0 ? qt.default : qt.pointer;
|
|
5242
5242
|
Ms(t, a);
|
|
5243
5243
|
}
|
|
5244
5244
|
}
|
|
@@ -5267,7 +5267,7 @@ function IS(t) {
|
|
|
5267
5267
|
let n;
|
|
5268
5268
|
e instanceof er || (o ? a === K.SFS ? n = A.verticalSurfaceGuideLabels : n = A.verticalLineGuideLabels : a === K.SFS ? n = A.horizontalSurfaceGuideLabels : n = A.horizontalLineGuideLabels);
|
|
5269
5269
|
const s = { ...i };
|
|
5270
|
-
s.content.rightToLeft = e.axis.rtl,
|
|
5270
|
+
s.content.rightToLeft = e.axis.rtl, Dt({ label: e, labelConfig: s, defaults: n }), e.axis.invalidateLabels();
|
|
5271
5271
|
}
|
|
5272
5272
|
function RS(t, e, i) {
|
|
5273
5273
|
const a = i.chart;
|
|
@@ -5294,9 +5294,9 @@ function RS(t, e, i) {
|
|
|
5294
5294
|
}
|
|
5295
5295
|
return s;
|
|
5296
5296
|
}), t.axisFill.tooltip.events.on(N.Shown, (o) => {
|
|
5297
|
-
const n =
|
|
5297
|
+
const n = O(t.axisFill.axis.chart.uid, "config");
|
|
5298
5298
|
if (n !== void 0) {
|
|
5299
|
-
const s =
|
|
5299
|
+
const s = O(t.axisFill.axis.chart.uid, "isRotated"), l = !Ao(t.axisFill.axis.renderer, s) ? 1 : 0, u = n.axes?.[l]?.guides, { tooltipReverseColor: d } = u?.[e] ?? {};
|
|
5300
5300
|
Lu(o.target, d);
|
|
5301
5301
|
}
|
|
5302
5302
|
});
|
|
@@ -5306,12 +5306,12 @@ function wS(t, e) {
|
|
|
5306
5306
|
const { guideName: a, start: o, end: n, guideIndex: s } = i, { chart: r } = t;
|
|
5307
5307
|
let l = "";
|
|
5308
5308
|
if (r !== void 0) {
|
|
5309
|
-
const c =
|
|
5309
|
+
const c = O(r.uid, "config"), u = O(r.uid, "isRotated"), f = !Ao(t.renderer, u) ? 1 : 0, h = c?.axes?.[f]?.guides;
|
|
5310
5310
|
let b = o, p = n;
|
|
5311
5311
|
if (t instanceof Ve) {
|
|
5312
5312
|
let L = new qc(), v;
|
|
5313
5313
|
if (r !== void 0) {
|
|
5314
|
-
const T =
|
|
5314
|
+
const T = O(t.chart.uid, "formatLocale");
|
|
5315
5315
|
L = ri({
|
|
5316
5316
|
type: y.DateAxisFormat,
|
|
5317
5317
|
iLocale: r.language.locale,
|
|
@@ -5336,13 +5336,13 @@ function wS(t, e) {
|
|
|
5336
5336
|
return l;
|
|
5337
5337
|
};
|
|
5338
5338
|
}
|
|
5339
|
-
function
|
|
5339
|
+
function DS(t) {
|
|
5340
5340
|
const { axis: e, guideTooltipFormatter: i, utilsStrings: a } = t;
|
|
5341
5341
|
Ke(e.uid, {
|
|
5342
5342
|
guideTooltipFormatter: i ?? wS(e, a)
|
|
5343
5343
|
});
|
|
5344
5344
|
}
|
|
5345
|
-
function
|
|
5345
|
+
function OS(t) {
|
|
5346
5346
|
let e = Ca.Value;
|
|
5347
5347
|
return t instanceof Ve ? e = Ca.Date : t instanceof lt && (e = Ca.Category), e;
|
|
5348
5348
|
}
|
|
@@ -5370,7 +5370,7 @@ function Xr(t, e) {
|
|
|
5370
5370
|
const { start: i, end: a } = e ?? {};
|
|
5371
5371
|
let o;
|
|
5372
5372
|
if (e !== void 0 && i !== void 0 && i !== null) {
|
|
5373
|
-
const n =
|
|
5373
|
+
const n = OS(t), s = t instanceof Te ? t.min : void 0, r = t instanceof Te ? t.max : void 0, l = sc({
|
|
5374
5374
|
inputValue: i,
|
|
5375
5375
|
axisType: n,
|
|
5376
5376
|
axisMin: s,
|
|
@@ -5437,7 +5437,7 @@ function BS(t, e) {
|
|
|
5437
5437
|
RS(i, e, t), i.tick !== void 0 && (i.tick.disabled = !0), i.label !== void 0 && (i.label.inside = !0), i.grid !== void 0 && (i.grid.disabled = !0);
|
|
5438
5438
|
}
|
|
5439
5439
|
function NS(t, e) {
|
|
5440
|
-
const { start: i, end: a } = e, o =
|
|
5440
|
+
const { start: i, end: a } = e, o = O(t.uid, "config"), n = br(o);
|
|
5441
5441
|
let s = i !== null ? i : void 0;
|
|
5442
5442
|
s = t.data.find((c) => c[A.originalXValue] === i)?.[n] ?? s;
|
|
5443
5443
|
let l = a !== null ? a : void 0;
|
|
@@ -5456,7 +5456,7 @@ function PS(t, e) {
|
|
|
5456
5456
|
if (i !== void 0) {
|
|
5457
5457
|
const { chart: o } = t?.component ?? {};
|
|
5458
5458
|
let n;
|
|
5459
|
-
if (t instanceof Ta && o instanceof ue &&
|
|
5459
|
+
if (t instanceof Ta && o instanceof ue && O(o.uid, "isNonAggregatedChart") === !0) {
|
|
5460
5460
|
const { modifiedStart: s, modifiedEnd: r } = NS(o, e);
|
|
5461
5461
|
n = {
|
|
5462
5462
|
isValidGuide: !0,
|
|
@@ -5519,7 +5519,7 @@ function zS(t) {
|
|
|
5519
5519
|
const r = At(e, Fe.Guides)[n];
|
|
5520
5520
|
r !== void 0 && WS(r, i[n]);
|
|
5521
5521
|
}
|
|
5522
|
-
|
|
5522
|
+
DS({ axis: e, guideTooltipFormatter: a, utilsStrings: o });
|
|
5523
5523
|
}
|
|
5524
5524
|
}
|
|
5525
5525
|
function HS(t, e) {
|
|
@@ -5548,7 +5548,7 @@ function Wu(t) {
|
|
|
5548
5548
|
}
|
|
5549
5549
|
function XS(t) {
|
|
5550
5550
|
const { target: e } = t;
|
|
5551
|
-
if ((
|
|
5551
|
+
if ((O(e.chart.uid, "config")?.horizontalAxisLabelsBehavior ?? xe.Rotate) === xe.Wrap) {
|
|
5552
5552
|
let o = Number.MAX_SAFE_INTEGER;
|
|
5553
5553
|
e.renderer.labels.each((s) => {
|
|
5554
5554
|
Be(s.uid, "isGuide") !== !0 && s.measuredWidth > 0 && (o = Math.min(
|
|
@@ -5609,7 +5609,7 @@ function US(t) {
|
|
|
5609
5609
|
function jS(t) {
|
|
5610
5610
|
const { target: e } = t;
|
|
5611
5611
|
if (e.chart !== void 0) {
|
|
5612
|
-
const a =
|
|
5612
|
+
const a = O(e.chart.uid, "config")?.axes?.[0].labels;
|
|
5613
5613
|
if ((a?.visible ?? !0) && a !== void 0 && e.renderer.labels.length > 1) {
|
|
5614
5614
|
let n = 0;
|
|
5615
5615
|
e.renderer.labels.each((c) => {
|
|
@@ -5632,7 +5632,7 @@ function qS(t, e = 1) {
|
|
|
5632
5632
|
}
|
|
5633
5633
|
function ZS(t) {
|
|
5634
5634
|
const { target: e } = t;
|
|
5635
|
-
if (
|
|
5635
|
+
if (O(e.chart.uid, "config")?.axes?.[0].labels?.visible !== !1) {
|
|
5636
5636
|
let o = 0;
|
|
5637
5637
|
e.dataItems.each((n) => {
|
|
5638
5638
|
const { label: s, itemIndex: r } = n;
|
|
@@ -5653,7 +5653,7 @@ function KS(t) {
|
|
|
5653
5653
|
if (i !== void 0 && (t.events.off(N.Validated, i), Ke(t.uid, {
|
|
5654
5654
|
debouncedAxisLabelRotationCallback: void 0
|
|
5655
5655
|
})), e !== void 0) {
|
|
5656
|
-
const o =
|
|
5656
|
+
const o = O(e.uid, "config")?.axes?.[0].labels;
|
|
5657
5657
|
if (o !== void 0) {
|
|
5658
5658
|
const n = tn(o.content, e.rtl, A.axisLabel), s = t.renderer.labels.template;
|
|
5659
5659
|
s.rotation = n.angle, s.verticalCenter = n.verticalCenter, s.horizontalCenter = n.horizontalCenter, Number.isFinite(n.yOffset) && (s.dy = n.yOffset);
|
|
@@ -5750,7 +5750,7 @@ function nC(t) {
|
|
|
5750
5750
|
r.axis = e;
|
|
5751
5751
|
const { labels: l } = i, c = e.renderer instanceof Ft && r.rotation === A.rotatedAxisLabel.rotation, u = l;
|
|
5752
5752
|
let d;
|
|
5753
|
-
c ? (u.content.angle = void 0, u.content.horizontalAlignment = void 0, u.content.verticalAlignment = void 0, u.content.yoffset = void 0, d = A.rotatedAxisLabel) : e.renderer instanceof Ft && (a === xe.Stagger || a === xe.Wrap) && (d = { wrap: !0, dy: A.axisLabel.dy }), e.renderer instanceof Wa && o !== xe.Hide && (d = { wrap: !0 }),
|
|
5753
|
+
c ? (u.content.angle = void 0, u.content.horizontalAlignment = void 0, u.content.verticalAlignment = void 0, u.content.yoffset = void 0, d = A.rotatedAxisLabel) : e.renderer instanceof Ft && (a === xe.Stagger || a === xe.Wrap) && (d = { wrap: !0, dy: A.axisLabel.dy }), e.renderer instanceof Wa && o !== xe.Hide && (d = { wrap: !0 }), Dt({ label: r, labelConfig: u, defaults: d }), e.renderer.labels.template.paddingTop = e.renderer instanceof Ft ? 0 : A.axisLabel.dy, r.align = "none", r.valign = "none", oC({
|
|
5754
5754
|
axis: e,
|
|
5755
5755
|
horizontalAxisLabelsBehavior: a,
|
|
5756
5756
|
verticalAxisLabelsBehavior: o,
|
|
@@ -5887,7 +5887,7 @@ function fC(t) {
|
|
|
5887
5887
|
));
|
|
5888
5888
|
}
|
|
5889
5889
|
function mC(t) {
|
|
5890
|
-
const e = t.target, i =
|
|
5890
|
+
const e = t.target, i = O(e.chart.uid, "isRotated");
|
|
5891
5891
|
let a = [];
|
|
5892
5892
|
if (e instanceof Te) {
|
|
5893
5893
|
if (e.renderer instanceof pn)
|
|
@@ -5946,7 +5946,7 @@ function dc(t) {
|
|
|
5946
5946
|
const { axis: e, axisMinimum: i, axisMaximum: a } = t;
|
|
5947
5947
|
let o;
|
|
5948
5948
|
if (e instanceof Te && a !== void 0 && i !== void 0) {
|
|
5949
|
-
const n = e.axisRanges.values, s =
|
|
5949
|
+
const n = e.axisRanges.values, s = O(e.chart.uid, "config"), r = O(e.chart.uid, "isRotated"), c = !Ao(e.renderer, r) ? 1 : 0, d = s?.axes?.[c]?.guides;
|
|
5950
5950
|
for (let f = 0; f < n.length; f += 1) {
|
|
5951
5951
|
const g = n[f], { value: h, endValue: b, axisFill: p, grid: S, label: C } = g;
|
|
5952
5952
|
if (Be(C?.uid, "isGuide") === !0) {
|
|
@@ -5969,7 +5969,7 @@ function pC(t) {
|
|
|
5969
5969
|
axisMinimum: t.min,
|
|
5970
5970
|
axisMaximum: e
|
|
5971
5971
|
}), e))) : t instanceof lt && t.events.on(N.Validated, () => {
|
|
5972
|
-
const e =
|
|
5972
|
+
const e = O(t.chart.uid, "isNonAggregatedChart");
|
|
5973
5973
|
hC({ axis: t, isNonAggregatedChart: e });
|
|
5974
5974
|
});
|
|
5975
5975
|
}
|
|
@@ -5980,9 +5980,9 @@ function oo(t) {
|
|
|
5980
5980
|
r = e.push(new lt());
|
|
5981
5981
|
else if (bt(o))
|
|
5982
5982
|
r = e.push(new Ve());
|
|
5983
|
-
else if (
|
|
5983
|
+
else if (De(o)) {
|
|
5984
5984
|
r = e.push(new Te());
|
|
5985
|
-
const l =
|
|
5985
|
+
const l = O(r.chart.uid, "formatLocale");
|
|
5986
5986
|
r.numberFormatter = ri({
|
|
5987
5987
|
type: y.NumberAxisFormat,
|
|
5988
5988
|
iLocale: r.chart.language.locale,
|
|
@@ -6022,7 +6022,7 @@ function Hu(t) {
|
|
|
6022
6022
|
}));
|
|
6023
6023
|
}
|
|
6024
6024
|
function bC(t) {
|
|
6025
|
-
const { axis: e, isLogarithmic: i, axisConfigIndex: a } = t, o =
|
|
6025
|
+
const { axis: e, isLogarithmic: i, axisConfigIndex: a } = t, o = O(e.chart.uid, "config"), n = i === !0 && Sr({ chartConfig: o, chartData: e.chart.data, axisConfigIndex: a });
|
|
6026
6026
|
(e instanceof Ve || e instanceof Te) && (e.logarithmic = n, e.treatZeroAs = n ? A.treatZeroValueAs : 0);
|
|
6027
6027
|
}
|
|
6028
6028
|
function yC(t, e) {
|
|
@@ -6037,10 +6037,10 @@ function SC(t, e) {
|
|
|
6037
6037
|
function CC(t) {
|
|
6038
6038
|
const { axis: e, axisConfig: i, chartType: a, isSecondaryYAxis: o } = t, n = i?.minimum, s = i?.maximum, r = i?.isLogarithmic ?? !1;
|
|
6039
6039
|
let l = n, c = s;
|
|
6040
|
-
const { chart: u } = e, d =
|
|
6040
|
+
const { chart: u } = e, d = O(u.uid, "config");
|
|
6041
6041
|
let f = 0;
|
|
6042
6042
|
if (!(Number.isFinite(n) && Number.isFinite(s) && s > n && (!r || n > 0)) && u instanceof ue && d !== void 0) {
|
|
6043
|
-
const h =
|
|
6043
|
+
const h = O(u.uid, "isRotated"), b = nt(d), p = Ao(e.renderer, h), S = Hb(u), C = yr({
|
|
6044
6044
|
chartConfig: d,
|
|
6045
6045
|
isSecondaryYAxis: o,
|
|
6046
6046
|
seriesIds: S
|
|
@@ -6158,7 +6158,7 @@ function AC(t, e) {
|
|
|
6158
6158
|
const i = t.renderer instanceof Ft;
|
|
6159
6159
|
t.events.once(N.Validated, () => {
|
|
6160
6160
|
let a = t.renderer instanceof Wa ? A.yAxisTitleLabel : A.xAxisTitleLabel;
|
|
6161
|
-
i && (a = { ...a, dy: a.dy ?? 0 }),
|
|
6161
|
+
i && (a = { ...a, dy: a.dy ?? 0 }), Dt({ label: t.title, labelConfig: e, defaults: a }), zi({
|
|
6162
6162
|
chart: t.chart,
|
|
6163
6163
|
label: t.title,
|
|
6164
6164
|
labelType: t.renderer instanceof Ft ? q.XAxisTitle : q.YAxisTitle
|
|
@@ -6171,11 +6171,11 @@ function TC(t, e) {
|
|
|
6171
6171
|
}
|
|
6172
6172
|
function Gu(t) {
|
|
6173
6173
|
const e = yt(() => {
|
|
6174
|
-
const { chart: i } = t, a =
|
|
6174
|
+
const { chart: i } = t, a = O(i.uid, "config");
|
|
6175
6175
|
if (i !== void 0 && a !== void 0) {
|
|
6176
6176
|
const o = W(a?.series);
|
|
6177
6177
|
if (TC(t, o)) {
|
|
6178
|
-
const n =
|
|
6178
|
+
const n = O(i.uid, "isRotated"), s = nt(a);
|
|
6179
6179
|
s === te.Stacked100 && !t.visible && le(t, !1);
|
|
6180
6180
|
const l = i.xAxes.getIndex(0), c = i.yAxes.getIndex(0), u = i.yAxes.getIndex(1), d = n === !0 ? 1 : 0, f = a.axes?.[d], g = n === !0 ? 0 : 1, h = a.axes?.[g], b = a.axes?.[2];
|
|
6181
6181
|
[
|
|
@@ -6238,7 +6238,7 @@ function Ho(t) {
|
|
|
6238
6238
|
lineSymbol: k,
|
|
6239
6239
|
labels: I,
|
|
6240
6240
|
guides: R,
|
|
6241
|
-
valueFormat:
|
|
6241
|
+
valueFormat: D,
|
|
6242
6242
|
displayZeroLine: $,
|
|
6243
6243
|
displayCursorTooltip: M,
|
|
6244
6244
|
tickSpacing: B,
|
|
@@ -6277,7 +6277,7 @@ function Ho(t) {
|
|
|
6277
6277
|
isXAxis: Ao(e.renderer, g),
|
|
6278
6278
|
chartType: n,
|
|
6279
6279
|
labelsTextSymbol: i.labels.content,
|
|
6280
|
-
formatOptions:
|
|
6280
|
+
formatOptions: D,
|
|
6281
6281
|
overridePercentMultiplication: u === te.Stacked100,
|
|
6282
6282
|
axisValueFormatter: d,
|
|
6283
6283
|
isTimeOnlyField: h,
|
|
@@ -6309,7 +6309,7 @@ function IC(t) {
|
|
|
6309
6309
|
queryObject: h
|
|
6310
6310
|
} = t;
|
|
6311
6311
|
let { axisLabelsBehaviorChanged: b } = t;
|
|
6312
|
-
const p =
|
|
6312
|
+
const p = O(e.uid, "config"), S = p.axes, { horizontalAxisLabelsBehavior: C, verticalAxisLabelsBehavior: x } = p, L = W(p.series), v = nt(p), k = O(e.uid, "fieldList")?.some((Le) => Le.name === p.series[0].x && Le.type === In.TimeOnly) ?? !1, I = dr({ chartConfig: p, queryObject: h, options: d }), R = za(p.series[0]) ? p.series[0].temporalBinning?.outTimeZone : void 0, D = a === !0 ? 1 : 0, $ = a === !0 ? 0 : 1, M = S?.[D], B = S?.[$];
|
|
6313
6313
|
let P = e.xAxes.getIndex(0);
|
|
6314
6314
|
Xu({
|
|
6315
6315
|
chart: e,
|
|
@@ -6342,8 +6342,8 @@ function IC(t) {
|
|
|
6342
6342
|
...ve,
|
|
6343
6343
|
axis: P,
|
|
6344
6344
|
axisConfig: M,
|
|
6345
|
-
axisConfigIndex:
|
|
6346
|
-
axisValueFormatter:
|
|
6345
|
+
axisConfigIndex: D,
|
|
6346
|
+
axisValueFormatter: D === 0 ? l : c,
|
|
6347
6347
|
isTimeOnlyField: k
|
|
6348
6348
|
}), Y !== void 0 && B !== void 0 && Ho({
|
|
6349
6349
|
...ve,
|
|
@@ -6372,11 +6372,11 @@ function IC(t) {
|
|
|
6372
6372
|
}), P !== void 0 && P.ghostLabel.setPropertyValue("disabled", !0), Y !== void 0 && Y.ghostLabel.setPropertyValue("disabled", !0), z !== void 0 && z.ghostLabel.setPropertyValue("disabled", !0);
|
|
6373
6373
|
}
|
|
6374
6374
|
function Xu(t) {
|
|
6375
|
-
const { chart: e, dualAxisChanged: i, rotationChanged: a, timeIntervalInfoWasReset: o, axisLabelsBehaviorChanged: n } = t, s =
|
|
6375
|
+
const { chart: e, dualAxisChanged: i, rotationChanged: a, timeIntervalInfoWasReset: o, axisLabelsBehaviorChanged: n } = t, s = O(e.uid, "config"), { rotated: r, series: l } = s, c = s.axes, u = W(l), d = r === !0 ? 1 : 0, f = r === !0 ? 0 : 1, g = c?.[d]?.valueFormat, h = c?.[f]?.valueFormat, b = e.xAxes.getIndex(0), p = e.yAxes.getIndex(0), S = b === void 0 || a || g !== void 0 && Os({
|
|
6376
6376
|
axis: b,
|
|
6377
6377
|
valueFormat: g,
|
|
6378
6378
|
chartType: u
|
|
6379
|
-
}), C = p === void 0 || a || h !== void 0 &&
|
|
6379
|
+
}), C = p === void 0 || a || h !== void 0 && Os({
|
|
6380
6380
|
axis: p,
|
|
6381
6381
|
valueFormat: h,
|
|
6382
6382
|
chartType: u
|
|
@@ -6463,7 +6463,7 @@ function Yu(t) {
|
|
|
6463
6463
|
numberOfIntervals: u
|
|
6464
6464
|
};
|
|
6465
6465
|
}
|
|
6466
|
-
function
|
|
6466
|
+
function DC(t) {
|
|
6467
6467
|
const { oldConfig: e, axisMax: i, min: a, max: o, labelsIncrement: n, numberOfIntervals: s, valueFormat: r, minimumFromField: l } = t, c = jo(r);
|
|
6468
6468
|
let u = !0;
|
|
6469
6469
|
if (e !== void 0) {
|
|
@@ -6500,11 +6500,11 @@ function Ni(t, e) {
|
|
|
6500
6500
|
break;
|
|
6501
6501
|
}
|
|
6502
6502
|
if (i !== void 0) {
|
|
6503
|
-
let a =
|
|
6503
|
+
let a = O(t.uid, i);
|
|
6504
6504
|
a !== void 0 && (a.dispose(), a = void 0, ae(t.uid, { [i]: void 0 }));
|
|
6505
6505
|
}
|
|
6506
6506
|
}
|
|
6507
|
-
function
|
|
6507
|
+
function OC(t) {
|
|
6508
6508
|
const { chart: e, labelList: i, scaleToAdjust: a, fontSize: o, type: n, axisConfig: s } = t;
|
|
6509
6509
|
let r = Number.NaN, l = Number.NaN, c = a;
|
|
6510
6510
|
if (n === qe.InnerLabel) {
|
|
@@ -6542,7 +6542,7 @@ function Ur(t) {
|
|
|
6542
6542
|
const u = c / l;
|
|
6543
6543
|
if (u > 0) {
|
|
6544
6544
|
const { axisLabelToInnerChartRatio: d, innerLabelToInnerChartRatio: f } = A.gauge, g = i === qe.InnerLabel ? f : d;
|
|
6545
|
-
r = o * (g / u), r =
|
|
6545
|
+
r = o * (g / u), r = OC({
|
|
6546
6546
|
chart: e,
|
|
6547
6547
|
labelList: a,
|
|
6548
6548
|
axisConfig: s,
|
|
@@ -6595,7 +6595,7 @@ function $C(t) {
|
|
|
6595
6595
|
}
|
|
6596
6596
|
}
|
|
6597
6597
|
function BC(t, e) {
|
|
6598
|
-
const a =
|
|
6598
|
+
const a = O(t.uid, "config")?.axes?.[0];
|
|
6599
6599
|
if (a?.innerLabel?.visible !== !1 && a?.innerLabel?.content?.font?.size === void 0) {
|
|
6600
6600
|
const o = t.xAxes.getIndex(0)?.measuredWidth;
|
|
6601
6601
|
if (o !== void 0 && o > 0) {
|
|
@@ -6628,7 +6628,7 @@ function Ws(t) {
|
|
|
6628
6628
|
return t?.labels.content.font?.size === void 0 && t?.onlyShowFirstAndLastLabels === !0;
|
|
6629
6629
|
}
|
|
6630
6630
|
function PC(t) {
|
|
6631
|
-
const e = t.chart, i =
|
|
6631
|
+
const e = t.chart, i = O(e.uid, "config")?.axes?.[0], a = At(t, Fe.GaugeFirstAndLastGuides);
|
|
6632
6632
|
if (zn(a)) {
|
|
6633
6633
|
const o = a.map((l) => l.label), n = o[0].scale, s = o[0].fontSize, r = Ur({
|
|
6634
6634
|
chart: e,
|
|
@@ -6669,7 +6669,7 @@ function VC(t) {
|
|
|
6669
6669
|
function Es(t, e) {
|
|
6670
6670
|
const i = t.xAxes.getIndex(0);
|
|
6671
6671
|
if (i !== void 0) {
|
|
6672
|
-
const a = e ??
|
|
6672
|
+
const a = e ?? O(t.uid, "config"), { onlyShowFirstAndLastLabels: o } = a?.axes?.[0] ?? {};
|
|
6673
6673
|
if (!i.renderer.labels.template.visible || o === !0)
|
|
6674
6674
|
t.radius = new Yo(A.gauge.radius);
|
|
6675
6675
|
else {
|
|
@@ -6705,7 +6705,7 @@ function Es(t, e) {
|
|
|
6705
6705
|
const c = (s.bbox.width + 5) * s.scale, u = (r.bbox.height + 5) * r.scale, d = typeof i.renderer.labels.template.radius == "number" ? i.renderer.labels.template.radius : i.renderer.labels.template.radius.value, f = (c + d) * 2 + t.radarContainer.measuredWidth + No(t.paddingLeft) + No(t.paddingRight), g = 80, h = 170, b = t.htmlContainer?.clientHeight ?? 0, p = Math.max(
|
|
6706
6706
|
0,
|
|
6707
6707
|
Math.min(1, (b - g) / (h - g))
|
|
6708
|
-
), S = t.radarContainer.measuredHeight + (u + d * p) * 2 + No(t.paddingTop) + No(t.paddingBottom), C = t.measuredWidth, x = t.measuredHeight, L = C / f, v = x / S, T = (typeof t.radius == "number" ? t.radius : t.radius.value) * 100, k = Number((T * L).toFixed(2)), I = Number((T * v).toFixed(2)), R = k / T,
|
|
6708
|
+
), S = t.radarContainer.measuredHeight + (u + d * p) * 2 + No(t.paddingTop) + No(t.paddingBottom), C = t.measuredWidth, x = t.measuredHeight, L = C / f, v = x / S, T = (typeof t.radius == "number" ? t.radius : t.radius.value) * 100, k = Number((T * L).toFixed(2)), I = Number((T * v).toFixed(2)), R = k / T, D = I / T, $ = t.radarContainer.measuredWidth * R, M = t.radarContainer.measuredWidth * D, [B, P] = $ < M ? [k, R] : [I, D];
|
|
6709
6709
|
Number.isFinite(B) && B >= 10 && B <= A.gauge.radius && (P < 0.98 || P > 1.02) && (t.radius = new Yo(B));
|
|
6710
6710
|
}
|
|
6711
6711
|
}
|
|
@@ -6727,7 +6727,7 @@ function Uu(t) {
|
|
|
6727
6727
|
function EC(t, e) {
|
|
6728
6728
|
let i = e ?? null;
|
|
6729
6729
|
if (e != null) {
|
|
6730
|
-
const a = t.xAxes.getIndex(0), o =
|
|
6730
|
+
const a = t.xAxes.getIndex(0), o = O(t.uid, "config"), n = a.min ?? o?.axes?.[0].minimum ?? A.gauge.axisMinimum, s = a.max ?? o?.axes?.[0].maximum ?? A.gauge.axisMaximum;
|
|
6731
6731
|
e < n ? i = n : e > s && (i = s);
|
|
6732
6732
|
}
|
|
6733
6733
|
return i;
|
|
@@ -6749,8 +6749,8 @@ function _C(t) {
|
|
|
6749
6749
|
(r) => Be(r.uid, "isGaugeAxisInnerLabel") === !0
|
|
6750
6750
|
);
|
|
6751
6751
|
if (s !== void 0) {
|
|
6752
|
-
|
|
6753
|
-
const r =
|
|
6752
|
+
Dt({ label: s, labelConfig: i, defaults: A.gaugeInnerLabel });
|
|
6753
|
+
const r = O(e.uid, "formatLocale");
|
|
6754
6754
|
s.html = JC({
|
|
6755
6755
|
valueFormat: a,
|
|
6756
6756
|
iLocale: e.language.locale,
|
|
@@ -6790,9 +6790,9 @@ function UC(t) {
|
|
|
6790
6790
|
if (!a) {
|
|
6791
6791
|
const r = At(i, Fe.GaugeTicksWithLabels);
|
|
6792
6792
|
if (zn(r)) {
|
|
6793
|
-
const l =
|
|
6793
|
+
const l = O(e.uid, "formatLocale");
|
|
6794
6794
|
r.forEach((c) => {
|
|
6795
|
-
|
|
6795
|
+
Dt({ label: c.label, labelConfig: n }), Fn(c) && (c.label.html = ju({
|
|
6796
6796
|
valueFormat: o,
|
|
6797
6797
|
iLocale: e.language.locale,
|
|
6798
6798
|
formatLocale: l,
|
|
@@ -6827,7 +6827,7 @@ function ZC(t) {
|
|
|
6827
6827
|
i.label.adapter.keys().includes("dx") || i.label.adapter.add("dx", (a) => {
|
|
6828
6828
|
let o = a;
|
|
6829
6829
|
if (i.label.measuredWidth > 0) {
|
|
6830
|
-
const n =
|
|
6830
|
+
const n = O(t.chart.uid, "config")?.axes?.[0], s = Be(i.label.uid, "originalWidth"), r = Ws(n) && s !== void 0 && s === i.label.measuredWidth && i.label.scale !== 1;
|
|
6831
6831
|
o = Math.round(
|
|
6832
6832
|
(r ? s * i.label.scale : i.label.measuredWidth) / 2
|
|
6833
6833
|
), i.id === Ia.gaugeLastLabelId && (o *= -1);
|
|
@@ -6836,7 +6836,7 @@ function ZC(t) {
|
|
|
6836
6836
|
}), i.label.adapter.keys().includes("dy") || i.label.adapter.add("dy", (a) => {
|
|
6837
6837
|
let o = a;
|
|
6838
6838
|
if (i.label.measuredHeight > 0) {
|
|
6839
|
-
const n =
|
|
6839
|
+
const n = O(t.chart.uid, "config")?.axes?.[0], s = Be(i.label.uid, "originalHeight"), r = Ws(n) && s !== void 0 && s === i.label.measuredHeight && i.label.scale !== 1;
|
|
6840
6840
|
o = Math.round(
|
|
6841
6841
|
(r ? s * i.label.scale : i.label.measuredHeight) / 2
|
|
6842
6842
|
);
|
|
@@ -6848,7 +6848,7 @@ function ZC(t) {
|
|
|
6848
6848
|
function KC(t) {
|
|
6849
6849
|
const { chart: e, axis: i, onlyShowFirstAndLastLabels: a, valueFormat: o, gaugeLabelConfigContent: n, axisValueFormatter: s } = t;
|
|
6850
6850
|
if (a) {
|
|
6851
|
-
const r = At(i, Fe.GaugeFirstAndLastGuides), l =
|
|
6851
|
+
const r = At(i, Fe.GaugeFirstAndLastGuides), l = O(e.uid, "formatLocale");
|
|
6852
6852
|
r.forEach((c) => {
|
|
6853
6853
|
c?.label !== void 0 && Fn(c) && (c.label.html = ju({
|
|
6854
6854
|
valueFormat: o,
|
|
@@ -6917,10 +6917,10 @@ function ex(t) {
|
|
|
6917
6917
|
const { chart: e, chartConfig: i, data: a, axisValueFormatter: o, gaugeInnerLabelFormatter: n, utilsStrings: s, errorStrings: r } = t, { axes: l } = i, c = W(i.series), u = l?.[0], d = e.xAxes.getIndex(0);
|
|
6918
6918
|
if (d !== void 0 && u !== void 0) {
|
|
6919
6919
|
const { valueFormat: f, needle: g, innerLabel: h, onlyShowFirstAndLastLabels: b } = u;
|
|
6920
|
-
|
|
6920
|
+
Os({ axis: d, valueFormat: f, chartType: c }) && oo({ isXAxis: !0, axes: e.xAxes, valueFormat: f, errorStrings: r });
|
|
6921
6921
|
const { min: p, max: S, labelsIncrement: C, numberOfIntervals: x } = Yu(u);
|
|
6922
|
-
|
|
6923
|
-
oldConfig:
|
|
6922
|
+
DC({
|
|
6923
|
+
oldConfig: O(d.chart.uid, "config"),
|
|
6924
6924
|
axisMax: d.max,
|
|
6925
6925
|
min: p,
|
|
6926
6926
|
max: S,
|
|
@@ -6993,7 +6993,7 @@ function ix(t) {
|
|
|
6993
6993
|
}
|
|
6994
6994
|
function _n(t, e) {
|
|
6995
6995
|
const { title: i, subtitle: a, headerContainer: o } = t;
|
|
6996
|
-
|
|
6996
|
+
Dt({ label: i, labelConfig: e?.title, defaults: A.titleLabel }), Dt({ label: a, labelConfig: e?.subtitle, defaults: A.titleLabel }), Ru(o, i.disabled && a.disabled), zi({
|
|
6997
6997
|
chart: o.parent,
|
|
6998
6998
|
label: i,
|
|
6999
6999
|
labelType: q.ChartTitle
|
|
@@ -7009,7 +7009,7 @@ function ax(t) {
|
|
|
7009
7009
|
}
|
|
7010
7010
|
function Gn(t, e) {
|
|
7011
7011
|
const { footer: i, footerContainer: a } = t;
|
|
7012
|
-
|
|
7012
|
+
Dt({ label: i, labelConfig: e, defaults: A.footer }), Ru(a, i.disabled || e?.content.text === ""), zi({
|
|
7013
7013
|
chart: a.parent,
|
|
7014
7014
|
label: i,
|
|
7015
7015
|
labelType: q.ChartFooter
|
|
@@ -7065,7 +7065,7 @@ function lx(t, e) {
|
|
|
7065
7065
|
function Zu(t) {
|
|
7066
7066
|
const { chart: e, scrollbarXConfig: i, scrollbarYConfig: a } = t;
|
|
7067
7067
|
if (e instanceof ue) {
|
|
7068
|
-
const o =
|
|
7068
|
+
const o = O(e.uid, "isRotated");
|
|
7069
7069
|
(e.scrollbarX === void 0 || e.scrollbarY === void 0) && qu(e);
|
|
7070
7070
|
const { scrollbarX: n, scrollbarY: s } = e;
|
|
7071
7071
|
[n, s].forEach((r) => {
|
|
@@ -7089,7 +7089,7 @@ function dx(t, e, i, a) {
|
|
|
7089
7089
|
let o = 0;
|
|
7090
7090
|
const n = t.dataItem;
|
|
7091
7091
|
if (e && n) {
|
|
7092
|
-
const s =
|
|
7092
|
+
const s = O(e.uid, "config"), r = s?.roundCorners;
|
|
7093
7093
|
if (r?.rounded === !0) {
|
|
7094
7094
|
const l = n.component ?? a, c = l.dataFields.valueY ?? l.dataFields.valueX ?? "", u = Number(n.dataContext?.[c]);
|
|
7095
7095
|
if (Number.isFinite(u) && u !== 0) {
|
|
@@ -7193,7 +7193,7 @@ function mx(t) {
|
|
|
7193
7193
|
return c.size <= 1 && (u = h.symbolWithColorInfo ?? d), cx(e, l), u;
|
|
7194
7194
|
}
|
|
7195
7195
|
function gx(t) {
|
|
7196
|
-
const { series: e, seriesSymbolMapForEvent: i, seriesIndexMapper: a, seriesIndex: o, colorMatch: n, rendererType: s } = t, r = t.seriesConfig, l =
|
|
7196
|
+
const { series: e, seriesSymbolMapForEvent: i, seriesIndexMapper: a, seriesIndex: o, colorMatch: n, rendererType: s } = t, r = t.seriesConfig, l = O(e.chart.uid, "config"), c = l?.series.length ?? 0, u = Z(l?.series), d = mx({
|
|
7197
7197
|
series: e,
|
|
7198
7198
|
seriesConfig: r,
|
|
7199
7199
|
seriesIndex: o,
|
|
@@ -7221,7 +7221,7 @@ function Ku(t) {
|
|
|
7221
7221
|
seriesIndex: l,
|
|
7222
7222
|
seriesSymbolMapForEvent: c,
|
|
7223
7223
|
queryObject: u
|
|
7224
|
-
} = t, { name: d } = e, f =
|
|
7224
|
+
} = t, { name: d } = e, f = O(i.chart.uid, "config"), g = wt({ config: f }), h = Z(f?.series);
|
|
7225
7225
|
le(i, e.visible);
|
|
7226
7226
|
let b = d;
|
|
7227
7227
|
const p = i.dataFields?.customValue ?? "";
|
|
@@ -7386,7 +7386,7 @@ function xx(t) {
|
|
|
7386
7386
|
const { pieSeries: e, seriesConfig: i, dataLabelFormatter: a } = t, { dataLabels: o } = i, n = i.dataLabelsOffset ?? A.pieChart.dataLabelsOffset, s = i.dataLabelsInside ?? A.pieChart.dataLabelsInside;
|
|
7387
7387
|
Xt(e.uid, {
|
|
7388
7388
|
pieChartDataLabelFormatter: a ?? Cx(e, i)
|
|
7389
|
-
}),
|
|
7389
|
+
}), Dt({
|
|
7390
7390
|
label: e.labels.template,
|
|
7391
7391
|
labelConfig: o,
|
|
7392
7392
|
defaults: {
|
|
@@ -7446,7 +7446,7 @@ function Fx(t) {
|
|
|
7446
7446
|
let o = i ?? "";
|
|
7447
7447
|
const { chart: n } = t;
|
|
7448
7448
|
if (n !== void 0 && a.tooltip !== void 0) {
|
|
7449
|
-
const s =
|
|
7449
|
+
const s = O(n.uid, "config"), { dataTooltipVisible: r } = s?.series[0] ?? {};
|
|
7450
7450
|
if (r === !1)
|
|
7451
7451
|
a.tooltip.disabled = !0;
|
|
7452
7452
|
else {
|
|
@@ -7544,7 +7544,7 @@ function wx(t, e) {
|
|
|
7544
7544
|
visible: !a
|
|
7545
7545
|
});
|
|
7546
7546
|
}
|
|
7547
|
-
function
|
|
7547
|
+
function Dx(t) {
|
|
7548
7548
|
const { chart: e, seriesConfig: i, series: a, pieSlicesSymbols: o, options: n } = t, { tooltipFormatter: s, dataLabelFormatter: r } = n ?? {}, { x: l, y: c, id: u, innerRadius: d, startAngle: f, endAngle: g } = i;
|
|
7549
7549
|
a.id = u;
|
|
7550
7550
|
const h = Z([i]), b = A.pieChart;
|
|
@@ -7575,12 +7575,12 @@ function Qu(t) {
|
|
|
7575
7575
|
function fc(t) {
|
|
7576
7576
|
t instanceof Tt ? qo(t.htmlContainer) : t instanceof Ks && t.series.each((e) => {
|
|
7577
7577
|
const i = e.events.on(N.Validated, () => {
|
|
7578
|
-
t && Qu(t.series) && !
|
|
7578
|
+
t && Qu(t.series) && !O(t.uid, "renderingCompleteNotified") && (ae(t.uid, { renderingCompleteNotified: !0 }), Yb(t), qo(t.htmlContainer), i.dispose());
|
|
7579
7579
|
});
|
|
7580
7580
|
});
|
|
7581
7581
|
}
|
|
7582
7582
|
async function mc(t) {
|
|
7583
|
-
const { chart: e, hitSlice: i, multiSelect: a = !1, errorStrings: o } = t, n = [], s =
|
|
7583
|
+
const { chart: e, hitSlice: i, multiSelect: a = !1, errorStrings: o } = t, n = [], s = O(e.uid, "config"), r = e.series.getIndex(0);
|
|
7584
7584
|
if (s && r !== void 0) {
|
|
7585
7585
|
const l = lu(r), c = Yi(r), u = {
|
|
7586
7586
|
element: {},
|
|
@@ -7623,7 +7623,7 @@ async function mc(t) {
|
|
|
7623
7623
|
});
|
|
7624
7624
|
}
|
|
7625
7625
|
}
|
|
7626
|
-
function
|
|
7626
|
+
function Ox(t, e) {
|
|
7627
7627
|
const i = async (n) => {
|
|
7628
7628
|
const { target: s } = n;
|
|
7629
7629
|
if (yu(t) && t.series.getIndex(0)?.slices.template.togglable) {
|
|
@@ -7666,11 +7666,11 @@ function hc(t) {
|
|
|
7666
7666
|
function $x(t, e) {
|
|
7667
7667
|
t !== void 0 && e !== void 0 && window.IntersectionObserver !== void 0 && new IntersectionObserver(
|
|
7668
7668
|
(a) => {
|
|
7669
|
-
a[0].intersectionRatio > 0 && (
|
|
7669
|
+
a[0].intersectionRatio > 0 && (O(t.uid, "chartWasCreatedWhileHidden") === !0 ? (t instanceof Me && t.events.once(N.Validated, () => {
|
|
7670
7670
|
t.isDisposed() || rn(t), t.reinit();
|
|
7671
7671
|
}), t.reinit(), t instanceof ue && En(t), ae(t.uid, {
|
|
7672
7672
|
chartWasCreatedWhileHidden: !1
|
|
7673
|
-
})) :
|
|
7673
|
+
})) : O(t.uid, "chartWasUpdatedWhileHidden") === !0 && (t instanceof Me && t.events.once(N.Validated, () => {
|
|
7674
7674
|
t.isDisposed() || rn(t), t.reinit();
|
|
7675
7675
|
}), t.reinit(), ae(t.uid, {
|
|
7676
7676
|
chartWasUpdatedWhileHidden: !1
|
|
@@ -7682,10 +7682,10 @@ function $x(t, e) {
|
|
|
7682
7682
|
).observe(e);
|
|
7683
7683
|
}
|
|
7684
7684
|
function rn(t) {
|
|
7685
|
-
const e =
|
|
7685
|
+
const e = O(t.uid, "config");
|
|
7686
7686
|
if (e !== void 0) {
|
|
7687
7687
|
const i = gt(
|
|
7688
|
-
|
|
7688
|
+
O(t.uid, "pieChartRadius") ?? A.pieChart.chartOptimizedRadius
|
|
7689
7689
|
);
|
|
7690
7690
|
let a = i;
|
|
7691
7691
|
const { series: o } = e, {
|
|
@@ -7759,7 +7759,7 @@ function tf(t) {
|
|
|
7759
7759
|
Ju(t), ef(t);
|
|
7760
7760
|
else if (!(t instanceof Tt)) {
|
|
7761
7761
|
const e = () => {
|
|
7762
|
-
const a =
|
|
7762
|
+
const a = O(t.uid, "config"), {
|
|
7763
7763
|
chartPaddingMinSize: o,
|
|
7764
7764
|
chartPaddingRightWhenLegendNotOnRight: n,
|
|
7765
7765
|
chartContainerPaddingTopWhenRotated: s,
|
|
@@ -7809,9 +7809,9 @@ function jr(t) {
|
|
|
7809
7809
|
function Xn(t) {
|
|
7810
7810
|
const { chart: e, actionMode: i, cursorRange: a } = t;
|
|
7811
7811
|
if ($t(e)) {
|
|
7812
|
-
const o = i ??
|
|
7812
|
+
const o = i ?? O(e.uid, "actionMode") ?? A.actionMode;
|
|
7813
7813
|
ae(e.uid, { actionMode: o });
|
|
7814
|
-
const n =
|
|
7814
|
+
const n = O(e.uid, "filterBySelection");
|
|
7815
7815
|
switch (o) {
|
|
7816
7816
|
case J.MonoSelection:
|
|
7817
7817
|
case J.MultiSelection:
|
|
@@ -7893,7 +7893,7 @@ function qr(t) {
|
|
|
7893
7893
|
isRotated: r,
|
|
7894
7894
|
dualAxisChanged: l,
|
|
7895
7895
|
timeIntervalInfoWasReset: c,
|
|
7896
|
-
timeIntervalInfo: u?.timeIntervalInfo ??
|
|
7896
|
+
timeIntervalInfo: u?.timeIntervalInfo ?? O(e.uid, "timeIntervalInfo"),
|
|
7897
7897
|
guideTooltipFormatter: f,
|
|
7898
7898
|
xAxisLabelFormatter: g,
|
|
7899
7899
|
yAxisLabelFormatter: h,
|
|
@@ -7990,8 +7990,8 @@ function Zr(t) {
|
|
|
7990
7990
|
seriesWereReinitialized: C,
|
|
7991
7991
|
utilsStrings: x,
|
|
7992
7992
|
errorStrings: L
|
|
7993
|
-
} = t, v = e.series.values, T = /* @__PURE__ */ new Map(), k = i.series.length, I = _i(i), R = nt(i),
|
|
7994
|
-
e instanceof ue &&
|
|
7993
|
+
} = t, v = e.series.values, T = /* @__PURE__ */ new Map(), k = i.series.length, I = _i(i), R = nt(i), D = W(i.series), $ = vt(f, g?.popupTemplateFieldInfosEnabled), M = it(f), B = mr(n, _e(M) ? void 0 : M?.renderer);
|
|
7994
|
+
e instanceof ue && D === y.BoxPlotSeries && (r || h || b || l || C) && Qy(e, d), a.forEach((P, Y) => {
|
|
7995
7995
|
const z = W([P]), X = v[Y], U = {
|
|
7996
7996
|
numberOfSeries: k,
|
|
7997
7997
|
series: X,
|
|
@@ -8045,7 +8045,7 @@ function Zr(t) {
|
|
|
8045
8045
|
});
|
|
8046
8046
|
break;
|
|
8047
8047
|
case y.PieSeries:
|
|
8048
|
-
|
|
8048
|
+
Dx({
|
|
8049
8049
|
...U,
|
|
8050
8050
|
chart: e,
|
|
8051
8051
|
pieSlicesSymbols: S,
|
|
@@ -8096,9 +8096,9 @@ function Kr(t) {
|
|
|
8096
8096
|
timeIntervalInfo: v?.timeIntervalInfo,
|
|
8097
8097
|
serverLimitReached: v?.serverLimitReached
|
|
8098
8098
|
});
|
|
8099
|
-
const
|
|
8099
|
+
const D = /* @__PURE__ */ new Map();
|
|
8100
8100
|
e.series.forEach((Le, et) => {
|
|
8101
|
-
|
|
8101
|
+
D.set(Le.id, et);
|
|
8102
8102
|
});
|
|
8103
8103
|
const $ = jt(v);
|
|
8104
8104
|
$ !== void 0 && (i.data = $);
|
|
@@ -8145,7 +8145,7 @@ function Kr(t) {
|
|
|
8145
8145
|
}), Zr({
|
|
8146
8146
|
chart: i,
|
|
8147
8147
|
chartConfig: e,
|
|
8148
|
-
seriesIndexMapper:
|
|
8148
|
+
seriesIndexMapper: D,
|
|
8149
8149
|
rotationChanged: !1,
|
|
8150
8150
|
queryObject: r,
|
|
8151
8151
|
chartData: v,
|
|
@@ -8227,7 +8227,7 @@ function Ex(t) {
|
|
|
8227
8227
|
config: ke(i),
|
|
8228
8228
|
queryObject: a,
|
|
8229
8229
|
filterBySelection: u?.filterBySelection
|
|
8230
|
-
}),
|
|
8230
|
+
}), Ox(f, r), { chart: f, chartElements: h };
|
|
8231
8231
|
}
|
|
8232
8232
|
function zx(t) {
|
|
8233
8233
|
const {
|
|
@@ -8272,11 +8272,11 @@ function Hx(t) {
|
|
|
8272
8272
|
queryObject: u,
|
|
8273
8273
|
utilsStrings: d,
|
|
8274
8274
|
errorStrings: f
|
|
8275
|
-
} = t, { guideTooltipFormatter: g } = r ?? {}, h =
|
|
8275
|
+
} = t, { guideTooltipFormatter: g } = r ?? {}, h = O(i.uid, "config"), b = h?.series, p = e.series, S = W(p), C = wt({ config: e });
|
|
8276
8276
|
ae(i.uid, { config: ke(e), isRotated: C }), ae(i.uid, { filterBySelection: r?.filterBySelection }), Xn({ chart: i, actionMode: r?.actionMode, cursorRange: r?.cursorRange });
|
|
8277
8277
|
const { xOrYChanged: x, layerChanged: L } = n?.common ?? {};
|
|
8278
8278
|
let { numberOfSeriesChanged: v } = n?.common ?? {};
|
|
8279
|
-
const T = vd(h, e), k = Ld(h, e), I = gg(h, e), R = hg(h, e),
|
|
8279
|
+
const T = vd(h, e), k = Ld(h, e), I = gg(h, e), R = hg(h, e), D = JSON.stringify(Zo(b)) !== JSON.stringify(Zo(p));
|
|
8280
8280
|
let $ = !1, M = !1;
|
|
8281
8281
|
Wi(e) && Wi(h) && ($ = pg(h, e), M = bg(h, e));
|
|
8282
8282
|
const B = An({
|
|
@@ -8335,7 +8335,7 @@ function Hx(t) {
|
|
|
8335
8335
|
});
|
|
8336
8336
|
const E = S === y.BoxPlotSeries && (yg(p, b) || Sg(p, b));
|
|
8337
8337
|
let ee = !1;
|
|
8338
|
-
(i.series === void 0 || i.series.length === 0 || x || L || v ||
|
|
8338
|
+
(i.series === void 0 || i.series.length === 0 || x || L || v || D || (S === y.BarSeries || S === y.LineSeries || S === y.RadarSeries || S === y.ComboLineAndBarSeries) && i.series.length !== e.series.length || Y || R || // NOTE: This fix is here to resolve the issue: https://devtopia.esri.com/webgis/arcgis-charts/issues/6537
|
|
8339
8339
|
// TODO: find a better way to order legends for box plot with split by field rather than re-initializing the series in the future.
|
|
8340
8340
|
E || n?.boxPlot?.showMeanChanged) && (ee = !0, !o && (k || E || Y) && i.invalidateData(), af({
|
|
8341
8341
|
chart: i,
|
|
@@ -8387,7 +8387,7 @@ function _x(t) {
|
|
|
8387
8387
|
dataInfo: l,
|
|
8388
8388
|
utilsStrings: c,
|
|
8389
8389
|
errorStrings: u
|
|
8390
|
-
} = t, d =
|
|
8390
|
+
} = t, d = O(e.uid, "config"), f = d?.series, g = o?.series, h = An({ oldConfig: d, newConfig: o, dataWasUpdated: a }), b = Mr(f, g), { count: p, data: S, queryConfig: C } = l ?? {}, x = jt(S);
|
|
8391
8391
|
ae(e.uid, { filterBySelection: r?.filterBySelection, config: ke(o) });
|
|
8392
8392
|
const L = x !== void 0 && (e.data.length !== x.length || Qd(e.data, x));
|
|
8393
8393
|
L && (ae(e.uid, { elementCount: p, queryConfig: C }), e.data = x), (h || b) && e.validateData(), Gt({
|
|
@@ -8551,7 +8551,7 @@ function Yx(t) {
|
|
|
8551
8551
|
const {
|
|
8552
8552
|
chartConfig: I,
|
|
8553
8553
|
dataWasUpdated: R,
|
|
8554
|
-
dataUpdateDetails:
|
|
8554
|
+
dataUpdateDetails: D,
|
|
8555
8555
|
queryObject: $,
|
|
8556
8556
|
options: M,
|
|
8557
8557
|
t9nStrings: { utilsStrings: B },
|
|
@@ -8559,7 +8559,7 @@ function Yx(t) {
|
|
|
8559
8559
|
hasSeriesFilteredOut: Y,
|
|
8560
8560
|
pieSlicesSymbols: z,
|
|
8561
8561
|
dataInfo: X
|
|
8562
|
-
} = k, U =
|
|
8562
|
+
} = k, U = O(p.uid, "config"), G = I?.series, j = G !== void 0 ? W(G) : void 0;
|
|
8563
8563
|
if (p.isDisposed() || S === void 0 || !xd(U, I))
|
|
8564
8564
|
throw new gi(ao.ChartDisposed);
|
|
8565
8565
|
switch (j) {
|
|
@@ -8572,7 +8572,7 @@ function Yx(t) {
|
|
|
8572
8572
|
chartElements: S,
|
|
8573
8573
|
queryObject: $,
|
|
8574
8574
|
dataWasUpdated: R,
|
|
8575
|
-
dataUpdateDetails:
|
|
8575
|
+
dataUpdateDetails: D,
|
|
8576
8576
|
dataInfo: X,
|
|
8577
8577
|
newConfig: I,
|
|
8578
8578
|
configWithAllSeries: P,
|
|
@@ -8615,7 +8615,7 @@ function Yx(t) {
|
|
|
8615
8615
|
const {
|
|
8616
8616
|
chartConfig: I,
|
|
8617
8617
|
options: R,
|
|
8618
|
-
dataWasUpdated:
|
|
8618
|
+
dataWasUpdated: D,
|
|
8619
8619
|
dataUpdateDetails: $,
|
|
8620
8620
|
configWithAllSeries: M,
|
|
8621
8621
|
hasSeriesFilteredOut: B,
|
|
@@ -8639,7 +8639,7 @@ function Yx(t) {
|
|
|
8639
8639
|
}), x({
|
|
8640
8640
|
chartConfig: I,
|
|
8641
8641
|
options: R,
|
|
8642
|
-
dataWasUpdated:
|
|
8642
|
+
dataWasUpdated: D,
|
|
8643
8643
|
dataUpdateDetails: $,
|
|
8644
8644
|
pieSlicesSymbols: P,
|
|
8645
8645
|
t9nStrings: U,
|
|
@@ -8651,7 +8651,7 @@ function Yx(t) {
|
|
|
8651
8651
|
}
|
|
8652
8652
|
async function v(k) {
|
|
8653
8653
|
if ($t(p) && (p instanceof ue || p instanceof Me)) {
|
|
8654
|
-
const I =
|
|
8654
|
+
const I = O(p.uid, "actionMode");
|
|
8655
8655
|
I !== J.MonoSelection && I !== J.None && await Qb(p, k);
|
|
8656
8656
|
}
|
|
8657
8657
|
}
|
|
@@ -8709,11 +8709,11 @@ function Qx(t) {
|
|
|
8709
8709
|
let e;
|
|
8710
8710
|
if (t != null) {
|
|
8711
8711
|
const i = t;
|
|
8712
|
-
if (i instanceof
|
|
8712
|
+
if (i instanceof Da)
|
|
8713
8713
|
e = i.chart;
|
|
8714
8714
|
else {
|
|
8715
8715
|
const a = i.dataItem?.component;
|
|
8716
|
-
a instanceof
|
|
8716
|
+
a instanceof Da && (e = a.chart);
|
|
8717
8717
|
}
|
|
8718
8718
|
}
|
|
8719
8719
|
return e;
|
|
@@ -8990,8 +8990,8 @@ function df(t, e) {
|
|
|
8990
8990
|
}
|
|
8991
8991
|
function uf(t, e) {
|
|
8992
8992
|
let i = t;
|
|
8993
|
-
const [a, o, n, s] = t?.color ?? e ?? F.color, r = [a, o, n, s];
|
|
8994
|
-
return i == null ? i = { type: K.SLS, color:
|
|
8993
|
+
const [a, o, n, s] = t?.color ?? e ?? F.color, r = [a, o, n, s], [l, c, u, d] = e ?? F.color, f = [l, c, u, d], g = i?.color?.[3];
|
|
8994
|
+
return i == null || i.width === 0 || g === 0 ? i = { type: K.SLS, color: f } : i.color === void 0 && (i.color = r), df(i, !1);
|
|
8995
8995
|
}
|
|
8996
8996
|
function gv(t, e, i) {
|
|
8997
8997
|
const { color: a, outline: o, style: n } = t, s = Q(a), r = Td(n);
|
|
@@ -9050,7 +9050,7 @@ function ff(t, e) {
|
|
|
9050
9050
|
i = he;
|
|
9051
9051
|
break;
|
|
9052
9052
|
case "left":
|
|
9053
|
-
i =
|
|
9053
|
+
i = Oe;
|
|
9054
9054
|
break;
|
|
9055
9055
|
}
|
|
9056
9056
|
return i;
|
|
@@ -9059,7 +9059,7 @@ function mf(t, e) {
|
|
|
9059
9059
|
let i = ce;
|
|
9060
9060
|
switch (t ?? e) {
|
|
9061
9061
|
case "top":
|
|
9062
|
-
i =
|
|
9062
|
+
i = Oe;
|
|
9063
9063
|
break;
|
|
9064
9064
|
case "bottom":
|
|
9065
9065
|
i = he;
|
|
@@ -9071,7 +9071,7 @@ function yv(t) {
|
|
|
9071
9071
|
const { angle: e, mappedHAlignment: i, mappedVAlignment: a, isGuideLabel: o } = t;
|
|
9072
9072
|
let n = i, s = a, r = i;
|
|
9073
9073
|
const l = a;
|
|
9074
|
-
return (Math.abs(e) === 270 || Math.abs(e) === 90) && (o || (r = void 0, s = void 0), l ===
|
|
9074
|
+
return (Math.abs(e) === 270 || Math.abs(e) === 90) && (o || (r = void 0, s = void 0), l === Oe ? n = he : l === he ? n = Oe : l === ce && (n = ce)), { align: n, valign: s, horizontalCenter: r, verticalCenter: l };
|
|
9075
9075
|
}
|
|
9076
9076
|
function Jr(t) {
|
|
9077
9077
|
const {
|
|
@@ -9281,7 +9281,7 @@ function To(t) {
|
|
|
9281
9281
|
}
|
|
9282
9282
|
function pf(t) {
|
|
9283
9283
|
let e = !1, i;
|
|
9284
|
-
if (t.target.dataItem?.component instanceof
|
|
9284
|
+
if (t.target.dataItem?.component instanceof Da ? { chart: i } = t.target.dataItem.component : t.target.dataItem?.component instanceof Ee ? i = t.target.dataItem.component.chart : (t.target instanceof Ed || t.target instanceof Ir) && ({ chart: i } = t.target), i instanceof pe || i instanceof Kt) {
|
|
9285
9285
|
const a = w(i.uid, "actionMode");
|
|
9286
9286
|
if (a !== void 0) {
|
|
9287
9287
|
const { originalEvent: o } = t;
|
|
@@ -9297,7 +9297,7 @@ function we(t) {
|
|
|
9297
9297
|
const r = Yt(e.uid, "selected") ?? !1;
|
|
9298
9298
|
s = r, a !== !0 ? o === !0 ? s = r ? !1 : r !== i : s = i : s = r !== i;
|
|
9299
9299
|
const l = n === !0 ? st.Default : st.CustomInactive;
|
|
9300
|
-
if (e.states.apply(st.Default), e.states.apply(s ? st.CustomActive : l), s !== r && (tv(e.uid, { selected: s }), s && (e.toFront(), e.dataItem?.component instanceof
|
|
9300
|
+
if (e.states.apply(st.Default), e.states.apply(s ? st.CustomActive : l), s !== r && (tv(e.uid, { selected: s }), s && (e.toFront(), e.dataItem?.component instanceof Da))) {
|
|
9301
9301
|
const c = e.dataItem.component;
|
|
9302
9302
|
c.toFront(), c instanceof se && c.bulletsContainer.toFront();
|
|
9303
9303
|
}
|
|
@@ -9402,15 +9402,15 @@ function xv(t) {
|
|
|
9402
9402
|
[bold]${k}${c} [/]${I}`;
|
|
9403
9403
|
}
|
|
9404
9404
|
return i.additionalTooltipFields?.forEach((k) => {
|
|
9405
|
-
const I = $e(o, k), R = o?.find((M) => M.name === k),
|
|
9405
|
+
const I = $e(o, k), R = o?.find((M) => M.name === k), D = g?.[k];
|
|
9406
9406
|
let $ = "";
|
|
9407
|
-
if (
|
|
9408
|
-
if (Lg(R) && typeof
|
|
9409
|
-
$ = String(L ? L(
|
|
9407
|
+
if (D != null && D !== void 0 && R)
|
|
9408
|
+
if (Lg(R) && typeof D == "number")
|
|
9409
|
+
$ = String(L ? L(D) : D);
|
|
9410
9410
|
else if (Fg(R)) {
|
|
9411
|
-
const M = new Date(
|
|
9411
|
+
const M = new Date(D), B = r ? w(r.uid, "formatLocale") : void 0;
|
|
9412
9412
|
$ = new Intl.DateTimeFormat(B, {}).format(M);
|
|
9413
|
-
} else R.type === In.String && typeof
|
|
9413
|
+
} else R.type === In.String && typeof D == "string" && ($ = D);
|
|
9414
9414
|
T += l ? `
|
|
9415
9415
|
${$}[bold]${I}${c} [/]` : `
|
|
9416
9416
|
[bold]${I}${c} [/]${$}`;
|
|
@@ -9475,7 +9475,7 @@ function wi(t) {
|
|
|
9475
9475
|
}
|
|
9476
9476
|
return d || f;
|
|
9477
9477
|
}
|
|
9478
|
-
function
|
|
9478
|
+
function Di(t) {
|
|
9479
9479
|
const { series: e, styleCallback: i, seriesConfig: a } = t, o = w(e.chart?.uid ?? Number.NaN, "config");
|
|
9480
9480
|
o && cv({
|
|
9481
9481
|
series: e,
|
|
@@ -9551,7 +9551,7 @@ function Yn(t, e) {
|
|
|
9551
9551
|
}
|
|
9552
9552
|
}
|
|
9553
9553
|
function Av(t) {
|
|
9554
|
-
const { element: e, numberOfItems: i, chartUid: a } = t, o = i < F.focusableThreshold, n = a === void 0 ||
|
|
9554
|
+
const { element: e, numberOfItems: i, chartUid: a } = t, o = i < F.focusableThreshold, n = a === void 0 || Df(a);
|
|
9555
9555
|
e.setAll({ focusable: o && n });
|
|
9556
9556
|
}
|
|
9557
9557
|
function Cf(t) {
|
|
@@ -9659,7 +9659,7 @@ function vf(t, e) {
|
|
|
9659
9659
|
(o, n) => Io({ element: n, series: t, isHTML: e !== void 0 })
|
|
9660
9660
|
);
|
|
9661
9661
|
}
|
|
9662
|
-
function
|
|
9662
|
+
function Dv(t) {
|
|
9663
9663
|
const { axes: e, seriesConfig: i, series: a, fieldList: o, utilsStrings: n } = t, { dataTooltipVisible: s } = i;
|
|
9664
9664
|
let r;
|
|
9665
9665
|
const l = w(a.chart?.uid ?? 0, "rtl") ?? !1, c = Mt(l);
|
|
@@ -9675,7 +9675,7 @@ function Ov(t) {
|
|
|
9675
9675
|
[bold]${b}${c} [/]${L}`;
|
|
9676
9676
|
}, r;
|
|
9677
9677
|
}
|
|
9678
|
-
function
|
|
9678
|
+
function Ov(t) {
|
|
9679
9679
|
const { seriesConfig: e, series: i, tooltip: a } = t, { dataTooltipVisible: o } = e;
|
|
9680
9680
|
if (o !== !1) {
|
|
9681
9681
|
const n = re(
|
|
@@ -9711,7 +9711,7 @@ function Mv(t) {
|
|
|
9711
9711
|
currentSeries: e,
|
|
9712
9712
|
tooltipValueFormat: o.dataTooltipValueFormat
|
|
9713
9713
|
}), Ge(e.uid, {
|
|
9714
|
-
histogramTooltipFormatter: i ??
|
|
9714
|
+
histogramTooltipFormatter: i ?? Dv(t)
|
|
9715
9715
|
});
|
|
9716
9716
|
}
|
|
9717
9717
|
function il(t) {
|
|
@@ -10103,7 +10103,7 @@ function Io(t) {
|
|
|
10103
10103
|
});
|
|
10104
10104
|
break;
|
|
10105
10105
|
case y.HistogramSeries:
|
|
10106
|
-
o =
|
|
10106
|
+
o = Ov({
|
|
10107
10107
|
seriesConfig: l,
|
|
10108
10108
|
series: i,
|
|
10109
10109
|
tooltip: e
|
|
@@ -10183,7 +10183,7 @@ function Yv(t) {
|
|
|
10183
10183
|
value: r,
|
|
10184
10184
|
valueFormat: n ?? i,
|
|
10185
10185
|
formatLocale: g
|
|
10186
|
-
})) : typeof r == "number" &&
|
|
10186
|
+
})) : typeof r == "number" && De(i) ? f = Ba({
|
|
10187
10187
|
root: d,
|
|
10188
10188
|
value: r,
|
|
10189
10189
|
valueFormat: o ?? i,
|
|
@@ -10201,7 +10201,7 @@ function Uv(t) {
|
|
|
10201
10201
|
dataTooltipPercentFormat: r
|
|
10202
10202
|
} = t, l = i.chart?.uid ?? 0, { root: c } = i;
|
|
10203
10203
|
let u = s;
|
|
10204
|
-
u === void 0 && (
|
|
10204
|
+
u === void 0 && (De(n) && n ? (u = n, e && (u.intlOptions.style = "decimal")) : u = Lr());
|
|
10205
10205
|
const d = w(l, "formatLocale"), f = a !== void 0 ? Ba({
|
|
10206
10206
|
root: c,
|
|
10207
10207
|
value: a,
|
|
@@ -10228,7 +10228,7 @@ function jv(t) {
|
|
|
10228
10228
|
if (g !== void 0) {
|
|
10229
10229
|
const { dataTooltipVisible: h } = n, b = o instanceof se ? n.markerVisible : void 0;
|
|
10230
10230
|
if (h !== !1 && b !== !1) {
|
|
10231
|
-
const p = g.axes, S = p[0].valueFormat, C = p[1].valueFormat, x = i?.find((B) => B.name === n.x)?.type === In.TimeOnly, L = Z(g.series), v = nt(g) === te.Stacked100, T = it(a), k = sa(T).idField, I = $e(i, n.x), R = $a(I, p[0].title?.content.text),
|
|
10231
|
+
const p = g.axes, S = p[0].valueFormat, C = p[1].valueFormat, x = i?.find((B) => B.name === n.x)?.type === In.TimeOnly, L = Z(g.series), v = nt(g) === te.Stacked100, T = it(a), k = sa(T).idField, I = $e(i, n.x), R = $a(I, p[0].title?.content.text), D = xu({
|
|
10232
10232
|
config: g,
|
|
10233
10233
|
fieldList: i,
|
|
10234
10234
|
objectIdField: k,
|
|
@@ -10271,7 +10271,7 @@ function jv(t) {
|
|
|
10271
10271
|
case V.BarAndLineMonoField:
|
|
10272
10272
|
case V.BarAndLineNoAggregation:
|
|
10273
10273
|
case V.BarAndLineMultiFields:
|
|
10274
|
-
ee.push(`[bold]${
|
|
10274
|
+
ee.push(`[bold]${D}${M} [/]${j}`);
|
|
10275
10275
|
break;
|
|
10276
10276
|
case V.BarAndLineSplitByNoAggregation:
|
|
10277
10277
|
case V.BarAndLineSplitBy:
|
|
@@ -10280,7 +10280,7 @@ function jv(t) {
|
|
|
10280
10280
|
value: $e(i, ve),
|
|
10281
10281
|
escape: !0
|
|
10282
10282
|
});
|
|
10283
|
-
ee.push(`[bold]${Le}${M} [/]${P}`), (L === V.BarAndLineSplitBy || "y" in g.series[0] && ve !== g.series[0].y) && ee.push(`[bold]${
|
|
10283
|
+
ee.push(`[bold]${Le}${M} [/]${P}`), (L === V.BarAndLineSplitBy || "y" in g.series[0] && ve !== g.series[0].y) && ee.push(`[bold]${D}${M} [/]${j}`);
|
|
10284
10284
|
}
|
|
10285
10285
|
break;
|
|
10286
10286
|
}
|
|
@@ -10534,7 +10534,7 @@ function oL(t) {
|
|
|
10534
10534
|
seriesWereReinitialized: u,
|
|
10535
10535
|
valueFormat: Nd(),
|
|
10536
10536
|
defaultR2Value: f.notAvailable
|
|
10537
|
-
}), Zv({ seriesConfig: a, series: s, sizePolicyChanged: d }), wi(t) &&
|
|
10537
|
+
}), Zv({ seriesConfig: a, series: s, sizePolicyChanged: d }), wi(t) && Di({
|
|
10538
10538
|
styleCallback: () => iL({ root: e, chartConfig: i, markerSeries: s }),
|
|
10539
10539
|
series: s,
|
|
10540
10540
|
seriesConfig: a
|
|
@@ -10700,10 +10700,10 @@ function cL(t) {
|
|
|
10700
10700
|
const C = [], x = S.query?.where ?? "", L = S.x, v = S.type === y.BoxPlotSeries || S.type === y.HeatSeries ? S.y.toString() : pa(b), T = ol(b);
|
|
10701
10701
|
T.forEach((I, R) => {
|
|
10702
10702
|
if (I !== void 0) {
|
|
10703
|
-
let
|
|
10704
|
-
if (
|
|
10705
|
-
if (r === y.BoxPlotSeries &&
|
|
10706
|
-
dataContext:
|
|
10703
|
+
let D = I.dataItem?.dataContext;
|
|
10704
|
+
if (D)
|
|
10705
|
+
if (r === y.BoxPlotSeries && D[F.boxPlot.boxPlotOutlierId] !== !0 && (D = Li({
|
|
10706
|
+
dataContext: D,
|
|
10707
10707
|
yAxisField: v,
|
|
10708
10708
|
yList: h,
|
|
10709
10709
|
xAxisField: L,
|
|
@@ -10713,7 +10713,7 @@ function cL(t) {
|
|
|
10713
10713
|
showOutliers: c,
|
|
10714
10714
|
isFeatureCollectionLayer: Ci(s)
|
|
10715
10715
|
})), Mn({
|
|
10716
|
-
elementDataContext:
|
|
10716
|
+
elementDataContext: D,
|
|
10717
10717
|
options: a,
|
|
10718
10718
|
selectionItems: o,
|
|
10719
10719
|
layerOidField: n,
|
|
@@ -10726,11 +10726,11 @@ function cL(t) {
|
|
|
10726
10726
|
timeAggregationType: u
|
|
10727
10727
|
}))
|
|
10728
10728
|
if (d.push(I), C.push(R), r === y.BoxPlotSeries && I?.dataItem instanceof Va)
|
|
10729
|
-
f.push(
|
|
10729
|
+
f.push(D);
|
|
10730
10730
|
else {
|
|
10731
10731
|
const M = /* @__PURE__ */ new Set();
|
|
10732
|
-
r === y.PieSeries && Ri(
|
|
10733
|
-
groupOfSlicesDataContext:
|
|
10732
|
+
r === y.PieSeries && Ri(D) ? (xo({
|
|
10733
|
+
groupOfSlicesDataContext: D
|
|
10734
10734
|
}) ?? []).forEach((P) => {
|
|
10735
10735
|
o.forEach((Y) => {
|
|
10736
10736
|
Br({
|
|
@@ -10740,7 +10740,7 @@ function cL(t) {
|
|
|
10740
10740
|
xAxisField: L
|
|
10741
10741
|
}) && M.add(P);
|
|
10742
10742
|
});
|
|
10743
|
-
}) : M.add(
|
|
10743
|
+
}) : M.add(D), Array.from(M)?.forEach((B) => {
|
|
10744
10744
|
const P = Li({
|
|
10745
10745
|
dataContext: B,
|
|
10746
10746
|
yAxisField: v,
|
|
@@ -10827,12 +10827,12 @@ function jn(t) {
|
|
|
10827
10827
|
T = Array.from(new Set(T?.map(($) => JSON.stringify($)))).map(
|
|
10828
10828
|
($) => JSON.parse($)
|
|
10829
10829
|
);
|
|
10830
|
-
const
|
|
10830
|
+
const D = {
|
|
10831
10831
|
selectionItems: T,
|
|
10832
10832
|
selectionSource: ge.ProgrammaticSelection
|
|
10833
10833
|
};
|
|
10834
|
-
u === !0 && k && (
|
|
10835
|
-
data:
|
|
10834
|
+
u === !0 && k && (D.selectionIndexes = k), d !== !1 && C && (D.selectionOIDs = C), x?.[0] && (D.selectionFilters = x), Ha({
|
|
10835
|
+
data: D,
|
|
10836
10836
|
htmlContainer: e.root.dom
|
|
10837
10837
|
});
|
|
10838
10838
|
}
|
|
@@ -10850,7 +10850,7 @@ async function Ro(t) {
|
|
|
10850
10850
|
const v = /* @__PURE__ */ new Set();
|
|
10851
10851
|
let T = [];
|
|
10852
10852
|
const k = /* @__PURE__ */ new Map(), I = [], R = [];
|
|
10853
|
-
let
|
|
10853
|
+
let D = [], $ = 0;
|
|
10854
10854
|
if (e.series.each((M, B) => {
|
|
10855
10855
|
const { seriesConfig: P } = qa(M, o), Y = P?.query?.where ?? "", z = P?.type === y.BoxPlotSeries ? P.y.toString() : pa(M);
|
|
10856
10856
|
let X;
|
|
@@ -10877,7 +10877,7 @@ async function Ro(t) {
|
|
|
10877
10877
|
}
|
|
10878
10878
|
if (!s)
|
|
10879
10879
|
if (S && E[S] !== void 0 && (typeof E[S] == "number" || typeof E[S] == "string"))
|
|
10880
|
-
|
|
10880
|
+
D.push(E[S]);
|
|
10881
10881
|
else {
|
|
10882
10882
|
const ee = cr(Y) ? pi.uniqueIds : `${pi.uniqueIds}_${l === y.BoxPlotSeries ? Ai({ where: Y }) : z}`, ve = E[ee] ?? E[pi.uniqueIds] ?? [], Le = md({
|
|
10883
10883
|
dataContext: E,
|
|
@@ -10895,7 +10895,7 @@ async function Ro(t) {
|
|
|
10895
10895
|
});
|
|
10896
10896
|
if (E[_.boxPlot.boxPlotOutlierId] || R.push(Le), Array.isArray(ve) && ve.length > 0)
|
|
10897
10897
|
for (const et of ve)
|
|
10898
|
-
|
|
10898
|
+
D.push(et);
|
|
10899
10899
|
else r?.returnSelectionOIDs !== !1 && I.push(Le);
|
|
10900
10900
|
}
|
|
10901
10901
|
}
|
|
@@ -10913,12 +10913,12 @@ async function Ro(t) {
|
|
|
10913
10913
|
errorStrings: a
|
|
10914
10914
|
});
|
|
10915
10915
|
if (I.length === $)
|
|
10916
|
-
|
|
10916
|
+
D = Y;
|
|
10917
10917
|
else
|
|
10918
10918
|
for (let z = 0; z < Y.length; z += 1)
|
|
10919
|
-
|
|
10919
|
+
D.push(Y[z]);
|
|
10920
10920
|
}
|
|
10921
|
-
|
|
10921
|
+
D = Array.from(new Set(D)), o.series.length > 1 && c !== V.BarAndLineNoAggregation && c !== V.BarAndLineSplitByNoAggregation && (T = vn({
|
|
10922
10922
|
data: T,
|
|
10923
10923
|
x: o.series[0].x,
|
|
10924
10924
|
splitByField: Qt(o.series[0].query?.where)
|
|
@@ -10927,7 +10927,7 @@ async function Ro(t) {
|
|
|
10927
10927
|
selectionItems: T,
|
|
10928
10928
|
selectionSource: i
|
|
10929
10929
|
};
|
|
10930
|
-
R?.[0] && (M.selectionFilters = Array.from(new Set(R))), r?.returnSelectionIndexes === !0 && (M.selectionIndexes = k), r?.returnSelectionOIDs !== !1 && (M.selectionOIDs =
|
|
10930
|
+
R?.[0] && (M.selectionFilters = Array.from(new Set(R))), r?.returnSelectionIndexes === !0 && (M.selectionIndexes = k), r?.returnSelectionOIDs !== !1 && (M.selectionOIDs = D), s && (M.selectionPixelTarget = pr({
|
|
10931
10931
|
chartConfig: o,
|
|
10932
10932
|
layer: n,
|
|
10933
10933
|
selectionItems: T
|
|
@@ -10951,13 +10951,13 @@ function wf(t) {
|
|
|
10951
10951
|
const e = t?.selection.width();
|
|
10952
10952
|
return e !== void 0 && e > 0 && e !== 2e7;
|
|
10953
10953
|
}
|
|
10954
|
-
function
|
|
10954
|
+
function Df(t) {
|
|
10955
10955
|
const e = w(t, "actionMode");
|
|
10956
10956
|
return e !== J.None && e !== J.Zoom;
|
|
10957
10957
|
}
|
|
10958
10958
|
function nl(t) {
|
|
10959
10959
|
const e = w(t, "filterBySelection");
|
|
10960
|
-
return
|
|
10960
|
+
return Df(t) && e !== !0;
|
|
10961
10961
|
}
|
|
10962
10962
|
async function vc(t) {
|
|
10963
10963
|
const { event: e, series: i, errorStrings: a } = t, { chart: o } = i;
|
|
@@ -11095,20 +11095,20 @@ function bL(t, e) {
|
|
|
11095
11095
|
}
|
|
11096
11096
|
});
|
|
11097
11097
|
}
|
|
11098
|
-
function
|
|
11098
|
+
function Of(t, e) {
|
|
11099
11099
|
e !== void 0 && (e.marginBottom !== void 0 && t.set("marginBottom", e.marginBottom), e.marginTop !== void 0 && t.set("marginTop", e.marginTop), e.marginRight !== void 0 && t.set("marginRight", e.marginRight), e.marginLeft !== void 0 && t.set("marginLeft", e.marginLeft), e.verticalCenter !== void 0 && t.set("y", mf(e.verticalCenter)), e.horizontalCenter !== void 0 && t.set("x", ff(e.horizontalCenter)), e.strokeWidth !== void 0 && t.get("background")?.set("strokeWidth", e.strokeWidth), e.paddingBottom !== void 0 && t.set("paddingBottom", e.paddingBottom), e.paddingTop !== void 0 && t.set("paddingTop", e.paddingTop), e.paddingLeft !== void 0 && t.set("paddingLeft", e.paddingLeft), e.paddingRight !== void 0 && t.set("paddingRight", e.paddingRight), e.maxWidth !== void 0 && t.set("maxWidth", e.maxWidth));
|
|
11100
11100
|
}
|
|
11101
11101
|
function Pa(t) {
|
|
11102
11102
|
const { root: e, parent: i, defaults: a, index: o, id: n } = t, s = ht.new(e, {
|
|
11103
11103
|
text: "",
|
|
11104
11104
|
textAlign: "center",
|
|
11105
|
-
background:
|
|
11105
|
+
background: Oa.new(e, {}),
|
|
11106
11106
|
paddingBottom: 0,
|
|
11107
11107
|
paddingTop: 0,
|
|
11108
11108
|
paddingLeft: 0,
|
|
11109
11109
|
paddingRight: 0
|
|
11110
11110
|
});
|
|
11111
|
-
return n !== void 0 && s.set("id", n),
|
|
11111
|
+
return n !== void 0 && s.set("id", n), Of(s, a), i !== void 0 && i.children.insertIndex(o ?? i.children.length, s), s;
|
|
11112
11112
|
}
|
|
11113
11113
|
function Fc(t) {
|
|
11114
11114
|
const { label: e, offset: i, offsetProperty: a } = t;
|
|
@@ -11122,7 +11122,7 @@ function Fc(t) {
|
|
|
11122
11122
|
}
|
|
11123
11123
|
});
|
|
11124
11124
|
}
|
|
11125
|
-
function
|
|
11125
|
+
function Ot(t) {
|
|
11126
11126
|
const { label: e, labelConfig: i, defaults: a, skipSettingText: o, skipSettingXAndY: n, skipSettingAbsoluteXY: s } = t, r = e instanceof ht ? e.root : e.entities[0]?.root, l = i?.visible ?? !0;
|
|
11127
11127
|
if (e !== void 0 && !e.isDisposed() && i !== void 0) {
|
|
11128
11128
|
const c = e instanceof ht && Ne(e.uid, "isGuide"), u = Sv({ root: r, input: i.content, isGuideLabel: c, defaults: a });
|
|
@@ -11278,7 +11278,7 @@ function LL(t) {
|
|
|
11278
11278
|
text: s ? "{valueX}" : "{valueY}",
|
|
11279
11279
|
populateText: !0,
|
|
11280
11280
|
centerY: he,
|
|
11281
|
-
centerX: c ? ce :
|
|
11281
|
+
centerX: c ? ce : Oe,
|
|
11282
11282
|
// remove padding so if they fit in the label, it shows
|
|
11283
11283
|
paddingBottom: 0,
|
|
11284
11284
|
paddingTop: 0,
|
|
@@ -11414,7 +11414,7 @@ function qn(t) {
|
|
|
11414
11414
|
[h]: d
|
|
11415
11415
|
}), n !== void 0 && (r === y.HeatSeries ? n.content.text = "{value}" : n.content.text = s === !0 ? "{valueX}" : "{valueY}", n.visible = n.visible !== !1);
|
|
11416
11416
|
const b = r === y.LineSeries || r === y.RadarSeries, p = n !== void 0 && b ? CL(n) : n;
|
|
11417
|
-
|
|
11417
|
+
Ot({
|
|
11418
11418
|
label: a,
|
|
11419
11419
|
labelConfig: p,
|
|
11420
11420
|
defaults: o ?? F.dataLabel,
|
|
@@ -11615,7 +11615,7 @@ function Zn(t) {
|
|
|
11615
11615
|
F.overlayId.histogramNormalDistribution
|
|
11616
11616
|
].includes(t.get("id") ?? "");
|
|
11617
11617
|
}
|
|
11618
|
-
function
|
|
11618
|
+
function DL(t) {
|
|
11619
11619
|
let e = "";
|
|
11620
11620
|
switch (t) {
|
|
11621
11621
|
case Ie.Mean:
|
|
@@ -11633,7 +11633,7 @@ function OL(t) {
|
|
|
11633
11633
|
}
|
|
11634
11634
|
return e;
|
|
11635
11635
|
}
|
|
11636
|
-
function
|
|
11636
|
+
function OL(t) {
|
|
11637
11637
|
const { series: e, seriesConfig: i, colorMatch: a, rendererSymbol: o } = t, { root: n } = e, s = e.chart;
|
|
11638
11638
|
if (s) {
|
|
11639
11639
|
const r = i.fillSymbol ?? Sh(), c = Ct({
|
|
@@ -11661,7 +11661,7 @@ function ML(t) {
|
|
|
11661
11661
|
}
|
|
11662
11662
|
function Vo(t) {
|
|
11663
11663
|
const { root: e, xAxis: i, yAxis: a, type: o, utilsStrings: n } = t, s = se.new(e, {
|
|
11664
|
-
id:
|
|
11664
|
+
id: DL(o),
|
|
11665
11665
|
valueXField: "x",
|
|
11666
11666
|
valueYField: "y",
|
|
11667
11667
|
xAxis: i,
|
|
@@ -11837,8 +11837,8 @@ function VL(t) {
|
|
|
11837
11837
|
const { series: e, seriesConfig: i, seriesWereReinitialized: a, dataWasUpdated: o, data: n, options: s } = t;
|
|
11838
11838
|
e.set("id", i.id), oe(e, i.visible), He(e.columns.template, s?.selectionTheme), ja(e, i.name);
|
|
11839
11839
|
const r = n?.bins.find((l) => "symbol" in l)?.symbol;
|
|
11840
|
-
wi(t) &&
|
|
11841
|
-
styleCallback: () =>
|
|
11840
|
+
wi(t) && Di({
|
|
11841
|
+
styleCallback: () => OL({ ...t, rendererSymbol: r }),
|
|
11842
11842
|
series: e,
|
|
11843
11843
|
seriesConfig: i
|
|
11844
11844
|
}), ML({
|
|
@@ -11966,7 +11966,7 @@ function YL(t) {
|
|
|
11966
11966
|
}), t.labels.template.setup = (e) => {
|
|
11967
11967
|
e.set(
|
|
11968
11968
|
"background",
|
|
11969
|
-
|
|
11969
|
+
Oa.new(e.root, {
|
|
11970
11970
|
fill: e.root.interfaceColors.get("alternativeBackground"),
|
|
11971
11971
|
fillOpacity: 0
|
|
11972
11972
|
})
|
|
@@ -12097,7 +12097,7 @@ function Hs(t) {
|
|
|
12097
12097
|
f = he;
|
|
12098
12098
|
break;
|
|
12099
12099
|
case "right":
|
|
12100
|
-
f =
|
|
12100
|
+
f = Oe;
|
|
12101
12101
|
break;
|
|
12102
12102
|
default:
|
|
12103
12103
|
f = ce;
|
|
@@ -12105,13 +12105,13 @@ function Hs(t) {
|
|
|
12105
12105
|
}
|
|
12106
12106
|
switch (l) {
|
|
12107
12107
|
case "bottom":
|
|
12108
|
-
g = i ? he :
|
|
12108
|
+
g = i ? he : Oe, b = 0;
|
|
12109
12109
|
break;
|
|
12110
12110
|
case "middle":
|
|
12111
12111
|
g = ce, b = -o / 2;
|
|
12112
12112
|
break;
|
|
12113
12113
|
default:
|
|
12114
|
-
i ? (g =
|
|
12114
|
+
i ? (g = Oe, b = -o) : (g = he, b = -o);
|
|
12115
12115
|
break;
|
|
12116
12116
|
}
|
|
12117
12117
|
i || (h = 0);
|
|
@@ -12119,7 +12119,7 @@ function Hs(t) {
|
|
|
12119
12119
|
if (i)
|
|
12120
12120
|
switch (l) {
|
|
12121
12121
|
case "top":
|
|
12122
|
-
d = 1, g =
|
|
12122
|
+
d = 1, g = Oe;
|
|
12123
12123
|
break;
|
|
12124
12124
|
case "bottom":
|
|
12125
12125
|
d = 0, g = he;
|
|
@@ -12240,7 +12240,7 @@ function QL(t) {
|
|
|
12240
12240
|
function JL(t) {
|
|
12241
12241
|
const { guide: e, axis: i, guideLabelConfig: a, guideType: o } = t, n = e.get("label");
|
|
12242
12242
|
if (n !== void 0) {
|
|
12243
|
-
|
|
12243
|
+
Of(n), n.set("layer", F.zIndexes.defaultLayer30), Fa(n.uid, { isGuide: !0, guideLabelConfig: a, guideType: o });
|
|
12244
12244
|
const { chart: s } = i;
|
|
12245
12245
|
s !== void 0 && oa({
|
|
12246
12246
|
chart: s,
|
|
@@ -12271,7 +12271,7 @@ function e0(t) {
|
|
|
12271
12271
|
rightToLeft: n.get("direction") === "rtl"
|
|
12272
12272
|
}
|
|
12273
12273
|
};
|
|
12274
|
-
|
|
12274
|
+
Ot({ label: n, labelConfig: l, defaults: r, skipSettingAbsoluteXY: !0 }), Aa(e, i), n.events.once(ne.BoundsChanged, () => {
|
|
12275
12275
|
Aa(e, i);
|
|
12276
12276
|
}), e.root.events.once(ne.FrameEnded, () => {
|
|
12277
12277
|
Aa(e, i);
|
|
@@ -12451,7 +12451,7 @@ function Tc(t) {
|
|
|
12451
12451
|
isXAxis: !0,
|
|
12452
12452
|
chartType: a,
|
|
12453
12453
|
valueFormat: i
|
|
12454
|
-
}), n = bt(i) && e instanceof Pe, s =
|
|
12454
|
+
}), n = bt(i) && e instanceof Pe, s = De(i) && e instanceof Se && !(e instanceof Pe), r = o && e instanceof Ee;
|
|
12455
12455
|
return !n && !s && !r;
|
|
12456
12456
|
}
|
|
12457
12457
|
function Yf(t) {
|
|
@@ -12556,9 +12556,9 @@ function c0(t) {
|
|
|
12556
12556
|
isXAxis: i,
|
|
12557
12557
|
chartType: a,
|
|
12558
12558
|
valueFormat: o
|
|
12559
|
-
}), h = e instanceof Se && !(e instanceof Pe) &&
|
|
12559
|
+
}), h = e instanceof Se && !(e instanceof Pe) && De(o), b = e instanceof Pe && bt(o), p = e instanceof Ee && g;
|
|
12560
12560
|
if (!(h || b || p))
|
|
12561
|
-
|
|
12561
|
+
Dn("mismatchAxisAndValueFormat", d);
|
|
12562
12562
|
else {
|
|
12563
12563
|
const C = r !== void 0 ? "html" : "text", x = Fi(e.uid, "labelFormatSignature"), L = x === void 0, v = x !== void 0 && x.outputMode !== C, T = x === void 0 || x.outputMode !== C || x.externalAxisLabelFormatter !== r || !mt(x.valueFormat, o);
|
|
12564
12564
|
(L || v) && s0(e, r);
|
|
@@ -13055,7 +13055,7 @@ function w0(t) {
|
|
|
13055
13055
|
}));
|
|
13056
13056
|
}
|
|
13057
13057
|
}
|
|
13058
|
-
function
|
|
13058
|
+
function D0(t, e) {
|
|
13059
13059
|
return (i) => {
|
|
13060
13060
|
const { guideName: a, start: o, end: n } = i, { chart: s, root: r } = t;
|
|
13061
13061
|
let l = "";
|
|
@@ -13093,13 +13093,13 @@ function O0(t, e) {
|
|
|
13093
13093
|
return l;
|
|
13094
13094
|
};
|
|
13095
13095
|
}
|
|
13096
|
-
function
|
|
13096
|
+
function O0(t) {
|
|
13097
13097
|
const { axis: e, guideTooltipFormatter: i, utilsStrings: a } = t;
|
|
13098
13098
|
Ya(e.uid, {
|
|
13099
|
-
guideTooltipFormatter: i ??
|
|
13099
|
+
guideTooltipFormatter: i ?? D0(e, a)
|
|
13100
13100
|
});
|
|
13101
13101
|
}
|
|
13102
|
-
function
|
|
13102
|
+
function Dc(t) {
|
|
13103
13103
|
const { inputValue: e, axis: i, axisMin: a, axisMax: o } = t;
|
|
13104
13104
|
let n = e;
|
|
13105
13105
|
if (e != null)
|
|
@@ -13184,7 +13184,7 @@ function Zf(t, e) {
|
|
|
13184
13184
|
const { start: i, end: a } = e ?? {};
|
|
13185
13185
|
let o;
|
|
13186
13186
|
if (e !== void 0 && i !== void 0 && i !== null) {
|
|
13187
|
-
const n = t instanceof Se ? t.get("min") : void 0, s = t instanceof Se ? t.get("max") : void 0, r =
|
|
13187
|
+
const n = t instanceof Se ? t.get("min") : void 0, s = t instanceof Se ? t.get("max") : void 0, r = Dc({ inputValue: i, axis: t, axisMin: n, axisMax: s }), l = e.style?.type === K.SFS && a !== null && a !== void 0 ? Dc({ inputValue: a, axis: t, axisMin: n, axisMax: s }) : r;
|
|
13188
13188
|
o = {
|
|
13189
13189
|
isValidGuide: r != null && (a === void 0 || l != null),
|
|
13190
13190
|
start: r,
|
|
@@ -13246,7 +13246,7 @@ function W0(t) {
|
|
|
13246
13246
|
const n = cl(e, Fe.Guides);
|
|
13247
13247
|
i.forEach((s, r) => {
|
|
13248
13248
|
V0({ axis: e, guide: n[r], guideConfig: s });
|
|
13249
|
-
}),
|
|
13249
|
+
}), O0({ axis: e, guideTooltipFormatter: a, utilsStrings: o });
|
|
13250
13250
|
}
|
|
13251
13251
|
}
|
|
13252
13252
|
function E0(t) {
|
|
@@ -13259,7 +13259,7 @@ function E0(t) {
|
|
|
13259
13259
|
for (let r = 0; r < o.length; r += 1)
|
|
13260
13260
|
e.axisRanges.removeValue(o[r]);
|
|
13261
13261
|
}
|
|
13262
|
-
function
|
|
13262
|
+
function Oc(t, e) {
|
|
13263
13263
|
const a = cl(t, Fe.Guides).length, o = e?.length ?? 0, n = a - o;
|
|
13264
13264
|
E0({
|
|
13265
13265
|
axis: t,
|
|
@@ -13269,7 +13269,7 @@ function Dc(t, e) {
|
|
|
13269
13269
|
}
|
|
13270
13270
|
function z0(t) {
|
|
13271
13271
|
const { axis: e, guideConfigs: i, anyGuideAboveChanged: a } = t;
|
|
13272
|
-
a &&
|
|
13272
|
+
a && Oc(e), B0(e, i), W0(t), Oc(e, i);
|
|
13273
13273
|
}
|
|
13274
13274
|
function Kf(t) {
|
|
13275
13275
|
return t.getCellWidthPosition() * t.width();
|
|
@@ -13378,7 +13378,7 @@ function ys(t) {
|
|
|
13378
13378
|
e.labels.template.setAll({
|
|
13379
13379
|
rotation: l,
|
|
13380
13380
|
centerX: r ? ce : he,
|
|
13381
|
-
centerY:
|
|
13381
|
+
centerY: Oe,
|
|
13382
13382
|
paddingTop: r ? F.axisLabel.paddingTop : F.rotatedAxisLabel.paddingTop,
|
|
13383
13383
|
paddingLeft: r ? F.axisLabel.paddingLeft : F.rotatedAxisLabel.paddingLeft,
|
|
13384
13384
|
paddingRight: r ? F.axisLabel.paddingRight : F.rotatedAxisLabel.paddingRight
|
|
@@ -13469,7 +13469,7 @@ function q0(t) {
|
|
|
13469
13469
|
axisLabelsBehaviorChanged: n,
|
|
13470
13470
|
chartType: s
|
|
13471
13471
|
} = t, r = { ...i }, l = e.get("renderer"), c = l?.get("opposite");
|
|
13472
|
-
Kn(l) ? (r.content.horizontalAlignment = "center", r.content.verticalAlignment = c ? "bottom" : "top") : (r.content.horizontalAlignment = c ? "left" : "right", r.content.verticalAlignment = "middle"), l instanceof Jt ? j0({ renderer: l, axisConfig: t.axisConfig, labelConfig: i }) : r.content.angle = r.content.angle ?? l.labels.template.get("rotation"),
|
|
13472
|
+
Kn(l) ? (r.content.horizontalAlignment = "center", r.content.verticalAlignment = c ? "bottom" : "top") : (r.content.horizontalAlignment = c ? "left" : "right", r.content.verticalAlignment = "middle"), l instanceof Jt ? j0({ renderer: l, axisConfig: t.axisConfig, labelConfig: i }) : r.content.angle = r.content.angle ?? l.labels.template.get("rotation"), Ot({
|
|
13473
13473
|
label: l.labels.template,
|
|
13474
13474
|
labelConfig: r
|
|
13475
13475
|
}), U0({
|
|
@@ -13727,7 +13727,7 @@ function Pi(t) {
|
|
|
13727
13727
|
));
|
|
13728
13728
|
} else if (bt(o))
|
|
13729
13729
|
d = i.push(Pe.new(e, { strictMinMax: !0, baseInterval: { timeUnit: "day", count: 1 }, renderer: n }));
|
|
13730
|
-
else if (
|
|
13730
|
+
else if (De(o) && (d = i.push(Se.new(e, { strictMinMax: !0, renderer: n })), s && d instanceof Se)) {
|
|
13731
13731
|
const f = i.getIndex(0);
|
|
13732
13732
|
f instanceof Se && d.set("syncWithAxis", f);
|
|
13733
13733
|
}
|
|
@@ -13782,7 +13782,7 @@ function cF(t) {
|
|
|
13782
13782
|
const { axis: e, axisTitleConfig: i, isSecondaryYAxis: a } = t, o = e.get("renderer"), { chart: n } = e, s = Kn(o), r = me({ childId: tm(e, s), parent: e, useChildId: !0 }) ?? rF({ axis: e, isHorizontalAxis: s, isSecondaryYAxis: a });
|
|
13783
13783
|
if (r instanceof ht) {
|
|
13784
13784
|
const l = s ? { ...F.xAxisTitleLabel, verticalCenter: "top" } : F.yAxisTitleLabel;
|
|
13785
|
-
if (
|
|
13785
|
+
if (Ot({ label: r, labelConfig: i, defaults: l }), s && a !== !0 && Xs(e, r), n) {
|
|
13786
13786
|
const c = {
|
|
13787
13787
|
chart: n,
|
|
13788
13788
|
label: r,
|
|
@@ -13820,7 +13820,7 @@ function ul(t) {
|
|
|
13820
13820
|
lineSymbol: k,
|
|
13821
13821
|
title: I,
|
|
13822
13822
|
labels: R,
|
|
13823
|
-
isLogarithmic:
|
|
13823
|
+
isLogarithmic: D,
|
|
13824
13824
|
grid: $,
|
|
13825
13825
|
displayCursorTooltip: M,
|
|
13826
13826
|
displayZeroLine: B,
|
|
@@ -13828,10 +13828,10 @@ function ul(t) {
|
|
|
13828
13828
|
guides: Y,
|
|
13829
13829
|
tickSpacing: z,
|
|
13830
13830
|
dateBaseInterval: X
|
|
13831
|
-
} = r, { root: U } = e, G = W(p.series), j = nt(p), E = Qe(p), { chart: ee } = e, ve = ee ? w(ee.uid, "config") : void 0, Le = ee ? w(ee.uid, "options") : void 0, et = it(v), mi = vt(et).find((
|
|
13831
|
+
} = r, { root: U } = e, G = W(p.series), j = nt(p), E = Qe(p), { chart: ee } = e, ve = ee ? w(ee.uid, "config") : void 0, Le = ee ? w(ee.uid, "options") : void 0, et = it(v), mi = vt(et).find((Oo) => Oo.name === ve?.series?.[0]?.x), wo = Rg(mi), as = dr({ chartConfig: p, queryObject: v, options: Le }), Do = za(p.series[0]) ? p.series[0].temporalBinning?.outTimeZone : void 0, Ka = e.get("renderer");
|
|
13832
13832
|
Ya(e.uid, {
|
|
13833
13833
|
zeroGridLine: { displayZeroLine: B, strokeWidth: $?.width ?? F.lineWidth, visible: $ !== void 0 }
|
|
13834
|
-
}), f0({ axis: e, isLogarithmic:
|
|
13834
|
+
}), f0({ axis: e, isLogarithmic: D, axisConfigIndex: l }), c0({
|
|
13835
13835
|
axis: e,
|
|
13836
13836
|
isXAxis: qi(e.get("renderer"), E),
|
|
13837
13837
|
chartType: G,
|
|
@@ -13841,7 +13841,7 @@ function ul(t) {
|
|
|
13841
13841
|
externalAxisLabelFormatter: S,
|
|
13842
13842
|
isTimeOnlyField: wo,
|
|
13843
13843
|
setTimeZone: as,
|
|
13844
|
-
outTimeZone:
|
|
13844
|
+
outTimeZone: Do,
|
|
13845
13845
|
errorStrings: L
|
|
13846
13846
|
}), l0({ axis: e, isRotated: E, chartConfig: p }), h0({ axis: e, timeIntervalInfo: c, dateBaseInterval: X, xFieldIsTimeOnly: wo }), Zt({
|
|
13847
13847
|
element: Ka,
|
|
@@ -13967,7 +13967,7 @@ function fF(t) {
|
|
|
13967
13967
|
utilsStrings: b,
|
|
13968
13968
|
errorStrings: p,
|
|
13969
13969
|
queryObject: S
|
|
13970
|
-
} = t, { horizontalAxisLabelsBehavior: C, verticalAxisLabelsBehavior: x, axes: L } = i, v = Qe(i), T = W(i.series), k = w(e.uid, "isNonAggregatedChart"), I = e.xAxes.getIndex(0), R = e.yAxes.getIndex(0),
|
|
13970
|
+
} = t, { horizontalAxisLabelsBehavior: C, verticalAxisLabelsBehavior: x, axes: L } = i, v = Qe(i), T = W(i.series), k = w(e.uid, "isNonAggregatedChart"), I = e.xAxes.getIndex(0), R = e.yAxes.getIndex(0), D = e.xAxes.getIndex(1) ?? e.yAxes.getIndex(1);
|
|
13971
13971
|
Xi({ chartType: T, axesConfig: L, errorStrings: p });
|
|
13972
13972
|
const $ = v ? 1 : 0, M = v ? 0 : 1, B = L?.[$], P = L?.[M];
|
|
13973
13973
|
[
|
|
@@ -13984,7 +13984,7 @@ function fF(t) {
|
|
|
13984
13984
|
axisConfigIndex: M
|
|
13985
13985
|
},
|
|
13986
13986
|
{
|
|
13987
|
-
axis:
|
|
13987
|
+
axis: D,
|
|
13988
13988
|
axisConfig: L?.[2],
|
|
13989
13989
|
externalAxisLabelFormatter: g,
|
|
13990
13990
|
isSecondaryYAxis: !0,
|
|
@@ -14025,7 +14025,7 @@ function mF(t, e) {
|
|
|
14025
14025
|
const i = Q(F.backgroundColor);
|
|
14026
14026
|
e.set(
|
|
14027
14027
|
"background",
|
|
14028
|
-
|
|
14028
|
+
Oa.new(t, {
|
|
14029
14029
|
fill: i.color,
|
|
14030
14030
|
fillOpacity: i.opacity
|
|
14031
14031
|
})
|
|
@@ -14084,7 +14084,7 @@ function hF(t) {
|
|
|
14084
14084
|
});
|
|
14085
14085
|
}
|
|
14086
14086
|
function pF(t) {
|
|
14087
|
-
const { chart: e, actionMode: i, cursorRange: a } = t, o = w(e.uid, "isRotated"), n = w(e.uid, "config"), s = W(n?.series), r = s === y.ScatterSeries, l = (s === y.LineSeries || s === y.RadarSeries) &&
|
|
14087
|
+
const { chart: e, actionMode: i, cursorRange: a } = t, o = w(e.uid, "isRotated"), n = w(e.uid, "config"), s = W(n?.series), r = s === y.ScatterSeries, l = (s === y.LineSeries || s === y.RadarSeries) && De(n?.axes?.[0]?.valueFormat), c = (s === y.LineSeries || s === y.RadarSeries) && hi(n?.axes?.[0]?.valueFormat), u = (s === y.LineSeries || s === y.RadarSeries) && bt(n?.axes?.[0]?.valueFormat);
|
|
14088
14088
|
let d, f = !1;
|
|
14089
14089
|
const g = i ?? w(e.uid, "actionMode") ?? F.actionMode;
|
|
14090
14090
|
if (w(e.uid, "filterBySelection") === !0)
|
|
@@ -14158,7 +14158,7 @@ function lm(t, e) {
|
|
|
14158
14158
|
if (r !== void 0) {
|
|
14159
14159
|
r.set("paddingBottom", s);
|
|
14160
14160
|
const c = me({ childId: Qf, parent: r });
|
|
14161
|
-
c !== void 0 && (
|
|
14161
|
+
c !== void 0 && (Ot({
|
|
14162
14162
|
label: c,
|
|
14163
14163
|
labelConfig: i,
|
|
14164
14164
|
defaults: F.titleLabel
|
|
@@ -14172,7 +14172,7 @@ function lm(t, e) {
|
|
|
14172
14172
|
if (l !== void 0) {
|
|
14173
14173
|
l.set("paddingBottom", s), r !== void 0 && r.set("paddingBottom", F.titleAndSubtitlePaddingBottom);
|
|
14174
14174
|
const c = me({ childId: Jf, parent: l });
|
|
14175
|
-
c !== void 0 && (
|
|
14175
|
+
c !== void 0 && (Ot({
|
|
14176
14176
|
label: c,
|
|
14177
14177
|
labelConfig: a,
|
|
14178
14178
|
defaults: F.subtitleLabel
|
|
@@ -14207,7 +14207,7 @@ function cm(t, e) {
|
|
|
14207
14207
|
const i = me({ childId: Jn, parent: t });
|
|
14208
14208
|
if (i !== void 0) {
|
|
14209
14209
|
const a = me({ childId: em, parent: i });
|
|
14210
|
-
a !== void 0 && (
|
|
14210
|
+
a !== void 0 && (Ot({
|
|
14211
14211
|
label: a,
|
|
14212
14212
|
labelConfig: e,
|
|
14213
14213
|
defaults: F.footer
|
|
@@ -14250,7 +14250,7 @@ function vF(t) {
|
|
|
14250
14250
|
text: "{value}",
|
|
14251
14251
|
populateText: !0,
|
|
14252
14252
|
centerY: he,
|
|
14253
|
-
centerX:
|
|
14253
|
+
centerX: Oe,
|
|
14254
14254
|
// remove padding so if they fit in the label, it shows
|
|
14255
14255
|
paddingBottom: 0,
|
|
14256
14256
|
paddingTop: 0,
|
|
@@ -14335,7 +14335,7 @@ function TF(t) {
|
|
|
14335
14335
|
customFunction: (L, v, T, k) => {
|
|
14336
14336
|
const I = L.dataItem?.dataContext;
|
|
14337
14337
|
if (L instanceof Rt) {
|
|
14338
|
-
let R,
|
|
14338
|
+
let R, D, $, M = !1;
|
|
14339
14339
|
if (n === xa.Renderer) {
|
|
14340
14340
|
const B = I?.[_.rendererSymbolField];
|
|
14341
14341
|
if (no(B)) {
|
|
@@ -14358,7 +14358,7 @@ function TF(t) {
|
|
|
14358
14358
|
});
|
|
14359
14359
|
ho(L, B);
|
|
14360
14360
|
} else
|
|
14361
|
-
typeof f == "number" && k < f ? { color: R, opacity:
|
|
14361
|
+
typeof f == "number" && k < f ? { color: R, opacity: D } = C : typeof g == "number" && k > g ? { color: R, opacity: D } = x : v === T ? (R = h, D = b) : (R = wh.interpolate((k - v) / (T - v), h, p, "rgb"), D = b + (k - v) / (T - v) * (S - b)), R && L.set("fill", R), D !== void 0 && L.set("fillOpacity", D);
|
|
14362
14362
|
}
|
|
14363
14363
|
}
|
|
14364
14364
|
}
|
|
@@ -14457,7 +14457,7 @@ function wF(t) {
|
|
|
14457
14457
|
}
|
|
14458
14458
|
return e;
|
|
14459
14459
|
}
|
|
14460
|
-
function
|
|
14460
|
+
function DF(t) {
|
|
14461
14461
|
let e;
|
|
14462
14462
|
const { legendItemLabel: i, legendItemColor: a, legendItemStrokeColor: o } = dm(t, !1);
|
|
14463
14463
|
return Array.isArray(a) && (!o || Array.isArray(o)) && (e = {
|
|
@@ -14490,12 +14490,12 @@ function um(t) {
|
|
|
14490
14490
|
classBreakIndex: p,
|
|
14491
14491
|
numberOfClassBreaks: l.classBreakInfos.length,
|
|
14492
14492
|
evaluateUpTo: h
|
|
14493
|
-
}) : S =
|
|
14493
|
+
}) : S = DF(b), S;
|
|
14494
14494
|
}).filter(Boolean);
|
|
14495
14495
|
}
|
|
14496
14496
|
return n;
|
|
14497
14497
|
}
|
|
14498
|
-
function
|
|
14498
|
+
function OF(t) {
|
|
14499
14499
|
const e = t.yAxes.getIndex(0);
|
|
14500
14500
|
if (e) {
|
|
14501
14501
|
const i = me({
|
|
@@ -14638,7 +14638,7 @@ function gm(t) {
|
|
|
14638
14638
|
}), l = e.bottomAxesContainer;
|
|
14639
14639
|
break;
|
|
14640
14640
|
}
|
|
14641
|
-
|
|
14641
|
+
OF(e), i.markDirty(), fl(e, {
|
|
14642
14642
|
chartPaddingTop: c,
|
|
14643
14643
|
chartPaddingBottom: c,
|
|
14644
14644
|
chartPaddingLeft: c,
|
|
@@ -14707,8 +14707,8 @@ function pm(t) {
|
|
|
14707
14707
|
{ color: p.color, opacity: p.opacity, offset: h },
|
|
14708
14708
|
{ color: x, opacity: L, offset: h },
|
|
14709
14709
|
{ color: x, opacity: L, offset: 1 }
|
|
14710
|
-
], T = (I, R,
|
|
14711
|
-
const $ = rt(`heatLegendLabel${
|
|
14710
|
+
], T = (I, R, D) => {
|
|
14711
|
+
const $ = rt(`heatLegendLabel${D}`, e.uid), M = e.markerContainer.children.values.find(
|
|
14712
14712
|
(Y) => Y instanceof ht && Y.get("id") === $
|
|
14713
14713
|
);
|
|
14714
14714
|
let B = M && !M.isDisposed() ? M : void 0;
|
|
@@ -14735,19 +14735,19 @@ function pm(t) {
|
|
|
14735
14735
|
} else {
|
|
14736
14736
|
B.set("x", at(R * 100));
|
|
14737
14737
|
const z = e.startLabel.localBounds().bottom, X = F.heatChart.legend.minMaxLabelPadding;
|
|
14738
|
-
B.set("y", -z - X), B.set("centerX",
|
|
14738
|
+
B.set("y", -z - X), B.set("centerX", Oe);
|
|
14739
14739
|
}
|
|
14740
14740
|
};
|
|
14741
14741
|
g > 0 && g < 1 && T(d, g, "Min"), h > 0 && h < 1 && T(f, h, "Max");
|
|
14742
14742
|
const k = () => {
|
|
14743
14743
|
let I;
|
|
14744
14744
|
if (e.markerContainer.children.length > 0 && e.markerContainer.children.each((R) => {
|
|
14745
|
-
R instanceof
|
|
14745
|
+
R instanceof Oa && (I = R);
|
|
14746
14746
|
}), I) {
|
|
14747
14747
|
let R = 0;
|
|
14748
14748
|
e.get("orientation") === "vertical" && (R = 90), I.set(
|
|
14749
14749
|
"fillGradient",
|
|
14750
|
-
|
|
14750
|
+
Dh.new(e.root, {
|
|
14751
14751
|
stops: v,
|
|
14752
14752
|
rotation: R
|
|
14753
14753
|
})
|
|
@@ -14767,7 +14767,7 @@ function pm(t) {
|
|
|
14767
14767
|
if (e.get("orientation") === "vertical") {
|
|
14768
14768
|
let r;
|
|
14769
14769
|
e.markerContainer.children.length > 0 && e.markerContainer.children.each((l) => {
|
|
14770
|
-
l instanceof
|
|
14770
|
+
l instanceof Oa && (r = l);
|
|
14771
14771
|
}), r && r.set("rotation", 180);
|
|
14772
14772
|
}
|
|
14773
14773
|
};
|
|
@@ -14793,7 +14793,7 @@ function bm(t, e) {
|
|
|
14793
14793
|
}
|
|
14794
14794
|
};
|
|
14795
14795
|
[t.startLabel, t.endLabel].forEach((a) => {
|
|
14796
|
-
|
|
14796
|
+
Ot({ label: a, labelConfig: i, skipSettingText: !0, skipSettingXAndY: !0 });
|
|
14797
14797
|
});
|
|
14798
14798
|
}
|
|
14799
14799
|
}
|
|
@@ -14842,7 +14842,7 @@ function Sm(t) {
|
|
|
14842
14842
|
if (i !== void 0) {
|
|
14843
14843
|
const { title: r, visible: l } = i, { legendTitle: c } = F.legendProperties;
|
|
14844
14844
|
if (r !== void 0) {
|
|
14845
|
-
|
|
14845
|
+
Ot({
|
|
14846
14846
|
label: s,
|
|
14847
14847
|
labelConfig: { ...r, visible: l !== !1 && r.visible !== !1 },
|
|
14848
14848
|
defaults: { ...c, verticalCenter: "top" }
|
|
@@ -15044,20 +15044,20 @@ function Lm(t) {
|
|
|
15044
15044
|
horizontalAlignment: k ? "right" : "center"
|
|
15045
15045
|
}
|
|
15046
15046
|
};
|
|
15047
|
-
|
|
15047
|
+
Ot({
|
|
15048
15048
|
label: e.valueLabels.template,
|
|
15049
15049
|
labelConfig: I,
|
|
15050
15050
|
defaults: F.legendProperties.valueLabels
|
|
15051
15051
|
});
|
|
15052
|
-
const R = w(n?.uid ?? 0, "rtl") ?? !1,
|
|
15052
|
+
const R = w(n?.uid ?? 0, "rtl") ?? !1, D = T !== void 0 && !Number.isNaN(T);
|
|
15053
15053
|
e.valueLabels.template.setAll({
|
|
15054
15054
|
x: void 0,
|
|
15055
15055
|
y: void 0,
|
|
15056
15056
|
paddingRight: 5,
|
|
15057
15057
|
textAlign: R ? "right" : "left",
|
|
15058
15058
|
disabled: S === !1 && C === !1,
|
|
15059
|
-
width:
|
|
15060
|
-
oversizedBehavior:
|
|
15059
|
+
width: D ? T : null,
|
|
15060
|
+
oversizedBehavior: D ? "wrap" : "none"
|
|
15061
15061
|
});
|
|
15062
15062
|
}
|
|
15063
15063
|
}
|
|
@@ -15142,7 +15142,7 @@ function ZF(t) {
|
|
|
15142
15142
|
const e = t.target.dataItem;
|
|
15143
15143
|
if (e?.dataContext !== void 0) {
|
|
15144
15144
|
const { dataContext: i } = e, a = typeof i == "object" && i !== null && "component" in i ? i.component : i;
|
|
15145
|
-
if (a instanceof
|
|
15145
|
+
if (a instanceof Da) {
|
|
15146
15146
|
const n = { visible: !a.get("visible") };
|
|
15147
15147
|
Ui(a) || Zn(a) ? n.overlayType = re(a.uid, "type") : n.seriesId = a.get("id"), dd(n, a.root.dom);
|
|
15148
15148
|
}
|
|
@@ -15261,21 +15261,21 @@ function ya(t, e) {
|
|
|
15261
15261
|
const o = w(t.uid, "config"), n = w(t.uid, "rtl"), s = o?.title ? o.title.visible ?? !0 : !1, r = o?.subtitle ? o.subtitle.visible ?? !0 : !1, l = o?.footer ? o.footer.visible ?? !0 : !1, c = o?.legend ? o.legend.visible ?? !0 : !1, u = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, d = me({ childId: Qn, parent: t }), f = d instanceof Bi && s ? d.height() : 0, g = me({ childId: dl, parent: t }), h = g instanceof Bi && r ? g.height() : 0, b = me({ childId: Jn, parent: t }), p = b instanceof Bi && l ? b.height() : 0, S = me({ childId: fi, parent: a }), C = S instanceof ht && c && u ? S?.height() : 0, x = o?.legend?.position ?? F.legendProperties.position;
|
|
15262
15262
|
let L;
|
|
15263
15263
|
const v = e.get("verticalScrollbar");
|
|
15264
|
-
let T = ce, k = ce, I = i.verticalLayout, R = ce,
|
|
15264
|
+
let T = ce, k = ce, I = i.verticalLayout, R = ce, D = ce, $ = ce, M = ce, B = 0, P;
|
|
15265
15265
|
const z = e.height() + C;
|
|
15266
15266
|
let X = 0, U = 0, G = 0, j = 0, E, ee;
|
|
15267
15267
|
switch (x) {
|
|
15268
15268
|
case H.Left:
|
|
15269
|
-
I = i.verticalLayout, R =
|
|
15269
|
+
I = i.verticalLayout, R = Oe, $ = Oe, D = Oe, M = Oe, P = void 0, T = Oe, k = Oe, X = a.width(), B = f + h, z < t.seriesContainer.height() && (B += t.seriesContainer.height() / 2 - z / 2), e.setPrivate("width", void 0), L = Pc(e), v?.width() !== void 0 && L && v.isVisible() && (L += v.width() + F.scrollbarPadding), n && (E = he, ee = L);
|
|
15270
15270
|
break;
|
|
15271
15271
|
case H.Right:
|
|
15272
|
-
I = i.verticalLayout, R = he, $ = he,
|
|
15272
|
+
I = i.verticalLayout, R = he, $ = he, D = Oe, M = Oe, P = void 0, T = Oe, k = Oe, U = a.width(), B = f + h, z < t.seriesContainer.height() && (B += t.seriesContainer.height() / 2 - z / 2), e.setPrivate("width", void 0), L = Pc(e), v?.width() !== void 0 && L && v.isVisible() && (L += v.width() + F.scrollbarPadding), n && (E = he, ee = L);
|
|
15273
15273
|
break;
|
|
15274
15274
|
case H.Top:
|
|
15275
|
-
I = i.gridLayout, R = ce, $ = ce,
|
|
15275
|
+
I = i.gridLayout, R = ce, $ = ce, D = Oe, M = Oe, P = he, T = ce, k = ce, G += z, B += f + h, L = void 0, n && (E = void 0);
|
|
15276
15276
|
break;
|
|
15277
15277
|
case H.Bottom:
|
|
15278
|
-
I = i.gridLayout, R = ce, $ = ce,
|
|
15278
|
+
I = i.gridLayout, R = ce, $ = ce, D = he, M = he, P = he, T = ce, k = ce, j = z, B = -j - p, L = void 0, n && (E = void 0);
|
|
15279
15279
|
break;
|
|
15280
15280
|
}
|
|
15281
15281
|
(L === void 0 || L > 0) && (e.setPrivate("width", L), n && e.itemContainers.template.setAll({
|
|
@@ -15283,7 +15283,7 @@ function ya(t, e) {
|
|
|
15283
15283
|
dx: ee
|
|
15284
15284
|
})), e.setAll({ layout: I, x: T, centerX: k }), a.setAll({
|
|
15285
15285
|
x: R,
|
|
15286
|
-
y:
|
|
15286
|
+
y: D,
|
|
15287
15287
|
centerX: $,
|
|
15288
15288
|
centerY: M,
|
|
15289
15289
|
dy: B,
|
|
@@ -15352,7 +15352,7 @@ function tA(t, e) {
|
|
|
15352
15352
|
if (r instanceof Je) {
|
|
15353
15353
|
const l = r.get("categoryField") ?? "", c = a.dataItem, u = c?.get("category"), d = c?.dataContext;
|
|
15354
15354
|
o = u ?? (d?.[l] ?? i)?.toString();
|
|
15355
|
-
} else r instanceof
|
|
15355
|
+
} else r instanceof Da && (o = r.get("name"));
|
|
15356
15356
|
}
|
|
15357
15357
|
return o;
|
|
15358
15358
|
});
|
|
@@ -15437,7 +15437,7 @@ function rA(t, e) {
|
|
|
15437
15437
|
const a = me({ childId: fi, parent: i }) ?? km(t, i);
|
|
15438
15438
|
if (e !== void 0) {
|
|
15439
15439
|
const { title: o, visible: n } = e, { legendTitle: s } = F.legendProperties;
|
|
15440
|
-
o !== void 0 ? (
|
|
15440
|
+
o !== void 0 ? (Ot({
|
|
15441
15441
|
label: a,
|
|
15442
15442
|
labelConfig: { ...o, visible: n !== !1 && o.visible !== !1 },
|
|
15443
15443
|
defaults: { ...s, verticalCenter: "top" }
|
|
@@ -15480,7 +15480,7 @@ function cA(t) {
|
|
|
15480
15480
|
chart: n
|
|
15481
15481
|
});
|
|
15482
15482
|
}
|
|
15483
|
-
|
|
15483
|
+
Ot({ label: e.labels.template, labelConfig: s }), e.labels.template.setAll({ x: void 0, y: void 0, paddingRight: 5 });
|
|
15484
15484
|
}
|
|
15485
15485
|
}
|
|
15486
15486
|
function dA(t, e) {
|
|
@@ -15637,7 +15637,7 @@ function hA(t, e) {
|
|
|
15637
15637
|
function zc(t, e) {
|
|
15638
15638
|
typeof e == "number" && Number.isFinite(e) && (t.get("orientation") === "horizontal" ? t.set("marginBottom", e) : t.set("marginLeft", e), t.markDirtyBounds());
|
|
15639
15639
|
}
|
|
15640
|
-
function
|
|
15640
|
+
function Dm(t) {
|
|
15641
15641
|
const { chart: e, scrollbarXConfig: i, scrollbarYConfig: a } = t;
|
|
15642
15642
|
if (!(e instanceof Ei) && e instanceof pe) {
|
|
15643
15643
|
const o = w(e.uid, "isRotated");
|
|
@@ -15927,7 +15927,7 @@ function AA(t) {
|
|
|
15927
15927
|
rendererType: x,
|
|
15928
15928
|
interactionsDisabled: o?.interactionsDisabled
|
|
15929
15929
|
};
|
|
15930
|
-
|
|
15930
|
+
Di({
|
|
15931
15931
|
styleCallback: () => LA(T),
|
|
15932
15932
|
series: e,
|
|
15933
15933
|
seriesConfig: L
|
|
@@ -16025,7 +16025,7 @@ function IA(t) {
|
|
|
16025
16025
|
}
|
|
16026
16026
|
function RA(t) {
|
|
16027
16027
|
const { candleStickSeries: e, seriesConfig: i, options: a } = t;
|
|
16028
|
-
He(e.columns.template, a?.selectionTheme), ja(e, i.name), kA(t), wi(t) &&
|
|
16028
|
+
He(e.columns.template, a?.selectionTheme), ja(e, i.name), kA(t), wi(t) && Di({
|
|
16029
16029
|
styleCallback: () => IA(t),
|
|
16030
16030
|
series: e,
|
|
16031
16031
|
seriesConfig: i
|
|
@@ -16055,7 +16055,7 @@ function wA(t) {
|
|
|
16055
16055
|
}
|
|
16056
16056
|
return c;
|
|
16057
16057
|
}
|
|
16058
|
-
function
|
|
16058
|
+
function DA(t) {
|
|
16059
16059
|
const { chartConfig: e, seriesConfig: i } = t, a = Z(e.series), { showOutliers: o, standardizeValues: n } = e, { y: s } = i, r = i?.query?.where, l = hr(e), c = ts({
|
|
16060
16060
|
chartConfig: l,
|
|
16061
16061
|
seriesConfig: i,
|
|
@@ -16070,7 +16070,7 @@ function OA(t) {
|
|
|
16070
16070
|
});
|
|
16071
16071
|
return c.properties.value = u, c;
|
|
16072
16072
|
}
|
|
16073
|
-
function
|
|
16073
|
+
function OA(t) {
|
|
16074
16074
|
const {
|
|
16075
16075
|
chartConfig: e,
|
|
16076
16076
|
seriesConfig: i,
|
|
@@ -16095,7 +16095,7 @@ function MA(t) {
|
|
|
16095
16095
|
seriesWereReinitialized: l,
|
|
16096
16096
|
options: c
|
|
16097
16097
|
} = t, u = re(e.uid, "bulletTemplate");
|
|
16098
|
-
u && He(u, c?.selectionTheme), ja(e, a?.name),
|
|
16098
|
+
u && He(u, c?.selectionTheme), ja(e, a?.name), OA({
|
|
16099
16099
|
chartConfig: i,
|
|
16100
16100
|
meanLineSeries: e,
|
|
16101
16101
|
data: o,
|
|
@@ -16110,7 +16110,7 @@ function $A(t) {
|
|
|
16110
16110
|
const { root: e, xAxis: i, yAxis: a, chartConfig: o, seriesIndex: n, options: s, errorStrings: r } = t, l = o.series[n];
|
|
16111
16111
|
let c;
|
|
16112
16112
|
if (l.type === y.LineSeries) {
|
|
16113
|
-
const u =
|
|
16113
|
+
const u = DA({ chartConfig: o, seriesConfig: l });
|
|
16114
16114
|
c = se.new(e, {
|
|
16115
16115
|
id: l.id,
|
|
16116
16116
|
xAxis: i,
|
|
@@ -16220,7 +16220,7 @@ function EA(t) {
|
|
|
16220
16220
|
seriesWereReinitialized: c
|
|
16221
16221
|
});
|
|
16222
16222
|
const f = VA(n, o.visible);
|
|
16223
|
-
oe(e, f), wi(t) &&
|
|
16223
|
+
oe(e, f), wi(t) && Di({
|
|
16224
16224
|
styleCallback: () => WA(t),
|
|
16225
16225
|
series: e,
|
|
16226
16226
|
seriesConfig: o
|
|
@@ -16325,7 +16325,7 @@ function XA(t) {
|
|
|
16325
16325
|
dataWasUpdated: r,
|
|
16326
16326
|
seriesWereReinitialized: l
|
|
16327
16327
|
} = t, c = o.visible !== !1;
|
|
16328
|
-
i !== void 0 && o.type === y.BoxPlotSeries && (oe(i, c), wi(t) &&
|
|
16328
|
+
i !== void 0 && o.type === y.BoxPlotSeries && (oe(i, c), wi(t) && Di({
|
|
16329
16329
|
styleCallback: () => GA(t),
|
|
16330
16330
|
series: i,
|
|
16331
16331
|
seriesConfig: o
|
|
@@ -16385,7 +16385,7 @@ function ts(t) {
|
|
|
16385
16385
|
function YA(t, e) {
|
|
16386
16386
|
return t.series.values.find((i) => BA(i, e));
|
|
16387
16387
|
}
|
|
16388
|
-
function
|
|
16388
|
+
function Om(t, e) {
|
|
16389
16389
|
const i = t.series.values.find(
|
|
16390
16390
|
(n) => n.get("id") === `${e}_${fe.Top}`
|
|
16391
16391
|
), a = t.series.values.find(
|
|
@@ -16441,7 +16441,7 @@ function jA(t) {
|
|
|
16441
16441
|
if (s && r) {
|
|
16442
16442
|
const l = t.series.values.filter((c) => c instanceof Ii);
|
|
16443
16443
|
l.forEach((c, u) => {
|
|
16444
|
-
const { topStepLineSeries: d, medianStepLineSeries: f, bottomStepLineSeries: g } =
|
|
16444
|
+
const { topStepLineSeries: d, medianStepLineSeries: f, bottomStepLineSeries: g } = Om(
|
|
16445
16445
|
t,
|
|
16446
16446
|
c.get("id") ?? ""
|
|
16447
16447
|
);
|
|
@@ -16498,7 +16498,7 @@ function ZA(t) {
|
|
|
16498
16498
|
a.set("id", o.id);
|
|
16499
16499
|
const n = a.get("id") ?? "";
|
|
16500
16500
|
RA({ ...t, seriesConfig: o, candleStickSeries: a });
|
|
16501
|
-
const { topStepLineSeries: s, medianStepLineSeries: r, bottomStepLineSeries: l } =
|
|
16501
|
+
const { topStepLineSeries: s, medianStepLineSeries: r, bottomStepLineSeries: l } = Om(
|
|
16502
16502
|
e,
|
|
16503
16503
|
n
|
|
16504
16504
|
), c = [
|
|
@@ -16562,7 +16562,7 @@ function eT(t) {
|
|
|
16562
16562
|
if (u !== void 0) {
|
|
16563
16563
|
oe(e.bulletsContainer, o.markerVisible !== !1 && o.visible !== !1);
|
|
16564
16564
|
let { markerSymbol: d } = o;
|
|
16565
|
-
d === void 0 && (d =
|
|
16565
|
+
d === void 0 && (d = Od(), d.color = s), n ? d.color = s : d.color ??= s;
|
|
16566
16566
|
const f = Et({
|
|
16567
16567
|
dataItem: e.dataItems[0]?.dataContext,
|
|
16568
16568
|
seriesConfig: o,
|
|
@@ -16782,7 +16782,7 @@ function sT(t) {
|
|
|
16782
16782
|
seriesIndex: n,
|
|
16783
16783
|
tooltipFormatter: o?.tooltipFormatter,
|
|
16784
16784
|
utilsStrings: c
|
|
16785
|
-
}), wi(t) &&
|
|
16785
|
+
}), wi(t) && Di({
|
|
16786
16786
|
styleCallback: () => oT(t),
|
|
16787
16787
|
series: e,
|
|
16788
16788
|
seriesConfig: b
|
|
@@ -16796,7 +16796,7 @@ function lT(t, e) {
|
|
|
16796
16796
|
i.set("cursorOverStyle", "pointer"), i.setup = (a) => {
|
|
16797
16797
|
a.set(
|
|
16798
16798
|
"background",
|
|
16799
|
-
|
|
16799
|
+
Oa.new(a.root, {
|
|
16800
16800
|
fill: a.root.interfaceColors.get("alternativeBackground"),
|
|
16801
16801
|
fillOpacity: 0
|
|
16802
16802
|
})
|
|
@@ -16906,7 +16906,7 @@ function mT(t) {
|
|
|
16906
16906
|
const { pieSeries: e, seriesConfig: i, dataLabelFormatter: a } = t, { dataLabels: o } = i, n = i.dataLabelsOffset ?? F.pieChart.dataLabelsOffset, s = i.dataLabelsInside ?? F.pieChart.dataLabelsInside;
|
|
16907
16907
|
Ge(e.uid, {
|
|
16908
16908
|
pieChartDataLabelFormatter: a ?? fT(e, i)
|
|
16909
|
-
}),
|
|
16909
|
+
}), Ot({
|
|
16910
16910
|
label: e.labels.template,
|
|
16911
16911
|
labelConfig: o,
|
|
16912
16912
|
defaults: {
|
|
@@ -17047,7 +17047,7 @@ function xT(t) {
|
|
|
17047
17047
|
data: s,
|
|
17048
17048
|
labelUpdateNeeded: l,
|
|
17049
17049
|
groupOfSlicesUpdateNeeded: u
|
|
17050
|
-
}), wi(t) &&
|
|
17050
|
+
}), wi(t) && Di({
|
|
17051
17051
|
styleCallback: () => hT(t),
|
|
17052
17052
|
series: e,
|
|
17053
17053
|
seriesConfig: i
|
|
@@ -17249,7 +17249,7 @@ function IT(t) {
|
|
|
17249
17249
|
seriesIndex: s,
|
|
17250
17250
|
tooltipFormatter: n?.tooltipFormatter,
|
|
17251
17251
|
utilsStrings: f
|
|
17252
|
-
}), wi(t) &&
|
|
17252
|
+
}), wi(t) && Di({
|
|
17253
17253
|
styleCallback: () => kT(t),
|
|
17254
17254
|
series: e,
|
|
17255
17255
|
seriesConfig: g
|
|
@@ -17384,13 +17384,13 @@ function is(t) {
|
|
|
17384
17384
|
utilsStrings: S,
|
|
17385
17385
|
groupOfSlicesUpdateNeeded: C,
|
|
17386
17386
|
labelUpdateNeeded: x
|
|
17387
|
-
} = t, { chartRenderer: L } = i, { root: v } = e, { series: T } = i, k = W(i.series), I = Z(i.series), R = e.series.values,
|
|
17387
|
+
} = t, { chartRenderer: L } = i, { root: v } = e, { series: T } = i, k = W(i.series), I = Z(i.series), R = e.series.values, D = _i(i), $ = i.series.length, M = /* @__PURE__ */ new Map(), B = vt(p, a?.popupTemplateFieldInfosEnabled), P = it(p), Y = _e(P) ? void 0 : mr(L, P.renderer), z = l || s || r || c || d, X = {
|
|
17388
17388
|
root: v,
|
|
17389
17389
|
chartConfig: i,
|
|
17390
17390
|
queryObject: p,
|
|
17391
17391
|
// @REV: temporary
|
|
17392
17392
|
options: a,
|
|
17393
|
-
colorMatch:
|
|
17393
|
+
colorMatch: D,
|
|
17394
17394
|
dataWasUpdated: s,
|
|
17395
17395
|
sortChanged: r,
|
|
17396
17396
|
seriesWereReinitialized: l,
|
|
@@ -17442,7 +17442,7 @@ function is(t) {
|
|
|
17442
17442
|
break;
|
|
17443
17443
|
}
|
|
17444
17444
|
case ee === y.HistogramSeries: {
|
|
17445
|
-
E instanceof ye && e instanceof pe &&
|
|
17445
|
+
E instanceof ye && e instanceof pe && Og(o) && WL({
|
|
17446
17446
|
...U,
|
|
17447
17447
|
series: E,
|
|
17448
17448
|
allChartSeries: R,
|
|
@@ -17484,7 +17484,7 @@ function is(t) {
|
|
|
17484
17484
|
case ee === y.ScatterSeries: {
|
|
17485
17485
|
E = Kv(e);
|
|
17486
17486
|
const ve = If(e);
|
|
17487
|
-
E instanceof se && ve instanceof se &&
|
|
17487
|
+
E instanceof se && ve instanceof se && Dg(o) && oL({
|
|
17488
17488
|
...U,
|
|
17489
17489
|
series: E,
|
|
17490
17490
|
seriesConfig: j,
|
|
@@ -17526,13 +17526,13 @@ function wT(t) {
|
|
|
17526
17526
|
}
|
|
17527
17527
|
});
|
|
17528
17528
|
}
|
|
17529
|
-
function
|
|
17529
|
+
function DT(t) {
|
|
17530
17530
|
t.slices.each((e) => {
|
|
17531
17531
|
const i = Yt(e.uid, "selected") !== !0;
|
|
17532
17532
|
we({ element: e, selected: i });
|
|
17533
17533
|
});
|
|
17534
17534
|
}
|
|
17535
|
-
async function
|
|
17535
|
+
async function OT(t, e) {
|
|
17536
17536
|
if (Qr(t)) {
|
|
17537
17537
|
const i = w(t.uid, "actionMode");
|
|
17538
17538
|
i !== J.MonoSelection && i !== J.None && (t.series.each((a) => {
|
|
@@ -17544,7 +17544,7 @@ async function DT(t, e) {
|
|
|
17544
17544
|
RT(a);
|
|
17545
17545
|
break;
|
|
17546
17546
|
case a instanceof Je:
|
|
17547
|
-
|
|
17547
|
+
DT(a);
|
|
17548
17548
|
break;
|
|
17549
17549
|
}
|
|
17550
17550
|
}), await Ro({
|
|
@@ -17611,7 +17611,7 @@ function MT(t, e) {
|
|
|
17611
17611
|
return i = c || d, i;
|
|
17612
17612
|
}
|
|
17613
17613
|
function $T() {
|
|
17614
|
-
|
|
17614
|
+
Oh(Ux);
|
|
17615
17615
|
}
|
|
17616
17616
|
function BT(t) {
|
|
17617
17617
|
t.dispose();
|
|
@@ -17738,7 +17738,7 @@ function ET(t) {
|
|
|
17738
17738
|
rotationChanged: f,
|
|
17739
17739
|
axisLabelsBehaviorChanged: I,
|
|
17740
17740
|
timeIntervalInfoWasReset: x
|
|
17741
|
-
}),
|
|
17741
|
+
}), D = R || Tv({
|
|
17742
17742
|
currentChartSeriesCount: e.series.length,
|
|
17743
17743
|
chartConfig: i,
|
|
17744
17744
|
dataUpdateDetails: s,
|
|
@@ -17746,7 +17746,7 @@ function ET(t) {
|
|
|
17746
17746
|
sizePolicyChangesRequireSeriesReinit: v,
|
|
17747
17747
|
seriesCompositionChanged: b
|
|
17748
17748
|
});
|
|
17749
|
-
return R && (im({ chart: e, chartConfig: i, errorStrings: k }), I = [!0, !0]),
|
|
17749
|
+
return R && (im({ chart: e, chartConfig: i, errorStrings: k }), I = [!0, !0]), D && (e.series.clear(), pl({ chart: e, chartConfig: i, options: u, utilsStrings: T, queryObject: d, errorStrings: k }), e.gridContainer?.toBack?.()), am({
|
|
17750
17750
|
chart: e,
|
|
17751
17751
|
chartConfig: i,
|
|
17752
17752
|
queryObject: d,
|
|
@@ -17773,7 +17773,7 @@ function ET(t) {
|
|
|
17773
17773
|
dataWasUpdated: n,
|
|
17774
17774
|
sortChanged: c,
|
|
17775
17775
|
seriesIndexMapper: r,
|
|
17776
|
-
seriesWereReinitialized:
|
|
17776
|
+
seriesWereReinitialized: D,
|
|
17777
17777
|
rotationChanged: f,
|
|
17778
17778
|
colorMatchChanged: g,
|
|
17779
17779
|
stackedTypeChanged: h,
|
|
@@ -17788,11 +17788,11 @@ function ET(t) {
|
|
|
17788
17788
|
dataWasUpdated: n,
|
|
17789
17789
|
chartConfig: i,
|
|
17790
17790
|
queryObject: d
|
|
17791
|
-
}), W(i.series) === y.HeatSeries && mm(e),
|
|
17791
|
+
}), W(i.series) === y.HeatSeries && mm(e), Dm({
|
|
17792
17792
|
chart: e,
|
|
17793
17793
|
scrollbarXConfig: i.axes?.[0]?.scrollbar,
|
|
17794
17794
|
scrollbarYConfig: i.axes?.[1]?.scrollbar
|
|
17795
|
-
}),
|
|
17795
|
+
}), D;
|
|
17796
17796
|
}
|
|
17797
17797
|
function zT(t) {
|
|
17798
17798
|
const { chart: e, legend: i, updateProps: a } = t, {
|
|
@@ -17826,7 +17826,7 @@ function zT(t) {
|
|
|
17826
17826
|
rendererFieldNames: d,
|
|
17827
17827
|
queryObject: h
|
|
17828
17828
|
});
|
|
17829
|
-
const I = vt(h, L), R = Mg(v, o),
|
|
17829
|
+
const I = vt(h, L), R = Mg(v, o), D = Ld(v, o), $ = sd(v, o), M = $g(v, o), B = MT(v, o), P = JSON.stringify(Zo(v.series)) !== JSON.stringify(Zo(o.series)), Y = or(v, o), z = Bg(v, o), X = vd(v, o), U = wd(v, o), G = Ng(v, o), j = An({
|
|
17830
17830
|
oldConfig: l ? f : v,
|
|
17831
17831
|
newConfig: o,
|
|
17832
17832
|
dataWasUpdated: s
|
|
@@ -17836,7 +17836,7 @@ function zT(t) {
|
|
|
17836
17836
|
const et = Fd({
|
|
17837
17837
|
oldConfig: v,
|
|
17838
17838
|
newConfig: o,
|
|
17839
|
-
rotationChanged:
|
|
17839
|
+
rotationChanged: D
|
|
17840
17840
|
}), ti = v.series, mi = o.series;
|
|
17841
17841
|
if (s) {
|
|
17842
17842
|
const { queryConfig: ba, count: os } = b ?? {};
|
|
@@ -17851,9 +17851,9 @@ function zT(t) {
|
|
|
17851
17851
|
const wo = e instanceof Kt ? Mr(
|
|
17852
17852
|
ti,
|
|
17853
17853
|
mi
|
|
17854
|
-
) : !1, as = nd({ oldConfig: v, newConfig: o }),
|
|
17854
|
+
) : !1, as = nd({ oldConfig: v, newConfig: o }), Do = /* @__PURE__ */ new Map();
|
|
17855
17855
|
(f ?? o).series.forEach((ba, os) => {
|
|
17856
|
-
|
|
17856
|
+
Do.set(ba.id, os);
|
|
17857
17857
|
}), om(e, o.background), lm(e, { title: o.title, subtitle: o.subtitle }), cm(e, o.footer), rm({
|
|
17858
17858
|
root: x,
|
|
17859
17859
|
chart: e,
|
|
@@ -17862,7 +17862,7 @@ function zT(t) {
|
|
|
17862
17862
|
errorStrings: C
|
|
17863
17863
|
});
|
|
17864
17864
|
const Ka = W(o.series);
|
|
17865
|
-
let
|
|
17865
|
+
let Oo = !1;
|
|
17866
17866
|
switch (Ka) {
|
|
17867
17867
|
case y.PieSeries: {
|
|
17868
17868
|
e instanceof Kt && (si(h), WT({
|
|
@@ -17892,20 +17892,20 @@ function zT(t) {
|
|
|
17892
17892
|
case y.GaugeSeries:
|
|
17893
17893
|
case y.HistogramSeries:
|
|
17894
17894
|
case y.BoxPlotSeries:
|
|
17895
|
-
e instanceof pe && (
|
|
17895
|
+
e instanceof pe && (Oo = ET({
|
|
17896
17896
|
chart: e,
|
|
17897
17897
|
chartConfig: o,
|
|
17898
17898
|
options: n,
|
|
17899
17899
|
data: p,
|
|
17900
17900
|
dataWasUpdated: s,
|
|
17901
|
-
seriesIndexMapper:
|
|
17901
|
+
seriesIndexMapper: Do,
|
|
17902
17902
|
dataUpdateDetails: r,
|
|
17903
17903
|
seriesFilteredOut: l,
|
|
17904
17904
|
heatChartHideEmptyRowsAndColumnsChanged: Le,
|
|
17905
17905
|
sortChanged: j,
|
|
17906
17906
|
axisLabelsBehaviorChanged: et,
|
|
17907
17907
|
anyGuideAboveChanged: R,
|
|
17908
|
-
rotationChanged:
|
|
17908
|
+
rotationChanged: D,
|
|
17909
17909
|
colorMatchChanged: $,
|
|
17910
17910
|
stackedTypeChanged: M,
|
|
17911
17911
|
seriesStyleChanged: B,
|
|
@@ -17934,7 +17934,7 @@ function zT(t) {
|
|
|
17934
17934
|
queryObject: h
|
|
17935
17935
|
});
|
|
17936
17936
|
};
|
|
17937
|
-
|
|
17937
|
+
Oo ? ui(ba) : ba();
|
|
17938
17938
|
}
|
|
17939
17939
|
js({ chart: e, actionMode: n?.actionMode, cursorRange: n?.cursorRange }), Cf(e), cf({ chart: e, chartConfig: o, delayCallback: s });
|
|
17940
17940
|
}
|
|
@@ -17964,7 +17964,7 @@ function HT(t) {
|
|
|
17964
17964
|
}
|
|
17965
17965
|
function _T(t) {
|
|
17966
17966
|
const { chart: e, data: i, chartConfig: a, options: o, queryObject: n, seriesIndexMapper: s, utilsStrings: r, errorStrings: l } = t;
|
|
17967
|
-
wm(e),
|
|
17967
|
+
wm(e), Dm({
|
|
17968
17968
|
chart: e,
|
|
17969
17969
|
scrollbarXConfig: a.axes?.[0]?.scrollbar,
|
|
17970
17970
|
scrollbarYConfig: a.axes?.[1]?.scrollbar
|
|
@@ -18040,8 +18040,8 @@ function GT(t) {
|
|
|
18040
18040
|
});
|
|
18041
18041
|
const { title: k, subtitle: I, footer: R } = i;
|
|
18042
18042
|
yF(S, C), lm(C, { title: k, subtitle: I }), SF(C), cm(C, R), mF(S, C), om(C, i.background);
|
|
18043
|
-
const
|
|
18044
|
-
pt(C.uid, { fieldList:
|
|
18043
|
+
const D = vt(c, a?.popupTemplateFieldInfosEnabled);
|
|
18044
|
+
pt(C.uid, { fieldList: D }), pt(C.uid, {
|
|
18045
18045
|
options: a,
|
|
18046
18046
|
queryConfig: b,
|
|
18047
18047
|
elementCount: p,
|
|
@@ -18089,7 +18089,7 @@ function GT(t) {
|
|
|
18089
18089
|
dispose: () => BT(S),
|
|
18090
18090
|
resetZoom: L,
|
|
18091
18091
|
clearSelection: () => ji({ chart: C }),
|
|
18092
|
-
switchSelection: async () => await
|
|
18092
|
+
switchSelection: async () => await OT(C, l.errorStrings),
|
|
18093
18093
|
setActionMode: (v, T) => js({ chart: C, actionMode: v, cursorRange: T })
|
|
18094
18094
|
};
|
|
18095
18095
|
}
|
|
@@ -18202,7 +18202,7 @@ function jT(t) {
|
|
|
18202
18202
|
e?.axes?.forEach((o) => {
|
|
18203
18203
|
i.textColor && (o?.title?.content && (!o.title.content.color || o.title.content.color.toString() === a) && (o.title.content.color = i.textColor), o?.labels?.content && (!o.labels.content.color || o.labels.content.color.toString() === a) && (o.labels.content.color = i.textColor));
|
|
18204
18204
|
const n = wa();
|
|
18205
|
-
n[3] =
|
|
18205
|
+
n[3] = Dl, o?.grid && i.secondaryLineColor && (!o.grid.color || o.grid.color.toString() === n.toString()) && (o.grid.color = i.secondaryLineColor, o.grid.color[3] = Dl), o?.lineSymbol && i.lineColor && (!o.lineSymbol.color || o.lineSymbol.color.toString() === xh.toString()) && (o.lineSymbol.color = i.lineColor), o?.guides?.forEach((s) => {
|
|
18206
18206
|
s.label && i.textColor && (!s.label.color || s.label.color.toString() === a) && (s.label.color = i.textColor), i.lineColor && (s.style?.type === K.SLS && (!s.style.color || s.style.color.toString() === Ul.style.color?.toString()) ? s.style.color = i.lineColor : s.style?.type === K.SFS && s.style?.outline && (!s.style.outline.color || s.style.outline.color.toString() === Ul.style.color?.toString()) && (s.style.outline.color = i.lineColor));
|
|
18207
18207
|
});
|
|
18208
18208
|
});
|
|
@@ -18334,7 +18334,7 @@ function dk(t) {
|
|
|
18334
18334
|
// observe initialization changes so unsupported clones can be retried after loading.
|
|
18335
18335
|
() => i.allLayers.map((a) => `${a.uid}:${a.loadStatus}`),
|
|
18336
18336
|
() => {
|
|
18337
|
-
const a = t.layer, o = a ?
|
|
18337
|
+
const a = t.layer, o = a ? Dd(a) : void 0, n = o ? (
|
|
18338
18338
|
// match on stable identity fields preserved across clone-and-replace.
|
|
18339
18339
|
Array.from(i.allLayers).find((r) => r.id === o.id)
|
|
18340
18340
|
) : void 0, s = n?.uid !== o?.uid;
|
|
@@ -18922,8 +18922,8 @@ class Lk extends _m {
|
|
|
18922
18922
|
errorStrings: g
|
|
18923
18923
|
});
|
|
18924
18924
|
if (this.internalModel?.config?.series.length !== I?.series.length) {
|
|
18925
|
-
const
|
|
18926
|
-
this.internalModel?.config?.series.push(...
|
|
18925
|
+
const D = I?.series.filter(($) => !this.internalModel?.config?.series.some((M) => M.id === $.id)) ?? [];
|
|
18926
|
+
this.internalModel?.config?.series.push(...D);
|
|
18927
18927
|
}
|
|
18928
18928
|
return { alteredConfig: I, preFetchedQueryResponse: R };
|
|
18929
18929
|
},
|
|
@@ -18978,7 +18978,7 @@ class Lk extends _m {
|
|
|
18978
18978
|
],
|
|
18979
18979
|
task: async ([e, i, a, o, n, s, r, l, c, u, d, f, g, h, b, p, S, C, x, L, v, T, k], { signal: I }) => {
|
|
18980
18980
|
let R;
|
|
18981
|
-
const { dataUpdateNeeded:
|
|
18981
|
+
const { dataUpdateNeeded: D, dataUpdateDetails: $ } = await this._checkIfDataUpdateIsNeeded.taskComplete;
|
|
18982
18982
|
if (T && x && !Zi(T)) {
|
|
18983
18983
|
const M = Yl({
|
|
18984
18984
|
input: T,
|
|
@@ -18987,7 +18987,7 @@ class Lk extends _m {
|
|
|
18987
18987
|
errorStrings: i,
|
|
18988
18988
|
layerLoadError: this.layerLoadError
|
|
18989
18989
|
});
|
|
18990
|
-
if (M.valid &&
|
|
18990
|
+
if (M.valid && D) {
|
|
18991
18991
|
const B = vt(x, a || o), P = qs({
|
|
18992
18992
|
syncViewTimeZone: S,
|
|
18993
18993
|
syncViewTimeZoneInclusionList: C,
|
|
@@ -19027,7 +19027,7 @@ class Lk extends _m {
|
|
|
19027
19027
|
chartData: B,
|
|
19028
19028
|
x: T.series[0].x
|
|
19029
19029
|
});
|
|
19030
|
-
R = { valid: !Number.isNaN(P), data: { ...this._processedChartData } }, Number.isNaN(P) && B.length > 0 && (R.invalidType =
|
|
19030
|
+
R = { valid: !Number.isNaN(P), data: { ...this._processedChartData } }, Number.isNaN(P) && B.length > 0 && (R.invalidType = Oi.NoValue, R.count = B.length);
|
|
19031
19031
|
}
|
|
19032
19032
|
}
|
|
19033
19033
|
return { dataInfo: R, dataWasUpdated: !!R };
|
|
@@ -19068,7 +19068,7 @@ class Lk extends _m {
|
|
|
19068
19068
|
return this.selectionManager !== void 0 || this.view?.selectionManager !== void 0 && (this.syncViewSelection || this.syncSelectionsBetweenChartAndLayerViewPolicy === Is.Enabled);
|
|
19069
19069
|
}
|
|
19070
19070
|
get loadedLayer() {
|
|
19071
|
-
return this.queryObject ?
|
|
19071
|
+
return this.queryObject ? Dd(this.queryObject) : void 0;
|
|
19072
19072
|
}
|
|
19073
19073
|
get _isAnyTaskPending() {
|
|
19074
19074
|
return [
|
|
@@ -19287,8 +19287,8 @@ class Lk extends _m {
|
|
|
19287
19287
|
async _generateHeatChartClassBreaks(e, i) {
|
|
19288
19288
|
if (!_e(this.loadedLayer) && (Mo(this.internalModel) || zt(this.internalModel?.config)) && e?.data && "dataItems" in e.data) {
|
|
19289
19289
|
const a = this.internalModel, o = Mo(a);
|
|
19290
|
-
let n, s =
|
|
19291
|
-
o ? (n = a.classificationMethod, s = a.breaksCount, r = a.colorRampName, l = a.xAxisField, c = a.chartRenderer?.classBreakInfos, u = a.isColorRampFlipped, d = a.chartRenderer) : a && zt(a.config) && (n = a.config.series[0]?.classBreaksRules?.classificationMethod, s = a.config.series[0]?.classBreaksRules?.breaksCount ??
|
|
19290
|
+
let n, s = Ol, r, l, c, u, d;
|
|
19291
|
+
o ? (n = a.classificationMethod, s = a.breaksCount, r = a.colorRampName, l = a.xAxisField, c = a.chartRenderer?.classBreakInfos, u = a.isColorRampFlipped, d = a.chartRenderer) : a && zt(a.config) && (n = a.config.series[0]?.classBreaksRules?.classificationMethod, s = a.config.series[0]?.classBreaksRules?.breaksCount ?? Ol, r = a.config.series[0]?.classBreaksRules?.colorRampInfo?.name, l = a.config.series[0]?.x, c = a.config.chartRenderer?.classBreakInfos, u = a.config.series[0]?.classBreaksRules?.colorRampInfo?.flipped, d = a.config.chartRenderer);
|
|
19292
19292
|
const f = await gp({
|
|
19293
19293
|
data: e.data,
|
|
19294
19294
|
classificationMethod: n,
|
|
@@ -19367,7 +19367,7 @@ class Lk extends _m {
|
|
|
19367
19367
|
this._actionBarElement = e && "assignedElements" in e ? e.assignedElements().find((i) => i.tagName.toLowerCase() === "arcgis-charts-action-bar") : void 0;
|
|
19368
19368
|
}
|
|
19369
19369
|
_checkForInvalidContainer() {
|
|
19370
|
-
this._chartRef.value ||
|
|
19370
|
+
this._chartRef.value || Dn("divNode", this._commonStrings?.errorStrings);
|
|
19371
19371
|
}
|
|
19372
19372
|
_handleRenderingComplete(e) {
|
|
19373
19373
|
this.arcgisRenderingComplete.emit(e.detail), this.showLoader = !1;
|
|
@@ -19685,7 +19685,7 @@ class Lk extends _m {
|
|
|
19685
19685
|
axisConfigIndex: n,
|
|
19686
19686
|
chartData: jt(i?.data ?? this._sanitizedChartData)
|
|
19687
19687
|
}) || (a = !1, this._raiseInvalidDataWarning({
|
|
19688
|
-
invalidType: n === 0 ?
|
|
19688
|
+
invalidType: n === 0 ? Oi.NegativeValueInXAxisLogScale : Oi.NegativeValueInYAxisLogScale,
|
|
19689
19689
|
queryObject: e
|
|
19690
19690
|
}));
|
|
19691
19691
|
}), a;
|
|
@@ -19695,13 +19695,13 @@ class Lk extends _m {
|
|
|
19695
19695
|
let n = !1;
|
|
19696
19696
|
if (i?.data) {
|
|
19697
19697
|
const s = jt(i.data);
|
|
19698
|
-
let r =
|
|
19698
|
+
let r = Oi.EmptyDataSet;
|
|
19699
19699
|
rh({
|
|
19700
19700
|
chartConfig: a,
|
|
19701
19701
|
nullAsValid: this.nullAsValid,
|
|
19702
19702
|
zeroCountAsValid: this.zeroCountAsValid,
|
|
19703
19703
|
dataSet: s
|
|
19704
|
-
}) && (zo(this.internalModel?.config) && us(this.internalModel?.config) && i.count && i.count > 0 && (r =
|
|
19704
|
+
}) && (zo(this.internalModel?.config) && us(this.internalModel?.config) && i.count && i.count > 0 && (r = Oi.NoValue), n = !0, this.showLoader = !1, this._raiseInvalidDataWarning({ invalidType: r, elementCount: i.count, queryObject: o }));
|
|
19705
19705
|
}
|
|
19706
19706
|
return n;
|
|
19707
19707
|
}
|
|
@@ -19722,7 +19722,7 @@ class Lk extends _m {
|
|
|
19722
19722
|
isByFeatureGauge: l,
|
|
19723
19723
|
errorStrings: this._commonStrings?.errorStrings
|
|
19724
19724
|
});
|
|
19725
|
-
(c.keyword !==
|
|
19725
|
+
(c.keyword !== Oi.EmptyDataSet || this.infoModalMessage === void 0 || c.keyword === Oi.EmptyDataSet && l) && (this.arcgisBadDataWarningRaise.emit(c), this.notify(c.message, c.header));
|
|
19726
19726
|
}
|
|
19727
19727
|
_processInvalidConfigStatus(e, i) {
|
|
19728
19728
|
if (this.enableConfiguration || this.configurationEnabled)
|
|
@@ -19736,7 +19736,7 @@ class Lk extends _m {
|
|
|
19736
19736
|
errorStrings: this._commonStrings?.errorStrings
|
|
19737
19737
|
});
|
|
19738
19738
|
this.arcgisInvalidConfigWarningRaise.emit({
|
|
19739
|
-
keyword:
|
|
19739
|
+
keyword: Oi.InvalidConfig,
|
|
19740
19740
|
header: a,
|
|
19741
19741
|
message: o
|
|
19742
19742
|
}), this.notify(o, a);
|
|
@@ -19857,13 +19857,13 @@ class Lk extends _m {
|
|
|
19857
19857
|
chartConfig: d,
|
|
19858
19858
|
allowColorMatch: ld({ chartConfig: d, queryObject: o })
|
|
19859
19859
|
})), this._calciteThemeColors && (d = ik(d, this._calciteThemeColors), this._calciteThemeApplied = Sl(this.el));
|
|
19860
|
-
let
|
|
19860
|
+
let D = !1, $;
|
|
19861
19861
|
if (d.series[0].type === y.PieSeries) {
|
|
19862
19862
|
const B = jt(this._processedChartData), P = jt(b.data);
|
|
19863
|
-
|
|
19863
|
+
D = Qd(B, P), $ = Kd({
|
|
19864
19864
|
creation: a,
|
|
19865
19865
|
dataInfo: b,
|
|
19866
|
-
pieChartDataActuallyChanged:
|
|
19866
|
+
pieChartDataActuallyChanged: D,
|
|
19867
19867
|
chartConfig: d,
|
|
19868
19868
|
previousConfig: f,
|
|
19869
19869
|
queryObject: o,
|
|
@@ -19874,7 +19874,7 @@ class Lk extends _m {
|
|
|
19874
19874
|
const M = await Gp({
|
|
19875
19875
|
creation: a,
|
|
19876
19876
|
dataInfo: b,
|
|
19877
|
-
pieChartDataActuallyChanged:
|
|
19877
|
+
pieChartDataActuallyChanged: D,
|
|
19878
19878
|
chartConfig: d,
|
|
19879
19879
|
previousConfig: f,
|
|
19880
19880
|
pieSlicesSymbols: $,
|