@arcgis/charts-components 5.2.0-next.147 → 5.2.0-next.149

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.
Files changed (106) hide show
  1. package/dist/cdn/{GZAROP4P.js → 257PEDYJ.js} +1 -1
  2. package/dist/cdn/{IPPQ6AYM.js → 25NUJ5YH.js} +1 -1
  3. package/dist/cdn/{QGC2DLQ4.js → 3E7JBKUK.js} +1 -1
  4. package/dist/cdn/{AKG64YBZ.js → 4I2I5IVQ.js} +1 -1
  5. package/dist/cdn/{3RI6PWDI.js → 4P7L6R6R.js} +1 -1
  6. package/dist/cdn/{4XK5YE6C.js → 4QXXXWA6.js} +1 -1
  7. package/dist/cdn/{ZGGFAHQL.js → 5FHRHVMR.js} +1 -1
  8. package/dist/cdn/{3BRUUROM.js → 5KS2PX57.js} +1 -1
  9. package/dist/cdn/{FIFXR6OH.js → 5TXHUDP4.js} +1 -1
  10. package/dist/cdn/{HDUMEWQL.js → 5U44JITQ.js} +1 -1
  11. package/dist/cdn/{TRTVGVQR.js → 6IOXNE24.js} +1 -1
  12. package/dist/cdn/{6JSWJHZB.js → 6IYV7IV4.js} +1 -1
  13. package/dist/cdn/{FM6AHBVU.js → 6OLJQWVE.js} +1 -1
  14. package/dist/cdn/{MVVC6PKQ.js → 72UQY733.js} +1 -1
  15. package/dist/cdn/{QFFPKVJF.js → 73GS7B7G.js} +1 -1
  16. package/dist/cdn/7Q7ES4BZ.js +2 -0
  17. package/dist/cdn/{Z73I4R5C.js → 7TMJU2RX.js} +1 -1
  18. package/dist/cdn/{INYPNEFZ.js → ACXDPMZD.js} +1 -1
  19. package/dist/cdn/{K5H4XE7T.js → AGKYRKW5.js} +1 -1
  20. package/dist/cdn/{QN2JEZ5D.js → AKOQC2SC.js} +1 -1
  21. package/dist/cdn/{KUGVL62E.js → B2LCOSXO.js} +1 -1
  22. package/dist/cdn/{46LRKKNP.js → BH2DGNXG.js} +1 -1
  23. package/dist/cdn/{GBL2FACR.js → BTDPI3AR.js} +1 -1
  24. package/dist/cdn/{AQOVEDUP.js → E2IXXH5R.js} +1 -1
  25. package/dist/cdn/{M7PFJOW7.js → F7VQ6K7S.js} +1 -1
  26. package/dist/cdn/{MVXG6N2M.js → FAFM7HRN.js} +1 -1
  27. package/dist/cdn/{HRZK3GLD.js → G63T5MU4.js} +1 -1
  28. package/dist/cdn/{7IJMKD5M.js → GHAC6H6F.js} +1 -1
  29. package/dist/cdn/{UUXIIGCK.js → GJUNAKKB.js} +1 -1
  30. package/dist/cdn/{YB4ZDSSI.js → GQ5T4JIV.js} +1 -1
  31. package/dist/cdn/H4HQBS46.js +4 -0
  32. package/dist/cdn/{TQS3LLJX.js → HL3H6U7M.js} +1 -1
  33. package/dist/cdn/IIYJJRMN.js +2 -0
  34. package/dist/cdn/{YIYP2ECR.js → IRYTXVTM.js} +1 -1
  35. package/dist/cdn/{65I7BUS4.js → ITTVEYZH.js} +1 -1
  36. package/dist/cdn/{N3YF4TVT.js → IVUICF2P.js} +1 -1
  37. package/dist/cdn/{E66QO3GL.js → JASVY2S5.js} +1 -1
  38. package/dist/cdn/{YUOEB6DF.js → JIANMLCP.js} +1 -1
  39. package/dist/cdn/{4VSBIIP2.js → JX7NTVFL.js} +1 -1
  40. package/dist/cdn/{JMYVXU4O.js → KJFL57RE.js} +1 -1
  41. package/dist/cdn/{MTAGYPDJ.js → LBMIXS7P.js} +1 -1
  42. package/dist/cdn/{EU5EYFH2.js → LJ3IPYWK.js} +1 -1
  43. package/dist/cdn/{VZ64E76N.js → M3EQKFST.js} +1 -1
  44. package/dist/cdn/{P5RPGI3P.js → MCY2C5IV.js} +1 -1
  45. package/dist/cdn/{4752WHSR.js → MMPVO6UX.js} +13 -13
  46. package/dist/cdn/{7DWJIEIJ.js → MOSYGTYS.js} +1 -1
  47. package/dist/cdn/{CZVLHPR7.js → MSFQI34M.js} +1 -1
  48. package/dist/cdn/{PNVMXN36.js → NDBNHEEZ.js} +1 -1
  49. package/dist/cdn/{BOGEJ7J7.js → NVPRRSLO.js} +1 -1
  50. package/dist/cdn/{C3XMGCU5.js → OKB4GB4J.js} +1 -1
  51. package/dist/cdn/{ZUYZHJTU.js → OPLY5TWI.js} +1 -1
  52. package/dist/cdn/{FGNSVA6W.js → PFAQRCVD.js} +1 -1
  53. package/dist/cdn/{IMSN4JMC.js → PFIVTH6Z.js} +1 -1
  54. package/dist/cdn/{S2PIPJCQ.js → QAN2SQN2.js} +1 -1
  55. package/dist/cdn/{7PW4JAXI.js → QBP5QHM5.js} +1 -1
  56. package/dist/cdn/{2GE65C6S.js → QGHGUVWE.js} +1 -1
  57. package/dist/cdn/{PU63PVCT.js → QJJRZHVE.js} +1 -1
  58. package/dist/cdn/{3JVIX4TL.js → QYMY2RNU.js} +1 -1
  59. package/dist/cdn/{JWGHSOOD.js → R2R6S5K6.js} +1 -1
  60. package/dist/cdn/{I2FZ2KUR.js → SDMBKMSY.js} +1 -1
  61. package/dist/cdn/{B3V4VZYM.js → SHG5B5EO.js} +1 -1
  62. package/dist/cdn/{OOFDTNBW.js → SKN5OMXV.js} +1 -1
  63. package/dist/cdn/{V32BIR37.js → SLH66QHH.js} +1 -1
  64. package/dist/cdn/{C2GHXSU5.js → TLCAHGNK.js} +1 -1
  65. package/dist/cdn/{5JERAZSG.js → TQW7WM4O.js} +1 -1
  66. package/dist/cdn/{SHQXINAI.js → TRI6WAGM.js} +1 -1
  67. package/dist/cdn/{BKABNAQM.js → UK2ILVTG.js} +1 -1
  68. package/dist/cdn/{5PTMLDOB.js → VCKFHB4U.js} +1 -1
  69. package/dist/cdn/{KMMYG2QX.js → VRVLAPPS.js} +1 -1
  70. package/dist/cdn/{D3Z4NVKQ.js → VSRAB3LY.js} +1 -1
  71. package/dist/cdn/{N2DHNIDT.js → VVHVHDWG.js} +1 -1
  72. package/dist/cdn/W2XIAHGG.js +2 -0
  73. package/dist/cdn/{7ZDSUAN6.js → WQQUCFW5.js} +1 -1
  74. package/dist/cdn/{7MBF4226.js → WZIPMTG5.js} +1 -1
  75. package/dist/cdn/{BDUTHXO4.js → XKKO432P.js} +1 -1
  76. package/dist/cdn/{KVHAU3R7.js → XOZZXRKR.js} +1 -1
  77. package/dist/cdn/{4BM25G3S.js → XWYYPCI6.js} +1 -1
  78. package/dist/cdn/YOAS5HJU.js +2 -0
  79. package/dist/cdn/{YM5SNR26.js → YR2QJZ5S.js} +1 -1
  80. package/dist/cdn/{HMHWVIF2.js → YRHDWCLS.js} +1 -1
  81. package/dist/cdn/{WK4FA5IO.js → ZP2Y7KD7.js} +1 -1
  82. package/dist/cdn/{CEZ2VRFW.js → ZUMDTFHS.js} +1 -1
  83. package/dist/cdn/{H4GILMDJ.js → ZY2X4X6T.js} +1 -1
  84. package/dist/cdn/index.js +1 -1
  85. package/dist/cdn/model/shared/setup-utils.js +1 -1
  86. package/dist/chunks/box-plot-data.js +68 -67
  87. package/dist/chunks/box-plot-model.js +4 -1
  88. package/dist/chunks/index.js +955 -943
  89. package/dist/chunks/pie-chart-model.js +9 -6
  90. package/dist/chunks/serial-chart-data.js +283 -282
  91. package/dist/chunks/serial-chart-model.js +4 -1
  92. package/dist/components/arcgis-chart/customElement.js +1292 -1291
  93. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +54 -52
  94. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +105 -103
  95. package/dist/docs/api.json +1 -1
  96. package/dist/docs/docs.json +1 -1
  97. package/dist/model/box-plot-model/box-plot-model.d.ts +6 -2
  98. package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -2
  99. package/dist/model/serial-chart-model/serial-chart-model.d.ts +6 -2
  100. package/dist/utils/data/categorical-data/index.d.ts +1 -0
  101. package/package.json +4 -4
  102. package/dist/cdn/2CZEJ5DR.js +0 -2
  103. package/dist/cdn/EEN4U5XM.js +0 -2
  104. package/dist/cdn/EYEWINUB.js +0 -4
  105. package/dist/cdn/VPADWNW7.js +0 -2
  106. package/dist/cdn/YOUVPC2K.js +0 -2
