@arcgis/charts-components 5.2.2 → 5.2.4
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/{ZIZI52ZU.js → 225PWQD7.js} +1 -1
- package/dist/cdn/{AWYUPUUD.js → 22LJ237B.js} +1 -1
- package/dist/cdn/{B6AY2BEK.js → 22W4DAQI.js} +1 -1
- package/dist/cdn/{RTEDJ3T4.js → 2E7Y73KW.js} +1 -1
- package/dist/cdn/{MWZXEV2Y.js → 32PSVIYD.js} +1 -1
- package/dist/cdn/{KTGSCBYU.js → 3LH2CN6Q.js} +1 -1
- package/dist/cdn/{ZI76SVPP.js → 4DVYBRML.js} +1 -1
- package/dist/cdn/{TEEVPE55.js → 4UL2F4EM.js} +1 -1
- package/dist/cdn/{KPLGLGTL.js → 5FF4FYK6.js} +1 -1
- package/dist/cdn/{KD4JWBDI.js → 5H5BOE5X.js} +1 -1
- package/dist/cdn/{KUCSPQBP.js → 5MECBMJC.js} +1 -1
- package/dist/cdn/{Z2SCWDQL.js → 5MH2LKNP.js} +1 -1
- package/dist/cdn/{WCJEURG5.js → 62IYW4WP.js} +1 -1
- package/dist/cdn/{SRSYDZ6O.js → 6VB7M75J.js} +1 -1
- package/dist/cdn/{233QAVL2.js → 73I74AX7.js} +1 -1
- package/dist/cdn/{GJVEKBGE.js → 7AWQQJBB.js} +1 -1
- package/dist/cdn/{YXIUOIPZ.js → 7DV6TWSF.js} +1 -1
- package/dist/cdn/{RYST7PDJ.js → 7EMFD4UL.js} +1 -1
- package/dist/cdn/{HHB7ZYPG.js → 7F5GWUQA.js} +1 -1
- package/dist/cdn/{KUFHZS66.js → 7N47ELTC.js} +1 -1
- package/dist/cdn/{V6P7GHR3.js → AAWNLLJP.js} +1 -1
- package/dist/cdn/{6OYCHZM4.js → AZWPSIV2.js} +1 -1
- package/dist/cdn/{YZFQRSIT.js → B3VW6EKS.js} +1 -1
- package/dist/cdn/{P64QA7JR.js → CDGHPNUU.js} +1 -1
- package/dist/cdn/{63IOSB5X.js → CHLGUEXO.js} +1 -1
- package/dist/cdn/{MGNP3DY7.js → CKIBYI4O.js} +1 -1
- package/dist/cdn/{TI2WEAIV.js → CPOQUGDB.js} +1 -1
- package/dist/cdn/{54DJH26Q.js → CPTVKQNL.js} +1 -1
- package/dist/cdn/{6HHPPOBU.js → CXWMKATO.js} +1 -1
- package/dist/cdn/{3HLITCTE.js → CXWV2XJ3.js} +1 -1
- package/dist/cdn/{SA6QQ3QB.js → D3ZMTCLO.js} +1 -1
- package/dist/cdn/{4R4V25QG.js → E5Q4RLKF.js} +1 -1
- package/dist/cdn/{TV4M37RV.js → EBVHLPQV.js} +1 -1
- package/dist/cdn/{R5OXT4NA.js → EKBH3JB4.js} +1 -1
- package/dist/cdn/{P7Y5BFN2.js → EKWPHQPE.js} +1 -1
- package/dist/cdn/{FZGT5CKO.js → EWTJS5JK.js} +1 -1
- package/dist/cdn/{5CDCBHUV.js → FEKN5HO6.js} +1 -1
- package/dist/cdn/{A2VHCG23.js → FLUZOIAQ.js} +1 -1
- package/dist/cdn/{FQB2OTR4.js → FPMYKZUS.js} +1 -1
- package/dist/cdn/{TST7PDVP.js → FXZXDQFC.js} +1 -1
- package/dist/cdn/{PK4FGBU5.js → G26Q6NOB.js} +1 -1
- package/dist/cdn/{HLDELLOC.js → G2FV4PKE.js} +1 -1
- package/dist/cdn/{OYCGFPQT.js → GX6K6YO6.js} +1 -1
- package/dist/cdn/{KJLS2SHS.js → HEY5AJW5.js} +1 -1
- package/dist/cdn/{VXP27HMM.js → HNLZZ2CO.js} +1 -1
- package/dist/cdn/{USREDFJL.js → HO4EEHBU.js} +1 -1
- package/dist/cdn/{6PIABFQA.js → HRZMQXWG.js} +1 -1
- package/dist/cdn/{7FHPITRG.js → HYUNZPWJ.js} +1 -1
- package/dist/cdn/{YVRQEVJQ.js → I6VPLTXX.js} +1 -1
- package/dist/cdn/{BKXCCTLV.js → IQTXTQQB.js} +1 -1
- package/dist/cdn/{RPT2UPHQ.js → IV6FB63F.js} +1 -1
- package/dist/cdn/{BELOO4W3.js → JNXHOFW2.js} +1 -1
- package/dist/cdn/{E4ZD7V5C.js → JSYNXKFF.js} +1 -1
- package/dist/cdn/{CEXMZI5E.js → JTDNM2UW.js} +1 -1
- package/dist/cdn/{SDG5AVVS.js → JW4EWJ2J.js} +1 -1
- package/dist/cdn/{CCKX6FAN.js → K6T2WHGF.js} +1 -1
- package/dist/cdn/{CUN2N2F7.js → K7TLWR5W.js} +1 -1
- package/dist/cdn/{L63SHKVW.js → KEUY75EP.js} +1 -1
- package/dist/cdn/{EI5GRIVH.js → KGIECHB3.js} +1 -1
- package/dist/cdn/{AZGB6VW4.js → KJH6TYXG.js} +1 -1
- package/dist/cdn/{PLGVDNNI.js → KMIZUMBQ.js} +1 -1
- package/dist/cdn/{FMFEQDVU.js → KRT3ZCQR.js} +1 -1
- package/dist/cdn/{RARMFEVT.js → L4YYKWRQ.js} +1 -1
- package/dist/cdn/{BPRMU5ND.js → LSYILFV4.js} +1 -1
- package/dist/cdn/{TRCWO2RN.js → MJRKHCZP.js} +1 -1
- package/dist/cdn/{EN3QXSQY.js → N5VD423H.js} +1 -1
- package/dist/cdn/{YCIFTIY2.js → O2E5JGTW.js} +1 -1
- package/dist/cdn/{6S6OEV5K.js → ONKSE46T.js} +1 -1
- package/dist/cdn/{LR65J3RS.js → OQ4IZ6O6.js} +1 -1
- package/dist/cdn/{FOJK7SVH.js → PAVO7TKG.js} +1 -1
- package/dist/cdn/{BXTYXKBX.js → PV5ZIYPR.js} +1 -1
- package/dist/cdn/{OVP272NJ.js → QINQQZYJ.js} +1 -1
- package/dist/cdn/{TIGSVX3S.js → QNQGHXBM.js} +1 -1
- package/dist/cdn/{BYNQVZSU.js → QT6SSNCU.js} +1 -1
- package/dist/cdn/{BJ6P7A7L.js → R25QUDZ4.js} +16 -16
- package/dist/cdn/{Q7O2UFCW.js → RNOLVD4V.js} +1 -1
- package/dist/cdn/{AYAESDR6.js → SEEO2AIK.js} +1 -1
- package/dist/cdn/{VO3ESRGL.js → SLLAAPPY.js} +1 -1
- package/dist/cdn/{WAJUBYQK.js → SP26MTRQ.js} +1 -1
- package/dist/cdn/{3WNW44CU.js → SQ7EPQSM.js} +1 -1
- package/dist/cdn/{D4KRL7MP.js → TL3GWVJX.js} +1 -1
- package/dist/cdn/{33GJB5E4.js → TMW23GBP.js} +1 -1
- package/dist/cdn/{UEB2J4WK.js → TMZNR5AP.js} +1 -1
- package/dist/cdn/{XEYKRP6V.js → TQ76KTJO.js} +1 -1
- package/dist/cdn/{2MPB2XZE.js → TVK5YYZV.js} +1 -1
- package/dist/cdn/{5H4GHC76.js → U2MCA4H2.js} +2 -2
- package/dist/cdn/{PS7SYYYZ.js → V46ETNB6.js} +1 -1
- package/dist/cdn/{AGLVYLFP.js → VB5IKXUD.js} +1 -1
- package/dist/cdn/{5RZDY4EP.js → VFOCQSCU.js} +1 -1
- package/dist/cdn/{STIAP2Q5.js → VNTP2XA2.js} +1 -1
- package/dist/cdn/{MC7TF2BZ.js → VVI23DNY.js} +1 -1
- package/dist/cdn/{LGE37VU4.js → WAGEOSPA.js} +1 -1
- package/dist/cdn/{77G2JZVN.js → XCW6AOVD.js} +1 -1
- package/dist/cdn/{2FCUHT32.js → XLQLIYN6.js} +1 -1
- package/dist/cdn/{HE3765GD.js → Y5ZTGQ5Q.js} +1 -1
- package/dist/cdn/{2FNM7LTO.js → ZIEKY7ZG.js} +1 -1
- package/dist/cdn/{VBI6VE3V.js → ZMGATT2R.js} +1 -1
- package/dist/cdn/{3JRDVKJA.js → ZUHDYTJV.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/index.js +340 -340
- package/dist/chunks/runtime.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +375 -376
- 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
|
@@ -10,26 +10,26 @@ import { getElementLocale as Va } from "@arcgis/toolkit/intl/dom";
|
|
|
10
10
|
import { log as ig } from "@arcgis/toolkit/log";
|
|
11
11
|
import { Task as ti, shallowArrayEquals as ag, TaskStatus as Il } from "@lit/task";
|
|
12
12
|
import { snapdom as og } from "@zumer/snapdom";
|
|
13
|
-
import { debounce as yt, cloneDeep as
|
|
13
|
+
import { debounce as yt, cloneDeep as Fe, isEqual as gt, isEmpty as Sa } from "es-toolkit/compat";
|
|
14
14
|
import ng from "jszip";
|
|
15
15
|
import { html as io, css as sg } from "lit";
|
|
16
16
|
import { createRef as rg, ref as Rl } from "lit/directives/ref.js";
|
|
17
17
|
import { H as Nt } from "../../chunks/resources.js";
|
|
18
|
-
import { XYChart as me, PieChart as
|
|
18
|
+
import { XYChart as me, PieChart as Be, AxisFill as lg, AxisFillCircular as cg, GaugeChart as kt, DateAxis as Ve, ValueAxis as ke, CategoryAxis as ct, CategoryAxisDataItem as Ta, DateAxisDataItem as bn, LineSeries as ye, ColumnSeries as dt, PieSeries as Et, XYCursor as ed, XYSeries as yi, SerialChart as nr, Cursor as dg, AxisLabel as sr, ColumnSeriesDataItem as rr, LineSeriesDataItem as Wa, CandlestickSeries as He, StepLineSeries as Ft, LegendDataItem as oa, Series as td, CandlestickSeriesDataItem as ug, PieSeriesDataItem as Si, Legend as fg, AxisRendererX as At, AxisRendererCircular as yn, AxisLabelCircular as lr, ValueAxisDataItem as cr, AxisRendererY as Ea, ClockHand as mg, Chart as id } from "@amcharts/amcharts4/charts.js";
|
|
19
19
|
import { Color as Uo, percent as ht, LinePattern as ad, RectPattern as od, color as Sn, DateFormatter as nd, NumberFormatter as sd, Group as gg, MouseCursorStyle as qt, Label as jo, DropShadowFilter as hg, Sprite as dr, utils as rd, Tooltip as ld, Container as pg, RoundedRectangle as bg, Percent as qo, Slice as yg, options as ao, useTheme as Sg, unuseTheme as Cg, create as ur } from "@amcharts/amcharts4/core.js";
|
|
20
20
|
import wl from "@amcharts/amcharts4/themes/animated.js";
|
|
21
21
|
import { W as ve, a as y, b as us, c as te, S as cd, d as Ut, e as je, f as z, g as Cn, h as dd, i as Dl, j as Ca, k as Ol, l as fs, m as Ml, n as xa, o as xg } from "../../chunks/chart-object-literals.js";
|
|
22
|
-
import { C as H, f as ud, e as yo, i as so, a as Zo, b as fd, m as md, c as xn, d as gd, g as jt, h as hd, j as pd, k as fr, s as mr, l as _e, n as bd, o as yd, p as Ko, q as vg, r as Z, t as it, u as na, v as Lt, w as _i, x as
|
|
22
|
+
import { C as H, f as ud, e as yo, i as so, a as Zo, b as fd, m as md, c as xn, d as gd, g as jt, h as hd, j as pd, k as fr, s as mr, l as _e, n as bd, o as yd, p as Ko, q as vg, r as Z, t as it, u as na, v as Lt, w as _i, x as $e, y as V, z as Ht, A as gr, B as ai, D as ms, E as va, F as hi, G as pi, H as bt, I as Oe, J as So, K as Ha, L as Xe, M as Ci, N as hr, O as Te, P as oi, Q as ka, R as vn, S as ni, T as pr, U as gs, V as J, W as Ct, X as br, Y as Qt, Z as Ti, _ as ie, $ as xe, a0 as Lg, a1 as Je, a2 as Ln, a3 as st, a4 as Vi, a5 as di, a6 as ki, a7 as pe, a8 as Wi, a9 as yr, aa as za, ab as $t, ac as Sd, ad as Sr, ae as Cr, af as Cd, ag as xr, ah as vr, ai as Gt, aj as Co, ak as ro, al as Lr, am as _a, an as xd, ao as vd, ap as xi, aq as Ld, ar as Fd, as as Fn, at as Fr, au as An, av as Ar, aw as Tr, ax as Ad, ay as Td, az as kd, aA as kr, aB as Id, aC as $l, aD as Tn, aE as Rd, aF as Ir, aG as Rr, aH as Qo, aI as si, aJ as Fg, aK as wd, aL as Dd, aM as oo, aN as kn, aO as Od, aP as Md, aQ as Ag, aR as Tg, aS as Jo, aT as kg, aU as Ig, aV as $d, aW as Bd, aX as Rg, aY as wg, aZ as Dg, a_ as In, a$ as Og, b0 as L, b1 as Mg, b2 as Nd, b3 as $g, b4 as Bg, b5 as Ng, b6 as Rt, b7 as zo, b8 as Ie, b9 as Rn, ba as Ki, bb as lo, bc as Pd, bd as Vd, be as Wd, bf as Pg, bg as Vg, bh as Wg, bi as Eg, bj as Hg, bk as hs, bl as zg, bm as _g, bn as Ed, bo as Gg, bp as Xg, bq as Yg, br as Ug, bs as jg, bt as qg, bu as Zg, bv as Kg, bw as Qg, bx as _o, by as Hd, bz as Ts, bA as Bl, bB as Jg, bC as eh, bD as th, bE as ih, bF as $o, bG as Nl, bH as ii, bI as ah, bJ as oh, bK as nh, bL as sh, bM as rh, bN as Pl, bO as lh, bP as ch, bQ as dh, bR as uh, bS as fh, bT as mh, bU as Vl, bV as gh, bW as hh, bX as ph, bY as bh, bZ as yh, b_ as Sh, b$ as Ch, c0 as xh, c1 as vh } from "../../chunks/index.js";
|
|
23
23
|
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
24
24
|
import { R as Ue, a as tt, b as K, c as ps, d as wn, e as en } from "../../chunks/rest-js-object-literals.js";
|
|
25
25
|
import { g as ea, r as wr, f as xo, a as Wl, p as Vt, b as Ia, c as ks, d as Lh, e as Fh, h as Ah, q as bi, i as Re, j as Dn, k as Dr, l as Or, m as Mr, n as zd, o as Ra, s as _d, t as On, u as Gd, v as $r, w as Xd, x as Th, y as Yd, z as vo, A as kh, B as Ih, C as Rh, D as wh, E as wa, F as El, G as Dh, H as Oh, L as Mh, I as Hl } from "../../chunks/index2.js";
|
|
26
26
|
import { g as W, a as $h } from "../../chunks/series-types.js";
|
|
27
27
|
import { isLight as Bh } from "@amcharts/amcharts4/.internal/core/utils/Colors.js";
|
|
28
28
|
import { Scrollbar as zl } from "@amcharts/amcharts4/.internal/core/elements/Scrollbar.js";
|
|
29
|
-
import { color as co, Series as Da, SerialChart as uo, percent as at, LinePattern as Ud, RectanglePattern as Nh, p50 as de, p0 as
|
|
29
|
+
import { color as co, Series as Da, SerialChart as uo, percent as at, LinePattern as Ud, RectanglePattern as Nh, p50 as de, p0 as Me, p100 as be, Graphics as wt, DateFormatter as Ph, NumberFormatter as jd, Tooltip as Gi, Template as sa, Bullet as Ii, RoundedRectangle as Is, Slice as _l, time as Vh, Label as nt, Rectangle as Lo, DataItem as Br, Timezone as Wh, Container as Bi, Color as Eh, HeatLegend as Oa, LinearGradient as Hh, Legend as Rs, Scrollbar as ws, addLicense as zh, registry as _h, Root as Gh } from "@amcharts/amcharts5";
|
|
30
30
|
import { PieSeries as et, PieChart as Kt } from "@amcharts/amcharts5/percent.js";
|
|
31
31
|
import { RadarCursor as Nr, AxisRendererCircular as Jt, ClockHand as Ds, RadarChart as Ei, AxisRendererRadial as Xh, RadarLineSeries as Pr } from "@amcharts/amcharts5/radar.js";
|
|
32
|
-
import { XYSeries as Vr, StepLineSeries as ra, LineSeries as se, ColumnSeries as
|
|
32
|
+
import { XYSeries as Vr, StepLineSeries as ra, LineSeries as se, ColumnSeries as Se, CategoryAxis as Ee, XYCursor as qd, XYChart as le, CandlestickSeries as Ri, ValueAxis as he, DateAxis as De, AxisRendererX as ut, AxisLabel as Gl, AxisRendererY as vi, AxisBullet as Yh } from "@amcharts/amcharts5/xy.js";
|
|
33
33
|
import Uh from "@amcharts/amcharts5/themes/Animated.js";
|
|
34
34
|
import jh from "@amcharts/amcharts5/themes/Responsive.js";
|
|
35
35
|
import { g as Xl, a as qh, b as Zh, c as Kh, d as Yl, t as Ul, e as jl } from "../../chunks/web-component-utils.js";
|
|
@@ -102,7 +102,7 @@ function Np(t, e) {
|
|
|
102
102
|
function Pp(t, e) {
|
|
103
103
|
la(t, e);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function Ne(t, e) {
|
|
106
106
|
return ca(t, e);
|
|
107
107
|
}
|
|
108
108
|
function Li(t, e) {
|
|
@@ -137,7 +137,7 @@ function ta(t) {
|
|
|
137
137
|
r: e[0]
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
|
-
function
|
|
140
|
+
function We(t) {
|
|
141
141
|
return t.bullets.values.find(
|
|
142
142
|
(i) => Np(i.uid, "isBulletMarker")
|
|
143
143
|
);
|
|
@@ -153,7 +153,7 @@ function tu(t, e) {
|
|
|
153
153
|
}
|
|
154
154
|
function Wp(t) {
|
|
155
155
|
let e;
|
|
156
|
-
return t.baseSprite instanceof me || t.baseSprite instanceof
|
|
156
|
+
return t.baseSprite instanceof me || t.baseSprite instanceof Be ? e = t.baseSprite : (t instanceof lg || t instanceof cg) && (e = t.axis.chart), e;
|
|
157
157
|
}
|
|
158
158
|
function Ep(t) {
|
|
159
159
|
return eu(t.background.fill);
|
|
@@ -346,7 +346,7 @@ function Hi(t) {
|
|
|
346
346
|
i.maxWidth = o;
|
|
347
347
|
let s = !1;
|
|
348
348
|
if (n) {
|
|
349
|
-
const r = O(e.uid, "options")?.truncateLongTitles === !0, l =
|
|
349
|
+
const r = O(e.uid, "options")?.truncateLongTitles === !0, l = Ne(i.uid, "renderedText"), c = Ne(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;
|
|
@@ -600,7 +600,7 @@ function eb(t) {
|
|
|
600
600
|
} = t, c = o ? {
|
|
601
601
|
...H.pieChart.sliceGrouping.fillSymbol,
|
|
602
602
|
...i.sliceGrouping?.fillSymbol
|
|
603
|
-
} :
|
|
603
|
+
} : Fe(n?.fillSymbol ?? i.fillSymbol), u = Ht({
|
|
604
604
|
dataItem: e,
|
|
605
605
|
seriesConfig: i,
|
|
606
606
|
chartSubType: l,
|
|
@@ -677,7 +677,7 @@ function sc(t, e, i) {
|
|
|
677
677
|
...T,
|
|
678
678
|
// group labels retain their current value unless an update is needed.
|
|
679
679
|
labelUpdateNeeded: v ? c : !0
|
|
680
|
-
}) : s || I === C ? R =
|
|
680
|
+
}) : s || I === C ? R = $e(l, C) : R = I;
|
|
681
681
|
const $ = k && !v ? rc({ ...T, sliceFromConfig: x }) : R, M = {
|
|
682
682
|
sliceId: C,
|
|
683
683
|
label: k ? $ : R,
|
|
@@ -747,9 +747,9 @@ async function tb(t) {
|
|
|
747
747
|
popupTemplateFieldInfosEnabled: u,
|
|
748
748
|
utilsStrings: d
|
|
749
749
|
} = t, { slices: f } = r ?? {}, g = W(n.series);
|
|
750
|
-
let h = !1, b = n, p =
|
|
750
|
+
let h = !1, b = n, p = Fe(r), S, C;
|
|
751
751
|
if (c && (g === y.PieSeries || g === y.GaugeSeries)) {
|
|
752
|
-
h = !0, b =
|
|
752
|
+
h = !0, b = Fe(n);
|
|
753
753
|
const x = mr({
|
|
754
754
|
data: a,
|
|
755
755
|
seriesConfig: n.series
|
|
@@ -940,7 +940,7 @@ function rc(t) {
|
|
|
940
940
|
h = u?.label ?? u?.originalLabel?.toString() ?? c.pieChart.defaultSliceGroupingLabel;
|
|
941
941
|
else {
|
|
942
942
|
const b = ru(i);
|
|
943
|
-
i?.label && b ? h = i?.label : l && e[H.rendererSymbolField]?.label !== void 0 ? h = e[H.rendererSymbolField].label : i !== void 0 || n !== void 0 ? (i === void 0 && (h = g), h === g && g !== void 0 && g !== null && (h =
|
|
943
|
+
i?.label && b ? h = i?.label : l && e[H.rendererSymbolField]?.label !== void 0 ? h = e[H.rendererSymbolField].label : i !== void 0 || n !== void 0 ? (i === void 0 && (h = g), h === g && g !== void 0 && g !== null && (h = $e(n, g))) : i === void 0 && (h = g);
|
|
944
944
|
}
|
|
945
945
|
h === H.nullValue ? h = "null" : h != null && (h = h.toString());
|
|
946
946
|
}
|
|
@@ -965,7 +965,7 @@ function zr(t) {
|
|
|
965
965
|
const s = e[H.pieChart.technicalFieldSliceId], r = i?.slices?.find(
|
|
966
966
|
(l) => l.sliceId === s
|
|
967
967
|
);
|
|
968
|
-
o =
|
|
968
|
+
o = Fe(r?.fillSymbol ?? a.fillSymbol ?? ks());
|
|
969
969
|
}
|
|
970
970
|
return o;
|
|
971
971
|
}
|
|
@@ -1056,28 +1056,28 @@ function Mn(t, e) {
|
|
|
1056
1056
|
throw new hi(e.modalHeaders.error, i ?? e.errors.simpleError);
|
|
1057
1057
|
}
|
|
1058
1058
|
function gb(t) {
|
|
1059
|
-
return
|
|
1059
|
+
return Oe(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || Oe(t[2].valueFormat));
|
|
1060
1060
|
}
|
|
1061
1061
|
function hb(t) {
|
|
1062
|
-
return
|
|
1062
|
+
return Oe(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || Oe(t[2].valueFormat));
|
|
1063
1063
|
}
|
|
1064
1064
|
function pb(t) {
|
|
1065
|
-
return (pi(t?.[0]?.valueFormat) || bt(t?.[0]?.valueFormat)) &&
|
|
1065
|
+
return (pi(t?.[0]?.valueFormat) || bt(t?.[0]?.valueFormat)) && Oe(t?.[1]?.valueFormat) && (t?.[2]?.valueFormat === void 0 || Oe(t[2].valueFormat));
|
|
1066
1066
|
}
|
|
1067
1067
|
function bb(t) {
|
|
1068
1068
|
return pi(t?.[0]?.valueFormat) && pi(t?.[1]?.valueFormat) || bt(t?.[0]?.valueFormat) && pi(t?.[1]?.valueFormat) || bt(t?.[0]?.valueFormat) && bt(t?.[1]?.valueFormat);
|
|
1069
1069
|
}
|
|
1070
1070
|
function yb(t) {
|
|
1071
|
-
return (pi(t?.[0]?.valueFormat) || bt(t?.[0]?.valueFormat)) &&
|
|
1071
|
+
return (pi(t?.[0]?.valueFormat) || bt(t?.[0]?.valueFormat)) && Oe(t?.[1]?.valueFormat);
|
|
1072
1072
|
}
|
|
1073
1073
|
function Sb(t) {
|
|
1074
|
-
return
|
|
1074
|
+
return Oe(t?.[0]?.valueFormat) && Oe(t?.[1]?.valueFormat);
|
|
1075
1075
|
}
|
|
1076
1076
|
function Cb(t) {
|
|
1077
|
-
return
|
|
1077
|
+
return Oe(t?.[0]?.valueFormat) && Oe(t?.[1]?.valueFormat);
|
|
1078
1078
|
}
|
|
1079
1079
|
function xb(t) {
|
|
1080
|
-
return
|
|
1080
|
+
return Oe(t?.[0]?.valueFormat);
|
|
1081
1081
|
}
|
|
1082
1082
|
function Xi(t) {
|
|
1083
1083
|
const { chartType: e, axesConfig: i, errorStrings: a } = t;
|
|
@@ -1144,7 +1144,7 @@ function Ns(t) {
|
|
|
1144
1144
|
isXAxis: !0,
|
|
1145
1145
|
chartType: a,
|
|
1146
1146
|
valueFormat: i
|
|
1147
|
-
}), n = bt(i) && e instanceof Ve, s =
|
|
1147
|
+
}), n = bt(i) && e instanceof Ve, s = Oe(i) && e instanceof ke && !(e instanceof Ve), r = o && e instanceof ct;
|
|
1148
1148
|
return !n && !s && !r;
|
|
1149
1149
|
}
|
|
1150
1150
|
function cu(t, e) {
|
|
@@ -1182,7 +1182,7 @@ function du(t) {
|
|
|
1182
1182
|
V.BarAndLineFromFields
|
|
1183
1183
|
].includes(l) && typeof u == "string") {
|
|
1184
1184
|
const g = O(e.chart.uid, "fieldList");
|
|
1185
|
-
u =
|
|
1185
|
+
u = $e(g, u);
|
|
1186
1186
|
}
|
|
1187
1187
|
let f = ni(a.dataContext);
|
|
1188
1188
|
f === void 0 && (f = u), o = n(u, f);
|
|
@@ -1342,7 +1342,7 @@ function Ob(t) {
|
|
|
1342
1342
|
valueFormat: a
|
|
1343
1343
|
});
|
|
1344
1344
|
let g = !1;
|
|
1345
|
-
!(e instanceof Ve) &&
|
|
1345
|
+
!(e instanceof Ve) && Oe(a) ? cc({
|
|
1346
1346
|
axis: e,
|
|
1347
1347
|
formatOptions: a,
|
|
1348
1348
|
overridePercentMultiplication: n,
|
|
@@ -1358,7 +1358,7 @@ function Ob(t) {
|
|
|
1358
1358
|
axis: e,
|
|
1359
1359
|
formatOptions: a,
|
|
1360
1360
|
categoryAxisFormatter: r
|
|
1361
|
-
}), Qe(e.uid, { numberFormatter: void 0 })) :
|
|
1361
|
+
}), Qe(e.uid, { numberFormatter: void 0 })) : Oe(a) ? (cc({
|
|
1362
1362
|
axis: e,
|
|
1363
1363
|
formatOptions: a,
|
|
1364
1364
|
overridePercentMultiplication: n,
|
|
@@ -1399,14 +1399,14 @@ function Mb(t, e) {
|
|
|
1399
1399
|
Ji({ element: t.cursor.lineX, lineSymbol: a }), Ji({ element: t.cursor.lineY, lineSymbol: a });
|
|
1400
1400
|
}
|
|
1401
1401
|
function gu(t) {
|
|
1402
|
-
if (!(t instanceof kt) && !(t instanceof
|
|
1402
|
+
if (!(t instanceof kt) && !(t instanceof Be)) {
|
|
1403
1403
|
t.cursor = new ed();
|
|
1404
1404
|
const e = "userAgentData" in navigator && navigator.userAgentData && typeof navigator.userAgentData == "object" && "mobile" in navigator.userAgentData && navigator.userAgentData.mobile === !0 || /Mobi|Android/iu.test(navigator.userAgent);
|
|
1405
1405
|
t.cursor.hideSeriesTooltipsOnSelection = !e;
|
|
1406
1406
|
}
|
|
1407
1407
|
}
|
|
1408
1408
|
function hu(t, e) {
|
|
1409
|
-
if (!(t instanceof kt) && !(t instanceof
|
|
1409
|
+
if (!(t instanceof kt) && !(t instanceof Be)) {
|
|
1410
1410
|
const i = t, a = i.cursor ?? new ed();
|
|
1411
1411
|
e?.style !== void 0 && Mb(i, e.style);
|
|
1412
1412
|
const o = A.cursorCrosshair;
|
|
@@ -1436,8 +1436,8 @@ function Bb(t) {
|
|
|
1436
1436
|
case y.BoxPlotSeries:
|
|
1437
1437
|
e.series.each((s) => {
|
|
1438
1438
|
let r = n;
|
|
1439
|
-
if (s instanceof
|
|
1440
|
-
const l =
|
|
1439
|
+
if (s instanceof ye) {
|
|
1440
|
+
const l = We(s);
|
|
1441
1441
|
l !== void 0 && (a && Ke(s.uid, "isBoxPlotOutliersSeries") && (r = qt.default), l.cursorOverStyle = r, l.clones.each((c) => {
|
|
1442
1442
|
c.cursorOverStyle = r;
|
|
1443
1443
|
}));
|
|
@@ -1447,8 +1447,8 @@ function Bb(t) {
|
|
|
1447
1447
|
break;
|
|
1448
1448
|
case y.LineSeries:
|
|
1449
1449
|
e.series.each((s) => {
|
|
1450
|
-
if (s instanceof
|
|
1451
|
-
const r =
|
|
1450
|
+
if (s instanceof ye) {
|
|
1451
|
+
const r = We(s);
|
|
1452
1452
|
r !== void 0 && (r.cursorOverStyle = n, r.clones.each((l) => {
|
|
1453
1453
|
l.cursorOverStyle = n;
|
|
1454
1454
|
}));
|
|
@@ -1458,7 +1458,7 @@ function Bb(t) {
|
|
|
1458
1458
|
}
|
|
1459
1459
|
}
|
|
1460
1460
|
function Nb(t) {
|
|
1461
|
-
const { chart: e, actionMode: i, cursorRange: a } = t, o = O(e.uid, "isRotated"), n = O(e.uid, "config"), s = Ct(n), r = W(n?.series), l = r === y.LineSeries &&
|
|
1461
|
+
const { chart: e, actionMode: i, cursorRange: a } = t, o = O(e.uid, "isRotated"), n = O(e.uid, "config"), s = Ct(n), r = W(n?.series), l = r === y.LineSeries && Oe(n?.axes?.[0]?.valueFormat), c = r === y.LineSeries && pi(n?.axes?.[0]?.valueFormat), u = r === y.LineSeries && bt(n?.axes?.[0]?.valueFormat);
|
|
1462
1462
|
let d, f = !1;
|
|
1463
1463
|
const g = i ?? O(e.uid, "actionMode") ?? A.actionMode;
|
|
1464
1464
|
if (O(e.uid, "filterBySelection") === !0)
|
|
@@ -1857,7 +1857,7 @@ function Dt(t) {
|
|
|
1857
1857
|
}
|
|
1858
1858
|
function Xb(t) {
|
|
1859
1859
|
t instanceof nr && t.series.each((e) => {
|
|
1860
|
-
Pt(e.uid), e instanceof
|
|
1860
|
+
Pt(e.uid), e instanceof ye && Pt(We(e)?.uid), e.bullets.each((i) => {
|
|
1861
1861
|
Pt(i.uid);
|
|
1862
1862
|
}), e instanceof dt && e.columns.template.children.each((i) => {
|
|
1863
1863
|
Pt(i.uid);
|
|
@@ -1870,7 +1870,7 @@ function Xb(t) {
|
|
|
1870
1870
|
}
|
|
1871
1871
|
), t instanceof kt && t.radarContainer.children.each((e) => {
|
|
1872
1872
|
Pt(e.uid);
|
|
1873
|
-
}), t instanceof
|
|
1873
|
+
}), t instanceof Be && t.series.getIndex(0)?.slices.each((e) => {
|
|
1874
1874
|
Pt(e.uid);
|
|
1875
1875
|
}), "cursor" in t && t.cursor instanceof dg && Pt(t.cursor?.uid), "legend" in t && t.legend !== void 0 && (Pt(t.legend.uid), Pt(t.legend.valueLabels?.template?.uid)), Pt(t.uid);
|
|
1876
1876
|
}
|
|
@@ -1897,9 +1897,9 @@ function Ub(t, e, i) {
|
|
|
1897
1897
|
t.clear();
|
|
1898
1898
|
}
|
|
1899
1899
|
function jb(t, e) {
|
|
1900
|
-
const i =
|
|
1900
|
+
const i = Ne(t.uid, "isGuide");
|
|
1901
1901
|
let a = e.visible === !1;
|
|
1902
|
-
return !a && !
|
|
1902
|
+
return !a && !Ne(t.uid, "isGaugeAxisInnerLabel") && (i === !0 || !(t instanceof sr)) && e.content.text === "" && (a = !0), a;
|
|
1903
1903
|
}
|
|
1904
1904
|
function dc(t) {
|
|
1905
1905
|
const { label: e, offset: i, offsetProperty: a } = t, o = 99;
|
|
@@ -1950,7 +1950,7 @@ function qb(t) {
|
|
|
1950
1950
|
}
|
|
1951
1951
|
function Ws(t, e) {
|
|
1952
1952
|
let i;
|
|
1953
|
-
const a = (o) =>
|
|
1953
|
+
const a = (o) => Ne(o.uid, "isDataLabel") ?? !1;
|
|
1954
1954
|
return e === "bullets" ? i = t.bullets.values.find(a) : t instanceof dt && (i = t.columns.template.children.values.find(a)), i;
|
|
1955
1955
|
}
|
|
1956
1956
|
function Es(t, e) {
|
|
@@ -1959,7 +1959,7 @@ function Es(t, e) {
|
|
|
1959
1959
|
(i, a) => {
|
|
1960
1960
|
let o = i;
|
|
1961
1961
|
const { dataItem: n } = a;
|
|
1962
|
-
if (fo(t) && (e instanceof dt && n instanceof rr || e instanceof
|
|
1962
|
+
if (fo(t) && (e instanceof dt && n instanceof rr || e instanceof ye && n instanceof Wa)) {
|
|
1963
1963
|
const s = Ke(
|
|
1964
1964
|
e.uid,
|
|
1965
1965
|
e instanceof dt ? "barSeriesDataLabelFormatter" : "lineSeriesDataLabelFormatter"
|
|
@@ -2066,13 +2066,13 @@ function Gr(t) {
|
|
|
2066
2066
|
}
|
|
2067
2067
|
function Xr(t) {
|
|
2068
2068
|
const { series: e, seriesConfig: i, rotationChanged: a, stackedType: o, isRotated: n } = t;
|
|
2069
|
-
if (e instanceof
|
|
2069
|
+
if (e instanceof ye && (o === te.Stacked || o === te.Stacked100)) {
|
|
2070
2070
|
const s = n ? e.yAxis : e.xAxis;
|
|
2071
2071
|
s !== void 0 && (e.baseAxis = s);
|
|
2072
2072
|
}
|
|
2073
2073
|
switch (o) {
|
|
2074
2074
|
case te.Stacked: {
|
|
2075
|
-
e.stacked = !0, e instanceof
|
|
2075
|
+
e.stacked = !0, e instanceof ye && (e.stackToNegative = i.stackNegativeValuesToBaseline ?? A.lineSeries.stackNegativeValuesToBaseline), a === n ? e.dataFields.valueYShow = void 0 : e.dataFields.valueXShow = void 0, e.updateStacking();
|
|
2076
2076
|
break;
|
|
2077
2077
|
}
|
|
2078
2078
|
case te.Stacked100: {
|
|
@@ -2156,8 +2156,8 @@ function uc() {
|
|
|
2156
2156
|
t.chart.series.values.forEach((d) => {
|
|
2157
2157
|
if (d instanceof He)
|
|
2158
2158
|
o += d.columns.length;
|
|
2159
|
-
else if (d instanceof
|
|
2160
|
-
const f =
|
|
2159
|
+
else if (d instanceof ye && !(d instanceof Ft)) {
|
|
2160
|
+
const f = We(d);
|
|
2161
2161
|
if (f !== void 0 && !f.disabled) {
|
|
2162
2162
|
const g = f.clones.values.filter((h) => !(h.dataItem instanceof oa))?.length ?? 0;
|
|
2163
2163
|
if (Ke(d.uid, "isBoxPlotMeanLineSeries") === !0) {
|
|
@@ -2204,8 +2204,8 @@ function ey(t, e) {
|
|
|
2204
2204
|
case y.LineSeries:
|
|
2205
2205
|
e === !0 ? i = uc() : i = (a, o) => {
|
|
2206
2206
|
let n = !1;
|
|
2207
|
-
if (a instanceof
|
|
2208
|
-
const s = Dt({ chart: a.chart }), r =
|
|
2207
|
+
if (a instanceof ye) {
|
|
2208
|
+
const s = Dt({ chart: a.chart }), r = We(a);
|
|
2209
2209
|
let l = 0;
|
|
2210
2210
|
if (o.type === y.LineSeries) {
|
|
2211
2211
|
const { y: c } = o, u = (s ? a.dataFields.valueX : a.dataFields.valueY) ?? [c].flat()[0];
|
|
@@ -2256,7 +2256,7 @@ function ty(t) {
|
|
|
2256
2256
|
}
|
|
2257
2257
|
function ua(t) {
|
|
2258
2258
|
const { defaultChartItemRole: e } = A.aria;
|
|
2259
|
-
t instanceof He || t instanceof dt ? (t.columns.template.properties.role = e, t.columns.template.focusable = !0, t.columns.template.hoverOnFocus = !0, t.itemReaderText = Vi()) : t instanceof Ft ? t.segments.template.properties.role = e : t instanceof
|
|
2259
|
+
t instanceof He || t instanceof dt ? (t.columns.template.properties.role = e, t.columns.template.focusable = !0, t.columns.template.hoverOnFocus = !0, t.itemReaderText = Vi()) : t instanceof Ft ? t.segments.template.properties.role = e : t instanceof ye ? t.bullets.values.forEach((i) => {
|
|
2260
2260
|
i.focusable = !0, i.properties.role = e, i.readerTitle = Vi(), i.hoverOnFocus = !0;
|
|
2261
2261
|
}) : t instanceof Et && (t.slices.template.properties.role = e, t.slices.template.hoverOnFocus = !0, t.itemReaderText = "{category} {value.formatNumber('#.#')} {value.percent.formatNumber('#.#')}%");
|
|
2262
2262
|
}
|
|
@@ -2271,7 +2271,7 @@ function ia(t, e) {
|
|
|
2271
2271
|
const i = W(e?.series);
|
|
2272
2272
|
return e?.series.find((a) => {
|
|
2273
2273
|
let o = !1;
|
|
2274
|
-
return i !== y.BoxPlotSeries || t instanceof He ? o = t.id === a.id : t instanceof Ft ? o = t.id.replace(`_${ge.Top}`, "") === a.id || t.id.replace(`_${ge.Median}`, "") === a.id || t.id.replace(`_${ge.Bottom}`, "") === a.id : t instanceof
|
|
2274
|
+
return i !== y.BoxPlotSeries || t instanceof He ? o = t.id === a.id : t instanceof Ft ? o = t.id.replace(`_${ge.Top}`, "") === a.id || t.id.replace(`_${ge.Median}`, "") === a.id || t.id.replace(`_${ge.Bottom}`, "") === a.id : t instanceof ye && (o = t.id.replace(`_${ge.Outliers}`, "") === a.id), o;
|
|
2275
2275
|
});
|
|
2276
2276
|
}
|
|
2277
2277
|
const rt = {
|
|
@@ -2304,7 +2304,7 @@ function zt(t) {
|
|
|
2304
2304
|
}
|
|
2305
2305
|
function Wn(t, e) {
|
|
2306
2306
|
let i = !1;
|
|
2307
|
-
if (e instanceof me || e instanceof
|
|
2307
|
+
if (e instanceof me || e instanceof Be) {
|
|
2308
2308
|
const a = O(e.uid, "actionMode");
|
|
2309
2309
|
a !== void 0 && (i = a === J.MultiSelection || a === J.MultiSelectionWithCtrlKey && (t?.event?.ctrlKey || t?.event?.metaKey));
|
|
2310
2310
|
}
|
|
@@ -2362,7 +2362,7 @@ function fc(t, e) {
|
|
|
2362
2362
|
function mc(t, e) {
|
|
2363
2363
|
let i = [];
|
|
2364
2364
|
if (t.visible) {
|
|
2365
|
-
const a =
|
|
2365
|
+
const a = We(t)?.clones;
|
|
2366
2366
|
if (a !== void 0) {
|
|
2367
2367
|
const { chart: o } = t, n = O(o.uid, "config");
|
|
2368
2368
|
if (n) {
|
|
@@ -2424,12 +2424,12 @@ function ny(t) {
|
|
|
2424
2424
|
const { chart: e, selectionSource: i, chartConfig: a } = t;
|
|
2425
2425
|
let o = !1, n = [];
|
|
2426
2426
|
if (Wi(a)) {
|
|
2427
|
-
if (o = Ct(a), n = e.series.values.filter((s) => !(s instanceof Ft)), i ===
|
|
2427
|
+
if (o = Ct(a), n = e.series.values.filter((s) => !(s instanceof Ft)), i === pe.SelectionByClick) {
|
|
2428
2428
|
const s = /* @__PURE__ */ new Set(), r = n.find(
|
|
2429
2429
|
(l) => l instanceof He && l.isHover
|
|
2430
2430
|
);
|
|
2431
2431
|
r === void 0 ? n.forEach((l) => {
|
|
2432
|
-
l instanceof
|
|
2432
|
+
l instanceof ye && (l.id.includes(ge.Outliers) && l.tooltip?.visible === !0 || Ke(l.uid, "isBoxPlotMeanLineSeries")) && s.add(l);
|
|
2433
2433
|
}) : s.add(r), n = Array.from(s);
|
|
2434
2434
|
}
|
|
2435
2435
|
} else
|
|
@@ -2459,12 +2459,12 @@ async function Ru(t) {
|
|
|
2459
2459
|
chartConfig: r
|
|
2460
2460
|
};
|
|
2461
2461
|
let v;
|
|
2462
|
-
g instanceof dt || g instanceof He ? v = g.columns?.values : g instanceof Ft ? v = g.segments.values : g instanceof
|
|
2462
|
+
g instanceof dt || g instanceof He ? v = g.columns?.values : g instanceof Ft ? v = g.segments.values : g instanceof ye && (v = We(g)?.clones?.values, x.uniqueFeature = !0), v !== void 0 && (u = [...u, ...v], v.forEach((F, T) => {
|
|
2463
2463
|
if (!(F.dataItem instanceof oa)) {
|
|
2464
2464
|
const k = F.isActive, I = F === n || ay(F, i);
|
|
2465
2465
|
I && (d = !1);
|
|
2466
2466
|
let D = !1;
|
|
2467
|
-
k ? I ? D = o !==
|
|
2467
|
+
k ? I ? D = o !== pe.SelectionByClick : D = a === !0 : D = I, D && c.push({
|
|
2468
2468
|
...x,
|
|
2469
2469
|
element: F,
|
|
2470
2470
|
elementDataContext: F.dataItem?.dataContext,
|
|
@@ -2495,7 +2495,7 @@ function sy(t, e) {
|
|
|
2495
2495
|
chart: t,
|
|
2496
2496
|
cursorSelectionRectangle: n,
|
|
2497
2497
|
multiSelect: s,
|
|
2498
|
-
selectionSource:
|
|
2498
|
+
selectionSource: pe.SelectionByRange,
|
|
2499
2499
|
errorStrings: e
|
|
2500
2500
|
});
|
|
2501
2501
|
}
|
|
@@ -2524,7 +2524,7 @@ async function rn(t) {
|
|
|
2524
2524
|
chart: i,
|
|
2525
2525
|
cursorSelectionRectangle: s,
|
|
2526
2526
|
multiSelect: r,
|
|
2527
|
-
selectionSource:
|
|
2527
|
+
selectionSource: pe.SelectionByClick,
|
|
2528
2528
|
hitElement: o,
|
|
2529
2529
|
errorStrings: a
|
|
2530
2530
|
});
|
|
@@ -2546,7 +2546,7 @@ async function ly(t, e) {
|
|
|
2546
2546
|
let l = [];
|
|
2547
2547
|
if (s.visible) {
|
|
2548
2548
|
const c = W(a?.series, r);
|
|
2549
|
-
c === y.BarSeries ? l = fc(s, r) : c === y.LineSeries ? l = mc(s, r) : c === y.PieSeries ? l = oy(s) : c === y.BoxPlotSeries && (s instanceof He ? l = fc(s, r) : s instanceof
|
|
2549
|
+
c === y.BarSeries ? l = fc(s, r) : c === y.LineSeries ? l = mc(s, r) : c === y.PieSeries ? l = oy(s) : c === y.BoxPlotSeries && (s instanceof He ? l = fc(s, r) : s instanceof ye && !(s instanceof Ft) && (l = mc(s, r)));
|
|
2550
2550
|
}
|
|
2551
2551
|
return l;
|
|
2552
2552
|
}
|
|
@@ -2554,21 +2554,21 @@ async function ly(t, e) {
|
|
|
2554
2554
|
await ko({
|
|
2555
2555
|
chart: t,
|
|
2556
2556
|
listSelectedElements: n,
|
|
2557
|
-
selectionSource:
|
|
2557
|
+
selectionSource: pe.ProgrammaticSelection,
|
|
2558
2558
|
errorStrings: e
|
|
2559
2559
|
});
|
|
2560
2560
|
}
|
|
2561
2561
|
}
|
|
2562
2562
|
function Cs(t) {
|
|
2563
2563
|
if (Bt(t))
|
|
2564
|
-
if (t.events.disableType(B.Hit), t.events.disableType(B.DoubleHit), t instanceof
|
|
2564
|
+
if (t.events.disableType(B.Hit), t.events.disableType(B.DoubleHit), t instanceof Be) {
|
|
2565
2565
|
const e = t.series.getIndex(0);
|
|
2566
2566
|
e !== void 0 && (e.slices.template.clickable = !1, e.slices.template.togglable = !1, e.slices.template.events.disableType(B.Hit), e.slices.template.events.disableType(B.DoubleHit), e.labels.template.clickable = !1, e.labels.template.togglable = !1, e.labels.template.events.disableType(B.Hit), e.labels.template.events.disableType(B.DoubleHit));
|
|
2567
2567
|
} else t instanceof me && (t.xAxes.each((e) => ln(e, !0)), t.yAxes.each((e) => ln(e, !0)), t.events.disableType(B.Up));
|
|
2568
2568
|
}
|
|
2569
2569
|
function cy(t) {
|
|
2570
2570
|
if (Bt(t))
|
|
2571
|
-
if (t.events.enableType(B.Hit), t.events.enableType(B.DoubleHit), t instanceof
|
|
2571
|
+
if (t.events.enableType(B.Hit), t.events.enableType(B.DoubleHit), t instanceof Be) {
|
|
2572
2572
|
const e = t.series.getIndex(0);
|
|
2573
2573
|
e !== void 0 && (e.slices.template.clickable = !0, e.slices.template.togglable = !0, e.slices.template.events.enableType(B.Hit), e.slices.template.events.enableType(B.DoubleHit), e.labels.template.clickable = !0, e.labels.template.togglable = !0, e.labels.template.events.enableType(B.Hit), e.labels.template.events.enableType(B.DoubleHit));
|
|
2574
2574
|
} else t instanceof me && (t.xAxes.each((e) => ln(e, !1)), t.yAxes.each((e) => ln(e, !1)), t.events.enableType(B.Up));
|
|
@@ -2639,8 +2639,8 @@ function Ur(t) {
|
|
|
2639
2639
|
function Du(t) {
|
|
2640
2640
|
const { config: e, fieldList: i, objectIdField: a, seriesIndex: o, isStacked100: n, utilsStrings: s } = t;
|
|
2641
2641
|
let r = "";
|
|
2642
|
-
const l = e.series[o].name, c = e.series[o], u = [c.y].flat()[0], d = e.axes, f = Z(e.series), g = a ?? bi.outStatistics.onStatisticField, h = c.query?.outStatistics?.[0].onStatisticField ?? g, b =
|
|
2643
|
-
return f === V.BarAndLineNoAggregation ? r = l ??
|
|
2642
|
+
const l = e.series[o].name, c = e.series[o], u = [c.y].flat()[0], d = e.axes, f = Z(e.series), g = a ?? bi.outStatistics.onStatisticField, h = c.query?.outStatistics?.[0].onStatisticField ?? g, b = $e(i, h), p = c.query?.outStatistics?.[0].statisticType ?? cd.statisticType, S = wu(p, s);
|
|
2643
|
+
return f === V.BarAndLineNoAggregation ? r = l ?? $e(i, u) : f === V.BarAndLineSplitByNoAggregation ? r = $e(i, u) : (r = p === Ut.Count && h === g ? s.statistics.count : Qi(s.statistics.aggregation, {
|
|
2644
2644
|
statistics: S,
|
|
2645
2645
|
fieldName: b ?? l
|
|
2646
2646
|
}), f === V.BarAndLineMonoField && !n && (r = $a(r, d[1].title?.content?.text))), r;
|
|
@@ -2736,7 +2736,7 @@ function $u(t, e) {
|
|
|
2736
2736
|
}
|
|
2737
2737
|
}
|
|
2738
2738
|
return Xe(o);
|
|
2739
|
-
}), t.tooltipPosition = e instanceof
|
|
2739
|
+
}), t.tooltipPosition = e instanceof ye ? A.markerTooltipPosition : A.columnTooltipPosition, e.cursorTooltipEnabled = !1;
|
|
2740
2740
|
}
|
|
2741
2741
|
function fy(t) {
|
|
2742
2742
|
const {
|
|
@@ -2749,7 +2749,7 @@ function fy(t) {
|
|
|
2749
2749
|
dataTooltipPercentFormat: r
|
|
2750
2750
|
} = t;
|
|
2751
2751
|
let l = s;
|
|
2752
|
-
l === void 0 && (
|
|
2752
|
+
l === void 0 && (Oe(n) && n ? (l = n, e && (l.intlOptions.style = "decimal")) : l = Dr());
|
|
2753
2753
|
const c = O(i.chart.uid, "formatLocale"), u = a !== void 0 ? ho({
|
|
2754
2754
|
value: a,
|
|
2755
2755
|
valueFormat: l,
|
|
@@ -2824,7 +2824,7 @@ function Bu(t) {
|
|
|
2824
2824
|
valueFormat: n ?? i,
|
|
2825
2825
|
iLocale: s.chart.language.locale,
|
|
2826
2826
|
formatLocale: f
|
|
2827
|
-
})) : typeof r == "number" &&
|
|
2827
|
+
})) : typeof r == "number" && Oe(i) ? d = ho({
|
|
2828
2828
|
value: r,
|
|
2829
2829
|
valueFormat: o ?? i,
|
|
2830
2830
|
iLocale: s.chart.language.locale,
|
|
@@ -2838,11 +2838,11 @@ function gy(t) {
|
|
|
2838
2838
|
if (f !== void 0) {
|
|
2839
2839
|
const g = O(f.uid, "config");
|
|
2840
2840
|
if (g !== void 0) {
|
|
2841
|
-
const { dataTooltipVisible: h } = s, b = e instanceof
|
|
2841
|
+
const { dataTooltipVisible: h } = s, b = e instanceof ye ? s.markerVisible : void 0;
|
|
2842
2842
|
if (h === !1 || b === !1)
|
|
2843
2843
|
d = () => "";
|
|
2844
2844
|
else {
|
|
2845
|
-
const p = g.axes, S = p[0].valueFormat, C = p[1].valueFormat, x = Z(g.series), v = i?.find(($) => $.name === s.x)?.type === wn.TimeOnly, F = st(g) === te.Stacked100, T = na(it(a)).idField, k =
|
|
2845
|
+
const p = g.axes, S = p[0].valueFormat, C = p[1].valueFormat, x = Z(g.series), v = i?.find(($) => $.name === s.x)?.type === wn.TimeOnly, F = st(g) === te.Stacked100, T = na(it(a)).idField, k = $e(i, s.x), I = $a(k, p[0].title?.content.text), D = Du({
|
|
2846
2846
|
config: g,
|
|
2847
2847
|
fieldList: i,
|
|
2848
2848
|
objectIdField: T,
|
|
@@ -2876,7 +2876,7 @@ function gy(t) {
|
|
|
2876
2876
|
_.pop();
|
|
2877
2877
|
const j = Ur({
|
|
2878
2878
|
config: g,
|
|
2879
|
-
fieldName:
|
|
2879
|
+
fieldName: $e(i, G ?? ""),
|
|
2880
2880
|
utilsStrings: r
|
|
2881
2881
|
});
|
|
2882
2882
|
_.push(`<b>${j}${R} </b>${Y}`);
|
|
@@ -2891,7 +2891,7 @@ function gy(t) {
|
|
|
2891
2891
|
case V.BarAndLineSplitBy:
|
|
2892
2892
|
{
|
|
2893
2893
|
const j = Qt(s.query?.where, !1), E = Sd({
|
|
2894
|
-
value:
|
|
2894
|
+
value: $e(i, j),
|
|
2895
2895
|
escape: !0
|
|
2896
2896
|
});
|
|
2897
2897
|
_.push(`<b>${E}${R} </b>${e.name}`), (x === V.BarAndLineSplitBy || "y" in g.series[0] && j !== g.series[0].y) && _.push(`<b>${D}${R} </b>${Y}`);
|
|
@@ -3042,7 +3042,7 @@ function yy(t) {
|
|
|
3042
3042
|
);
|
|
3043
3043
|
}
|
|
3044
3044
|
function Sy(t, e) {
|
|
3045
|
-
const i =
|
|
3045
|
+
const i = We(t);
|
|
3046
3046
|
i !== void 0 && (i.tooltipPosition = A.markerTooltipPosition, i.tooltipHTML = A.htmlEmptyContent, t.cursorTooltipEnabled = !1, i.adapter.add(
|
|
3047
3047
|
"tooltipHTML",
|
|
3048
3048
|
(a, o) => jr({
|
|
@@ -3055,7 +3055,7 @@ function Sy(t, e) {
|
|
|
3055
3055
|
));
|
|
3056
3056
|
}
|
|
3057
3057
|
function Cy(t) {
|
|
3058
|
-
const e =
|
|
3058
|
+
const e = We(t);
|
|
3059
3059
|
e !== void 0 && (t.cursorTooltipEnabled = !1, e.tooltipPosition = A.markerTooltipPosition, e.tooltipHTML = A.htmlEmptyContent, e.adapter.add(
|
|
3060
3060
|
"tooltipHTML",
|
|
3061
3061
|
(i, a) => jr({
|
|
@@ -3124,10 +3124,10 @@ function vy(t) {
|
|
|
3124
3124
|
if (l !== void 0) {
|
|
3125
3125
|
const c = O(l.uid, "config");
|
|
3126
3126
|
if (c !== void 0) {
|
|
3127
|
-
const u = c.axes, d = u?.[0].valueFormat, { showMean: f } = c, g = Z(c.series), h = Qt(a.query?.where), b =
|
|
3127
|
+
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 = Ti({
|
|
3128
3128
|
where: a.query?.where,
|
|
3129
3129
|
escape: !1
|
|
3130
|
-
}), S =
|
|
3130
|
+
}), S = $e(i, a.x);
|
|
3131
3131
|
let C;
|
|
3132
3132
|
a.x !== Or && (C = $a(S, u?.[0].title?.content.text));
|
|
3133
3133
|
const x = $t(l.rtl);
|
|
@@ -3138,7 +3138,7 @@ function vy(t) {
|
|
|
3138
3138
|
series: e,
|
|
3139
3139
|
xValue: T,
|
|
3140
3140
|
queryObject: n
|
|
3141
|
-
}), I = [], D = k !== void 0 && !Sa(k) ?
|
|
3141
|
+
}), I = [], D = k !== void 0 && !Sa(k) ? $e(i, k) : "", R = f === !0 ? [c.series[0].y].flat()[0] : [a.y].flat()[0], $ = $e(i, R);
|
|
3142
3142
|
switch (g) {
|
|
3143
3143
|
case V.BoxPlotC1MonoField:
|
|
3144
3144
|
case V.BoxPlotC2MultiFields:
|
|
@@ -3628,7 +3628,7 @@ function By(t) {
|
|
|
3628
3628
|
const a = i.children.values.findIndex((o) => o.className === "Container");
|
|
3629
3629
|
if (a !== -1) {
|
|
3630
3630
|
const n = a !== 0 ? 0 : 2, s = i.children.getIndex(n)?.clonedFrom;
|
|
3631
|
-
s !== void 0 &&
|
|
3631
|
+
s !== void 0 && Ne(s.uid, "isLegendValueLabel") !== !0 && t.children.each((r) => {
|
|
3632
3632
|
r.className === "Container" && r.children.swap(1, n);
|
|
3633
3633
|
});
|
|
3634
3634
|
}
|
|
@@ -3680,7 +3680,7 @@ function Ny(t, e) {
|
|
|
3680
3680
|
t.marginTop = i.marginTop ?? 0, t.marginBottom = 0, t.dy = 0;
|
|
3681
3681
|
else if (t.position === z.Top)
|
|
3682
3682
|
t.marginBottom = i.marginBottom ?? 0, t.marginTop = 0, t.dy = 0;
|
|
3683
|
-
else if (t.marginTop = 0, t.marginBottom = 0, !(t.baseSprite instanceof
|
|
3683
|
+
else if (t.marginTop = 0, t.marginBottom = 0, !(t.baseSprite instanceof Be)) {
|
|
3684
3684
|
const a = zu(e), o = e.title?.content?.font?.size ?? A.generalFontSize;
|
|
3685
3685
|
t.dy = -(a ? o : 15);
|
|
3686
3686
|
}
|
|
@@ -3765,7 +3765,7 @@ function Hy(t, e) {
|
|
|
3765
3765
|
else if (o instanceof He) {
|
|
3766
3766
|
const r = o.id, l = To(e, r);
|
|
3767
3767
|
if (l !== void 0) {
|
|
3768
|
-
const f = O(e.uid, "config"), g = Qr(f?.showOutliers, a), h =
|
|
3768
|
+
const f = O(e.uid, "config"), g = Qr(f?.showOutliers, a), h = We(l);
|
|
3769
3769
|
h !== void 0 && (h.disabled = !g), ce(l, g);
|
|
3770
3770
|
}
|
|
3771
3771
|
const { topStepLineSeries: c, medianStepLineSeries: u, bottomStepLineSeries: d } = Hn(
|
|
@@ -3783,7 +3783,7 @@ function Hy(t, e) {
|
|
|
3783
3783
|
}));
|
|
3784
3784
|
const r = s instanceof Et, l = O(e.uid, "options")?.selectionData?.selectionItems, c = l !== void 0 && l.length > 0, u = O(e.uid, "actionMode") ?? A.actionMode;
|
|
3785
3785
|
let d;
|
|
3786
|
-
s instanceof dt ? d = s.columns : r ? d = s.slices : s instanceof
|
|
3786
|
+
s instanceof dt ? d = s.columns : r ? d = s.slices : s instanceof ye && (Ey(s), d = We(s)?.clones), d?.each((f) => {
|
|
3787
3787
|
f.dataItem instanceof oa || (zt({
|
|
3788
3788
|
element: f,
|
|
3789
3789
|
selected: f.isActive,
|
|
@@ -3843,7 +3843,7 @@ function Yy(t) {
|
|
|
3843
3843
|
const e = A.legendProperties;
|
|
3844
3844
|
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) => {
|
|
3845
3845
|
let a = i, o;
|
|
3846
|
-
if (t.baseSprite instanceof
|
|
3846
|
+
if (t.baseSprite instanceof Be && (o = O(t.baseSprite.uid, "config")?.legend?.labelMaxWidth), t.position === z.Right || t.position === z.Left)
|
|
3847
3847
|
a = o ?? A.legendProperties.legendLabels.maxWidth;
|
|
3848
3848
|
else if (o !== void 0)
|
|
3849
3849
|
a = o;
|
|
@@ -3868,11 +3868,11 @@ function Yy(t) {
|
|
|
3868
3868
|
return (n !== void 0 && !Te(n) ? yo(n) : n) ?? o;
|
|
3869
3869
|
}), t.valueLabels.template.adapter.add("maxWidth", (i) => {
|
|
3870
3870
|
let a = i, o;
|
|
3871
|
-
return t.baseSprite instanceof
|
|
3871
|
+
return t.baseSprite instanceof Be && (o = O(t.baseSprite.uid, "config")?.legend?.valueLabelMaxWidth), t.position === z.Right || t.position === z.Left ? a = o ?? A.legendProperties.valueLabels.maxWidth : a = o ?? Number.NaN, a;
|
|
3872
3872
|
});
|
|
3873
3873
|
}
|
|
3874
3874
|
function Uy(t, e) {
|
|
3875
|
-
t.itemContainers.template.events.on(B.Hit, (i) => Hy(i, e)), e instanceof
|
|
3875
|
+
t.itemContainers.template.events.on(B.Hit, (i) => Hy(i, e)), e instanceof Be && t.itemContainers.template.events.on(B.Over, (i) => $y(i));
|
|
3876
3876
|
}
|
|
3877
3877
|
function jy(t) {
|
|
3878
3878
|
t.itemContainers.template.reverseOrder = t.rtl;
|
|
@@ -3926,7 +3926,7 @@ function Ky(t, e) {
|
|
|
3926
3926
|
B.SizeChanged,
|
|
3927
3927
|
yt(() => {
|
|
3928
3928
|
let a = O(e.uid, "config")?.legend?.maxHeight ?? Number.NaN;
|
|
3929
|
-
Number.isFinite(a) || (t.position === z.Top || t.position === z.Bottom ? a = A.legendProperties.maxHeight : a = e instanceof
|
|
3929
|
+
Number.isFinite(a) || (t.position === z.Top || t.position === z.Bottom ? a = A.legendProperties.maxHeight : a = e instanceof Be ? e.chartContainer.measuredHeight : e.seriesContainer.measuredHeight), t.maxHeight = a, t.invalidateLayout();
|
|
3930
3930
|
}),
|
|
3931
3931
|
A.debounceTime
|
|
3932
3932
|
);
|
|
@@ -3983,7 +3983,7 @@ function iS(t) {
|
|
|
3983
3983
|
selectionTheme: s,
|
|
3984
3984
|
ignoreSmoothRenderingLimit: r,
|
|
3985
3985
|
errorStrings: l
|
|
3986
|
-
} = t, c = i.series.length, { rotated: u } = i, d = i.series[a], { y: f, name: g, id: h, assignToSecondValueAxis: b } = d, p = new
|
|
3986
|
+
} = t, c = i.series.length, { rotated: u } = i, d = i.series[a], { y: f, name: g, id: h, assignToSecondValueAxis: b } = d, p = new ye();
|
|
3987
3987
|
p.id = h, Ga(p, g);
|
|
3988
3988
|
let S, C;
|
|
3989
3989
|
u !== !0 ? (S = o[0], C = b === !0 && o[2] ? o[2] : o[1]) : (S = b === !0 && o[2] ? o[2] : o[0], C = o[1]), S !== void 0 && (p.xAxis = S), C !== void 0 && (p.yAxis = C);
|
|
@@ -4015,7 +4015,7 @@ function iS(t) {
|
|
|
4015
4015
|
}), Zr(p), ua(p), p;
|
|
4016
4016
|
}
|
|
4017
4017
|
function aS(t) {
|
|
4018
|
-
const { series: e, seriesIndex: i, chartSubType: a, seriesConfig: o, colorMatch: n, lineColor: s, rendererType: r } = t, l =
|
|
4018
|
+
const { series: e, seriesIndex: i, chartSubType: a, seriesConfig: o, colorMatch: n, lineColor: s, rendererType: r } = t, l = We(e);
|
|
4019
4019
|
let c = !1, u, d;
|
|
4020
4020
|
if (l !== void 0) {
|
|
4021
4021
|
o.markerVisible !== !1 && o.visible !== !1 ? e.bulletsContainer.show() : e.bulletsContainer.hide();
|
|
@@ -4188,7 +4188,7 @@ function lS(t, e) {
|
|
|
4188
4188
|
case a instanceof Ft:
|
|
4189
4189
|
o = "stepLine";
|
|
4190
4190
|
break;
|
|
4191
|
-
case a instanceof
|
|
4191
|
+
case a instanceof ye:
|
|
4192
4192
|
o = Ke(a.uid, "isBoxPlotMeanLineSeries") ? "meanLines" : "outliers";
|
|
4193
4193
|
break;
|
|
4194
4194
|
}
|
|
@@ -4239,7 +4239,7 @@ function xs(t) {
|
|
|
4239
4239
|
}), c.hiddenInLegend = !0, ua(c), c;
|
|
4240
4240
|
}
|
|
4241
4241
|
function dS(t) {
|
|
4242
|
-
const { chart: e, axisList: i = [], chartConfig: a, seriesIndex: o, selectionTheme: n, errorStrings: s } = t, r = a.series[o], l = Ct(a), [c, u] = i, d = new
|
|
4242
|
+
const { chart: e, axisList: i = [], chartConfig: a, seriesIndex: o, selectionTheme: n, errorStrings: s } = t, r = a.series[o], l = Ct(a), [c, u] = i, d = new ye();
|
|
4243
4243
|
Xt(d.uid, { isBoxPlotOutliersSeries: !0 }), d.id = `${r.id}_${ge.Outliers}`, c !== void 0 && (d.xAxis = c), u !== void 0 && (d.yAxis = u), d.simplifiedProcessing = !0, d.hiddenInLegend = !0, d.strokeOpacity = 0;
|
|
4244
4244
|
const f = Gr({ chart: e, lineSeries: d });
|
|
4245
4245
|
return l || (fa({
|
|
@@ -4264,7 +4264,7 @@ function Xa(t) {
|
|
|
4264
4264
|
} = t, { x: g, y: h } = i, b = c || u === !0 || f === !0, p = b || d === !0, S = b, C = b;
|
|
4265
4265
|
if (e !== void 0) {
|
|
4266
4266
|
const { showOutliers: x, standardizeValues: v, showMean: F } = e, T = Dt({ config: e });
|
|
4267
|
-
if (a instanceof
|
|
4267
|
+
if (a instanceof ye && C) {
|
|
4268
4268
|
const M = Z(e.series), N = i?.query?.where, P = xe({
|
|
4269
4269
|
y: M === V.BoxPlotC4MultiFieldsAndCategory ? h : void 0,
|
|
4270
4270
|
chartSubType: M,
|
|
@@ -4313,7 +4313,7 @@ function Xa(t) {
|
|
|
4313
4313
|
T ? (n.dataFields.valueX = M, s.dataFields.valueX = N, r.dataFields.valueX = P, n.dataFields.categoryY = g, s.dataFields.categoryY = g, r.dataFields.categoryY = g) : (n.dataFields.valueY = M, s.dataFields.valueY = N, r.dataFields.valueY = P, n.dataFields.categoryX = g, s.dataFields.categoryX = g, r.dataFields.categoryX = g), n.dataFields.customValue = D, r.dataFields.customValue = D, s.dataFields.customValue = D;
|
|
4314
4314
|
}
|
|
4315
4315
|
}
|
|
4316
|
-
if (l instanceof
|
|
4316
|
+
if (l instanceof ye && S) {
|
|
4317
4317
|
const M = xe({
|
|
4318
4318
|
...R,
|
|
4319
4319
|
key: ie.Outlier
|
|
@@ -4325,7 +4325,7 @@ function Xa(t) {
|
|
|
4325
4325
|
}
|
|
4326
4326
|
}
|
|
4327
4327
|
function uS(t) {
|
|
4328
|
-
const { chart: e, axisList: i = [], chartConfig: a, seriesIndex: o, selectionTheme: n, errorStrings: s } = t, r = a.series[o], [l, c] = i, u = new
|
|
4328
|
+
const { chart: e, axisList: i = [], chartConfig: a, seriesIndex: o, selectionTheme: n, errorStrings: s } = t, r = a.series[o], [l, c] = i, u = new ye();
|
|
4329
4329
|
Xt(u.uid, { isBoxPlotMeanLineSeries: !0 }), u.id = r.id, l !== void 0 && (u.xAxis = l), c !== void 0 && (u.yAxis = c), u.simplifiedProcessing = !0;
|
|
4330
4330
|
const d = Gr({ chart: e, lineSeries: u });
|
|
4331
4331
|
return fa({ element: d, customSelectionTheme: n }), Ao({ chart: e, element: d, errorStrings: s }), Wt({
|
|
@@ -4402,7 +4402,7 @@ function gS(t) {
|
|
|
4402
4402
|
if (o !== void 0) {
|
|
4403
4403
|
const n = To(e.chart, e.id);
|
|
4404
4404
|
if (n !== void 0) {
|
|
4405
|
-
const s =
|
|
4405
|
+
const s = We(n);
|
|
4406
4406
|
if (s !== void 0) {
|
|
4407
4407
|
const r = Qr(a, i.visible), l = {
|
|
4408
4408
|
type: K.SMS,
|
|
@@ -4511,7 +4511,7 @@ function pS(t) {
|
|
|
4511
4511
|
showOutliers: i,
|
|
4512
4512
|
seriesSymbol: b
|
|
4513
4513
|
});
|
|
4514
|
-
} else e instanceof
|
|
4514
|
+
} else e instanceof ye && r.type === y.LineSeries && Uu({
|
|
4515
4515
|
series: e,
|
|
4516
4516
|
seriesConfig: r,
|
|
4517
4517
|
seriesIndexMapper: n,
|
|
@@ -4557,7 +4557,7 @@ function yS(t) {
|
|
|
4557
4557
|
standardizeValuesVisibilityChanged: l
|
|
4558
4558
|
} = t, c = To(e, o);
|
|
4559
4559
|
if (c !== void 0) {
|
|
4560
|
-
const u =
|
|
4560
|
+
const u = We(c);
|
|
4561
4561
|
if (u !== void 0) {
|
|
4562
4562
|
const d = Qr(n, a.visible);
|
|
4563
4563
|
u.disabled = !d;
|
|
@@ -4681,7 +4681,7 @@ function vS(t) {
|
|
|
4681
4681
|
outliersVisibilityChanged: n,
|
|
4682
4682
|
standardizeValuesVisibilityChanged: c
|
|
4683
4683
|
});
|
|
4684
|
-
} else i instanceof
|
|
4684
|
+
} else i instanceof ye && r.type === y.LineSeries && SS({
|
|
4685
4685
|
chartConfig: h,
|
|
4686
4686
|
meanLineSeries: i,
|
|
4687
4687
|
seriesConfig: r,
|
|
@@ -4722,14 +4722,14 @@ function FS(t, e = !0) {
|
|
|
4722
4722
|
if (i === y.BarSeries)
|
|
4723
4723
|
n = a.columns?.values;
|
|
4724
4724
|
else if (i === y.LineSeries)
|
|
4725
|
-
n =
|
|
4725
|
+
n = We(a)?.clones?.values;
|
|
4726
4726
|
else if (i === y.BoxPlotSeries) {
|
|
4727
4727
|
if (a instanceof He)
|
|
4728
4728
|
n.push(...a.columns.values);
|
|
4729
4729
|
else if (a instanceof Ft)
|
|
4730
4730
|
n.push(...a.segments.values);
|
|
4731
|
-
else if (a instanceof
|
|
4732
|
-
const s =
|
|
4731
|
+
else if (a instanceof ye) {
|
|
4732
|
+
const s = We(a)?.clones?.values;
|
|
4733
4733
|
s !== void 0 && n.push(...s);
|
|
4734
4734
|
}
|
|
4735
4735
|
}
|
|
@@ -4749,9 +4749,9 @@ function Ya(t) {
|
|
|
4749
4749
|
computedSelectionItems: void 0,
|
|
4750
4750
|
computedSelectionIndexes: void 0,
|
|
4751
4751
|
pendingSelectionQueries: !1
|
|
4752
|
-
}), Bt(e) && (e instanceof me ? FS(e, a ?? !0) : e instanceof
|
|
4752
|
+
}), Bt(e) && (e instanceof me ? FS(e, a ?? !0) : e instanceof Be && LS(e)), O(e.uid, "options")?.selectionData?.selectionItems?.[0] && _a({
|
|
4753
4753
|
data: {
|
|
4754
|
-
selectionSource: i ??
|
|
4754
|
+
selectionSource: i ?? pe.ClearSelection
|
|
4755
4755
|
},
|
|
4756
4756
|
htmlContainer: e.htmlContainer
|
|
4757
4757
|
});
|
|
@@ -4773,7 +4773,7 @@ function ju(t, e) {
|
|
|
4773
4773
|
if ((i === J.MonoSelection || i === J.None) && e.length > 1)
|
|
4774
4774
|
Ya({ chart: t });
|
|
4775
4775
|
else {
|
|
4776
|
-
const o = t instanceof
|
|
4776
|
+
const o = t instanceof Be;
|
|
4777
4777
|
e.forEach((n) => {
|
|
4778
4778
|
zt({
|
|
4779
4779
|
element: n,
|
|
@@ -4855,7 +4855,7 @@ function IS(t) {
|
|
|
4855
4855
|
else
|
|
4856
4856
|
zt({
|
|
4857
4857
|
element: v,
|
|
4858
|
-
useNativeState: e instanceof
|
|
4858
|
+
useNativeState: e instanceof Be,
|
|
4859
4859
|
selected: !1
|
|
4860
4860
|
});
|
|
4861
4861
|
}
|
|
@@ -4868,7 +4868,7 @@ function RS(t) {
|
|
|
4868
4868
|
const f = s.series[0].x, g = Yi(u), h = u instanceof yi ? u.dataFields?.customValue ?? "" : "", b = $n(u, d), p = i.get(d);
|
|
4869
4869
|
if (p !== void 0) {
|
|
4870
4870
|
let S;
|
|
4871
|
-
if (u instanceof dt ? S = u.columns : u instanceof Et ? S = u.slices : S =
|
|
4871
|
+
if (u instanceof dt ? S = u.columns : u instanceof Et ? S = u.slices : S = We(u)?.clones, S !== void 0) {
|
|
4872
4872
|
const { indexesToSelect: C } = p;
|
|
4873
4873
|
S.each((x, v) => {
|
|
4874
4874
|
if (x && (C === void 0 || C.includes(v))) {
|
|
@@ -4887,7 +4887,7 @@ function RS(t) {
|
|
|
4887
4887
|
} else
|
|
4888
4888
|
zt({
|
|
4889
4889
|
element: x,
|
|
4890
|
-
useNativeState: e instanceof
|
|
4890
|
+
useNativeState: e instanceof Be,
|
|
4891
4891
|
selected: !1
|
|
4892
4892
|
});
|
|
4893
4893
|
});
|
|
@@ -4903,8 +4903,8 @@ function wS(t) {
|
|
|
4903
4903
|
case y.ComboLineAndBarSeries:
|
|
4904
4904
|
if (e instanceof dt)
|
|
4905
4905
|
o = e.columns.values;
|
|
4906
|
-
else if (e instanceof
|
|
4907
|
-
const n =
|
|
4906
|
+
else if (e instanceof ye) {
|
|
4907
|
+
const n = We(e);
|
|
4908
4908
|
n !== void 0 && (o = n.clones.values);
|
|
4909
4909
|
}
|
|
4910
4910
|
break;
|
|
@@ -4912,8 +4912,8 @@ function wS(t) {
|
|
|
4912
4912
|
e instanceof dt && (o = e.columns.values);
|
|
4913
4913
|
break;
|
|
4914
4914
|
case y.LineSeries:
|
|
4915
|
-
if (e instanceof
|
|
4916
|
-
const n =
|
|
4915
|
+
if (e instanceof ye) {
|
|
4916
|
+
const n = We(e);
|
|
4917
4917
|
n !== void 0 && (o = n.clones.values);
|
|
4918
4918
|
}
|
|
4919
4919
|
break;
|
|
@@ -4926,11 +4926,11 @@ function wS(t) {
|
|
|
4926
4926
|
o = [...e.columns.values];
|
|
4927
4927
|
const n = To(e.chart, e.id);
|
|
4928
4928
|
if (n !== void 0 && n.visible) {
|
|
4929
|
-
const s =
|
|
4929
|
+
const s = We(n);
|
|
4930
4930
|
s !== void 0 && o.push(...s.clones.values);
|
|
4931
4931
|
}
|
|
4932
|
-
} else if (a === !0 && e instanceof
|
|
4933
|
-
const n =
|
|
4932
|
+
} else if (a === !0 && e instanceof ye && Ke(e.uid, "isBoxPlotMeanLineSeries")) {
|
|
4933
|
+
const n = We(e);
|
|
4934
4934
|
n !== void 0 && (o = n.clones.values);
|
|
4935
4935
|
}
|
|
4936
4936
|
}
|
|
@@ -5036,7 +5036,7 @@ function DS(t) {
|
|
|
5036
5036
|
zt({
|
|
5037
5037
|
element: j,
|
|
5038
5038
|
selected: E,
|
|
5039
|
-
useNativeState: x instanceof
|
|
5039
|
+
useNativeState: x instanceof Be,
|
|
5040
5040
|
backToDefaultState: Y
|
|
5041
5041
|
});
|
|
5042
5042
|
});
|
|
@@ -5051,12 +5051,12 @@ function DS(t) {
|
|
|
5051
5051
|
if (g === !0 && (U = O(x.uid, "computedSelectionIndexes") ?? S), Y === void 0 || Y.length === 0)
|
|
5052
5052
|
Ya({
|
|
5053
5053
|
chart: x,
|
|
5054
|
-
selectionSource:
|
|
5054
|
+
selectionSource: pe.ProgrammaticSelection
|
|
5055
5055
|
});
|
|
5056
5056
|
else {
|
|
5057
5057
|
const _ = {
|
|
5058
5058
|
selectionItems: Y,
|
|
5059
|
-
selectionSource:
|
|
5059
|
+
selectionSource: pe.ProgrammaticSelection
|
|
5060
5060
|
};
|
|
5061
5061
|
C?.[0] && (_.selectionFilters = C), g === !0 && (_.selectionIndexes = U), h !== !1 && (_.selectionOIDs = f?.selectionOIDs), F && (_.selectionPixelTarget = Fr({
|
|
5062
5062
|
chartConfig: v,
|
|
@@ -5221,7 +5221,7 @@ async function $S(t, e) {
|
|
|
5221
5221
|
const d = u.series[0].x ?? "";
|
|
5222
5222
|
o.series.each((f, g) => {
|
|
5223
5223
|
let h;
|
|
5224
|
-
if (f instanceof dt ? h = f.columns : h =
|
|
5224
|
+
if (f instanceof dt ? h = f.columns : h = We(f)?.clones, f.visible) {
|
|
5225
5225
|
const b = Yi(f), p = f.dataFields?.customValue ?? "";
|
|
5226
5226
|
h?.each((S, C) => {
|
|
5227
5227
|
const x = n.includes(S);
|
|
@@ -5245,7 +5245,7 @@ async function $S(t, e) {
|
|
|
5245
5245
|
}), await ko({
|
|
5246
5246
|
chart: o,
|
|
5247
5247
|
listSelectedElements: c,
|
|
5248
|
-
selectionSource:
|
|
5248
|
+
selectionSource: pe.SelectionByClick,
|
|
5249
5249
|
errorStrings: e
|
|
5250
5250
|
});
|
|
5251
5251
|
}
|
|
@@ -5269,7 +5269,7 @@ function ln(t, e) {
|
|
|
5269
5269
|
Ps(t, a);
|
|
5270
5270
|
}
|
|
5271
5271
|
}
|
|
5272
|
-
const
|
|
5272
|
+
const Ae = {
|
|
5273
5273
|
Guides: "guides",
|
|
5274
5274
|
Ticks: "ticks",
|
|
5275
5275
|
GaugeFirstAndLastGuides: "firstAndLast",
|
|
@@ -5422,26 +5422,26 @@ function _S(t) {
|
|
|
5422
5422
|
let n = e.axisRanges.length - 1, s = a;
|
|
5423
5423
|
for (; s > 0 && n >= 0; ) {
|
|
5424
5424
|
const r = e.axisRanges.getIndex(n);
|
|
5425
|
-
r !== void 0 && (
|
|
5425
|
+
r !== void 0 && (Ne(r.label?.uid, "isGuide") ?? !1) === !0 && i === Ae.Guides && (o.push(r), s -= 1), n -= 1;
|
|
5426
5426
|
}
|
|
5427
5427
|
for (let r = 0; r < o.length; r += 1)
|
|
5428
5428
|
e.axisRanges.removeValue(o[r]);
|
|
5429
5429
|
}
|
|
5430
5430
|
function Tt(t, e) {
|
|
5431
5431
|
return t.axisRanges?.values?.filter((a) => {
|
|
5432
|
-
const o =
|
|
5432
|
+
const o = Ne(a.label?.uid, "isGuide") ?? !1, n = Ne(a.label?.uid, "isGaugeAxisLabel") ?? !1;
|
|
5433
5433
|
let s = !1;
|
|
5434
5434
|
switch (e) {
|
|
5435
|
-
case
|
|
5435
|
+
case Ae.Ticks:
|
|
5436
5436
|
s = o === !1;
|
|
5437
5437
|
break;
|
|
5438
|
-
case
|
|
5438
|
+
case Ae.Guides:
|
|
5439
5439
|
s = o === !0;
|
|
5440
5440
|
break;
|
|
5441
|
-
case
|
|
5441
|
+
case Ae.GaugeTicksWithLabels:
|
|
5442
5442
|
s = n === !0 && a.value !== void 0;
|
|
5443
5443
|
break;
|
|
5444
|
-
case
|
|
5444
|
+
case Ae.GaugeFirstAndLastGuides:
|
|
5445
5445
|
s = o === !0 && (a.id === Ia.gaugeFirstLabelId || a.id === Ia.gaugeLastLabelId);
|
|
5446
5446
|
break;
|
|
5447
5447
|
}
|
|
@@ -5535,7 +5535,7 @@ function qS(t, e) {
|
|
|
5535
5535
|
i.disabled = !0, a.disabled = !0;
|
|
5536
5536
|
}
|
|
5537
5537
|
function ZS(t, e) {
|
|
5538
|
-
const a = Tt(t,
|
|
5538
|
+
const a = Tt(t, Ae.Guides).length, o = e?.length ?? a;
|
|
5539
5539
|
for (let n = a; n < o; n += 1)
|
|
5540
5540
|
XS(t, n);
|
|
5541
5541
|
}
|
|
@@ -5543,18 +5543,18 @@ function KS(t) {
|
|
|
5543
5543
|
const { axis: e, guides: i, guideTooltipFormatter: a, utilsStrings: o } = t;
|
|
5544
5544
|
if (i !== void 0) {
|
|
5545
5545
|
for (let n = 0; n < i.length; n += 1) {
|
|
5546
|
-
const r = Tt(e,
|
|
5546
|
+
const r = Tt(e, Ae.Guides)[n];
|
|
5547
5547
|
r !== void 0 && qS(r, i[n]);
|
|
5548
5548
|
}
|
|
5549
5549
|
HS({ axis: e, guideTooltipFormatter: a, utilsStrings: o });
|
|
5550
5550
|
}
|
|
5551
5551
|
}
|
|
5552
5552
|
function QS(t, e) {
|
|
5553
|
-
const a = Tt(t,
|
|
5553
|
+
const a = Tt(t, Ae.Guides).length, o = e?.length ?? 0, n = a - o;
|
|
5554
5554
|
_S({
|
|
5555
5555
|
axis: t,
|
|
5556
5556
|
numberOfElementsToBeDeleted: n,
|
|
5557
|
-
tickOrGuide:
|
|
5557
|
+
tickOrGuide: Ae.Guides
|
|
5558
5558
|
});
|
|
5559
5559
|
}
|
|
5560
5560
|
function JS(t) {
|
|
@@ -5569,7 +5569,7 @@ function eC(t) {
|
|
|
5569
5569
|
}
|
|
5570
5570
|
function qu(t) {
|
|
5571
5571
|
const e = t.renderer.labels.values.filter(
|
|
5572
|
-
(i) =>
|
|
5572
|
+
(i) => Ne(i.uid, "isGuide") !== !0 && i.measuredWidth > 0
|
|
5573
5573
|
).length;
|
|
5574
5574
|
return t.pixelWidth / e;
|
|
5575
5575
|
}
|
|
@@ -5578,7 +5578,7 @@ function tC(t) {
|
|
|
5578
5578
|
if ((O(e.chart.uid, "config")?.horizontalAxisLabelsBehavior ?? ve.Rotate) === ve.Wrap) {
|
|
5579
5579
|
let o = Number.MAX_SAFE_INTEGER;
|
|
5580
5580
|
e.renderer.labels.each((s) => {
|
|
5581
|
-
|
|
5581
|
+
Ne(s.uid, "isGuide") !== !0 && s.measuredWidth > 0 && (o = Math.min(
|
|
5582
5582
|
o,
|
|
5583
5583
|
s.bbox.width
|
|
5584
5584
|
));
|
|
@@ -5619,17 +5619,17 @@ function aC(t) {
|
|
|
5619
5619
|
const e = t.renderer.labels.template;
|
|
5620
5620
|
Bt(e) && (e.adapter.add(
|
|
5621
5621
|
"rotation",
|
|
5622
|
-
(i, a) =>
|
|
5622
|
+
(i, a) => Ne(a.uid, "isGuide") !== !0 ? ot(t.uid, "labelsSymbol")?.angle ?? i : i
|
|
5623
5623
|
), e.adapter.add(
|
|
5624
5624
|
"verticalCenter",
|
|
5625
|
-
(i, a) =>
|
|
5625
|
+
(i, a) => Ne(a.uid, "isGuide") !== !0 ? ot(t.uid, "labelsSymbol")?.verticalCenter ?? i : i
|
|
5626
5626
|
), e.adapter.add(
|
|
5627
5627
|
"horizontalCenter",
|
|
5628
|
-
(i, a) =>
|
|
5628
|
+
(i, a) => Ne(a.uid, "isGuide") !== !0 ? ot(t.uid, "labelsSymbol")?.horizontalCenter ?? i : i
|
|
5629
5629
|
), e.adapter.add("dy", (i, a) => {
|
|
5630
5630
|
let o = A.axisLabel.dy ?? i ?? 0;
|
|
5631
5631
|
return a.dataItem?.tick?.length > A.axisTickLength ? o = i ?? 0 : o = Number(
|
|
5632
|
-
|
|
5632
|
+
Ne(a.uid, "isGuide") !== !0 ? ot(t.uid, "labelsSymbol")?.yOffset ?? o : o
|
|
5633
5633
|
), o;
|
|
5634
5634
|
}));
|
|
5635
5635
|
}
|
|
@@ -5640,7 +5640,7 @@ function oC(t) {
|
|
|
5640
5640
|
if ((a?.visible ?? !0) && a !== void 0 && e.renderer.labels.length > 1) {
|
|
5641
5641
|
let n = 0;
|
|
5642
5642
|
e.renderer.labels.each((c) => {
|
|
5643
|
-
if (
|
|
5643
|
+
if (Ne(c.uid, "isGuide") !== !0 && c.measuredWidth > 0) {
|
|
5644
5644
|
const u = c.bbox.width;
|
|
5645
5645
|
u > n && (n = u);
|
|
5646
5646
|
}
|
|
@@ -5663,10 +5663,10 @@ function sC(t) {
|
|
|
5663
5663
|
let o = 0;
|
|
5664
5664
|
e.dataItems.each((n) => {
|
|
5665
5665
|
const { label: s, itemIndex: r } = n;
|
|
5666
|
-
|
|
5666
|
+
Ne(s.uid, "isGuide") !== !0 && s.currentText !== void 0 && s.measuredWidth > 0 && r % 2 === 0 && s.bbox.height > o && (o = s.bbox.height);
|
|
5667
5667
|
}), e.dataItems.each((n) => {
|
|
5668
5668
|
const { tick: s, label: r, itemIndex: l } = n;
|
|
5669
|
-
if (
|
|
5669
|
+
if (Ne(r.uid, "isGuide") !== !0 && r.currentText !== void 0 && r.measuredWidth > 0) {
|
|
5670
5670
|
const c = l % 2 === 1;
|
|
5671
5671
|
s.length = c ? o + 5 : A.axisTickLength, s.dataItem.label.dy = A.axisLabel.dy + (c ? o : 0);
|
|
5672
5672
|
}
|
|
@@ -5976,7 +5976,7 @@ function Cc(t) {
|
|
|
5976
5976
|
const n = e.axisRanges.values, s = O(e.chart.uid, "config"), r = O(e.chart.uid, "isRotated"), c = !Io(e.renderer, r) ? 1 : 0, d = s?.axes?.[c]?.guides;
|
|
5977
5977
|
for (let f = 0; f < n.length; f += 1) {
|
|
5978
5978
|
const g = n[f], { value: h, endValue: b, axisFill: p, grid: S, label: C } = g;
|
|
5979
|
-
if (
|
|
5979
|
+
if (Ne(C?.uid, "isGuide") === !0) {
|
|
5980
5980
|
if (o = g.visible, o && g instanceof cr) {
|
|
5981
5981
|
const { start: v, end: F } = Jr(e, d?.[f]), T = Math.min(h, b, v ?? h, F ?? b), k = Math.max(h, b, v ?? h, F ?? b);
|
|
5982
5982
|
T < i && k < i || T > a && k > a ? o = !1 : (g.value = T < i ? i : T, g.endValue = k > a ? a : k);
|
|
@@ -6007,7 +6007,7 @@ function no(t) {
|
|
|
6007
6007
|
r = e.push(new ct());
|
|
6008
6008
|
else if (bt(o))
|
|
6009
6009
|
r = e.push(new Ve());
|
|
6010
|
-
else if (
|
|
6010
|
+
else if (Oe(o)) {
|
|
6011
6011
|
r = e.push(new ke());
|
|
6012
6012
|
const l = O(r.chart.uid, "formatLocale");
|
|
6013
6013
|
r.numberFormatter = ri({
|
|
@@ -6594,7 +6594,7 @@ function GC(t) {
|
|
|
6594
6594
|
Ni(e, Ze.AxisLabels), Ni(e, Ze.FirstAndLastLabels);
|
|
6595
6595
|
const o = () => {
|
|
6596
6596
|
a.events.once(B.Validated, () => {
|
|
6597
|
-
const s = Tt(a,
|
|
6597
|
+
const s = Tt(a, Ae.GaugeTicksWithLabels);
|
|
6598
6598
|
if (_n(s)) {
|
|
6599
6599
|
const r = s.map((f) => f.label), l = r[0].scale, c = r[0].fontSize, u = tl({
|
|
6600
6600
|
chart: e,
|
|
@@ -6615,7 +6615,7 @@ function GC(t) {
|
|
|
6615
6615
|
ae(e.uid, { gaugeAutoResizeAxisLabelsDisposer: n }), o();
|
|
6616
6616
|
} else {
|
|
6617
6617
|
Ni(e, Ze.AxisLabels);
|
|
6618
|
-
const o = Tt(a,
|
|
6618
|
+
const o = Tt(a, Ae.GaugeTicksWithLabels);
|
|
6619
6619
|
o.length > 0 && o.map((s) => s.label).forEach((s) => {
|
|
6620
6620
|
s.scale = 1;
|
|
6621
6621
|
});
|
|
@@ -6655,7 +6655,7 @@ function _s(t) {
|
|
|
6655
6655
|
return t?.labels.content.font?.size === void 0 && t?.onlyShowFirstAndLastLabels === !0;
|
|
6656
6656
|
}
|
|
6657
6657
|
function UC(t) {
|
|
6658
|
-
const e = t.chart, i = O(e.uid, "config")?.axes?.[0], a = Tt(t,
|
|
6658
|
+
const e = t.chart, i = O(e.uid, "config")?.axes?.[0], a = Tt(t, Ae.GaugeFirstAndLastGuides);
|
|
6659
6659
|
if (_n(a)) {
|
|
6660
6660
|
const o = a.map((l) => l.label), n = o[0].scale, s = o[0].fontSize, r = tl({
|
|
6661
6661
|
chart: e,
|
|
@@ -6687,7 +6687,7 @@ function jC(t) {
|
|
|
6687
6687
|
);
|
|
6688
6688
|
ae(e.uid, { gaugeAutoResizeFirstAndLastLabelsDisposer: n }), o();
|
|
6689
6689
|
} else
|
|
6690
|
-
Ni(e, Ze.FirstAndLastLabels), Tt(a,
|
|
6690
|
+
Ni(e, Ze.FirstAndLastLabels), Tt(a, Ae.GaugeFirstAndLastGuides).map(
|
|
6691
6691
|
(n) => n.label
|
|
6692
6692
|
).forEach((n) => {
|
|
6693
6693
|
n.scale = 1;
|
|
@@ -6700,7 +6700,7 @@ function Gs(t, e) {
|
|
|
6700
6700
|
if (!i.renderer.labels.template.visible || o === !0)
|
|
6701
6701
|
t.radius = new qo(A.gauge.radius);
|
|
6702
6702
|
else {
|
|
6703
|
-
const n = Tt(i,
|
|
6703
|
+
const n = Tt(i, Ae.GaugeTicksWithLabels), { furthestLabelX: s, furthestLabelY: r } = n.reduce(
|
|
6704
6704
|
({ furthestLabelX: l, furthestLabelY: c, furthestPixelX: u, furthestPixelY: d }, { label: f }) => {
|
|
6705
6705
|
if (f?.visible && f.bbox.width > 0 && f.bbox.height > 0) {
|
|
6706
6706
|
const g = f.pixelX, h = f.bbox.width * f.scale;
|
|
@@ -6773,7 +6773,7 @@ function QC(t) {
|
|
|
6773
6773
|
}
|
|
6774
6774
|
function JC(t) {
|
|
6775
6775
|
const { chart: e, innerLabelConfig: i, valueFormat: a, gaugeValue: o, gaugeInnerLabelFormatter: n } = t, s = e.radarContainer.children.values.find(
|
|
6776
|
-
(r) =>
|
|
6776
|
+
(r) => Ne(r.uid, "isGaugeAxisInnerLabel") === !0
|
|
6777
6777
|
);
|
|
6778
6778
|
if (s !== void 0) {
|
|
6779
6779
|
Ot({ label: s, labelConfig: i, defaults: A.gaugeInnerLabel });
|
|
@@ -6799,7 +6799,7 @@ function tx(t) {
|
|
|
6799
6799
|
function ix(t) {
|
|
6800
6800
|
const { axis: e, min: i, max: a, labelsIncrement: o, numberOfIntervals: n, valueFormat: s } = t, r = Ko(s);
|
|
6801
6801
|
let l = 1;
|
|
6802
|
-
const c = Tt(e,
|
|
6802
|
+
const c = Tt(e, Ae.Ticks);
|
|
6803
6803
|
c.length > 0 && (l = c[0].label?.scale, c.forEach((f) => {
|
|
6804
6804
|
if (Tn(f)) {
|
|
6805
6805
|
const g = e.axisRanges.values.indexOf(f);
|
|
@@ -6815,7 +6815,7 @@ function ix(t) {
|
|
|
6815
6815
|
function ax(t) {
|
|
6816
6816
|
const { chart: e, axis: i, onlyShowFirstAndLastLabels: a, valueFormat: o, axisLabelConfigContent: n, axisValueFormatter: s } = t;
|
|
6817
6817
|
if (!a) {
|
|
6818
|
-
const r = Tt(i,
|
|
6818
|
+
const r = Tt(i, Ae.GaugeTicksWithLabels);
|
|
6819
6819
|
if (_n(r)) {
|
|
6820
6820
|
const l = O(e.uid, "formatLocale");
|
|
6821
6821
|
r.forEach((c) => {
|
|
@@ -6832,7 +6832,7 @@ function ax(t) {
|
|
|
6832
6832
|
}
|
|
6833
6833
|
}
|
|
6834
6834
|
function ox(t, e) {
|
|
6835
|
-
const i = e?.ticks?.visible ?? !0, a = Tt(t,
|
|
6835
|
+
const i = e?.ticks?.visible ?? !0, a = Tt(t, Ae.Ticks);
|
|
6836
6836
|
for (let o = 0; o < a.length; o += 1) {
|
|
6837
6837
|
const n = a[o];
|
|
6838
6838
|
ce(n.tick, i);
|
|
@@ -6840,7 +6840,7 @@ function ox(t, e) {
|
|
|
6840
6840
|
}
|
|
6841
6841
|
function nx(t, e) {
|
|
6842
6842
|
if (t instanceof ke && t.chart instanceof kt) {
|
|
6843
|
-
const i = Tt(t,
|
|
6843
|
+
const i = Tt(t, Ae.GaugeTicksWithLabels);
|
|
6844
6844
|
if (_n(i)) {
|
|
6845
6845
|
const { onlyShowFirstAndLastLabels: a, labels: o } = e, n = (o?.visible ?? !0) && a !== !0;
|
|
6846
6846
|
i.forEach((s) => {
|
|
@@ -6850,11 +6850,11 @@ function nx(t, e) {
|
|
|
6850
6850
|
}
|
|
6851
6851
|
}
|
|
6852
6852
|
function sx(t) {
|
|
6853
|
-
Tt(t,
|
|
6853
|
+
Tt(t, Ae.GaugeFirstAndLastGuides).forEach((i) => {
|
|
6854
6854
|
i.label.adapter.keys().includes("dx") || i.label.adapter.add("dx", (a) => {
|
|
6855
6855
|
let o = a;
|
|
6856
6856
|
if (i.label.measuredWidth > 0) {
|
|
6857
|
-
const n = O(t.chart.uid, "config")?.axes?.[0], s =
|
|
6857
|
+
const n = O(t.chart.uid, "config")?.axes?.[0], s = Ne(i.label.uid, "originalWidth"), r = _s(n) && s !== void 0 && s === i.label.measuredWidth && i.label.scale !== 1;
|
|
6858
6858
|
o = Math.round(
|
|
6859
6859
|
(r ? s * i.label.scale : i.label.measuredWidth) / 2
|
|
6860
6860
|
), i.id === Ia.gaugeLastLabelId && (o *= -1);
|
|
@@ -6863,7 +6863,7 @@ function sx(t) {
|
|
|
6863
6863
|
}), i.label.adapter.keys().includes("dy") || i.label.adapter.add("dy", (a) => {
|
|
6864
6864
|
let o = a;
|
|
6865
6865
|
if (i.label.measuredHeight > 0) {
|
|
6866
|
-
const n = O(t.chart.uid, "config")?.axes?.[0], s =
|
|
6866
|
+
const n = O(t.chart.uid, "config")?.axes?.[0], s = Ne(i.label.uid, "originalHeight"), r = _s(n) && s !== void 0 && s === i.label.measuredHeight && i.label.scale !== 1;
|
|
6867
6867
|
o = Math.round(
|
|
6868
6868
|
(r ? s * i.label.scale : i.label.measuredHeight) / 2
|
|
6869
6869
|
);
|
|
@@ -6875,7 +6875,7 @@ function sx(t) {
|
|
|
6875
6875
|
function rx(t) {
|
|
6876
6876
|
const { chart: e, axis: i, onlyShowFirstAndLastLabels: a, valueFormat: o, gaugeLabelConfigContent: n, axisValueFormatter: s } = t;
|
|
6877
6877
|
if (a) {
|
|
6878
|
-
const r = Tt(i,
|
|
6878
|
+
const r = Tt(i, Ae.GaugeFirstAndLastGuides), l = O(e.uid, "formatLocale");
|
|
6879
6879
|
r.forEach((c) => {
|
|
6880
6880
|
c?.label !== void 0 && Tn(c) && (c.label.html = nf({
|
|
6881
6881
|
valueFormat: o,
|
|
@@ -7645,7 +7645,7 @@ async function Lc(t) {
|
|
|
7645
7645
|
}), await ko({
|
|
7646
7646
|
chart: e,
|
|
7647
7647
|
listSelectedElements: n,
|
|
7648
|
-
selectionSource:
|
|
7648
|
+
selectionSource: pe.SelectionByClick,
|
|
7649
7649
|
errorStrings: o
|
|
7650
7650
|
});
|
|
7651
7651
|
}
|
|
@@ -7666,7 +7666,7 @@ function zx(t, e) {
|
|
|
7666
7666
|
} else s === t.background && await ko({
|
|
7667
7667
|
chart: t,
|
|
7668
7668
|
listSelectedElements: [],
|
|
7669
|
-
selectionSource:
|
|
7669
|
+
selectionSource: pe.SelectionByClick,
|
|
7670
7670
|
errorStrings: e
|
|
7671
7671
|
});
|
|
7672
7672
|
}
|
|
@@ -7693,11 +7693,11 @@ function Ac(t) {
|
|
|
7693
7693
|
function Gx(t, e) {
|
|
7694
7694
|
t !== void 0 && e !== void 0 && window.IntersectionObserver !== void 0 && new IntersectionObserver(
|
|
7695
7695
|
(a) => {
|
|
7696
|
-
a[0].intersectionRatio > 0 && (O(t.uid, "chartWasCreatedWhileHidden") === !0 ? (t instanceof
|
|
7696
|
+
a[0].intersectionRatio > 0 && (O(t.uid, "chartWasCreatedWhileHidden") === !0 ? (t instanceof Be && t.events.once(B.Validated, () => {
|
|
7697
7697
|
t.isDisposed() || cn(t), t.reinit();
|
|
7698
7698
|
}), t.reinit(), t instanceof me && zn(t), ae(t.uid, {
|
|
7699
7699
|
chartWasCreatedWhileHidden: !1
|
|
7700
|
-
})) : O(t.uid, "chartWasUpdatedWhileHidden") === !0 && (t instanceof
|
|
7700
|
+
})) : O(t.uid, "chartWasUpdatedWhileHidden") === !0 && (t instanceof Be && t.events.once(B.Validated, () => {
|
|
7701
7701
|
t.isDisposed() || cn(t), t.reinit();
|
|
7702
7702
|
}), t.reinit(), ae(t.uid, {
|
|
7703
7703
|
chartWasUpdatedWhileHidden: !1
|
|
@@ -7782,7 +7782,7 @@ function uf(t) {
|
|
|
7782
7782
|
}
|
|
7783
7783
|
}
|
|
7784
7784
|
function ff(t) {
|
|
7785
|
-
if (t instanceof
|
|
7785
|
+
if (t instanceof Be)
|
|
7786
7786
|
df(t), uf(t);
|
|
7787
7787
|
else if (!(t instanceof kt)) {
|
|
7788
7788
|
const e = () => {
|
|
@@ -7795,7 +7795,7 @@ function ff(t) {
|
|
|
7795
7795
|
let f = A.chartDefaultPaddingRight;
|
|
7796
7796
|
if (u && d && (c === y.LineSeries || c === y.ComboLineAndBarSeries || c === y.BarSeries && (a?.stackedType ?? _d()) === te.Side)) {
|
|
7797
7797
|
let h = 0;
|
|
7798
|
-
const b = (p) =>
|
|
7798
|
+
const b = (p) => Ne(p.uid, "isDataLabel") ?? !1;
|
|
7799
7799
|
t.series.each((p) => {
|
|
7800
7800
|
const S = p.bullets.values.find(b);
|
|
7801
7801
|
S !== void 0 && S.clones.each((C) => {
|
|
@@ -7851,7 +7851,7 @@ function Un(t) {
|
|
|
7851
7851
|
case J.None:
|
|
7852
7852
|
Ya({
|
|
7853
7853
|
chart: e,
|
|
7854
|
-
selectionSource:
|
|
7854
|
+
selectionSource: pe.ClearSelection,
|
|
7855
7855
|
clearOnlyVisibleSeries: !1,
|
|
7856
7856
|
disposeStyleAndSelection: !1
|
|
7857
7857
|
}), Cs(e);
|
|
@@ -7990,7 +7990,7 @@ function mf(t) {
|
|
|
7990
7990
|
}
|
|
7991
7991
|
}
|
|
7992
7992
|
}
|
|
7993
|
-
else e instanceof
|
|
7993
|
+
else e instanceof Be && i.series[0].type === y.PieSeries && (c = Vx({ ...g, seriesConfig: i.series[0] }), d.push(c));
|
|
7994
7994
|
const b = Dg({ chartConfig: i, queryObject: s, chartData: e.data });
|
|
7995
7995
|
b.length > 0 && (e.colors.list = b.map((p) => {
|
|
7996
7996
|
const [S, C, x, v] = p;
|
|
@@ -8040,7 +8040,7 @@ function ol(t) {
|
|
|
8040
8040
|
};
|
|
8041
8041
|
let j = Y;
|
|
8042
8042
|
if (e instanceof me && Wi(i))
|
|
8043
|
-
j = F.find((E) => E.id === P.id), Y !== void 0 && (j instanceof He || j instanceof
|
|
8043
|
+
j = F.find((E) => E.id === P.id), Y !== void 0 && (j instanceof He || j instanceof ye) && vS({
|
|
8044
8044
|
...U,
|
|
8045
8045
|
chart: e,
|
|
8046
8046
|
series: j,
|
|
@@ -8130,7 +8130,7 @@ function nl(t) {
|
|
|
8130
8130
|
const $ = jt(F);
|
|
8131
8131
|
$ !== void 0 && (i.data = $);
|
|
8132
8132
|
const M = Z(e.series);
|
|
8133
|
-
i instanceof
|
|
8133
|
+
i instanceof Be && Gt({
|
|
8134
8134
|
data: s,
|
|
8135
8135
|
htmlContainer: i.htmlContainer,
|
|
8136
8136
|
chartId: i.id,
|
|
@@ -8221,7 +8221,7 @@ function qx(t) {
|
|
|
8221
8221
|
errorStrings: c,
|
|
8222
8222
|
dataInfo: n
|
|
8223
8223
|
});
|
|
8224
|
-
return ae(f.uid, { config:
|
|
8224
|
+
return ae(f.uid, { config: Fe(i) }), gf(f), sy(f, c), ry(f, c), { chart: f, chartElements: C };
|
|
8225
8225
|
}
|
|
8226
8226
|
function Zx(t) {
|
|
8227
8227
|
const {
|
|
@@ -8234,7 +8234,7 @@ function Zx(t) {
|
|
|
8234
8234
|
t9nStrings: { errorStrings: r, utilsStrings: l, amChartsStrings: c },
|
|
8235
8235
|
options: u,
|
|
8236
8236
|
globalOptions: d
|
|
8237
|
-
} = t, f = ur(e,
|
|
8237
|
+
} = t, f = ur(e, Be);
|
|
8238
8238
|
f.id = i?.id ?? f.uid;
|
|
8239
8239
|
const g = wd(f.htmlContainer);
|
|
8240
8240
|
il({ chart: f, localeInfo: g, chartLocale: c }), f.radius = ht(A.pieChart.chartRadius);
|
|
@@ -8251,7 +8251,7 @@ function Zx(t) {
|
|
|
8251
8251
|
errorStrings: r
|
|
8252
8252
|
});
|
|
8253
8253
|
return ae(f.uid, {
|
|
8254
|
-
config:
|
|
8254
|
+
config: Fe(i),
|
|
8255
8255
|
queryObject: a,
|
|
8256
8256
|
filterBySelection: u?.filterBySelection
|
|
8257
8257
|
}), zx(f, r), { chart: f, chartElements: h };
|
|
@@ -8281,7 +8281,7 @@ function Kx(t) {
|
|
|
8281
8281
|
utilsStrings: s,
|
|
8282
8282
|
errorStrings: n
|
|
8283
8283
|
});
|
|
8284
|
-
return ae(u.uid, { config:
|
|
8284
|
+
return ae(u.uid, { config: Fe(i), queryObject: a }), gf(u), e?.ownerDocument.addEventListener("visibilitychange", () => {
|
|
8285
8285
|
const S = e.ownerDocument.hidden;
|
|
8286
8286
|
u && !S && _C(i?.axes?.[0]) && (u.svgContainer?.measure(), u.invalidateData());
|
|
8287
8287
|
}), { chart: u, chartElements: p };
|
|
@@ -8300,7 +8300,7 @@ function Qx(t) {
|
|
|
8300
8300
|
utilsStrings: d,
|
|
8301
8301
|
errorStrings: f
|
|
8302
8302
|
} = t, { guideTooltipFormatter: g } = r ?? {}, h = O(i.uid, "config"), b = h?.series, p = e.series, S = W(p), C = Dt({ config: e });
|
|
8303
|
-
ae(i.uid, { config:
|
|
8303
|
+
ae(i.uid, { config: Fe(e), isRotated: C }), ae(i.uid, { filterBySelection: r?.filterBySelection }), Un({ chart: i, actionMode: r?.actionMode, cursorRange: r?.cursorRange });
|
|
8304
8304
|
const { xOrYChanged: x, layerChanged: v } = n?.common ?? {};
|
|
8305
8305
|
let { numberOfSeriesChanged: F } = n?.common ?? {};
|
|
8306
8306
|
const T = Od(h, e), k = Md(h, e), I = Ag(h, e), D = Tg(h, e), R = JSON.stringify(Jo(b)) !== JSON.stringify(Jo(p));
|
|
@@ -8388,7 +8388,7 @@ function Qx(t) {
|
|
|
8388
8388
|
utilsStrings: d,
|
|
8389
8389
|
errorStrings: f
|
|
8390
8390
|
}), _ && (i.validateData(), S === y.BoxPlotSeries && i.series.each((Ce) => {
|
|
8391
|
-
Ce instanceof
|
|
8391
|
+
Ce instanceof ye && !(Ce instanceof Ft) && Ce.id.includes(ge.Outliers) && Ce.validateData();
|
|
8392
8392
|
})), Xn(a.headerElements, { title: e.title, subtitle: e.subtitle }), Yn(a.footerElements, e.footer), Kr({
|
|
8393
8393
|
legendElements: a.legendElements,
|
|
8394
8394
|
seriesConfig: e.series,
|
|
@@ -8415,7 +8415,7 @@ function Jx(t) {
|
|
|
8415
8415
|
utilsStrings: c,
|
|
8416
8416
|
errorStrings: u
|
|
8417
8417
|
} = t, d = O(e.uid, "config"), f = d?.series, g = o?.series, h = kn({ oldConfig: d, newConfig: o, dataWasUpdated: a }), b = Hr(f, g), { count: p, data: S, queryConfig: C } = l ?? {}, x = jt(S);
|
|
8418
|
-
ae(e.uid, { filterBySelection: r?.filterBySelection, config:
|
|
8418
|
+
ae(e.uid, { filterBySelection: r?.filterBySelection, config: Fe(o) });
|
|
8419
8419
|
const v = x !== void 0 && (e.data.length !== x.length || lu(e.data, x));
|
|
8420
8420
|
v && (ae(e.uid, { elementCount: p, queryConfig: C }), e.data = x), (h || b) && e.validateData(), Gt({
|
|
8421
8421
|
data: n,
|
|
@@ -8483,7 +8483,7 @@ function ev(t) {
|
|
|
8483
8483
|
e.innerRadius = ht(S), e.startAngle = C, e.endAngle = x, Xn(i.headerElements, {
|
|
8484
8484
|
title: a.title,
|
|
8485
8485
|
subtitle: a.subtitle
|
|
8486
|
-
}), Yn(i.footerElements, a.footer), Gn(e, a.background), ae(e.uid, { config:
|
|
8486
|
+
}), Yn(i.footerElements, a.footer), Gn(e, a.background), ae(e.uid, { config: Fe(a) });
|
|
8487
8487
|
}
|
|
8488
8488
|
function tv(t) {
|
|
8489
8489
|
const {
|
|
@@ -8677,7 +8677,7 @@ function iv(t) {
|
|
|
8677
8677
|
}), vc(p);
|
|
8678
8678
|
}
|
|
8679
8679
|
async function F(k) {
|
|
8680
|
-
if (Bt(p) && (p instanceof me || p instanceof
|
|
8680
|
+
if (Bt(p) && (p instanceof me || p instanceof Be)) {
|
|
8681
8681
|
const I = O(p.uid, "actionMode");
|
|
8682
8682
|
I !== J.MonoSelection && I !== J.None && await ly(p, k);
|
|
8683
8683
|
}
|
|
@@ -8798,7 +8798,7 @@ function Yt(t, e) {
|
|
|
8798
8798
|
function uv(t, e) {
|
|
8799
8799
|
ma(t, e);
|
|
8800
8800
|
}
|
|
8801
|
-
function
|
|
8801
|
+
function Pe(t, e) {
|
|
8802
8802
|
return ga(t, e);
|
|
8803
8803
|
}
|
|
8804
8804
|
function Fa(t, e) {
|
|
@@ -8858,7 +8858,7 @@ function bf(t, e) {
|
|
|
8858
8858
|
const i = W(t.series);
|
|
8859
8859
|
let a = !1;
|
|
8860
8860
|
switch (!0) {
|
|
8861
|
-
case e instanceof
|
|
8861
|
+
case e instanceof Se:
|
|
8862
8862
|
a = e.columns.length === e.dataItems.length;
|
|
8863
8863
|
break;
|
|
8864
8864
|
case (!(e instanceof ra) && e instanceof se):
|
|
@@ -9074,10 +9074,10 @@ function vf(t, e) {
|
|
|
9074
9074
|
let i = de;
|
|
9075
9075
|
switch (t ?? e) {
|
|
9076
9076
|
case "right":
|
|
9077
|
-
i =
|
|
9077
|
+
i = be;
|
|
9078
9078
|
break;
|
|
9079
9079
|
case "left":
|
|
9080
|
-
i =
|
|
9080
|
+
i = Me;
|
|
9081
9081
|
break;
|
|
9082
9082
|
}
|
|
9083
9083
|
return i;
|
|
@@ -9086,10 +9086,10 @@ function Lf(t, e) {
|
|
|
9086
9086
|
let i = de;
|
|
9087
9087
|
switch (t ?? e) {
|
|
9088
9088
|
case "top":
|
|
9089
|
-
i =
|
|
9089
|
+
i = Me;
|
|
9090
9090
|
break;
|
|
9091
9091
|
case "bottom":
|
|
9092
|
-
i =
|
|
9092
|
+
i = be;
|
|
9093
9093
|
break;
|
|
9094
9094
|
}
|
|
9095
9095
|
return i;
|
|
@@ -9098,7 +9098,7 @@ function Iv(t) {
|
|
|
9098
9098
|
const { angle: e, mappedHAlignment: i, mappedVAlignment: a, isGuideLabel: o } = t;
|
|
9099
9099
|
let n = i, s = a, r = i;
|
|
9100
9100
|
const l = a;
|
|
9101
|
-
return (Math.abs(e) === 270 || Math.abs(e) === 90) && (o || (r = void 0, s = void 0), l ===
|
|
9101
|
+
return (Math.abs(e) === 270 || Math.abs(e) === 90) && (o || (r = void 0, s = void 0), l === Me ? n = be : l === be ? n = Me : l === de && (n = de)), { align: n, valign: s, horizontalCenter: r, verticalCenter: l };
|
|
9102
9102
|
}
|
|
9103
9103
|
function rl(t) {
|
|
9104
9104
|
const {
|
|
@@ -9159,7 +9159,7 @@ function Rv(t) {
|
|
|
9159
9159
|
}
|
|
9160
9160
|
function wv(t) {
|
|
9161
9161
|
const e = t.dataItem?.component;
|
|
9162
|
-
e instanceof se ? (e.uid !== void 0 ? re(e.uid, "bulletTemplate") : void 0)?.adapters?.remove?.("fill") : e instanceof
|
|
9162
|
+
e instanceof se ? (e.uid !== void 0 ? re(e.uid, "bulletTemplate") : void 0)?.adapters?.remove?.("fill") : e instanceof Se ? e.columns?.template?.adapters?.remove?.("fill") : e instanceof et && e.slices?.template?.adapters?.remove?.("fill");
|
|
9163
9163
|
}
|
|
9164
9164
|
function Ff(t) {
|
|
9165
9165
|
const { element: e, fill: i, fillOpacity: a, pattern: o, chartBackgroundFill: n } = t, s = e.get("tooltip");
|
|
@@ -9308,7 +9308,7 @@ function Ro(t) {
|
|
|
9308
9308
|
}
|
|
9309
9309
|
function Tf(t) {
|
|
9310
9310
|
let e = !1, i;
|
|
9311
|
-
if (t.target.dataItem?.component instanceof Da ? { chart: i } = t.target.dataItem.component : t.target.dataItem?.component instanceof
|
|
9311
|
+
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 qd || t.target instanceof Nr) && ({ chart: i } = t.target), i instanceof le || i instanceof Kt) {
|
|
9312
9312
|
const a = w(i.uid, "actionMode");
|
|
9313
9313
|
if (a !== void 0) {
|
|
9314
9314
|
const { originalEvent: o } = t;
|
|
@@ -9414,7 +9414,7 @@ function Dv(t) {
|
|
|
9414
9414
|
let s;
|
|
9415
9415
|
const { chart: r } = a, l = r?.uid !== void 0 ? w(r.uid, "rtl") : !1, c = $t(l ?? !1);
|
|
9416
9416
|
return n === !1 ? s = (u, d, f, g) => "" : s = (u, d, f, g) => {
|
|
9417
|
-
const h =
|
|
9417
|
+
const h = $e(o, i.x), b = Te(e?.[0].title?.content?.text) ? h : e?.[0].title?.content?.text, p = $e(o, i.y), S = Te(e?.[1]?.title?.content?.text) ? p : e?.[1]?.title?.content?.text, C = re(
|
|
9418
9418
|
a.uid,
|
|
9419
9419
|
"tooltipValueXNumberFormatCallback"
|
|
9420
9420
|
), x = C ? C(u) : u, v = re(
|
|
@@ -9424,12 +9424,12 @@ function Dv(t) {
|
|
|
9424
9424
|
let T = `[bold]${b}${c} [/]${x}
|
|
9425
9425
|
[bold]${S}${c} [/]${F}`;
|
|
9426
9426
|
if (f !== void 0 && i.sizePolicy?.field !== void 0) {
|
|
9427
|
-
const k =
|
|
9427
|
+
const k = $e(o, i.sizePolicy?.field), I = v ? v(f) : f;
|
|
9428
9428
|
T += `
|
|
9429
9429
|
[bold]${k}${c} [/]${I}`;
|
|
9430
9430
|
}
|
|
9431
9431
|
return i.additionalTooltipFields?.forEach((k) => {
|
|
9432
|
-
const I =
|
|
9432
|
+
const I = $e(o, k), D = o?.find((M) => M.name === k), R = g?.[k];
|
|
9433
9433
|
let $ = "";
|
|
9434
9434
|
if (R != null && R !== void 0 && D)
|
|
9435
9435
|
if ($g(D) && typeof R == "number")
|
|
@@ -9532,7 +9532,7 @@ function ll(t) {
|
|
|
9532
9532
|
break;
|
|
9533
9533
|
}
|
|
9534
9534
|
case te.Stacked100: {
|
|
9535
|
-
e.setAll({ stacked: !0, baseAxis: l }), a === !0 ? (e.setAll({ valueXShow: "valueXTotalPercent" }), s instanceof
|
|
9535
|
+
e.setAll({ stacked: !0, baseAxis: l }), a === !0 ? (e.setAll({ valueXShow: "valueXTotalPercent" }), s instanceof he && s.set("calculateTotals", !0)) : (e.setAll({ valueYShow: "valueYTotalPercent" }), r instanceof he && r.set("calculateTotals", !0));
|
|
9536
9536
|
break;
|
|
9537
9537
|
}
|
|
9538
9538
|
case te.Side:
|
|
@@ -9563,7 +9563,7 @@ function $v(t) {
|
|
|
9563
9563
|
function jn(t, e) {
|
|
9564
9564
|
const { series: i } = e, a = W(i);
|
|
9565
9565
|
switch (!0) {
|
|
9566
|
-
case t instanceof
|
|
9566
|
+
case t instanceof Se:
|
|
9567
9567
|
t.columns.template.setAll({ hoverOnFocus: !0 }), a === y.HeatSeries ? t.columns.template.set("ariaLabel", Ev()) : t.columns.template.set("ariaLabel", Vi());
|
|
9568
9568
|
break;
|
|
9569
9569
|
case t instanceof et:
|
|
@@ -9585,7 +9585,7 @@ function wf(t) {
|
|
|
9585
9585
|
let e = 0;
|
|
9586
9586
|
const i = [];
|
|
9587
9587
|
t.series.each((a) => {
|
|
9588
|
-
if (e += a.dataItems.length, a instanceof
|
|
9588
|
+
if (e += a.dataItems.length, a instanceof Se)
|
|
9589
9589
|
i.push(a.columns.template);
|
|
9590
9590
|
else if (a instanceof se) {
|
|
9591
9591
|
const o = re(a.uid, "bulletTemplate");
|
|
@@ -9691,7 +9691,7 @@ function Hv(t) {
|
|
|
9691
9691
|
let r;
|
|
9692
9692
|
const l = w(a.chart?.uid ?? 0, "rtl") ?? !1, c = $t(l);
|
|
9693
9693
|
return s === !1 ? r = (u, d, f) => "" : r = (u, d, f) => {
|
|
9694
|
-
const g =
|
|
9694
|
+
const g = $e(o, i.x), h = $a(g, e?.[0].title?.content?.text), b = $a(n?.statistics.count ?? "", e?.[1]?.title?.content?.text ?? ""), p = re(
|
|
9695
9695
|
a.uid,
|
|
9696
9696
|
"tooltipValueXNumberFormatCallback"
|
|
9697
9697
|
), S = re(
|
|
@@ -9885,7 +9885,7 @@ function jv(t) {
|
|
|
9885
9885
|
let p = a.statistics.count;
|
|
9886
9886
|
h !== na(b).idField && (p = Ur({
|
|
9887
9887
|
config: f,
|
|
9888
|
-
fieldName:
|
|
9888
|
+
fieldName: $e(o, i.query?.outStatistics?.[0].onStatisticField ?? ""),
|
|
9889
9889
|
utilsStrings: a
|
|
9890
9890
|
}));
|
|
9891
9891
|
const S = w(e.chart?.uid ?? 0, "formatLocale");
|
|
@@ -10210,7 +10210,7 @@ function iL(t) {
|
|
|
10210
10210
|
value: r,
|
|
10211
10211
|
valueFormat: n ?? i,
|
|
10212
10212
|
formatLocale: g
|
|
10213
|
-
})) : typeof r == "number" &&
|
|
10213
|
+
})) : typeof r == "number" && Oe(i) ? f = Ba({
|
|
10214
10214
|
root: d,
|
|
10215
10215
|
value: r,
|
|
10216
10216
|
valueFormat: o ?? i,
|
|
@@ -10228,7 +10228,7 @@ function aL(t) {
|
|
|
10228
10228
|
dataTooltipPercentFormat: r
|
|
10229
10229
|
} = t, l = i.chart?.uid ?? 0, { root: c } = i;
|
|
10230
10230
|
let u = s;
|
|
10231
|
-
u === void 0 && (
|
|
10231
|
+
u === void 0 && (Oe(n) && n ? (u = n, e && (u.intlOptions.style = "decimal")) : u = Dr());
|
|
10232
10232
|
const d = w(l, "formatLocale"), f = a !== void 0 ? Ba({
|
|
10233
10233
|
root: c,
|
|
10234
10234
|
value: a,
|
|
@@ -10255,7 +10255,7 @@ function oL(t) {
|
|
|
10255
10255
|
if (g !== void 0) {
|
|
10256
10256
|
const { dataTooltipVisible: h } = n, b = o instanceof se ? n.markerVisible : void 0;
|
|
10257
10257
|
if (h !== !1 && b !== !1) {
|
|
10258
|
-
const p = g.axes, S = p[0].valueFormat, C = p[1].valueFormat, x = i?.find((N) => N.name === n.x)?.type === wn.TimeOnly, v = Z(g.series), F = st(g) === te.Stacked100, T = it(a), k = na(T).idField, I =
|
|
10258
|
+
const p = g.axes, S = p[0].valueFormat, C = p[1].valueFormat, x = i?.find((N) => N.name === n.x)?.type === wn.TimeOnly, v = Z(g.series), F = st(g) === te.Stacked100, T = it(a), k = na(T).idField, I = $e(i, n.x), D = $a(I, p[0].title?.content.text), R = Du({
|
|
10259
10259
|
config: g,
|
|
10260
10260
|
fieldList: i,
|
|
10261
10261
|
objectIdField: k,
|
|
@@ -10289,7 +10289,7 @@ function oL(t) {
|
|
|
10289
10289
|
ee.pop();
|
|
10290
10290
|
const Le = Ur({
|
|
10291
10291
|
config: g,
|
|
10292
|
-
fieldName:
|
|
10292
|
+
fieldName: $e(i, _ ?? ""),
|
|
10293
10293
|
utilsStrings: e
|
|
10294
10294
|
});
|
|
10295
10295
|
ee.push(`[bold]${Le}${M} [/]${j}`);
|
|
@@ -10304,7 +10304,7 @@ function oL(t) {
|
|
|
10304
10304
|
case V.BarAndLineSplitBy:
|
|
10305
10305
|
{
|
|
10306
10306
|
const Le = Qt(n.query?.where, !1), Ce = Sd({
|
|
10307
|
-
value:
|
|
10307
|
+
value: $e(i, Le),
|
|
10308
10308
|
escape: !0
|
|
10309
10309
|
});
|
|
10310
10310
|
ee.push(`[bold]${Ce}${M} [/]${P}`), (v === V.BarAndLineSplitBy || "y" in g.series[0] && Le !== g.series[0].y) && ee.push(`[bold]${R}${M} [/]${j}`);
|
|
@@ -10328,7 +10328,7 @@ function ul(t) {
|
|
|
10328
10328
|
function nL(t) {
|
|
10329
10329
|
const { chartType: e, series: i, tooltipFormatter: a } = t;
|
|
10330
10330
|
switch (!0) {
|
|
10331
|
-
case (e === y.HistogramSeries && i instanceof
|
|
10331
|
+
case (e === y.HistogramSeries && i instanceof Se): {
|
|
10332
10332
|
Mf(i, a);
|
|
10333
10333
|
break;
|
|
10334
10334
|
}
|
|
@@ -10341,11 +10341,11 @@ function nL(t) {
|
|
|
10341
10341
|
Ge(i.uid, { tooltipCallback: n });
|
|
10342
10342
|
break;
|
|
10343
10343
|
}
|
|
10344
|
-
case (e === y.HeatSeries && i instanceof
|
|
10344
|
+
case (e === y.HeatSeries && i instanceof Se): {
|
|
10345
10345
|
Bf(i, a);
|
|
10346
10346
|
break;
|
|
10347
10347
|
}
|
|
10348
|
-
case ((e === y.ComboLineAndBarSeries || e === y.BarSeries) && i instanceof
|
|
10348
|
+
case ((e === y.ComboLineAndBarSeries || e === y.BarSeries) && i instanceof Se): {
|
|
10349
10349
|
Of(i, a);
|
|
10350
10350
|
break;
|
|
10351
10351
|
}
|
|
@@ -10588,7 +10588,7 @@ function hL(t) {
|
|
|
10588
10588
|
selected: !1,
|
|
10589
10589
|
backToDefaultState: !0
|
|
10590
10590
|
});
|
|
10591
|
-
}) : e instanceof
|
|
10591
|
+
}) : e instanceof Se ? e.columns.each((i) => {
|
|
10592
10592
|
we({
|
|
10593
10593
|
element: i,
|
|
10594
10594
|
selected: !1,
|
|
@@ -10609,7 +10609,7 @@ function ji(t) {
|
|
|
10609
10609
|
pendingSelectionQueries: !1
|
|
10610
10610
|
}), sl(e) && hL(e), w(e.uid, "options")?.selectionData?.selectionItems?.[0] && _a({
|
|
10611
10611
|
data: {
|
|
10612
|
-
selectionSource: i ??
|
|
10612
|
+
selectionSource: i ?? pe.ClearSelection
|
|
10613
10613
|
},
|
|
10614
10614
|
htmlContainer: e.root.dom
|
|
10615
10615
|
});
|
|
@@ -10627,7 +10627,7 @@ function fl(t) {
|
|
|
10627
10627
|
case t instanceof et:
|
|
10628
10628
|
e = t.slices.values;
|
|
10629
10629
|
break;
|
|
10630
|
-
case t instanceof
|
|
10630
|
+
case t instanceof Se:
|
|
10631
10631
|
const { chart: i } = t;
|
|
10632
10632
|
if (i) {
|
|
10633
10633
|
const a = w(i.uid, "config");
|
|
@@ -10849,14 +10849,14 @@ function Zn(t) {
|
|
|
10849
10849
|
queryObject: a
|
|
10850
10850
|
}) : D ? T = bL({ chart: e, selectionIndexes: p, queryObject: a }) : yL({ chart: e, chartConfig: i, selectionItems: S, options: r, layerOidField: F }), (I || D) && (!gt(S, T) || !gt(k, p)))
|
|
10851
10851
|
if (!T?.[0])
|
|
10852
|
-
ji({ chart: e, selectionSource:
|
|
10852
|
+
ji({ chart: e, selectionSource: pe.ProgrammaticSelection });
|
|
10853
10853
|
else {
|
|
10854
10854
|
T = Array.from(new Set(T?.map(($) => JSON.stringify($)))).map(
|
|
10855
10855
|
($) => JSON.parse($)
|
|
10856
10856
|
);
|
|
10857
10857
|
const R = {
|
|
10858
10858
|
selectionItems: T,
|
|
10859
|
-
selectionSource:
|
|
10859
|
+
selectionSource: pe.ProgrammaticSelection
|
|
10860
10860
|
};
|
|
10861
10861
|
u === !0 && k && (R.selectionIndexes = k), d !== !1 && C && (R.selectionOIDs = C), x?.[0] && (R.selectionFilters = x), _a({
|
|
10862
10862
|
data: R,
|
|
@@ -10881,7 +10881,7 @@ async function Oo(t) {
|
|
|
10881
10881
|
if (e.series.each((M, N) => {
|
|
10882
10882
|
const { seriesConfig: P } = Za(M, o), X = P?.query?.where ?? "", G = P?.type === y.BoxPlotSeries ? P.y.toString() : ha(M);
|
|
10883
10883
|
let Y;
|
|
10884
|
-
M instanceof se ? Y = M.dataItems : M instanceof
|
|
10884
|
+
M instanceof se ? Y = M.dataItems : M instanceof Se ? Y = M.columns.values : M instanceof et && (Y = M.slices.values), Y?.forEach((U, _) => {
|
|
10885
10885
|
const j = U instanceof Is || U instanceof _l ? U : U.bullets?.[0]?.get("sprite");
|
|
10886
10886
|
if (j !== void 0 && Yt(j.uid, "selected") === !0) {
|
|
10887
10887
|
$ += 1;
|
|
@@ -10996,7 +10996,7 @@ async function Oc(t) {
|
|
|
10996
10996
|
const n = o instanceof le ? o.get("cursor") : void 0;
|
|
10997
10997
|
if (!Ef(n) && ml(o.uid)) {
|
|
10998
10998
|
const s = e.target, r = zf(o.uid) || kf(e, i);
|
|
10999
|
-
s.dataItem?.dataContext?.[vo] ? ji({ chart: o, selectionSource:
|
|
10999
|
+
s.dataItem?.dataContext?.[vo] ? ji({ chart: o, selectionSource: pe.SelectionByClick }) : (we({
|
|
11000
11000
|
element: s,
|
|
11001
11001
|
selected: Yt(s.uid, "selected") !== !0
|
|
11002
11002
|
// switching the bullet state,
|
|
@@ -11004,14 +11004,14 @@ async function Oc(t) {
|
|
|
11004
11004
|
l instanceof se ? l.dataItems.forEach((c) => {
|
|
11005
11005
|
const u = c.bullets?.[0]?.get("sprite");
|
|
11006
11006
|
u !== s && we({ element: u, selected: !1 });
|
|
11007
|
-
}) : l instanceof
|
|
11007
|
+
}) : l instanceof Se ? l.columns.each((c) => {
|
|
11008
11008
|
c !== s && we({ element: c, selected: !1 });
|
|
11009
11009
|
}) : l instanceof et && l.slices.each((c) => {
|
|
11010
11010
|
c !== s && we({ element: c, selected: !1 });
|
|
11011
11011
|
});
|
|
11012
11012
|
}), await Oo({
|
|
11013
11013
|
chart: o,
|
|
11014
|
-
selectionSource:
|
|
11014
|
+
selectionSource: pe.SelectionByClick,
|
|
11015
11015
|
errorStrings: a
|
|
11016
11016
|
}));
|
|
11017
11017
|
}
|
|
@@ -11030,13 +11030,13 @@ function Mc(t, e) {
|
|
|
11030
11030
|
if (t instanceof Nr) {
|
|
11031
11031
|
const o = e.get("renderer") instanceof Jt, n = t.getPrivate(o ? "downPositionX" : "downPositionY"), s = t.getPrivate(o ? "positionX" : "positionY");
|
|
11032
11032
|
if (n !== void 0 && s !== void 0)
|
|
11033
|
-
if (e instanceof
|
|
11033
|
+
if (e instanceof Ee)
|
|
11034
11034
|
i = e.axisPositionToIndex(e.toAxisPosition(n)), a = e.axisPositionToIndex(e.toAxisPosition(s));
|
|
11035
|
-
else if (e instanceof
|
|
11035
|
+
else if (e instanceof De) {
|
|
11036
11036
|
i = e.positionToDate(e.toAxisPosition(n)).getTime(), a = e.positionToDate(e.toAxisPosition(s)).getTime();
|
|
11037
11037
|
const r = e.getPrivate("baseInterval"), l = Vh.getDuration(r.timeUnit, r.count) * (e.chart?.series.getIndex(0)?.get("locationX") ?? 1);
|
|
11038
11038
|
i -= l, a -= l;
|
|
11039
|
-
} else e instanceof
|
|
11039
|
+
} else e instanceof he && (i = e.positionToValue(e.toAxisPosition(n)), a = e.positionToValue(e.toAxisPosition(s)));
|
|
11040
11040
|
} else {
|
|
11041
11041
|
const o = e.get("renderer") instanceof ut, n = t.getPrivate(o ? "downPositionX" : "downPositionY"), s = t.getPrivate(o ? "positionX" : "positionY");
|
|
11042
11042
|
n !== void 0 && s !== void 0 && (i = n * (o ? e.width() : e.height()), a = s * (o ? e.width() : e.height()));
|
|
@@ -11090,7 +11090,7 @@ function AL(t) {
|
|
|
11090
11090
|
const r = n.dataContext;
|
|
11091
11091
|
let l = n.get("valueX");
|
|
11092
11092
|
const c = n.get("valueY");
|
|
11093
|
-
if (e instanceof
|
|
11093
|
+
if (e instanceof Ee) {
|
|
11094
11094
|
const g = r?.[L.xAxisField];
|
|
11095
11095
|
typeof g == "string" && (l = e.categoryToIndex(g));
|
|
11096
11096
|
}
|
|
@@ -11118,10 +11118,10 @@ function kL(t, e) {
|
|
|
11118
11118
|
if (c && u) {
|
|
11119
11119
|
const d = w(t.uid, "config"), f = W(d?.series), g = t.get("cursor"), h = TL({ cursor: g, xAxis: c, yAxis: u }), b = !zf(t.uid) && Tf(a);
|
|
11120
11120
|
t.series.each((p) => {
|
|
11121
|
-
!Ui(p) && !Qn(p) && (p instanceof
|
|
11121
|
+
!Ui(p) && !Qn(p) && (p instanceof Se ? LL({ series: p, cursorBounds: h, multiSelect: b }) : p instanceof se && (f === y.RadarSeries ? AL({ xAxis: c, series: p, cursorBounds: h, multiSelect: b }) : FL({ series: p, cursorBounds: h, multiSelect: b })));
|
|
11122
11122
|
}), oe(g.selection, !1), await Oo({
|
|
11123
11123
|
chart: t,
|
|
11124
|
-
selectionSource:
|
|
11124
|
+
selectionSource: pe.SelectionByRange,
|
|
11125
11125
|
errorStrings: e
|
|
11126
11126
|
});
|
|
11127
11127
|
}
|
|
@@ -11159,7 +11159,7 @@ function $c(t) {
|
|
|
11159
11159
|
function Mt(t) {
|
|
11160
11160
|
const { label: e, labelConfig: i, defaults: a, skipSettingText: o, skipSettingXAndY: n, skipSettingAbsoluteXY: s } = t, r = e instanceof nt ? e.root : e.entities[0]?.root, l = i?.visible ?? !0;
|
|
11161
11161
|
if (e !== void 0 && !e.isDisposed() && i !== void 0) {
|
|
11162
|
-
const c = e instanceof nt &&
|
|
11162
|
+
const c = e instanceof nt && Pe(e.uid, "isGuide"), u = Rv({ root: r, input: i.content, isGuideLabel: c, defaults: a });
|
|
11163
11163
|
e.setAll({
|
|
11164
11164
|
fill: u.fill,
|
|
11165
11165
|
fontFamily: u.fontFamily,
|
|
@@ -11311,8 +11311,8 @@ function ML(t) {
|
|
|
11311
11311
|
sprite: nt.new(e.root, {
|
|
11312
11312
|
text: s ? "{valueX}" : "{valueY}",
|
|
11313
11313
|
populateText: !0,
|
|
11314
|
-
centerY:
|
|
11315
|
-
centerX: c ? de :
|
|
11314
|
+
centerY: be,
|
|
11315
|
+
centerX: c ? de : Me,
|
|
11316
11316
|
// remove padding so if they fit in the label, it shows
|
|
11317
11317
|
paddingBottom: 0,
|
|
11318
11318
|
paddingTop: 0,
|
|
@@ -11381,11 +11381,11 @@ function BL(t) {
|
|
|
11381
11381
|
let r = n ?? "";
|
|
11382
11382
|
const l = s.dataItem, c = re(
|
|
11383
11383
|
i.uid,
|
|
11384
|
-
i instanceof
|
|
11384
|
+
i instanceof Se ? "barSeriesDataLabelFormatter" : "lineSeriesDataLabelFormatter"
|
|
11385
11385
|
);
|
|
11386
11386
|
if (c !== void 0 && i.chart && l) {
|
|
11387
11387
|
const u = w(i.chart.uid, "config"), d = Je(u), f = d ? l.get("valueX") : l.get("valueY"), g = d ? l.get("valueXTotalPercent") : l.get("valueYTotalPercent"), h = st(u);
|
|
11388
|
-
i instanceof
|
|
11388
|
+
i instanceof Se && h !== te.Side && Number(f) === 0 ? r = "" : r = c(
|
|
11389
11389
|
st(u) === te.Stacked100 ? g : f
|
|
11390
11390
|
);
|
|
11391
11391
|
}
|
|
@@ -11575,7 +11575,7 @@ function VL(t) {
|
|
|
11575
11575
|
sprite: nt.new(e.root, {
|
|
11576
11576
|
populateText: !0,
|
|
11577
11577
|
oversizedBehavior: "hide",
|
|
11578
|
-
centerY:
|
|
11578
|
+
centerY: be,
|
|
11579
11579
|
centerX: de,
|
|
11580
11580
|
paddingBottom: 0,
|
|
11581
11581
|
paddingTop: 0,
|
|
@@ -11705,7 +11705,7 @@ function Eo(t) {
|
|
|
11705
11705
|
return o === Ie.Normal && qa(s, n.overlays.normal), Ge(s.uid, { isOverlay: !0, type: o }), s.set("connect", !1), s;
|
|
11706
11706
|
}
|
|
11707
11707
|
function GL(t) {
|
|
11708
|
-
const { root: e, seriesConfig: i, xAxis: a, yAxis: o, options: n, chartConfig: s, errorStrings: r } = t, { id: l, name: c } = i, u =
|
|
11708
|
+
const { root: e, seriesConfig: i, xAxis: a, yAxis: o, options: n, chartConfig: s, errorStrings: r } = t, { id: l, name: c } = i, u = Se.new(e, {
|
|
11709
11709
|
id: l,
|
|
11710
11710
|
name: c,
|
|
11711
11711
|
xAxis: a,
|
|
@@ -11715,7 +11715,7 @@ function GL(t) {
|
|
|
11715
11715
|
maskBullets: !1
|
|
11716
11716
|
});
|
|
11717
11717
|
return ze(u.columns.template, n?.selectionTheme), ei({ element: u.columns.template, series: u, errorStrings: r }), u.columns.template.setAll({
|
|
11718
|
-
width:
|
|
11718
|
+
width: be
|
|
11719
11719
|
}), Qf({
|
|
11720
11720
|
series: u,
|
|
11721
11721
|
seriesConfig: i,
|
|
@@ -11924,7 +11924,7 @@ function qL(t) {
|
|
|
11924
11924
|
utilsStrings: o
|
|
11925
11925
|
});
|
|
11926
11926
|
}
|
|
11927
|
-
} else f instanceof
|
|
11927
|
+
} else f instanceof Se && (jL({ ...t, series: f }), Qf({
|
|
11928
11928
|
series: f,
|
|
11929
11929
|
seriesConfig: i,
|
|
11930
11930
|
seriesType: y.HistogramSeries,
|
|
@@ -11942,10 +11942,10 @@ function qL(t) {
|
|
|
11942
11942
|
}
|
|
11943
11943
|
}
|
|
11944
11944
|
function ZL(t) {
|
|
11945
|
-
return t.component instanceof
|
|
11945
|
+
return t.component instanceof Ee;
|
|
11946
11946
|
}
|
|
11947
11947
|
function Jf(t) {
|
|
11948
|
-
return t.component instanceof se || t.component instanceof
|
|
11948
|
+
return t.component instanceof se || t.component instanceof Se;
|
|
11949
11949
|
}
|
|
11950
11950
|
function fn(t, e) {
|
|
11951
11951
|
return t === e || t != null && e != null && String(t) === String(e);
|
|
@@ -11984,7 +11984,7 @@ function e0(t) {
|
|
|
11984
11984
|
const c = fn(mn(l, i), a), u = l.bullets?.[0]?.get("sprite");
|
|
11985
11985
|
c ? (o = !0, Ho(u) || (n = !1)) : Ho(u) && (s = !0);
|
|
11986
11986
|
}
|
|
11987
|
-
}) : r instanceof
|
|
11987
|
+
}) : r instanceof Se && r.dataItems.forEach((l) => {
|
|
11988
11988
|
const c = em(l);
|
|
11989
11989
|
c !== void 0 && !tm(c) && (fn(mn(l, i), a) ? (o = !0, Ho(c) || (n = !1)) : Ho(c) && (s = !0));
|
|
11990
11990
|
}));
|
|
@@ -12030,7 +12030,7 @@ function o0(t, e) {
|
|
|
12030
12030
|
selected: !d
|
|
12031
12031
|
}) : we(f ? { element: p, selected: !1 } : { element: p, selected: b });
|
|
12032
12032
|
}
|
|
12033
|
-
}) : g instanceof
|
|
12033
|
+
}) : g instanceof Se && g.dataItems.forEach((h) => {
|
|
12034
12034
|
const b = em(h);
|
|
12035
12035
|
if (b !== void 0 && !tm(b)) {
|
|
12036
12036
|
const p = fn(mn(h, r), l);
|
|
@@ -12042,7 +12042,7 @@ function o0(t, e) {
|
|
|
12042
12042
|
}));
|
|
12043
12043
|
}), t0(n.get("cursor")), Oo({
|
|
12044
12044
|
chart: n,
|
|
12045
|
-
selectionSource:
|
|
12045
|
+
selectionSource: pe.SelectionByClick,
|
|
12046
12046
|
errorStrings: e
|
|
12047
12047
|
});
|
|
12048
12048
|
}
|
|
@@ -12087,12 +12087,12 @@ function ci(t) {
|
|
|
12087
12087
|
const r = w(e.uid, "options")?.truncateLongTitles === !0 && (a === q.ChartTitle || a === q.ChartSubTitle || a === q.ChartFooter);
|
|
12088
12088
|
if (r || a === q.YAxisTitle) {
|
|
12089
12089
|
const l = Number(i.get("fontSize")) || L.generalFontSize, c = l * 2.4, u = Math.max(1, Math.floor(s / Math.max(l * 0.5, 1)));
|
|
12090
|
-
if (Fa(i.uid, { textTruncationCharsPerLine: u }),
|
|
12090
|
+
if (Fa(i.uid, { textTruncationCharsPerLine: u }), Pe(i.uid, "textTruncationAdapterDisposer") === void 0) {
|
|
12091
12091
|
const d = i.adapters.add(
|
|
12092
12092
|
"text",
|
|
12093
12093
|
(f) => ud({
|
|
12094
12094
|
input: f ?? "",
|
|
12095
|
-
charsPerLine:
|
|
12095
|
+
charsPerLine: Pe(i.uid, "textTruncationCharsPerLine") ?? u
|
|
12096
12096
|
})
|
|
12097
12097
|
);
|
|
12098
12098
|
Fa(i.uid, { textTruncationAdapterDisposer: d });
|
|
@@ -12105,7 +12105,7 @@ function ci(t) {
|
|
|
12105
12105
|
oversizedBehavior: "none"
|
|
12106
12106
|
});
|
|
12107
12107
|
} else
|
|
12108
|
-
(a === q.ChartTitle || a === q.ChartSubTitle || a === q.ChartFooter) && (
|
|
12108
|
+
(a === q.ChartTitle || a === q.ChartSubTitle || a === q.ChartFooter) && (Pe(i.uid, "textTruncationAdapterDisposer")?.dispose(), Fa(i.uid, {
|
|
12109
12109
|
textTruncationAdapterDisposer: void 0,
|
|
12110
12110
|
textTruncationCharsPerLine: void 0
|
|
12111
12111
|
}), i.setAll({ maxHeight: void 0, breakWords: void 0 })), i.setAll({
|
|
@@ -12128,10 +12128,10 @@ function Ys(t) {
|
|
|
12128
12128
|
if (e) {
|
|
12129
12129
|
switch (r) {
|
|
12130
12130
|
case "left":
|
|
12131
|
-
f =
|
|
12131
|
+
f = be;
|
|
12132
12132
|
break;
|
|
12133
12133
|
case "right":
|
|
12134
|
-
f =
|
|
12134
|
+
f = Me;
|
|
12135
12135
|
break;
|
|
12136
12136
|
default:
|
|
12137
12137
|
f = de;
|
|
@@ -12139,13 +12139,13 @@ function Ys(t) {
|
|
|
12139
12139
|
}
|
|
12140
12140
|
switch (l) {
|
|
12141
12141
|
case "bottom":
|
|
12142
|
-
g = i ?
|
|
12142
|
+
g = i ? be : Me, b = 0;
|
|
12143
12143
|
break;
|
|
12144
12144
|
case "middle":
|
|
12145
12145
|
g = de, b = -o / 2;
|
|
12146
12146
|
break;
|
|
12147
12147
|
default:
|
|
12148
|
-
i ? (g =
|
|
12148
|
+
i ? (g = Me, b = -o) : (g = be, b = -o);
|
|
12149
12149
|
break;
|
|
12150
12150
|
}
|
|
12151
12151
|
i || (h = 0);
|
|
@@ -12153,10 +12153,10 @@ function Ys(t) {
|
|
|
12153
12153
|
if (i)
|
|
12154
12154
|
switch (l) {
|
|
12155
12155
|
case "top":
|
|
12156
|
-
d = 1, g =
|
|
12156
|
+
d = 1, g = Me;
|
|
12157
12157
|
break;
|
|
12158
12158
|
case "bottom":
|
|
12159
|
-
d = 0, g =
|
|
12159
|
+
d = 0, g = be;
|
|
12160
12160
|
break;
|
|
12161
12161
|
default:
|
|
12162
12162
|
d = 0.5, g = de;
|
|
@@ -12194,7 +12194,7 @@ function Ys(t) {
|
|
|
12194
12194
|
function Aa(t, e) {
|
|
12195
12195
|
const i = e.get("axisFill"), a = e.get("label");
|
|
12196
12196
|
if (i !== void 0 && a !== void 0) {
|
|
12197
|
-
const o =
|
|
12197
|
+
const o = Pe(a.uid, "guideLabelConfig"), n = Pe(a.uid, "guideType"), s = t.get("renderer") instanceof ut, r = n === K.SFS, l = Math.round(i.width()), c = Math.round(i.height()), u = Math.round(a.height()), d = Math.round(a.width()), { horizontalAlignment: f, verticalAlignment: g, xoffset: h, yoffset: b } = o ?? {}, { location: p, centerX: S, centerY: C, dx: x, dy: v, offsetsReady: F } = Ys({
|
|
12198
12198
|
isHorizontalAxis: s,
|
|
12199
12199
|
isSurfaceGuide: r,
|
|
12200
12200
|
horizontalAlignment: f,
|
|
@@ -12215,7 +12215,7 @@ function r0(t) {
|
|
|
12215
12215
|
const n = i.get("axisFill");
|
|
12216
12216
|
let s = o;
|
|
12217
12217
|
if (n !== void 0) {
|
|
12218
|
-
const r =
|
|
12218
|
+
const r = Pe(a.uid, "guideLabelConfig"), l = Pe(a.uid, "guideType"), c = e.get("renderer") instanceof ut, u = Ys({
|
|
12219
12219
|
isHorizontalAxis: c,
|
|
12220
12220
|
isSurfaceGuide: l === K.SFS,
|
|
12221
12221
|
horizontalAlignment: r?.horizontalAlignment,
|
|
@@ -12234,7 +12234,7 @@ function r0(t) {
|
|
|
12234
12234
|
const n = i.get("axisFill");
|
|
12235
12235
|
let s = o;
|
|
12236
12236
|
if (n !== void 0) {
|
|
12237
|
-
const r =
|
|
12237
|
+
const r = Pe(a.uid, "guideLabelConfig"), l = Pe(a.uid, "guideType"), c = e.get("renderer") instanceof ut, u = Ys({
|
|
12238
12238
|
isHorizontalAxis: c,
|
|
12239
12239
|
isSurfaceGuide: l === K.SFS,
|
|
12240
12240
|
horizontalAlignment: r?.horizontalAlignment,
|
|
@@ -12343,7 +12343,7 @@ function im(t) {
|
|
|
12343
12343
|
let l = `${r}`;
|
|
12344
12344
|
if (s !== void 0 && r !== null && !(r instanceof Date)) {
|
|
12345
12345
|
let c = typeof r == "number" ? r : pr(r, s.get("intlLocales"));
|
|
12346
|
-
o === !0 && i.style === "percent" && (c /= 100), l = s.format(c), n instanceof
|
|
12346
|
+
o === !0 && i.style === "percent" && (c /= 100), l = s.format(c), n instanceof he && n.get("logarithmic") === !0 && (l = u0({
|
|
12347
12347
|
value: c,
|
|
12348
12348
|
formattedValue: l,
|
|
12349
12349
|
intlOptions: i,
|
|
@@ -12394,7 +12394,7 @@ function m0(t) {
|
|
|
12394
12394
|
V.BarAndLineFromFields
|
|
12395
12395
|
].includes(u) && typeof s == "string") {
|
|
12396
12396
|
const g = w(e.uid, "fieldList");
|
|
12397
|
-
s =
|
|
12397
|
+
s = $e(g, s);
|
|
12398
12398
|
}
|
|
12399
12399
|
const { characterLimit: f } = i;
|
|
12400
12400
|
r = s?.toString() ?? "", !Te(r) && r !== L.htmlEmptyContent && (r = Wd({ stringToTruncate: r, characterLimit: f }));
|
|
@@ -12485,7 +12485,7 @@ function Nc(t) {
|
|
|
12485
12485
|
isXAxis: !0,
|
|
12486
12486
|
chartType: a,
|
|
12487
12487
|
valueFormat: i
|
|
12488
|
-
}), n = bt(i) && e instanceof
|
|
12488
|
+
}), n = bt(i) && e instanceof De, s = Oe(i) && e instanceof he && !(e instanceof De), r = o && e instanceof Ee;
|
|
12489
12489
|
return !n && !s && !r;
|
|
12490
12490
|
}
|
|
12491
12491
|
function am(t) {
|
|
@@ -12494,7 +12494,7 @@ function am(t) {
|
|
|
12494
12494
|
const n = w(a, "config"), s = w(a, "rendererFieldNames"), r = W(n?.series), l = Z(n?.series), c = ni(e) ?? o;
|
|
12495
12495
|
if (l === V.BarAndLineFromFields && typeof o == "string") {
|
|
12496
12496
|
const u = w(a, "fieldList");
|
|
12497
|
-
o =
|
|
12497
|
+
o = $e(u, o);
|
|
12498
12498
|
} else r === y.BoxPlotSeries && (l === V.BoxPlotC1MonoField || l === V.BoxPlotC2MultiFields || l === V.BoxPlotC5MonoFieldAndSplitBy || l === V.BoxPlotC6MultiFieldsAndSplitBy) ? o = e?.[Or] : r === y.HistogramSeries ? o = e?.[lo.Start] : (r === y.BarSeries || r === y.LineSeries || r === y.RadarSeries || r === y.ComboLineAndBarSeries) && n !== void 0 ? o = oi({
|
|
12499
12499
|
value: vn(l, n?.series?.[0]),
|
|
12500
12500
|
dataContext: e,
|
|
@@ -12520,14 +12520,14 @@ function p0(t, e) {
|
|
|
12520
12520
|
a.adapters.add(o, (n, s) => {
|
|
12521
12521
|
let r = n;
|
|
12522
12522
|
const l = Ai(t.uid, "labelFormatter");
|
|
12523
|
-
if (!
|
|
12523
|
+
if (!Pe(s.uid, "isGuide") && l !== void 0) {
|
|
12524
12524
|
let u, d;
|
|
12525
12525
|
switch (!0) {
|
|
12526
|
-
case t instanceof
|
|
12527
|
-
case t instanceof
|
|
12526
|
+
case t instanceof De:
|
|
12527
|
+
case t instanceof he:
|
|
12528
12528
|
u = s.dataItem?._settings?.value, d = u;
|
|
12529
12529
|
break;
|
|
12530
|
-
case t instanceof
|
|
12530
|
+
case t instanceof Ee:
|
|
12531
12531
|
{
|
|
12532
12532
|
let f = n;
|
|
12533
12533
|
const g = s.dataItem?.dataContext, h = w(t.chart?.uid ?? Number.NaN, "config");
|
|
@@ -12555,20 +12555,19 @@ function b0(t, e) {
|
|
|
12555
12555
|
if (e === "html") {
|
|
12556
12556
|
const a = i.labels.template;
|
|
12557
12557
|
a.set("html", void 0), a.set("html", L.htmlEmptyContent);
|
|
12558
|
-
} else
|
|
12559
|
-
|
|
12560
|
-
|
|
12561
|
-
});
|
|
12558
|
+
} else t instanceof he && !(t instanceof De) ? t.markDirtyValues() : i.labels.each((a) => {
|
|
12559
|
+
Pe(a.uid, "isGuide") !== !0 && a.text.markDirtyText();
|
|
12560
|
+
});
|
|
12562
12561
|
}
|
|
12563
12562
|
function y0(t) {
|
|
12564
12563
|
const { axis: e, isRotated: i, chartConfig: a } = t, o = e.get("renderer");
|
|
12565
12564
|
if (o === void 0)
|
|
12566
12565
|
return;
|
|
12567
|
-
const n = e instanceof
|
|
12566
|
+
const n = e instanceof Ee || e instanceof De, s = e instanceof he && !(e instanceof De) && i === !0 && qi(o, i);
|
|
12568
12567
|
if (n || s) {
|
|
12569
12568
|
const r = a.orderOptions?.data && "orderBy" in a.orderOptions.data ? a.orderOptions.data.orderBy === Cn.Descending : !1;
|
|
12570
12569
|
let l = i === !0;
|
|
12571
|
-
r && e instanceof
|
|
12570
|
+
r && e instanceof De && (l = !l), o.set("inversed", l);
|
|
12572
12571
|
}
|
|
12573
12572
|
}
|
|
12574
12573
|
function S0(t) {
|
|
@@ -12590,7 +12589,7 @@ function S0(t) {
|
|
|
12590
12589
|
isXAxis: i,
|
|
12591
12590
|
chartType: a,
|
|
12592
12591
|
valueFormat: o
|
|
12593
|
-
}), h = e instanceof
|
|
12592
|
+
}), h = e instanceof he && !(e instanceof De) && Oe(o), b = e instanceof De && bt(o), p = e instanceof Ee && g;
|
|
12594
12593
|
if (!(h || b || p))
|
|
12595
12594
|
Mn("mismatchAxisAndValueFormat", d);
|
|
12596
12595
|
else {
|
|
@@ -12621,9 +12620,9 @@ function S0(t) {
|
|
|
12621
12620
|
labelFormatSignature: {
|
|
12622
12621
|
outputMode: C,
|
|
12623
12622
|
externalAxisLabelFormatter: r,
|
|
12624
|
-
valueFormat: o
|
|
12623
|
+
valueFormat: Fe(o)
|
|
12625
12624
|
}
|
|
12626
|
-
}), !v && (T || C === "html"
|
|
12625
|
+
}), (e instanceof he && !(e instanceof De) && v || !v && (T || C === "html")) && b0(e, C);
|
|
12627
12626
|
}
|
|
12628
12627
|
}
|
|
12629
12628
|
}
|
|
@@ -12656,7 +12655,7 @@ function v0(t) {
|
|
|
12656
12655
|
axisConfigIndex: a,
|
|
12657
12656
|
chartData: e.chart?.series.getIndex(0)?.data.values
|
|
12658
12657
|
});
|
|
12659
|
-
(e instanceof
|
|
12658
|
+
(e instanceof De || e instanceof he) && e.setAll({
|
|
12660
12659
|
logarithmic: n,
|
|
12661
12660
|
// zero values could mess up log calculations
|
|
12662
12661
|
// https://www.amcharts.com/docs/v5/charts/xy-chart/axes/value-axis/#Avoiding_zero_values
|
|
@@ -12666,7 +12665,7 @@ function v0(t) {
|
|
|
12666
12665
|
});
|
|
12667
12666
|
}
|
|
12668
12667
|
function L0(t, e) {
|
|
12669
|
-
if (t instanceof
|
|
12668
|
+
if (t instanceof he) {
|
|
12670
12669
|
const { integerOnlyValues: i, valueFormat: a } = e, o = kd(a) ? a.intlOptions.maximumFractionDigits : void 0;
|
|
12671
12670
|
t.set("maxPrecision", i === !0 || o === 0 ? 0 : Number.NaN);
|
|
12672
12671
|
}
|
|
@@ -12678,10 +12677,10 @@ function om(t, e) {
|
|
|
12678
12677
|
const r = Ai(e.uid, "labelFormatter");
|
|
12679
12678
|
if (!n.isHidden() && r && i) {
|
|
12680
12679
|
const { label: l } = n, c = l.get("text") ?? "";
|
|
12681
|
-
if (e instanceof
|
|
12680
|
+
if (e instanceof he) {
|
|
12682
12681
|
const u = Number.parseFloat(c.replace(/,/gu, ""));
|
|
12683
12682
|
s = r(Number.isNaN(u) ? c : u, o);
|
|
12684
|
-
} else if (e instanceof
|
|
12683
|
+
} else if (e instanceof Ee) {
|
|
12685
12684
|
const u = l.dataItem?.dataContext, d = am({ dataContext: u, defaultValue: o, chartUID: i.uid });
|
|
12686
12685
|
s = r(d.labelValue ?? c, o ?? d.originalLabelValue);
|
|
12687
12686
|
}
|
|
@@ -12695,7 +12694,7 @@ function F0(t) {
|
|
|
12695
12694
|
}
|
|
12696
12695
|
function A0(t) {
|
|
12697
12696
|
const { axis: e, timeIntervalInfo: i, dateBaseInterval: a, xFieldIsTimeOnly: o } = t;
|
|
12698
|
-
if (e instanceof
|
|
12697
|
+
if (e instanceof De) {
|
|
12699
12698
|
let n, s = 1, { size: r, unit: l } = i ?? {};
|
|
12700
12699
|
if (l || ({ size: r, unit: l } = a ?? {}), r && l !== void 0) {
|
|
12701
12700
|
switch (l) {
|
|
@@ -12728,11 +12727,11 @@ function A0(t) {
|
|
|
12728
12727
|
}
|
|
12729
12728
|
function T0(t, e) {
|
|
12730
12729
|
let { buffer: i } = e ?? {};
|
|
12731
|
-
return i ??= L.buffer, t instanceof
|
|
12730
|
+
return i ??= L.buffer, t instanceof he && !(t instanceof De) && !i;
|
|
12732
12731
|
}
|
|
12733
12732
|
function k0(t, e) {
|
|
12734
12733
|
let i = !1;
|
|
12735
|
-
return t instanceof
|
|
12734
|
+
return t instanceof he && !(t instanceof De) && (i = T0(t, e), t.set("strictMinMax", i)), i;
|
|
12736
12735
|
}
|
|
12737
12736
|
function Us(t, e) {
|
|
12738
12737
|
let i = t;
|
|
@@ -12775,7 +12774,7 @@ function w0(t) {
|
|
|
12775
12774
|
y.LineSeries,
|
|
12776
12775
|
y.RadarSeries
|
|
12777
12776
|
];
|
|
12778
|
-
if (o !== void 0 && l.includes(o) && n === te.Stacked100 && !s && e instanceof
|
|
12777
|
+
if (o !== void 0 && l.includes(o) && n === te.Stacked100 && !s && e instanceof he && !i) {
|
|
12779
12778
|
const c = w(e.chart?.uid ?? Number.NaN, "config"), u = e.chart?.series.getIndex(0)?.data.values;
|
|
12780
12779
|
if (c && u) {
|
|
12781
12780
|
const d = Rf(e.chart), f = Tr({ chartConfig: c, isSecondaryYAxis: a, seriesIds: d });
|
|
@@ -12882,7 +12881,7 @@ function N0(t) {
|
|
|
12882
12881
|
data: c,
|
|
12883
12882
|
isSecondaryYAxis: u
|
|
12884
12883
|
} = t, { chart: d } = e;
|
|
12885
|
-
if (d && e instanceof
|
|
12884
|
+
if (d && e instanceof he) {
|
|
12886
12885
|
const f = e, g = qi(f.get("renderer"), l);
|
|
12887
12886
|
if (k0(f, i))
|
|
12888
12887
|
if (w0({
|
|
@@ -12904,10 +12903,10 @@ function N0(t) {
|
|
|
12904
12903
|
isLogarithmic: n
|
|
12905
12904
|
});
|
|
12906
12905
|
let p = b.min;
|
|
12907
|
-
n && !(f instanceof
|
|
12906
|
+
n && !(f instanceof De) && p !== void 0 && p !== null && ((Number.isNaN(p) || p <= 0) && (p = L.treatZeroValueAs), f.set("treatZeroAs", Pc(p))), Xo({ axis: f, min: p, max: b.max });
|
|
12908
12907
|
} else {
|
|
12909
12908
|
let b = a;
|
|
12910
|
-
n && !(f instanceof
|
|
12909
|
+
n && !(f instanceof De) && b !== void 0 && b !== null && ((Number.isNaN(b) || b <= 0) && (b = L.treatZeroValueAs), f.set("treatZeroAs", Pc(b))), Xo({ axis: f, min: b, max: o });
|
|
12911
12910
|
}
|
|
12912
12911
|
else
|
|
12913
12912
|
B0({
|
|
@@ -12989,7 +12988,7 @@ function V0(t) {
|
|
|
12989
12988
|
let e = 0;
|
|
12990
12989
|
return t.dataItems.forEach((i) => {
|
|
12991
12990
|
const a = i.get("label");
|
|
12992
|
-
a !== void 0 &&
|
|
12991
|
+
a !== void 0 && Pe(a.uid, "isGuide") !== !0 && a.getText() !== void 0 && a.height() > e && a.isVisible() && (e = a.height());
|
|
12993
12992
|
}), e;
|
|
12994
12993
|
}
|
|
12995
12994
|
function Vc(t, e) {
|
|
@@ -12997,7 +12996,7 @@ function Vc(t, e) {
|
|
|
12997
12996
|
const { chart: i } = e;
|
|
12998
12997
|
if (i) {
|
|
12999
12998
|
const a = w(i.uid, "isRotated"), o = w(i.uid, "config"), n = W(o?.series), s = [], r = (l, c) => {
|
|
13000
|
-
if (l instanceof
|
|
12999
|
+
if (l instanceof he) {
|
|
13001
13000
|
const u = l.get("renderer") instanceof Jt;
|
|
13002
13001
|
s.push({
|
|
13003
13002
|
isXAxis: qi(l.get("renderer"), a),
|
|
@@ -13053,11 +13052,11 @@ function E0(t) {
|
|
|
13053
13052
|
if (g !== void 0 && f instanceof Br) {
|
|
13054
13053
|
let h, b;
|
|
13055
13054
|
switch (!0) {
|
|
13056
|
-
case e instanceof
|
|
13057
|
-
case e instanceof
|
|
13055
|
+
case e instanceof De:
|
|
13056
|
+
case e instanceof he:
|
|
13058
13057
|
h = f.get("value"), b = f.get("endValue");
|
|
13059
13058
|
break;
|
|
13060
|
-
case e instanceof
|
|
13059
|
+
case e instanceof Ee:
|
|
13061
13060
|
h = f.get("category"), b = f.get("endCategory");
|
|
13062
13061
|
break;
|
|
13063
13062
|
}
|
|
@@ -13096,7 +13095,7 @@ function H0(t, e) {
|
|
|
13096
13095
|
if (s !== void 0) {
|
|
13097
13096
|
const c = w(s.uid, "config"), u = w(s.uid, "isRotated"), f = !qi(t.get("renderer"), u) ? 1 : 0, h = c?.axes?.[f]?.guides;
|
|
13098
13097
|
let b = o, p = n;
|
|
13099
|
-
if (t instanceof
|
|
13098
|
+
if (t instanceof De) {
|
|
13100
13099
|
let F;
|
|
13101
13100
|
if (s !== void 0) {
|
|
13102
13101
|
const T = w(t.chart?.uid ?? Number.NaN, "formatLocale");
|
|
@@ -13110,12 +13109,12 @@ function H0(t, e) {
|
|
|
13110
13109
|
const k = c?.axes?.[0]?.valueFormat?.type === y.DateAxisFormat ? c.axes[0].valueFormat.intlOptions : void 0;
|
|
13111
13110
|
b = F.format(o, k), n !== void 0 && (p = F.format(n, k));
|
|
13112
13111
|
}
|
|
13113
|
-
} else if (t instanceof
|
|
13112
|
+
} else if (t instanceof he && !(o instanceof Date) && !(n instanceof Date)) {
|
|
13114
13113
|
const F = h?.find((D) => D.name === a), { start: T, end: k } = rm(t, F);
|
|
13115
13114
|
Number.isFinite(T) && (b = T), Number.isFinite(k) && (p = k);
|
|
13116
13115
|
const I = Ai(t.uid, "numberFormatter") ?? ((D) => jd.new(r, {}).format(D));
|
|
13117
13116
|
b = I(b), p !== void 0 && (p = I(p));
|
|
13118
|
-
} else t instanceof
|
|
13117
|
+
} else t instanceof Ee && (b = o, p = n);
|
|
13119
13118
|
const S = b.toString(), C = p?.toString() ?? "";
|
|
13120
13119
|
!Te(C) && S !== C ? l = Qi(e.guideTooltipLabel, {
|
|
13121
13120
|
guideStart: S,
|
|
@@ -13138,13 +13137,13 @@ function Hc(t) {
|
|
|
13138
13137
|
let n = e;
|
|
13139
13138
|
if (e != null)
|
|
13140
13139
|
switch (!0) {
|
|
13141
|
-
case i instanceof
|
|
13140
|
+
case i instanceof De:
|
|
13142
13141
|
n = e;
|
|
13143
13142
|
break;
|
|
13144
|
-
case i instanceof
|
|
13143
|
+
case i instanceof Ee:
|
|
13145
13144
|
n = e.toString();
|
|
13146
13145
|
break;
|
|
13147
|
-
case i instanceof
|
|
13146
|
+
case i instanceof he:
|
|
13148
13147
|
if (typeof e != "number") {
|
|
13149
13148
|
const s = e.toString().trim(), r = Ln(s);
|
|
13150
13149
|
r !== void 0 ? a !== void 0 && o !== void 0 ? n = r / 100 * (o - a) + a : n = null : n = Number.parseFloat(s);
|
|
@@ -13155,16 +13154,16 @@ function Hc(t) {
|
|
|
13155
13154
|
}
|
|
13156
13155
|
function bl(t, e) {
|
|
13157
13156
|
return t.axisRanges?.values?.filter((a) => {
|
|
13158
|
-
const o = a.get("label"), n =
|
|
13157
|
+
const o = a.get("label"), n = Pe(o?.uid ?? Number.NaN, "isGuide") ?? !1, s = Pe(o?.uid ?? Number.NaN, "isGaugeAxisLabel") ?? !1;
|
|
13159
13158
|
let r = !1;
|
|
13160
13159
|
switch (e) {
|
|
13161
|
-
case
|
|
13160
|
+
case Ae.Ticks:
|
|
13162
13161
|
r = !n;
|
|
13163
13162
|
break;
|
|
13164
|
-
case
|
|
13163
|
+
case Ae.Guides:
|
|
13165
13164
|
r = n;
|
|
13166
13165
|
break;
|
|
13167
|
-
case
|
|
13166
|
+
case Ae.GaugeTicksWithLabels:
|
|
13168
13167
|
r = s && "value" in a && a.value !== void 0;
|
|
13169
13168
|
break;
|
|
13170
13169
|
}
|
|
@@ -13191,7 +13190,7 @@ function G0(t) {
|
|
|
13191
13190
|
n !== void 0 && n.set("disabled", !0), s !== void 0 && s.set("inside", !0), r !== void 0 && r.set("disabled", !0);
|
|
13192
13191
|
}
|
|
13193
13192
|
function X0(t, e) {
|
|
13194
|
-
const a = bl(t,
|
|
13193
|
+
const a = bl(t, Ae.Guides).length, n = (e?.length ?? a) - a;
|
|
13195
13194
|
for (let s = 0; s < n; s += 1)
|
|
13196
13195
|
G0({ axis: t, guideIndex: s, guideConfig: e?.[s] });
|
|
13197
13196
|
}
|
|
@@ -13218,7 +13217,7 @@ function rm(t, e) {
|
|
|
13218
13217
|
const { start: i, end: a } = e ?? {};
|
|
13219
13218
|
let o;
|
|
13220
13219
|
if (e !== void 0 && i !== void 0 && i !== null) {
|
|
13221
|
-
const n = t instanceof
|
|
13220
|
+
const n = t instanceof he ? t.get("min") : void 0, s = t instanceof he ? t.get("max") : void 0, r = Hc({ inputValue: i, axis: t, axisMin: n, axisMax: s }), l = e.style?.type === K.SFS && a !== null && a !== void 0 ? Hc({ inputValue: a, axis: t, axisMin: n, axisMax: s }) : r;
|
|
13222
13221
|
o = {
|
|
13223
13222
|
isValidGuide: r != null && (a === void 0 || l != null),
|
|
13224
13223
|
start: r,
|
|
@@ -13233,7 +13232,7 @@ function U0(t) {
|
|
|
13233
13232
|
if (o !== void 0) {
|
|
13234
13233
|
const { chart: s } = e;
|
|
13235
13234
|
let r;
|
|
13236
|
-
if (e instanceof
|
|
13235
|
+
if (e instanceof Ee && s instanceof le && w(s.uid, "isNonAggregatedChart") === !0) {
|
|
13237
13236
|
const { modifiedStart: l, modifiedEnd: c } = Y0(e, a);
|
|
13238
13237
|
r = { isValidGuide: !0, start: l ?? o, end: c ?? n };
|
|
13239
13238
|
} else
|
|
@@ -13241,11 +13240,11 @@ function U0(t) {
|
|
|
13241
13240
|
if (r.isValidGuide) {
|
|
13242
13241
|
let l, c;
|
|
13243
13242
|
switch (!0) {
|
|
13244
|
-
case e instanceof
|
|
13245
|
-
case e instanceof
|
|
13243
|
+
case e instanceof De:
|
|
13244
|
+
case e instanceof he:
|
|
13246
13245
|
l = "value", c = "endValue";
|
|
13247
13246
|
break;
|
|
13248
|
-
case e instanceof
|
|
13247
|
+
case e instanceof Ee:
|
|
13249
13248
|
l = "category", c = "endCategory";
|
|
13250
13249
|
break;
|
|
13251
13250
|
}
|
|
@@ -13277,7 +13276,7 @@ function j0(t) {
|
|
|
13277
13276
|
function q0(t) {
|
|
13278
13277
|
const { axis: e, guideConfigs: i, guideTooltipFormatter: a, utilsStrings: o } = t;
|
|
13279
13278
|
if (i !== void 0) {
|
|
13280
|
-
const n = bl(e,
|
|
13279
|
+
const n = bl(e, Ae.Guides);
|
|
13281
13280
|
i.forEach((s, r) => {
|
|
13282
13281
|
j0({ axis: e, guide: n[r], guideConfig: s });
|
|
13283
13282
|
}), z0({ axis: e, guideTooltipFormatter: a, utilsStrings: o });
|
|
@@ -13288,17 +13287,17 @@ function Z0(t) {
|
|
|
13288
13287
|
let n = e.axisRanges.length - 1, s = a;
|
|
13289
13288
|
for (; s > 0 && n >= 0; ) {
|
|
13290
13289
|
const r = e.axisRanges.getIndex(n);
|
|
13291
|
-
r !== void 0 && (
|
|
13290
|
+
r !== void 0 && (Pe(r.get("label")?.uid ?? Number.NaN, "isGuide") ?? !1) === !0 && i === Ae.Guides && (o.push(r), s -= 1), n -= 1;
|
|
13292
13291
|
}
|
|
13293
13292
|
for (let r = 0; r < o.length; r += 1)
|
|
13294
13293
|
e.axisRanges.removeValue(o[r]);
|
|
13295
13294
|
}
|
|
13296
13295
|
function zc(t, e) {
|
|
13297
|
-
const a = bl(t,
|
|
13296
|
+
const a = bl(t, Ae.Guides).length, o = e?.length ?? 0, n = a - o;
|
|
13298
13297
|
Z0({
|
|
13299
13298
|
axis: t,
|
|
13300
13299
|
numberOfElementsToBeDeleted: n,
|
|
13301
|
-
tickOrGuide:
|
|
13300
|
+
tickOrGuide: Ae.Guides
|
|
13302
13301
|
});
|
|
13303
13302
|
}
|
|
13304
13303
|
function K0(t) {
|
|
@@ -13315,17 +13314,17 @@ function Q0(t, e) {
|
|
|
13315
13314
|
if (e === ve.Wrap) {
|
|
13316
13315
|
let o = Number.MAX_SAFE_INTEGER;
|
|
13317
13316
|
i.labels.each((s) => {
|
|
13318
|
-
|
|
13317
|
+
Pe(s.uid, "isGuide") !== !0 && s.width() > 0 && (o = Math.min(
|
|
13319
13318
|
o,
|
|
13320
13319
|
s.innerWidth()
|
|
13321
13320
|
));
|
|
13322
13321
|
});
|
|
13323
|
-
const n = t instanceof
|
|
13322
|
+
const n = t instanceof De ? t.width() / L.maxNumberOfXAxisLabelsInWrapModeForDateAxis : t.width() / L.maxNumberOfXAxisLabelsInWrapMode;
|
|
13324
13323
|
a = Math.max(o, n);
|
|
13325
13324
|
} else if (e === ve.Hide) {
|
|
13326
13325
|
let o = Number.MIN_SAFE_INTEGER;
|
|
13327
13326
|
i.labels.each((n) => {
|
|
13328
|
-
|
|
13327
|
+
Pe(n.uid, "isGuide") !== !0 && n.width() > 0 && (o = Math.max(
|
|
13329
13328
|
o,
|
|
13330
13329
|
n.innerWidth()
|
|
13331
13330
|
));
|
|
@@ -13345,16 +13344,16 @@ function J0(t) {
|
|
|
13345
13344
|
else if (i !== y.RadarSeries)
|
|
13346
13345
|
if (r instanceof Jt)
|
|
13347
13346
|
l = L.gauge.gaugeMinGridDistance;
|
|
13348
|
-
else if (e instanceof
|
|
13347
|
+
else if (e instanceof he)
|
|
13349
13348
|
l = r instanceof ut ? L.xAxisMinGridDistance : L.yAxisMinGridDistance;
|
|
13350
13349
|
else if (r instanceof ut)
|
|
13351
13350
|
if (o === !0)
|
|
13352
13351
|
l = L.secondRotatedValueAxisMinGridDistance;
|
|
13353
13352
|
else if (s === ve.Rotate) {
|
|
13354
|
-
const c = a.content.font?.size ?? L.generalFontSize, u = e instanceof
|
|
13353
|
+
const c = a.content.font?.size ?? L.generalFontSize, u = e instanceof Ee ? L.categoryAxisLabelPadding : L.axisLabelPadding;
|
|
13355
13354
|
l = c * u;
|
|
13356
13355
|
} else if (s === ve.Wrap || s === ve.Hide) {
|
|
13357
|
-
s === ve.Hide && (l = e instanceof
|
|
13356
|
+
s === ve.Hide && (l = e instanceof Ee ? L.xCategoryAxisMinGridDistance : L.xAxisMinGridDistance);
|
|
13358
13357
|
let c = Ai(
|
|
13359
13358
|
e.uid,
|
|
13360
13359
|
"minGridDistanceCallbackDisposer"
|
|
@@ -13362,16 +13361,16 @@ function J0(t) {
|
|
|
13362
13361
|
c !== void 0 && c.dispose(), c = e.events.on(ne.BoundsChanged, () => {
|
|
13363
13362
|
Q0(e, s);
|
|
13364
13363
|
}), Ua(e.uid, { minGridDistanceCallbackDisposer: c });
|
|
13365
|
-
} else s === ve.Stagger ? l = L.staggerMinGridDistance : l = e instanceof
|
|
13364
|
+
} else s === ve.Stagger ? l = L.staggerMinGridDistance : l = e instanceof Ee ? L.xCategoryAxisMinGridDistance : L.xAxisMinGridDistance;
|
|
13366
13365
|
else
|
|
13367
|
-
l = e instanceof
|
|
13366
|
+
l = e instanceof Ee ? L.yCategoryAxisMinGridDistance : L.yAxisMinGridDistance;
|
|
13368
13367
|
r.set("minGridDistance", l);
|
|
13369
13368
|
}
|
|
13370
13369
|
function _c(t = 1, e) {
|
|
13371
13370
|
const i = e.get("renderer"), a = lm(e);
|
|
13372
13371
|
let o = 0;
|
|
13373
13372
|
i.labels.each((r) => {
|
|
13374
|
-
|
|
13373
|
+
Pe(r.uid, "isGuide") !== !0 && r.getText() !== void 0 && r.width() > 0 && (o += 1);
|
|
13375
13374
|
});
|
|
13376
13375
|
const n = o > 0 ? e.width() / o : 0, s = Math.max(a, n) * t;
|
|
13377
13376
|
if (Number.isFinite(s) && s > 0) {
|
|
@@ -13390,8 +13389,8 @@ function Gc(t, e = 1) {
|
|
|
13390
13389
|
function eF(t) {
|
|
13391
13390
|
const e = t.get("renderer").labels.template;
|
|
13392
13391
|
e.adapters.add("rotation", (i, a) => {
|
|
13393
|
-
const o =
|
|
13394
|
-
return e.set("centerX", o === 0 ? de :
|
|
13392
|
+
const o = Pe(a.uid, "isGuide") !== !0 ? Ai(t.uid, "rotation") ?? 0 : i ?? 0;
|
|
13393
|
+
return e.set("centerX", o === 0 ? de : be), o;
|
|
13395
13394
|
});
|
|
13396
13395
|
}
|
|
13397
13396
|
function vs(t) {
|
|
@@ -13401,7 +13400,7 @@ function vs(t) {
|
|
|
13401
13400
|
const o = e.labels.getIndex(0)?.get("rotation");
|
|
13402
13401
|
let n = 0;
|
|
13403
13402
|
e.labels.each((l) => {
|
|
13404
|
-
if (
|
|
13403
|
+
if (Pe(l.uid, "isGuide") !== !0 && l.width() > 0) {
|
|
13405
13404
|
const c = o === L.rotatedAxisLabel.rotation ? Math.sqrt(l.innerHeight() ** 2 + l.innerWidth() ** 2) : l.innerWidth();
|
|
13406
13405
|
c > n && (n = c);
|
|
13407
13406
|
}
|
|
@@ -13411,8 +13410,8 @@ function vs(t) {
|
|
|
13411
13410
|
const l = r ? L.axisLabel.rotation : L.rotatedAxisLabel.rotation;
|
|
13412
13411
|
e.labels.template.setAll({
|
|
13413
13412
|
rotation: l,
|
|
13414
|
-
centerX: r ? de :
|
|
13415
|
-
centerY:
|
|
13413
|
+
centerX: r ? de : be,
|
|
13414
|
+
centerY: Me,
|
|
13416
13415
|
paddingTop: r ? L.axisLabel.paddingTop : L.rotatedAxisLabel.paddingTop,
|
|
13417
13416
|
paddingLeft: r ? L.axisLabel.paddingLeft : L.rotatedAxisLabel.paddingLeft,
|
|
13418
13417
|
paddingRight: r ? L.axisLabel.paddingRight : L.rotatedAxisLabel.paddingRight
|
|
@@ -13423,7 +13422,7 @@ function vs(t) {
|
|
|
13423
13422
|
}
|
|
13424
13423
|
function Xc(t) {
|
|
13425
13424
|
const e = t.get("renderer");
|
|
13426
|
-
eF(t), e.labels.template.setAll({ oversizedBehavior: "hide" }), t instanceof
|
|
13425
|
+
eF(t), e.labels.template.setAll({ oversizedBehavior: "hide" }), t instanceof De || (e.labels.template.setAll({ multiLocation: 0.5 }), e.ticks.template.setAll({
|
|
13427
13426
|
multiLocation: 0.5
|
|
13428
13427
|
})), t.events.on(ne.BoundsChanged, () => vs(t)), t.events.on(ne.DataValidated, () => vs(t)), vs();
|
|
13429
13428
|
}
|
|
@@ -13432,10 +13431,10 @@ function Yc(t) {
|
|
|
13432
13431
|
let a = 0;
|
|
13433
13432
|
t.dataItems.forEach((o, n) => {
|
|
13434
13433
|
const s = o.get("label");
|
|
13435
|
-
s !== void 0 &&
|
|
13434
|
+
s !== void 0 && Pe(s.uid, "isGuide") !== !0 && s.getText() !== void 0 && s.width() > 0 && n % 2 === 0 && s.innerHeight() > a && (a = s.innerHeight());
|
|
13436
13435
|
}), a = Math.round(a), a > 0 && (t.dataItems.filter((o) => {
|
|
13437
13436
|
const n = o.get("tick"), s = o.get("label");
|
|
13438
|
-
return n !== void 0 && s !== void 0 &&
|
|
13437
|
+
return n !== void 0 && s !== void 0 && Pe(s.uid, "isGuide") !== !0 && s.getText() !== void 0 && s.width() > 0;
|
|
13439
13438
|
}).forEach((o, n) => {
|
|
13440
13439
|
const s = o.get("tick"), r = o.get("label"), l = n % 2 === 1;
|
|
13441
13440
|
s && s.set("length", l ? a + 5 : L.axisTickLength), r && r.set("dy", l ? a : 0);
|
|
@@ -13570,7 +13569,7 @@ function uF(t, e) {
|
|
|
13570
13569
|
}
|
|
13571
13570
|
function fF(t) {
|
|
13572
13571
|
const { chart: e, chartConfig: i, queryObject: a, data: o, xAxisLabelFormatter: n, utilsStrings: s, errorStrings: r } = t, { axes: l } = i, c = l?.[0], u = e.xAxes.getIndex(0);
|
|
13573
|
-
if (u instanceof
|
|
13572
|
+
if (u instanceof he && u.get("renderer") instanceof Jt && c !== void 0) {
|
|
13574
13573
|
const d = u, { needle: f } = c;
|
|
13575
13574
|
dF(e, i), uF(e, i), af(c), Sl({
|
|
13576
13575
|
chartConfig: i,
|
|
@@ -13598,7 +13597,7 @@ function mF(t) {
|
|
|
13598
13597
|
const { chart: e, axesConfig: i, errorStrings: a } = t, { root: o } = e;
|
|
13599
13598
|
Xi({ chartType: y.GaugeSeries, axesConfig: i, errorStrings: a });
|
|
13600
13599
|
const n = e.xAxes.push(
|
|
13601
|
-
|
|
13600
|
+
he.new(o, {
|
|
13602
13601
|
min: 0,
|
|
13603
13602
|
max: 100,
|
|
13604
13603
|
renderer: Jt.new(o, {})
|
|
@@ -13700,7 +13699,7 @@ function qs(t, e) {
|
|
|
13700
13699
|
e?.set("dy", s);
|
|
13701
13700
|
}
|
|
13702
13701
|
function pF(t) {
|
|
13703
|
-
t instanceof
|
|
13702
|
+
t instanceof he && (t.onPrivate("min", Vc), t.onPrivate("max", Vc));
|
|
13704
13703
|
}
|
|
13705
13704
|
function bF(t) {
|
|
13706
13705
|
const { axis: e, isHorizontalAxis: i, isSecondaryYAxis: a } = t, { root: o } = e, n = i ? { ...L.xAxisTitleLabel, verticalCenter: "top" } : L.yAxisTitleLabel, s = Pa({ root: o, id: fm(e, i), defaults: n });
|
|
@@ -13749,7 +13748,7 @@ function Pi(t) {
|
|
|
13749
13748
|
break;
|
|
13750
13749
|
}
|
|
13751
13750
|
f && (d = i.push(
|
|
13752
|
-
|
|
13751
|
+
Ee.new(e, {
|
|
13753
13752
|
categoryField: f,
|
|
13754
13753
|
// for histogram we end the axis at the start of the last (ghost) category by
|
|
13755
13754
|
// setting the endLocation to 0.
|
|
@@ -13760,10 +13759,10 @@ function Pi(t) {
|
|
|
13760
13759
|
})
|
|
13761
13760
|
));
|
|
13762
13761
|
} else if (bt(o))
|
|
13763
|
-
d = i.push(
|
|
13764
|
-
else if (
|
|
13762
|
+
d = i.push(De.new(e, { strictMinMax: !0, baseInterval: { timeUnit: "day", count: 1 }, renderer: n }));
|
|
13763
|
+
else if (Oe(o) && (d = i.push(he.new(e, { strictMinMax: !0, numberFormat: "#", renderer: n })), s && d instanceof he)) {
|
|
13765
13764
|
const f = i.getIndex(0);
|
|
13766
|
-
f instanceof
|
|
13765
|
+
f instanceof he && d.set("syncWithAxis", f);
|
|
13767
13766
|
}
|
|
13768
13767
|
if (d !== void 0 && !c) {
|
|
13769
13768
|
P0(d), om(e, d);
|
|
@@ -13776,7 +13775,7 @@ function Pi(t) {
|
|
|
13776
13775
|
L.axisLabelSpacing.verticalAxisLabelSidePadding
|
|
13777
13776
|
);
|
|
13778
13777
|
const h = d.get("renderer").labels.template;
|
|
13779
|
-
d instanceof
|
|
13778
|
+
d instanceof Ee && r !== y.HistogramSeries ? o0(d, u) : h.set("cursorOverStyle", "default");
|
|
13780
13779
|
}
|
|
13781
13780
|
return d;
|
|
13782
13781
|
}
|
|
@@ -14104,7 +14103,7 @@ function AF(t) {
|
|
|
14104
14103
|
const { chart: e, enabled: i } = t, a = i ? "pointer" : "default";
|
|
14105
14104
|
e instanceof uo && e.series.each((o) => {
|
|
14106
14105
|
switch (!0) {
|
|
14107
|
-
case o instanceof
|
|
14106
|
+
case o instanceof Se:
|
|
14108
14107
|
o.columns.template.set("cursorOverStyle", a);
|
|
14109
14108
|
break;
|
|
14110
14109
|
case o instanceof se:
|
|
@@ -14118,7 +14117,7 @@ function AF(t) {
|
|
|
14118
14117
|
});
|
|
14119
14118
|
}
|
|
14120
14119
|
function TF(t) {
|
|
14121
|
-
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) &&
|
|
14120
|
+
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) && Oe(n?.axes?.[0]?.valueFormat), c = (s === y.LineSeries || s === y.RadarSeries) && pi(n?.axes?.[0]?.valueFormat), u = (s === y.LineSeries || s === y.RadarSeries) && bt(n?.axes?.[0]?.valueFormat);
|
|
14122
14121
|
let d, f = !1;
|
|
14123
14122
|
const g = i ?? w(e.uid, "actionMode") ?? L.actionMode;
|
|
14124
14123
|
if (w(e.uid, "filterBySelection") === !0)
|
|
@@ -14283,8 +14282,8 @@ function OF(t) {
|
|
|
14283
14282
|
sprite: nt.new(e.root, {
|
|
14284
14283
|
text: "{value}",
|
|
14285
14284
|
populateText: !0,
|
|
14286
|
-
centerY:
|
|
14287
|
-
centerX:
|
|
14285
|
+
centerY: be,
|
|
14286
|
+
centerX: Me,
|
|
14288
14287
|
// remove padding so if they fit in the label, it shows
|
|
14289
14288
|
paddingBottom: 0,
|
|
14290
14289
|
paddingTop: 0,
|
|
@@ -14331,7 +14330,7 @@ function hn(t) {
|
|
|
14331
14330
|
return { outlineSymbol: i, outlineColor: a, outlineOpacity: o };
|
|
14332
14331
|
}
|
|
14333
14332
|
function $F(t) {
|
|
14334
|
-
const { root: e, xAxis: i, yAxis: a, options: o, chartConfig: n, errorStrings: s } = t, r =
|
|
14333
|
+
const { root: e, xAxis: i, yAxis: a, options: o, chartConfig: n, errorStrings: s } = t, r = Se.new(e, {
|
|
14335
14334
|
calculateAggregates: !0,
|
|
14336
14335
|
stroke: Q(L.backgroundColor).color,
|
|
14337
14336
|
clustered: !1,
|
|
@@ -14349,8 +14348,8 @@ function $F(t) {
|
|
|
14349
14348
|
tooltipText: `x: {${Re.xField}}
|
|
14350
14349
|
y: {${Re.yField}}
|
|
14351
14350
|
Value: {${Re.valueField}}`,
|
|
14352
|
-
width:
|
|
14353
|
-
height:
|
|
14351
|
+
width: be,
|
|
14352
|
+
height: be
|
|
14354
14353
|
}), r.columns.template.adapters.add(
|
|
14355
14354
|
"cursorOverStyle",
|
|
14356
14355
|
(l, c) => c.dataItem?.dataContext?.[vo] ? "auto" : l
|
|
@@ -14373,14 +14372,14 @@ function NF(t) {
|
|
|
14373
14372
|
if (n === xa.Renderer) {
|
|
14374
14373
|
const N = I?.[H.rendererSymbolField];
|
|
14375
14374
|
if (so(N)) {
|
|
14376
|
-
$ =
|
|
14375
|
+
$ = Fe(N);
|
|
14377
14376
|
const { outlineSymbol: P } = hn(s);
|
|
14378
14377
|
$.outline = P;
|
|
14379
14378
|
} else
|
|
14380
14379
|
M = !0;
|
|
14381
14380
|
}
|
|
14382
14381
|
if ((!Number.isFinite(k) || M) && r) {
|
|
14383
|
-
$ =
|
|
14382
|
+
$ = Fe(r);
|
|
14384
14383
|
const { outlineSymbol: N } = hn(s);
|
|
14385
14384
|
$.outline = N;
|
|
14386
14385
|
}
|
|
@@ -14545,7 +14544,7 @@ function _F(t, e) {
|
|
|
14545
14544
|
paddingLeft: i
|
|
14546
14545
|
});
|
|
14547
14546
|
const o = t.leftAxesContainer.children.values[0];
|
|
14548
|
-
o instanceof
|
|
14547
|
+
o instanceof Ee && o.set("paddingLeft", i);
|
|
14549
14548
|
}
|
|
14550
14549
|
function GF(t, e) {
|
|
14551
14550
|
const { root: i } = t, a = w(t.uid, "rtl") ?? !1, o = w(t.uid, "config") ?? e, n = o?.series[0], { start: s, end: r } = is(a, n), l = o?.legend?.position ?? L.heatChart.legend.position, c = l === z.Top || l === z.Bottom;
|
|
@@ -14629,7 +14628,7 @@ function Am(t) {
|
|
|
14629
14628
|
const c = L.chartPadding, u = r === z.Left || r === z.Top, d = r === z.Left || r === z.Right;
|
|
14630
14629
|
switch (i.setAll({
|
|
14631
14630
|
orientation: d ? "vertical" : "horizontal",
|
|
14632
|
-
width:
|
|
14631
|
+
width: be
|
|
14633
14632
|
}), xl(e), r) {
|
|
14634
14633
|
case z.Left:
|
|
14635
14634
|
a.setAll({
|
|
@@ -14659,7 +14658,7 @@ function Am(t) {
|
|
|
14659
14658
|
paddingTop: s.legendPadding,
|
|
14660
14659
|
// Gap above the plot area.
|
|
14661
14660
|
paddingBottom: s.legendPadding,
|
|
14662
|
-
width:
|
|
14661
|
+
width: be
|
|
14663
14662
|
}), l = e.topAxesContainer;
|
|
14664
14663
|
break;
|
|
14665
14664
|
case z.Bottom:
|
|
@@ -14668,7 +14667,7 @@ function Am(t) {
|
|
|
14668
14667
|
// Gap under the x-axis title.
|
|
14669
14668
|
paddingTop: s.legendPadding,
|
|
14670
14669
|
paddingBottom: 0,
|
|
14671
|
-
width:
|
|
14670
|
+
width: be
|
|
14672
14671
|
}), l = e.bottomAxesContainer;
|
|
14673
14672
|
break;
|
|
14674
14673
|
}
|
|
@@ -14781,7 +14780,7 @@ function Uc(t) {
|
|
|
14781
14780
|
} else {
|
|
14782
14781
|
r.set("x", at(a * 100));
|
|
14783
14782
|
const c = l.localBounds().bottom, u = L.heatChart.legend.minMaxLabelPadding;
|
|
14784
|
-
r.set("y", -c - u), r.set("centerX",
|
|
14783
|
+
r.set("y", -c - u), r.set("centerX", Me);
|
|
14785
14784
|
}
|
|
14786
14785
|
}
|
|
14787
14786
|
function qF(t) {
|
|
@@ -14928,7 +14927,7 @@ function as(t, e) {
|
|
|
14928
14927
|
bo(t);
|
|
14929
14928
|
const { legend: n, legendContainer: s } = tA({
|
|
14930
14929
|
chart: t,
|
|
14931
|
-
series: o instanceof
|
|
14930
|
+
series: o instanceof Se ? o : void 0,
|
|
14932
14931
|
legendConfig: a,
|
|
14933
14932
|
fallbackConfig: i ?? e
|
|
14934
14933
|
});
|
|
@@ -14940,7 +14939,7 @@ function as(t, e) {
|
|
|
14940
14939
|
}
|
|
14941
14940
|
function Mm(t) {
|
|
14942
14941
|
const { legend: e, chart: i, legendContainer: a } = t, o = w(i.uid, "config"), n = L.heatChart.legend, s = o?.legend?.position ?? n.position, r = o?.legend ? o.legend.visible ?? !0 : !1, l = s === z.Left || s === z.Right;
|
|
14943
|
-
r ? l ? (e.set("height",
|
|
14942
|
+
r ? l ? (e.set("height", be), a.set("height", be), $m({ legendContainer: a, chart: i })) : (e.set("height", n.topHeight), a.set("height", void 0)) : (e.set("height", 0), a.set("height", 0), l && a.set("width", 0));
|
|
14944
14943
|
}
|
|
14945
14944
|
function QF(t) {
|
|
14946
14945
|
const { chart: e, legend: i, legendContainer: a } = t, o = w(e.uid, "config"), n = L.heatChart.legend, s = o?.legend?.position ?? n.position;
|
|
@@ -15031,8 +15030,8 @@ function iA(t) {
|
|
|
15031
15030
|
} = t, { legend: r } = i, l = r !== void 0 && r.visible !== !1, c = e.series.values[0];
|
|
15032
15031
|
let u;
|
|
15033
15032
|
if (o || n || s)
|
|
15034
|
-
bo(e), l && c instanceof
|
|
15035
|
-
else if (c instanceof
|
|
15033
|
+
bo(e), l && c instanceof Se && (u = as(e, i));
|
|
15034
|
+
else if (c instanceof Se) {
|
|
15036
15035
|
const d = eA(e) ?? (a !== void 0 && !a.isDisposed() ? a : void 0);
|
|
15037
15036
|
if (d) {
|
|
15038
15037
|
const f = d.parent, g = f?.get("id") === lt(St, e.uid) ? f : void 0;
|
|
@@ -15304,7 +15303,7 @@ function mA(t) {
|
|
|
15304
15303
|
}
|
|
15305
15304
|
case y.HeatSeries: {
|
|
15306
15305
|
const c = e.series.getIndex(0);
|
|
15307
|
-
if (c instanceof
|
|
15306
|
+
if (c instanceof Se && Rt(a) && !_e(n)) {
|
|
15308
15307
|
const u = vm({
|
|
15309
15308
|
queryObject: n,
|
|
15310
15309
|
chartConfig: a,
|
|
@@ -15341,16 +15340,16 @@ function ya(t, e) {
|
|
|
15341
15340
|
let Y = 0, U = 0, _ = 0, j = 0, E, ee;
|
|
15342
15341
|
switch (x) {
|
|
15343
15342
|
case z.Left:
|
|
15344
|
-
I = i.verticalLayout, D =
|
|
15343
|
+
I = i.verticalLayout, D = Me, $ = Me, R = Me, M = Me, P = void 0, T = Me, k = Me, Y = a.width(), N = f + h, G < t.seriesContainer.height() && (N += t.seriesContainer.height() / 2 - G / 2), e.setPrivate("width", void 0), v = qc(e), F?.width() !== void 0 && v && F.isVisible() && (v += F.width() + L.scrollbarPadding), n && (E = be, ee = v);
|
|
15345
15344
|
break;
|
|
15346
15345
|
case z.Right:
|
|
15347
|
-
I = i.verticalLayout, D =
|
|
15346
|
+
I = i.verticalLayout, D = be, $ = be, R = Me, M = Me, P = void 0, T = Me, k = Me, U = a.width(), N = f + h, G < t.seriesContainer.height() && (N += t.seriesContainer.height() / 2 - G / 2), e.setPrivate("width", void 0), v = qc(e), F?.width() !== void 0 && v && F.isVisible() && (v += F.width() + L.scrollbarPadding), n && (E = be, ee = v);
|
|
15348
15347
|
break;
|
|
15349
15348
|
case z.Top:
|
|
15350
|
-
I = i.gridLayout, D = de, $ = de, R =
|
|
15349
|
+
I = i.gridLayout, D = de, $ = de, R = Me, M = Me, P = be, T = de, k = de, _ += G, N += f + h, v = void 0, n && (E = void 0);
|
|
15351
15350
|
break;
|
|
15352
15351
|
case z.Bottom:
|
|
15353
|
-
I = i.gridLayout, D = de, $ = de, R =
|
|
15352
|
+
I = i.gridLayout, D = de, $ = de, R = be, M = be, P = be, T = de, k = de, j = G, N = -j - p, v = void 0, n && (E = void 0);
|
|
15354
15353
|
break;
|
|
15355
15354
|
}
|
|
15356
15355
|
(v === void 0 || v > 0) && (e.setPrivate("width", v), n && e.itemContainers.template.setAll({
|
|
@@ -15482,7 +15481,7 @@ function SA(t) {
|
|
|
15482
15481
|
}
|
|
15483
15482
|
const c = a ? t.yAxes.getIndex(0) : t.xAxes.getIndex(0);
|
|
15484
15483
|
let u;
|
|
15485
|
-
c instanceof
|
|
15484
|
+
c instanceof De ? u = m.DateAxis : c instanceof he ? u = m.ValueAxis : u = m.CategoryAxis;
|
|
15486
15485
|
const f = (i?.orderOptions?.data && "orderBy" in i.orderOptions.data ? i.orderOptions.data.orderBy === Cn.Descending : !1) ? m.OrderByFieldsDESC : m.OrderByFieldsASC;
|
|
15487
15486
|
e = `${o}-${r}-${s}-${l}-${u}-${f}`;
|
|
15488
15487
|
}
|
|
@@ -15800,7 +15799,7 @@ function $A(t) {
|
|
|
15800
15799
|
});
|
|
15801
15800
|
}
|
|
15802
15801
|
function BA(t) {
|
|
15803
|
-
const { root: e, chartConfig: i, seriesConfig: a, xAxis: o, yAxis: n, options: s, errorStrings: r } = t, { id: l, name: c } = a, { xField: u, yField: d, xAxisField: f, yAxisField: g } = ja(i, a), h = Ir(i), b =
|
|
15802
|
+
const { root: e, chartConfig: i, seriesConfig: a, xAxis: o, yAxis: n, options: s, errorStrings: r } = t, { id: l, name: c } = a, { xField: u, yField: d, xAxisField: f, yAxisField: g } = ja(i, a), h = Ir(i), b = Se.new(e, {
|
|
15804
15803
|
id: l,
|
|
15805
15804
|
name: c,
|
|
15806
15805
|
stacked: h,
|
|
@@ -16727,7 +16726,7 @@ function Ym(t) {
|
|
|
16727
16726
|
lineSymbol: b,
|
|
16728
16727
|
markerSymbol: p
|
|
16729
16728
|
}), c.size === o && (Gt({
|
|
16730
|
-
data:
|
|
16729
|
+
data: Fe(c),
|
|
16731
16730
|
htmlContainer: f.dom,
|
|
16732
16731
|
chartId: e.chart?.get("id"),
|
|
16733
16732
|
colorMatchApplied: Ka(d)
|
|
@@ -16894,7 +16893,7 @@ function vT(t, e) {
|
|
|
16894
16893
|
c !== r && we({ element: c, selected: !1 });
|
|
16895
16894
|
}), Oo({
|
|
16896
16895
|
chart: o,
|
|
16897
|
-
selectionSource:
|
|
16896
|
+
selectionSource: pe.SelectionByClick,
|
|
16898
16897
|
errorStrings: e
|
|
16899
16898
|
});
|
|
16900
16899
|
}
|
|
@@ -17007,7 +17006,7 @@ function kT(t) {
|
|
|
17007
17006
|
radius: void 0,
|
|
17008
17007
|
baseRadius: at(60),
|
|
17009
17008
|
textType: "regular"
|
|
17010
|
-
}) : !s && !c && !l && (e.labels.template.setAll({ baseRadius:
|
|
17009
|
+
}) : !s && !c && !l && (e.labels.template.setAll({ baseRadius: be, textType: "adjusted" }), n !== void 0 && Number.isFinite(n) && u !== n && e.labels.template.set("radius", n));
|
|
17011
17010
|
}
|
|
17012
17011
|
let Fs;
|
|
17013
17012
|
function IT(t, e) {
|
|
@@ -17495,7 +17494,7 @@ function ns(t) {
|
|
|
17495
17494
|
const ee = j.type;
|
|
17496
17495
|
switch (!0) {
|
|
17497
17496
|
case k === y.HeatSeries: {
|
|
17498
|
-
E instanceof
|
|
17497
|
+
E instanceof Se && e instanceof le && Rt(i) && VF({
|
|
17499
17498
|
...U,
|
|
17500
17499
|
series: E,
|
|
17501
17500
|
data: o,
|
|
@@ -17520,7 +17519,7 @@ function ns(t) {
|
|
|
17520
17519
|
break;
|
|
17521
17520
|
}
|
|
17522
17521
|
case ee === y.HistogramSeries: {
|
|
17523
|
-
E instanceof
|
|
17522
|
+
E instanceof Se && e instanceof le && _g(o) && qL({
|
|
17524
17523
|
...U,
|
|
17525
17524
|
series: E,
|
|
17526
17525
|
allChartSeries: D,
|
|
@@ -17546,7 +17545,7 @@ function ns(t) {
|
|
|
17546
17545
|
break;
|
|
17547
17546
|
}
|
|
17548
17547
|
case (k === y.ComboLineAndBarSeries || k === y.BarSeries || k === y.LineSeries):
|
|
17549
|
-
e instanceof le && hs(o) && (ee === y.BarSeries && E instanceof
|
|
17548
|
+
e instanceof le && hs(o) && (ee === y.BarSeries && E instanceof Se ? WA({
|
|
17550
17549
|
...U,
|
|
17551
17550
|
series: E,
|
|
17552
17551
|
data: o,
|
|
@@ -17615,7 +17614,7 @@ async function XT(t, e) {
|
|
|
17615
17614
|
const i = w(t.uid, "actionMode");
|
|
17616
17615
|
i !== J.MonoSelection && i !== J.None && (t.series.each((a) => {
|
|
17617
17616
|
switch (!0) {
|
|
17618
|
-
case a instanceof
|
|
17617
|
+
case a instanceof Se:
|
|
17619
17618
|
_T(a);
|
|
17620
17619
|
break;
|
|
17621
17620
|
case a instanceof se:
|
|
@@ -17627,7 +17626,7 @@ async function XT(t, e) {
|
|
|
17627
17626
|
}
|
|
17628
17627
|
}), await Oo({
|
|
17629
17628
|
chart: t,
|
|
17630
|
-
selectionSource:
|
|
17629
|
+
selectionSource: pe.ProgrammaticSelection,
|
|
17631
17630
|
errorStrings: e
|
|
17632
17631
|
}));
|
|
17633
17632
|
}
|
|
@@ -17706,7 +17705,7 @@ function ir(t) {
|
|
|
17706
17705
|
const { chart: e, actionMode: i, cursorRange: a } = t;
|
|
17707
17706
|
if (sl(e)) {
|
|
17708
17707
|
const o = w(e.uid, "actionMode"), n = i ?? o ?? L.actionMode;
|
|
17709
|
-
pt(e.uid, { actionMode: n }), n === J.None && ji({ chart: e, selectionSource:
|
|
17708
|
+
pt(e.uid, { actionMode: n }), n === J.None && ji({ chart: e, selectionSource: pe.ClearSelection }), TF({ chart: e, actionMode: n, cursorRange: a });
|
|
17710
17709
|
}
|
|
17711
17710
|
}
|
|
17712
17711
|
function ZT(t) {
|
|
@@ -17895,7 +17894,7 @@ function ek(t) {
|
|
|
17895
17894
|
T ??= n;
|
|
17896
17895
|
const k = Z(n.series), I = Je(n);
|
|
17897
17896
|
pt(e.uid, {
|
|
17898
|
-
config:
|
|
17897
|
+
config: Fe(n),
|
|
17899
17898
|
options: s,
|
|
17900
17899
|
isNonAggregatedChart: !In(k),
|
|
17901
17900
|
isRotated: I,
|
|
@@ -18197,7 +18196,7 @@ class As extends EventTarget {
|
|
|
18197
18196
|
return this._config;
|
|
18198
18197
|
}
|
|
18199
18198
|
set config(e) {
|
|
18200
|
-
this._config = e, this._revision += 1, this._configHistory.push(
|
|
18199
|
+
this._config = e, this._revision += 1, this._configHistory.push(Fe(this._config)), this._configHistory.length > op && this._configHistory.shift(), this.dispatchEvent(
|
|
18201
18200
|
new CustomEvent("arcgisChartsModelConfigChange", {
|
|
18202
18201
|
detail: { config: this._config, setterName: "config" }
|
|
18203
18202
|
})
|
|
@@ -18336,7 +18335,7 @@ function gk(t) {
|
|
|
18336
18335
|
});
|
|
18337
18336
|
}
|
|
18338
18337
|
function hk(t, e) {
|
|
18339
|
-
const i =
|
|
18338
|
+
const i = Fe(t), a = {
|
|
18340
18339
|
config: i,
|
|
18341
18340
|
themeColors: e
|
|
18342
18341
|
};
|
|
@@ -19355,7 +19354,7 @@ class Pk extends eg {
|
|
|
19355
19354
|
const e = this._getSelectionFromSelectionManager();
|
|
19356
19355
|
gt(e, this.selectionData?.selectionOIDs) || (this.selectionData = {
|
|
19357
19356
|
selectionOIDs: e,
|
|
19358
|
-
selectionSource:
|
|
19357
|
+
selectionSource: pe.ProgrammaticSelection
|
|
19359
19358
|
}, e?.length || this.clearSelection());
|
|
19360
19359
|
}
|
|
19361
19360
|
}
|
|
@@ -19433,7 +19432,7 @@ class Pk extends eg {
|
|
|
19433
19432
|
const i = e, { selectionData: a, model: o } = i.detail, n = this.loadedLayer && o?.layer?.id === this.loadedLayer.id;
|
|
19434
19433
|
if ((this.syncSelection || this.syncChartsSelection) && n && e.target !== this.el && (!gt(a.selectionOIDs, this.selectionData?.selectionOIDs) || !gt(a.selectionFilters, this.selectionData?.selectionFilters)))
|
|
19435
19434
|
if (a.selectionOIDs || a.selectionFilters?.[0]) {
|
|
19436
|
-
this.selectionData = { ...a, selectionSource:
|
|
19435
|
+
this.selectionData = { ...a, selectionSource: pe.ProgrammaticSelection };
|
|
19437
19436
|
const s = mt(this.internalModel) ? this.internalModel : void 0;
|
|
19438
19437
|
this.arcgisSelectionComplete.emit({ selectionData: this.selectionData, model: s });
|
|
19439
19438
|
} else
|
|
@@ -19469,7 +19468,7 @@ class Pk extends eg {
|
|
|
19469
19468
|
}
|
|
19470
19469
|
_handleLegendItemVisibilityChanged(e) {
|
|
19471
19470
|
if (this.internalModel) {
|
|
19472
|
-
const a =
|
|
19471
|
+
const a = Fe(this.internalModel?.config);
|
|
19473
19472
|
ch(e, a), this.internalModel.config = a;
|
|
19474
19473
|
}
|
|
19475
19474
|
const i = mt(this.internalModel) ? this.internalModel : void 0;
|
|
@@ -19518,7 +19517,7 @@ class Pk extends eg {
|
|
|
19518
19517
|
const i = { ...e.detail };
|
|
19519
19518
|
this._unsanitizedSelectionItems = i.selectionItems;
|
|
19520
19519
|
const a = { ...i };
|
|
19521
|
-
let o =
|
|
19520
|
+
let o = Fe(i.selectionItems);
|
|
19522
19521
|
if (o) {
|
|
19523
19522
|
const n = this.internalModel?.config;
|
|
19524
19523
|
o = uh(o, n?.series), o = o.map(fh), o = mh(o, n?.series), a.selectionItems = o;
|
|
@@ -19567,26 +19566,26 @@ class Pk extends eg {
|
|
|
19567
19566
|
}
|
|
19568
19567
|
_rotatedChange(e) {
|
|
19569
19568
|
if (e !== void 0 && this.internalModel) {
|
|
19570
|
-
const i = cp(e,
|
|
19569
|
+
const i = cp(e, Fe(this.internalModel.config));
|
|
19571
19570
|
this.internalModel.config = i;
|
|
19572
19571
|
}
|
|
19573
19572
|
}
|
|
19574
19573
|
_legendPositionChange(e) {
|
|
19575
19574
|
if (e !== void 0 && this.internalModel) {
|
|
19576
|
-
const i = dp(e,
|
|
19575
|
+
const i = dp(e, Fe(this.internalModel.config));
|
|
19577
19576
|
this.internalModel.config = i;
|
|
19578
19577
|
}
|
|
19579
19578
|
}
|
|
19580
19579
|
_legendVisibilityChange(e) {
|
|
19581
19580
|
if (e !== void 0 && this.internalModel) {
|
|
19582
|
-
const i = up(e,
|
|
19581
|
+
const i = up(e, Fe(this.internalModel.config));
|
|
19583
19582
|
this.internalModel.config = i;
|
|
19584
19583
|
}
|
|
19585
19584
|
}
|
|
19586
19585
|
_filterBySelectionChanged() {
|
|
19587
19586
|
if (this.internalModel) {
|
|
19588
19587
|
this.setTimeBinningInfoWhenNotProvided && Ql(this.internalModel) && this.internalModel.resetTimeInterval();
|
|
19589
|
-
const e = fp(
|
|
19588
|
+
const e = fp(Fe(this.internalModel.config));
|
|
19590
19589
|
this.internalModel.config = e;
|
|
19591
19590
|
}
|
|
19592
19591
|
}
|
|
@@ -19601,7 +19600,7 @@ class Pk extends eg {
|
|
|
19601
19600
|
_setSelectionInSelectionManager() {
|
|
19602
19601
|
const e = this.selectionManager ?? this.view?.selectionManager;
|
|
19603
19602
|
if (this.loadedLayer && e && Vl(this.loadedLayer) && this._isSelectionManagerEnabled) {
|
|
19604
|
-
const i = this.selectionData?.selectionOIDs?.length === 0 || this.selectionData?.selectionOIDs === void 0 || this.selectionData?.selectionSource ===
|
|
19603
|
+
const i = this.selectionData?.selectionOIDs?.length === 0 || this.selectionData?.selectionOIDs === void 0 || this.selectionData?.selectionSource === pe.ClearSelection, a = (this.selectionData?.selectionOIDs?.length ?? 0) > 0;
|
|
19605
19604
|
i ? e.clear() : a && this.selectionData?.selectionOIDs && e.replace(this.loadedLayer, this.selectionData.selectionOIDs);
|
|
19606
19605
|
}
|
|
19607
19606
|
}
|
|
@@ -19664,7 +19663,7 @@ class Pk extends eg {
|
|
|
19664
19663
|
};
|
|
19665
19664
|
}
|
|
19666
19665
|
_getDataUpdateNeededProps() {
|
|
19667
|
-
return
|
|
19666
|
+
return Fe({
|
|
19668
19667
|
forceDataUpdateTick: this.forceDataUpdateTick,
|
|
19669
19668
|
runtimeDataFilters: this.runtimeDataFilters,
|
|
19670
19669
|
returnFeaturesExtent: this.returnFeaturesExtent,
|
|
@@ -19706,7 +19705,7 @@ class Pk extends eg {
|
|
|
19706
19705
|
view: this.view,
|
|
19707
19706
|
viewTimeExtentChangePolicy: this.viewTimeExtentChangePolicy,
|
|
19708
19707
|
syncViewTimeExtent: this.syncViewTimeExtent
|
|
19709
|
-
}), u = this.selectionData?.selectionSource !==
|
|
19708
|
+
}), u = this.selectionData?.selectionSource !== pe.SelectionByClick && this.selectionData?.selectionSource !== pe.SelectionByRange && !gt(r?.selectionOIDs, this.selectionData?.selectionOIDs), d = await hh({
|
|
19710
19709
|
chartConfig: a,
|
|
19711
19710
|
chartData: this._processedChartData,
|
|
19712
19711
|
dataWasUpdated: n,
|
|
@@ -19731,7 +19730,7 @@ class Pk extends eg {
|
|
|
19731
19730
|
selectionItems: d
|
|
19732
19731
|
});
|
|
19733
19732
|
}
|
|
19734
|
-
i.selectionByIndexesChanged = this.selectionData?.selectionSource !==
|
|
19733
|
+
i.selectionByIndexesChanged = this.selectionData?.selectionSource !== pe.SelectionByClick && this.selectionData?.selectionSource !== pe.SelectionByRange && !gt(r?.selectionIndexes, this.selectionData?.selectionIndexes), i.selectionByItemsChanged = this.selectionData?.selectionSource !== pe.SelectionByClick && this.selectionData?.selectionSource !== pe.SelectionByRange && ph({
|
|
19735
19734
|
itemsA: r?.selectionItems,
|
|
19736
19735
|
itemsB: this.selectionData?.selectionItems,
|
|
19737
19736
|
isPieFromFields: l === V.PieFromFields,
|
|
@@ -19868,7 +19867,7 @@ class Pk extends eg {
|
|
|
19868
19867
|
_notifyDataFetchComplete(e) {
|
|
19869
19868
|
const i = this.internalModel?.config;
|
|
19870
19869
|
if (e && "dataItems" in e && i && W(i?.series) === y.PieSeries) {
|
|
19871
|
-
const a =
|
|
19870
|
+
const a = Fe(e);
|
|
19872
19871
|
a.dataItems = ub(a.dataItems, i), this.arcgisDataFetchComplete.emit(a);
|
|
19873
19872
|
}
|
|
19874
19873
|
}
|
|
@@ -19881,10 +19880,10 @@ class Pk extends eg {
|
|
|
19881
19880
|
this._checkForInvalidContainer(), a && this._checkForIncompatibleChartVersion();
|
|
19882
19881
|
const { queryObject: o } = await this._loadQueryObject.taskComplete;
|
|
19883
19882
|
if (o) {
|
|
19884
|
-
const n =
|
|
19883
|
+
const n = Lt(o, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled), s = await this._checkIfDataUpdateIsNeeded.taskComplete, { dataUpdateDetails: r } = s, l = s.dataUpdateNeeded, c = this._gatherComponentOptions(l), u = await this._prepareConfigForRendering.taskComplete;
|
|
19885
19884
|
let d = u?.alteredConfig ? { ...u.alteredConfig } : void 0;
|
|
19886
19885
|
const f = this._lastRenderedProps?.chartConfig;
|
|
19887
|
-
if (
|
|
19886
|
+
if (r?.common && f?.series && d?.series && (r.common.xOrYChanged = Ch(f.series, d.series), r.common.numberOfSeriesChanged = xh(f.series, d.series)), !d && !this.loadedLayer || Zl(d, this.loadedLayer) && await this._isChartSupportedByDataSource.taskComplete) {
|
|
19888
19887
|
let g = tc({
|
|
19889
19888
|
input: d,
|
|
19890
19889
|
queryObject: o,
|
|
@@ -19933,7 +19932,7 @@ class Pk extends eg {
|
|
|
19933
19932
|
p = p || v;
|
|
19934
19933
|
}
|
|
19935
19934
|
let C;
|
|
19936
|
-
const x =
|
|
19935
|
+
const x = Fe(d);
|
|
19937
19936
|
if ({ filteredConfig: d, seriesFilteredOut: C } = mp({
|
|
19938
19937
|
showEmptySeries: this.showEmptySeries ?? this.hideEmptySeries === !1,
|
|
19939
19938
|
config: d,
|
|
@@ -19941,7 +19940,7 @@ class Pk extends eg {
|
|
|
19941
19940
|
}), this._getData.status === Il.COMPLETE) {
|
|
19942
19941
|
const v = this._raiseNoDataWarning({ dataInfo: b, config: d, queryObject: o });
|
|
19943
19942
|
if (v)
|
|
19944
|
-
this._processedChartData =
|
|
19943
|
+
this._processedChartData = Fe(b.data), this._lastRenderedRevision = i ?? 0;
|
|
19945
19944
|
else if (!v && this._raiseLogScaleNotCompatibleWarning(o, b)) {
|
|
19946
19945
|
const T = kn({
|
|
19947
19946
|
oldConfig: C ? x : f,
|
|
@@ -19951,8 +19950,8 @@ class Pk extends eg {
|
|
|
19951
19950
|
T && vh({
|
|
19952
19951
|
alteredConfig: d,
|
|
19953
19952
|
dataInfo: b,
|
|
19954
|
-
fieldList:
|
|
19955
|
-
options:
|
|
19953
|
+
fieldList: n,
|
|
19954
|
+
options: c,
|
|
19956
19955
|
queryObject: o
|
|
19957
19956
|
}), await this._generateHeatChartClassBreaks(b, d), fr(f, d) && (p = !0);
|
|
19958
19957
|
const I = Wi(d) ? d.showMean : void 0, D = b?.data ?? this._sanitizedChartData, R = D && I && "meanLines" in D ? D.meanLines : jt(D);
|
|
@@ -20010,16 +20009,16 @@ class Pk extends eg {
|
|
|
20010
20009
|
data: b.data.dataItems,
|
|
20011
20010
|
newChartConfig: d,
|
|
20012
20011
|
pieSlicesSymbols: M,
|
|
20013
|
-
fieldList:
|
|
20014
|
-
}), this._processedChartData =
|
|
20012
|
+
fieldList: n
|
|
20013
|
+
}), this._processedChartData = Fe(b.data), !g.valid)
|
|
20015
20014
|
this._processInvalidConfigStatus(g, d);
|
|
20016
|
-
else if ((
|
|
20015
|
+
else if ((l || T) && (this._notifyDataProcessComplete(b.data), this._notifyDataFetchComplete(b.data)), !S) {
|
|
20017
20016
|
await this._completeChartOptionsWithSelectionInfo({
|
|
20018
|
-
options:
|
|
20017
|
+
options: c,
|
|
20019
20018
|
alteredConfig: d,
|
|
20020
20019
|
queryObject: o,
|
|
20021
|
-
dataUpdateNeeded:
|
|
20022
|
-
dataUpdateDetails:
|
|
20020
|
+
dataUpdateNeeded: l,
|
|
20021
|
+
dataUpdateDetails: r
|
|
20023
20022
|
}), this._hideInfoModal();
|
|
20024
20023
|
const P = await this._fetchAmChartsStrings.taskComplete;
|
|
20025
20024
|
_o(d) && nb({
|
|
@@ -20029,9 +20028,9 @@ class Pk extends eg {
|
|
|
20029
20028
|
const G = {
|
|
20030
20029
|
...{
|
|
20031
20030
|
chartConfig: d,
|
|
20032
|
-
options:
|
|
20031
|
+
options: c,
|
|
20033
20032
|
globalOptions: this._gatherComponentGlobalOptions(),
|
|
20034
|
-
dataUpdateDetails:
|
|
20033
|
+
dataUpdateDetails: r,
|
|
20035
20034
|
configWithAllSeries: x,
|
|
20036
20035
|
dataWasUpdated: p,
|
|
20037
20036
|
chartContainer: this._chartRef.value,
|