@arcgis/charts-components 6.0.0-next.19 → 6.0.0-next.20
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/{Q4EFECTX.js → 2CNZDYOY.js} +1 -1
- package/dist/cdn/{QX443ZT3.js → 2L3CFU7R.js} +1 -1
- package/dist/cdn/{MTMNRIHL.js → 3D6A3FSY.js} +1 -1
- package/dist/cdn/3RMCJLPQ.js +2 -0
- package/dist/cdn/{EDPNBLT6.js → 4DBZXMWZ.js} +1 -1
- package/dist/cdn/{7R57NAHO.js → 4OC5GZ3M.js} +1 -1
- package/dist/cdn/{RANMZVK2.js → 57ZRFAP5.js} +1 -1
- package/dist/cdn/{UBJQCDOL.js → 5FLPMVDG.js} +1 -1
- package/dist/cdn/{UI4IOFME.js → 5VCVKGKW.js} +1 -1
- package/dist/cdn/{WHE4AAZ7.js → 5VG5RZKN.js} +1 -1
- package/dist/cdn/{QGXFFV46.js → 6FLJN3FM.js} +1 -1
- package/dist/cdn/{ONCZ6POJ.js → 73E367AZ.js} +1 -1
- package/dist/cdn/{HHBLZIL4.js → 74J2YHAH.js} +1 -1
- package/dist/cdn/{RQDYFGOX.js → 7CHIKM2Y.js} +1 -1
- package/dist/cdn/{3Z4OBTI2.js → 7EH2KTOE.js} +1 -1
- package/dist/cdn/{7B5WALQA.js → A5Y7SINJ.js} +1 -1
- package/dist/cdn/B2MNXOZC.js +2 -0
- package/dist/cdn/{CEK6AM7E.js → B3YDN37X.js} +1 -1
- package/dist/cdn/{O2NYEOQ6.js → BXUTY44W.js} +1 -1
- package/dist/cdn/{UOAPLPM3.js → CCCVN47Z.js} +1 -1
- package/dist/cdn/{RQ3AQL7A.js → CNQNN4CB.js} +1 -1
- package/dist/cdn/{WSTNZKNL.js → CQU7SD5I.js} +1 -1
- package/dist/cdn/{NYEME5J5.js → CXZF73UW.js} +1 -1
- package/dist/cdn/{CM2TXHHV.js → D26USL3R.js} +1 -1
- package/dist/cdn/{BVYYKKMD.js → DBCZ7X7L.js} +1 -1
- package/dist/cdn/DHXZKTF6.js +4 -0
- package/dist/cdn/{OWX5EO6C.js → DO4L5IAM.js} +1 -1
- package/dist/cdn/{BVAWYQ2X.js → DQJZEIEB.js} +1 -1
- package/dist/cdn/{YEHQ2DYK.js → DYWTYNT4.js} +1 -1
- package/dist/cdn/{2XFCDEUQ.js → EBNM4Q47.js} +1 -1
- package/dist/cdn/{3BHGMUPM.js → EBVBQSUD.js} +1 -1
- package/dist/cdn/{BIU5DASA.js → EKWGPT5Y.js} +1 -1
- package/dist/cdn/{SFA5VTS2.js → F2AEPQP5.js} +1 -1
- package/dist/cdn/{A73ZVGAS.js → F76PZBOK.js} +1 -1
- package/dist/cdn/{ZBDDGW7A.js → GFVKVWUY.js} +1 -1
- package/dist/cdn/{4CDZP4TX.js → GQFD2BXB.js} +1 -1
- package/dist/cdn/HW5YPNRC.js +2 -0
- package/dist/cdn/{JHF77RUC.js → HZSR2TZW.js} +1 -1
- package/dist/cdn/{YI4CAGMX.js → IQE6TEF7.js} +1 -1
- package/dist/cdn/{P4GYZ2NE.js → JNFER2G5.js} +1 -1
- package/dist/cdn/{2OZON66K.js → JTQIRNPA.js} +1 -1
- package/dist/cdn/{RFMXU2H7.js → JWZEPPGG.js} +1 -1
- package/dist/cdn/{VSEVHNBJ.js → KBUFMYZQ.js} +1 -1
- package/dist/cdn/{FBLAMRCB.js → KDVRUUVP.js} +1 -1
- package/dist/cdn/{CEUNAF3K.js → KEX2VV73.js} +1 -1
- package/dist/cdn/{DRQAJW27.js → KKAUA5I4.js} +1 -1
- package/dist/cdn/{HUTZOFDL.js → L5HPMS5V.js} +1 -1
- package/dist/cdn/{SNL33CT7.js → L5U7LDC3.js} +1 -1
- package/dist/cdn/{7YTUWHFR.js → L6BGXMMO.js} +1 -1
- package/dist/cdn/{GJWYUOWB.js → LRZAD7VO.js} +1 -1
- package/dist/cdn/{ZMLRNHR5.js → MG4XERCZ.js} +1 -1
- package/dist/cdn/{R5XG2G7J.js → MIBOTYKP.js} +1 -1
- package/dist/cdn/{Z4MNKCOZ.js → MU55JIYV.js} +1 -1
- package/dist/cdn/{ICEYNRHD.js → MVHLKL7W.js} +1 -1
- package/dist/cdn/{UKXRSJI4.js → N35DJP7H.js} +1 -1
- package/dist/cdn/{4KWM7I3R.js → N3JX6GNR.js} +18 -18
- package/dist/cdn/{CO56NHDR.js → N5QBW4DK.js} +1 -1
- package/dist/cdn/{2IIC5M7T.js → NSHVMSOK.js} +1 -1
- package/dist/cdn/NWPO6T3D.js +2 -0
- package/dist/cdn/NX3KK4IQ.js +2 -0
- package/dist/cdn/{QQVHG5TF.js → NXKWU3DD.js} +1 -1
- package/dist/cdn/{NQJQ637M.js → OMMWNI5R.js} +1 -1
- package/dist/cdn/{IHZHAFPS.js → OZNRLDTD.js} +1 -1
- package/dist/cdn/{CJRZC5CN.js → Q2SHE4BB.js} +1 -1
- package/dist/cdn/QB5X2DNO.js +2 -0
- package/dist/cdn/{LON6BJK7.js → QKRQPIDL.js} +1 -1
- package/dist/cdn/{OGNCTDAF.js → QUOBWCF5.js} +1 -1
- package/dist/cdn/{KKCQL6EG.js → R6MIM2PY.js} +1 -1
- package/dist/cdn/{GO5Q775T.js → RDAE2OL3.js} +1 -1
- package/dist/cdn/{I3DVCLDP.js → RWTBVIDB.js} +1 -1
- package/dist/cdn/{NKLK62MJ.js → SZWXYTUV.js} +1 -1
- package/dist/cdn/{7EBLXYTO.js → T35SJEP4.js} +1 -1
- package/dist/cdn/{NGU7YK4K.js → TRTYIA2G.js} +1 -1
- package/dist/cdn/{3WYN6S3X.js → U2MXHNZR.js} +1 -1
- package/dist/cdn/{W5UOB7NS.js → UIZELEJD.js} +1 -1
- package/dist/cdn/UNFDJW5A.js +2 -0
- package/dist/cdn/{F6MI4LEQ.js → VTCPVV2K.js} +1 -1
- package/dist/cdn/W5I5BEM4.js +2 -0
- package/dist/cdn/{NXZ643YO.js → WMLMPR4P.js} +1 -1
- package/dist/cdn/{GG5XPSK5.js → WO73Q3XE.js} +1 -1
- package/dist/cdn/{GLMJXTZF.js → X2YVJPZF.js} +1 -1
- package/dist/cdn/{N3CQJ33I.js → X7WYDIZE.js} +1 -1
- package/dist/cdn/{M4MZPY2T.js → XCFAVK6F.js} +1 -1
- package/dist/cdn/{26XWRAQN.js → Y2FV4AZ4.js} +1 -1
- package/dist/cdn/{MRCL6W5Z.js → YJW7KSEK.js} +1 -1
- package/dist/cdn/{KQJAQMO4.js → YR2TWUVL.js} +1 -1
- package/dist/cdn/{YGV6VUSU.js → Z6PP7BPU.js} +1 -1
- package/dist/cdn/{LQATZGEX.js → ZCXMHYL5.js} +1 -1
- package/dist/cdn/{E2Y55KVA.js → ZJKDLNZQ.js} +1 -1
- package/dist/cdn/{TX34E6CB.js → ZOZCGOID.js} +1 -1
- package/dist/cdn/{U4N3E77G.js → ZY5S677G.js} +1 -1
- package/dist/cdn/{LQFQARDL.js → ZYH6RLUY.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/bar-chart-model.js +3 -3
- package/dist/chunks/box-plot-model.js +6 -6
- package/dist/chunks/chart-model.js +19 -19
- package/dist/chunks/combo-bar-line-chart-model.js +8 -8
- package/dist/chunks/gauge-model.js +16 -16
- package/dist/chunks/histogram-model.js +5 -5
- package/dist/chunks/index.js +1502 -1481
- package/dist/chunks/line-chart-model.js +5 -5
- package/dist/chunks/model-with-x-guides.js +1 -1
- package/dist/chunks/model-with-y-guides.js +10 -10
- package/dist/chunks/pie-chart-model.js +6 -6
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/scatterplot-model.js +12 -12
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/x-bounds.js +17 -17
- package/dist/components/arcgis-chart/customElement.js +1790 -1804
- package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +20 -24
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +78 -76
- 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 +214 -213
- package/dist/loader.js +1 -1
- package/package.json +6 -6
- package/dist/cdn/2YPHOEBL.js +0 -2
- package/dist/cdn/54KQWYXM.js +0 -2
- package/dist/cdn/5SEDPIPU.js +0 -2
- package/dist/cdn/7PBQ23Z6.js +0 -2
- package/dist/cdn/FNCCQ326.js +0 -2
- package/dist/cdn/GSCC3FON.js +0 -2
- package/dist/cdn/GZ3YHHLB.js +0 -2
- package/dist/cdn/OZSOICXE.js +0 -2
- package/dist/cdn/XZHXK4OO.js +0 -4
- /package/dist/cdn/{7D3LBTBW.js → 2TVBBBFB.js} +0 -0
- /package/dist/cdn/{OMB6VH6Z.js → 3FAXIZDY.js} +0 -0
- /package/dist/cdn/{YYKAPOEZ.js → 3RJA6GU5.js} +0 -0
- /package/dist/cdn/{EF2HSNUZ.js → 3RXZGLTX.js} +0 -0
- /package/dist/cdn/{42UIR2IR.js → 3XO5QWW2.js} +0 -0
- /package/dist/cdn/{4AKIGTA2.js → 4AA4A62W.js} +0 -0
- /package/dist/cdn/{Q7ZPO77A.js → 4HXGM3VX.js} +0 -0
- /package/dist/cdn/{HZTV6GS6.js → 6COGNLWU.js} +0 -0
- /package/dist/cdn/{AZKT7APT.js → 6YTUMBO6.js} +0 -0
- /package/dist/cdn/{DOQLHITH.js → 7EO4DMRO.js} +0 -0
- /package/dist/cdn/{ZOSUF434.js → ABHDMXQ7.js} +0 -0
- /package/dist/cdn/{JMUDIMMT.js → CFC3MJF7.js} +0 -0
- /package/dist/cdn/{FWC4JUA4.js → CPBCKPO3.js} +0 -0
- /package/dist/cdn/{BA32RD3P.js → EN4TKBF7.js} +0 -0
- /package/dist/cdn/{NZNYMEBI.js → H32ZCMZI.js} +0 -0
- /package/dist/cdn/{DVBWXJY4.js → IJ4NLEMH.js} +0 -0
- /package/dist/cdn/{EGKOW5LO.js → IVMUU655.js} +0 -0
- /package/dist/cdn/{CGGLSXCD.js → JP7ADCJN.js} +0 -0
- /package/dist/cdn/{V2AEKOVG.js → JSIJJIJ2.js} +0 -0
- /package/dist/cdn/{SQ6XT3Z7.js → KJ2WKS3E.js} +0 -0
- /package/dist/cdn/{WQSXECW6.js → KZMHSQD6.js} +0 -0
- /package/dist/cdn/{TFYWD6QL.js → L5YQURIU.js} +0 -0
- /package/dist/cdn/{5BNIGQ75.js → LLQZNNEC.js} +0 -0
- /package/dist/cdn/{7XRRXXLO.js → MMZZZC7O.js} +0 -0
- /package/dist/cdn/{K6FYLQNG.js → NHKIOS73.js} +0 -0
- /package/dist/cdn/{3YRFJ6NV.js → PBFYIRZY.js} +0 -0
- /package/dist/cdn/{4L3BZMH7.js → PISJX2S5.js} +0 -0
- /package/dist/cdn/{TAQ7WU3A.js → Q3KUGWEO.js} +0 -0
- /package/dist/cdn/{PAXVQYNM.js → QGCRMKE5.js} +0 -0
- /package/dist/cdn/{65L7R5DC.js → QJZFHN2U.js} +0 -0
- /package/dist/cdn/{Y2GJGDES.js → SNAWWD5A.js} +0 -0
- /package/dist/cdn/{LD5UFLE7.js → ST6XSWHI.js} +0 -0
- /package/dist/cdn/{NNK6NBLX.js → UXCVVLXG.js} +0 -0
- /package/dist/cdn/{QSYOS3BC.js → VARG4EGS.js} +0 -0
- /package/dist/cdn/{FVSJ2OPV.js → VJWRWNXG.js} +0 -0
- /package/dist/cdn/{I5PEQRVF.js → WCOMQDTO.js} +0 -0
- /package/dist/cdn/{XS6XHZQ5.js → YQPVQLX7.js} +0 -0
- /package/dist/cdn/{I3LSRXSY.js → ZASO3PKX.js} +0 -0
- /package/dist/cdn/{FUUEOMQP.js → ZIHB4MW5.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { a as d } from "./chart-object-literals.js";
|
|
3
3
|
import { aw as S, a0 as l, g as m, r as c } from "./index2.js";
|
|
4
|
-
import { u as a,
|
|
4
|
+
import { u as a, eM as g } from "./index.js";
|
|
5
5
|
import { m as y } from "./model-setter.js";
|
|
6
6
|
import { M as u } from "./model-with-line-marker-styling.js";
|
|
7
|
-
import { s as p, a as b, b as I, c as v, d as _, W as
|
|
8
|
-
import { S as
|
|
7
|
+
import { s as p, a as b, b as I, c as v, d as _, W as M } from "./negative-values-stacked-to-baseline.js";
|
|
8
|
+
import { S as C, s as k, a as x } from "./serial-chart-model.js";
|
|
9
9
|
import { h as f } from "./serial-chart-data.js";
|
|
10
10
|
var L = Object.defineProperty, D = Object.getOwnPropertyDescriptor, w = (o, e, s, t) => {
|
|
11
11
|
for (var i = D(e, s), r = o.length - 1, n; r >= 0; r--)
|
|
12
12
|
(n = o[r]) && (i = n(e, s, i) || i);
|
|
13
13
|
return i && L(e, s, i), i;
|
|
14
14
|
};
|
|
15
|
-
class h extends
|
|
15
|
+
class h extends C {
|
|
16
16
|
constructor() {
|
|
17
17
|
super(...arguments), this._chartType = d.LineSeries;
|
|
18
18
|
}
|
|
@@ -106,7 +106,7 @@ class h extends M {
|
|
|
106
106
|
w([
|
|
107
107
|
y
|
|
108
108
|
], h.prototype, "resetSeriesStyling");
|
|
109
|
-
const F = [
|
|
109
|
+
const F = [M, u];
|
|
110
110
|
g(h, F);
|
|
111
111
|
export {
|
|
112
112
|
h as LineChartModel
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { G as n } from "./common.js";
|
|
3
|
-
import {
|
|
3
|
+
import { eM as f } from "./index.js";
|
|
4
4
|
import { M as a, b as l, d as G } from "./x-bounds.js";
|
|
5
5
|
import { m as p } from "./model-setter.js";
|
|
6
6
|
var m = Object.defineProperty, c = Object.getOwnPropertyDescriptor, u = (o, e, t, h) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { C as A } from "./chart-model.js";
|
|
3
|
-
import { l as g, m as C, r, n as m, k as L, h as V, g as v, i as T, o as S, j as B, p as x, d as p, q as
|
|
3
|
+
import { l as g, m as C, r, n as m, k as L, h as V, g as v, i as T, o as S, j as B, p as x, d as p, q as M, s as I, t as O, v as D, w as G, f as z } from "./utils.js";
|
|
4
4
|
import { cloneDeep as k } from "es-toolkit/compat";
|
|
5
5
|
import { W as b } from "./chart-object-literals.js";
|
|
6
6
|
import { aq as u } from "./index2.js";
|
|
7
7
|
import { m as n } from "./model-setter.js";
|
|
8
8
|
import { M as d, b as H, d as Y } from "./x-bounds.js";
|
|
9
|
-
import {
|
|
9
|
+
import { eM as P } from "./index.js";
|
|
10
10
|
import { G as y } from "./common.js";
|
|
11
11
|
const W = (t) => {
|
|
12
12
|
for (const i of t.axes ?? [])
|
|
@@ -47,10 +47,10 @@ const W = (t) => {
|
|
|
47
47
|
o.buffer = s;
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
|
-
},
|
|
50
|
+
}, R = (t, i) => t.axes?.[i]?.tickSpacing, X = (t) => {
|
|
51
51
|
const { config: i, tickSpacing: s, axisIndex: e } = t;
|
|
52
52
|
i.axes?.[e] !== void 0 && (i.axes[e].tickSpacing = s);
|
|
53
|
-
},
|
|
53
|
+
}, J = (t, i) => t.axes?.[i]?.integerOnlyValues ?? !1, K = (t) => {
|
|
54
54
|
const { config: i, integerOnlyValues: s, axisIndex: e } = t;
|
|
55
55
|
g({
|
|
56
56
|
config: i,
|
|
@@ -225,7 +225,7 @@ class c extends A {
|
|
|
225
225
|
return r({
|
|
226
226
|
config: this._config,
|
|
227
227
|
axisIndex: i,
|
|
228
|
-
func: (s) =>
|
|
228
|
+
func: (s) => M(s, this._config)
|
|
229
229
|
});
|
|
230
230
|
}
|
|
231
231
|
setAxisValueFormat(i, s) {
|
|
@@ -233,7 +233,7 @@ class c extends A {
|
|
|
233
233
|
config: this._config,
|
|
234
234
|
axisIndex: i,
|
|
235
235
|
func: (e) => {
|
|
236
|
-
|
|
236
|
+
I({
|
|
237
237
|
config: this._config,
|
|
238
238
|
valueFormat: s,
|
|
239
239
|
axisIndex: e,
|
|
@@ -408,14 +408,14 @@ class c extends A {
|
|
|
408
408
|
* @param axisIndex Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
|
|
409
409
|
*/
|
|
410
410
|
getTickSpacing(i) {
|
|
411
|
-
return
|
|
411
|
+
return R(this._config, i);
|
|
412
412
|
}
|
|
413
413
|
setTickSpacing(i, s) {
|
|
414
414
|
r({
|
|
415
415
|
config: this._config,
|
|
416
416
|
axisIndex: s,
|
|
417
417
|
func: (e) => {
|
|
418
|
-
|
|
418
|
+
X({
|
|
419
419
|
config: this._config,
|
|
420
420
|
tickSpacing: i,
|
|
421
421
|
axisIndex: e
|
|
@@ -434,11 +434,11 @@ class c extends A {
|
|
|
434
434
|
return r({
|
|
435
435
|
config: this._config,
|
|
436
436
|
axisIndex: i,
|
|
437
|
-
func: (s) =>
|
|
437
|
+
func: (s) => J(this._config, s)
|
|
438
438
|
}) ?? !1;
|
|
439
439
|
}
|
|
440
440
|
setIntegerOnlyValues(i, s) {
|
|
441
|
-
|
|
441
|
+
K({
|
|
442
442
|
config: this._config,
|
|
443
443
|
integerOnlyValues: i,
|
|
444
444
|
axisIndex: s
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { log as B } from "@arcgis/toolkit/log";
|
|
3
3
|
import { a as g } from "./chart-object-literals.js";
|
|
4
|
-
import { r as b,
|
|
4
|
+
import { r as b, eO as E, x as f, cA as j, u as K, B as q, eM as H } from "./index.js";
|
|
5
5
|
import { i as J } from "./index3.js";
|
|
6
6
|
import { a7 as p, ay as A, k as L, p as G, ax as Q, af as U } from "./index2.js";
|
|
7
7
|
import { C as X } from "./chart-model.js";
|
|
@@ -61,7 +61,7 @@ const P = (t) => t.legend?.displayNumericValue ?? !1, I = (t, e) => {
|
|
|
61
61
|
e.series[0] && (e.series[0].dataLabelsOffset = t);
|
|
62
62
|
}, Be = (t) => t.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits, Ee = (t, e) => {
|
|
63
63
|
e.series?.[0] && (e.series[0].numericValueFormat ??= L(), e.series[0].numericValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].numericValueFormat.intlOptions.maximumFractionDigits = t, e.series[0].percentValueFormat ??= L(), e.series[0].percentValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].percentValueFormat.intlOptions.maximumFractionDigits = t);
|
|
64
|
-
},
|
|
64
|
+
}, je = (t) => t.series?.[0]?.optimizeDataLabelsOverlapping ?? !1, Ke = (t, e) => {
|
|
65
65
|
e.series[0] && (e.series[0].optimizeDataLabelsOverlapping = t);
|
|
66
66
|
}, qe = (t) => t.series[0]?.ticks?.visible ?? !1, He = (t, e) => {
|
|
67
67
|
e.series?.[0] && (e.series[0].ticks ??= A(), e.series[0].ticks.visible = t);
|
|
@@ -256,7 +256,7 @@ class i extends X {
|
|
|
256
256
|
async getCustomSortValues(e) {
|
|
257
257
|
const a = h(this._config), o = b(this._config.series);
|
|
258
258
|
let n = [];
|
|
259
|
-
return o === f.PieFromFields ? n = this.numericFields : a.trim() !== "" && o === f.PieFromCategory && (n = await
|
|
259
|
+
return o === f.PieFromFields ? n = this.numericFields : a.trim() !== "" && o === f.PieFromCategory && (n = await j({
|
|
260
260
|
category: a,
|
|
261
261
|
config: this._config,
|
|
262
262
|
layerInfo: this.layerInfo,
|
|
@@ -378,7 +378,7 @@ class i extends X {
|
|
|
378
378
|
/** @private */
|
|
379
379
|
generateDefaultConfig() {
|
|
380
380
|
const e = Q(this.commonStrings);
|
|
381
|
-
return e.series = [U(this.commonStrings,
|
|
381
|
+
return e.series = [U(this.commonStrings, K(this.layerInfo.layer).idField)], e;
|
|
382
382
|
}
|
|
383
383
|
// ---------------------------------------------------------------------------------------------
|
|
384
384
|
// #region Series Methods
|
|
@@ -630,10 +630,10 @@ class i extends X {
|
|
|
630
630
|
* Optimize data labels overlapping setting for the pie chart.
|
|
631
631
|
*/
|
|
632
632
|
get optimizeDataLabelsOverlapping() {
|
|
633
|
-
return
|
|
633
|
+
return je(this._config);
|
|
634
634
|
}
|
|
635
635
|
set optimizeDataLabelsOverlapping(e) {
|
|
636
|
-
|
|
636
|
+
Ke(e, this._config);
|
|
637
637
|
}
|
|
638
638
|
// ---------------------------------------------------------------------------------------------
|
|
639
639
|
// #region Legend Props
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { S as c, s as y, a as g } from "./serial-chart-model.js";
|
|
3
3
|
import { s as m, a as f, b, c as A, d as S, W as p } from "./negative-values-stacked-to-baseline.js";
|
|
4
4
|
import { h as x } from "./serial-chart-data.js";
|
|
5
|
-
import { u as l,
|
|
5
|
+
import { u as l, eM as T } from "./index.js";
|
|
6
6
|
import { m as n } from "./model-setter.js";
|
|
7
7
|
import { a as L, m as C } from "./chart-object-literals.js";
|
|
8
8
|
import { M as V } from "./model-with-line-marker-styling.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { B as y, c8 as P,
|
|
2
|
+
import { B as y, c8 as P, eM as X } from "./index.js";
|
|
3
3
|
import { substitute as Y } from "@arcgis/core/intl.js";
|
|
4
4
|
import { isEmpty as p, isEqual as D } from "es-toolkit/compat";
|
|
5
5
|
import { g as b, d as f, u as v, e as w } from "./utils.js";
|
|
@@ -9,8 +9,8 @@ import { i as T } from "./index3.js";
|
|
|
9
9
|
import { C as V } from "./chart-model.js";
|
|
10
10
|
import { M as B, a as G, W as U, b as j } from "./data-labels-visibility.js";
|
|
11
11
|
import { W as N } from "./data-labels-symbol.js";
|
|
12
|
-
import { W as q, c as
|
|
13
|
-
import { W as
|
|
12
|
+
import { W as q, c as H, d as J } from "./axis-lines-symbol.js";
|
|
13
|
+
import { W as K, a as Q } from "./x-bounds.js";
|
|
14
14
|
import { W as R, c as Z, d as $ } from "./generate-x-axis-title.js";
|
|
15
15
|
import { m as d } from "./model-setter.js";
|
|
16
16
|
import { a as ee } from "./chart-object-literals.js";
|
|
@@ -26,11 +26,11 @@ function I(t, e, i) {
|
|
|
26
26
|
const s = g(t, e, i), r = z(t), o = T(t);
|
|
27
27
|
return s === r || o;
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function M(t, e) {
|
|
30
30
|
const { layerFieldsInfo: i } = e, s = y(i, u(t)), r = b(1, t), o = T(t);
|
|
31
31
|
return s === r || o;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function _(t, e) {
|
|
34
34
|
const { layerFieldsInfo: i } = e, s = x(t), r = y(i, s), o = b(0, t), n = T(t);
|
|
35
35
|
return r === o || n;
|
|
36
36
|
}
|
|
@@ -38,12 +38,12 @@ function g(t, e, i) {
|
|
|
38
38
|
const s = x(t), r = u(t), { layerFieldsInfo: o } = e, n = y(o, s), l = y(o, r);
|
|
39
39
|
return Y(i.titleLabels.xAndY, { x: n, y: l });
|
|
40
40
|
}
|
|
41
|
-
const
|
|
41
|
+
const C = (t) => {
|
|
42
42
|
const { x: e, y: i, config: s, layerInfo: r, updateChartTitle: o, updateXAxisTitle: n, updateYAxisTitle: l, commonStrings: h } = t, { layerFieldsInfo: A } = r, W = y(A, e), O = y(A, i);
|
|
43
43
|
!p(e) && n && v(s, 0, W), !p(i) && l && v(s, 1, O), !p(e) && !p(i) && s.title && o && (s.title.content.text = g(s, r, h));
|
|
44
44
|
}, x = (t) => t.series[0]?.x ?? "", u = (t) => t.series[0]?.y ?? "", re = (t) => {
|
|
45
|
-
const { fieldName: e, config: i, layerInfo: s, commonStrings: r } = t, o = I(i, s, r), n =
|
|
46
|
-
L(i), i.series[0] && (i.series[0].x = e),
|
|
45
|
+
const { fieldName: e, config: i, layerInfo: s, commonStrings: r } = t, o = I(i, s, r), n = _(i, s), l = M(i, s);
|
|
46
|
+
L(i), i.series[0] && (i.series[0].x = e), C({
|
|
47
47
|
x: e,
|
|
48
48
|
y: u(i),
|
|
49
49
|
config: i,
|
|
@@ -59,8 +59,8 @@ const M = (t) => {
|
|
|
59
59
|
layerInfo: s
|
|
60
60
|
});
|
|
61
61
|
}, oe = (t) => {
|
|
62
|
-
const { fieldName: e, config: i, layerInfo: s, commonStrings: r } = t, o = I(i, s, r), n =
|
|
63
|
-
L(i), i.series[0] && (i.series[0].y = e),
|
|
62
|
+
const { fieldName: e, config: i, layerInfo: s, commonStrings: r } = t, o = I(i, s, r), n = _(i, s), l = M(i, s);
|
|
63
|
+
L(i), i.series[0] && (i.series[0].y = e), C({
|
|
64
64
|
x: x(i),
|
|
65
65
|
y: e,
|
|
66
66
|
config: i,
|
|
@@ -260,12 +260,12 @@ const Se = [
|
|
|
260
260
|
se,
|
|
261
261
|
ie,
|
|
262
262
|
R,
|
|
263
|
-
|
|
263
|
+
K,
|
|
264
264
|
Z,
|
|
265
265
|
Q,
|
|
266
266
|
q,
|
|
267
|
-
K,
|
|
268
267
|
H,
|
|
268
|
+
J,
|
|
269
269
|
$
|
|
270
270
|
];
|
|
271
271
|
X(a, Se);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { isEqual as x } from "es-toolkit/compat";
|
|
3
3
|
import { a as _, c as b, d as f } from "./chart-object-literals.js";
|
|
4
|
-
import { cz as v, cD as L,
|
|
4
|
+
import { cz as v, cD as L, eN as M, eO as P, c5 as p, u as N, eP as V, eM as k } from "./index.js";
|
|
5
5
|
import { i as R } from "./index3.js";
|
|
6
6
|
import { m as o } from "./model-setter.js";
|
|
7
7
|
import { S as E } from "./common.js";
|
package/dist/chunks/x-bounds.js
CHANGED
|
@@ -6,7 +6,7 @@ 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
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,
|
|
9
|
+
import { ch as X, b as B, i as A, eM as O } from "./index.js";
|
|
10
10
|
import { m as a, C as f } from "./model-setter.js";
|
|
11
11
|
import { o as P, n as R, p as v, d as y } from "./utils.js";
|
|
12
12
|
const D = (t) => {
|
|
@@ -59,22 +59,22 @@ const E = (t) => {
|
|
|
59
59
|
}, N = (t) => {
|
|
60
60
|
const { name: e, axis: i, index: s } = d(t);
|
|
61
61
|
i?.guides?.[s] !== void 0 && (i.guides[s].name = e);
|
|
62
|
-
},
|
|
62
|
+
}, Q = (t) => {
|
|
63
63
|
const { axis: e, index: i } = d(t);
|
|
64
64
|
return e?.guides?.[i]?.label?.text;
|
|
65
|
-
},
|
|
65
|
+
}, U = (t) => {
|
|
66
66
|
const { labelText: e, axis: i, index: s } = d(t), o = i?.guides?.[s]?.label ?? C(e, L(b.GuideLabel), b.GuideLabel);
|
|
67
67
|
i?.guides?.[s] !== void 0 && (i.guides[s].label = { ...o, text: e });
|
|
68
|
-
},
|
|
68
|
+
}, Y = (t) => {
|
|
69
69
|
const { axis: e, index: i } = d(t);
|
|
70
70
|
return e?.guides?.[i]?.above ?? !1;
|
|
71
|
-
},
|
|
71
|
+
}, q = (t) => {
|
|
72
72
|
const { above: e, axis: i, index: s } = d(t);
|
|
73
73
|
i?.guides?.[s] !== void 0 && (i.guides[s].above = e);
|
|
74
|
-
},
|
|
74
|
+
}, z = (t) => {
|
|
75
75
|
const { axis: e, index: i } = d(t);
|
|
76
76
|
return e?.guides?.[i]?.style;
|
|
77
|
-
},
|
|
77
|
+
}, H = (t) => {
|
|
78
78
|
const { style: e, axis: i, index: s } = d(t);
|
|
79
79
|
i?.guides?.[s] !== void 0 && (i.guides[s].style = e);
|
|
80
80
|
}, he = (t) => {
|
|
@@ -92,10 +92,10 @@ const E = (t) => {
|
|
|
92
92
|
}, _e = (t) => {
|
|
93
93
|
const { config: e, index: i, orientation: s } = t, o = s === c.X ? e.axes?.[0] : e.axes?.[1];
|
|
94
94
|
o?.guides !== void 0 && (i !== void 0 && i < o.guides.length ? o.guides.splice(i, 1) : o.guides.pop());
|
|
95
|
-
},
|
|
95
|
+
}, J = (t) => {
|
|
96
96
|
const { axis: e, index: i } = d(t);
|
|
97
97
|
return e?.guides?.[i]?.tooltipReverseColor ?? !1;
|
|
98
|
-
},
|
|
98
|
+
}, K = (t) => {
|
|
99
99
|
const { axis: e } = d(t);
|
|
100
100
|
[t.index !== void 0 ? e?.guides?.[t.index] : e?.guides].flat().forEach((i) => {
|
|
101
101
|
i !== void 0 && (i.tooltipReverseColor = t.reverseColor);
|
|
@@ -171,10 +171,10 @@ class u extends h {
|
|
|
171
171
|
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
172
172
|
*/
|
|
173
173
|
getGuideLabelText(e, i) {
|
|
174
|
-
return
|
|
174
|
+
return Q({ config: this._config, index: e, orientation: i });
|
|
175
175
|
}
|
|
176
176
|
setGuideLabelText(e, i, s) {
|
|
177
|
-
|
|
177
|
+
U({ labelText: e, config: this._config, index: i, orientation: s });
|
|
178
178
|
}
|
|
179
179
|
/**
|
|
180
180
|
* Gets whether the guide should be rendered above the other chart elements.
|
|
@@ -183,10 +183,10 @@ class u extends h {
|
|
|
183
183
|
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
184
184
|
*/
|
|
185
185
|
getGuideAbove(e, i) {
|
|
186
|
-
return
|
|
186
|
+
return Y({ config: this._config, index: e, orientation: i });
|
|
187
187
|
}
|
|
188
188
|
setGuideAbove(e, i, s) {
|
|
189
|
-
|
|
189
|
+
q({ above: e, config: this._config, index: i, orientation: s });
|
|
190
190
|
}
|
|
191
191
|
/**
|
|
192
192
|
* Gets the guide style.
|
|
@@ -195,10 +195,10 @@ class u extends h {
|
|
|
195
195
|
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
196
196
|
*/
|
|
197
197
|
getGuideStyle(e, i) {
|
|
198
|
-
return
|
|
198
|
+
return z({ config: this._config, index: e, orientation: i });
|
|
199
199
|
}
|
|
200
200
|
setGuideStyle(e, i, s) {
|
|
201
|
-
|
|
201
|
+
H({ style: e, config: this._config, index: i, orientation: s });
|
|
202
202
|
}
|
|
203
203
|
/**
|
|
204
204
|
* Gets whether the tooltip text color should be reversed for a guide.
|
|
@@ -207,10 +207,10 @@ class u extends h {
|
|
|
207
207
|
* @param orientation - The axis orientation of the guide.
|
|
208
208
|
*/
|
|
209
209
|
getGuideTooltipReverseColor(e, i) {
|
|
210
|
-
return
|
|
210
|
+
return J({ config: this._config, index: e, orientation: i });
|
|
211
211
|
}
|
|
212
212
|
setGuideTooltipReverseColor(e, i, s) {
|
|
213
|
-
|
|
213
|
+
K({ reverseColor: e, config: this._config, index: i, orientation: s });
|
|
214
214
|
}
|
|
215
215
|
/**
|
|
216
216
|
* Gets whether the tooltip text color should be reversed for a guide.
|