@arcgis/charts-components 5.2.0-next.79 → 5.2.0-next.84
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/2BA2QD2A.js +3 -0
- package/dist/cdn/{3EO4F26F.js → 2MF442VT.js} +1 -1
- package/dist/cdn/{52MUPDJX.js → 2YDNWOWT.js} +1 -1
- package/dist/cdn/{XUHTILLV.js → 3AYNHY7J.js} +1 -1
- package/dist/cdn/3H3PFQTD.js +2 -0
- package/dist/cdn/{SN4KBI42.js → 3KDTVBIG.js} +1 -1
- package/dist/cdn/{KBBPAMMT.js → 3SSQPYQA.js} +1 -1
- package/dist/cdn/{2GAKZXA7.js → 3YPGCLG4.js} +1 -1
- package/dist/cdn/{VMLRM5N5.js → 3ZKNY2GI.js} +1 -1
- package/dist/cdn/{JZFIYS3Q.js → 4KF7SUJE.js} +1 -1
- package/dist/cdn/{2ASLWSZG.js → 4U2HIMOR.js} +1 -1
- package/dist/cdn/{OILO7FSO.js → 52NR6B2J.js} +1 -1
- package/dist/cdn/{KOLRCFJY.js → 5DHMYPPF.js} +1 -1
- package/dist/cdn/5NGIGJYR.js +2 -0
- package/dist/cdn/62GSQDTE.js +2 -0
- package/dist/cdn/{IJWJOXQC.js → 6LV3ASGE.js} +1 -1
- package/dist/cdn/{UQQUQB2A.js → 6SQNRMJG.js} +1 -1
- package/dist/cdn/{O7LPETXX.js → 6WWEQU3O.js} +1 -1
- package/dist/cdn/{LJTJTGIW.js → 72KEQM4K.js} +1 -1
- package/dist/cdn/{Y3WKQVWR.js → 72VGCAR5.js} +1 -1
- package/dist/cdn/{DWGM7Z44.js → 7CZMR2WF.js} +1 -1
- package/dist/cdn/{JBDNBUXX.js → 7JA63ENU.js} +6 -6
- package/dist/cdn/{D3YWSIAT.js → 7P3FHJUU.js} +1 -1
- package/dist/cdn/{2AYYSMS5.js → 7SIKOCYK.js} +3 -3
- package/dist/cdn/{PBMWAGSX.js → 7ZAT46VE.js} +1 -1
- package/dist/cdn/{J6SZNFHT.js → ACMHG3RB.js} +1 -1
- package/dist/cdn/{EVXW4JIN.js → BV7UUWYI.js} +1 -1
- package/dist/cdn/{JILQHU4L.js → C5UI5MYS.js} +1 -1
- package/dist/cdn/{X7KNPTRQ.js → C7F4AVQU.js} +2 -2
- package/dist/cdn/{HVNUPBQA.js → CFOB77PI.js} +1 -1
- package/dist/cdn/{C5O4MQR2.js → CSOYZJU5.js} +1 -1
- package/dist/cdn/{4UZZHUBR.js → CVWT6DGY.js} +1 -1
- package/dist/cdn/{QK73NKPD.js → CXWBQG5O.js} +1 -1
- package/dist/cdn/{KBADZKOP.js → DE3CJJG3.js} +1 -1
- package/dist/cdn/{DB2GBCE3.js → DKC4NIUA.js} +1 -1
- package/dist/cdn/{3OW3AP7E.js → DW5NK2B3.js} +1 -1
- package/dist/cdn/{JMYWZDZT.js → DZWIVB6V.js} +1 -1
- package/dist/cdn/EMOHROY3.js +2 -0
- package/dist/cdn/{55MAADXE.js → EYYTKCXM.js} +1 -1
- package/dist/cdn/{HEVW64SC.js → EZLKMWI5.js} +1 -1
- package/dist/cdn/{PCAFQL35.js → F3LVXDV4.js} +1 -1
- package/dist/cdn/{CPTM5D3G.js → FBU4ODQE.js} +1 -1
- package/dist/cdn/{FWLBHMGZ.js → FQKGQHVK.js} +1 -1
- package/dist/cdn/{WIU4Z5RB.js → FRTPDJGW.js} +1 -1
- package/dist/cdn/{TS7M5QXS.js → G45UKTNI.js} +1 -1
- package/dist/cdn/{4B2OSQ56.js → GDGYKODO.js} +1 -1
- package/dist/cdn/{YWYUS2YB.js → GX64OP3A.js} +1 -1
- package/dist/cdn/{TVQYI2GA.js → GZEVPH4Y.js} +1 -1
- package/dist/cdn/{5UKSJH54.js → HDIBDW52.js} +1 -1
- package/dist/cdn/{SCBFWKS5.js → HOASAQAB.js} +1 -1
- package/dist/cdn/{FNTOEKMU.js → HQ2JPCTQ.js} +1 -1
- package/dist/cdn/{LYE5P3IM.js → I3BMYY7N.js} +1 -1
- package/dist/cdn/{BRQQTNPP.js → IN2IL6T2.js} +1 -1
- package/dist/cdn/IVM37XFX.js +2 -0
- package/dist/cdn/JMMNRCD4.js +2 -0
- package/dist/cdn/JQM5R6XW.js +2 -0
- package/dist/cdn/{6WE5NXCL.js → JUU3BZT7.js} +1 -1
- package/dist/cdn/{IC7XPCCD.js → KAQ5XSCQ.js} +1 -1
- package/dist/cdn/{ARBNJ22B.js → KG574LAE.js} +1 -1
- package/dist/cdn/{REUSRETW.js → KHJC5P5T.js} +1 -1
- package/dist/cdn/{RZHWMERW.js → KYOBS7XL.js} +1 -1
- package/dist/cdn/KZSCAJDG.js +2 -0
- package/dist/cdn/{IPEJCIHO.js → L4BZX57U.js} +1 -1
- package/dist/cdn/L5JZ5COY.js +2 -0
- package/dist/cdn/LCTDNI27.js +2 -0
- package/dist/cdn/{XGOJWQ2M.js → LM6VCILT.js} +1 -1
- package/dist/cdn/{L4E3VJVV.js → LMTSW3JM.js} +1 -1
- package/dist/cdn/{3U6ESLPG.js → LPS3VU35.js} +1 -1
- package/dist/cdn/{6IQK654E.js → M6OCFMDB.js} +1 -1
- package/dist/cdn/{N7C7MXPK.js → MITW5XKW.js} +1 -1
- package/dist/cdn/{RXIRNKPO.js → MJHVSD5B.js} +1 -1
- package/dist/cdn/{KS5BBSHY.js → MNYNXHXE.js} +1 -1
- package/dist/cdn/{4V4XGO3V.js → NH2A5QEU.js} +1 -1
- package/dist/cdn/NIDXK3GN.js +2 -0
- package/dist/cdn/{OTCRP3JF.js → OMORDJT2.js} +1 -1
- package/dist/cdn/{GRFUVWBR.js → OYXDCECZ.js} +1 -1
- package/dist/cdn/{DAFNQT4C.js → P3AYFJRV.js} +1 -1
- package/dist/cdn/{DNBUCAK5.js → PF6QOHZR.js} +1 -1
- package/dist/cdn/{TGP4YGPD.js → PMTNALXO.js} +1 -1
- package/dist/cdn/{K4APZJ2O.js → PWJBGZPW.js} +1 -1
- package/dist/cdn/{7MXV56XK.js → QIG7WTJF.js} +1 -1
- package/dist/cdn/{F4YJZZ3Z.js → QXQC4CH5.js} +1 -1
- package/dist/cdn/{KJZTU3DV.js → QYRHZJH3.js} +1 -1
- package/dist/cdn/{NIDK3VNZ.js → R5VDQBUH.js} +1 -1
- package/dist/cdn/{HHZOC34D.js → RCAPTQFV.js} +1 -1
- package/dist/cdn/{UROIIO5G.js → RPUEIRTH.js} +1 -1
- package/dist/cdn/S2HIF3ZX.js +2 -0
- package/dist/cdn/{6ILCVW7Y.js → SC26LLWP.js} +1 -1
- package/dist/cdn/{AGPCWGX5.js → SILDOKXS.js} +1 -1
- package/dist/cdn/{ZFVW3OFJ.js → TBW6K2TY.js} +1 -1
- package/dist/cdn/{JYC77MVD.js → TENIFMA5.js} +1 -1
- package/dist/cdn/{JQU6SHEI.js → TSU6UVTL.js} +1 -1
- package/dist/cdn/{TMGMKM5F.js → U3542JBJ.js} +1 -1
- package/dist/cdn/U7GQGHZY.js +2 -0
- package/dist/cdn/{ANIGKAAB.js → UYDDYD3O.js} +1 -1
- package/dist/cdn/{F7UO7P33.js → V3ITNIER.js} +1 -1
- package/dist/cdn/VQU2TVX7.js +3 -0
- package/dist/cdn/{OAGFPD22.js → VSPKBQS6.js} +1 -1
- package/dist/cdn/{XPWRCAVM.js → WC22SRVJ.js} +1 -1
- package/dist/cdn/{5TACWRME.js → XBRRJQVR.js} +1 -1
- package/dist/cdn/{AVJGLPDW.js → XFCDAI5T.js} +1 -1
- package/dist/cdn/{O3I5M2SH.js → XHZAAQMF.js} +1 -1
- package/dist/cdn/{DEEDTMN2.js → XU7TGV75.js} +1 -1
- package/dist/cdn/XVCBLLWW.js +2 -0
- package/dist/cdn/{EUTOQQ3S.js → YAWW63A5.js} +1 -1
- package/dist/cdn/ZDUW3TBJ.js +2 -0
- package/dist/cdn/{4XM7Q33B.js → ZGIM53IQ.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/action-bar-utils.js +17 -17
- package/dist/chunks/axis-lines-symbol.js +1 -1
- package/dist/chunks/bar-chart-model.js +11 -11
- package/dist/chunks/box-plot-data.js +73 -73
- package/dist/chunks/box-plot-model.js +8 -8
- package/dist/chunks/chart-model.js +33 -33
- package/dist/chunks/chart-object-literals.js +24 -24
- package/dist/chunks/chart-ui-utils.js +149 -68
- package/dist/chunks/chart-ui-utils2.js +68 -149
- package/dist/chunks/class-breaks.js +14 -14
- package/dist/chunks/combo-bar-line-chart-model.js +35 -35
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +30 -30
- package/dist/chunks/data.js +40 -40
- package/dist/chunks/default.js +6 -6
- package/dist/chunks/gauge-model.js +58 -58
- package/dist/chunks/generate-x-axis-title.js +22 -22
- package/dist/chunks/heat-chart-model.js +11 -11
- package/dist/chunks/histogram-data.js +21 -21
- package/dist/chunks/histogram-model.js +12 -12
- package/dist/chunks/index.js +9364 -1103
- package/dist/chunks/index2.js +836 -9337
- package/dist/chunks/index3.js +1166 -865
- package/dist/chunks/index4.js +8 -8
- package/dist/chunks/index5.js +5 -5
- package/dist/chunks/interfaces.js +9 -9
- package/dist/chunks/line-chart-model.js +9 -9
- package/dist/chunks/model-setter.js +3 -3
- package/dist/chunks/model-types.js +1 -1
- package/dist/chunks/model-with-y-guides.js +13 -13
- package/dist/chunks/negative-values-stacked-to-baseline.js +7 -7
- package/dist/chunks/pie-chart-data.js +10 -10
- package/dist/chunks/pie-chart-model.js +35 -35
- package/dist/chunks/radar-chart-model.js +14 -14
- package/dist/chunks/resource.js +5 -5
- package/dist/chunks/rest-js-object-literals.js +10 -10
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +7 -7
- package/dist/chunks/scatterplot-model.js +11 -11
- package/dist/chunks/serial-chart-data.js +165 -165
- package/dist/chunks/serial-chart-model.js +14 -14
- package/dist/chunks/series-length.js +17 -17
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +7 -7
- package/dist/chunks/type-guards2.js +25 -25
- package/dist/chunks/utils.js +23 -23
- package/dist/chunks/utils2.js +9 -9
- package/dist/chunks/web-component-utils.js +63 -63
- package/dist/chunks/x-bounds.js +28 -28
- package/dist/components/arcgis-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-chart/customElement.js +11 -11
- package/dist/components/arcgis-charts-action-bar/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +11 -18
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +17 -17
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +16 -16
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +29 -36
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +21 -21
- package/dist/components/arcgis-charts-config-font-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-format/customElement.js +17 -17
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +14 -14
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +31 -31
- package/dist/components/arcgis-charts-config-histogram/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +14 -14
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +22 -22
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
- package/dist/components/arcgis-charts-info-modal/customElement.js +2 -2
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +175 -175
- package/dist/utils/chart-config/converter/index.js +36 -36
- package/dist/utils/defaults/index.d.ts +15 -2
- package/dist/utils/defaults/interfaces.d.ts +66 -8
- package/package.json +5 -5
- package/dist/cdn/37TEXJ7K.js +0 -2
- package/dist/cdn/4DPFB567.js +0 -3
- package/dist/cdn/FDXSZJWC.js +0 -2
- package/dist/cdn/HXSSY2BO.js +0 -2
- package/dist/cdn/IAMJ6CBO.js +0 -3
- package/dist/cdn/IONJLIQQ.js +0 -2
- package/dist/cdn/JKT2UC2C.js +0 -2
- package/dist/cdn/JZVACQMQ.js +0 -2
- package/dist/cdn/N6FMZQZN.js +0 -2
- package/dist/cdn/PCHCBNEX.js +0 -2
- package/dist/cdn/QPTQD3ZH.js +0 -2
- package/dist/cdn/RPQJ6RNZ.js +0 -2
- package/dist/cdn/U43J5GMJ.js +0 -2
- package/dist/cdn/UEUCI74S.js +0 -2
- package/dist/cdn/WFNHDRCX.js +0 -2
- package/dist/cdn/WVIP7B4W.js +0 -2
- package/dist/cdn/ZAGOBG3W.js +0 -2
- /package/dist/cdn/{7SBVBD4E.js → KWN3N6VE.js} +0 -0
package/dist/chunks/index3.js
CHANGED
|
@@ -1,919 +1,1220 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import Q from "
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
},
|
|
19
|
-
|
|
20
|
-
|
|
2
|
+
import { g as D, t as P, a, d as u, f as w, h as V, b as R, e as W, S as j, k as $, s as Q, c as J } from "./chart-object-literals.js";
|
|
3
|
+
import { a as y, b as m, R as L, e as N } from "./rest-js-object-literals.js";
|
|
4
|
+
import "@arcgis/toolkit/type";
|
|
5
|
+
const C = "25.2.0", K = {
|
|
6
|
+
Reject: "reject",
|
|
7
|
+
RenderUpToTheLimit: "renderUpToTheLimit"
|
|
8
|
+
}, s = {
|
|
9
|
+
AxisLabels: "axisLabels",
|
|
10
|
+
GuideLabel: "guideLabel",
|
|
11
|
+
AxisTitle: "axisTitle",
|
|
12
|
+
ChartTitle: "chartTitle",
|
|
13
|
+
ChartSubtitle: "chartSubtitle",
|
|
14
|
+
DataLabels: "dataLabels",
|
|
15
|
+
LegendTitle: "legendTitle",
|
|
16
|
+
LegendText: "legendText",
|
|
17
|
+
DescriptionText: "descriptionText"
|
|
18
|
+
}, Te = 32, pe = "arcgis_charts_features_extent", De = {
|
|
19
|
+
maxRecordCountFactor: 5,
|
|
20
|
+
maxParallelRequests: 4,
|
|
21
|
+
maxRecords: 2e3,
|
|
22
|
+
orderByJSAPIDelimiter: " ",
|
|
23
|
+
outStatistics: {
|
|
24
|
+
statisticType: j.statisticType,
|
|
25
|
+
onStatisticField: "OBJECTID",
|
|
26
|
+
outStatisticFieldName: "arcgis_charts_outStatisticFieldName_default_key"
|
|
21
27
|
},
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
},
|
|
106
|
-
xAxisTitleLabel: {
|
|
107
|
-
align: "center",
|
|
108
|
-
valign: "middle",
|
|
109
|
-
rotation: 0,
|
|
110
|
-
fontSize: 10,
|
|
111
|
-
wrap: !0
|
|
112
|
-
},
|
|
113
|
-
yAxisTitleLabel: {
|
|
114
|
-
align: "center",
|
|
115
|
-
valign: "middle",
|
|
116
|
-
rotation: 270,
|
|
117
|
-
wrap: !0
|
|
118
|
-
},
|
|
119
|
-
titleLabel: {
|
|
120
|
-
align: "center",
|
|
121
|
-
wrap: !0
|
|
122
|
-
},
|
|
123
|
-
subtitleLabel: {
|
|
124
|
-
align: "center",
|
|
125
|
-
wrap: !0
|
|
126
|
-
},
|
|
127
|
-
horizontalSurfaceGuideLabels: {
|
|
128
|
-
horizontalCenter: "right",
|
|
129
|
-
align: "right",
|
|
130
|
-
verticalCenter: "middle",
|
|
131
|
-
wrap: !0
|
|
132
|
-
},
|
|
133
|
-
horizontalLineGuideLabels: {
|
|
134
|
-
horizontalCenter: "right",
|
|
135
|
-
align: "right",
|
|
136
|
-
verticalCenter: "top",
|
|
137
|
-
wrap: !0
|
|
138
|
-
},
|
|
139
|
-
verticalSurfaceGuideLabels: {
|
|
140
|
-
horizontalCenter: "center",
|
|
141
|
-
verticalCenter: "top",
|
|
142
|
-
valign: "top"
|
|
143
|
-
},
|
|
144
|
-
verticalLineGuideLabels: {
|
|
145
|
-
horizontalCenter: "right",
|
|
146
|
-
verticalCenter: "bottom",
|
|
147
|
-
valign: "top",
|
|
148
|
-
wrap: !0,
|
|
149
|
-
rotation: 90
|
|
150
|
-
},
|
|
151
|
-
guideAbove: !1,
|
|
152
|
-
cursorCrosshair: {
|
|
28
|
+
uniqueIds: "arcgisChartsUniqueIds",
|
|
29
|
+
heatChartLowerBoundaryAlias: "lowerBoundary5x1",
|
|
30
|
+
heatChartUpperBoundaryAlias: "upperBoundary5x1",
|
|
31
|
+
defaultStatParameterValue: 0.5
|
|
32
|
+
}, Pe = ["EXPR_1", "Expr1", "expr1", "EXPR1"], Le = 1, d = 0.7, X = 25, M = [156, 156, 156, 255], Y = [156, 156, 156, 255], Be = L.Solid, ve = 2, Fe = {
|
|
33
|
+
defaultGroupOfSlicesId: "arcgis_charts_group_of_slices",
|
|
34
|
+
sliceIdPrefix: "arcgis-charts-slice-id",
|
|
35
|
+
undefinedSliceId: "arcgis-charts-slice-id-undefined",
|
|
36
|
+
nullSliceId: "arcgis-charts-slice-id-null",
|
|
37
|
+
emptySliceId: "arcgis-charts-slice-id-empty"
|
|
38
|
+
}, Z = "arcgis_charts_box_plot_category", Ae = {
|
|
39
|
+
valueField: "arcgis_charts_heat_chart_value",
|
|
40
|
+
xField: "arcgis_charts_heat_chart_x",
|
|
41
|
+
yField: "arcgis_charts_heat_chart_y"
|
|
42
|
+
}, _e = "arcgis_charts_heat_chart_empty_cell", ke = {
|
|
43
|
+
min: 1,
|
|
44
|
+
max: 10
|
|
45
|
+
}, Re = {
|
|
46
|
+
axisMinimum: 0,
|
|
47
|
+
axisMaximum: 100
|
|
48
|
+
}, Oe = {
|
|
49
|
+
/** Gauge */
|
|
50
|
+
gaugeFirstLabelId: "arcgis_charts_gauge_first_label",
|
|
51
|
+
gaugeLastLabelId: "arcgis_charts_gauge_last_label"
|
|
52
|
+
}, ee = [
|
|
53
|
+
[31, 120, 180, 255],
|
|
54
|
+
[166, 206, 227, 255],
|
|
55
|
+
[51, 160, 44, 255],
|
|
56
|
+
[178, 223, 138, 255],
|
|
57
|
+
[227, 26, 28, 255],
|
|
58
|
+
[251, 154, 153, 255],
|
|
59
|
+
[255, 127, 0, 255],
|
|
60
|
+
[253, 191, 111, 255],
|
|
61
|
+
[106, 61, 154, 255],
|
|
62
|
+
[202, 178, 214, 255]
|
|
63
|
+
], Ie = [
|
|
64
|
+
[90, 180, 255, 255],
|
|
65
|
+
// blue
|
|
66
|
+
[165, 220, 255, 255],
|
|
67
|
+
// light blue
|
|
68
|
+
[90, 215, 80, 255],
|
|
69
|
+
// green
|
|
70
|
+
[165, 245, 150, 255],
|
|
71
|
+
// light green
|
|
72
|
+
[255, 80, 85, 255],
|
|
73
|
+
// red
|
|
74
|
+
[255, 170, 170, 255],
|
|
75
|
+
// pink
|
|
76
|
+
[255, 165, 70, 255],
|
|
77
|
+
// orange
|
|
78
|
+
[255, 205, 130, 255],
|
|
79
|
+
// light orange
|
|
80
|
+
[155, 110, 255, 255],
|
|
81
|
+
// purple
|
|
82
|
+
[220, 195, 255, 255]
|
|
83
|
+
// lilac
|
|
84
|
+
], te = [
|
|
85
|
+
[104, 104, 104, 255],
|
|
86
|
+
[51, 124, 235, 255],
|
|
87
|
+
[132, 0, 168, 255],
|
|
88
|
+
[156, 156, 156, 255]
|
|
89
|
+
], we = [
|
|
90
|
+
[104, 104, 104, 255],
|
|
91
|
+
// std deviation – neutral gray
|
|
92
|
+
[51, 124, 235, 255],
|
|
93
|
+
// mean – saturated blue
|
|
94
|
+
[175, 90, 255, 255],
|
|
95
|
+
// median – lighter purple
|
|
96
|
+
[156, 156, 156, 255]
|
|
97
|
+
// normal curve – subtle light gray
|
|
98
|
+
], Ne = [255, 255, 255, 255], Me = [43, 43, 43, 255], He = [0, 122, 194, 255], qe = [255, 255, 255, 255], Ue = [0, 0, 0, 255], H = [150, 150, 150, 178.5];
|
|
99
|
+
function x(t) {
|
|
100
|
+
const { colorIndex: e, opacity: r, histogramOverlays: l } = t, S = Math.max(0, e ?? 0), c = [...l === !0 ? te : ee], [p, v, z, E] = c[S % c.length], G = r !== void 0 ? r * 255 : E;
|
|
101
|
+
return [p, v, z, G];
|
|
102
|
+
}
|
|
103
|
+
function q(t) {
|
|
104
|
+
return [0, 0, 0, (t ?? d) * 255];
|
|
105
|
+
}
|
|
106
|
+
function ze() {
|
|
107
|
+
return {
|
|
108
|
+
type: a.CursorCrosshair,
|
|
109
|
+
verticalLineVisible: !1,
|
|
110
|
+
horizontalLineVisible: !1,
|
|
153
111
|
style: {
|
|
154
112
|
type: m.SLS,
|
|
155
|
-
style:
|
|
156
|
-
color: [
|
|
113
|
+
style: L.Dot,
|
|
114
|
+
color: [211, 211, 211, 255],
|
|
157
115
|
width: 1
|
|
158
|
-
},
|
|
159
|
-
horizontalLineVisible: !1,
|
|
160
|
-
verticalLineVisible: !1
|
|
161
|
-
},
|
|
162
|
-
gauge: {
|
|
163
|
-
innerRadius: 80,
|
|
164
|
-
radius: 80,
|
|
165
|
-
startAngle: -180,
|
|
166
|
-
endAngle: 180,
|
|
167
|
-
innerLabelToInnerChartRatio: 0.5,
|
|
168
|
-
// 50% of the chart's size, considering the inner radius
|
|
169
|
-
axisLabelToInnerChartRatio: 0.13,
|
|
170
|
-
// ~= 40 / 300: font size 40 for a 300px gauge
|
|
171
|
-
innerLabelAutoMinFontSize: 14,
|
|
172
|
-
innerLabelAutoMaxFontSize: 100,
|
|
173
|
-
axisLabelAutoMinFontSize: 14,
|
|
174
|
-
axisLabelAutoMaxFontSize: 40,
|
|
175
|
-
gaugeMinGridDistance: 1,
|
|
176
|
-
axisMinimum: 0,
|
|
177
|
-
axisMaximum: 100,
|
|
178
|
-
numberOfLabelIntervals: 5,
|
|
179
|
-
numberOfTicksBetweenTwoLabels: 4,
|
|
180
|
-
maximumNumberOfLabelIntervals: 24,
|
|
181
|
-
// result in 25 maximum number of axis labels
|
|
182
|
-
paddingTop: 10,
|
|
183
|
-
paddingBottom: 10,
|
|
184
|
-
paddingRight: 5,
|
|
185
|
-
paddingLeft: 5
|
|
186
|
-
},
|
|
187
|
-
gaugeTicksLength: 7,
|
|
188
|
-
gaugeInnerLabel: {
|
|
189
|
-
horizontalCenter: "center",
|
|
190
|
-
verticalCenter: "middle"
|
|
191
|
-
},
|
|
192
|
-
gaugeNeedle: {
|
|
193
|
-
startWidth: 10,
|
|
194
|
-
endWidth: 1,
|
|
195
|
-
innerRadius: 25,
|
|
196
|
-
displayPin: !1
|
|
197
|
-
},
|
|
198
|
-
// containers
|
|
199
|
-
headerContainer: {
|
|
200
|
-
layout: "vertical",
|
|
201
|
-
width: "100%",
|
|
202
|
-
paddingBottom: 5
|
|
203
|
-
},
|
|
204
|
-
footerContainer: {
|
|
205
|
-
layout: "vertical",
|
|
206
|
-
width: "100%",
|
|
207
|
-
paddingTop: 5,
|
|
208
|
-
paddingBottom: 15
|
|
209
|
-
},
|
|
210
|
-
paddingMinSize: 0,
|
|
211
|
-
marginMinSize: 0,
|
|
212
|
-
chartPaddingMinSize: 7,
|
|
213
|
-
chartPaddingRightWhenLegendNotOnRight: 15,
|
|
214
|
-
chartAndLegendContainer: {
|
|
215
|
-
paddingTop: 0
|
|
216
|
-
},
|
|
217
|
-
chartContainer: {
|
|
218
|
-
paddingBottom: 0,
|
|
219
|
-
paddingTop: 15
|
|
220
|
-
},
|
|
221
|
-
chartContainerPaddingTopWhenRotated: 5,
|
|
222
|
-
dataLabelInitialize: {
|
|
223
|
-
strokeWidth: 0,
|
|
224
|
-
applyOnClones: !0
|
|
225
|
-
},
|
|
226
|
-
dataLabel: {
|
|
227
|
-
align: "center",
|
|
228
|
-
horizontalCenter: "center",
|
|
229
|
-
valign: "bottom",
|
|
230
|
-
verticalCenter: "top",
|
|
231
|
-
dy: -3
|
|
232
|
-
},
|
|
233
|
-
dataLabelRotated: {
|
|
234
|
-
align: "right",
|
|
235
|
-
horizontalCenter: "right",
|
|
236
|
-
valign: "middle",
|
|
237
|
-
verticalCenter: "middle",
|
|
238
|
-
dx: 2
|
|
239
|
-
},
|
|
240
|
-
dataLabelStackedRotated: {
|
|
241
|
-
align: "center",
|
|
242
|
-
horizontalCenter: "center",
|
|
243
|
-
valign: "middle",
|
|
244
|
-
verticalCenter: "middle"
|
|
245
|
-
},
|
|
246
|
-
dataLabelStackedNonRotated: {
|
|
247
|
-
align: "center",
|
|
248
|
-
horizontalCenter: "center",
|
|
249
|
-
valign: "middle",
|
|
250
|
-
verticalCenter: "middle"
|
|
251
|
-
},
|
|
252
|
-
dataLabelNegative: {
|
|
253
|
-
paddingTop: 5,
|
|
254
|
-
paddingRight: 5
|
|
255
|
-
},
|
|
256
|
-
rotatedChartPadding: {
|
|
257
|
-
paddingTop: 2,
|
|
258
|
-
paddingRight: 2
|
|
259
|
-
},
|
|
260
|
-
scatterplotSeries: {
|
|
261
|
-
strokeOpacity: 0,
|
|
262
|
-
r2: Number.NaN,
|
|
263
|
-
trendLinePoints: [{}, {}]
|
|
264
|
-
},
|
|
265
|
-
histogramSeries: {
|
|
266
|
-
normalDistribNumberOfPoints: 100
|
|
267
|
-
},
|
|
268
|
-
lineSeries: {
|
|
269
|
-
strokeWidth: 2,
|
|
270
|
-
lineSmoothed: !1,
|
|
271
|
-
lineSmoothedKind: se.Bezier,
|
|
272
|
-
showArea: !1,
|
|
273
|
-
areaOpacity: 0.25,
|
|
274
|
-
markerVisible: !0,
|
|
275
|
-
rotated: !1,
|
|
276
|
-
stackedType: oe.Side,
|
|
277
|
-
stackNegativeValuesToBaseline: !0,
|
|
278
|
-
marker: {
|
|
279
|
-
markerBigSize: 7,
|
|
280
|
-
markerSizeThresholdForTooltipDisplay: 9,
|
|
281
|
-
markerStyle: ce.Circle
|
|
282
116
|
}
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
function k(t = 1) {
|
|
120
|
+
return [
|
|
121
|
+
Math.floor(Math.random() * 256),
|
|
122
|
+
Math.floor(Math.random() * 256),
|
|
123
|
+
Math.floor(Math.random() * 256),
|
|
124
|
+
t * 255
|
|
125
|
+
];
|
|
126
|
+
}
|
|
127
|
+
function n(t) {
|
|
128
|
+
const e = {
|
|
129
|
+
family: "Arial, Helvetica, sans-serif",
|
|
130
|
+
size: 10
|
|
131
|
+
};
|
|
132
|
+
switch (t) {
|
|
133
|
+
case s.ChartTitle:
|
|
134
|
+
e.size = 18;
|
|
135
|
+
break;
|
|
136
|
+
case s.AxisTitle:
|
|
137
|
+
e.size = 14;
|
|
138
|
+
break;
|
|
139
|
+
case s.LegendText:
|
|
140
|
+
e.size = 12;
|
|
141
|
+
break;
|
|
142
|
+
case s.LegendTitle:
|
|
143
|
+
e.size = 13;
|
|
144
|
+
break;
|
|
145
|
+
case s.DescriptionText:
|
|
146
|
+
e.size = 11;
|
|
147
|
+
break;
|
|
148
|
+
}
|
|
149
|
+
return e;
|
|
150
|
+
}
|
|
151
|
+
function U(t = "", e = n(), r) {
|
|
152
|
+
let l = "center";
|
|
153
|
+
return (r === s.DataLabels || r === s.GuideLabel) && (l = void 0), {
|
|
154
|
+
type: m.TS,
|
|
155
|
+
color: q(),
|
|
156
|
+
text: t,
|
|
157
|
+
font: e,
|
|
158
|
+
horizontalAlignment: l
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
function o(t) {
|
|
162
|
+
const { text: e, visible: r, font: l, type: S } = t ?? {
|
|
163
|
+
text: "",
|
|
164
|
+
visible: !0,
|
|
165
|
+
font: n()
|
|
166
|
+
};
|
|
167
|
+
return {
|
|
168
|
+
type: a.Text,
|
|
169
|
+
visible: r,
|
|
170
|
+
content: U(e, l, S)
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
function B(t) {
|
|
174
|
+
const e = t?.useRandomColor ?? !1, r = t?.useRampColor, l = t?.width ?? 1, S = t?.isHistogramOverlay;
|
|
175
|
+
let c = t?.color ?? q(1);
|
|
176
|
+
return e ? c = k() : r !== void 0 && (S === !0 ? c = x({
|
|
177
|
+
colorIndex: r.colorIndex,
|
|
178
|
+
histogramOverlays: S
|
|
179
|
+
}) : c = x({ colorIndex: r.colorIndex })), t?.opacity !== void 0 && (c[3] = t.opacity), {
|
|
180
|
+
type: m.SLS,
|
|
181
|
+
style: L.Solid,
|
|
182
|
+
color: c,
|
|
183
|
+
width: l
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
function ae() {
|
|
187
|
+
return {
|
|
188
|
+
type: a.CategoryAxisFormat,
|
|
189
|
+
characterLimit: 11
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
function Ee() {
|
|
193
|
+
return {
|
|
194
|
+
type: a.DateAxisFormat,
|
|
195
|
+
intlOptions: {}
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
function O() {
|
|
199
|
+
return {
|
|
200
|
+
type: a.NumberAxisFormat,
|
|
201
|
+
intlOptions: {
|
|
202
|
+
style: "decimal",
|
|
203
|
+
minimumFractionDigits: 0,
|
|
204
|
+
maximumFractionDigits: 3,
|
|
205
|
+
useGrouping: !0
|
|
356
206
|
}
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
tileSize: 50,
|
|
367
|
-
diagonalTileSize: 1200
|
|
368
|
-
},
|
|
369
|
-
patternRectProperties: {
|
|
370
|
-
rectWidth: 9,
|
|
371
|
-
rectHeight: 9,
|
|
372
|
-
width: 10,
|
|
373
|
-
height: 10,
|
|
374
|
-
strokeWidth: 0.3,
|
|
375
|
-
fillOpacity: 0
|
|
376
|
-
},
|
|
377
|
-
originalXValue: "arcgis_charts_original_x_value",
|
|
378
|
-
originalYCategoryValue: "arcgis_charts_original_category_y_value",
|
|
379
|
-
dateBinningRange: "arcgis_charts_bin_range",
|
|
380
|
-
originalServerBinningRange: "arcgis_charts_server_bin_range",
|
|
381
|
-
dateBinModel: "arcgis_charts_bin_model",
|
|
382
|
-
xAxisField: "arcgis_charts_x_axis_field",
|
|
383
|
-
xAxisDisplayField: "arcgis_charts_x_axis_display_field",
|
|
384
|
-
nullValue: "arcgis_charts_null",
|
|
385
|
-
emptyStringValue: "arcgis_charts_empty",
|
|
386
|
-
queryMaxFloatPrecision: 10,
|
|
387
|
-
dateFormatUTC: {
|
|
388
|
-
timeZone: "UTC",
|
|
389
|
-
year: "numeric",
|
|
390
|
-
month: "numeric",
|
|
391
|
-
day: "numeric",
|
|
392
|
-
hour: "numeric",
|
|
393
|
-
minute: "numeric",
|
|
394
|
-
second: "numeric",
|
|
395
|
-
hour12: !1
|
|
396
|
-
},
|
|
397
|
-
dayDefaultFormat: {
|
|
398
|
-
day: "numeric",
|
|
399
|
-
month: "short"
|
|
400
|
-
},
|
|
401
|
-
weekDefaultFormat: {
|
|
402
|
-
day: "numeric",
|
|
403
|
-
month: "short"
|
|
404
|
-
},
|
|
405
|
-
rendererOtherValue: "arcgisChartsrendererOtherValue",
|
|
406
|
-
rendererSymbolField: "arcgis_charts_renderer_symbol",
|
|
407
|
-
rendererSymbolFieldForHistogram: "symbol",
|
|
408
|
-
scatterplotAggregationFields: {
|
|
409
|
-
dataContextXMinField: "arcgis_charts_xmin",
|
|
410
|
-
dataContextXMaxField: "arcgis_charts_xmax",
|
|
411
|
-
dataContextYMinField: "arcgis_charts_ymin",
|
|
412
|
-
dataContextYMaxField: "arcgis_charts_ymax",
|
|
413
|
-
dataContextCountDistinctX: "distinctX",
|
|
414
|
-
dataContextCountDistinctY: "distinctY",
|
|
415
|
-
queryNumberOfFeatures: "numberOfFeatures",
|
|
416
|
-
queryNumberOfAggregatedFeatures: "numberOfAggregatedFeatures",
|
|
417
|
-
xStep: "xStep",
|
|
418
|
-
yStep: "yStep",
|
|
419
|
-
rowCount: "rowCount",
|
|
420
|
-
columnCount: "columnCount",
|
|
421
|
-
realGridSize: "realGridSize"
|
|
422
|
-
},
|
|
423
|
-
dataTooltipVisible: !0,
|
|
424
|
-
dataTooltipStyle: {
|
|
425
|
-
outline: {
|
|
426
|
-
type: m.SLS,
|
|
427
|
-
color: [255, 255, 255, 255],
|
|
428
|
-
width: 1
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
function Ge() {
|
|
210
|
+
return {
|
|
211
|
+
type: a.NumberAxisFormat,
|
|
212
|
+
intlOptions: {
|
|
213
|
+
style: "decimal",
|
|
214
|
+
minimumFractionDigits: 0,
|
|
215
|
+
maximumFractionDigits: 2
|
|
429
216
|
}
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
function Ve() {
|
|
220
|
+
return {
|
|
221
|
+
type: a.NumberAxisFormat,
|
|
222
|
+
intlOptions: {
|
|
223
|
+
style: "percent",
|
|
224
|
+
minimumFractionDigits: 0,
|
|
225
|
+
maximumFractionDigits: 0
|
|
436
226
|
}
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
function A(t = "Category Axis") {
|
|
230
|
+
const e = o({
|
|
231
|
+
text: t,
|
|
232
|
+
visible: !0,
|
|
233
|
+
font: n(s.AxisTitle)
|
|
234
|
+
});
|
|
235
|
+
e.content.horizontalAlignment = "center", e.content.verticalAlignment = "middle";
|
|
236
|
+
const r = o({
|
|
237
|
+
text: t,
|
|
238
|
+
visible: !0,
|
|
239
|
+
font: n(s.AxisLabels)
|
|
240
|
+
});
|
|
241
|
+
return {
|
|
242
|
+
type: a.Axis,
|
|
243
|
+
visible: !0,
|
|
244
|
+
title: e,
|
|
245
|
+
labels: r,
|
|
246
|
+
valueFormat: ae(),
|
|
247
|
+
lineSymbol: B({ color: M })
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
function _(t = "Value Axis") {
|
|
251
|
+
const e = o({
|
|
252
|
+
text: t,
|
|
253
|
+
visible: !0,
|
|
254
|
+
font: n(s.AxisTitle)
|
|
255
|
+
}), r = o({
|
|
256
|
+
text: t,
|
|
257
|
+
visible: !0,
|
|
258
|
+
font: n(s.AxisLabels)
|
|
259
|
+
});
|
|
260
|
+
return e.content.verticalAlignment = "middle", e.content.horizontalAlignment = "center", {
|
|
261
|
+
type: a.Axis,
|
|
262
|
+
visible: !0,
|
|
263
|
+
title: e,
|
|
264
|
+
labels: r,
|
|
265
|
+
valueFormat: O(),
|
|
266
|
+
lineSymbol: B({ color: M })
|
|
267
|
+
};
|
|
268
|
+
}
|
|
269
|
+
function h() {
|
|
270
|
+
return {
|
|
271
|
+
type: a.Legend,
|
|
272
|
+
visible: !0,
|
|
273
|
+
title: o({
|
|
274
|
+
text: "",
|
|
275
|
+
visible: !0,
|
|
276
|
+
font: n(s.LegendTitle)
|
|
277
|
+
}),
|
|
278
|
+
body: U("", n(s.LegendText)),
|
|
279
|
+
position: w.Right
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
function F(t) {
|
|
283
|
+
return {
|
|
284
|
+
type: a.Overlay,
|
|
285
|
+
visible: !0,
|
|
286
|
+
created: !1,
|
|
287
|
+
symbol: B({
|
|
288
|
+
useRampColor: { colorIndex: t },
|
|
289
|
+
isHistogramOverlay: !0
|
|
290
|
+
})
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
function b() {
|
|
294
|
+
return [255, 255, 255, 255];
|
|
295
|
+
}
|
|
296
|
+
function f(t) {
|
|
297
|
+
return t.utilsStrings.chartType.chart;
|
|
298
|
+
}
|
|
299
|
+
function g() {
|
|
300
|
+
return `Chart ${Date.now()}`;
|
|
301
|
+
}
|
|
302
|
+
function We(t, e = !1) {
|
|
303
|
+
return {
|
|
304
|
+
type: m.SFS,
|
|
305
|
+
style: y.Solid,
|
|
306
|
+
color: e ? k(d) : x({
|
|
307
|
+
colorIndex: t ?? 0,
|
|
308
|
+
opacity: d
|
|
309
|
+
})
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
function re(t = 0) {
|
|
313
|
+
return {
|
|
314
|
+
type: m.SMS,
|
|
315
|
+
style: N.Circle,
|
|
316
|
+
color: x({
|
|
317
|
+
colorIndex: t,
|
|
318
|
+
opacity: d
|
|
319
|
+
}),
|
|
320
|
+
size: 4
|
|
321
|
+
// this default is consistent with the rule that it equals 2 * line width
|
|
322
|
+
};
|
|
323
|
+
}
|
|
324
|
+
function ie(t) {
|
|
325
|
+
return {
|
|
326
|
+
type: m.SLS,
|
|
327
|
+
style: L.Solid,
|
|
328
|
+
color: x({
|
|
329
|
+
colorIndex: t,
|
|
330
|
+
opacity: d
|
|
331
|
+
}),
|
|
332
|
+
width: 2
|
|
333
|
+
};
|
|
334
|
+
}
|
|
335
|
+
function se(t = !1) {
|
|
336
|
+
return {
|
|
337
|
+
type: m.SMS,
|
|
338
|
+
style: N.Circle,
|
|
339
|
+
color: t ? k(d) : x({ colorIndex: 0, opacity: d }),
|
|
340
|
+
size: 7
|
|
341
|
+
};
|
|
342
|
+
}
|
|
343
|
+
function je() {
|
|
344
|
+
return {
|
|
345
|
+
type: a.SizePolicy,
|
|
346
|
+
field: "",
|
|
347
|
+
scaleType: $.Linear,
|
|
348
|
+
minSize: 5,
|
|
349
|
+
maxSize: 30
|
|
350
|
+
};
|
|
351
|
+
}
|
|
352
|
+
function oe(t = !1) {
|
|
353
|
+
return {
|
|
354
|
+
type: a.Overlays,
|
|
355
|
+
trendLine: {
|
|
356
|
+
type: a.Overlay,
|
|
357
|
+
created: !1,
|
|
358
|
+
visible: !0,
|
|
359
|
+
symbol: {
|
|
477
360
|
type: m.SLS,
|
|
478
|
-
style:
|
|
479
|
-
color:
|
|
480
|
-
width:
|
|
361
|
+
style: L.Solid,
|
|
362
|
+
color: t ? k() : x({ colorIndex: 1 }),
|
|
363
|
+
width: 2
|
|
481
364
|
}
|
|
365
|
+
}
|
|
366
|
+
};
|
|
367
|
+
}
|
|
368
|
+
function ne(t, e) {
|
|
369
|
+
const r = t.countSeries;
|
|
370
|
+
return {
|
|
371
|
+
type: a.HeatSeries,
|
|
372
|
+
id: r,
|
|
373
|
+
name: r,
|
|
374
|
+
y: "",
|
|
375
|
+
x: "",
|
|
376
|
+
dataLabels: o({
|
|
377
|
+
text: "",
|
|
378
|
+
visible: !1,
|
|
379
|
+
font: n(s.DataLabels)
|
|
380
|
+
}),
|
|
381
|
+
query: {
|
|
382
|
+
outStatistics: [
|
|
383
|
+
{
|
|
384
|
+
statisticType: u.Count,
|
|
385
|
+
onStatisticField: e ?? "ObjectID",
|
|
386
|
+
outStatisticFieldName: `${u.Count}_${e}_0`.toUpperCase()
|
|
387
|
+
}
|
|
388
|
+
],
|
|
389
|
+
groupByFieldsForStatistics: []
|
|
482
390
|
},
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
width: 1
|
|
491
|
-
}
|
|
391
|
+
emptyCells: {
|
|
392
|
+
symbol: {
|
|
393
|
+
type: m.SFS,
|
|
394
|
+
style: y.Solid,
|
|
395
|
+
color: H
|
|
396
|
+
},
|
|
397
|
+
text: t.utilsStrings.null
|
|
492
398
|
}
|
|
493
|
-
}
|
|
494
|
-
classBreaks: {
|
|
495
|
-
breaksCount: 5
|
|
496
|
-
}
|
|
497
|
-
}, S = {
|
|
498
|
-
// chart with no specific subtype
|
|
499
|
-
NonSpecific: "nonSpecific",
|
|
500
|
-
// non aggregated bar/line chart
|
|
501
|
-
BarAndLineNoAggregation: "barAndLineNoAggregation",
|
|
502
|
-
// mono-series bar/line chart with one numeric field and a category
|
|
503
|
-
BarAndLineMonoField: "barAndLineMonoField",
|
|
504
|
-
// multi-series bar/line chart with numeric fields and a category
|
|
505
|
-
BarAndLineMultiFields: "barAndLineMultiFields",
|
|
506
|
-
// mono-series bar/line chart from numeric fields, no category
|
|
507
|
-
BarAndLineFromFields: "barAndLineFromFields",
|
|
508
|
-
// bar/line chart with split-by field and a category
|
|
509
|
-
BarAndLineSplitBy: "barAndLineSplitBy",
|
|
510
|
-
// non aggregated bar/line chart with split-by field and a category
|
|
511
|
-
BarAndLineSplitByNoAggregation: "barAndLineSplitByNoAggregation",
|
|
512
|
-
// non aggregated pie chart
|
|
513
|
-
PieNoAggregation: "pieNoAggregation",
|
|
514
|
-
// pie chart with a category
|
|
515
|
-
PieFromCategory: "pieFromCategory",
|
|
516
|
-
// pie chart from numeric fields
|
|
517
|
-
PieFromFields: "pieFromFields",
|
|
518
|
-
// box plot with a numeric field, no category
|
|
519
|
-
BoxPlotMonoField: "boxPlotMonoField",
|
|
520
|
-
// box plot with multiple numeric fields, no category
|
|
521
|
-
BoxPlotMultiFields: "boxPlotMultiFields",
|
|
522
|
-
// box plot with a numeric field and a category
|
|
523
|
-
BoxPlotMonoFieldAndCategory: "boxPlotMonoFieldAndCategory",
|
|
524
|
-
// box plot with multiple numeric fields and a category
|
|
525
|
-
BoxPlotMultiFieldsAndCategory: "boxPlotMultiFieldsAndCategory",
|
|
526
|
-
// box plot with a numeric field and a split-by field
|
|
527
|
-
BoxPlotMonoFieldAndSplitBy: "boxPlotMonoFieldAndSplitBy",
|
|
528
|
-
// box plot with multiple numeric fields and a split-by field
|
|
529
|
-
BoxPlotMultiFieldsAndSplitBy: "boxPlotMultiFieldsAndSplitBy",
|
|
530
|
-
// box plot with a numeric field, a category and a split-by field
|
|
531
|
-
BoxPlotMonoFieldAndCategoryAndSplitBy: "boxPlotMonoFieldAndCategoryAndSplitBy"
|
|
532
|
-
}, Be = {
|
|
533
|
-
SelectionByClick: "SelectionByClick",
|
|
534
|
-
SelectionByRange: "SelectionByRange",
|
|
535
|
-
ProgrammaticSelection: "ProgrammaticSelection",
|
|
536
|
-
ClearSelection: "ClearSelection"
|
|
537
|
-
}, u = {
|
|
538
|
-
Mean: "Mean",
|
|
539
|
-
Median: "Median",
|
|
540
|
-
StdDev: "Standard Deviation",
|
|
541
|
-
Normal: "Normal Distribution",
|
|
542
|
-
Trendline: "Trendline"
|
|
543
|
-
};
|
|
544
|
-
function Ae(t) {
|
|
545
|
-
return t?.colorMatch ?? !1;
|
|
546
|
-
}
|
|
547
|
-
function Pe(t) {
|
|
548
|
-
let e = T();
|
|
549
|
-
if (t !== void 0) {
|
|
550
|
-
const i = y(t.series);
|
|
551
|
-
(i === n.BarSeries || i === n.LineSeries || i === n.ComboLineAndBarSeries || i === n.BoxPlotSeries) && (e = t.rotated ?? T());
|
|
552
|
-
}
|
|
553
|
-
return e;
|
|
399
|
+
};
|
|
554
400
|
}
|
|
555
|
-
function
|
|
556
|
-
return
|
|
401
|
+
function le() {
|
|
402
|
+
return {
|
|
403
|
+
type: a.ScatterSeries,
|
|
404
|
+
id: a.ScatterSeries,
|
|
405
|
+
name: a.ScatterSeries,
|
|
406
|
+
x: "",
|
|
407
|
+
y: "",
|
|
408
|
+
markerSymbol: se(),
|
|
409
|
+
overlays: oe(),
|
|
410
|
+
dataLabels: o({
|
|
411
|
+
text: "",
|
|
412
|
+
visible: !1,
|
|
413
|
+
font: n(s.DataLabels)
|
|
414
|
+
})
|
|
415
|
+
};
|
|
557
416
|
}
|
|
558
|
-
function
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
417
|
+
function T(t, e) {
|
|
418
|
+
const r = [], l = t.xAxis, S = t.utilsStrings.statistics.count;
|
|
419
|
+
let c, p;
|
|
420
|
+
const v = B({
|
|
421
|
+
opacity: X
|
|
422
|
+
});
|
|
423
|
+
switch (e === a.HeatSeries ? p = A(S) : (p = _(S), p.grid = v), e) {
|
|
424
|
+
case a.BarSeries:
|
|
425
|
+
case a.HeatSeries: {
|
|
426
|
+
c = A(l);
|
|
427
|
+
break;
|
|
428
|
+
}
|
|
429
|
+
case a.ScatterSeries: {
|
|
430
|
+
c = _(l), c.grid = v;
|
|
431
|
+
break;
|
|
432
|
+
}
|
|
433
|
+
case a.RadarSeries:
|
|
434
|
+
case a.LineSeries:
|
|
435
|
+
case a.HistogramSeries: {
|
|
436
|
+
c = _(l);
|
|
437
|
+
break;
|
|
438
|
+
}
|
|
439
|
+
case a.BoxPlotSeries: {
|
|
440
|
+
c = A("");
|
|
441
|
+
break;
|
|
442
|
+
}
|
|
563
443
|
}
|
|
564
|
-
return
|
|
444
|
+
return c !== void 0 && r.push(c, p), r;
|
|
565
445
|
}
|
|
566
|
-
function
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
e = Array.from(i.segment(t), (a) => a.segment).some((a) => a.charCodeAt(0) > 255);
|
|
575
|
-
}
|
|
576
|
-
return e;
|
|
446
|
+
function ue() {
|
|
447
|
+
return {
|
|
448
|
+
type: a.GaugeNeedle,
|
|
449
|
+
symbol: {
|
|
450
|
+
type: m.SFS,
|
|
451
|
+
color: [0, 0, 0, 200]
|
|
452
|
+
}
|
|
453
|
+
};
|
|
577
454
|
}
|
|
578
|
-
function
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
}
|
|
593
|
-
function
|
|
594
|
-
const
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
maxLineUniqueSeriesCountTotal: v,
|
|
606
|
-
maxLineTwoSeriesCountPerSeries: k,
|
|
607
|
-
maxLineTwoSeriesCountTotal: O,
|
|
608
|
-
maxLineThreePlusSeriesCountPerSeries: R,
|
|
609
|
-
maxLineThreePlusSeriesCountTotal: w,
|
|
610
|
-
maxRadarChartSeriesCount: z,
|
|
611
|
-
maxRadarUniqueSeriesCountTotal: N,
|
|
612
|
-
maxRadarTwoSeriesCountPerSeries: I,
|
|
613
|
-
maxRadarTwoSeriesCountTotal: D,
|
|
614
|
-
maxRadarThreePlusSeriesCountPerSeries: W,
|
|
615
|
-
maxRadarThreePlusSeriesCountTotal: V,
|
|
616
|
-
maxPieChartSliceCountTotal: E,
|
|
617
|
-
maxGaugeByFeaturesLimit: G,
|
|
618
|
-
maxBoxPlotSeriesCount: H,
|
|
619
|
-
maxBoxUniqueSeriesCountTotal: K,
|
|
620
|
-
maxBoxTwoSeriesCountTotal: U,
|
|
621
|
-
maxBoxTwoSeriesCountPerSeries: q,
|
|
622
|
-
maxBoxThreePlusSeriesCountTotal: X,
|
|
623
|
-
maxBoxThreePlusSeriesCountPerSeries: $,
|
|
624
|
-
maxHeatChartCellLimit: Y
|
|
625
|
-
} = ae(a);
|
|
626
|
-
switch (r) {
|
|
627
|
-
case n.BarSeries:
|
|
628
|
-
case n.ComboLineAndBarSeries:
|
|
455
|
+
function $e() {
|
|
456
|
+
return {
|
|
457
|
+
type: m.SFS,
|
|
458
|
+
style: y.Solid,
|
|
459
|
+
color: H
|
|
460
|
+
};
|
|
461
|
+
}
|
|
462
|
+
function Qe() {
|
|
463
|
+
return {
|
|
464
|
+
type: m.SFS,
|
|
465
|
+
style: y.Solid,
|
|
466
|
+
color: [255, 205, 130, 255]
|
|
467
|
+
// light orange
|
|
468
|
+
};
|
|
469
|
+
}
|
|
470
|
+
function ce(t) {
|
|
471
|
+
const e = [], r = t.xAxis, l = _(r);
|
|
472
|
+
return l.needle = ue(), e.push(l), e;
|
|
473
|
+
}
|
|
474
|
+
function me(t) {
|
|
475
|
+
const e = t.commonStrings, r = t.objectIDField ?? "ObjectID", l = `${u.Count}_${r}_0`.toUpperCase(), S = e.countSeries;
|
|
476
|
+
return {
|
|
477
|
+
type: a.LineSeries,
|
|
478
|
+
id: S,
|
|
479
|
+
name: S,
|
|
480
|
+
query: {
|
|
481
|
+
outStatistics: [
|
|
629
482
|
{
|
|
630
|
-
|
|
631
|
-
|
|
483
|
+
statisticType: u.Count,
|
|
484
|
+
onStatisticField: r,
|
|
485
|
+
outStatisticFieldName: l
|
|
632
486
|
}
|
|
633
|
-
|
|
634
|
-
|
|
487
|
+
],
|
|
488
|
+
groupByFieldsForStatistics: []
|
|
489
|
+
},
|
|
490
|
+
x: "",
|
|
491
|
+
y: l,
|
|
492
|
+
lineSymbol: ie(t.seriesIndex),
|
|
493
|
+
markerSymbol: re(t.seriesIndex),
|
|
494
|
+
dataLabels: o({
|
|
495
|
+
text: "",
|
|
496
|
+
visible: !1,
|
|
497
|
+
font: n(s.DataLabels)
|
|
498
|
+
}),
|
|
499
|
+
temporalBinning: {
|
|
500
|
+
unit: W.Day,
|
|
501
|
+
size: 0,
|
|
502
|
+
timeAggregationType: R.Start,
|
|
503
|
+
trimIncompleteTimeInterval: !0,
|
|
504
|
+
nullPolicy: V.Interpolate
|
|
505
|
+
}
|
|
506
|
+
};
|
|
507
|
+
}
|
|
508
|
+
function Je(t) {
|
|
509
|
+
return { ...me(t), type: a.RadarSeries };
|
|
510
|
+
}
|
|
511
|
+
function Se(t) {
|
|
512
|
+
return {
|
|
513
|
+
type: m.SFS,
|
|
514
|
+
style: y.Solid,
|
|
515
|
+
color: x({
|
|
516
|
+
colorIndex: t,
|
|
517
|
+
opacity: d
|
|
518
|
+
})
|
|
519
|
+
};
|
|
520
|
+
}
|
|
521
|
+
function Ke(t) {
|
|
522
|
+
const e = t.objectIDField ?? "*", r = t.commonStrings, l = `${u.Count}_Y_0`.toUpperCase(), S = r.countSeries;
|
|
523
|
+
return {
|
|
524
|
+
type: a.BarSeries,
|
|
525
|
+
id: S,
|
|
526
|
+
name: S,
|
|
527
|
+
query: {
|
|
528
|
+
outStatistics: [
|
|
635
529
|
{
|
|
636
|
-
|
|
637
|
-
|
|
530
|
+
statisticType: u.Count,
|
|
531
|
+
onStatisticField: e,
|
|
532
|
+
outStatisticFieldName: l
|
|
638
533
|
}
|
|
639
|
-
|
|
640
|
-
|
|
534
|
+
],
|
|
535
|
+
groupByFieldsForStatistics: []
|
|
536
|
+
},
|
|
537
|
+
x: "",
|
|
538
|
+
y: l,
|
|
539
|
+
fillSymbol: Se(t.seriesIndex),
|
|
540
|
+
dataLabels: o({
|
|
541
|
+
text: "",
|
|
542
|
+
visible: !1,
|
|
543
|
+
font: n(s.DataLabels),
|
|
544
|
+
type: s.DataLabels
|
|
545
|
+
})
|
|
546
|
+
};
|
|
547
|
+
}
|
|
548
|
+
function Xe(t, e) {
|
|
549
|
+
const r = t.countSeries;
|
|
550
|
+
return {
|
|
551
|
+
name: r,
|
|
552
|
+
type: a.BoxPlotSeries,
|
|
553
|
+
id: r,
|
|
554
|
+
fillSymbol: {
|
|
555
|
+
type: m.SFS,
|
|
556
|
+
style: y.Solid,
|
|
557
|
+
color: x({
|
|
558
|
+
colorIndex: e,
|
|
559
|
+
opacity: d
|
|
560
|
+
})
|
|
561
|
+
},
|
|
562
|
+
query: {},
|
|
563
|
+
x: Z,
|
|
564
|
+
y: ""
|
|
565
|
+
};
|
|
566
|
+
}
|
|
567
|
+
function de() {
|
|
568
|
+
return {
|
|
569
|
+
type: a.PieTick,
|
|
570
|
+
visible: !0,
|
|
571
|
+
lineSymbol: B({
|
|
572
|
+
width: 1,
|
|
573
|
+
color: Y
|
|
574
|
+
})
|
|
575
|
+
};
|
|
576
|
+
}
|
|
577
|
+
function xe() {
|
|
578
|
+
return {
|
|
579
|
+
type: m.SFS,
|
|
580
|
+
style: y.Solid
|
|
581
|
+
};
|
|
582
|
+
}
|
|
583
|
+
function Ye(t, e) {
|
|
584
|
+
const r = `${u.Count}_${e}_0`.toUpperCase(), l = t.countSeries;
|
|
585
|
+
return {
|
|
586
|
+
type: a.PieSeries,
|
|
587
|
+
id: l,
|
|
588
|
+
name: l,
|
|
589
|
+
query: {
|
|
590
|
+
outStatistics: [
|
|
641
591
|
{
|
|
642
|
-
|
|
643
|
-
|
|
592
|
+
statisticType: u.Count,
|
|
593
|
+
onStatisticField: e ?? "ObjectID",
|
|
594
|
+
outStatisticFieldName: r
|
|
644
595
|
}
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
596
|
+
],
|
|
597
|
+
groupByFieldsForStatistics: []
|
|
598
|
+
},
|
|
599
|
+
x: "",
|
|
600
|
+
y: r,
|
|
601
|
+
fillSymbol: xe(),
|
|
602
|
+
dataLabels: o({
|
|
603
|
+
text: "",
|
|
604
|
+
visible: !1,
|
|
605
|
+
font: n(s.DataLabels),
|
|
606
|
+
type: s.DataLabels
|
|
607
|
+
}),
|
|
608
|
+
startAngle: -90,
|
|
609
|
+
endAngle: 270,
|
|
610
|
+
dataLabelsCharacterLimit: 11,
|
|
611
|
+
displayCategoryOnDataLabel: !0,
|
|
612
|
+
displayNumericValueOnDataLabel: !1,
|
|
613
|
+
displayPercentageOnDataLabel: !0,
|
|
614
|
+
numericValueFormat: {
|
|
615
|
+
...O(),
|
|
616
|
+
intlOptions: {
|
|
617
|
+
minimumFractionDigits: 1,
|
|
618
|
+
maximumFractionDigits: 1
|
|
619
|
+
}
|
|
620
|
+
},
|
|
621
|
+
percentValueFormat: {
|
|
622
|
+
...O(),
|
|
623
|
+
intlOptions: {
|
|
624
|
+
minimumFractionDigits: 1,
|
|
625
|
+
maximumFractionDigits: 1
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
ticks: de()
|
|
629
|
+
};
|
|
630
|
+
}
|
|
631
|
+
function Ze(t) {
|
|
632
|
+
const e = t.objectIDField ?? "ObjectID", r = `${u.Count}_${e}_0`.toUpperCase(), l = "Series0";
|
|
633
|
+
return {
|
|
634
|
+
type: a.GaugeSeries,
|
|
635
|
+
id: l,
|
|
636
|
+
name: l,
|
|
637
|
+
query: {
|
|
638
|
+
outStatistics: [
|
|
650
639
|
{
|
|
651
|
-
|
|
652
|
-
|
|
640
|
+
statisticType: u.Count,
|
|
641
|
+
onStatisticField: e,
|
|
642
|
+
outStatisticFieldName: r
|
|
653
643
|
}
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
case n.GaugeSeries:
|
|
659
|
-
o = e <= G;
|
|
660
|
-
break;
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
return o;
|
|
664
|
-
}
|
|
665
|
-
function Oe(t = [], e) {
|
|
666
|
-
const i = t.find((r) => r.name === e)?.alias;
|
|
667
|
-
return i !== "" ? i ?? e : e;
|
|
668
|
-
}
|
|
669
|
-
function Re(t = [], e) {
|
|
670
|
-
const i = t.find((r) => r.alias === e)?.name;
|
|
671
|
-
return i !== "" ? i ?? e : e;
|
|
672
|
-
}
|
|
673
|
-
function we(t) {
|
|
674
|
-
let e = !1;
|
|
675
|
-
switch (y(t)) {
|
|
676
|
-
case n.HeatSeries:
|
|
677
|
-
case n.PieSeries:
|
|
678
|
-
e = !0;
|
|
679
|
-
break;
|
|
680
|
-
case n.BarSeries:
|
|
681
|
-
case n.LineSeries:
|
|
682
|
-
case n.RadarSeries:
|
|
683
|
-
case n.ComboLineAndBarSeries:
|
|
684
|
-
case n.BoxPlotSeries:
|
|
685
|
-
e = t.length > 1;
|
|
686
|
-
break;
|
|
687
|
-
case n.HistogramSeries:
|
|
688
|
-
case n.ScatterSeries: {
|
|
689
|
-
const r = t[0];
|
|
690
|
-
e = r.overlays !== void 0 && Object.values(r.overlays).some((a) => a.created === !0);
|
|
691
|
-
break;
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
return e;
|
|
644
|
+
]
|
|
645
|
+
},
|
|
646
|
+
x: ""
|
|
647
|
+
};
|
|
695
648
|
}
|
|
696
|
-
function
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
649
|
+
function I() {
|
|
650
|
+
return !1;
|
|
651
|
+
}
|
|
652
|
+
function et(t, e = g()) {
|
|
653
|
+
return {
|
|
654
|
+
version: C,
|
|
655
|
+
type: a.Chart,
|
|
656
|
+
id: e,
|
|
657
|
+
colorMatch: !0,
|
|
658
|
+
rotated: I(),
|
|
659
|
+
orderOptions: {
|
|
660
|
+
data: {
|
|
661
|
+
orderType: P.Category,
|
|
662
|
+
orderBy: D.Ascending
|
|
663
|
+
}
|
|
664
|
+
},
|
|
665
|
+
title: o({
|
|
666
|
+
text: f(t),
|
|
667
|
+
visible: !0,
|
|
668
|
+
font: n(s.ChartTitle)
|
|
669
|
+
}),
|
|
670
|
+
subtitle: o(),
|
|
671
|
+
footer: o({
|
|
672
|
+
text: "",
|
|
673
|
+
visible: !0,
|
|
674
|
+
font: n(s.DescriptionText)
|
|
675
|
+
}),
|
|
676
|
+
background: b(),
|
|
677
|
+
axes: T(t, a.BarSeries),
|
|
678
|
+
series: [],
|
|
679
|
+
legend: h()
|
|
680
|
+
};
|
|
681
|
+
}
|
|
682
|
+
function tt(t, e = g()) {
|
|
683
|
+
return {
|
|
684
|
+
version: C,
|
|
685
|
+
type: a.Chart,
|
|
686
|
+
id: e,
|
|
687
|
+
rotated: I(),
|
|
688
|
+
colorMatch: !0,
|
|
689
|
+
orderOptions: {
|
|
690
|
+
data: {
|
|
691
|
+
orderType: P.Category,
|
|
692
|
+
orderBy: D.Ascending
|
|
693
|
+
}
|
|
694
|
+
},
|
|
695
|
+
title: o({
|
|
696
|
+
text: f(t),
|
|
697
|
+
visible: !0,
|
|
698
|
+
font: n(s.ChartTitle)
|
|
699
|
+
}),
|
|
700
|
+
subtitle: o(),
|
|
701
|
+
footer: o({
|
|
702
|
+
text: "",
|
|
703
|
+
visible: !0,
|
|
704
|
+
font: n(s.DescriptionText)
|
|
705
|
+
}),
|
|
706
|
+
background: b(),
|
|
707
|
+
series: [],
|
|
708
|
+
legend: h(),
|
|
709
|
+
axes: T(t, a.BoxPlotSeries),
|
|
710
|
+
standardizeValues: !0,
|
|
711
|
+
showOutliers: !1
|
|
712
|
+
};
|
|
713
|
+
}
|
|
714
|
+
function at(t, e = g()) {
|
|
715
|
+
return {
|
|
716
|
+
version: C,
|
|
717
|
+
type: a.Chart,
|
|
718
|
+
id: e,
|
|
719
|
+
colorMatch: !0,
|
|
720
|
+
rotated: I(),
|
|
721
|
+
orderOptions: {
|
|
722
|
+
data: {
|
|
723
|
+
orderType: P.Category,
|
|
724
|
+
orderBy: D.Ascending
|
|
725
|
+
}
|
|
726
|
+
},
|
|
727
|
+
title: o({
|
|
728
|
+
text: f(t),
|
|
729
|
+
visible: !0,
|
|
730
|
+
font: n(s.ChartTitle)
|
|
731
|
+
}),
|
|
732
|
+
subtitle: o(),
|
|
733
|
+
footer: o({
|
|
734
|
+
text: "",
|
|
735
|
+
visible: !0,
|
|
736
|
+
font: n(s.DescriptionText)
|
|
737
|
+
}),
|
|
738
|
+
background: b(),
|
|
739
|
+
axes: T(t, a.LineSeries),
|
|
740
|
+
series: [],
|
|
741
|
+
legend: h()
|
|
742
|
+
};
|
|
743
|
+
}
|
|
744
|
+
function rt(t, e = g()) {
|
|
745
|
+
return {
|
|
746
|
+
version: C,
|
|
747
|
+
type: a.Chart,
|
|
748
|
+
id: e,
|
|
749
|
+
colorMatch: !0,
|
|
750
|
+
orderOptions: {
|
|
751
|
+
data: {
|
|
752
|
+
orderType: P.Category,
|
|
753
|
+
orderBy: D.Ascending
|
|
754
|
+
}
|
|
755
|
+
},
|
|
756
|
+
title: o({
|
|
757
|
+
text: f(t),
|
|
758
|
+
visible: !0,
|
|
759
|
+
font: n(s.ChartTitle)
|
|
760
|
+
}),
|
|
761
|
+
subtitle: o(),
|
|
762
|
+
footer: o({
|
|
763
|
+
text: "",
|
|
764
|
+
visible: !0,
|
|
765
|
+
font: n(s.DescriptionText)
|
|
766
|
+
}),
|
|
767
|
+
background: b(),
|
|
768
|
+
axes: T(t, a.RadarSeries),
|
|
769
|
+
series: [],
|
|
770
|
+
legend: h()
|
|
771
|
+
};
|
|
772
|
+
}
|
|
773
|
+
function it(t, e = g()) {
|
|
774
|
+
return {
|
|
775
|
+
version: C,
|
|
776
|
+
type: a.Chart,
|
|
777
|
+
id: e,
|
|
778
|
+
colorMatch: !0,
|
|
779
|
+
orderOptions: {
|
|
780
|
+
data: {
|
|
781
|
+
orderType: P.YValue,
|
|
782
|
+
orderBy: D.Descending
|
|
783
|
+
}
|
|
784
|
+
},
|
|
785
|
+
title: o({
|
|
786
|
+
text: f(t),
|
|
787
|
+
visible: !0,
|
|
788
|
+
font: n(s.ChartTitle)
|
|
789
|
+
}),
|
|
790
|
+
subtitle: o(),
|
|
791
|
+
footer: o({
|
|
792
|
+
text: "",
|
|
793
|
+
visible: !0,
|
|
794
|
+
font: n(s.DescriptionText)
|
|
795
|
+
}),
|
|
796
|
+
background: b(),
|
|
797
|
+
series: [],
|
|
798
|
+
legend: {
|
|
799
|
+
...h(),
|
|
800
|
+
displayNumericValue: !1,
|
|
801
|
+
displayPercentage: !0
|
|
722
802
|
}
|
|
723
|
-
|
|
803
|
+
};
|
|
804
|
+
}
|
|
805
|
+
function st(t, e = g()) {
|
|
806
|
+
return {
|
|
807
|
+
version: C,
|
|
808
|
+
type: a.Chart,
|
|
809
|
+
id: e,
|
|
810
|
+
colorMatch: !0,
|
|
811
|
+
title: o({
|
|
812
|
+
text: f(t),
|
|
813
|
+
visible: !0,
|
|
814
|
+
font: n(s.ChartTitle)
|
|
815
|
+
}),
|
|
816
|
+
series: [],
|
|
817
|
+
axes: ce(t)
|
|
818
|
+
};
|
|
819
|
+
}
|
|
820
|
+
function ot(t, e = g()) {
|
|
821
|
+
return {
|
|
822
|
+
version: C,
|
|
823
|
+
type: a.Chart,
|
|
824
|
+
id: e,
|
|
825
|
+
colorMatch: !0,
|
|
826
|
+
title: o({
|
|
827
|
+
text: f(t),
|
|
828
|
+
visible: !0,
|
|
829
|
+
font: n(s.ChartTitle)
|
|
830
|
+
}),
|
|
831
|
+
subtitle: o(),
|
|
832
|
+
footer: o({
|
|
833
|
+
text: "",
|
|
834
|
+
visible: !0,
|
|
835
|
+
font: n(s.DescriptionText)
|
|
836
|
+
}),
|
|
837
|
+
background: b(),
|
|
838
|
+
axes: T(t, a.ScatterSeries),
|
|
839
|
+
series: [le()],
|
|
840
|
+
legend: h()
|
|
841
|
+
};
|
|
724
842
|
}
|
|
725
|
-
function
|
|
726
|
-
return
|
|
843
|
+
function nt(t, e) {
|
|
844
|
+
return {
|
|
845
|
+
version: C,
|
|
846
|
+
type: a.Chart,
|
|
847
|
+
id: g(),
|
|
848
|
+
title: o({
|
|
849
|
+
text: f(t),
|
|
850
|
+
visible: !0,
|
|
851
|
+
font: n(s.ChartTitle)
|
|
852
|
+
}),
|
|
853
|
+
background: b(),
|
|
854
|
+
axes: T(t, a.HeatSeries),
|
|
855
|
+
series: [ne(t, e)],
|
|
856
|
+
legend: { ...h(), position: w.Bottom }
|
|
857
|
+
};
|
|
727
858
|
}
|
|
728
|
-
function
|
|
729
|
-
|
|
730
|
-
|
|
859
|
+
function ge() {
|
|
860
|
+
return {
|
|
861
|
+
type: a.Overlays,
|
|
862
|
+
mean: F(1),
|
|
863
|
+
median: F(2),
|
|
864
|
+
standardDeviation: F(3),
|
|
865
|
+
comparisonDistribution: F(4)
|
|
866
|
+
};
|
|
731
867
|
}
|
|
732
|
-
function
|
|
733
|
-
return
|
|
868
|
+
function Ce() {
|
|
869
|
+
return {
|
|
870
|
+
type: m.SFS,
|
|
871
|
+
style: y.Solid,
|
|
872
|
+
color: x({ colorIndex: 0, opacity: d })
|
|
873
|
+
};
|
|
734
874
|
}
|
|
735
|
-
function
|
|
736
|
-
|
|
875
|
+
function fe() {
|
|
876
|
+
return {
|
|
877
|
+
type: a.HistogramSeries,
|
|
878
|
+
id: a.HistogramSeries,
|
|
879
|
+
name: a.HistogramSeries,
|
|
880
|
+
visible: !0,
|
|
881
|
+
dataTooltipVisible: !0,
|
|
882
|
+
dataTooltipReverseColor: !1,
|
|
883
|
+
assignToSecondValueAxis: !1,
|
|
884
|
+
x: "",
|
|
885
|
+
binCount: 32,
|
|
886
|
+
overlays: ge(),
|
|
887
|
+
dataTransformationType: Q.None,
|
|
888
|
+
fillSymbol: Ce(),
|
|
889
|
+
dataLabels: o({
|
|
890
|
+
text: "",
|
|
891
|
+
visible: !1,
|
|
892
|
+
font: n(s.DataLabels)
|
|
893
|
+
})
|
|
894
|
+
};
|
|
895
|
+
}
|
|
896
|
+
function lt(t, e = g()) {
|
|
897
|
+
return {
|
|
898
|
+
version: C,
|
|
899
|
+
type: a.Chart,
|
|
900
|
+
id: e,
|
|
901
|
+
colorMatch: !0,
|
|
902
|
+
title: o({
|
|
903
|
+
text: f(t),
|
|
904
|
+
visible: !0,
|
|
905
|
+
font: n(s.ChartTitle)
|
|
906
|
+
}),
|
|
907
|
+
subtitle: o(),
|
|
908
|
+
footer: o({
|
|
909
|
+
text: "",
|
|
910
|
+
visible: !0,
|
|
911
|
+
font: n(s.DescriptionText)
|
|
912
|
+
}),
|
|
913
|
+
background: b(),
|
|
914
|
+
axes: T(t, a.HistogramSeries),
|
|
915
|
+
series: [fe()],
|
|
916
|
+
legend: h()
|
|
917
|
+
};
|
|
918
|
+
}
|
|
919
|
+
const i = {
|
|
920
|
+
// chart's behavior once the limit is reached
|
|
921
|
+
behaviorAfterLimit: K.Reject,
|
|
922
|
+
// maximum number of categories for any chart.
|
|
923
|
+
maxCategoryCount: Number.NaN,
|
|
924
|
+
// maximum number of series for a bar chart
|
|
925
|
+
maxBarChartSeriesCount: 100,
|
|
926
|
+
// maximum number of bars for a unique series bar chart
|
|
927
|
+
maxBarUniqueSeriesCountTotal: 1e4,
|
|
928
|
+
// maximum number of bars per series for a 2 series bar chart
|
|
929
|
+
maxBarTwoSeriesCountPerSeries: 1e3,
|
|
930
|
+
// maximum number of bars for a 2 series bar chart
|
|
931
|
+
maxBarTwoSeriesCountTotal: 2e3,
|
|
932
|
+
// maximum number of bars per series for a 3+ series bar chart
|
|
933
|
+
maxBarThreePlusSeriesCountPerSeries: 100,
|
|
934
|
+
// maximum number of bars for a 3+ series bar chart
|
|
935
|
+
maxBarThreePlusSeriesCountTotal: 2e3,
|
|
936
|
+
/**
|
|
937
|
+
* Specifies the maximum number of points to be rendered in a scatterplot.
|
|
938
|
+
* If the number of points are more, then the data will be aggregated in
|
|
939
|
+
* a 2D grid of size sqrt(maxScatterPointsAfterAggregation) x sqrt(maxScatterPointsAfterAggregation)
|
|
940
|
+
*/
|
|
941
|
+
maxScatterPointsBeforeAggregation: 1e4,
|
|
942
|
+
// Specifies how many maximum points can be displayed once the scatterplot data is aggregated
|
|
943
|
+
maxScatterPointsAfterAggregation: 1e4,
|
|
944
|
+
// maximum number of series for a line chart
|
|
945
|
+
maxLineChartSeriesCount: 100,
|
|
946
|
+
// maximum number of markers for a unique series line chart
|
|
947
|
+
maxLineUniqueSeriesCountTotal: 1e4,
|
|
948
|
+
// maximum number of markers per series for a 2 series line chart
|
|
949
|
+
maxLineTwoSeriesCountPerSeries: 5e3,
|
|
950
|
+
// maximum number of markers for a 2 series line chart
|
|
951
|
+
maxLineTwoSeriesCountTotal: 1e4,
|
|
952
|
+
// maximum number of markers per series for a 3+ series line chart
|
|
953
|
+
maxLineThreePlusSeriesCountPerSeries: 1e3,
|
|
954
|
+
// maximum number of markers for a 3+ series line chart
|
|
955
|
+
maxLineThreePlusSeriesCountTotal: 1e4,
|
|
956
|
+
// maximum number of series for a radar chart
|
|
957
|
+
maxRadarChartSeriesCount: 100,
|
|
958
|
+
// maximum number of markers for a unique series radar chart
|
|
959
|
+
maxRadarUniqueSeriesCountTotal: 1e4,
|
|
960
|
+
// maximum number of markers per series for a 2 series radar chart
|
|
961
|
+
maxRadarTwoSeriesCountPerSeries: 5e3,
|
|
962
|
+
// maximum number of markers for a 2 series radar chart
|
|
963
|
+
maxRadarTwoSeriesCountTotal: 1e4,
|
|
964
|
+
// maximum number of markers per series for a 3+ series radar chart
|
|
965
|
+
maxRadarThreePlusSeriesCountPerSeries: 1e3,
|
|
966
|
+
// maximum number of slices for pie chart
|
|
967
|
+
maxPieChartSliceCountTotal: 300,
|
|
968
|
+
// maximum number of features for a gauge-by-feature collection
|
|
969
|
+
maxGaugeByFeaturesLimit: 50,
|
|
970
|
+
// maximum number of series for a bar chart
|
|
971
|
+
maxBoxPlotSeriesCount: 100,
|
|
972
|
+
// maximum number of boxes for a unique series box plot
|
|
973
|
+
maxBoxUniqueSeriesCountTotal: 1e4,
|
|
974
|
+
// maximum number of boxes per series for a 2 series box plot
|
|
975
|
+
maxBoxTwoSeriesCountPerSeries: 1e3,
|
|
976
|
+
// maximum number of boxes for a 2 series box plot
|
|
977
|
+
maxBoxTwoSeriesCountTotal: 2e3,
|
|
978
|
+
// maximum number of boxes per series for a 3+ series box plot
|
|
979
|
+
maxBoxThreePlusSeriesCountPerSeries: 100,
|
|
980
|
+
// maximum number of boxes for a 3+ series box plot
|
|
981
|
+
maxBoxThreePlusSeriesCountTotal: 2e3,
|
|
982
|
+
// maximum number of outliers for box plot
|
|
983
|
+
maxBoxPlotOutlierLimit: 1e4,
|
|
984
|
+
// maximum number of cells for a heat chart
|
|
985
|
+
maxHeatChartCellLimit: 1e4,
|
|
986
|
+
serialChart: {
|
|
987
|
+
series: 100,
|
|
988
|
+
categories: Number.NaN,
|
|
989
|
+
// no limit by default on the number of categories
|
|
990
|
+
elements: 1e4
|
|
991
|
+
},
|
|
992
|
+
boxPlot: {
|
|
993
|
+
series: 100,
|
|
994
|
+
categories: Number.NaN,
|
|
995
|
+
// no limit by default on the number of categories
|
|
996
|
+
elements: 1e4,
|
|
997
|
+
outliers: 1e4
|
|
998
|
+
},
|
|
999
|
+
heatChart: {
|
|
1000
|
+
cells: 1e4
|
|
1001
|
+
},
|
|
1002
|
+
scatterplot: { aggregationThreshold: 1e4, markersAfterAggregation: 1e4 },
|
|
1003
|
+
pieChart: { slices: 300 },
|
|
1004
|
+
gauge: { features: 50 }
|
|
1005
|
+
};
|
|
1006
|
+
function ut(t) {
|
|
1007
|
+
const e = { ...t };
|
|
1008
|
+
return e.behaviorAfterLimit ??= i.behaviorAfterLimit, e.maxCategoryCount ??= e?.serialChart?.categories ?? i.maxCategoryCount, e.maxBarChartSeriesCount ??= e?.serialChart?.series ?? i.maxBarChartSeriesCount, e.maxBarUniqueSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxBarUniqueSeriesCountTotal, e.maxBarTwoSeriesCountPerSeries ??= i.maxBarTwoSeriesCountPerSeries, e.maxBarTwoSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxBarTwoSeriesCountTotal, e.maxBarThreePlusSeriesCountPerSeries ??= i.maxBarThreePlusSeriesCountPerSeries, e.maxBarThreePlusSeriesCountTotal ??= e.serialChart?.elements ?? i.maxBarThreePlusSeriesCountTotal, e.maxScatterPointsBeforeAggregation ??= e.scatterplot?.aggregationThreshold ?? i.maxScatterPointsBeforeAggregation, e.maxScatterPointsAfterAggregation ??= e.scatterplot?.markersAfterAggregation ?? i.maxScatterPointsAfterAggregation, e.maxLineChartSeriesCount ??= e?.serialChart?.series ?? i.maxLineChartSeriesCount, e.maxLineUniqueSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxLineUniqueSeriesCountTotal, e.maxLineTwoSeriesCountPerSeries ??= i.maxLineTwoSeriesCountPerSeries, e.maxLineTwoSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxLineTwoSeriesCountTotal, e.maxLineThreePlusSeriesCountPerSeries ??= i.maxLineThreePlusSeriesCountPerSeries, e.maxLineThreePlusSeriesCountTotal ??= e.serialChart?.elements ?? i.maxLineThreePlusSeriesCountTotal, e.maxRadarChartSeriesCount ??= e?.serialChart?.series ?? i.maxRadarChartSeriesCount, e.maxRadarUniqueSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxRadarUniqueSeriesCountTotal, e.maxRadarTwoSeriesCountPerSeries ??= i.maxRadarTwoSeriesCountPerSeries, e.maxRadarTwoSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxRadarTwoSeriesCountTotal, e.maxRadarThreePlusSeriesCountPerSeries ??= i.maxRadarThreePlusSeriesCountPerSeries, e.maxRadarThreePlusSeriesCountTotal ??= e.serialChart?.elements ?? i.maxLineThreePlusSeriesCountTotal, e.maxPieChartSliceCountTotal ??= e?.pieChart?.slices ?? i.maxPieChartSliceCountTotal, e.maxGaugeByFeaturesLimit ??= e?.gauge?.features ?? i.maxGaugeByFeaturesLimit, e.maxBoxPlotSeriesCount ??= e?.serialChart?.series ?? i.maxBoxPlotSeriesCount, e.maxBoxUniqueSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxBoxUniqueSeriesCountTotal, e.maxBoxTwoSeriesCountPerSeries ??= i.maxBoxTwoSeriesCountPerSeries, e.maxBoxTwoSeriesCountTotal ??= e?.serialChart?.elements ?? i.maxBoxTwoSeriesCountTotal, e.maxBoxThreePlusSeriesCountPerSeries ??= i.maxBoxThreePlusSeriesCountPerSeries, e.maxBoxThreePlusSeriesCountTotal ??= e.serialChart?.elements ?? i.maxBoxThreePlusSeriesCountTotal, e.maxBoxPlotOutlierLimit ??= e?.boxPlot?.outliers ?? i.maxBoxPlotOutlierLimit, e.maxHeatChartCellLimit ??= e?.heatChart?.cells ?? i.maxHeatChartCellLimit, e.serialChart = {
|
|
1009
|
+
...i.serialChart,
|
|
1010
|
+
...e.serialChart
|
|
1011
|
+
}, e.boxPlot = {
|
|
1012
|
+
...i.boxPlot,
|
|
1013
|
+
...e.boxPlot
|
|
1014
|
+
}, e.heatChart = {
|
|
1015
|
+
...i.heatChart,
|
|
1016
|
+
...e.heatChart
|
|
1017
|
+
}, e.scatterplot = {
|
|
1018
|
+
...i.scatterplot,
|
|
1019
|
+
...e.scatterplot
|
|
1020
|
+
}, e.pieChart = {
|
|
1021
|
+
...i.pieChart,
|
|
1022
|
+
...e.pieChart
|
|
1023
|
+
}, e.gauge = {
|
|
1024
|
+
...i.gauge,
|
|
1025
|
+
...e.gauge
|
|
1026
|
+
}, e;
|
|
1027
|
+
}
|
|
1028
|
+
function ct() {
|
|
1029
|
+
return {
|
|
1030
|
+
/* Specifies the size of the queries on an aggregated scatterplot, counting the number of cells per query.
|
|
1031
|
+
A bigger number implies fewer but slower queries. A smaller number implies more but faster queries.
|
|
1032
|
+
*/
|
|
1033
|
+
maxScatterCellsPerQuery: 500,
|
|
1034
|
+
/* Specifies the size of the queries on an aggregated scatterplot, counting the number of cells per query for Hosted feature layers using standard databases in ArcGIS Online.
|
|
1035
|
+
A bigger number implies fewer but slower queries. A smaller number implies more but faster queries.
|
|
1036
|
+
*/
|
|
1037
|
+
maxScatterCellsPerQueryForStandard: 175,
|
|
1038
|
+
/**
|
|
1039
|
+
* Specifies the number of elements (bars, markers, slices) to be considered per selection query.
|
|
1040
|
+
*/
|
|
1041
|
+
maxElementsPerSelectionQuery: 25,
|
|
1042
|
+
/**
|
|
1043
|
+
* Specifies the maximum number of OIDs to be used in a selection query. They are used as `OBJECTID IN (<oid list>)`
|
|
1044
|
+
*/
|
|
1045
|
+
maxOIDsPerSelectionQuery: 500,
|
|
1046
|
+
/**
|
|
1047
|
+
* Specifies the maximum number of operands (e.g. field < value) in a where clause.
|
|
1048
|
+
*/
|
|
1049
|
+
maxOperandsPerWhereClause: 50
|
|
1050
|
+
};
|
|
1051
|
+
}
|
|
1052
|
+
function mt(t, e) {
|
|
1053
|
+
let r;
|
|
737
1054
|
switch (t) {
|
|
738
|
-
case
|
|
739
|
-
|
|
1055
|
+
case u.Average: {
|
|
1056
|
+
r = e.utilsStrings.statistics.mean;
|
|
740
1057
|
break;
|
|
741
|
-
|
|
742
|
-
|
|
1058
|
+
}
|
|
1059
|
+
case u.ContinuousPercentile: {
|
|
1060
|
+
r = e.utilsStrings.statistics.median;
|
|
743
1061
|
break;
|
|
744
|
-
|
|
745
|
-
|
|
1062
|
+
}
|
|
1063
|
+
case u.Sum: {
|
|
1064
|
+
r = e.utilsStrings.statistics.sum;
|
|
746
1065
|
break;
|
|
747
|
-
|
|
748
|
-
|
|
1066
|
+
}
|
|
1067
|
+
case u.Minimum: {
|
|
1068
|
+
r = e.utilsStrings.statistics.minimum;
|
|
749
1069
|
break;
|
|
750
|
-
|
|
751
|
-
|
|
1070
|
+
}
|
|
1071
|
+
case u.Maximum: {
|
|
1072
|
+
r = e.utilsStrings.statistics.maximum;
|
|
752
1073
|
break;
|
|
753
|
-
|
|
754
|
-
|
|
1074
|
+
}
|
|
1075
|
+
case u.Variance: {
|
|
1076
|
+
r = e.utilsStrings.statistics.variance;
|
|
755
1077
|
break;
|
|
756
|
-
|
|
757
|
-
|
|
1078
|
+
}
|
|
1079
|
+
case u.DiscretePercentile: {
|
|
1080
|
+
r = e.utilsStrings.statistics.discretePercentile;
|
|
758
1081
|
break;
|
|
759
|
-
|
|
760
|
-
|
|
1082
|
+
}
|
|
1083
|
+
case u.NoAggregation: {
|
|
1084
|
+
r = e.utilsStrings.statistics.noAggregation;
|
|
761
1085
|
break;
|
|
1086
|
+
}
|
|
1087
|
+
case u.Count:
|
|
1088
|
+
default: {
|
|
1089
|
+
r = e.utilsStrings.statistics.count;
|
|
1090
|
+
break;
|
|
1091
|
+
}
|
|
762
1092
|
}
|
|
763
|
-
return
|
|
1093
|
+
return r;
|
|
764
1094
|
}
|
|
765
|
-
function
|
|
766
|
-
let
|
|
1095
|
+
function St(t, e) {
|
|
1096
|
+
let r;
|
|
767
1097
|
switch (t) {
|
|
768
|
-
case
|
|
769
|
-
|
|
1098
|
+
case R.End: {
|
|
1099
|
+
r = e.timeAggregationTypes.end;
|
|
770
1100
|
break;
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
case u.StdDev:
|
|
775
|
-
e = 3;
|
|
1101
|
+
}
|
|
1102
|
+
case R.Start: {
|
|
1103
|
+
r = e.timeAggregationTypes.start;
|
|
776
1104
|
break;
|
|
777
|
-
|
|
1105
|
+
}
|
|
778
1106
|
default:
|
|
779
|
-
|
|
1107
|
+
r = "";
|
|
780
1108
|
break;
|
|
781
1109
|
}
|
|
782
|
-
return
|
|
783
|
-
}
|
|
784
|
-
function We(t, e) {
|
|
785
|
-
if (e !== void 0) {
|
|
786
|
-
const { seriesId: i, overlayType: r, visible: a } = t.detail;
|
|
787
|
-
let s;
|
|
788
|
-
switch (r) {
|
|
789
|
-
case u.Mean:
|
|
790
|
-
e.series[0].type === n.HistogramSeries && (s = e.series[0].overlays?.mean);
|
|
791
|
-
break;
|
|
792
|
-
case u.Median:
|
|
793
|
-
e.series[0].type === n.HistogramSeries && (s = e.series[0].overlays?.median);
|
|
794
|
-
break;
|
|
795
|
-
case u.StdDev:
|
|
796
|
-
e.series[0].type === n.HistogramSeries && (s = e.series[0].overlays?.standardDeviation);
|
|
797
|
-
break;
|
|
798
|
-
case u.Normal:
|
|
799
|
-
e.series[0].type === n.HistogramSeries && (s = e.series[0].overlays?.comparisonDistribution);
|
|
800
|
-
break;
|
|
801
|
-
case u.Trendline:
|
|
802
|
-
e.series[0].type === n.ScatterSeries && (s = e.series[0].overlays?.trendLine);
|
|
803
|
-
break;
|
|
804
|
-
default:
|
|
805
|
-
s = e.series.find((o) => o.id === i);
|
|
806
|
-
break;
|
|
807
|
-
}
|
|
808
|
-
s !== void 0 && (s.visible = a);
|
|
809
|
-
}
|
|
810
|
-
}
|
|
811
|
-
function Ve(t) {
|
|
812
|
-
return new Q().sanitize(t);
|
|
813
|
-
}
|
|
814
|
-
function Ee(t) {
|
|
815
|
-
return t != null && !Number.isNaN(t) && Number.isFinite(t);
|
|
816
|
-
}
|
|
817
|
-
function Se(t, e) {
|
|
818
|
-
let i = { fieldToSort: "" };
|
|
819
|
-
if (!_(t)) {
|
|
820
|
-
const r = t.trim(), s = r.split(" ").at(-1)?.toUpperCase();
|
|
821
|
-
s === f.Ascending || s === f.Descending ? i = { fieldToSort: r.substring(0, r.lastIndexOf(" ")), orderBy: s } : (i = { fieldToSort: r }, e !== !1 && (i.orderBy = f.Ascending));
|
|
822
|
-
}
|
|
823
|
-
return i;
|
|
824
|
-
}
|
|
825
|
-
function Ge(t) {
|
|
826
|
-
return t.orderOptions?.orderByFields?.map((e) => Se(e).fieldToSort) ?? [];
|
|
827
|
-
}
|
|
828
|
-
function He(t) {
|
|
829
|
-
return t === S.BarAndLineSplitBy || t === S.BarAndLineSplitByNoAggregation || t === S.BoxPlotMonoFieldAndSplitBy || t === S.BoxPlotMultiFieldsAndSplitBy || t === S.BoxPlotMonoFieldAndCategoryAndSplitBy;
|
|
830
|
-
}
|
|
831
|
-
function Ke(t, e) {
|
|
832
|
-
let { selectionItems: i } = t ?? {};
|
|
833
|
-
const { selectionOIDs: r } = t ?? {};
|
|
834
|
-
let { selectionItems: a } = e ?? {};
|
|
835
|
-
const { selectionOIDs: s } = e ?? {}, o = (d) => ({
|
|
836
|
-
...d,
|
|
837
|
-
[re]: void 0
|
|
838
|
-
});
|
|
839
|
-
i !== void 0 && (i = i.map(o)), a !== void 0 && (a = a.map(o));
|
|
840
|
-
const g = !L(i, a), l = !L(r, s);
|
|
841
|
-
return g || l;
|
|
842
|
-
}
|
|
843
|
-
function Ue(t) {
|
|
844
|
-
return t?.selectionPixelTarget ? Z(t.selectionPixelTarget.pixelRanges) : t?.selectionOIDs === void 0 || t.selectionOIDs.length === 0;
|
|
845
|
-
}
|
|
846
|
-
function qe(t = {
|
|
847
|
-
arrayA: [],
|
|
848
|
-
arrayB: [],
|
|
849
|
-
getKey: (e) => e
|
|
850
|
-
}) {
|
|
851
|
-
const { arrayA: e, arrayB: i, getKey: r } = t;
|
|
852
|
-
if (i.length === 0 || e.length === 0)
|
|
853
|
-
return e;
|
|
854
|
-
const a = /* @__PURE__ */ new Map();
|
|
855
|
-
i.forEach((l, d) => {
|
|
856
|
-
const p = r(l);
|
|
857
|
-
a.set(p, d);
|
|
858
|
-
});
|
|
859
|
-
const s = [], o = [];
|
|
860
|
-
e.forEach((l, d) => {
|
|
861
|
-
const p = r(l);
|
|
862
|
-
a.has(p) && (s.push(d), o.push(l));
|
|
863
|
-
}), o.sort((l, d) => {
|
|
864
|
-
const p = r(l), C = r(d);
|
|
865
|
-
return a.get(p) - a.get(C);
|
|
866
|
-
});
|
|
867
|
-
const g = [...e];
|
|
868
|
-
return s.forEach((l, d) => {
|
|
869
|
-
g[l] = o[d];
|
|
870
|
-
}), g;
|
|
1110
|
+
return r;
|
|
871
1111
|
}
|
|
872
|
-
function
|
|
873
|
-
return
|
|
1112
|
+
function dt() {
|
|
1113
|
+
return J.Side;
|
|
874
1114
|
}
|
|
875
|
-
function
|
|
876
|
-
|
|
877
|
-
return 0.299 * s + 0.587 * o + 0.114 * g > 128;
|
|
1115
|
+
function xt(t) {
|
|
1116
|
+
return t.utilsStrings.notAvailable;
|
|
878
1117
|
}
|
|
879
|
-
const
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
};
|
|
1118
|
+
const gt = 0, Ct = "_arcgis_charts_outliers", ft = "_arcgis_charts_z_score", yt = [210, 210, 210, 255 * d], ht = " percentage ", bt = 7, Tt = {
|
|
1119
|
+
getChartId: g,
|
|
1120
|
+
getDefaultCategoryAxis: A
|
|
1121
|
+
}, pt = 5;
|
|
884
1122
|
export {
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
1123
|
+
Ke as $,
|
|
1124
|
+
se as A,
|
|
1125
|
+
je as B,
|
|
1126
|
+
_e as C,
|
|
1127
|
+
b as D,
|
|
1128
|
+
q as E,
|
|
1129
|
+
X as F,
|
|
1130
|
+
M as G,
|
|
1131
|
+
mt as H,
|
|
1132
|
+
St as I,
|
|
1133
|
+
ht as J,
|
|
1134
|
+
bt as K,
|
|
1135
|
+
Ct as L,
|
|
1136
|
+
ft as M,
|
|
1137
|
+
U as N,
|
|
1138
|
+
ke as O,
|
|
1139
|
+
k as P,
|
|
1140
|
+
Te as Q,
|
|
1141
|
+
ut as R,
|
|
1142
|
+
ct as S,
|
|
1143
|
+
K as T,
|
|
1144
|
+
Pe as U,
|
|
1145
|
+
pe as V,
|
|
1146
|
+
Ee as W,
|
|
1147
|
+
ae as X,
|
|
1148
|
+
me as Y,
|
|
1149
|
+
Je as Z,
|
|
1150
|
+
ne as _,
|
|
1151
|
+
Re as a,
|
|
1152
|
+
H as a0,
|
|
1153
|
+
gt as a1,
|
|
1154
|
+
I as a2,
|
|
1155
|
+
o as a3,
|
|
1156
|
+
n as a4,
|
|
1157
|
+
s as a5,
|
|
1158
|
+
h as a6,
|
|
1159
|
+
T as a7,
|
|
1160
|
+
C as a8,
|
|
1161
|
+
Xe as a9,
|
|
1162
|
+
f as aA,
|
|
1163
|
+
oe as aB,
|
|
1164
|
+
_ as aC,
|
|
1165
|
+
ce as aD,
|
|
1166
|
+
le as aE,
|
|
1167
|
+
Me as aF,
|
|
1168
|
+
Tt as aG,
|
|
1169
|
+
yt as aa,
|
|
1170
|
+
ve as ab,
|
|
1171
|
+
fe as ac,
|
|
1172
|
+
ge as ad,
|
|
1173
|
+
F as ae,
|
|
1174
|
+
Ye as af,
|
|
1175
|
+
xt as ag,
|
|
1176
|
+
Ne as ah,
|
|
1177
|
+
He as ai,
|
|
1178
|
+
we as aj,
|
|
1179
|
+
Ie as ak,
|
|
1180
|
+
pt as al,
|
|
1181
|
+
Be as am,
|
|
1182
|
+
et as an,
|
|
1183
|
+
tt as ao,
|
|
1184
|
+
ze as ap,
|
|
1185
|
+
st as aq,
|
|
1186
|
+
ue as ar,
|
|
1187
|
+
Ze as as,
|
|
1188
|
+
nt as at,
|
|
1189
|
+
lt as au,
|
|
1190
|
+
at as av,
|
|
1191
|
+
it as aw,
|
|
1192
|
+
de as ax,
|
|
1193
|
+
rt as ay,
|
|
1194
|
+
ot as az,
|
|
1195
|
+
Oe as b,
|
|
1196
|
+
xe as c,
|
|
1197
|
+
Qe as d,
|
|
1198
|
+
$e as e,
|
|
1199
|
+
Le as f,
|
|
1200
|
+
x as g,
|
|
1201
|
+
ee as h,
|
|
1202
|
+
Ae as i,
|
|
1203
|
+
O as j,
|
|
1204
|
+
Ve as k,
|
|
1205
|
+
Z as l,
|
|
1206
|
+
ie as m,
|
|
1207
|
+
re as n,
|
|
1208
|
+
We as o,
|
|
1209
|
+
Fe as p,
|
|
1210
|
+
De as q,
|
|
1211
|
+
d as r,
|
|
1212
|
+
dt as s,
|
|
1213
|
+
B as t,
|
|
1214
|
+
Se as u,
|
|
1215
|
+
Y as v,
|
|
1216
|
+
Ue as w,
|
|
1217
|
+
qe as x,
|
|
1218
|
+
Ce as y,
|
|
1219
|
+
Ge as z
|
|
919
1220
|
};
|