@arcgis/charts-components 6.0.0-next.42 → 6.0.0-next.43
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/{2V6RDUQ4.js → 2436UEVU.js} +1 -1
- package/dist/cdn/{6FZRG4EO.js → 2ADKVDTY.js} +1 -1
- package/dist/cdn/{WIT3P7NV.js → 2IWK4MVH.js} +1 -1
- package/dist/cdn/{R3UAKAS4.js → 2MGY77W7.js} +1 -1
- package/dist/cdn/{DRSKZGA5.js → 2XT76LM2.js} +1 -1
- package/dist/cdn/{D3DZ7A7U.js → 3IJWC2V5.js} +1 -1
- package/dist/cdn/{GH6LRRWO.js → 3N3KIBFX.js} +1 -1
- package/dist/cdn/{XE5JJDCZ.js → 44YD7LI6.js} +1 -1
- package/dist/cdn/{VEVROTSG.js → 4LMGL24R.js} +1 -1
- package/dist/cdn/{JOVBNTEF.js → 4WHSDC62.js} +1 -1
- package/dist/cdn/{ACTB6ZBK.js → 4ZUKZBL5.js} +1 -1
- package/dist/cdn/{2XLWTT5J.js → 5RML2SUP.js} +1 -1
- package/dist/cdn/5VNQUFYR.js +2 -0
- package/dist/cdn/{YUUYX57N.js → 6LV7DY5U.js} +1 -1
- package/dist/cdn/{H6DQWWRK.js → 6TUXBBY7.js} +1 -1
- package/dist/cdn/{OLCWI4XN.js → 6XDWKU77.js} +1 -1
- package/dist/cdn/6XQFWD24.js +2 -0
- package/dist/cdn/{DPWHTNBE.js → 6Z42AFR4.js} +1 -1
- package/dist/cdn/{QD733XNJ.js → 724JOQVZ.js} +1 -1
- package/dist/cdn/{PER6C4U2.js → 7K4BUJ7I.js} +1 -1
- package/dist/cdn/{INDJVCWV.js → AD4N52DD.js} +1 -1
- package/dist/cdn/AVM4DEXX.js +4 -0
- package/dist/cdn/{KPX7NHM3.js → AW7BBAOR.js} +1 -1
- package/dist/cdn/{HTLGMV4S.js → B6JZ4MMX.js} +1 -1
- package/dist/cdn/{2NLUPVHC.js → B6QAJJ54.js} +1 -1
- package/dist/cdn/{7BGIK4OA.js → BSZQ7DWE.js} +1 -1
- package/dist/cdn/{QVOSII2D.js → BTJR3OFM.js} +1 -1
- package/dist/cdn/{BUQ5MOP3.js → C22ZJ3IJ.js} +1 -1
- package/dist/cdn/{ABAVANHR.js → CNXCA7EM.js} +1 -1
- package/dist/cdn/{PSOSE6LU.js → DIWUHCAQ.js} +1 -1
- package/dist/cdn/DRG6MX22.js +2 -0
- package/dist/cdn/{O5MLVZLK.js → ECOCCUCZ.js} +1 -1
- package/dist/cdn/ECTY2Y2B.js +2 -0
- package/dist/cdn/{KIFYEOUU.js → EG4KZYMS.js} +1 -1
- package/dist/cdn/{HADWVYUW.js → EPV32BHO.js} +1 -1
- package/dist/cdn/{WBVI4QWE.js → EQPDJRUX.js} +1 -1
- package/dist/cdn/{B4M6AGX7.js → EW3S2ACW.js} +1 -1
- package/dist/cdn/{AIJWEEVP.js → FFOODU2Y.js} +1 -1
- package/dist/cdn/{I7MZOOIY.js → FJXQFUL7.js} +1 -1
- package/dist/cdn/{EYPUS3OS.js → FWPKO433.js} +1 -1
- package/dist/cdn/{UK2UPGTC.js → GBJB3GKY.js} +1 -1
- package/dist/cdn/GR7HVKJ4.js +2 -0
- package/dist/cdn/{77J6TCGN.js → HI74MR43.js} +1 -1
- package/dist/cdn/{T2GIGPPW.js → HZAWFM2A.js} +1 -1
- package/dist/cdn/{ME7EHCPR.js → I6N7SEFH.js} +1 -1
- package/dist/cdn/{M3N747C7.js → ID2J5UAA.js} +1 -1
- package/dist/cdn/{3SON5ZPC.js → IEHVTHCJ.js} +1 -1
- package/dist/cdn/{SU7RJZNV.js → IIPA6S4H.js} +1 -1
- package/dist/cdn/{WORMNHOD.js → IKS6W3NY.js} +1 -1
- package/dist/cdn/{7KZBWHVH.js → JETD7SAE.js} +1 -1
- package/dist/cdn/{WJE2YWFP.js → JTKOF77R.js} +25 -25
- package/dist/cdn/{VM2DWR75.js → K3F4E56D.js} +1 -1
- package/dist/cdn/{J6SK2Z5T.js → KM4QO3SF.js} +1 -1
- package/dist/cdn/{NWG4Q36V.js → KT45ASUT.js} +1 -1
- package/dist/cdn/{5HGXAW7L.js → L4AD3KA6.js} +1 -1
- package/dist/cdn/{NKO2OO5N.js → L7BAOWUM.js} +1 -1
- package/dist/cdn/{UO6RHQGP.js → LWENPHRI.js} +1 -1
- package/dist/cdn/{TMXVA27K.js → MFIJBC24.js} +1 -1
- package/dist/cdn/{M5UN3MYY.js → MR2LPPRO.js} +1 -1
- package/dist/cdn/{S22VFPC7.js → NAVTW2FO.js} +1 -1
- package/dist/cdn/{G7AMXOVC.js → ODKTPWQK.js} +1 -1
- package/dist/cdn/{WBU6UBT7.js → OMS72ELT.js} +1 -1
- package/dist/cdn/{EMAAJMBF.js → OP6OY7ZN.js} +1 -1
- package/dist/cdn/{3T4EFKYY.js → PLOPIVFQ.js} +1 -1
- package/dist/cdn/{I7YQ3JCN.js → PLXPOXNW.js} +1 -1
- package/dist/cdn/{FQTWIBKD.js → PY4UOMWA.js} +1 -1
- package/dist/cdn/{CBVIPAP3.js → Q6SATJUW.js} +1 -1
- package/dist/cdn/{GVAS6PT3.js → QAEL37PT.js} +1 -1
- package/dist/cdn/{EOHEGVDJ.js → R5SESKDP.js} +1 -1
- package/dist/cdn/{VWX73OUH.js → RRDZRXUH.js} +1 -1
- package/dist/cdn/{UNOJKM7H.js → RSP7EVW7.js} +1 -1
- package/dist/cdn/{CMQLHBQN.js → RUSI4CNK.js} +1 -1
- package/dist/cdn/STH6C5EC.js +2 -0
- package/dist/cdn/{GLCI3ZBA.js → SYEUBQES.js} +1 -1
- package/dist/cdn/{XTWKVYX3.js → T35KWWPH.js} +1 -1
- package/dist/cdn/{VIID7SQW.js → TZ3WEWWB.js} +1 -1
- package/dist/cdn/{VRB6ZKPF.js → UTUKT7PZ.js} +1 -1
- package/dist/cdn/{VKHE2T45.js → VIN74H4U.js} +1 -1
- package/dist/cdn/{GSMBQFDI.js → VNQKIRQ5.js} +1 -1
- package/dist/cdn/{AYTSMVNG.js → WTRCNCCB.js} +1 -1
- package/dist/cdn/{TKKV7KPJ.js → WWODTOGV.js} +1 -1
- package/dist/cdn/{WKDTX36G.js → YCZDHNJA.js} +1 -1
- package/dist/cdn/{UNRUZFCG.js → Z27YIX2X.js} +1 -1
- package/dist/cdn/{QBPDUGAU.js → Z7OCA2XV.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +1 -101
- package/dist/chunks/bar-chart-model.js +3 -3
- package/dist/chunks/box-plot-data.js +18 -18
- package/dist/chunks/box-plot-model.js +10 -10
- package/dist/chunks/chart-model.js +9 -9
- package/dist/chunks/chart-ui-utils.js +7 -7
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +7 -7
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/data.js +6 -6
- package/dist/chunks/gauge-model.js +5 -5
- package/dist/chunks/histogram-model.js +4 -4
- package/dist/chunks/index.js +2599 -2630
- package/dist/chunks/index3.js +153 -10961
- package/dist/chunks/index4.js +6 -20
- 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 +4 -4
- package/dist/chunks/pie-chart-model.js +9 -9
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/rounded-corners.js +2 -2
- package/dist/chunks/scatterplot-model.js +3 -3
- package/dist/chunks/serial-chart-model.js +11 -11
- package/dist/chunks/x-bounds.js +7 -7
- package/dist/components/arcgis-chart/customElement.d.ts +3 -136
- package/dist/components/arcgis-chart/customElement.js +5648 -5712
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- 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 +361 -363
- package/dist/loader.js +3 -3
- package/dist/model/properties/rounded-corners.d.ts +2 -2
- package/dist/types/lumina.d.ts +1 -3
- package/dist/types/preact.d.ts +1 -3
- package/dist/types/react.d.ts +1 -3
- package/dist/types/stencil.d.ts +1 -3
- package/dist/utils/chart-config/converter/index.js +23 -23
- package/dist/utils/chart-config/validator/index.d.ts +1 -22
- package/dist/utils/chart-config/validator/interfaces.d.ts +0 -25
- package/dist/utils/components/watch-handlers.d.ts +0 -2
- package/dist/utils/data/index.d.ts +0 -1
- package/dist/utils/types/index.d.ts +1 -9
- package/package.json +4 -5
- package/dist/cdn/2CMGEGOB.js +0 -2
- package/dist/cdn/632TROA6.js +0 -2
- package/dist/cdn/DCUEO36P.js +0 -2
- package/dist/cdn/IEFTCPY3.js +0 -104
- package/dist/cdn/J423NIGD.js +0 -4
- package/dist/cdn/LSPD3MG7.js +0 -2
- package/dist/cdn/RGWPVW43.js +0 -2
- package/dist/json-schema/index.d.ts +0 -8992
package/dist/chunks/index4.js
CHANGED
|
@@ -4,10 +4,6 @@ const t = {
|
|
|
4
4
|
DataFetchComplete: "arcgisDataFetchComplete",
|
|
5
5
|
DataProcessError: "arcgisDataProcessError",
|
|
6
6
|
LegendItemVisibilityChange: "arcgisLegendItemVisibilityChange",
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated since 5.2. Use RenderingComplete from {@link utils/types/#ChartComponentEvents} instead.
|
|
9
|
-
*/
|
|
10
|
-
UpdateComplete: "arcgisUpdateComplete",
|
|
11
7
|
SeriesColorChange: "arcgisSeriesColorChange",
|
|
12
8
|
AxesMinMaxChange: "arcgisAxesMinMaxChange",
|
|
13
9
|
DefaultActionSelect: "arcgisDefaultActionSelect",
|
|
@@ -20,7 +16,7 @@ const t = {
|
|
|
20
16
|
RuntimeError: "arcgisRuntimeError",
|
|
21
17
|
ConfigChange: "arcgisConfigChange",
|
|
22
18
|
RenderingComplete: "arcgisRenderingComplete"
|
|
23
|
-
},
|
|
19
|
+
}, r = {
|
|
24
20
|
FilterBySelection: "filterBySelection",
|
|
25
21
|
FilterByViewExtent: "filterByViewExtent",
|
|
26
22
|
Legend: "legend",
|
|
@@ -33,26 +29,16 @@ const t = {
|
|
|
33
29
|
EditChart: "editChart",
|
|
34
30
|
ExportAsImage: "exportAsImage",
|
|
35
31
|
ExportAsCSV: "exportAsCSV"
|
|
36
|
-
},
|
|
32
|
+
}, i = {
|
|
37
33
|
Ignore: "ignore",
|
|
38
34
|
Throw: "throw"
|
|
39
35
|
}, e = {
|
|
40
36
|
Ignore: "ignore",
|
|
41
37
|
Refresh: "refresh"
|
|
42
|
-
},
|
|
43
|
-
/**
|
|
44
|
-
* Enable syncing selections between chart and layer view
|
|
45
|
-
*/
|
|
46
|
-
Enabled: "enabled",
|
|
47
|
-
/**
|
|
48
|
-
* Disable syncing selections between chart and layer view
|
|
49
|
-
*/
|
|
50
|
-
Disabled: "disabled"
|
|
51
|
-
};
|
|
38
|
+
}, a = e;
|
|
52
39
|
export {
|
|
53
40
|
t as C,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
i as V
|
|
41
|
+
r as D,
|
|
42
|
+
i as E,
|
|
43
|
+
a as V
|
|
58
44
|
};
|
|
@@ -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 { e 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 ?? [])
|
|
@@ -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,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { log as R } from "@arcgis/toolkit/log";
|
|
3
3
|
import { a as g } from "./chart-object-literals.js";
|
|
4
|
-
import { r as S,
|
|
4
|
+
import { r as S, eO as B, y as h, cC as E, u as j, eM as K } from "./index.js";
|
|
5
5
|
import { i as q } from "./index3.js";
|
|
6
6
|
import { a7 as p, ay as k, k as b, p as A, ax as H, af as J } from "./index2.js";
|
|
7
7
|
import { C as Q } from "./chart-model.js";
|
|
@@ -12,7 +12,7 @@ import { W as $ } from "./data-labels-symbol.js";
|
|
|
12
12
|
import { i as y, a as m, g as u, s as ee, c as te, b as ie, d as se, e as L, f as O, h as D, j as C, k as re } from "./pie-chart-data.js";
|
|
13
13
|
import { cloneDeep as ae } from "es-toolkit/compat";
|
|
14
14
|
import { b as _ } from "./rest-js-object-literals.js";
|
|
15
|
-
const
|
|
15
|
+
const v = (t) => t.legend?.displayNumericValue ?? !1, P = (t, e) => {
|
|
16
16
|
e.series[0]?.type === g.PieSeries && (e.legend === void 0 && (e.legend = p()), e.legend.displayNumericValue = t);
|
|
17
17
|
}, I = (t) => t.legend?.displayCategory ?? !1, T = (t, e) => {
|
|
18
18
|
e.series[0]?.type === g.PieSeries && (e.legend === void 0 && (e.legend = p()), e.legend.displayCategory = t);
|
|
@@ -36,7 +36,7 @@ const P = (t) => t.legend?.displayNumericValue ?? !1, v = (t, e) => {
|
|
|
36
36
|
e.series[0] && (e.series[0].displayPercentageOnTooltip = t);
|
|
37
37
|
}, De = (t) => t.series?.[0]?.valuePrefix, Ce = (t, e) => {
|
|
38
38
|
e.series?.[0] && (e.series[0].valuePrefix = t);
|
|
39
|
-
},
|
|
39
|
+
}, ve = (t) => t.series?.[0]?.valueSuffix, Pe = (t, e) => {
|
|
40
40
|
e.series?.[0] && (e.series[0].valueSuffix = t);
|
|
41
41
|
}, Ie = (t) => t.series?.[0]?.percentagePrefix, Te = (t, e) => {
|
|
42
42
|
e.series?.[0] && (e.series[0].percentagePrefix = t);
|
|
@@ -576,10 +576,10 @@ class i extends Q {
|
|
|
576
576
|
* Suffix of the values of the slice.
|
|
577
577
|
*/
|
|
578
578
|
get valueSuffix() {
|
|
579
|
-
return
|
|
579
|
+
return ve(this._config);
|
|
580
580
|
}
|
|
581
581
|
set valueSuffix(e) {
|
|
582
|
-
|
|
582
|
+
Pe(e, this._config);
|
|
583
583
|
}
|
|
584
584
|
/**
|
|
585
585
|
* Prefix of the percentages of the slices.
|
|
@@ -642,10 +642,10 @@ class i extends Q {
|
|
|
642
642
|
* Whether to display the numeric value on legend items.
|
|
643
643
|
*/
|
|
644
644
|
get displayNumericValueOnLegendItems() {
|
|
645
|
-
return
|
|
645
|
+
return v(this._config);
|
|
646
646
|
}
|
|
647
647
|
set displayNumericValueOnLegendItems(e) {
|
|
648
|
-
|
|
648
|
+
P(e, this._config);
|
|
649
649
|
}
|
|
650
650
|
/**
|
|
651
651
|
* Whether to display the percentage on legend items.
|
|
@@ -689,10 +689,10 @@ class i extends Q {
|
|
|
689
689
|
* @deprecated since 5.2. Use {@link model/pie-chart-model/pie-chart-model#displayNumericValueOnLegendItems displayNumericValueOnLegendItems} instead. This method will be removed from `PieChartModel` in 6.0.
|
|
690
690
|
*/
|
|
691
691
|
getDisplayNumericValue() {
|
|
692
|
-
return
|
|
692
|
+
return v(this._config);
|
|
693
693
|
}
|
|
694
694
|
setDisplayNumericValue(e) {
|
|
695
|
-
|
|
695
|
+
P(e, this._config);
|
|
696
696
|
}
|
|
697
697
|
/**
|
|
698
698
|
* Gets the setting for displaying percentages on legend items.
|
|
@@ -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 { e 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";
|
|
@@ -56,7 +56,7 @@ function O(r, e) {
|
|
|
56
56
|
class f extends C {
|
|
57
57
|
/**
|
|
58
58
|
* Gets whether rounded corners are enabled for the chart.
|
|
59
|
-
* **Known limitation:** Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled`
|
|
59
|
+
* **Known limitation:** Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` is `true`).
|
|
60
60
|
*/
|
|
61
61
|
get roundCorners() {
|
|
62
62
|
return v(this._config);
|
|
@@ -66,7 +66,7 @@ class f extends C {
|
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
68
|
* Gets the rounded corner radius for the chart.
|
|
69
|
-
* **Known limitation:** Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled`
|
|
69
|
+
* **Known limitation:** Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` is `true`).
|
|
70
70
|
*/
|
|
71
71
|
get cornerRadius() {
|
|
72
72
|
return S(this._config);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { x as y, ca as P, l as X,
|
|
2
|
+
import { x as y, ca as P, l as X, eM as Y } from "./index.js";
|
|
3
3
|
import { substitute as D } from "@arcgis/core/intl.js";
|
|
4
4
|
import { isEmpty as m, isEqual as w } from "es-toolkit/compat";
|
|
5
5
|
import { g as L, d as f, u as v, e as z } from "./utils.js";
|
|
@@ -7,7 +7,7 @@ import { g as k } from "./series-length.js";
|
|
|
7
7
|
import { aC as p, x as E, aA as V } from "./index2.js";
|
|
8
8
|
import { i as T } from "./index3.js";
|
|
9
9
|
import { C as B } from "./chart-model.js";
|
|
10
|
-
import { M as G, a as
|
|
10
|
+
import { M as G, a as U, W as j, b as N } from "./data-labels-visibility.js";
|
|
11
11
|
import { W as q } from "./data-labels-symbol.js";
|
|
12
12
|
import { W as R, c as H, d as J } from "./axis-lines-symbol.js";
|
|
13
13
|
import { W as K, a as Q } from "./x-bounds.js";
|
|
@@ -254,9 +254,9 @@ c([
|
|
|
254
254
|
const Le = [
|
|
255
255
|
ie,
|
|
256
256
|
G,
|
|
257
|
-
N,
|
|
258
257
|
U,
|
|
259
258
|
j,
|
|
259
|
+
N,
|
|
260
260
|
q,
|
|
261
261
|
re,
|
|
262
262
|
se,
|
|
@@ -1,14 +1,14 @@
|
|
|
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 { cB as v, cF as L,
|
|
4
|
+
import { cB as v, cF as L, eN as M, eO as P, c7 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";
|
|
8
8
|
import { M as U, a as j, W as X, b as Y } from "./data-labels-visibility.js";
|
|
9
9
|
import { M as w, a as z } from "./model-with-y-guides.js";
|
|
10
10
|
import { C as O } from "./chart-model.js";
|
|
11
|
-
import { g as S, c as u, h as K, j as q, k as G, l as $, m as
|
|
11
|
+
import { g as S, c as u, h as K, j as q, k as G, l as $, m as Z, n as H, o as J, q as Q, t as ee, v as ie, w as te, x as se, y as m, z as T, A as B, B as d, C as re, D as oe, d as ne, E as ae, W as le } from "./serial-chart-data.js";
|
|
12
12
|
import { M as ge } from "./model-with-x-guides.js";
|
|
13
13
|
import { W as ce, c as he, d as fe } from "./axis-lines-symbol.js";
|
|
14
14
|
import { W as pe, c as me, d as de } from "./generate-x-axis-title.js";
|
|
@@ -45,7 +45,7 @@ const A = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, I = (s) => {
|
|
|
45
45
|
e.series?.sort(
|
|
46
46
|
(i, t) => s.findIndex((r) => i.id === r) - s.findIndex((r) => t.id === r)
|
|
47
47
|
);
|
|
48
|
-
},
|
|
48
|
+
}, Me = (s) => s.stackedType ?? b.Side, Pe = (s) => {
|
|
49
49
|
const { newStackedType: e, config: i, layerInfo: t, commonStrings: r } = s;
|
|
50
50
|
if (i.stackedType = e, t !== void 0) {
|
|
51
51
|
const l = W({
|
|
@@ -96,19 +96,19 @@ class c extends O {
|
|
|
96
96
|
* Time aggregation type for a temporal bar chart or line chart.
|
|
97
97
|
*/
|
|
98
98
|
get timeAggregationType() {
|
|
99
|
-
return
|
|
99
|
+
return Z(this._config);
|
|
100
100
|
}
|
|
101
101
|
set timeAggregationType(e) {
|
|
102
|
-
|
|
102
|
+
H(e, this._config);
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
105
|
* Whether to trim incomplete time intervals for a temporal bar chart or line chart.
|
|
106
106
|
*/
|
|
107
107
|
get trimIncompleteTimeInterval() {
|
|
108
|
-
return
|
|
108
|
+
return J(this._config);
|
|
109
109
|
}
|
|
110
110
|
set trimIncompleteTimeInterval(e) {
|
|
111
|
-
|
|
111
|
+
Q(e, this._config);
|
|
112
112
|
}
|
|
113
113
|
/**
|
|
114
114
|
* Policy which tells the chart how to handle null values.
|
|
@@ -248,7 +248,7 @@ class n extends O {
|
|
|
248
248
|
return this._splitByField;
|
|
249
249
|
}
|
|
250
250
|
set splitByField(e) {
|
|
251
|
-
this.layerInfo?.layerFieldsInfo &&
|
|
251
|
+
this.layerInfo?.layerFieldsInfo && M(this.layerInfo?.layerFieldsInfo, e) && (this._splitByField = e, this.processSeriesRebuild("splitByField"));
|
|
252
252
|
}
|
|
253
253
|
/**
|
|
254
254
|
* The numeric fields array for the chart.
|
|
@@ -258,7 +258,7 @@ class n extends O {
|
|
|
258
258
|
}
|
|
259
259
|
set numericFields(e) {
|
|
260
260
|
typeof e == "string" && (e = [e]);
|
|
261
|
-
const i =
|
|
261
|
+
const i = P(this.layerInfo?.layerFieldsInfo ?? [], e), t = (this.xAxisField === "" || this.xAxisField === p) && e.length === 0;
|
|
262
262
|
if (i && !t) {
|
|
263
263
|
const r = N(this.layerInfo.layer).idField;
|
|
264
264
|
e.length === 0 && r !== void 0 ? (e = [r], this._aggregationType = f.Count) : this._aggregationType === f.Count && e.length >= 1 && r !== void 0 && !e.includes(r) && (this._aggregationType = f.Sum), this._numericFields = e, this.numericFields.length > 1 && (this._splitByField = ""), this.processSeriesRebuild("numericFields");
|
|
@@ -429,10 +429,10 @@ class n extends O {
|
|
|
429
429
|
* **Note**: Currently this property is only used for bar charts and line charts.
|
|
430
430
|
*/
|
|
431
431
|
get stackedType() {
|
|
432
|
-
return
|
|
432
|
+
return Me(this._config);
|
|
433
433
|
}
|
|
434
434
|
set stackedType(e) {
|
|
435
|
-
|
|
435
|
+
Pe({
|
|
436
436
|
newStackedType: e,
|
|
437
437
|
config: this._config,
|
|
438
438
|
layerInfo: this.layerInfo,
|
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 { cj as X, b as B, i as A,
|
|
9
|
+
import { cj 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) => {
|
|
@@ -50,13 +50,13 @@ const E = (t) => {
|
|
|
50
50
|
}, W = (t) => {
|
|
51
51
|
const { axis: e, index: i } = d(t);
|
|
52
52
|
return e?.guides?.[i]?.end;
|
|
53
|
-
},
|
|
53
|
+
}, $ = (t) => {
|
|
54
54
|
const { end: e, axis: i, index: s } = d(t);
|
|
55
55
|
i?.guides?.[s] !== void 0 && (i.guides[s].end = e, p(i.guides[s]));
|
|
56
|
-
},
|
|
56
|
+
}, I = (t) => {
|
|
57
57
|
const { axis: e, index: i } = d(t);
|
|
58
58
|
return e?.guides?.[i]?.name;
|
|
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) => {
|
|
@@ -150,7 +150,7 @@ class u extends h {
|
|
|
150
150
|
return W({ config: this._config, index: e, orientation: i });
|
|
151
151
|
}
|
|
152
152
|
setGuideEnd(e, i, s) {
|
|
153
|
-
|
|
153
|
+
$({ end: e, config: this._config, index: i, orientation: s });
|
|
154
154
|
}
|
|
155
155
|
/**
|
|
156
156
|
* Gets the name of a guide.
|
|
@@ -159,10 +159,10 @@ class u extends h {
|
|
|
159
159
|
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
160
160
|
*/
|
|
161
161
|
getGuideName(e, i) {
|
|
162
|
-
return
|
|
162
|
+
return I({ config: this._config, index: e, orientation: i });
|
|
163
163
|
}
|
|
164
164
|
setGuideName(e, i, s) {
|
|
165
|
-
|
|
165
|
+
N({ name: e, config: this._config, index: i, orientation: s });
|
|
166
166
|
}
|
|
167
167
|
/**
|
|
168
168
|
* Gets the guide label text.
|
|
@@ -7,17 +7,16 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
7
7
|
import type { AxisLabelFormatCallback, BarAndLineDataLabelFormatCallback, GaugeInnerLabelFormatCallback, GuideTooltipFormatCallback, HistogramLabelFormatCallback, PieChartLabelFormatCallback, PieChartLegendValueLabelFormatCallback, PreRenderCallback, ScatterplotLabelFormatCallback, TooltipFormatters } from "../../chart-rendering/common/interfaces.js";
|
|
8
8
|
import type { ChartLayerInput, CSVOptions } from "../../interfaces.js";
|
|
9
9
|
import type { ChartModel } from "../../model/chart-model/chart-model.js";
|
|
10
|
-
import type { WebChartTypes } from "../../spec/chart-object-literals.js";
|
|
11
10
|
import type { WebChartDataTypes } from "../../spec/data-source.js";
|
|
12
11
|
import type { WebChart, WebChartDataFilters } from "../../spec/web-chart.js";
|
|
13
|
-
import type { DataWarningObject
|
|
12
|
+
import type { DataWarningObject } from "../../utils/chart-config/validator/interfaces.js";
|
|
14
13
|
import type { AxesMinMaxChangePayload, DataProcessCompletePayload, LegendItemVisibilityChangePayload, NoRenderPropChangePayload, SelectionCompletePayload, SeriesColorChangePayload } from "../../utils/components/event-payloads.js";
|
|
15
14
|
import type { MissingSplitBySeriesProps, DownloadableChartImagesTypes } from "../../utils/components/interfaces.js";
|
|
16
15
|
import type { CalciteThemeCSSVariables } from "../../utils/components/themes.js";
|
|
17
16
|
import type { ActionModes, CursorRange } from "../../utils/cursor/interfaces.js";
|
|
18
17
|
import type { ChartElementLimit } from "../../utils/defaults/interfaces.js";
|
|
19
18
|
import type { LoaderColors, SelectionData, SelectionTheme } from "../../utils/misc/interfaces.js";
|
|
20
|
-
import type { ErrorPolicy,
|
|
19
|
+
import type { ErrorPolicy, ViewTimeExtentChangePolicy } from "../../utils/types/index.js";
|
|
21
20
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
22
21
|
|
|
23
22
|
/**
|
|
@@ -641,14 +640,6 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
641
640
|
* @default false
|
|
642
641
|
*/
|
|
643
642
|
accessor allowUsingObjectIdStat: boolean;
|
|
644
|
-
/**
|
|
645
|
-
* When `true`, elements such as data items, axes, and legends will animate when the chart is first rendered or when the chart's configuration is updated.
|
|
646
|
-
*
|
|
647
|
-
* @deprecated since 5.2. Use [animationsEnabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#animationsEnabled) instead.
|
|
648
|
-
* @default false
|
|
649
|
-
* @since 5.1
|
|
650
|
-
*/
|
|
651
|
-
accessor animationEnabled: boolean | undefined;
|
|
652
643
|
/**
|
|
653
644
|
* When `true`, elements such as data items, axes, and legends will animate when the chart is first rendered or when the chart's configuration is updated.
|
|
654
645
|
*
|
|
@@ -851,22 +842,6 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
851
842
|
* **Note**: Not applicable to gauges and radar charts.
|
|
852
843
|
*/
|
|
853
844
|
accessor dataLabelFormatter: BarAndLineDataLabelFormatCallback | HistogramLabelFormatCallback | PieChartLabelFormatCallback | ScatterplotLabelFormatCallback | undefined;
|
|
854
|
-
/**
|
|
855
|
-
* Disables all interactions on the chart.
|
|
856
|
-
*
|
|
857
|
-
* @deprecated since 5.1. Use [interactionsDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#interactionsDisabled) instead.
|
|
858
|
-
* @default false
|
|
859
|
-
*/
|
|
860
|
-
accessor disableInteractions: boolean;
|
|
861
|
-
/**
|
|
862
|
-
* Disables the toggling of series from the legend items.
|
|
863
|
-
*
|
|
864
|
-
* **Note**: Only applicable to multi-series charts.
|
|
865
|
-
*
|
|
866
|
-
* @deprecated since 5.1. Use [legendInteractionsDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#legendInteractionsDisabled) instead.
|
|
867
|
-
* @default false
|
|
868
|
-
*/
|
|
869
|
-
accessor disableTogglingLegendItems: boolean;
|
|
870
845
|
/**
|
|
871
846
|
* Whether to enable the beta features from the chart component.
|
|
872
847
|
*
|
|
@@ -883,13 +858,6 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
883
858
|
* @default false
|
|
884
859
|
*/
|
|
885
860
|
accessor enableConfiguration: boolean;
|
|
886
|
-
/**
|
|
887
|
-
* Enables the responsive features.
|
|
888
|
-
*
|
|
889
|
-
* @deprecated since 5.1. Won't be replaced.
|
|
890
|
-
* @default false
|
|
891
|
-
*/
|
|
892
|
-
accessor enableResponsiveFeatures: boolean;
|
|
893
861
|
/**
|
|
894
862
|
* When set to `ignore`, the chart fails silently without displaying an error or hiding the chart.
|
|
895
863
|
* By default, it is set to `throw`, which displays an error alert and hides the chart when it can't be created or updated.
|
|
@@ -955,28 +923,11 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
955
923
|
* **Note**: Not applicable to pie charts.
|
|
956
924
|
*/
|
|
957
925
|
accessor guideTooltipFormatter: GuideTooltipFormatCallback | undefined;
|
|
958
|
-
/**
|
|
959
|
-
* When `true`, the empty series are completely hidden from the chart and the legend.
|
|
960
|
-
* For example, a series may become empty after applying a data filter, filter by attribute or geometry (as when using the filter by view extent).
|
|
961
|
-
*
|
|
962
|
-
* **Note**: Not applicable to gauges.
|
|
963
|
-
*
|
|
964
|
-
* @deprecated since 5.1. Use [showEmptySeries](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#showEmptySeries) instead.
|
|
965
|
-
* @default false
|
|
966
|
-
*/
|
|
967
|
-
accessor hideEmptySeries: boolean | undefined;
|
|
968
|
-
/**
|
|
969
|
-
* Hides the license watermark.
|
|
970
|
-
*
|
|
971
|
-
* @deprecated since 5.1. Use [showLicenseWatermark](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#showLicenseWatermark) instead.
|
|
972
|
-
* @default false
|
|
973
|
-
*/
|
|
974
|
-
accessor hideLicenseWatermark: boolean | undefined;
|
|
975
926
|
/**
|
|
976
927
|
* When `true`, the loader animation is hidden when the chart is being created or updated. By default, it is shown at chart creation and each update (if it takes more than 300ms).
|
|
977
928
|
* | When `hideLoaderAnimation` is `true` | When `hideLoaderAnimation` is `false` |
|
|
978
929
|
* | -------- | -------- |
|
|
979
|
-
* | <video src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/hideLoaderAnimationTrue.webm" aria-label="
|
|
930
|
+
* | <video src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/hideLoaderAnimationTrue.webm" aria-label="hideLoaderAnimation" width="720" autoPlay loop muted playsInline/> | <video src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/hideLoaderAnimationFalse.webm" aria-label="hideLoaderAnimation" width="720" autoPlay loop muted playsInline/>
|
|
980
931
|
*
|
|
981
932
|
* @default false
|
|
982
933
|
*/
|
|
@@ -1000,21 +951,6 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1000
951
|
* @since 5.1
|
|
1001
952
|
*/
|
|
1002
953
|
accessor hideZeroCountCategories: boolean;
|
|
1003
|
-
/**
|
|
1004
|
-
* When `true`, disables the default setting that uses debounce functions to handle the visibility of markers
|
|
1005
|
-
* that are outside of the plotting area when the min/max bound changes and/or when a zoom action is performed
|
|
1006
|
-
* (via chart cursor or scrollbar), to increase performance.
|
|
1007
|
-
*
|
|
1008
|
-
* This property will be set when the chart is created and cannot be updated after that.
|
|
1009
|
-
* It's recommended that this property should only be set to `true` for small datasets.
|
|
1010
|
-
* When left `undefined`, will be treated as `false`.
|
|
1011
|
-
*
|
|
1012
|
-
* **Note**: Applicable to line charts only.
|
|
1013
|
-
*
|
|
1014
|
-
* @deprecated since 5.1. Won't be replaced.
|
|
1015
|
-
* @default false
|
|
1016
|
-
*/
|
|
1017
|
-
accessor ignoreSmoothRenderingLimit: boolean;
|
|
1018
954
|
/**
|
|
1019
955
|
* When `true`, it signals the queries to ignore the view's [`extent`](/references/core/views/MapView/#extent), whether an additional geometry filter is provided or not.
|
|
1020
956
|
*
|
|
@@ -1483,14 +1419,6 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1483
1419
|
* @since 5.2
|
|
1484
1420
|
*/
|
|
1485
1421
|
accessor referenceElement: HTMLElement | string | undefined;
|
|
1486
|
-
/**
|
|
1487
|
-
* When `true`, the chart's `dataItems` associated with empty (no value) categories (from only a `Count` aggregation)
|
|
1488
|
-
* will be populated with 0s.
|
|
1489
|
-
*
|
|
1490
|
-
* @deprecated since 5.0. Use [hideZeroCountCategories](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#hideZeroCountCategories) instead.
|
|
1491
|
-
* @default false
|
|
1492
|
-
*/
|
|
1493
|
-
accessor replaceNoValueCategoryWithZero: boolean | undefined;
|
|
1494
1422
|
/**
|
|
1495
1423
|
* When `true`, the feature extent is returned in the payload of [@arcgisDataProcessComplete](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisDataProcessComplete)
|
|
1496
1424
|
* and [@arcgisSelectionComplete](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisSelectionComplete) events.
|
|
@@ -1732,21 +1660,6 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1732
1660
|
* @since 5.1
|
|
1733
1661
|
*/
|
|
1734
1662
|
accessor showEmptySeries: boolean;
|
|
1735
|
-
/**
|
|
1736
|
-
* When `true`, the license watermark is displayed on the lower left corner of the chart.
|
|
1737
|
-
*
|
|
1738
|
-
* @deprecated since 5.2. Won't be replaced.
|
|
1739
|
-
* @default false
|
|
1740
|
-
* @since 5.1
|
|
1741
|
-
*/
|
|
1742
|
-
accessor showLicenseWatermark: boolean;
|
|
1743
|
-
/**
|
|
1744
|
-
* Whether to display or hide all UI messages (e.g. no data warnings, any placeholder messages set or invalid chart configuration).
|
|
1745
|
-
*
|
|
1746
|
-
* @deprecated since 5.1. Use [hideUIMessages](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#hideUIMessages) instead.
|
|
1747
|
-
* @default false
|
|
1748
|
-
*/
|
|
1749
|
-
accessor showUIMessages: boolean | undefined;
|
|
1750
1663
|
/**
|
|
1751
1664
|
* When `true`, charts will render immediately without waiting for other charts to finish rendering.
|
|
1752
1665
|
* By default, charts are queued so that only one chart renders at a time.
|
|
@@ -1778,13 +1691,6 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1778
1691
|
* @default false
|
|
1779
1692
|
*/
|
|
1780
1693
|
accessor syncSelection: boolean;
|
|
1781
|
-
/**
|
|
1782
|
-
* When `true`, chart selections will be synchronized with the view's [SelectionManager](/references/core/views/SelectionManager/).
|
|
1783
|
-
*
|
|
1784
|
-
* @deprecated since 5.1. Use [syncViewSelection](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#syncViewSelection) prop instead.
|
|
1785
|
-
* @default "disabled"
|
|
1786
|
-
*/
|
|
1787
|
-
accessor syncSelectionsBetweenChartAndLayerViewPolicy: SyncSelectionsBetweenChartAndLayerViewPolicy;
|
|
1788
1694
|
/**
|
|
1789
1695
|
* When `true`, chart selections will be synchronized with the view's [SelectionManager](/references/core/views/SelectionManager/).
|
|
1790
1696
|
*
|
|
@@ -1824,15 +1730,6 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1824
1730
|
* @since 5.1
|
|
1825
1731
|
*/
|
|
1826
1732
|
accessor syncViewTimeZone: boolean;
|
|
1827
|
-
/**
|
|
1828
|
-
* List of chart types to include from syncing the view's [`timeZone`](/references/core/views/MapView/#timeZone) with the data. Currently heat charts are included by default.
|
|
1829
|
-
*
|
|
1830
|
-
* **Note**: This applies only to charts supporting temporal data. Additionally if the data is binned, it applies only if the layer has the
|
|
1831
|
-
* capacity to handle the `/queryBins` operation. For any other case the chart will ignore the view's time zone regardless of the content of this list.
|
|
1832
|
-
*
|
|
1833
|
-
* @deprecated since 5.1. Use [syncViewTimeZone](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#syncViewTimeZone) instead.
|
|
1834
|
-
*/
|
|
1835
|
-
accessor syncViewTimeZoneInclusionList: (typeof WebChartTypes.BarSeries | typeof WebChartTypes.ComboLineAndBarSeries | typeof WebChartTypes.HeatSeries | typeof WebChartTypes.LineSeries | typeof WebChartTypes.RadarSeries)[];
|
|
1836
1733
|
/**
|
|
1837
1734
|
* Defines the time zone used to display date and time values in the chart. The underlying data is not modified.
|
|
1838
1735
|
*
|
|
@@ -1852,15 +1749,6 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1852
1749
|
* ```
|
|
1853
1750
|
*/
|
|
1854
1751
|
accessor timeZone: MapView["timeZone"] | undefined;
|
|
1855
|
-
/**
|
|
1856
|
-
* When `true`, disables the toggling of series or slices from the legend items. Clicking on the legend items will not hide or show the corresponding elements on the chart.
|
|
1857
|
-
*
|
|
1858
|
-
* **Note**: Only applicable to charts with multiple series and while the legend is displayed.
|
|
1859
|
-
*
|
|
1860
|
-
* @deprecated since 5.2. Use [legendInteractionsDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#legendInteractionsDisabled) instead.
|
|
1861
|
-
* @default false
|
|
1862
|
-
*/
|
|
1863
|
-
accessor togglingLegendItemsDisabled: boolean | undefined;
|
|
1864
1752
|
/**
|
|
1865
1753
|
* Callback function used to format the tooltips when hovering over a chart element. If the returned string contains HTML tags they will be interpreted as such.
|
|
1866
1754
|
*
|
|
@@ -1905,13 +1793,6 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1905
1793
|
* **Note**: Applicable only to bar chart, box plot, line chart and radar chart when a split-by field is used.
|
|
1906
1794
|
*/
|
|
1907
1795
|
accessor updateSplitBySeries: MissingSplitBySeriesProps | undefined;
|
|
1908
|
-
/**
|
|
1909
|
-
* Enable animation on the chart.
|
|
1910
|
-
*
|
|
1911
|
-
* @deprecated since 5.1. Use [animationsEnabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#animationsEnabled) instead.
|
|
1912
|
-
* @default false
|
|
1913
|
-
*/
|
|
1914
|
-
accessor useAnimatedCharts: boolean;
|
|
1915
1796
|
/**
|
|
1916
1797
|
* Allows the use of the fields alias from the `layer.popupTemplate` when rendering the field names on the chart (e.g. tooltips, axes, legend).
|
|
1917
1798
|
*
|
|
@@ -1999,13 +1880,6 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1999
1880
|
* @since 5.1
|
|
2000
1881
|
*/
|
|
2001
1882
|
destroy(): Promise<void>;
|
|
2002
|
-
/**
|
|
2003
|
-
* Triggers an alert to display an error message.
|
|
2004
|
-
*
|
|
2005
|
-
* @deprecated since 5.1. Won't be replaced.
|
|
2006
|
-
* @param errorMessage
|
|
2007
|
-
*/
|
|
2008
|
-
errorAlert(errorMessage?: string): Promise<void>;
|
|
2009
1883
|
/**
|
|
2010
1884
|
* Export the current chart's data as a CSV file.
|
|
2011
1885
|
*
|
|
@@ -2279,12 +2153,6 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
2279
2153
|
* ```
|
|
2280
2154
|
*/
|
|
2281
2155
|
readonly arcgisSeriesOrder: import("@arcgis/lumina").TargetedEvent<this, string[]>;
|
|
2282
|
-
/**
|
|
2283
|
-
* Emitted once the chart is updated.
|
|
2284
|
-
*
|
|
2285
|
-
* @deprecated since 5.2. Use [@arcgisRenderingComplete](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisRenderingComplete) instead.
|
|
2286
|
-
*/
|
|
2287
|
-
readonly arcgisUpdateComplete: import("@arcgis/lumina").TargetedEvent<this, ValidationStatus>;
|
|
2288
2156
|
readonly "@eventTypes": {
|
|
2289
2157
|
arcgisAxesMinMaxChange: ArcgisChart["arcgisAxesMinMaxChange"]["detail"];
|
|
2290
2158
|
arcgisBadDataWarningRaise: ArcgisChart["arcgisBadDataWarningRaise"]["detail"];
|
|
@@ -2301,6 +2169,5 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
2301
2169
|
arcgisSelectionComplete: ArcgisChart["arcgisSelectionComplete"]["detail"];
|
|
2302
2170
|
arcgisSeriesColorChange: ArcgisChart["arcgisSeriesColorChange"]["detail"];
|
|
2303
2171
|
arcgisSeriesOrder: ArcgisChart["arcgisSeriesOrder"]["detail"];
|
|
2304
|
-
arcgisUpdateComplete: ArcgisChart["arcgisUpdateComplete"]["detail"];
|
|
2305
2172
|
};
|
|
2306
2173
|
}
|