@@ -62,16 +62,16 @@ const J = (s) => {
62
62
  o.splice(e, 0, i), ve(o, t);
63
63
  }, rs = (s) => V(s) ? s.series.findIndex((e) => e.type === p.BoxPlotSeries) : -1;
64
64
  function Oe(s, e, t) {
65
- const o = ee(s, e, t), i = Se(s), n = P(s);
66
- return o === i || n;
65
+ const o = ee(s, e, t), i = Se(s), r = P(s);
66
+ return o === i || r;
67
67
  }
68
68
  function R(s, e, t) {
69
- const o = T(s, e, t), i = k(1, s), n = P(s);
70
- return o === i || n;
69
+ const o = T(s, e, t), i = k(1, s), r = P(s);
70
+ return o === i || r;
71
71
  }
72
72
  function Ie(s) {
73
- const { config: e, layerInfo: t, newCategory: o } = s, { layerFieldsInfo: i } = t, n = C(e), r = o !== h ? A(i, n) : "", l = k(0, e), a = P(e);
74
- return r === l || a || l.trim() === "";
73
+ const { config: e, layerInfo: t, newCategory: o } = s, { layerFieldsInfo: i } = t, r = C(e), n = o !== h ? A(i, r) : "", l = k(0, e), a = P(e);
74
+ return n === l || a || l.trim() === "";
75
75
  }
