@arcgis/charts-components 5.2.0-next.76 → 5.2.0-next.78
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/{XKWB2T32.js → 2ASLWSZG.js} +1 -1
- package/dist/cdn/{4WJRJCLD.js → 2AYYSMS5.js} +2 -2
- package/dist/cdn/{FZV6RLK4.js → 2GAKZXA7.js} +1 -1
- package/dist/cdn/{QA5XAJG2.js → 37TEXJ7K.js} +1 -1
- package/dist/cdn/{KNHO45OE.js → 3EO4F26F.js} +1 -1
- package/dist/cdn/{Q5KQ6VU2.js → 3OW3AP7E.js} +1 -1
- package/dist/cdn/{7J5A5NFI.js → 4UZZHUBR.js} +1 -1
- package/dist/cdn/4V4XGO3V.js +2 -0
- package/dist/cdn/{W5OKNIYB.js → 4XM7Q33B.js} +1 -1
- package/dist/cdn/{K7ONVPQD.js → 55MAADXE.js} +1 -1
- package/dist/cdn/{DDKBUPNA.js → 5TACWRME.js} +1 -1
- package/dist/cdn/{G5X74FKX.js → 5UKSJH54.js} +1 -1
- package/dist/cdn/{YUSPOR5K.js → 6ILCVW7Y.js} +1 -1
- package/dist/cdn/{FVERG5WA.js → 6WE5NXCL.js} +1 -1
- package/dist/cdn/{6RP62IRP.js → 7MXV56XK.js} +1 -1
- package/dist/cdn/{436LMU5X.js → AGPCWGX5.js} +1 -1
- package/dist/cdn/{ULVVDC7F.js → ANIGKAAB.js} +1 -1
- package/dist/cdn/{VSWUT7CA.js → ARBNJ22B.js} +1 -1
- package/dist/cdn/{S3LRWKAX.js → AVJGLPDW.js} +1 -1
- package/dist/cdn/{JWSRZ2DT.js → BRQQTNPP.js} +1 -1
- package/dist/cdn/{UGEYLVIU.js → C5O4MQR2.js} +1 -1
- package/dist/cdn/{DI7KSBSF.js → CPTM5D3G.js} +1 -1
- package/dist/cdn/{GYHDXPJE.js → DEEDTMN2.js} +1 -1
- package/dist/cdn/{XZEIH6U7.js → DNBUCAK5.js} +1 -1
- package/dist/cdn/{E3JSGSZO.js → DWGM7Z44.js} +1 -1
- package/dist/cdn/{ZVZ73LEB.js → EUTOQQ3S.js} +1 -1
- package/dist/cdn/{UPZU4PT4.js → EVXW4JIN.js} +1 -1
- package/dist/cdn/{ATVDMX2J.js → F4YJZZ3Z.js} +1 -1
- package/dist/cdn/{2LA7C4QV.js → FDXSZJWC.js} +1 -1
- package/dist/cdn/{QD5L45NM.js → FNTOEKMU.js} +1 -1
- package/dist/cdn/{H2CAS5TZ.js → FWLBHMGZ.js} +1 -1
- package/dist/cdn/{5KNGV2JN.js → GRFUVWBR.js} +1 -1
- package/dist/cdn/{FPQP5PPG.js → HEVW64SC.js} +1 -1
- package/dist/cdn/{J34J6LD7.js → HHZOC34D.js} +1 -1
- package/dist/cdn/{FGT54LZQ.js → HVNUPBQA.js} +1 -1
- package/dist/cdn/{6R3FZONE.js → HXSSY2BO.js} +1 -1
- package/dist/cdn/IAMJ6CBO.js +3 -0
- package/dist/cdn/{CKNGIVV4.js → IC7XPCCD.js} +1 -1
- package/dist/cdn/{56ZK7STH.js → J6SZNFHT.js} +1 -1
- package/dist/cdn/{FENZFVR6.js → JBDNBUXX.js} +24 -24
- package/dist/cdn/{PS63GP2Q.js → JILQHU4L.js} +1 -1
- package/dist/cdn/{6HKKSGTW.js → JKT2UC2C.js} +1 -1
- package/dist/cdn/{HY7IIMH5.js → JQU6SHEI.js} +1 -1
- package/dist/cdn/{ZZBZ3M37.js → JZFIYS3Q.js} +1 -1
- package/dist/cdn/{YVQGX3ZX.js → JZVACQMQ.js} +1 -1
- package/dist/cdn/{YDNZFSLH.js → KBADZKOP.js} +1 -1
- package/dist/cdn/{2DDIAUZP.js → KBBPAMMT.js} +1 -1
- package/dist/cdn/{XAAWA7RV.js → KOLRCFJY.js} +1 -1
- package/dist/cdn/{QTYP3S5A.js → KS5BBSHY.js} +1 -1
- package/dist/cdn/L4E3VJVV.js +2 -0
- package/dist/cdn/{TVKJNNXG.js → LYE5P3IM.js} +1 -1
- package/dist/cdn/{JNWFO5XG.js → N6FMZQZN.js} +1 -1
- package/dist/cdn/{7BCQTPEQ.js → N7C7MXPK.js} +1 -1
- package/dist/cdn/{RYQCBDZQ.js → NIDK3VNZ.js} +1 -1
- package/dist/cdn/{OYE6B4A2.js → O3I5M2SH.js} +1 -1
- package/dist/cdn/{33BRETPB.js → OAGFPD22.js} +1 -1
- package/dist/cdn/{XPHNWQAT.js → OILO7FSO.js} +1 -1
- package/dist/cdn/{NM6DLR7V.js → OTCRP3JF.js} +1 -1
- package/dist/cdn/{D36WET32.js → PBMWAGSX.js} +1 -1
- package/dist/cdn/{OH23D7V4.js → PCAFQL35.js} +1 -1
- package/dist/cdn/{3P2SRGLO.js → PCHCBNEX.js} +1 -1
- package/dist/cdn/{57XZWFTY.js → QK73NKPD.js} +1 -1
- package/dist/cdn/{AHUVOOEG.js → QPTQD3ZH.js} +1 -1
- package/dist/cdn/{RACBDCMX.js → REUSRETW.js} +1 -1
- package/dist/cdn/RPQJ6RNZ.js +2 -0
- package/dist/cdn/{W2ZWCRQG.js → RXIRNKPO.js} +1 -1
- package/dist/cdn/{QXCE6JPL.js → RZHWMERW.js} +1 -1
- package/dist/cdn/{L2IC2Y47.js → SCBFWKS5.js} +1 -1
- package/dist/cdn/{7WNB2UBY.js → TGP4YGPD.js} +1 -1
- package/dist/cdn/{VNPYUGJI.js → TVQYI2GA.js} +1 -1
- package/dist/cdn/{A5YYKBOZ.js → U43J5GMJ.js} +1 -1
- package/dist/cdn/{G7ERMTBR.js → UEUCI74S.js} +1 -1
- package/dist/cdn/{H2L77BVM.js → UQQUQB2A.js} +1 -1
- package/dist/cdn/UROIIO5G.js +2 -0
- package/dist/cdn/{TND5ID5R.js → WFNHDRCX.js} +1 -1
- package/dist/cdn/{AFP2EZVP.js → WIU4Z5RB.js} +1 -1
- package/dist/cdn/{3I5WM4MV.js → X7KNPTRQ.js} +2 -2
- package/dist/cdn/{GHZGNHT2.js → XGOJWQ2M.js} +1 -1
- package/dist/cdn/{7JYCHXND.js → XPWRCAVM.js} +1 -1
- package/dist/cdn/{U3VZYTUZ.js → XUHTILLV.js} +1 -1
- package/dist/cdn/Y3WKQVWR.js +2 -0
- package/dist/cdn/{6DOH32LR.js → YWYUS2YB.js} +1 -1
- package/dist/cdn/{RJGYAQAI.js → ZAGOBG3W.js} +1 -1
- package/dist/cdn/{BGFC2AUU.js → ZFVW3OFJ.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 +38 -6
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/chart-model.js +1 -1
- package/dist/chunks/data.js +23 -23
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/index2.js +4070 -4010
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/model-setter.js +53 -31
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +29 -29
- package/dist/chunks/series-length.js +3 -3
- package/dist/chunks/type-guards2.js +37 -36
- package/dist/chunks/web-component-utils.js +8 -8
- package/dist/components/arcgis-chart/customElement.d.ts +11 -0
- package/dist/components/arcgis-chart/customElement.js +5665 -5469
- package/dist/components/arcgis-charts-config-create-flow/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/loader.js +1 -1
- package/dist/model/chart-model/chart-model-base.d.ts +10 -0
- package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +0 -9
- package/dist/model/shared/type-guards.d.ts +22 -21
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/chart-config/converter/index.js +13 -13
- package/dist/utils/chart-config/utils/index.d.ts +2 -2
- package/dist/utils/data/index.d.ts +6 -3
- package/dist/utils/layer/index.d.ts +1 -0
- package/dist/utils/layer/query-parser/index.d.ts +1 -1
- package/dist/utils/misc/interfaces.d.ts +1 -0
- package/package.json +3 -3
- package/dist/cdn/3WSDELLU.js +0 -2
- package/dist/cdn/5X7Q3I6R.js +0 -2
- package/dist/cdn/CKS3U7SE.js +0 -2
- package/dist/cdn/GYUBEC56.js +0 -3
- package/dist/cdn/WLDEJGWX.js +0 -2
- package/dist/cdn/YJ3WIX3D.js +0 -2
package/dist/chunks/index4.js
CHANGED
|
@@ -4,7 +4,7 @@ import E from "ajv";
|
|
|
4
4
|
import { g as w } from "./runtime.js";
|
|
5
5
|
import { fetchT9nStringsBundle as S } from "@arcgis/toolkit/intl";
|
|
6
6
|
import { getElementLocale as I } from "@arcgis/toolkit/intl/dom";
|
|
7
|
-
import { C as u,
|
|
7
|
+
import { C as u, dx as M, Y as T, m as F, Z as V, af as z, ak as G, E as A, ay as U, I as L, a7 as D, by as H, a as $, aH as J, bo as _, cT as K, V as Q, k as Z, n as X, l as Y, bc as ee, aI as te } from "./index2.js";
|
|
8
8
|
import { g as ie, aD as re } from "./index.js";
|
|
9
9
|
import { q as x, C as h, h as ne } from "./index3.js";
|
|
10
10
|
import { g as C } from "./series-types.js";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { fetchT9nStringsBundle as d } from "@arcgis/toolkit/intl";
|
|
3
3
|
import { getElementLocale as c } from "@arcgis/toolkit/intl/dom";
|
|
4
|
-
import { g } from "./runtime.js";
|
|
5
|
-
import { convertChartSpec as
|
|
6
|
-
import { X as
|
|
7
|
-
import { ac as
|
|
8
|
-
import "lodash-es";
|
|
4
|
+
import { g as f } from "./runtime.js";
|
|
5
|
+
import { convertChartSpec as g } from "../utils/chart-config/converter/index.js";
|
|
6
|
+
import { X as l } from "./index.js";
|
|
7
|
+
import { ac as n, bY as y, I as u, ap as _ } from "./index2.js";
|
|
8
|
+
import { cloneDeep as C } from "lodash-es";
|
|
9
9
|
import "luxon";
|
|
10
10
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
11
11
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
12
12
|
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
13
13
|
import "./chart-object-literals.js";
|
|
14
|
-
import "./index3.js";
|
|
15
|
-
import "@arcgis/core/Graphic.js";
|
|
16
|
-
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
17
|
-
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
18
|
-
import "@esri/arcgis-html-sanitizer";
|
|
19
14
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
20
15
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
21
16
|
import "@arcgis/core/rest/support/Query.js";
|
|
22
17
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
23
18
|
import "@arcgis/core/time/TimeExtent.js";
|
|
19
|
+
import "@esri/arcgis-html-sanitizer";
|
|
20
|
+
import "./index3.js";
|
|
24
21
|
import "@arcgis/core/core/promiseUtils.js";
|
|
25
22
|
import "@arcgis/core/request.js";
|
|
23
|
+
import "@arcgis/core/Graphic.js";
|
|
24
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
25
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
26
26
|
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
27
27
|
import "@arcgis/core/geometry/Point.js";
|
|
28
28
|
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
@@ -34,17 +34,23 @@ import "simple-statistics";
|
|
|
34
34
|
import "@arcgis/core/core/sql.js";
|
|
35
35
|
import "@arcgis/toolkit/type";
|
|
36
36
|
import "./class-breaks.js";
|
|
37
|
-
|
|
37
|
+
const m = 30;
|
|
38
|
+
function U(a, i, t, e) {
|
|
39
|
+
const s = m - 1, o = Math.max(a - s, 0);
|
|
40
|
+
if (e === void 0 && (e = a - 1), !(e < o || e > a))
|
|
41
|
+
return e === a ? i : t[e - o];
|
|
42
|
+
}
|
|
43
|
+
class et extends EventTarget {
|
|
38
44
|
/**
|
|
39
45
|
* @param args
|
|
40
46
|
* @privateRemarks This "any" constructor is needed for TypeScript to merge
|
|
41
47
|
* the base class and mixin classes types together smoothly.
|
|
42
48
|
*/
|
|
43
49
|
constructor(...i) {
|
|
44
|
-
super(), this.dirtyAsyncSetters = [], this.asyncConfigUpdateInProgress = !1, this.pendingUpdates = 0, this.dataStore = {}, this.asyncUpdatesPromise = new Promise((t) => {
|
|
50
|
+
super(), this.dirtyAsyncSetters = [], this.asyncConfigUpdateInProgress = !1, this.pendingUpdates = 0, this._revision = 0, this._configHistory = [void 0], this.dataStore = {}, this.asyncUpdatesPromise = new Promise((t) => {
|
|
45
51
|
this.resolveSetup = t;
|
|
46
52
|
}), this.emitConfigUpdate = (t) => {
|
|
47
|
-
this.dispatchEvent(
|
|
53
|
+
this._revision += 1, this._configHistory.push(C(this._config)), this._configHistory.length > m && this._configHistory.shift(), this.dispatchEvent(
|
|
48
54
|
new CustomEvent("arcgisChartsModelConfigChange", {
|
|
49
55
|
detail: { config: this._config, setterName: t }
|
|
50
56
|
})
|
|
@@ -59,6 +65,20 @@ class K extends EventTarget {
|
|
|
59
65
|
get chartType() {
|
|
60
66
|
return this._chartType;
|
|
61
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* The current revision number of the chart configuration. Increments with each update.
|
|
70
|
+
*/
|
|
71
|
+
get revision() {
|
|
72
|
+
return this._revision;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Recalls a previous chart configuration based on its revision number. Returns `undefined` if the requested revision is not available (beyond the stored history limit).
|
|
76
|
+
*
|
|
77
|
+
* If no `configRevision` number is provided, it recalls the last configuration just before the current one.
|
|
78
|
+
*/
|
|
79
|
+
recall(i) {
|
|
80
|
+
return U(this._revision, this._config, this._configHistory, i);
|
|
81
|
+
}
|
|
62
82
|
/**
|
|
63
83
|
* Checks if the current chart model is for the same chart as another chart model.
|
|
64
84
|
*
|
|
@@ -85,23 +105,23 @@ class K extends EventTarget {
|
|
|
85
105
|
* @private
|
|
86
106
|
*/
|
|
87
107
|
async loadConfigFromLayer(i) {
|
|
88
|
-
const { layer: t, iLayer:
|
|
89
|
-
this.commonStrings =
|
|
108
|
+
const { layer: t, iLayer: e, config: s, commonStrings: o } = i;
|
|
109
|
+
this.commonStrings = o ?? await d(
|
|
90
110
|
c(document.documentElement).t9nLocale,
|
|
91
|
-
|
|
111
|
+
f("./assets/common/t9n"),
|
|
92
112
|
"messages."
|
|
93
113
|
);
|
|
94
|
-
let
|
|
95
|
-
if (!
|
|
96
|
-
await
|
|
97
|
-
const
|
|
114
|
+
let r = t;
|
|
115
|
+
if (!r && e ? r = await n(e) : !r && s?.iLayer && (r = await n(s.iLayer)), r) {
|
|
116
|
+
await y(r);
|
|
117
|
+
const h = u(r, !0), p = _(r).idField;
|
|
98
118
|
this.layerInfo = {
|
|
99
|
-
layer:
|
|
100
|
-
layerFieldsInfo:
|
|
119
|
+
layer: r,
|
|
120
|
+
layerFieldsInfo: h,
|
|
101
121
|
objectIdField: p
|
|
102
122
|
};
|
|
103
123
|
}
|
|
104
|
-
this._config =
|
|
124
|
+
this._config = s ? await g(s) : this.generateDefaultConfig(), this._config.legend !== void 0 && this._config.legend?.title === void 0 && (this._config.legend.title = l().title), e && (this._config.iLayer = e);
|
|
105
125
|
}
|
|
106
126
|
/**
|
|
107
127
|
* Manually block the async guard to queue up config updates until unblocked.
|
|
@@ -121,19 +141,21 @@ class K extends EventTarget {
|
|
|
121
141
|
}
|
|
122
142
|
// #endregion
|
|
123
143
|
}
|
|
124
|
-
function
|
|
125
|
-
const
|
|
126
|
-
return
|
|
144
|
+
function st(a, i, t) {
|
|
145
|
+
const e = t.set, s = t.value;
|
|
146
|
+
return e && (t.set = function(o) {
|
|
127
147
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
128
|
-
|
|
148
|
+
e.call(this, o), this.emitConfigUpdate(i);
|
|
129
149
|
});
|
|
130
|
-
}),
|
|
150
|
+
}), s && (t.value = function(...o) {
|
|
131
151
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
132
|
-
|
|
152
|
+
s.apply(this, o), this.emitConfigUpdate(i);
|
|
133
153
|
});
|
|
134
154
|
}), t;
|
|
135
155
|
}
|
|
136
156
|
export {
|
|
137
|
-
|
|
138
|
-
|
|
157
|
+
et as C,
|
|
158
|
+
m as M,
|
|
159
|
+
st as m,
|
|
160
|
+
U as r
|
|
139
161
|
};
|
|
@@ -4,7 +4,7 @@ import { isEmpty as E, isNull as M, cloneDeep as U } from "lodash-es";
|
|
|
4
4
|
import { P as g, a as y } from "./common.js";
|
|
5
5
|
import { g as x, u as L } from "./utils.js";
|
|
6
6
|
import { g as W } from "./data.js";
|
|
7
|
-
import {
|
|
7
|
+
import { g as k } from "./series-length.js";
|
|
8
8
|
import { g as _ } from "./utils2.js";
|
|
9
9
|
import { X, w as z, a6 as G } from "./index.js";
|
|
10
10
|
import { d as P } from "./index3.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { s as p, u as v, e as X, f as O } from "./utils.js";
|
|
3
3
|
import { substitute as Y } from "@arcgis/core/intl.js";
|
|
4
4
|
import { isEmpty as f, isEqual as D } from "lodash-es";
|
|
5
|
-
import {
|
|
5
|
+
import { g as w } from "./series-length.js";
|
|
6
6
|
import { g as b } from "./utils2.js";
|
|
7
7
|
import { al as m, af as z, ad as k } from "./index.js";
|
|
8
8
|
import { d as y } from "./index3.js";
|
|
@@ -3,7 +3,7 @@ import { substitute as E } from "@arcgis/core/intl.js";
|
|
|
3
3
|
import { cloneDeep as J, isEmpty as Ye, memoize as We } from "lodash-es";
|
|
4
4
|
import { S as oe } from "./common.js";
|
|
5
5
|
import { s as L, u as $, a as Ie, g as ye, b as De, c as He, d as Xe, e as pe } from "./utils.js";
|
|
6
|
-
import { w as I, i as
|
|
6
|
+
import { w as I, i as Ue, dk as Y, co as je, bD as Ke, a$ as Le, x as Ze, Y as ee, cT as _e, cS as Qe, p as ze, aJ as me, cu as Ge, d as Je, aI as et, I as tt, a7 as st, by as it, W as at, e as rt, bJ as nt, du as ot, v as lt, dA as fe, cc as ct, dB as ut, c8 as dt, B as yt, N as Se, bM as _, dx as mt, bj as q, bQ as Q, ap as j, a6 as Ne, bd as M, bc as gt, k as U, bu as pt, bC as ft, bt as O, bB as V, bp as Fe, bs as xe } from "./index2.js";
|
|
7
7
|
import { a as P, s as ge, g as te, b as he, c as St } from "./data.js";
|
|
8
8
|
import { u as T, r as v, k as Ft, d as k, n as D, m as W, p as xt, t as ht, s as le } from "./chart-object-literals.js";
|
|
9
9
|
import { R as Oe, i as Tt } from "./rest-js-object-literals.js";
|
|
@@ -11,11 +11,11 @@ import { i as se } from "./index4.js";
|
|
|
11
11
|
import { aD as Bt, K as z, F as ce, w as Ct, $ as bt, ac as At, ao as vt, A as It, a2 as Dt } from "./index.js";
|
|
12
12
|
import { C as w, F as H, d as R } from "./index3.js";
|
|
13
13
|
import { g as Ve, s as Lt } from "./series-types.js";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
14
|
+
import { C as Nt, m as Ot } from "./model-setter.js";
|
|
15
|
+
import { convertChartSpec as Vt } from "../utils/chart-config/converter/index.js";
|
|
16
|
+
import { d as ue, f as kt } from "./type-guards.js";
|
|
17
17
|
import { g as ie } from "./utils2.js";
|
|
18
|
-
import {
|
|
18
|
+
import { b as Rt, g as qt } from "./series-length.js";
|
|
19
19
|
const Ls = (s) => {
|
|
20
20
|
let e;
|
|
21
21
|
const t = s.series[0];
|
|
@@ -70,12 +70,12 @@ const Ht = (s) => {
|
|
|
70
70
|
(t.type === T.BarSeries || t.type === T.RadarSeries || t.type === T.LineSeries) && t.temporalBinning && (e = t.temporalBinning.outTimeZone);
|
|
71
71
|
}), e || (e = s?.axes?.[0]?.valueFormat.type === T.DateAxisFormat ? s.axes[0].valueFormat.intlOptions.timeZone : void 0), e;
|
|
72
72
|
}, ke = (s, e) => {
|
|
73
|
-
const t =
|
|
73
|
+
const t = Ue(s);
|
|
74
74
|
Y(e) ? s ? e.outTimeZone = t : delete e.outTimeZone : e?.series.forEach((r) => {
|
|
75
75
|
(r.type === T.BarSeries || r.type === T.RadarSeries || r.type === T.LineSeries) && (s ? (r.temporalBinning ??= {}, r.temporalBinning.outTimeZone = t) : r.temporalBinning && delete r.temporalBinning.outTimeZone);
|
|
76
76
|
}), e?.axes?.[0]?.valueFormat.type === T.DateAxisFormat && (s ? e.axes[0].valueFormat.intlOptions.timeZone = t : delete e.axes[0].valueFormat.intlOptions.timeZone);
|
|
77
77
|
};
|
|
78
|
-
class Xt extends
|
|
78
|
+
class Xt extends Nt {
|
|
79
79
|
/**
|
|
80
80
|
* Gets the time zone for the chart.
|
|
81
81
|
*/
|
|
@@ -87,7 +87,7 @@ class Xt extends Vt {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
Wt([
|
|
90
|
-
|
|
90
|
+
Ot
|
|
91
91
|
], Xt.prototype, "timeZone");
|
|
92
92
|
function ws(s, e) {
|
|
93
93
|
let t;
|
|
@@ -101,7 +101,7 @@ function Es(s, e) {
|
|
|
101
101
|
let t;
|
|
102
102
|
return e !== void 0 && (t = { ...e, rotated: s }), t;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function Ut(s) {
|
|
105
105
|
let e;
|
|
106
106
|
return s !== void 0 && (e = { ...s }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
|
|
107
107
|
}
|
|
@@ -111,9 +111,9 @@ function Ms(s, e) {
|
|
|
111
111
|
async function $s(s) {
|
|
112
112
|
const { config: e, layer: t, abortSignal: r } = s;
|
|
113
113
|
let i = !1;
|
|
114
|
-
return ue(t) ||
|
|
114
|
+
return ue(t) || kt(e) ? e && ue(t) && (i = await Ke({ config: e, layer: t, abortSignal: r })) : i = !0, i;
|
|
115
115
|
}
|
|
116
|
-
async function
|
|
116
|
+
async function jt(s) {
|
|
117
117
|
const {
|
|
118
118
|
queryObject: e,
|
|
119
119
|
chartConfig: t,
|
|
@@ -265,7 +265,7 @@ async function Qt(s) {
|
|
|
265
265
|
t.series.length === 0 && u !== void 0 && t.series.push(u);
|
|
266
266
|
const y = ee(t.series);
|
|
267
267
|
if (y === w.BoxPlotMonoFieldAndSplitBy || y === w.BoxPlotMultiFieldsAndSplitBy || y === w.BoxPlotMonoFieldAndCategoryAndSplitBy || y === w.BarAndLineSplitBy || y === w.BarAndLineSplitByNoAggregation) {
|
|
268
|
-
const g = et(t.series[0]?.query?.where), F = tt(r), h = st(g, F), S = h ? it(h) : !1, b = await
|
|
268
|
+
const g = et(t.series[0]?.query?.where), F = tt(r), h = st(g, F), S = h ? it(h) : !1, b = await jt({
|
|
269
269
|
queryObject: r,
|
|
270
270
|
chartConfig: t,
|
|
271
271
|
splitByField: g,
|
|
@@ -323,7 +323,7 @@ async function Ys(s) {
|
|
|
323
323
|
errorStrings: y
|
|
324
324
|
} = s;
|
|
325
325
|
let g = e, F;
|
|
326
|
-
return g && (zt(t, g), g = await
|
|
326
|
+
return g && (zt(t, g), g = await Vt(g, t, void 0, o), r && n && (F = await Qt({
|
|
327
327
|
updateSplitBySeries: i,
|
|
328
328
|
config: g,
|
|
329
329
|
queryObject: n,
|
|
@@ -335,7 +335,7 @@ async function Ys(s) {
|
|
|
335
335
|
returnFeaturesExtent: f,
|
|
336
336
|
returnStatisticsAggregatedIds: u,
|
|
337
337
|
chartLimits: m
|
|
338
|
-
})), g =
|
|
338
|
+
})), g = je(g, a), ke(d, g)), { alteredConfig: g, preFetchedQueryResponse: F };
|
|
339
339
|
}
|
|
340
340
|
function Gt(s, e) {
|
|
341
341
|
let t = !1;
|
|
@@ -396,16 +396,16 @@ function Ws(s) {
|
|
|
396
396
|
}
|
|
397
397
|
const Hs = (s) => s.hideEmptyRowsAndColumns, Xs = (s, e) => {
|
|
398
398
|
s.hideEmptyRowsAndColumns = e;
|
|
399
|
-
},
|
|
399
|
+
}, Us = (s, e) => {
|
|
400
400
|
const t = s.series[0];
|
|
401
401
|
t.heatRulesType = e;
|
|
402
|
-
},
|
|
402
|
+
}, js = (s) => s.series[0].heatRulesType, Ks = (s, e) => {
|
|
403
403
|
const t = s.series[0];
|
|
404
404
|
t.gradientRules = e;
|
|
405
405
|
}, Zs = (s) => s.series[0].gradientRules, _s = (s) => {
|
|
406
406
|
const { yField: e, config: t, layerInfo: r, commonStrings: i } = s, { layerFieldsInfo: a } = r, n = ie(1, t), o = Jt(t), l = se(t), c = t.series[0];
|
|
407
407
|
if (typeof e == "string" && o !== e && c) {
|
|
408
|
-
if (c.y = e,
|
|
408
|
+
if (c.y = e, Ut(t), o === n || l) {
|
|
409
409
|
const p = R(a, e);
|
|
410
410
|
$(t, 1, p);
|
|
411
411
|
}
|
|
@@ -605,7 +605,7 @@ function os(s) {
|
|
|
605
605
|
}), e.text || e.fillSymbol || e.markerSymbol ? e : void 0;
|
|
606
606
|
}
|
|
607
607
|
function ae(s) {
|
|
608
|
-
const { seriesIndex: e, xAxisField: t, aggregationType: r, config: i, layerInfo: a, commonStrings: n } = s, o =
|
|
608
|
+
const { seriesIndex: e, xAxisField: t, aggregationType: r, config: i, layerInfo: a, commonStrings: n } = s, o = j(a?.layer).idField;
|
|
609
609
|
let l;
|
|
610
610
|
const c = i.series[e ?? 0];
|
|
611
611
|
let p = !1, f = !1, u = !1;
|
|
@@ -667,7 +667,7 @@ function ae(s) {
|
|
|
667
667
|
return J(C);
|
|
668
668
|
}
|
|
669
669
|
function K(s, e, t) {
|
|
670
|
-
const { layerFieldsInfo: r } = e, { idField: i, isTraditionalTypeOID: a } =
|
|
670
|
+
const { layerFieldsInfo: r } = e, { idField: i, isTraditionalTypeOID: a } = j(e.layer), n = P(s), o = Z(s), l = we(s), c = re(s), p = a && (o.length === 0 || o.includes(i)), f = Ct(l, t), u = p ? "" : o.map((S) => R(r ?? [], S)).join(", "), m = R(r ?? [], n), d = R(r ?? [], c), y = s.series.some((S) => M(S)), g = y ? "category" : "xAxisField", F = m;
|
|
671
671
|
let h = "";
|
|
672
672
|
if (ge({
|
|
673
673
|
fieldName: n,
|
|
@@ -751,7 +751,7 @@ const qe = (s) => me({
|
|
|
751
751
|
return e.filter((t) => t !== "");
|
|
752
752
|
};
|
|
753
753
|
function Pe(s) {
|
|
754
|
-
const { splitByField: e, numericFields: t, layer: r, seriesIndex: i } = s, a =
|
|
754
|
+
const { splitByField: e, numericFields: t, layer: r, seriesIndex: i } = s, a = j(r).idField ?? "";
|
|
755
755
|
return e === "" ? t[i] ?? a : t[0] ?? a;
|
|
756
756
|
}
|
|
757
757
|
function ls(s) {
|
|
@@ -801,7 +801,7 @@ function cs(s) {
|
|
|
801
801
|
...u ?? l,
|
|
802
802
|
id: d,
|
|
803
803
|
name: y,
|
|
804
|
-
x:
|
|
804
|
+
x: U,
|
|
805
805
|
y: c
|
|
806
806
|
}, h = [];
|
|
807
807
|
for (const S of t)
|
|
@@ -813,7 +813,7 @@ function cs(s) {
|
|
|
813
813
|
return F.query = { outStatistics: h }, i.series.length === 1 && ((O(F) || V(F)) && Me(F, i.series[0]), M(F) ? F.fillSymbol = i.series[0].fillSymbol : (O(F) || V(F)) && (F.lineSymbol = i.series[0].lineSymbol, F.markerSymbol = i.series[0].markerSymbol)), [F];
|
|
814
814
|
}
|
|
815
815
|
function Ee(s) {
|
|
816
|
-
const { xAxisField: e, numericFields: t, aggregationType: r, config: i, layerInfo: a, commonStrings: n } = s, { layerFieldsInfo: o } = a, l =
|
|
816
|
+
const { xAxisField: e, numericFields: t, aggregationType: r, config: i, layerInfo: a, commonStrings: n } = s, { layerFieldsInfo: o } = a, l = j(a.layer).idField, c = [];
|
|
817
817
|
for (let d = 0; d < t.length; d += 1) {
|
|
818
818
|
const y = ae({
|
|
819
819
|
config: i,
|
|
@@ -1015,7 +1015,7 @@ const Ni = (s) => {
|
|
|
1015
1015
|
aggregationType: i,
|
|
1016
1016
|
commonStrings: o,
|
|
1017
1017
|
splitByFieldInfos: l
|
|
1018
|
-
})), h && e !==
|
|
1018
|
+
})), h && e !== U && a.series[0].type !== T.HeatSeries) {
|
|
1019
1019
|
const x = R(c, e);
|
|
1020
1020
|
$(a, 0, x);
|
|
1021
1021
|
}
|
|
@@ -1048,7 +1048,7 @@ const Ni = (s) => {
|
|
|
1048
1048
|
o = i.axisLabels.values;
|
|
1049
1049
|
else if (Ye(n)) {
|
|
1050
1050
|
const c = a.query?.outStatistics?.[0]?.onStatisticField;
|
|
1051
|
-
c !== void 0 && c !==
|
|
1051
|
+
c !== void 0 && c !== j(r.layer).idField && (o = R(r.layerFieldsInfo, c));
|
|
1052
1052
|
} else {
|
|
1053
1053
|
const c = String(qe(a)).trim().replace(/'/gu, "");
|
|
1054
1054
|
o = Ne({
|
|
@@ -1072,7 +1072,7 @@ const Ni = (s) => {
|
|
|
1072
1072
|
}, ki = async (s) => {
|
|
1073
1073
|
const { config: e, layerInfo: t, errorStrings: r } = s, i = P(e), a = De(e)?.type, n = Z(e), o = ee(e.series);
|
|
1074
1074
|
let l = [];
|
|
1075
|
-
return a === T.CategoryAxisFormat && (o === w.BarAndLineFromFields || i ===
|
|
1075
|
+
return a === T.CategoryAxisFormat && (o === w.BarAndLineFromFields || i === U ? l = n.map((c) => R(t?.layerFieldsInfo, c)) : i.trim() !== "" && i !== U && t !== void 0 && (l = await He({
|
|
1076
1076
|
layerInfo: t,
|
|
1077
1077
|
config: e,
|
|
1078
1078
|
category: i,
|
|
@@ -1094,7 +1094,7 @@ function $e(s, e, t) {
|
|
|
1094
1094
|
return r === i || a;
|
|
1095
1095
|
}
|
|
1096
1096
|
function ds(s) {
|
|
1097
|
-
const { config: e, layerInfo: t, commonStrings: r } = s, i = R(t.layerFieldsInfo, P(e)), a = ie(0, e), n = se(e), o = P(e) ===
|
|
1097
|
+
const { config: e, layerInfo: t, commonStrings: r } = s, i = R(t.layerFieldsInfo, P(e)), a = ie(0, e), n = se(e), o = P(e) === U && (a === "" || a === r.xAxis);
|
|
1098
1098
|
return i === a || n || o;
|
|
1099
1099
|
}
|
|
1100
1100
|
function Ri(s) {
|
|
@@ -1143,8 +1143,8 @@ export {
|
|
|
1143
1143
|
Ms as a,
|
|
1144
1144
|
ti as a0,
|
|
1145
1145
|
ei as a1,
|
|
1146
|
-
|
|
1147
|
-
|
|
1146
|
+
js as a2,
|
|
1147
|
+
Us as a3,
|
|
1148
1148
|
Zs as a4,
|
|
1149
1149
|
Ks as a5,
|
|
1150
1150
|
ai as a6,
|
|
@@ -1181,7 +1181,7 @@ export {
|
|
|
1181
1181
|
Rs as o,
|
|
1182
1182
|
Ys as p,
|
|
1183
1183
|
Os as q,
|
|
1184
|
-
|
|
1184
|
+
Ut as r,
|
|
1185
1185
|
ke as s,
|
|
1186
1186
|
qs as t,
|
|
1187
1187
|
Es as u,
|
|
@@ -1,45 +1,46 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as s } from "./model-types.js";
|
|
3
3
|
import { u as e } from "./chart-object-literals.js";
|
|
4
|
-
function
|
|
5
|
-
return i !== void 0 && "config" in i
|
|
4
|
+
function t(i) {
|
|
5
|
+
return i !== void 0 && "config" in i && // this `satisfies` ensures TypeScript checks that "config" is a key of ChartModel
|
|
6
|
+
"update" in i;
|
|
6
7
|
}
|
|
7
|
-
function
|
|
8
|
-
return i?.chartType === e.BarSeries;
|
|
8
|
+
function a(i) {
|
|
9
|
+
return t(i) && i?.chartType === e.BarSeries;
|
|
9
10
|
}
|
|
10
11
|
function f(i) {
|
|
11
|
-
return i?.chartType === e.LineSeries;
|
|
12
|
+
return t(i) && i?.chartType === e.LineSeries;
|
|
12
13
|
}
|
|
13
14
|
function h(i) {
|
|
14
|
-
return i?.chartType === e.RadarSeries;
|
|
15
|
+
return t(i) && i?.chartType === e.RadarSeries;
|
|
15
16
|
}
|
|
16
17
|
function o(i) {
|
|
17
|
-
return i?.chartType === e.ComboLineAndBarSeries;
|
|
18
|
-
}
|
|
19
|
-
function l(i) {
|
|
20
|
-
const t = i?.chartType;
|
|
21
|
-
return t === e.LineSeries || t === e.BarSeries || t === e.ComboLineAndBarSeries || t === e.RadarSeries;
|
|
22
|
-
}
|
|
23
|
-
function a(i) {
|
|
24
|
-
return i?.chartType === e.PieSeries;
|
|
18
|
+
return t(i) && i?.chartType === e.ComboLineAndBarSeries;
|
|
25
19
|
}
|
|
26
20
|
function p(i) {
|
|
27
|
-
|
|
21
|
+
const r = t(i) ? i?.chartType : void 0;
|
|
22
|
+
return r === e.LineSeries || r === e.BarSeries || r === e.ComboLineAndBarSeries || r === e.RadarSeries;
|
|
23
|
+
}
|
|
24
|
+
function u(i) {
|
|
25
|
+
return t(i) && i?.chartType === e.PieSeries;
|
|
28
26
|
}
|
|
29
27
|
function y(i) {
|
|
30
|
-
return i?.chartType === e.
|
|
28
|
+
return t(i) && i?.chartType === e.BoxPlotSeries;
|
|
31
29
|
}
|
|
32
30
|
function M(i) {
|
|
33
|
-
return i?.chartType === e.
|
|
31
|
+
return t(i) && i?.chartType === e.ScatterSeries;
|
|
34
32
|
}
|
|
35
33
|
function S(i) {
|
|
36
|
-
return i?.chartType === e.
|
|
34
|
+
return t(i) && i?.chartType === e.HistogramSeries;
|
|
37
35
|
}
|
|
38
36
|
function T(i) {
|
|
39
|
-
return i?.chartType === e.
|
|
37
|
+
return t(i) && i?.chartType === e.HeatSeries;
|
|
38
|
+
}
|
|
39
|
+
function l(i) {
|
|
40
|
+
return t(i) && i?.chartType === e.GaugeSeries;
|
|
40
41
|
}
|
|
41
42
|
function g(i) {
|
|
42
|
-
const
|
|
43
|
+
const r = [
|
|
43
44
|
e.BarSeries,
|
|
44
45
|
e.BoxPlotSeries,
|
|
45
46
|
e.HistogramSeries,
|
|
@@ -48,7 +49,7 @@ function g(i) {
|
|
|
48
49
|
e.ComboLineAndBarSeries,
|
|
49
50
|
e.HeatSeries
|
|
50
51
|
];
|
|
51
|
-
return i
|
|
52
|
+
return t(i) && r.includes(i.chartType) && "getAxisTitleText" in i && typeof i.getAxisTitleText == "function";
|
|
52
53
|
}
|
|
53
54
|
function C(i) {
|
|
54
55
|
return i !== void 0 && "setSeriesMarkerColor" in i;
|
|
@@ -69,31 +70,31 @@ function G(i) {
|
|
|
69
70
|
return i !== void 0 && "legendVisibility" in i;
|
|
70
71
|
}
|
|
71
72
|
function L(i) {
|
|
72
|
-
return
|
|
73
|
+
return u(i);
|
|
73
74
|
}
|
|
74
75
|
function W(i) {
|
|
75
76
|
return i !== void 0 && "temporalBinningSize" in i;
|
|
76
77
|
}
|
|
77
78
|
function b(i) {
|
|
78
|
-
return
|
|
79
|
+
return a(i) || o(i);
|
|
79
80
|
}
|
|
80
|
-
function H(i,
|
|
81
|
-
const
|
|
82
|
-
return i !== void 0 &&
|
|
81
|
+
function H(i, r) {
|
|
82
|
+
const n = s(i?.chartType);
|
|
83
|
+
return i !== void 0 && n === r;
|
|
83
84
|
}
|
|
84
85
|
function P(i) {
|
|
85
86
|
return i !== void 0 && "nullCategory" in i;
|
|
86
87
|
}
|
|
87
88
|
export {
|
|
88
|
-
|
|
89
|
-
|
|
89
|
+
y as a,
|
|
90
|
+
t as b,
|
|
90
91
|
o as c,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
l as d,
|
|
93
|
+
T as e,
|
|
94
|
+
S as f,
|
|
94
95
|
f as g,
|
|
95
96
|
H as h,
|
|
96
|
-
|
|
97
|
+
a as i,
|
|
97
98
|
B as j,
|
|
98
99
|
G as k,
|
|
99
100
|
C as l,
|
|
@@ -105,8 +106,8 @@ export {
|
|
|
105
106
|
v as r,
|
|
106
107
|
A as s,
|
|
107
108
|
L as t,
|
|
108
|
-
|
|
109
|
+
u,
|
|
109
110
|
h as v,
|
|
110
|
-
|
|
111
|
-
|
|
111
|
+
M as w,
|
|
112
|
+
p as x
|
|
112
113
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { isEqual as ue, capitalize as B, isNumber as W, zip as ae } from "lodash-es";
|
|
3
3
|
import { d as Y } from "./interfaces.js";
|
|
4
|
-
import { g as ce, a as
|
|
4
|
+
import { g as ce, a as H, 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
|
-
import {
|
|
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 _, a as pe } from "./data.js";
|
|
10
|
-
import { Y as U, ap as be, af as xe, aM as E, cM as Fe, B as V, a6 as De, bj as Se,
|
|
11
|
-
import { k as
|
|
10
|
+
import { Y as U, ap as be, af as xe, aM as E, cM as Fe, B as V, a6 as De, bj as Se, dz as Be } from "./index2.js";
|
|
11
|
+
import { k as z, az as $, g as R, as as ve, b as he, a as Q } from "./index.js";
|
|
12
12
|
import { q as K, C as g, F as A } from "./index3.js";
|
|
13
13
|
import { g as Pe } from "./series-types.js";
|
|
14
14
|
import { V as Ve } from "./index5.js";
|
|
@@ -293,7 +293,7 @@ function Te(l) {
|
|
|
293
293
|
fieldList: o
|
|
294
294
|
});
|
|
295
295
|
return t.map((p) => {
|
|
296
|
-
const v = p[
|
|
296
|
+
const v = p[z.xField], b = p[z.yField], x = p[z.valueField], D = typeof x == "number" && Number.isFinite(x) ? x.toFixed(2) : x;
|
|
297
297
|
let m = { label: n.x, value: v }, d = { label: n.y, value: b };
|
|
298
298
|
if (n.xTemporalBinning !== void 0) {
|
|
299
299
|
const { label: F, value: S } = G({
|
|
@@ -558,7 +558,7 @@ function j(l) {
|
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
560
|
function T(l) {
|
|
561
|
-
const { rawData: e, outRow: t, config: a, boxPlotSubType: o, layer: i, fieldList: r, timeZone: n } = l, s =
|
|
561
|
+
const { rawData: e, outRow: t, config: a, boxPlotSubType: o, layer: i, fieldList: r, timeZone: n } = l, s = H(a), c = oe(a), f = q(a);
|
|
562
562
|
let u = V.Outlier;
|
|
563
563
|
const p = R;
|
|
564
564
|
switch (o) {
|
|
@@ -612,7 +612,7 @@ function T(l) {
|
|
|
612
612
|
b !== void 0 && (t[`${B(V.Outlier)} Z-Score`] = b);
|
|
613
613
|
}
|
|
614
614
|
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}_${V.Average}`], f =
|
|
615
|
+
const { rawData: e, outRow: t, config: a, splitByValue: o, layer: i, fieldList: r, timeZone: n } = l, s = U(a.series), c = e[`${o}_${V.Average}`], f = q(a), u = H(a);
|
|
616
616
|
let p = "";
|
|
617
617
|
switch (s) {
|
|
618
618
|
case g.BoxPlotMonoFieldAndSplitBy: {
|
|
@@ -655,7 +655,7 @@ function Ze(l) {
|
|
|
655
655
|
let c = s;
|
|
656
656
|
const f = ce(e), u = Array.isArray(t) && t.length > 0 && t.every((m) => m[A.boxPlot.boxPlotMeanLineMarkerId] !== void 0);
|
|
657
657
|
f && !u && (s === g.BoxPlotMonoFieldAndSplitBy ? c = g.BoxPlotMonoField : s === g.BoxPlotMultiFieldsAndSplitBy ? c = g.BoxPlotMultiFields : s === g.BoxPlotMonoFieldAndCategoryAndSplitBy && (c = g.BoxPlotMonoFieldAndCategory));
|
|
658
|
-
const p =
|
|
658
|
+
const p = H(e), v = oe(e), b = ie(e), x = q(e);
|
|
659
659
|
let D;
|
|
660
660
|
switch (c) {
|
|
661
661
|
case g.BoxPlotMonoField:
|
|
@@ -1837,6 +1837,17 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1837
1837
|
* **Note**: Only applicable to charts with y-axis labels displayed.
|
|
1838
1838
|
*/
|
|
1839
1839
|
accessor yAxisLabelFormatter: AxisLabelFormatCallback | undefined;
|
|
1840
|
+
/**
|
|
1841
|
+
* When `true`, count=0 is considered a valid statistic.
|
|
1842
|
+
*
|
|
1843
|
+
* By default, when the aggregation type is "count" and the data contains only values equal to 0, the chart dataset
|
|
1844
|
+
* is considered empty:
|
|
1845
|
+
* - The [@arcgisBadDataWarningRaise](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisBadDataWarningRaise) event will be sent.
|
|
1846
|
+
* - The "No data available to display" warning message will be displayed in the chart container.
|
|
1847
|
+
*
|
|
1848
|
+
* @default false
|
|
1849
|
+
*/
|
|
1850
|
+
accessor zeroCountAsValid: boolean;
|
|
1840
1851
|
/**
|
|
1841
1852
|
* Apply the selection from the selection manager to the chart.
|
|
1842
1853
|
*
|