@arcgis/charts-components 5.0.0-next.162 → 5.0.0-next.164
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/{TQRAYSWN.js → 2ZSCSQKE.js} +1 -1
- package/dist/cdn/{SW6ENGEK.js → 3ETPKJLH.js} +1 -1
- package/dist/cdn/3FJBR2FR.js +2 -0
- package/dist/cdn/3HSM4YOY.js +4 -0
- package/dist/cdn/{EYXP4YQW.js → 3IU5PLYH.js} +1 -1
- package/dist/cdn/{VMSL4CWI.js → 43YS2I72.js} +1 -1
- package/dist/cdn/45NODT2J.js +2 -0
- package/dist/cdn/{62OZB7FK.js → 4CICGGRX.js} +1 -1
- package/dist/cdn/{37TWMIC2.js → 4R2UOKDR.js} +1 -1
- package/dist/cdn/{UHB77RAE.js → 4TFNYB6N.js} +1 -1
- package/dist/cdn/{BYAYB5LF.js → 4WOGY3WA.js} +1 -1
- package/dist/cdn/{CTDG3FOZ.js → 4Z3XHMLM.js} +1 -1
- package/dist/cdn/{TUTT6I7D.js → 55KRKYFS.js} +1 -1
- package/dist/cdn/567U5TC6.js +2 -0
- package/dist/cdn/{7WZV7AE3.js → 5FIT7FHW.js} +1 -1
- package/dist/cdn/{PQRPDV2N.js → 5MM7SODQ.js} +1 -1
- package/dist/cdn/{7XUX4ZTI.js → 5R6MQSUY.js} +1 -1
- package/dist/cdn/{B5LXWQRU.js → 62V455IN.js} +1 -1
- package/dist/cdn/{UUZWRA5G.js → 6ERZOPDO.js} +1 -1
- package/dist/cdn/{DB3UL5LX.js → 735B4X34.js} +1 -1
- package/dist/cdn/{4L3ESTCL.js → 7SZ3MTAV.js} +1 -1
- package/dist/cdn/{XQAUA2KI.js → A6NRPBTW.js} +1 -1
- package/dist/cdn/{KLOSKKEF.js → A7BXN5EL.js} +1 -1
- package/dist/cdn/{OMR6RCJW.js → AAHVSFKB.js} +1 -1
- package/dist/cdn/AGJFBRLT.js +2 -0
- package/dist/cdn/{HAAT4GZV.js → AI3L7T2E.js} +1 -1
- package/dist/cdn/{RKJFJ3VI.js → AJHQESHE.js} +1 -1
- package/dist/cdn/{JBHDZEVD.js → ATTQBQ5G.js} +1 -1
- package/dist/cdn/{P3XTRZL3.js → B2MBGCT2.js} +1 -1
- package/dist/cdn/{KOC7VWEQ.js → BELVV3ZC.js} +1 -1
- package/dist/cdn/{MMVZJQGM.js → CDCU3GES.js} +1 -1
- package/dist/cdn/{MSNUKDFY.js → CJFTBI6B.js} +1 -1
- package/dist/cdn/{TBYLHPGX.js → CNCVZK7E.js} +1 -1
- package/dist/cdn/{TCKDCNZ6.js → COJU472P.js} +1 -1
- package/dist/cdn/CQUCOSCR.js +2 -0
- package/dist/cdn/{277KZ5EH.js → DUDOTKJA.js} +1 -1
- package/dist/cdn/{JASXULGK.js → E4D75GTQ.js} +1 -1
- package/dist/cdn/{7KAPOFBN.js → F2HVMZZK.js} +1 -1
- package/dist/cdn/{SW62HLGO.js → FU2EQLXU.js} +1 -1
- package/dist/cdn/{64DXX3FX.js → G7VC2XBZ.js} +1 -1
- package/dist/cdn/{GKUTVRCP.js → GS3GRA2H.js} +1 -1
- package/dist/cdn/GSVN46KN.js +2 -0
- package/dist/cdn/{DACWGPLL.js → GTHSVE2K.js} +1 -1
- package/dist/cdn/{WCBXBXTZ.js → GTSIEQM5.js} +1 -1
- package/dist/cdn/{KF4ILYWV.js → HHJIYADP.js} +1 -1
- package/dist/cdn/{GB223HFN.js → HZDRSBX2.js} +1 -1
- package/dist/cdn/{D2HQHUZF.js → I457NPW3.js} +1 -1
- package/dist/cdn/{IDMPL6T7.js → IP4VBE6Z.js} +1 -1
- package/dist/cdn/{WTZ23CRY.js → IYXHOL5D.js} +1 -1
- package/dist/cdn/{SZ2BB7ZG.js → J5JH47IU.js} +1 -1
- package/dist/cdn/{7HDTPUIY.js → K3LNGUQX.js} +1 -1
- package/dist/cdn/{6AP262U4.js → K4YRNWYA.js} +1 -1
- package/dist/cdn/{YHIJMVJQ.js → KKYRF4QI.js} +1 -1
- package/dist/cdn/{GRUDYKUK.js → KQHMG4PC.js} +1 -1
- package/dist/cdn/{S3MAP4NY.js → L6HK4PG5.js} +1 -1
- package/dist/cdn/{IBMHE4HG.js → LHJS2B4G.js} +1 -1
- package/dist/cdn/{KHPBPGZW.js → LN5HOZFK.js} +1 -1
- package/dist/cdn/{CBTHS6I5.js → M4XXCCFI.js} +1 -1
- package/dist/cdn/{Y7OQUVXC.js → M5OKIJH6.js} +1 -1
- package/dist/cdn/{IL22JCIC.js → M6KGYVL2.js} +1 -1
- package/dist/cdn/{PUO6TAT3.js → N673HFEJ.js} +1 -1
- package/dist/cdn/{DLT5ZL25.js → NYBZPU4F.js} +1 -1
- package/dist/cdn/{PZ5VL76M.js → OI76MVPM.js} +1 -1
- package/dist/cdn/{G7UITT5F.js → OJXN4Y6A.js} +1 -1
- package/dist/cdn/{OWTDESPZ.js → OQZBAWVC.js} +1 -1
- package/dist/cdn/{35FGLAKV.js → P4ZZY7IW.js} +1 -1
- package/dist/cdn/{7LRO7RMI.js → PFRK5465.js} +11 -5
- package/dist/cdn/{NNTJCO7Q.js → PO4LLHQE.js} +1 -1
- package/dist/cdn/{53QDB3IL.js → QJGDTSOH.js} +1 -1
- package/dist/cdn/{IYGUWGB6.js → QNI5OMGX.js} +1 -1
- package/dist/cdn/RICBVTMN.js +2 -0
- package/dist/cdn/{YHVWLHT7.js → ROH4QPZI.js} +1 -1
- package/dist/cdn/{R7TVVBB7.js → TLIZYLM2.js} +1 -1
- package/dist/cdn/{NLNJYC2E.js → TZEMRMGW.js} +1 -1
- package/dist/cdn/{IBDFXE7F.js → UZWDIHM7.js} +1 -1
- package/dist/cdn/{ISB65KPT.js → VBHRSNOL.js} +1 -1
- package/dist/cdn/{7HCS3J2W.js → VMTV5CBU.js} +1 -1
- package/dist/cdn/{CAXYDF5R.js → WEMAQZCY.js} +1 -1
- package/dist/cdn/{DHBBU7AG.js → WN37QN4E.js} +1 -1
- package/dist/cdn/{KDGGKNBV.js → XJ7KF4OJ.js} +1 -1
- package/dist/cdn/{3TCYZ5OB.js → XLJBOHXR.js} +10 -10
- package/dist/cdn/{OR2MF4BU.js → XQ4KCPRX.js} +1 -1
- package/dist/cdn/{FGMU7G6T.js → YHGIRUKH.js} +1 -1
- package/dist/cdn/YLV6SOAM.js +2 -0
- package/dist/cdn/{C72B5RSG.js → YVYDVSXP.js} +1 -1
- package/dist/cdn/{WORQWDJQ.js → Z5O5KIH5.js} +1 -1
- package/dist/cdn/{SAKNSC4M.js → ZOPR2Y4S.js} +1 -1
- package/dist/cdn/{XIFLK5EG.js → ZWD6ENTH.js} +1 -1
- package/dist/cdn/assets/common/t9n/messages.fr.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +65 -73
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-lines-symbol.js +20 -20
- package/dist/chunks/bar-chart-model.js +8 -8
- package/dist/chunks/box-plot-data.js +60 -60
- package/dist/chunks/box-plot-model.js +20 -20
- package/dist/chunks/chart-model.js +37 -37
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +120 -122
- package/dist/chunks/combo-bar-line-chart-model.js +4 -4
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data.js +11 -11
- package/dist/chunks/gauge-model.js +17 -17
- package/dist/chunks/generate-x-axis-title.js +4 -4
- package/dist/chunks/heat-chart-model.js +32 -20
- package/dist/chunks/histogram-data.js +7 -7
- package/dist/chunks/histogram-model.js +8 -8
- package/dist/chunks/index.js +336 -360
- package/dist/chunks/index2.js +49 -49
- package/dist/chunks/index3.js +3 -3
- package/dist/chunks/line-chart-model.js +6 -6
- package/dist/chunks/model-setter.js +3 -3
- package/dist/chunks/model-with-guides.js +15 -15
- package/dist/chunks/model-with-tooltips.js +8 -8
- package/dist/chunks/model-with-y-guides.js +12 -12
- package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
- package/dist/chunks/pie-chart-data.js +26 -26
- package/dist/chunks/pie-chart-model.js +22 -22
- package/dist/chunks/radar-chart-model.js +7 -7
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/scatterplot-model.js +15 -15
- package/dist/chunks/serial-chart-data.js +162 -165
- package/dist/chunks/serial-chart-model.js +17 -17
- package/dist/chunks/series-length.js +1 -1
- package/dist/chunks/series.js +3 -3
- package/dist/chunks/utils.js +43 -43
- package/dist/chunks/utils2.js +5 -5
- package/dist/chunks/web-component-utils.js +175 -169
- package/dist/components/arcgis-chart/customElement.d.ts +4 -4
- package/dist/components/arcgis-chart/customElement.js +864 -847
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +42 -39
- package/dist/components/arcgis-charts-config-guide/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +18 -18
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-info-modal/customElement.js +1 -1
- 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 +154 -153
- package/dist/interfaces.d.ts +6 -5
- package/dist/json-schema/index.d.ts +12 -20
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +9 -1
- package/dist/spec/data-source.d.ts +26 -18
- package/dist/spec/events.d.ts +2 -5
- package/dist/spec/rest-js-types.d.ts +27 -9
- package/dist/utils/chart-config/converter/index.d.ts +7 -7
- package/dist/utils/chart-config/validator/index.d.ts +6 -4
- package/dist/utils/components/event-payloads.d.ts +3 -3
- package/dist/utils/data/index.d.ts +10 -1
- package/dist/utils/errors/index.d.ts +5 -5
- package/dist/utils/layer/index.d.ts +2 -2
- package/dist/utils/layer/inline-conversion/index.d.ts +7 -8
- package/dist/utils/layer/interfaces.d.ts +3 -3
- package/dist/utils/layer/query-features/interfaces.d.ts +1 -1
- package/dist/utils/layer/query-parser/index.d.ts +1 -1
- package/dist/utils/layer/utils/index.d.ts +11 -5
- package/dist/utils/localization/index.d.ts +1 -1
- package/dist/utils/misc/index.d.ts +3 -3
- package/dist/utils/misc/interfaces.d.ts +7 -6
- package/dist/utils/types/index.d.ts +17 -17
- package/package.json +3 -3
- package/dist/cdn/3UBEHDWK.js +0 -2
- package/dist/cdn/CIW6WMFK.js +0 -4
- package/dist/cdn/DKC6E3QZ.js +0 -2
- package/dist/cdn/HTKSTR36.js +0 -2
- package/dist/cdn/KPBKHH3V.js +0 -2
- package/dist/cdn/LRATJMH3.js +0 -2
- package/dist/cdn/V65HT7NA.js +0 -2
- package/dist/cdn/WNZXN6Y2.js +0 -2
- package/dist/cdn/XNTLXVQF.js +0 -2
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { m as e } from "./model-setter.js";
|
|
3
3
|
import { H as o } from "./common.js";
|
|
4
4
|
import { S as u, g as _, a as C } from "./serial-chart-model.js";
|
|
5
|
-
import { a as S, b as T, s as A, c as O, d as F, e as
|
|
6
|
-
import { s as
|
|
5
|
+
import { a as S, b as T, s as A, c as O, d as F, e as L, f as x, h as D, i as b, j as v, k as w, l as B, m as P, n as E, o as R, p as k, q as W, r as I, t as G, u as H, v as N, w as M, x as Y, y as U, z as V, A as m, B as d, C as X, D as j, E as K, F as q, G as z, H as J, I as y, J as Q, K as Z, L as $, M as tt, N as et, O as it, P as st, Q as rt } from "./serial-chart-data.js";
|
|
6
|
+
import { s as c } from "./data.js";
|
|
7
7
|
import { W as ot, a as h } from "./series-types.js";
|
|
8
|
-
import {
|
|
8
|
+
import { bM as f, d2 as nt, bm as at } from "./index.js";
|
|
9
9
|
import "@arcgis/toolkit/intl";
|
|
10
10
|
import "lodash-es";
|
|
11
11
|
import "luxon";
|
|
@@ -83,10 +83,10 @@ class s extends u {
|
|
|
83
83
|
* The x temporal binning used by the heat chart
|
|
84
84
|
*/
|
|
85
85
|
get xTemporalBinning() {
|
|
86
|
-
return
|
|
86
|
+
return L(this._config);
|
|
87
87
|
}
|
|
88
88
|
set xTemporalBinning(t) {
|
|
89
|
-
|
|
89
|
+
x({
|
|
90
90
|
commonStrings: this.commonStrings,
|
|
91
91
|
binning: t,
|
|
92
92
|
config: this._config
|
|
@@ -96,10 +96,10 @@ class s extends u {
|
|
|
96
96
|
* The y temporal binning used by the heat chart
|
|
97
97
|
*/
|
|
98
98
|
get yTemporalBinning() {
|
|
99
|
-
return
|
|
99
|
+
return D(this._config);
|
|
100
100
|
}
|
|
101
101
|
set yTemporalBinning(t) {
|
|
102
|
-
|
|
102
|
+
b({
|
|
103
103
|
commonStrings: this.commonStrings,
|
|
104
104
|
binning: t,
|
|
105
105
|
config: this._config
|
|
@@ -110,11 +110,11 @@ class s extends u {
|
|
|
110
110
|
* @default 5
|
|
111
111
|
* */
|
|
112
112
|
get breaksCount() {
|
|
113
|
-
return
|
|
113
|
+
return v(this._config);
|
|
114
114
|
}
|
|
115
115
|
set breaksCount(t) {
|
|
116
116
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
117
|
-
|
|
117
|
+
w(t, this._config), this.emitConfigUpdate("breaksCount");
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
120
|
/**
|
|
@@ -153,7 +153,7 @@ class s extends u {
|
|
|
153
153
|
return I(this._config);
|
|
154
154
|
}
|
|
155
155
|
set gridLineColor(t) {
|
|
156
|
-
|
|
156
|
+
G(t, this._config);
|
|
157
157
|
}
|
|
158
158
|
/**
|
|
159
159
|
* The name of the series that is used by the heat chart
|
|
@@ -168,10 +168,10 @@ class s extends u {
|
|
|
168
168
|
* The heat rules type used by the heat chart
|
|
169
169
|
*/
|
|
170
170
|
get heatRulesType() {
|
|
171
|
-
return
|
|
171
|
+
return H(this._config);
|
|
172
172
|
}
|
|
173
173
|
set heatRulesType(t) {
|
|
174
|
-
|
|
174
|
+
N(this._config, t);
|
|
175
175
|
}
|
|
176
176
|
/**
|
|
177
177
|
* Set the gradient rules for the heat chart, which define how data values map to colors.
|
|
@@ -193,10 +193,19 @@ class s extends u {
|
|
|
193
193
|
* ```
|
|
194
194
|
*/
|
|
195
195
|
get gradientRules() {
|
|
196
|
-
return
|
|
196
|
+
return M(this._config);
|
|
197
197
|
}
|
|
198
198
|
set gradientRules(t) {
|
|
199
|
-
|
|
199
|
+
Y(this._config, t);
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* Gets the grid lines symbol. Contains styling information such as line width, line style, and line color.
|
|
203
|
+
*/
|
|
204
|
+
getGridLinesSymbol() {
|
|
205
|
+
return this._config.series?.[0]?.gridLine;
|
|
206
|
+
}
|
|
207
|
+
setGridLinesSymbol(t) {
|
|
208
|
+
this._config.series?.[0] && (this._config.series[0].gridLine = t);
|
|
200
209
|
}
|
|
201
210
|
/**
|
|
202
211
|
* The numeric fields used by the heat chart. Only the first field in the array will be used.
|
|
@@ -210,7 +219,7 @@ class s extends u {
|
|
|
210
219
|
const { idField: r } = f(this.layerInfo.layer), a = nt(t[0]), n = a ? r : t[0];
|
|
211
220
|
V(n, this._config);
|
|
212
221
|
const g = m(this._config);
|
|
213
|
-
a && g !== h.Count &&
|
|
222
|
+
a && g !== h.Count && d(h.Count, this._config);
|
|
214
223
|
}
|
|
215
224
|
/**
|
|
216
225
|
* The aggregation type for the heat chart. Must be one of the values allowed by WebChartStatisticType.
|
|
@@ -219,7 +228,7 @@ class s extends u {
|
|
|
219
228
|
return m(this._config);
|
|
220
229
|
}
|
|
221
230
|
set aggregationType(t) {
|
|
222
|
-
|
|
231
|
+
d(t, this._config);
|
|
223
232
|
}
|
|
224
233
|
/**
|
|
225
234
|
* Split-by field is not used by heat chart
|
|
@@ -262,22 +271,22 @@ class s extends u {
|
|
|
262
271
|
* @returns {"Asc" | "Desc" | "customSort"}
|
|
263
272
|
*/
|
|
264
273
|
getXAxisSortOrder() {
|
|
265
|
-
const t =
|
|
274
|
+
const t = y(this._config)[0];
|
|
266
275
|
return t === o.Asc || t === o.Desc || t === o.customSort ? t : o.Asc;
|
|
267
276
|
}
|
|
268
277
|
setXAxisSortOrder(t, r) {
|
|
269
|
-
|
|
278
|
+
c(t, this._config, r);
|
|
270
279
|
}
|
|
271
280
|
/**
|
|
272
281
|
* Gets the sort order for on the y axis for heat chart.
|
|
273
282
|
* @returns {"Asc" | "Desc" | "customSort"}
|
|
274
283
|
*/
|
|
275
284
|
getYAxisSortOrder() {
|
|
276
|
-
const t =
|
|
285
|
+
const t = y(this._config)[1];
|
|
277
286
|
return t === o.Asc || t === o.Desc || t === o.customSort ? t : o.Asc;
|
|
278
287
|
}
|
|
279
288
|
setYAxisSortOrder(t, r) {
|
|
280
|
-
|
|
289
|
+
c(t, this._config, r, !0);
|
|
281
290
|
}
|
|
282
291
|
get emptyCellText() {
|
|
283
292
|
return Q(this._config);
|
|
@@ -375,6 +384,9 @@ i([
|
|
|
375
384
|
i([
|
|
376
385
|
e
|
|
377
386
|
], s.prototype, "gradientRules");
|
|
387
|
+
i([
|
|
388
|
+
e
|
|
389
|
+
], s.prototype, "setGridLinesSymbol");
|
|
378
390
|
i([
|
|
379
391
|
e
|
|
380
392
|
], s.prototype, "numericFields");
|
|
@@ -6,7 +6,7 @@ import "@arcgis/toolkit/intl";
|
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "luxon";
|
|
8
8
|
import "d3-array";
|
|
9
|
-
import {
|
|
9
|
+
import { bp as i, aL as n, c_ as y, _ as M, bn as m, aT as r } from "./index.js";
|
|
10
10
|
import "@arcgis/core/Graphic.js";
|
|
11
11
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
12
12
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -34,12 +34,12 @@ function u(s, e, a) {
|
|
|
34
34
|
return O(a.titleLabels.distributionOfField, { valueField: o });
|
|
35
35
|
}
|
|
36
36
|
const p = (s) => s.series[0]?.x ?? "", ts = (s) => {
|
|
37
|
-
const { numericField: e, config: a, layerInfo: t, commonStrings: o } = s, { layerFieldsInfo: d } = t, c = u(a, t, o),
|
|
38
|
-
if (v(a), a?.series?.[0] && (a.series[0].x = e), x ===
|
|
37
|
+
const { numericField: e, config: a, layerInfo: t, commonStrings: o } = s, { layerFieldsInfo: d } = t, c = u(a, t, o), D = A(a), S = h(0, a), x = y(d, p(a)), b = M(a);
|
|
38
|
+
if (v(a), a?.series?.[0] && (a.series[0].x = e), x === S || b) {
|
|
39
39
|
const f = y(d, e);
|
|
40
40
|
C(a, 0, f);
|
|
41
41
|
}
|
|
42
|
-
a.title && (c ===
|
|
42
|
+
a.title && (c === D || b) && (a.title.content.text = u(a, t, o));
|
|
43
43
|
}, is = (s) => s.series[0]?.dataTransformationType ?? T.None, os = (s, e) => {
|
|
44
44
|
v(e), e?.series?.[0] && (e.series[0].dataTransformationType = s);
|
|
45
45
|
}, ls = (s) => s.series[0]?.binCount ?? 32, ns = (s, e) => {
|
|
@@ -72,7 +72,7 @@ const p = (s) => s.series[0]?.x ?? "", ts = (s) => {
|
|
|
72
72
|
}, ps = (s) => (s.series[0]?.overlays?.comparisonDistribution?.created ?? !1) && (s.series[0]?.overlays?.comparisonDistribution?.visible ?? !1), cs = (s, e) => {
|
|
73
73
|
const a = r(0);
|
|
74
74
|
a.created = s, a.visible = s, a.symbol = F(e), e?.series?.[0]?.overlays && (e.series[0].overlays.comparisonDistribution = a);
|
|
75
|
-
},
|
|
75
|
+
}, Ds = (s) => (s.series[0]?.overlays?.mean?.created ?? !1) && (s.series[0]?.overlays?.mean?.visible ?? !1), Ss = (s, e) => {
|
|
76
76
|
const a = r(1);
|
|
77
77
|
a.created = s, a.visible = s, a.symbol = I(e), e?.series?.[0]?.overlays && (e.series[0].overlays.mean = a);
|
|
78
78
|
}, xs = (s) => (s.series[0]?.overlays?.median?.created ?? !1) && (s.series[0]?.overlays?.median?.visible ?? !1), fs = (s, e) => {
|
|
@@ -103,9 +103,9 @@ export {
|
|
|
103
103
|
us as o,
|
|
104
104
|
ps as p,
|
|
105
105
|
cs as q,
|
|
106
|
-
|
|
106
|
+
Ds as r,
|
|
107
107
|
ts as s,
|
|
108
|
-
|
|
108
|
+
Ss as t,
|
|
109
109
|
xs as u,
|
|
110
110
|
fs as v,
|
|
111
111
|
Ts as w,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
2
|
import { a as m } from "./utils.js";
|
|
3
|
-
import { g as h, s as y, a as g, b as
|
|
3
|
+
import { g as h, s as y, a as g, b as f, c as p, d, e as c, f as S, h as b, i as v, j as u, k as _, l as D, m as M, n as O, o as w, p as C, q as W, r as T, t as x, u as A, v as N, w as L, x as E, y as F, z as X, A as B } from "./histogram-data.js";
|
|
4
4
|
import { C as P } from "./chart-model.js";
|
|
5
5
|
import { M as j, a as H, W as I, b as V } from "./model-with-tooltips.js";
|
|
6
|
-
import { W as
|
|
7
|
-
import { W as
|
|
6
|
+
import { W as q } from "./data-labels-symbol.js";
|
|
7
|
+
import { W as G, b as z } from "./model-with-guides.js";
|
|
8
8
|
import { W as Y, a as k, b as J } from "./axis-lines-symbol.js";
|
|
9
9
|
import { W as K, a as Q, b as R } from "./generate-x-axis-title.js";
|
|
10
10
|
import { m as s } from "./model-setter.js";
|
|
11
11
|
import { W as U } from "./series-types.js";
|
|
12
|
-
import {
|
|
12
|
+
import { bq as Z } from "./index.js";
|
|
13
13
|
import { M as $, a as tt } from "./model-with-y-guides.js";
|
|
14
14
|
var et = Object.defineProperty, st = Object.getOwnPropertyDescriptor, o = (i, t, r, at) => {
|
|
15
15
|
for (var a = st(t, r), n = i.length - 1, l; n >= 0; n--)
|
|
@@ -47,13 +47,13 @@ class e extends P {
|
|
|
47
47
|
return g(this._config);
|
|
48
48
|
}
|
|
49
49
|
set binCount(t) {
|
|
50
|
-
|
|
50
|
+
f(t, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
53
|
* Fill symbol used for the bins in the histogram.
|
|
54
54
|
*/
|
|
55
55
|
get binSymbol() {
|
|
56
|
-
return
|
|
56
|
+
return p(this._config);
|
|
57
57
|
}
|
|
58
58
|
set binSymbol(t) {
|
|
59
59
|
d(t, this._config);
|
|
@@ -210,10 +210,10 @@ const ot = [
|
|
|
210
210
|
H,
|
|
211
211
|
I,
|
|
212
212
|
V,
|
|
213
|
-
|
|
213
|
+
q,
|
|
214
214
|
tt,
|
|
215
215
|
K,
|
|
216
|
-
|
|
216
|
+
G,
|
|
217
217
|
Q,
|
|
218
218
|
z,
|
|
219
219
|
Y,
|