76
76
  const C = (s) => D(s)?.x ?? h, Me = Y(
77
77
  (s) => {
@@ -86,38 +86,38 @@ const C = (s) => D(s)?.x ?? h, Me = Y(
86
86
  // using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
87
87
  (s) => s?.series
88
88
  ), O = (s) => {
89
- const { category: e, seriesIndex: t, y: o, commonStrings: i } = s, r = {
89
+ const { category: e, seriesIndex: t, y: o, commonStrings: i } = s, n = {
90
90
  ...j(i, t),
91
91
  x: e === void 0 || e === "" ? h : e,
92
92
  y: o,
93
93
  query: {}
94
94
  };
95
- return K(r);
95
+ return K(n);
96
96
  }, Pe = (s) => {
97
- const { category: e, seriesIndex: t, y: o, commonStrings: i } = s, r = {
97
+ const { category: e, seriesIndex: t, y: o, commonStrings: i } = s, n = {
98
98
  ...be({ commonStrings: i, seriesIndex: t }),
99
99
  x: e === void 0 || e === "" ? h : e,
100
100
  y: o,
101
101
  query: {}
102
102
  };
103
- return K(r);
103
+ return K(n);
104
104
  };
105
105
  function G(s) {
106
- const { x: e, y: t, seriesTemplate: o, commonStrings: i } = s, { id: n, fillSymbol: r } = o ?? {}, l = j(i), a = n ?? `series_${Date.now()}`;
107
- return l.id = a, l.name = a, l.x = e, l.y = t, r ? l.fillSymbol = r : l.fillSymbol && (l.fillSymbol.color = z, l.fillSymbol?.outline && (l.fillSymbol.outline.color = z)), l;
106
+ const { x: e, y: t, seriesTemplate: o, commonStrings: i } = s, { id: r, fillSymbol: n } = o ?? {}, l = j(i), a = r ?? `series_${Date.now()}`;
107
+ return l.id = a, l.name = a, l.x = e, l.y = t, n ? l.fillSymbol = n : l.fillSymbol && (l.fillSymbol.color = z, l.fillSymbol?.outline && (l.fillSymbol.outline.color = z)), l;
108
108
  }
109
109
  function Q(s) {
110
- const { numericFields: e, config: t, layerInfo: o, category: i, commonStrings: n } = s, { layerFieldsInfo: r } = o, l = [], a = i ?? C(t), y = N({
110
+ const { numericFields: e, config: t, layerInfo: o, category: i, commonStrings: r } = s, { layerFieldsInfo: n } = o, l = [], a = i ?? C(t), y = N({
111
111
  fieldName: a,
112
112
  numericFields: e,
113
- fieldList: r
113
+ fieldList: n
114
114
  });
115
115
  if (e.length === 0) {
116
116
  const c = O({
117
117
  y: "",
118
118
  seriesIndex: 0,
119
119
  category: a,
120
- commonStrings: n
120
+ commonStrings: r
121
121
  });
122
122
  l.push(c);
123
123
  } else if (y) {
@@ -125,8 +125,8 @@ function Q(s) {
125
125
  y: c,
126
126
  seriesIndex: 0,
127
127
  category: a,
128
- commonStrings: n
129
- }), F = t.series.find((L) => le(c, L.y) && L.query?.where === void 0), d = M(F) ? F : void 0, m = d?.id ?? e[0], g = e.length > 1 ? n.axisLabels.values : A(o.layerFieldsInfo, e[0]), b = d?.name ?? g, B = {
128
+ commonStrings: r
129
+ }), F = t.series.find((L) => le(c, L.y) && L.query?.where === void 0), d = M(F) ? F : void 0, m = d?.id ?? e[0], g = e.length > 1 ? r.axisLabels.values : A(o.layerFieldsInfo, e[0]), b = d?.name ?? g, B = {
130
130
  ...d ?? u,
131
131
  id: m,
132
132
  name: b,
@@ -139,8 +139,8 @@ function Q(s) {
139
139
  y: u,
140
140
  seriesIndex: c,
141
141
  category: a,
142
- commonStrings: n
143
- }), d = t.series.find((L) => u === L.y), m = M(d) ? d : void 0, g = m?.id ?? u, b = m?.name ?? A(r, u), B = {
142
+ commonStrings: r
143
+ }), d = t.series.find((L) => u === L.y), m = M(d) ? d : void 0, g = m?.id ?? u, b = m?.name ?? A(n, u), B = {
144
144
  ...m ?? F,
145
145
  id: g,
146
146
  name: b,
@@ -155,17 +155,17 @@ function Ve(s, e, t) {
155
155
  const o = [];
156
156
  return s.forEach((i) => {
157
157
  if (i.type === p.BoxPlotSeries) {
158
- const { type: n, fillSymbol: r, ...l } = i;
158
+ const { type: r, fillSymbol: n, ...l } = i;
159
159
  o.push({
160
160
  ...l,
161
161
  type: p.LineSeries,
162
162
  lineSymbol: {
163
163
  ...xe({ width: he }),
164
- ...r !== void 0 ? { color: r.color } : {}
164
+ ...n !== void 0 ? { color: n.color } : {}
165
165
  },
166
166
  markerSymbol: {
167
167
  ...ge(),
168
- ...r !== void 0 ? { color: r.color } : {}
168
+ ...n !== void 0 ? { color: n.color } : {}
169
169
  }
170
170
  });
171
171
  }
@@ -182,13 +182,13 @@ function ke(s) {
182
182
  const e = s.slice(1), t = [];
183
183
  return e.forEach((o) => {
184
184
  if (o.type === p.LineSeries) {
185
- const { type: i, lineSymbol: n, markerSymbol: r, ...l } = o, a = $();
185
+ const { type: i, lineSymbol: r, markerSymbol: n, ...l } = o, a = $();
186
186
  t.push({
187
187
  ...l,
188
188
  type: p.BoxPlotSeries,
189
189
  fillSymbol: {
190
190
  ...a,
191
- color: n?.color
191
+ color: r?.color
192
192
  }
193
193
  });
194
194
  }
@@ -197,9 +197,9 @@ function ke(s) {
197
197
  function Z(s) {
198
198
  const { formerSeries: e, newSeries: t, showMean: o } = s;
199
199
  let i = t;
200
- const n = (a) => a.type === (o ? p.LineSeries : p.BoxPlotSeries), r = e.filter(n).map((a) => a.id), l = t.filter(n).map((a) => a.id);
201
- return r.length === l.length && JSON.stringify(r) !== JSON.stringify(l) && (i = i.sort(
202
- (a, y) => r.findIndex((c) => c === a.id) - r.findIndex((c) => c === y.id)
200
+ const r = (a) => a.type === (o ? p.LineSeries : p.BoxPlotSeries), n = e.filter(r).map((a) => a.id), l = t.filter(r).map((a) => a.id);
201
+ return n.length === l.length && JSON.stringify(n) !== JSON.stringify(l) && (i = i.sort(
202
+ (a, y) => n.findIndex((c) => c === a.id) - n.findIndex((c) => c === y.id)
203
203
  )), i;
204
204
  }
205
205
  function Ne(s) {
@@ -208,15 +208,15 @@ function Ne(s) {
208
208
  layerInfo: t,
209
209
  commonStrings: o,
210
210
  splitByField: i,
211
- numericFields: n,
212
- category: r,
211
+ numericFields: r,
212
+ category: n,
213
213
  splitByFieldInfos: l
214
- } = s, a = r ?? C(e), { categoriesArray: y, splitByFieldType: c } = l;
214
+ } = s, a = n ?? C(e), { categoriesArray: y, splitByFieldType: c } = l;
215
215
  let u = [];
216
216
  const F = De(e);
217
217
  if (y.length === 0) {
218
218
  u = Q({
219
- numericFields: n,
219
+ numericFields: r,
220
220
  category: a,
221
221
  config: e,
222
222
  layerInfo: t,
@@ -227,7 +227,7 @@ function Ne(s) {
227
227
  } else
228
228
  for (let d = 0; d < y.length; d += 1) {
229
229
  const m = y[d], g = {
230
- y: n,
230
+ y: r,
231
231
  seriesIndex: d,
232
232
  category: a,
233
233
  commonStrings: o
@@ -256,7 +256,7 @@ function Ne(s) {
256
256
  }), V(e)) {
257
257
  const d = e.series.find((g) => g.type === p.BoxPlotSeries), m = G({
258
258
  x: a,
259
- y: n,
259
+ y: r,
260
260
  seriesTemplate: d,
261
261
  commonStrings: o
262
262
  });
@@ -265,22 +265,22 @@ function Ne(s) {
265
265
  return u;
266
266
  }
267
267
  const ns = (s) => {
268
- const { splitByField: e, numericFields: t, category: o, config: i, layerInfo: n, commonStrings: r, splitByFieldInfos: l } = s, { layerFieldsInfo: a } = n, y = ze(o, t, e), c = me(a), u = C(i), F = Oe(i, n, r), d = R(i, n, r), m = Ie({ config: i, layerInfo: n, newCategory: o });
268
+ const { splitByField: e, numericFields: t, category: o, config: i, layerInfo: r, commonStrings: n, splitByFieldInfos: l } = s, { layerFieldsInfo: a } = r, y = ze(o, t, e), c = me(a), u = C(i), F = Oe(i, r, n), d = R(i, r, n), m = Ie({ config: i, layerInfo: r, newCategory: o });
269
269
  let g = U(i);
270
- if (!c.includes(u) && c.includes(o) ? g = Fe() : c.includes(u) && !c.includes(o) && (g = Ae()), g !== void 0 && ae(i, r, g), W(y ? { newShowMeanLines: i.showMean, config: i, commonStrings: r } : { newShowMeanLines: !1, config: i, commonStrings: r }), i.series = y && l ? Ne({
270
+ if (!c.includes(u) && c.includes(o) ? g = Fe() : c.includes(u) && !c.includes(o) && (g = Ae()), g !== void 0 && ae(i, n, g), W(y ? { newShowMeanLines: i.showMean, config: i, commonStrings: n } : { newShowMeanLines: !1, config: i, commonStrings: n }), i.series = y && l ? Ne({
271
271
  config: i,
272
- layerInfo: n,
272
+ layerInfo: r,
273
273
  splitByField: e,
274
274
  numericFields: t,
275
275
  category: o,
276
- commonStrings: r,
276
+ commonStrings: n,
277
277
  splitByFieldInfos: l
278
278
  }) : Q({
279
279
  numericFields: t,
280
280
  config: i,
281
- layerInfo: n,
281
+ layerInfo: r,
282
282
  category: o,
283
- commonStrings: r
283
+ commonStrings: n
284
284
  }), m) {
285
285
  const w = N({
286
286
  fieldName: o,
@@ -290,50 +290,50 @@ const ns = (s) => {
290
290
  I(i, 0, w);
291
291
  }
292
292
  if (d) {
293
- const b = T(i, n, r);
293
+ const b = T(i, r, n);
294
294
  I(i, 1, b);
295
295
  }
296
- i?.title !== void 0 && F && (i.title.content.text = ee(i, n, r)), E({ config: i, value: null, axisIndex: 1, isMax: !1 }), E({ config: i, value: null, axisIndex: 1, isMax: !0 });
296
+ i?.title !== void 0 && F && (i.title.content.text = ee(i, r, n)), E({ config: i, value: null, axisIndex: 1, isMax: !1 }), E({ config: i, value: null, axisIndex: 1, isMax: !0 });
297
297
  }, qe = (s) => s?.standardizeValues ?? !1;
298
298
  function T(s, e, t) {
299
299
  const { layerFieldsInfo: o } = e;
300
- let n = qe(s) ? t.axisLabels.standardizedValues : t.axisLabels.values, r = s?.series?.map((l) => l.y).flat();
301
- return r = [...new Set(r)], r.length === 1 && (n = A(o, r[0])), n;
300
+ let r = qe(s) ? t.axisLabels.standardizedValues : t.axisLabels.values, n = s?.series?.map((l) => l.y).flat();
301
+ return n = [...new Set(n)], n.length === 1 && (r = A(o, n[0])), r;
302
302
  }
303
303
  function ee(s, e, t) {
304
- const { layerFieldsInfo: o } = e, i = C(s), n = _(s), r = Me(s), l = n.map((c) => A(o ?? [], c)).join(", "), a = A(o ?? [], i);
304
+ const { layerFieldsInfo: o } = e, i = C(s), r = _(s), n = Me(s), l = r.map((c) => A(o ?? [], c)).join(", "), a = A(o ?? [], i);
305
305
  let y = "";
306
- return n.length > 0 && (i !== h && r !== "" ? y = v(t.titleLabels.distributionOfFieldsByCategoryAndSplitBy, {
306
+ return r.length > 0 && (i !== h && n !== "" ? y = v(t.titleLabels.distributionOfFieldsByCategoryAndSplitBy, {
307
307
  valueFields: l,
308
308
  category: a,
309
- splitByField: r
309
+ splitByField: n
310
310
  }) : i !== h ? y = v(t.titleLabels.distributionOfFieldsByCategory, {
311
311
  valueFields: l,
312
312
  category: a
313
- }) : r !== "" ? y = v(t.titleLabels.distributionOfFieldsByCategory, {
313
+ }) : n !== "" ? y = v(t.titleLabels.distributionOfFieldsByCategory, {
314
314
  valueFields: l,
315
- category: r
315
+ category: n
316
316
  }) : y = v(t.titleLabels.distributionOfField, {
317
317
  valueField: l
318
318
  })), y;
319
319
  }
320
320
  const ls = (s) => {
321
321
  const { series: e, splitByField: t, layerInfo: o, commonStrings: i } = s;
322
- let n = typeof e.y == "string" ? A(o.layerFieldsInfo, e.y) : i.axisLabels.values;
323
- return ne(t) || (n = H(e)), n = X({
322
+ let r = typeof e.y == "string" ? A(o.layerFieldsInfo, e.y) : i.axisLabels.values;
323
+ return ne(t) || (r = H(e)), r = X({
324
324
  queryObject: o.layer,
325
325
  fieldName: t,
326
- fieldValue: n ?? ""
327
- }) ?? n, n ?? e.id;
326
+ fieldValue: r ?? ""
327
+ }) ?? r, r ?? e.id;
328
328
  }, as = (s) => s?.showOutliers ?? !1, cs = (s) => {
329
329
  const { newShowOutliers: e, config: t, layerInfo: o, commonStrings: i } = s;
330
330
  if (t.showOutliers = e, R(t, o, i)) {
331
- const r = T(t, o, i);
332
- I(t, 1, r);
331
+ const n = T(t, o, i);
332
+ I(t, 1, n);
333
333
  }
334
334
  }, ds = (s) => {
335
- const { newStandardizeValues: e, config: t, layerInfo: o, commonStrings: i } = s, n = k(1, t), r = T(t, o, i), l = P(t);
336
- if (t.standardizeValues = e, n === r || l) {
335
+ const { newStandardizeValues: e, config: t, layerInfo: o, commonStrings: i } = s, r = k(1, t), n = T(t, o, i), l = P(t);
336
+ if (t.standardizeValues = e, r === n || l) {
337
337
  const a = T(t, o, i);
338
338
  I(t, 1, a);
339
339
  }
@@ -392,8 +392,8 @@ const ls = (s) => {
392
392
  };
393
393
  }
394
394
  }, V = (s) => s.showMean ?? !1, W = (s) => {
395
- const { newShowMeanLines: e = !1, config: t, commonStrings: o, previousMeanLinesBoxColor: i } = s, n = e ? i : Ce(t), r = (e ?? !1) !== (t.showMean ?? !1);
396
- if (t.showMean = e, r) {
395
+ const { newShowMeanLines: e = !1, config: t, commonStrings: o, previousMeanLinesBoxColor: i } = s, r = e ? i : Ce(t), n = (e ?? !1) !== (t.showMean ?? !1);
396
+ if (t.showMean = e, n) {
397
397
  let l;
398
398
  e ? l = fe(t.series) ? Ve(t.series, o) : t.series : l = ke(t.series), l && (l = Z({
399
399
  formerSeries: t.series,
@@ -401,7 +401,7 @@ const ls = (s) => {
401
401
  showMean: e
402
402
  }), t.series = l);
403
403
  }
404
- return e && i !== void 0 && we(i, t), { previousMeanLinesBoxColor: n };
404
+ return e && i !== void 0 && we(i, t), { previousMeanLinesBoxColor: r };
405
405
  }, us = (s) => {
406
406
  let e = [];
407
407
  const t = s.orderOptions?.data?.orderType;
@@ -414,18 +414,19 @@ const ls = (s) => {
414
414
  orderBy: s
415
415
  });
416
416
  }, ms = async (s) => {
417
- const { config: e, layerInfo: t, errorStrings: o } = s, i = C(e), n = U(e)?.type, r = _(e);
418
- let l = [];
417
+ const { config: e, layerInfo: t, num: o, errorStrings: i } = s, r = C(e), n = U(e)?.type, l = _(e);
418
+ let a = [];
419
419
  return n === p.CategoryAxisFormat && (N({
420
- fieldName: i,
421
- numericFields: r,
420
+ fieldName: r,
421
+ numericFields: l,
422
422
  fieldList: t.layerFieldsInfo
423
- }) ? l = r : te(i) || (l = await ue({
423
+ }) ? a = l : te(r) || (a = await ue({
424
424
  layerInfo: t,
425
425
  config: e,
426
- category: i,
427
- errorStrings: o
428
- }))), l;
426
+ category: r,
427
+ num: o,
428
+ errorStrings: i
429
+ }))), a;
429
430
  }, te = (s) => s.trim() === "" || s === h, Ee = (s, e) => e.length > 1 && !te(s), ze = (s, e, t) => !Ee(s, e) && t !== "";
430
431
  export {
431
432
  Te as A,
@@ -177,11 +177,14 @@ class i extends Oe {
177
177
  }
178
178
  /**
179
179
  * Gets the list of the category values for the chart.
180
+ *
181
+ * @param num The maximum number of category values to fetch.
180
182
  */
181
- async getCustomSortValues() {
183
+ async getCustomSortValues(e) {
182
184
  return await _({
183
185
  config: this._config,
184
186
  layerInfo: this.layerInfo,
187
+ num: e,
185
188
  errorStrings: this.commonStrings.errorStrings
186
189
  });
187
190
  }