@arcgis/charts-components 6.0.0-next.6 → 6.0.0-next.8
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/{4YPBPYT2.js → 22TQSTSU.js} +1 -1
- package/dist/cdn/2IZ27E73.js +2 -0
- package/dist/cdn/36YS6SWU.js +2 -0
- package/dist/cdn/3JXXDTM7.js +2 -0
- package/dist/cdn/3RUCVEOG.js +2 -0
- package/dist/cdn/3UNCSMIH.js +4 -0
- package/dist/cdn/3XWKTCG2.js +2 -0
- package/dist/cdn/{SP2OUJAE.js → 4DQDAM44.js} +2 -2
- package/dist/cdn/4F5HIOT7.js +2 -0
- package/dist/cdn/4W5FC5UJ.js +2 -0
- package/dist/cdn/6Y63J2D4.js +2 -0
- package/dist/cdn/7A6ZC3BY.js +2 -0
- package/dist/cdn/7B26LXAO.js +2 -0
- package/dist/cdn/7BMO4QQG.js +2 -0
- package/dist/cdn/7SKWCJOI.js +2 -0
- package/dist/cdn/ABHDKVCT.js +2 -0
- package/dist/cdn/AHDEGHQC.js +2 -0
- package/dist/cdn/{QQFMQAJ3.js → AS2IRRXE.js} +1 -1
- package/dist/cdn/B73SVOUA.js +2 -0
- package/dist/cdn/{WWMDDOKW.js → BILTOAXM.js} +1 -1
- package/dist/cdn/CX5HMAVB.js +2 -0
- package/dist/cdn/{EKPT25EF.js → DIOXIMBZ.js} +1 -1
- package/dist/cdn/DIVS65HK.js +2 -0
- package/dist/cdn/EJE4D6K4.js +2 -0
- package/dist/cdn/EMJV6FFC.js +2 -0
- package/dist/cdn/EOAW5SJZ.js +2 -0
- package/dist/cdn/EU5JSGVI.js +2 -0
- package/dist/cdn/EVKJUQYC.js +2 -0
- package/dist/cdn/GIUYJ4MX.js +2 -0
- package/dist/cdn/{J6KIUQWW.js → H7EH6MJN.js} +1 -1
- package/dist/cdn/HKD2DTMQ.js +2 -0
- package/dist/cdn/HWJULHS4.js +2 -0
- package/dist/cdn/IMHL6OT4.js +2 -0
- package/dist/cdn/IMJ4ZP54.js +2 -0
- package/dist/cdn/IPRY6SMT.js +2 -0
- package/dist/cdn/IUWQ2XAM.js +2 -0
- package/dist/cdn/IZ6QMJ5N.js +2 -0
- package/dist/cdn/JGKOHDSF.js +2 -0
- package/dist/cdn/JQH63THU.js +2 -0
- package/dist/cdn/{563H5HEV.js → JYLCRNMW.js} +1 -1
- package/dist/cdn/K43QNXLK.js +2 -0
- package/dist/cdn/KE6MY5WL.js +2 -0
- package/dist/cdn/KHC45XNZ.js +2 -0
- package/dist/cdn/KXW4QAYP.js +2 -0
- package/dist/cdn/{OFJLWSKN.js → LNJSZCPC.js} +1 -1
- package/dist/cdn/{PIGINE4M.js → M7MSRLEE.js} +1 -1
- package/dist/cdn/{U7PBBWGS.js → MGKEPCZT.js} +1 -1
- package/dist/cdn/MGX5TD4I.js +2 -0
- package/dist/cdn/MIRDAGB6.js +2 -0
- package/dist/cdn/N337OTT2.js +2 -0
- package/dist/cdn/NCFIBVSV.js +2 -0
- package/dist/cdn/NNKLFRZL.js +2 -0
- package/dist/cdn/NSF637D3.js +2 -0
- package/dist/cdn/{VSKK65CP.js → NUTUTE7W.js} +1 -1
- package/dist/cdn/O3FVBAXP.js +2 -0
- package/dist/cdn/O53REUWO.js +2 -0
- package/dist/cdn/OPSWLJ6M.js +2 -0
- package/dist/cdn/OTIAHPXY.js +2 -0
- package/dist/cdn/PYK3S2WM.js +2 -0
- package/dist/cdn/PYMEPWV2.js +2 -0
- package/dist/cdn/QE4HAH4J.js +2 -0
- package/dist/cdn/SFX2QCRS.js +2 -0
- package/dist/cdn/SI7W275P.js +2 -0
- package/dist/cdn/SVF2UENW.js +4 -0
- package/dist/cdn/SY4PA5GZ.js +2 -0
- package/dist/cdn/TCUFKLTS.js +2 -0
- package/dist/cdn/TMVELVZ4.js +2 -0
- package/dist/cdn/TVAJJTLH.js +2 -0
- package/dist/cdn/TVBULK7L.js +2 -0
- package/dist/cdn/TYVYXA4I.js +2 -0
- package/dist/cdn/TZJX3ZDX.js +2 -0
- package/dist/cdn/{CIZUS2EL.js → U6AJIZZU.js} +1 -1
- package/dist/cdn/U75UR6WF.js +2 -0
- package/dist/cdn/{5BMOVHD7.js → VJBVJ2GM.js} +1 -1
- package/dist/cdn/VKLX5GBO.js +2 -0
- package/dist/cdn/{INYMF2BQ.js → VKMVMHTT.js} +1 -1
- package/dist/cdn/VL3NDPH3.js +2 -0
- package/dist/cdn/VUNCUXZR.js +2 -0
- package/dist/cdn/VVB5JOCB.js +2 -0
- package/dist/cdn/WAW5LS5U.js +2 -0
- package/dist/cdn/XWGJFR6Q.js +2 -0
- package/dist/cdn/YBFPKUEE.js +2 -0
- package/dist/cdn/YBPCOPML.js +2 -0
- package/dist/cdn/YGYZNUDM.js +2 -0
- package/dist/cdn/YLJUSUEV.js +2 -0
- package/dist/cdn/{6T5V66TB.js → YSF3KSMB.js} +24 -24
- package/dist/cdn/Z3UCAFDO.js +2 -0
- package/dist/cdn/ZHKGWF55.js +2 -0
- package/dist/cdn/{5S3M57QS.js → ZXPGBKDC.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 +18 -20
- package/dist/chunks/axis-lines-symbol.js +6 -6
- package/dist/chunks/bar-chart-model.js +5 -7
- package/dist/chunks/box-plot-data.js +74 -76
- package/dist/chunks/box-plot-model.js +40 -41
- package/dist/chunks/chart-model.js +31 -33
- package/dist/chunks/chart-ui-utils.js +45 -47
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +14 -14
- package/dist/chunks/combo-bar-line-chart-model.js +15 -16
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +1 -1
- package/dist/chunks/data.js +52 -54
- package/dist/chunks/gauge-model.js +65 -65
- package/dist/chunks/generate-x-axis-title.js +19 -19
- package/dist/chunks/heat-chart-model.js +13 -14
- package/dist/chunks/histogram-data.js +47 -48
- package/dist/chunks/histogram-model.js +6 -6
- package/dist/chunks/index.js +4943 -3839
- package/dist/chunks/index2.js +1165 -871
- package/dist/chunks/index3.js +11040 -1173
- package/dist/chunks/index4.js +65 -11086
- package/dist/chunks/line-chart-model.js +18 -19
- package/dist/chunks/model-setter.js +6 -6
- package/dist/chunks/model-with-x-guides.js +1 -1
- package/dist/chunks/model-with-y-guides.js +25 -25
- package/dist/chunks/negative-values-stacked-to-baseline.js +6 -6
- package/dist/chunks/pie-chart-data.js +25 -27
- package/dist/chunks/pie-chart-model.js +21 -23
- package/dist/chunks/radar-chart-model.js +6 -7
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +2 -2
- package/dist/chunks/scatterplot-model.js +13 -15
- package/dist/chunks/serial-chart-data.js +226 -229
- package/dist/chunks/serial-chart-model.js +66 -66
- package/dist/chunks/series-length.js +4 -4
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +109 -55
- package/dist/chunks/utils.js +146 -212
- package/dist/chunks/web-component-utils.js +55 -56
- package/dist/chunks/x-bounds.js +24 -25
- package/dist/components/arcgis-chart/customElement.d.ts +11 -4
- package/dist/components/arcgis-chart/customElement.js +6240 -6069
- package/dist/components/arcgis-charts-action-bar/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +11 -12
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +189 -184
- package/dist/components/arcgis-charts-config-font-style/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-format/customElement.js +37 -38
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +7 -7
- 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 +14 -15
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +32 -33
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +9 -10
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +8 -9
- package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +8 -10
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +21 -25
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +15 -16
- package/dist/components/arcgis-charts-info-modal/customElement.js +4 -4
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +396 -398
- package/dist/loader.js +1 -1
- package/dist/utils/chart-config/converter/index.js +73 -75
- package/dist/utils/misc/index.d.ts +4 -4
- package/package.json +4 -4
- package/dist/cdn/2CUBWUT6.js +0 -2
- package/dist/cdn/2E3WHSEW.js +0 -2
- package/dist/cdn/2NTEIXDC.js +0 -2
- package/dist/cdn/3BLCT5B3.js +0 -2
- package/dist/cdn/3KVXZ4Q7.js +0 -2
- package/dist/cdn/3R5OPVW7.js +0 -2
- package/dist/cdn/3TPIZXLQ.js +0 -2
- package/dist/cdn/5BFSYCQN.js +0 -2
- package/dist/cdn/5ORGE6FR.js +0 -2
- package/dist/cdn/6IODKSGJ.js +0 -2
- package/dist/cdn/6KYES23V.js +0 -2
- package/dist/cdn/6MQWBIAC.js +0 -2
- package/dist/cdn/6UY62IZQ.js +0 -2
- package/dist/cdn/7IGL5XAY.js +0 -2
- package/dist/cdn/7ZM3ISL6.js +0 -2
- package/dist/cdn/A5YDIX7U.js +0 -2
- package/dist/cdn/AGKAJN2K.js +0 -2
- package/dist/cdn/ASCE4YBS.js +0 -2
- package/dist/cdn/B6APNE72.js +0 -3
- package/dist/cdn/BAYPYA6T.js +0 -2
- package/dist/cdn/BENXDFDK.js +0 -2
- package/dist/cdn/BG2GEL6V.js +0 -2
- package/dist/cdn/BZ4HWKAF.js +0 -2
- package/dist/cdn/DLMKQ6I2.js +0 -2
- package/dist/cdn/DOC3MQJC.js +0 -2
- package/dist/cdn/ECONXQCG.js +0 -2
- package/dist/cdn/EJ2FAXEX.js +0 -2
- package/dist/cdn/EOAQOIWV.js +0 -2
- package/dist/cdn/FHTWTEA4.js +0 -2
- package/dist/cdn/FN5XFRQS.js +0 -2
- package/dist/cdn/G2DJJIGO.js +0 -2
- package/dist/cdn/HBFEI43W.js +0 -2
- package/dist/cdn/HFQGFEEC.js +0 -2
- package/dist/cdn/HNVWY4XA.js +0 -2
- package/dist/cdn/HRGA4VCV.js +0 -2
- package/dist/cdn/HSSNNVVK.js +0 -2
- package/dist/cdn/I64VVDLI.js +0 -2
- package/dist/cdn/IEOIKLLK.js +0 -2
- package/dist/cdn/IUM6GDBZ.js +0 -2
- package/dist/cdn/JDN6OXCC.js +0 -2
- package/dist/cdn/KHHQ3O5Q.js +0 -2
- package/dist/cdn/LIHIBT2F.js +0 -3
- package/dist/cdn/LLGBFUAJ.js +0 -2
- package/dist/cdn/LRAKZMK6.js +0 -2
- package/dist/cdn/LV6XVOC5.js +0 -2
- package/dist/cdn/M5M3RE6W.js +0 -2
- package/dist/cdn/NEHAS4YX.js +0 -2
- package/dist/cdn/OMR65IIM.js +0 -2
- package/dist/cdn/OP3AF4WI.js +0 -2
- package/dist/cdn/PR3CHNEH.js +0 -2
- package/dist/cdn/PTBNT4NV.js +0 -2
- package/dist/cdn/PWDBJLTW.js +0 -2
- package/dist/cdn/Q2QELGQX.js +0 -2
- package/dist/cdn/Q4I6HPPG.js +0 -2
- package/dist/cdn/QJL6FNQQ.js +0 -2
- package/dist/cdn/QMKBTPPL.js +0 -2
- package/dist/cdn/SEK42UT2.js +0 -2
- package/dist/cdn/SJPUWCSQ.js +0 -2
- package/dist/cdn/SKI5Z6UH.js +0 -2
- package/dist/cdn/SPRQ2OBE.js +0 -2
- package/dist/cdn/TT6IHBTH.js +0 -2
- package/dist/cdn/ULRG7JME.js +0 -2
- package/dist/cdn/UMOEONXM.js +0 -2
- package/dist/cdn/UYCPYSQI.js +0 -2
- package/dist/cdn/WBZEARYO.js +0 -2
- package/dist/cdn/WFAHWPGT.js +0 -2
- package/dist/cdn/WID7G6E7.js +0 -2
- package/dist/cdn/XFFDNZIQ.js +0 -2
- package/dist/cdn/YF7BOK2T.js +0 -2
- package/dist/cdn/ZCC7V2A2.js +0 -2
- package/dist/cdn/ZI7QPEAF.js +0 -2
- package/dist/cdn/ZM5C3KIP.js +0 -2
- package/dist/cdn/ZMBD4NTY.js +0 -4
- package/dist/cdn/ZN7A4NI2.js +0 -2
- package/dist/cdn/ZQAM5BZI.js +0 -2
- package/dist/cdn/ZYYBMTVE.js +0 -2
- package/dist/chunks/index5.js +0 -69
- package/dist/chunks/type-guards2.js +0 -113
- package/dist/chunks/utils2.js +0 -63
- /package/dist/cdn/{OTV3YYDU.js → 7JMZPDM5.js} +0 -0
- /package/dist/cdn/{O6GVF76X.js → KRRYFLG4.js} +0 -0
- /package/dist/cdn/{27C6PCQ2.js → XXO5K6N4.js} +0 -0
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { capitalize as
|
|
2
|
+
import { capitalize as S, isNumber as H, zip as ae, isEqual as ue } from "es-toolkit/compat";
|
|
3
3
|
import { H as W } from "./interfaces.js";
|
|
4
|
-
import { g as ce, a as
|
|
4
|
+
import { g as ce, a as _, b as oe, c as q } from "./box-plot-data.js";
|
|
5
5
|
import { g as fe } from "./histogram-data.js";
|
|
6
6
|
import { g as me, a as de, b as ye } from "./pie-chart-data.js";
|
|
7
7
|
import { a as ie } from "./series-length.js";
|
|
8
8
|
import { g as re, d as le, e as ge } from "./serial-chart-data.js";
|
|
9
9
|
import { g as z, a as pe } from "./data.js";
|
|
10
|
-
import {
|
|
11
|
-
import { i as Y, M as $, l as R, N as ve, O as Be, P as Q } from "./
|
|
12
|
-
import { i as K, a as g, C as A } from "./index2.js";
|
|
10
|
+
import { O as K, r as U, u as be, t as xe, x as g, a5 as E, C as A, P as Fe, _ as P, ah as Ce, b4 as De, cf as Se } from "./index.js";
|
|
11
|
+
import { i as Y, M as $, l as R, N as ve, O as Be, P as Q } from "./index2.js";
|
|
13
12
|
import { g as he } from "./series-types.js";
|
|
14
|
-
import { V as Pe } from "./
|
|
13
|
+
import { V as Pe } from "./index4.js";
|
|
15
14
|
import { DateTime as ne } from "luxon";
|
|
16
15
|
import { P as X } from "./common.js";
|
|
17
16
|
import { a as k, l as L } from "./chart-object-literals.js";
|
|
@@ -116,7 +115,7 @@ function G(l) {
|
|
|
116
115
|
function Me(l, e) {
|
|
117
116
|
return !ue(l, e);
|
|
118
117
|
}
|
|
119
|
-
function
|
|
118
|
+
function st(l, e) {
|
|
120
119
|
return Me(l, e) || l !== e;
|
|
121
120
|
}
|
|
122
121
|
function we(l) {
|
|
@@ -146,7 +145,7 @@ const J = (l) => {
|
|
|
146
145
|
}
|
|
147
146
|
return (t || /[",\r\n]/u.test(i)) && (i = `"${i.replace(/"/gu, '""')}"`), i;
|
|
148
147
|
};
|
|
149
|
-
function
|
|
148
|
+
function ut(l, e = {}) {
|
|
150
149
|
const { columns: t, delimiter: a, includeHeader: o = !0, quoteAll: i = !1, locale: r, roundDecimals: n } = e, s = l.length === 0;
|
|
151
150
|
let c = "";
|
|
152
151
|
if (!s) {
|
|
@@ -164,7 +163,7 @@ function ct(l, e = {}) {
|
|
|
164
163
|
}
|
|
165
164
|
return c;
|
|
166
165
|
}
|
|
167
|
-
function
|
|
166
|
+
function ct(l) {
|
|
168
167
|
const { rawData: e, config: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r, timeZone: n, formatLocale: s, utilsStrings: c } = l;
|
|
169
168
|
let f = [];
|
|
170
169
|
if (t !== void 0 && Array.isArray(e) && e.length > 0) {
|
|
@@ -269,7 +268,7 @@ function $e(l, e) {
|
|
|
269
268
|
}
|
|
270
269
|
function Ne(l) {
|
|
271
270
|
const { fieldName: e, dataContext: t } = l, a = A.rendererSymbolField;
|
|
272
|
-
return e === a && t !== void 0 ?
|
|
271
|
+
return e === a && t !== void 0 ? Se(t) : void 0;
|
|
273
272
|
}
|
|
274
273
|
function ee(l) {
|
|
275
274
|
const { config: e, splitByField: t, splitByValue: a, splitByValueIndex: o, layer: i, fieldList: r, timeZone: n } = l;
|
|
@@ -296,24 +295,24 @@ function Te(l) {
|
|
|
296
295
|
const v = p[Y.xField], b = p[Y.yField], x = p[Y.valueField], C = typeof x == "number" && Number.isFinite(x) ? x.toFixed(2) : x;
|
|
297
296
|
let m = { label: n.x, value: v }, d = { label: n.y, value: b };
|
|
298
297
|
if (n.xTemporalBinning !== void 0) {
|
|
299
|
-
const { label: F, value:
|
|
298
|
+
const { label: F, value: D } = G({
|
|
300
299
|
value: Number(v),
|
|
301
300
|
config: e,
|
|
302
301
|
formatLocale: i,
|
|
303
302
|
unit: n.xTemporalBinning.unit,
|
|
304
303
|
utilsStrings: r
|
|
305
304
|
});
|
|
306
|
-
!K(F) && !K(
|
|
305
|
+
!K(F) && !K(D) && (m = { label: F, value: D });
|
|
307
306
|
}
|
|
308
307
|
if (n.yTemporalBinning !== void 0) {
|
|
309
|
-
const { label: F, value:
|
|
308
|
+
const { label: F, value: D } = G({
|
|
310
309
|
value: Number(b),
|
|
311
310
|
config: e,
|
|
312
311
|
formatLocale: i,
|
|
313
312
|
unit: n.yTemporalBinning.unit,
|
|
314
313
|
utilsStrings: r
|
|
315
314
|
});
|
|
316
|
-
!K(F) && !K(
|
|
315
|
+
!K(F) && !K(D) && (d = { label: F, value: D });
|
|
317
316
|
}
|
|
318
317
|
return {
|
|
319
318
|
[m.label]: m.value,
|
|
@@ -323,7 +322,7 @@ function Te(l) {
|
|
|
323
322
|
});
|
|
324
323
|
}
|
|
325
324
|
function Re(l, e, t) {
|
|
326
|
-
const a = fe(l), o = `${
|
|
325
|
+
const a = fe(l), o = `${S(W.Min)} of ${a}`, i = `${S(W.Max)} of ${a}`, r = `${S(W.Count)} of ${a}`;
|
|
327
326
|
return e.map((n) => {
|
|
328
327
|
const { minValue: s, maxValue: c, count: f } = n, u = H(s), p = H(c), v = H(f), b = {};
|
|
329
328
|
if (u && (b[o] = B({
|
|
@@ -355,7 +354,7 @@ function Ie(l, e, t) {
|
|
|
355
354
|
return t ? o = t.map((i) => a.find((r) => r.toLowerCase().includes(i.toLowerCase())) || "") : o = a.filter((r) => r.toLowerCase().includes(e.toLowerCase())), o.filter((i) => i.trim() !== "");
|
|
356
355
|
}
|
|
357
356
|
function Ke(l) {
|
|
358
|
-
const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = pe(e), c = re(e), f =
|
|
357
|
+
const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = pe(e), c = re(e), f = S(c), u = le(e), p = U(e.series), v = ie(e), b = ge(e), { idField: x, isTraditionalTypeOID: C } = be(xe(a)), m = C && u.length === 1 && u[0] === x;
|
|
359
358
|
let d;
|
|
360
359
|
switch (p) {
|
|
361
360
|
case g.BarAndLineNoAggregation:
|
|
@@ -368,28 +367,28 @@ function Ke(l) {
|
|
|
368
367
|
formatter: i?.xAxisLabelFormatter,
|
|
369
368
|
useRendererLabel: r,
|
|
370
369
|
timeZone: n
|
|
371
|
-
}),
|
|
370
|
+
}), D = { [s]: F };
|
|
372
371
|
return Object.assign(
|
|
373
|
-
|
|
372
|
+
D,
|
|
374
373
|
...u.map((h) => ({
|
|
375
374
|
[h]: B({
|
|
376
375
|
value: y[h],
|
|
377
376
|
originalValue: y[h]
|
|
378
377
|
})
|
|
379
378
|
}))
|
|
380
|
-
),
|
|
379
|
+
), D;
|
|
381
380
|
});
|
|
382
381
|
break;
|
|
383
382
|
case g.BarAndLineFromFields:
|
|
384
383
|
d = ae(u, t).map(([y, F]) => {
|
|
385
|
-
const
|
|
384
|
+
const D = E(e.series)[0], h = {};
|
|
386
385
|
return F !== void 0 && y !== void 0 && (h.Field = B({
|
|
387
386
|
value: F[s],
|
|
388
387
|
originalValue: F[s],
|
|
389
388
|
formatter: i?.xAxisLabelFormatter
|
|
390
389
|
}), h.Value = B({
|
|
391
|
-
value: F[
|
|
392
|
-
originalValue: F[
|
|
390
|
+
value: F[D],
|
|
391
|
+
originalValue: F[D]
|
|
393
392
|
})), h;
|
|
394
393
|
});
|
|
395
394
|
break;
|
|
@@ -404,7 +403,7 @@ function Ke(l) {
|
|
|
404
403
|
formatter: i?.xAxisLabelFormatter,
|
|
405
404
|
useRendererLabel: r,
|
|
406
405
|
timeZone: n
|
|
407
|
-
}),
|
|
406
|
+
}), D = { [s]: F };
|
|
408
407
|
return u.forEach((h, V) => {
|
|
409
408
|
const w = z({
|
|
410
409
|
config: e,
|
|
@@ -416,16 +415,16 @@ function Ke(l) {
|
|
|
416
415
|
fieldList: o
|
|
417
416
|
}), N = E(e.series)[V];
|
|
418
417
|
let I = N, Z = N;
|
|
419
|
-
N.toLowerCase() === w.name.toLowerCase() && (I = w.description, Z = w.name),
|
|
418
|
+
N.toLowerCase() === w.name.toLowerCase() && (I = w.description, Z = w.name), D[I] = B({
|
|
420
419
|
value: y[Z],
|
|
421
420
|
originalValue: y[Z]
|
|
422
421
|
});
|
|
423
|
-
}),
|
|
422
|
+
}), D;
|
|
424
423
|
});
|
|
425
424
|
break;
|
|
426
425
|
case g.BarAndLineSplitBy:
|
|
427
426
|
d = t.flatMap((y) => {
|
|
428
|
-
const F = E(e.series),
|
|
427
|
+
const F = E(e.series), D = O({
|
|
429
428
|
field: s,
|
|
430
429
|
row: y,
|
|
431
430
|
layer: a,
|
|
@@ -445,7 +444,7 @@ function Ke(l) {
|
|
|
445
444
|
timeZone: n
|
|
446
445
|
});
|
|
447
446
|
return {
|
|
448
|
-
[s]:
|
|
447
|
+
[s]: D,
|
|
449
448
|
[b]: w,
|
|
450
449
|
[m ? f : `${f} of ${u[0]}`]: y[F[V]]
|
|
451
450
|
};
|
|
@@ -462,7 +461,7 @@ function Ke(l) {
|
|
|
462
461
|
formatter: i?.xAxisLabelFormatter,
|
|
463
462
|
useRendererLabel: r,
|
|
464
463
|
timeZone: n
|
|
465
|
-
}),
|
|
464
|
+
}), D = Ie(y, u[0], v), h = y[b], V = v.findIndex((I) => $e(I, h)), w = ee({
|
|
466
465
|
config: e,
|
|
467
466
|
splitByField: b,
|
|
468
467
|
splitByValue: h,
|
|
@@ -474,7 +473,7 @@ function Ke(l) {
|
|
|
474
473
|
return {
|
|
475
474
|
[s]: F,
|
|
476
475
|
[b]: w,
|
|
477
|
-
[u[0]]: y[
|
|
476
|
+
[u[0]]: y[D[0]]
|
|
478
477
|
};
|
|
479
478
|
});
|
|
480
479
|
break;
|
|
@@ -527,7 +526,7 @@ function Ee(l) {
|
|
|
527
526
|
return c === g.PieFromCategory && x.toLowerCase() === b.name.toLowerCase() && (y = b.description, F = b.name), d[y] = B({
|
|
528
527
|
value: C[F],
|
|
529
528
|
originalValue: C[F]
|
|
530
|
-
}), d[
|
|
529
|
+
}), d[S($.trim())] = B({
|
|
531
530
|
value: C[`${F}${$}`],
|
|
532
531
|
originalValue: C[`${F}${$}`]
|
|
533
532
|
}), d;
|
|
@@ -540,7 +539,7 @@ function Ee(l) {
|
|
|
540
539
|
}), d.Value = B({
|
|
541
540
|
value: m[x],
|
|
542
541
|
originalValue: m[x]
|
|
543
|
-
}), d[
|
|
542
|
+
}), d[S($.trim())] = B({
|
|
544
543
|
value: m[`${x}${$}`],
|
|
545
544
|
originalValue: m[`${x}${$}`]
|
|
546
545
|
})), d;
|
|
@@ -558,7 +557,7 @@ function j(l) {
|
|
|
558
557
|
}
|
|
559
558
|
}
|
|
560
559
|
function T(l) {
|
|
561
|
-
const { rawData: e, outRow: t, config: a, boxPlotSubType: o, layer: i, fieldList: r, timeZone: n } = l, s =
|
|
560
|
+
const { rawData: e, outRow: t, config: a, boxPlotSubType: o, layer: i, fieldList: r, timeZone: n } = l, s = _(a), c = oe(a), f = q(a);
|
|
562
561
|
let u = P.Outlier;
|
|
563
562
|
const p = R;
|
|
564
563
|
switch (o) {
|
|
@@ -569,13 +568,13 @@ function T(l) {
|
|
|
569
568
|
fieldList: r,
|
|
570
569
|
timeZone: n
|
|
571
570
|
});
|
|
572
|
-
t[s] = x, t[
|
|
571
|
+
t[s] = x, t[S(P.Outlier)] = e[u];
|
|
573
572
|
break;
|
|
574
573
|
}
|
|
575
574
|
case g.BoxPlotC4MultiFieldsAndCategory: {
|
|
576
|
-
t[
|
|
575
|
+
t[S(s)] = e[s], u = `${c.find(
|
|
577
576
|
(C) => Object.keys(e).some((m) => m.toLowerCase().includes(C.toLowerCase()))
|
|
578
|
-
) ?? ""}_${u}`, t[
|
|
577
|
+
) ?? ""}_${u}`, t[S(P.Outlier)] = e[u];
|
|
579
578
|
break;
|
|
580
579
|
}
|
|
581
580
|
case g.BoxPlotC5MonoFieldAndSplitBy:
|
|
@@ -587,7 +586,7 @@ function T(l) {
|
|
|
587
586
|
fieldList: r,
|
|
588
587
|
timeZone: n
|
|
589
588
|
});
|
|
590
|
-
u = `${x}_${u}`, t.Field = e[p], t[
|
|
589
|
+
u = `${x}_${u}`, t.Field = e[p], t[S(f)] = C, t[S(P.Outlier)] = e[u];
|
|
591
590
|
break;
|
|
592
591
|
}
|
|
593
592
|
case g.BoxPlotC7MonoFieldAndCategoryAndSplitBy: {
|
|
@@ -598,25 +597,25 @@ function T(l) {
|
|
|
598
597
|
fieldList: r,
|
|
599
598
|
timeZone: n
|
|
600
599
|
});
|
|
601
|
-
u = `${x}_${u}`, t[
|
|
600
|
+
u = `${x}_${u}`, t[S(s)] = e[s], t[S(f)] = C, t[S(P.Outlier)] = e[u];
|
|
602
601
|
break;
|
|
603
602
|
}
|
|
604
603
|
case g.BoxPlotC1MonoField:
|
|
605
604
|
case g.BoxPlotC2MultiFields:
|
|
606
605
|
default: {
|
|
607
|
-
t.Field = e[p], t[
|
|
606
|
+
t.Field = e[p], t[S(P.Outlier)] = e[u];
|
|
608
607
|
break;
|
|
609
608
|
}
|
|
610
609
|
}
|
|
611
610
|
const v = `${u}${Q}`, b = e[v];
|
|
612
|
-
b !== void 0 && (t[`${
|
|
611
|
+
b !== void 0 && (t[`${S(P.Outlier)} Z-Score`] = b);
|
|
613
612
|
}
|
|
614
613
|
function Ue(l) {
|
|
615
|
-
const { rawData: e, outRow: t, config: a, splitByValue: o, layer: i, fieldList: r, timeZone: n } = l, s = U(a.series), c = e[`${o}_${P.Average}`], f =
|
|
614
|
+
const { rawData: e, outRow: t, config: a, splitByValue: o, layer: i, fieldList: r, timeZone: n } = l, s = U(a.series), c = e[`${o}_${P.Average}`], f = q(a), u = _(a);
|
|
616
615
|
let p = "";
|
|
617
616
|
switch (s) {
|
|
618
617
|
case g.BoxPlotC5MonoFieldAndSplitBy: {
|
|
619
|
-
p = `${o}_${f}`, t.Field = e[R], t[
|
|
618
|
+
p = `${o}_${f}`, t.Field = e[R], t[S(f)] = M({
|
|
620
619
|
field: f,
|
|
621
620
|
value: e[p],
|
|
622
621
|
layer: i,
|
|
@@ -626,7 +625,7 @@ function Ue(l) {
|
|
|
626
625
|
break;
|
|
627
626
|
}
|
|
628
627
|
case g.BoxPlotC6MultiFieldsAndSplitBy: {
|
|
629
|
-
p = `${o}_${P.Average}`, t.Field = e[R], t[
|
|
628
|
+
p = `${o}_${P.Average}`, t.Field = e[R], t[S(f)] = M({
|
|
630
629
|
field: f,
|
|
631
630
|
value: e[p],
|
|
632
631
|
layer: i,
|
|
@@ -636,7 +635,7 @@ function Ue(l) {
|
|
|
636
635
|
break;
|
|
637
636
|
}
|
|
638
637
|
case g.BoxPlotC7MonoFieldAndCategoryAndSplitBy: {
|
|
639
|
-
p = `${o}_${P.Average}`, t[u] = e[u], t[
|
|
638
|
+
p = `${o}_${P.Average}`, t[u] = e[u], t[S(f)] = M({
|
|
640
639
|
field: f,
|
|
641
640
|
value: o,
|
|
642
641
|
layer: i,
|
|
@@ -646,16 +645,16 @@ function Ue(l) {
|
|
|
646
645
|
break;
|
|
647
646
|
}
|
|
648
647
|
}
|
|
649
|
-
t[
|
|
648
|
+
t[S(P.Average)] = c;
|
|
650
649
|
const v = `${String(c)}${Q}`, b = e[v];
|
|
651
|
-
b !== void 0 && (t[`${
|
|
650
|
+
b !== void 0 && (t[`${S(P.Average)} Z-Score`] = b);
|
|
652
651
|
}
|
|
653
652
|
function Ze(l) {
|
|
654
653
|
const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = U(e.series);
|
|
655
654
|
let c = s;
|
|
656
655
|
const f = ce(e), u = Array.isArray(t) && t.length > 0 && t.every((m) => m[A.boxPlot.boxPlotMeanLineMarkerId] !== void 0);
|
|
657
656
|
f && !u && (s === g.BoxPlotC5MonoFieldAndSplitBy ? c = g.BoxPlotC1MonoField : s === g.BoxPlotC6MultiFieldsAndSplitBy ? c = g.BoxPlotC2MultiFields : s === g.BoxPlotC7MonoFieldAndCategoryAndSplitBy && (c = g.BoxPlotC3MonoFieldAndCategory));
|
|
658
|
-
const p =
|
|
657
|
+
const p = _(e), v = oe(e), b = ie(e), x = q(e);
|
|
659
658
|
let C;
|
|
660
659
|
switch (c) {
|
|
661
660
|
case g.BoxPlotC1MonoField:
|
|
@@ -723,7 +722,7 @@ function Ze(l) {
|
|
|
723
722
|
});
|
|
724
723
|
else {
|
|
725
724
|
if (c === g.BoxPlotC4MultiFieldsAndCategory) {
|
|
726
|
-
const
|
|
725
|
+
const D = O({
|
|
727
726
|
field: p,
|
|
728
727
|
row: m,
|
|
729
728
|
layer: a,
|
|
@@ -732,7 +731,7 @@ function Ze(l) {
|
|
|
732
731
|
useRendererLabel: r,
|
|
733
732
|
timeZone: n
|
|
734
733
|
});
|
|
735
|
-
y[p] =
|
|
734
|
+
y[p] = D, F = `${d}_`;
|
|
736
735
|
}
|
|
737
736
|
j({ rawData: m, outRow: y, keyBase: F });
|
|
738
737
|
}
|
|
@@ -775,7 +774,7 @@ function Ze(l) {
|
|
|
775
774
|
fieldList: o
|
|
776
775
|
});
|
|
777
776
|
if (c === g.BoxPlotC7MonoFieldAndCategoryAndSplitBy) {
|
|
778
|
-
const
|
|
777
|
+
const D = O({
|
|
779
778
|
field: p,
|
|
780
779
|
row: m,
|
|
781
780
|
layer: a,
|
|
@@ -784,7 +783,7 @@ function Ze(l) {
|
|
|
784
783
|
useRendererLabel: r,
|
|
785
784
|
timeZone: n
|
|
786
785
|
});
|
|
787
|
-
y[p] =
|
|
786
|
+
y[p] = D;
|
|
788
787
|
}
|
|
789
788
|
return m[A.boxPlot.boxPlotOutlierId] ? T({
|
|
790
789
|
rawData: m,
|
|
@@ -813,11 +812,11 @@ const te = (l) => {
|
|
|
813
812
|
const r = a?.find((n) => n.name === e);
|
|
814
813
|
if (r) {
|
|
815
814
|
const n = r.type === Ve.DateOnly;
|
|
816
|
-
|
|
815
|
+
De(r) && !n ? i = te(t) ? We(new Date(t), o) : t : n && typeof t != "string" && (i = te(t) ? He(new Date(t), o) : t);
|
|
817
816
|
}
|
|
818
817
|
return i;
|
|
819
818
|
};
|
|
820
|
-
function
|
|
819
|
+
function ft(l) {
|
|
821
820
|
const { runtimeDataFilters: e, view: t, viewTimeExtentChangePolicy: a, syncViewTimeExtent: o } = l;
|
|
822
821
|
let i = e;
|
|
823
822
|
return t && (a === Pe.Refresh || o) && t.timeExtent?.start != null && t.timeExtent?.end != null && (i = {
|
|
@@ -829,10 +828,10 @@ export {
|
|
|
829
828
|
Le as a,
|
|
830
829
|
Oe as b,
|
|
831
830
|
Ae as c,
|
|
832
|
-
|
|
833
|
-
|
|
831
|
+
ft as d,
|
|
832
|
+
ut as e,
|
|
834
833
|
Me as f,
|
|
835
834
|
G as g,
|
|
836
|
-
|
|
837
|
-
|
|
835
|
+
st as h,
|
|
836
|
+
ct as t
|
|
838
837
|
};
|
package/dist/chunks/x-bounds.js
CHANGED
|
@@ -5,11 +5,10 @@ import { M as S, G as c } from "./common.js";
|
|
|
5
5
|
import { g as T } from "./model-types.js";
|
|
6
6
|
import { b as g } from "./rest-js-object-literals.js";
|
|
7
7
|
import { a as x } from "./chart-object-literals.js";
|
|
8
|
-
import { Q as C,
|
|
9
|
-
import {
|
|
8
|
+
import { Q as C, a5 as L, a6 as b, t as M } from "./index2.js";
|
|
9
|
+
import { ch as X, b as B, i as A, eI as O } from "./index.js";
|
|
10
10
|
import { m as a, C as f } from "./model-setter.js";
|
|
11
|
-
import {
|
|
12
|
-
import { n as v, d as y, h as R } from "./utils.js";
|
|
11
|
+
import { o as P, n as R, p as v, d as y } from "./utils.js";
|
|
13
12
|
const D = (t) => {
|
|
14
13
|
for (const e of t.axes ?? [])
|
|
15
14
|
for (const i of e?.guides ?? [])
|
|
@@ -51,19 +50,19 @@ const E = (t) => {
|
|
|
51
50
|
}, j = (t) => {
|
|
52
51
|
const { axis: e, index: i } = d(t);
|
|
53
52
|
return e?.guides?.[i]?.end;
|
|
54
|
-
},
|
|
53
|
+
}, I = (t) => {
|
|
55
54
|
const { end: e, axis: i, index: s } = d(t);
|
|
56
55
|
i?.guides?.[s] !== void 0 && (i.guides[s].end = e, p(i.guides[s]));
|
|
57
|
-
},
|
|
56
|
+
}, $ = (t) => {
|
|
58
57
|
const { axis: e, index: i } = d(t);
|
|
59
58
|
return e?.guides?.[i]?.name;
|
|
60
59
|
}, N = (t) => {
|
|
61
60
|
const { name: e, axis: i, index: s } = d(t);
|
|
62
61
|
i?.guides?.[s] !== void 0 && (i.guides[s].name = e);
|
|
63
|
-
},
|
|
62
|
+
}, Q = (t) => {
|
|
64
63
|
const { axis: e, index: i } = d(t);
|
|
65
64
|
return e?.guides?.[i]?.label?.text;
|
|
66
|
-
},
|
|
65
|
+
}, U = (t) => {
|
|
67
66
|
const { labelText: e, axis: i, index: s } = d(t), o = i?.guides?.[s]?.label ?? C(e, L(b.GuideLabel), b.GuideLabel);
|
|
68
67
|
i?.guides?.[s] !== void 0 && (i.guides[s].label = { ...o, text: e });
|
|
69
68
|
}, Y = (t) => {
|
|
@@ -78,7 +77,7 @@ const E = (t) => {
|
|
|
78
77
|
}, H = (t) => {
|
|
79
78
|
const { style: e, axis: i, index: s } = d(t);
|
|
80
79
|
i?.guides?.[s] !== void 0 && (i.guides[s].style = e);
|
|
81
|
-
},
|
|
80
|
+
}, he = (t) => {
|
|
82
81
|
const { config: e, name: i, index: s, orientation: o } = t, n = o === c.X ? e.axes?.[0] : e.axes?.[1];
|
|
83
82
|
if (n !== void 0) {
|
|
84
83
|
n.guides = n.guides ?? [];
|
|
@@ -90,7 +89,7 @@ const E = (t) => {
|
|
|
90
89
|
};
|
|
91
90
|
s !== void 0 && s < n.guides.length ? n.guides.splice(s, 0, r) : n.guides.push(r);
|
|
92
91
|
}
|
|
93
|
-
},
|
|
92
|
+
}, _e = (t) => {
|
|
94
93
|
const { config: e, index: i, orientation: s } = t, o = s === c.X ? e.axes?.[0] : e.axes?.[1];
|
|
95
94
|
o?.guides !== void 0 && (i !== void 0 && i < o.guides.length ? o.guides.splice(i, 1) : o.guides.pop());
|
|
96
95
|
}, J = (t) => {
|
|
@@ -151,7 +150,7 @@ class u extends h {
|
|
|
151
150
|
return j({ config: this._config, index: e, orientation: i });
|
|
152
151
|
}
|
|
153
152
|
setGuideEnd(e, i, s) {
|
|
154
|
-
|
|
153
|
+
I({ end: e, config: this._config, index: i, orientation: s });
|
|
155
154
|
}
|
|
156
155
|
/**
|
|
157
156
|
* Gets the name of a guide.
|
|
@@ -160,7 +159,7 @@ class u extends h {
|
|
|
160
159
|
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
161
160
|
*/
|
|
162
161
|
getGuideName(e, i) {
|
|
163
|
-
return
|
|
162
|
+
return $({ config: this._config, index: e, orientation: i });
|
|
164
163
|
}
|
|
165
164
|
setGuideName(e, i, s) {
|
|
166
165
|
N({ name: e, config: this._config, index: i, orientation: s });
|
|
@@ -172,10 +171,10 @@ class u extends h {
|
|
|
172
171
|
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
173
172
|
*/
|
|
174
173
|
getGuideLabelText(e, i) {
|
|
175
|
-
return
|
|
174
|
+
return Q({ config: this._config, index: e, orientation: i });
|
|
176
175
|
}
|
|
177
176
|
setGuideLabelText(e, i, s) {
|
|
178
|
-
|
|
177
|
+
U({ labelText: e, config: this._config, index: i, orientation: s });
|
|
179
178
|
}
|
|
180
179
|
/**
|
|
181
180
|
* Gets whether the guide should be rendered above the other chart elements.
|
|
@@ -262,16 +261,16 @@ l([
|
|
|
262
261
|
l([
|
|
263
262
|
a
|
|
264
263
|
], u.prototype, "setGuideTooltipReverseColor");
|
|
265
|
-
class
|
|
264
|
+
class Se extends f {
|
|
266
265
|
/**
|
|
267
266
|
* Whether the x-axis labels are visible.
|
|
268
267
|
*/
|
|
269
268
|
get xAxisLabelsVisibility() {
|
|
270
|
-
return
|
|
269
|
+
return P(0, this._config);
|
|
271
270
|
}
|
|
272
271
|
set xAxisLabelsVisibility(e) {
|
|
273
272
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
274
|
-
|
|
273
|
+
R({
|
|
275
274
|
visibility: e,
|
|
276
275
|
axisIndex: 0,
|
|
277
276
|
config: this._config
|
|
@@ -287,7 +286,7 @@ var ee = Object.defineProperty, ie = Object.getOwnPropertyDescriptor, te = (t, e
|
|
|
287
286
|
const se = (t) => v({ config: t, axisIndex: 0, isMax: !0 }), oe = (t, e) => {
|
|
288
287
|
y({ config: t, value: e, axisIndex: 0, isMax: !0 });
|
|
289
288
|
};
|
|
290
|
-
class
|
|
289
|
+
class G extends f {
|
|
291
290
|
/**
|
|
292
291
|
* Maximum bound set for the x-axis.
|
|
293
292
|
*
|
|
@@ -302,7 +301,7 @@ class m extends f {
|
|
|
302
301
|
}
|
|
303
302
|
te([
|
|
304
303
|
a
|
|
305
|
-
],
|
|
304
|
+
], G.prototype, "maxXBound");
|
|
306
305
|
var ne = Object.defineProperty, de = Object.getOwnPropertyDescriptor, re = (t, e, i, s) => {
|
|
307
306
|
for (var o = de(e, i), n = t.length - 1, r; n >= 0; n--)
|
|
308
307
|
(r = t[n]) && (o = r(e, i, o) || o);
|
|
@@ -311,7 +310,7 @@ var ne = Object.defineProperty, de = Object.getOwnPropertyDescriptor, re = (t, e
|
|
|
311
310
|
const ae = (t) => v({ config: t, axisIndex: 0, isMax: !1 }), le = (t, e) => {
|
|
312
311
|
y({ config: t, value: e, axisIndex: 0, isMax: !1 });
|
|
313
312
|
};
|
|
314
|
-
class
|
|
313
|
+
class m extends f {
|
|
315
314
|
/**
|
|
316
315
|
* Minimum bound set for the x-axis.
|
|
317
316
|
*
|
|
@@ -326,14 +325,14 @@ class G extends f {
|
|
|
326
325
|
}
|
|
327
326
|
re([
|
|
328
327
|
a
|
|
329
|
-
],
|
|
328
|
+
], m.prototype, "minXBound");
|
|
330
329
|
class ue extends f {
|
|
331
330
|
}
|
|
332
|
-
|
|
331
|
+
O(ue, [G, m]);
|
|
333
332
|
export {
|
|
334
333
|
u as M,
|
|
335
|
-
|
|
334
|
+
Se as W,
|
|
336
335
|
ue as a,
|
|
337
|
-
|
|
338
|
-
|
|
336
|
+
he as b,
|
|
337
|
+
_e as d
|
|
339
338
|
};
|
|
@@ -996,7 +996,12 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
996
996
|
accessor interactionsDisabled: boolean;
|
|
997
997
|
/**
|
|
998
998
|
* Used to perform queries.
|
|
999
|
-
*
|
|
999
|
+
*
|
|
1000
|
+
* Charts supports feature-like and imagery layers. Feature-like layers must implement the properties and methods defined by [`ChartLayer`](/references/charts-components/interfaces/#ChartLayer).
|
|
1001
|
+
* - Feature-like layers: [`CatalogLayer`](/references/core/layers/CatalogLayer/), [`CSVLayer`](/references/core/layers/CSVLayer/), [`FeatureLayer`](/references/core/layers/FeatureLayer/), [`GeoJSONLayer`](/references/core/layers/GeoJSONLayer/), [`ParquetLayer`](/references/core/layers/ParquetLayer/), [`WFSLayer`](/references/core/layers/WFSLayer/)
|
|
1002
|
+
* - Imagery layers: [`ImageryLayer`](/references/core/layers/ImageryLayer/), [`ImageryTileLayer`](/references/core/layers/ImageryTileLayer/), [`OrientedImageryLayer`](/references/core/layers/OrientedImageryLayer/), [`WCSLayer`](/references/core/layers/WCSLayer/)
|
|
1003
|
+
*
|
|
1004
|
+
* **Note**: Queries run client-side when [layer](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layer) is a [`ChartLayerView`](/references/charts-components/interfaces/#ChartLayerView), or when both [layer](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layer) and [view](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#view) are provided.
|
|
1000
1005
|
*/
|
|
1001
1006
|
accessor layer: ChartLayerInput | undefined;
|
|
1002
1007
|
/**
|
|
@@ -1017,7 +1022,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1017
1022
|
* Layer item ID associated with the chart to be rendered. Can be used in conjunction with the [chartIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#chartIndex) property.
|
|
1018
1023
|
* If `layerItemId` is set without [chartIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#chartIndex), the first chart in the layer will be rendered.
|
|
1019
1024
|
*
|
|
1020
|
-
* Supported layer types include: [`FeatureLayer`](/references/core/layers/FeatureLayer), [`
|
|
1025
|
+
* Supported layer types include: [`FeatureLayer`](/references/core/layers/FeatureLayer), [`ParquetLayer`](/references/core/layers/ParquetLayer),[`ImageryLayer`](/references/core/layers/ImageryLayer), [`ImageryTileLayer`](/references/core/layers/ImageryTileLayer), [`WCSLayer`](/references/core/layers/WCSLayer) and [`OrientedImageryLayer`](/references/core/layers/OrientedImageryLayer).
|
|
1021
1026
|
*
|
|
1022
1027
|
* > The layer item ID can be found in the URL of the layer's item page on ArcGIS Online or Enterprise.
|
|
1023
1028
|
* > For example, in the URL `https://www.arcgis.com/home/item.html?id=8871626e970a4f3e9d6113ec63a92f2f`, the layer item ID is `8871626e970a4f3e9d6113ec63a92f2f`.
|
|
@@ -1098,11 +1103,13 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1098
1103
|
*/
|
|
1099
1104
|
accessor loaderColors: LoaderColors | undefined;
|
|
1100
1105
|
/**
|
|
1101
|
-
* The ID of the map layer containing the chart. Can be used in conjunction with the [chartIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#chartIndex) property.
|
|
1106
|
+
* The ID of the map layer containing the chart. Can be used in conjunction with the [chartIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#chartIndex) property. The [map layer ID](/references/core/layers/Layer/#id) can be found by inspecting the layer's properties.
|
|
1102
1107
|
* If `mapLayerId` is set without [chartIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#chartIndex), the first chart in the layer will be rendered.
|
|
1103
1108
|
*
|
|
1104
|
-
* >
|
|
1109
|
+
* > [!WARNING]
|
|
1110
|
+
* > Use [layer](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layer), [mapLayerId](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#mapLayerId), and [layerItemId](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layerItemId) independently; only one should be set at a time.
|
|
1105
1111
|
*
|
|
1112
|
+
* @see [Tutorial: Chart and map interactions](https://developers.arcgis.com/javascript/latest/tutorials/chart-and-map-interactions/)
|
|
1106
1113
|
* @example
|
|
1107
1114
|
* ```ts
|
|
1108
1115
|
* <arcgis-chart map-layer-id="1a116fff2bf-layer-2" chart-index="2"></arcgis-chart>
|