@arcgis/charts-components 5.2.0-next.8 → 5.2.0-next.85

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 (478) hide show
  1. package/LICENSE.md +4 -2
  2. package/README.md +2 -2
  3. package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
  4. package/dist/cdn/{5MEQANMY.js → 26DDVOQ7.js} +1 -1
  5. package/dist/cdn/2BA2QD2A.js +3 -0
  6. package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
  7. package/dist/cdn/2MF442VT.js +2 -0
  8. package/dist/cdn/{VY3KBD6N.js → 2YDNWOWT.js} +1 -1
  9. package/dist/cdn/3AYNHY7J.js +2 -0
  10. package/dist/cdn/{DCZWZOPF.js → 3FFCWEMV.js} +1 -1
  11. package/dist/cdn/3H3PFQTD.js +2 -0
  12. package/dist/cdn/3KDTVBIG.js +2 -0
  13. package/dist/cdn/3SSQPYQA.js +2 -0
  14. package/dist/cdn/{JRHMUFED.js → 3YPGCLG4.js} +1 -1
  15. package/dist/cdn/{Y7HBWU3M.js → 3ZKNY2GI.js} +1 -1
  16. package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
  17. package/dist/cdn/4KF7SUJE.js +2 -0
  18. package/dist/cdn/{MVHQR4FJ.js → 4U2HIMOR.js} +1 -1
  19. package/dist/cdn/52NR6B2J.js +2 -0
  20. package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
  21. package/dist/cdn/5DHMYPPF.js +2 -0
  22. package/dist/cdn/5NGIGJYR.js +2 -0
  23. package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
  24. package/dist/cdn/62GSQDTE.js +2 -0
  25. package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
  26. package/dist/cdn/{CLXVAIQX.js → 6AXYQGBN.js} +1 -1
  27. package/dist/cdn/6LV3ASGE.js +2 -0
  28. package/dist/cdn/6SQNRMJG.js +2 -0
  29. package/dist/cdn/{ETKPMU7Z.js → 6U6VAS2O.js} +1 -1
  30. package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
  31. package/dist/cdn/{UT4TYXFO.js → 6WWEQU3O.js} +1 -1
  32. package/dist/cdn/72KEQM4K.js +2 -0
  33. package/dist/cdn/72VGCAR5.js +2 -0
  34. package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
  35. package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
  36. package/dist/cdn/7CZMR2WF.js +2 -0
  37. package/dist/cdn/7JA63ENU.js +45 -0
  38. package/dist/cdn/7P3FHJUU.js +2 -0
  39. package/dist/cdn/7SIKOCYK.js +4 -0
  40. package/dist/cdn/7ZAT46VE.js +2 -0
  41. package/dist/cdn/{A5AECJXP.js → A2KSCV2I.js} +1 -1
  42. package/dist/cdn/ACMHG3RB.js +2 -0
  43. package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
  44. package/dist/cdn/{E7OAEGSE.js → AF2GUPVE.js} +1 -1
  45. package/dist/cdn/{AJWYIBGC.js → AS3QP77N.js} +1 -1
  46. package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
  47. package/dist/cdn/{LFQGH44F.js → B5Z7FBO7.js} +1 -1
  48. package/dist/cdn/{2HUAW34Q.js → B7J5YIWF.js} +1 -1
  49. package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
  50. package/dist/cdn/BGOWDCTO.js +2 -0
  51. package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
  52. package/dist/cdn/BV7UUWYI.js +2 -0
  53. package/dist/cdn/{N6AOFBBX.js → BWR5ONE2.js} +1 -1
  54. package/dist/cdn/BYSUABOV.js +2 -0
  55. package/dist/cdn/{AWF4R7WL.js → C2ZX67U4.js} +1 -1
  56. package/dist/cdn/C5UI5MYS.js +2 -0
  57. package/dist/cdn/C7F4AVQU.js +104 -0
  58. package/dist/cdn/{EXXLJVGS.js → CFOB77PI.js} +1 -1
  59. package/dist/cdn/CSOYZJU5.js +2 -0
  60. package/dist/cdn/CVWT6DGY.js +2 -0
  61. package/dist/cdn/CXWBQG5O.js +2 -0
  62. package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
  63. package/dist/cdn/{L4G6FO7A.js → DDNOUE2T.js} +1 -1
  64. package/dist/cdn/DE3CJJG3.js +2 -0
  65. package/dist/cdn/DKC4NIUA.js +2 -0
  66. package/dist/cdn/DW5NK2B3.js +2 -0
  67. package/dist/cdn/DZWIVB6V.js +2 -0
  68. package/dist/cdn/EMOHROY3.js +2 -0
  69. package/dist/cdn/{HVO4LIXR.js → EQTI5Z4G.js} +1 -1
  70. package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
  71. package/dist/cdn/EYYTKCXM.js +2 -0
  72. package/dist/cdn/EZLKMWI5.js +2 -0
  73. package/dist/cdn/F3LVXDV4.js +2 -0
  74. package/dist/cdn/FBU4ODQE.js +2 -0
  75. package/dist/cdn/{A4GEWIPY.js → FFJTVPE4.js} +1 -1
  76. package/dist/cdn/FQKGQHVK.js +2 -0
  77. package/dist/cdn/{JCH3RDLR.js → FRTPDJGW.js} +1 -1
  78. package/dist/cdn/{WASEMNYV.js → G45UKTNI.js} +1 -1
  79. package/dist/cdn/GDGYKODO.js +2 -0
  80. package/dist/cdn/GX64OP3A.js +2 -0
  81. package/dist/cdn/GZEVPH4Y.js +2 -0
  82. package/dist/cdn/{XE3FKQFA.js → H2DUFQAG.js} +1 -1
  83. package/dist/cdn/{JJIGLOJA.js → HABS63VB.js} +1 -1
  84. package/dist/cdn/HDIBDW52.js +2 -0
  85. package/dist/cdn/HOASAQAB.js +2 -0
  86. package/dist/cdn/HQ2JPCTQ.js +2 -0
  87. package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
  88. package/dist/cdn/I3BMYY7N.js +2 -0
  89. package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
  90. package/dist/cdn/IN2IL6T2.js +2 -0
  91. package/dist/cdn/IVM37XFX.js +2 -0
  92. package/dist/cdn/{DKAHZ7IX.js → J3BB5KXD.js} +1 -1
  93. package/dist/cdn/JMMNRCD4.js +2 -0
  94. package/dist/cdn/JQM5R6XW.js +2 -0
  95. package/dist/cdn/{XW4PBQNW.js → JUFBIV44.js} +1 -1
  96. package/dist/cdn/JUU3BZT7.js +2 -0
  97. package/dist/cdn/KAQ5XSCQ.js +2 -0
  98. package/dist/cdn/KG574LAE.js +2 -0
  99. package/dist/cdn/KHJC5P5T.js +2 -0
  100. package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
  101. package/dist/cdn/{QOOBNATX.js → KTYFDFMQ.js} +1 -1
  102. package/dist/cdn/{CHQDKVVQ.js → KWN3N6VE.js} +1 -1
  103. package/dist/cdn/KYOBS7XL.js +2 -0
  104. package/dist/cdn/KZSCAJDG.js +2 -0
  105. package/dist/cdn/L4BZX57U.js +2 -0
  106. package/dist/cdn/L5JZ5COY.js +2 -0
  107. package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
  108. package/dist/cdn/LCTDNI27.js +2 -0
  109. package/dist/cdn/LM6VCILT.js +2 -0
  110. package/dist/cdn/LMTSW3JM.js +2 -0
  111. package/dist/cdn/LPS3VU35.js +2 -0
  112. package/dist/cdn/{6XTKJ7DO.js → LXZXXY7V.js} +1 -1
  113. package/dist/cdn/M6OCFMDB.js +2 -0
  114. package/dist/cdn/MITW5XKW.js +2 -0
  115. package/dist/cdn/MJHVSD5B.js +2 -0
  116. package/dist/cdn/MNYNXHXE.js +2 -0
  117. package/dist/cdn/NH2A5QEU.js +2 -0
  118. package/dist/cdn/NIDXK3GN.js +2 -0
  119. package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
  120. package/dist/cdn/{YOT6DVSU.js → NNHJ75EA.js} +1 -1
  121. package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
  122. package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
  123. package/dist/cdn/{TF7TE7K5.js → NWQ2L7IJ.js} +1 -1
  124. package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
  125. package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
  126. package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
  127. package/dist/cdn/OMORDJT2.js +2 -0
  128. package/dist/cdn/{DEGBVJ76.js → OMU647X3.js} +1 -1
  129. package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
  130. package/dist/cdn/{AM2TOTX6.js → OXPXA3PS.js} +1 -1
  131. package/dist/cdn/OYXDCECZ.js +2 -0
  132. package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
  133. package/dist/cdn/{KDJ5RVHA.js → P3AYFJRV.js} +1 -1
  134. package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
  135. package/dist/cdn/{BJDRJUEJ.js → P7FI5QUW.js} +1 -1
  136. package/dist/cdn/{KZ7LPNX3.js → PCFEAGXP.js} +1 -1
  137. package/dist/cdn/PF6QOHZR.js +2 -0
  138. package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
  139. package/dist/cdn/{GDQBQQUP.js → PMTNALXO.js} +1 -1
  140. package/dist/cdn/PWJBGZPW.js +2 -0
  141. package/dist/cdn/{ZXOO3X5P.js → PZP57FJ2.js} +1 -1
  142. package/dist/cdn/{QMSINFQX.js → Q466K37N.js} +1 -1
  143. package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
  144. package/dist/cdn/QIG7WTJF.js +2 -0
  145. package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
  146. package/dist/cdn/QXQC4CH5.js +2 -0
  147. package/dist/cdn/QYRHZJH3.js +2 -0
  148. package/dist/cdn/{7FZC3RZK.js → R5LIRRMK.js} +1 -1
  149. package/dist/cdn/R5VDQBUH.js +2 -0
  150. package/dist/cdn/RCAPTQFV.js +2 -0
  151. package/dist/cdn/{K3GNHGEW.js → RHUEVXMR.js} +1 -1
  152. package/dist/cdn/{IPM2XKST.js → RMIIDRGC.js} +1 -1
  153. package/dist/cdn/RPUEIRTH.js +2 -0
  154. package/dist/cdn/S2HIF3ZX.js +2 -0
  155. package/dist/cdn/{KFONSKQF.js → S4NQCINT.js} +1 -1
  156. package/dist/cdn/SC26LLWP.js +2 -0
  157. package/dist/cdn/{ML3A3MYV.js → SILDOKXS.js} +1 -1
  158. package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
  159. package/dist/cdn/{FF4DUQDZ.js → SVLOD3HQ.js} +1 -1
  160. package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
  161. package/dist/cdn/TBW6K2TY.js +2 -0
  162. package/dist/cdn/{AK7X7SGI.js → TENIFMA5.js} +1 -1
  163. package/dist/cdn/{5XTQQOTT.js → TJ2NRLF6.js} +1 -1
  164. package/dist/cdn/{KUZR6CGB.js → TOCBEPNS.js} +1 -1
  165. package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
  166. package/dist/cdn/TSU6UVTL.js +2 -0
  167. package/dist/cdn/U3542JBJ.js +2 -0
  168. package/dist/cdn/U7GQGHZY.js +2 -0
  169. package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
  170. package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
  171. package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
  172. package/dist/cdn/UYDDYD3O.js +2 -0
  173. package/dist/cdn/V3ITNIER.js +2 -0
  174. package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
  175. package/dist/cdn/VQU2TVX7.js +3 -0
  176. package/dist/cdn/VSPKBQS6.js +2 -0
  177. package/dist/cdn/WC22SRVJ.js +2 -0
  178. package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
  179. package/dist/cdn/XBRRJQVR.js +2 -0
  180. package/dist/cdn/XFCDAI5T.js +2 -0
  181. package/dist/cdn/XHZAAQMF.js +2 -0
  182. package/dist/cdn/{SBYD2EKR.js → XR4O3AQ6.js} +1 -1
  183. package/dist/cdn/{7HGVEE7A.js → XU7TGV75.js} +1 -1
  184. package/dist/cdn/XVCBLLWW.js +2 -0
  185. package/dist/cdn/YAWW63A5.js +2 -0
  186. package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
  187. package/dist/cdn/{JBHGSSHS.js → Z5EJIWAY.js} +1 -1
  188. package/dist/cdn/{GV3TT7L5.js → ZARYZFJ4.js} +1 -1
  189. package/dist/cdn/ZDUW3TBJ.js +2 -0
  190. package/dist/cdn/ZGIM53IQ.js +2 -0
  191. package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
  192. package/dist/cdn/{ZFZ5AEUQ.js → ZVOX72AF.js} +1 -1
  193. package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
  194. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
  195. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  196. package/dist/cdn/index.js +1 -1
  197. package/dist/cdn/main.css +1 -1
  198. package/dist/cdn/model/shared/setup-utils.js +1 -1
  199. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
  200. package/dist/chart-rendering/common/interfaces.d.ts +52 -22
  201. package/dist/chunks/{type-guards3.js → action-bar-utils.js} +37 -45
  202. package/dist/chunks/axis-lines-symbol.js +7 -7
  203. package/dist/chunks/bar-chart-model.js +42 -38
  204. package/dist/chunks/box-plot-data.js +270 -279
  205. package/dist/chunks/box-plot-model.js +159 -144
  206. package/dist/chunks/chart-model.js +182 -150
  207. package/dist/chunks/chart-object-literals.js +26 -25
  208. package/dist/chunks/chart-ui-utils.js +148 -66
  209. package/dist/chunks/chart-ui-utils2.js +68 -149
  210. package/dist/chunks/class-breaks.js +24 -24
  211. package/dist/chunks/combo-bar-line-chart-model.js +48 -40
  212. package/dist/chunks/data-labels-symbol.js +39 -24
  213. package/dist/chunks/data-labels-visibility.js +8 -8
  214. package/dist/chunks/data.js +68 -68
  215. package/dist/chunks/default.js +6 -6
  216. package/dist/chunks/gauge-model.js +61 -61
  217. package/dist/chunks/generate-x-axis-title.js +15 -15
  218. package/dist/chunks/heat-chart-model.js +95 -66
  219. package/dist/chunks/histogram-data.js +23 -23
  220. package/dist/chunks/histogram-model.js +9 -9
  221. package/dist/chunks/index.js +9363 -1079
  222. package/dist/chunks/index2.js +852 -8752
  223. package/dist/chunks/index3.js +1169 -847
  224. package/dist/chunks/index4.js +315 -86
  225. package/dist/chunks/index5.js +63 -100
  226. package/dist/chunks/interfaces.js +9 -9
  227. package/dist/chunks/line-chart-model.js +18 -18
  228. package/dist/chunks/model-setter.js +57 -34
  229. package/dist/chunks/model-types.js +1 -1
  230. package/dist/chunks/model-with-line-marker-styling.js +18 -9
  231. package/dist/chunks/model-with-y-guides.js +52 -67
  232. package/dist/chunks/negative-values-stacked-to-baseline.js +40 -36
  233. package/dist/chunks/pie-chart-data.js +175 -193
  234. package/dist/chunks/pie-chart-model.js +388 -320
  235. package/dist/chunks/radar-chart-model.js +397 -46
  236. package/dist/chunks/resource.js +1 -1
  237. package/dist/chunks/rest-js-object-literals.js +10 -10
  238. package/dist/chunks/rotated-state.js +1 -1
  239. package/dist/chunks/rounded-corners.js +73 -0
  240. package/dist/chunks/scatterplot-model.js +12 -12
  241. package/dist/chunks/serial-chart-data.js +868 -748
  242. package/dist/chunks/serial-chart-model.js +145 -123
  243. package/dist/chunks/series-length.js +17 -17
  244. package/dist/chunks/series-types.js +22 -18
  245. package/dist/chunks/series.js +1 -1
  246. package/dist/chunks/type-guards.js +16 -12
  247. package/dist/chunks/type-guards2.js +61 -52
  248. package/dist/chunks/utils.js +101 -91
  249. package/dist/chunks/utils2.js +9 -9
  250. package/dist/chunks/web-component-utils.js +591 -540
  251. package/dist/chunks/x-bounds.js +98 -97
  252. package/dist/components/arcgis-chart/customElement.d.ts +628 -254
  253. package/dist/components/arcgis-chart/customElement.js +10420 -10099
  254. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +8 -0
  255. package/dist/components/arcgis-charts-action-bar/customElement.js +34 -31
  256. package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
  257. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +39 -33
  258. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +29 -29
  259. package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
  260. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
  261. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +44 -43
  262. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -15
  263. package/dist/components/arcgis-charts-config-box-plot/customElement.js +31 -39
  264. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +16 -16
  265. package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
  266. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +26 -28
  267. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -4
  268. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
  269. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  270. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -20
  271. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  273. package/dist/components/arcgis-charts-config-create-flow/customElement.js +244 -230
  274. package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
  275. package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
  276. package/dist/components/arcgis-charts-config-format/customElement.js +94 -87
  277. package/dist/components/arcgis-charts-config-format-popover/customElement.js +8 -11
  278. package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
  279. package/dist/components/arcgis-charts-config-guide/customElement.js +21 -22
  280. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +10 -13
  281. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  282. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
  283. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +65 -77
  284. package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
  285. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +58 -59
  286. package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
  287. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +28 -28
  288. package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
  289. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +35 -36
  290. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  291. package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
  292. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +19 -19
  293. package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
  294. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +42 -44
  295. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +8 -8
  296. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -8
  297. package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
  298. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  299. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -6
  300. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +41 -48
  301. package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
  302. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +56 -57
  303. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +66 -67
  304. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +7 -10
  305. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
  306. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +80 -80
  307. package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
  308. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
  309. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
  310. package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
  311. package/dist/components/arcgis-charts-info-modal/customElement.js +7 -7
  312. package/dist/docs/api.json +1 -1
  313. package/dist/docs/docs.json +1 -1
  314. package/dist/docs/vscode.html-custom-data.json +1 -1
  315. package/dist/docs/web-types.json +1 -1
  316. package/dist/index.d.ts +61 -61
  317. package/dist/index.js +476 -463
  318. package/dist/interfaces.d.ts +9 -11
  319. package/dist/json-schema/index.d.ts +211 -6
  320. package/dist/loader.js +2 -2
  321. package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
  322. package/dist/model/box-plot-model/box-plot-model.d.ts +7 -1
  323. package/dist/model/chart-model/chart-model-base.d.ts +10 -0
  324. package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
  325. package/dist/model/chart-model/chart-model.d.ts +2 -1
  326. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +19 -7
  327. package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
  328. package/dist/model/interfaces/common.d.ts +0 -2
  329. package/dist/model/mixins/model-with-guides.d.ts +1 -1
  330. package/dist/model/mixins/model-with-line-marker-styling.d.ts +16 -7
  331. package/dist/model/mixins/model-with-multi-axes.d.ts +62 -99
  332. package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
  333. package/dist/model/pie-chart-model/pie-chart-model.d.ts +61 -2
  334. package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
  335. package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
  336. package/dist/model/properties/rounded-corners.d.ts +18 -0
  337. package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
  338. package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
  339. package/dist/model/shared/type-guards.d.ts +38 -22
  340. package/dist/spec/chart-object-literals.d.ts +1 -0
  341. package/dist/spec/data-source.d.ts +17 -3
  342. package/dist/spec/rest-js-types.d.ts +22 -8
  343. package/dist/spec/web-chart.d.ts +42 -6
  344. package/dist/types/lumina.d.ts +1 -1
  345. package/dist/types/preact.d.ts +1 -1
  346. package/dist/types/react.d.ts +1 -1
  347. package/dist/types/stencil.d.ts +3 -3
  348. package/dist/utils/chart-config/converter/index.js +210 -191
  349. package/dist/utils/chart-config/utils/index.d.ts +58 -8
  350. package/dist/utils/chart-config/validator/index.d.ts +1 -0
  351. package/dist/utils/chart-config/validator/interfaces.d.ts +4 -3
  352. package/dist/utils/components/interfaces.d.ts +2 -0
  353. package/dist/utils/cursor/interfaces.d.ts +21 -0
  354. package/dist/utils/data/categorical-data/index.d.ts +1 -1
  355. package/dist/utils/data/index.d.ts +28 -22
  356. package/dist/utils/data/interfaces.d.ts +4 -3
  357. package/dist/utils/defaults/index.d.ts +31 -6
  358. package/dist/utils/defaults/interfaces.d.ts +73 -4
  359. package/dist/utils/errors/index.d.ts +1 -1
  360. package/dist/utils/layer/index.d.ts +6 -3
  361. package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
  362. package/dist/utils/layer/interfaces.d.ts +2 -1
  363. package/dist/utils/layer/query-features/index.d.ts +8 -3
  364. package/dist/utils/layer/query-parser/index.d.ts +10 -6
  365. package/dist/utils/localization/interfaces.d.ts +8 -0
  366. package/dist/utils/misc/index.d.ts +2 -3
  367. package/dist/utils/misc/interfaces.d.ts +1 -0
  368. package/dist/utils/type-guards/chart-types.d.ts +10 -0
  369. package/dist/utils/type-guards/series-types.d.ts +9 -2
  370. package/dist/utils/types/index.d.ts +1 -5
  371. package/package.json +7 -8
  372. package/dist/cdn/24RLLXS6.js +0 -2
  373. package/dist/cdn/32FR66QO.js +0 -2
  374. package/dist/cdn/3EIVHDDK.js +0 -2
  375. package/dist/cdn/3NUNWPAR.js +0 -2
  376. package/dist/cdn/4ACX3XOE.js +0 -2
  377. package/dist/cdn/547RDEMV.js +0 -2
  378. package/dist/cdn/5YJNENER.js +0 -2
  379. package/dist/cdn/6AF2OTL6.js +0 -2
  380. package/dist/cdn/6C6AH4LL.js +0 -2
  381. package/dist/cdn/6CFIKYKR.js +0 -2
  382. package/dist/cdn/6GLTSMOR.js +0 -2
  383. package/dist/cdn/7OF2IANH.js +0 -2
  384. package/dist/cdn/7VN3A7S2.js +0 -2
  385. package/dist/cdn/7YWZG3ZS.js +0 -2
  386. package/dist/cdn/A5GIBV5W.js +0 -2
  387. package/dist/cdn/ADGMA3ST.js +0 -3
  388. package/dist/cdn/ADPDJISV.js +0 -2
  389. package/dist/cdn/AWKELFV6.js +0 -2
  390. package/dist/cdn/B4KAJRUJ.js +0 -2
  391. package/dist/cdn/BBUPTHPL.js +0 -2
  392. package/dist/cdn/BBURKBKE.js +0 -2
  393. package/dist/cdn/C2FOUUEM.js +0 -2
  394. package/dist/cdn/CBNT3DO7.js +0 -2
  395. package/dist/cdn/CJPEW4LJ.js +0 -142
  396. package/dist/cdn/CVU3UPPF.js +0 -2
  397. package/dist/cdn/CZ5XRXCE.js +0 -2
  398. package/dist/cdn/D73VV2AZ.js +0 -2
  399. package/dist/cdn/DF5P34HK.js +0 -2
  400. package/dist/cdn/DJACBOFO.js +0 -2
  401. package/dist/cdn/DPNTYHTH.js +0 -2
  402. package/dist/cdn/EGISZTGB.js +0 -2
  403. package/dist/cdn/EP34TF4L.js +0 -2
  404. package/dist/cdn/EZD3FBJU.js +0 -2
  405. package/dist/cdn/EZV7JSQJ.js +0 -2
  406. package/dist/cdn/FDFYTCDO.js +0 -2
  407. package/dist/cdn/G72TNKCS.js +0 -2
  408. package/dist/cdn/GQ5QBLRO.js +0 -2
  409. package/dist/cdn/HWJGWDU3.js +0 -2
  410. package/dist/cdn/HZR4NSZV.js +0 -2
  411. package/dist/cdn/IXRBZPQL.js +0 -2
  412. package/dist/cdn/JNNB2DIA.js +0 -2
  413. package/dist/cdn/JPPGHHIA.js +0 -2
  414. package/dist/cdn/JS2KOBA2.js +0 -2
  415. package/dist/cdn/JTTJ455Y.js +0 -2
  416. package/dist/cdn/JWO5WVTZ.js +0 -2
  417. package/dist/cdn/JWPAMNU4.js +0 -2
  418. package/dist/cdn/K4WI2SGM.js +0 -2
  419. package/dist/cdn/KCMZSNBL.js +0 -2
  420. package/dist/cdn/KLHZFPYK.js +0 -2
  421. package/dist/cdn/KVUFR34S.js +0 -2
  422. package/dist/cdn/LTQRSPSC.js +0 -2
  423. package/dist/cdn/MBVTB42G.js +0 -2
  424. package/dist/cdn/MRTKZZTF.js +0 -2
  425. package/dist/cdn/NNEDF6G4.js +0 -2
  426. package/dist/cdn/NSOZIR5F.js +0 -2
  427. package/dist/cdn/NTSTL3FK.js +0 -2
  428. package/dist/cdn/NZR4L5AA.js +0 -2
  429. package/dist/cdn/O5A25X5K.js +0 -2
  430. package/dist/cdn/OAAJ6CIN.js +0 -2
  431. package/dist/cdn/OGYY2Y22.js +0 -2
  432. package/dist/cdn/OJIUI56Z.js +0 -2
  433. package/dist/cdn/OSNA56IW.js +0 -4
  434. package/dist/cdn/P3YHDWG2.js +0 -2
  435. package/dist/cdn/P4HSSZRL.js +0 -2
  436. package/dist/cdn/PAIRUVLU.js +0 -2
  437. package/dist/cdn/PBWZYX5M.js +0 -58
  438. package/dist/cdn/PPGRM3VJ.js +0 -2
  439. package/dist/cdn/PRGFNLY7.js +0 -2
  440. package/dist/cdn/PRMN6W5R.js +0 -2
  441. package/dist/cdn/PROSIXIF.js +0 -2
  442. package/dist/cdn/Q5JDSPJA.js +0 -2
  443. package/dist/cdn/QJC3FDWG.js +0 -2
  444. package/dist/cdn/R75MHIRF.js +0 -2
  445. package/dist/cdn/RDA5NV6M.js +0 -2
  446. package/dist/cdn/RG3DO2OE.js +0 -2
  447. package/dist/cdn/RPNZL6AC.js +0 -2
  448. package/dist/cdn/S5UDCCRH.js +0 -2
  449. package/dist/cdn/SCAZDS2G.js +0 -2
  450. package/dist/cdn/SRPOC65M.js +0 -2
  451. package/dist/cdn/TCTQ4LMU.js +0 -2
  452. package/dist/cdn/TDHHWIIC.js +0 -2
  453. package/dist/cdn/THTYR6IL.js +0 -2
  454. package/dist/cdn/TJMPLGQI.js +0 -2
  455. package/dist/cdn/TJMTF45U.js +0 -3
  456. package/dist/cdn/U2CYVAIC.js +0 -102
  457. package/dist/cdn/U67P6YAZ.js +0 -2
  458. package/dist/cdn/UZEMSOA2.js +0 -2
  459. package/dist/cdn/VBHQFV2H.js +0 -2
  460. package/dist/cdn/VOTZAPI3.js +0 -2
  461. package/dist/cdn/VQU6N5HX.js +0 -2
  462. package/dist/cdn/VZTLODMQ.js +0 -2
  463. package/dist/cdn/W7X6L2OB.js +0 -127
  464. package/dist/cdn/WNKDEOFZ.js +0 -2
  465. package/dist/cdn/WPPMMVD5.js +0 -2
  466. package/dist/cdn/XCUXUZXY.js +0 -2
  467. package/dist/cdn/XG3WW5GG.js +0 -2
  468. package/dist/cdn/XJFVSX2E.js +0 -2
  469. package/dist/cdn/Y3CXVO2M.js +0 -2
  470. package/dist/cdn/YEZL5KRS.js +0 -2
  471. package/dist/cdn/YYK7SPXC.js +0 -2
  472. package/dist/cdn/ZS6EP5BD.js +0 -2
  473. package/dist/chunks/bar-chart-series.js +0 -15
  474. package/dist/chunks/index6.js +0 -66
  475. package/dist/chunks/time-zone.js +0 -38
  476. package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
  477. /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
  478. /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
@@ -1,13 +1,15 @@
1
1
  import type { DataOrderParameters } from "../../../chart-rendering/common/data/utils/summarize-data/interfaces.js";
2
+ import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
2
3
  import type { WebChartTypes, WebChartVersionStatus } from "../../../spec/chart-object-literals.js";
4
+ import type { WebChartBin, WebChartDataItem } from "../../../spec/data-source.js";
3
5
  import type { RESTSymbolType } from "../../../spec/rest-js-object-literals.js";
4
- import type { IField } from "../../../spec/rest-js-types.js";
5
- import type { WebBoxPlot, WebChart, WebChartLegend, WebChartSeriesType, WebHeatChart } from "../../../spec/web-chart.js";
6
+ import type { IField, ISimpleFillSymbol } from "../../../spec/rest-js-types.js";
7
+ import type { WebBoxPlot, WebChart, WebChartLegend, WebChartNullCategory, WebChartSeriesType, WebHeatChart } from "../../../spec/web-chart.js";
6
8
  import type { DataUpdateDetails } from "../../data/interfaces.js";
9
+ import type { ChartElementLimit } from "../../defaults/interfaces.js";
7
10
  import type { QueryObjectOrRaster as QueryObject } from "../../layer/interfaces.js";
8
11
  import type { ChartSubType, SelectionData } from "../../misc/interfaces.js";
9
12
  import type { WebChartSeriesSupportingTemporalBinning } from "./interfaces.js";
10
- import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
11
13
 
12
14
  /**
13
15
  * Retrieve and construct chart version information based on the input version and the currently supported ArcGIS Chart versions
@@ -87,7 +89,7 @@ export function getSplitByValue(props: {
87
89
  * @param where
88
90
  * @internal
89
91
  */
90
- export function isAbsoluteTruthWhereClause(where?: string): boolean;
92
+ export function isAbsoluteTruthWhereClause(where?: number | string): boolean;
91
93
 
92
94
  /**
93
95
  * Normalizes a where clause, by escaping the "'" character and other special characters if needed.
@@ -95,6 +97,7 @@ export function isAbsoluteTruthWhereClause(where?: string): boolean;
95
97
  * - where = "field = 5" => returns "field = 5"
96
98
  * - where = "field = 'value'" => returns "field = 'value'"
97
99
  * - where = "field = 'va'lue'" => returns "field = 'va''lue'"
100
+ * - where = "field = null => returns "field IS NULL"
98
101
  *
99
102
  * @param props - the where clause to normalize
100
103
  * @internal
@@ -128,6 +131,35 @@ export function getBoxPlotChartSubType(seriesConfig: WebChartSeriesType[]): Char
128
131
  */
129
132
  export function getChartSubType(series?: WebChartSeriesType[]): ChartSubType;
130
133
 
134
+ /**
135
+ * A function to determine whether the scatterplot is aggregated.
136
+ * It can use a map of statistics containing the number of points (computed from the data side) or
137
+ * a data context object usually stored within each marker.
138
+ *
139
+ * @param props - an optional map of statistics
140
+ * @returns A boolean indicating whether the scatterplot is aggregated
141
+ * @internal
142
+ */
143
+ export function isScatterplotAggregated(props: {
144
+ statsMap?: Map<string, number>;
145
+ dataContext?: WebChartDataItem;
146
+ chartLimits?: ChartElementLimit;
147
+ }): boolean;
148
+
149
+ /**
150
+ * A function to determine whether a chart is aggregated.
151
+ * Supports scatterplot, bar, line, combo, and pie chart. Defaults to true for the other types of chart.
152
+ *
153
+ * @param props - An optional data context object
154
+ * @returns A boolean indicating whether the chart is aggregated
155
+ * @internal
156
+ */
157
+ export function isChartAggregated(props: {
158
+ dataContext?: WebChartBin | WebChartDataItem;
159
+ chartConfig: WebChart;
160
+ chartLimits?: ChartElementLimit;
161
+ }): boolean;
162
+
131
163
  /**
132
164
  * Indicates whether the bar or line series is configured to use time binning.
133
165
  *
@@ -414,10 +446,10 @@ export function doesConfigChangeRequireNewData(props: {
414
446
  previousSelectionOIDs?: (number | string)[];
415
447
  fieldList?: IField[];
416
448
  queryObject?: QueryObject;
417
- filterBySelection?: ChartOptions["filterBySelection"];
449
+ filterBySelection?: boolean;
418
450
  selectionData?: ChartOptions["selectionData"];
419
- setTimeBinningInfoWhenNotProvided?: ChartOptions["setTimeBinningInfoWhenNotProvided"];
420
- chartLimits?: ChartOptions["chartLimits"];
451
+ setTimeBinningInfoWhenNotProvided?: boolean;
452
+ chartLimits?: ChartElementLimit;
421
453
  }): {
422
454
  dataUpdateNeeded: boolean;
423
455
  dataUpdateDetails: DataUpdateDetails;
@@ -440,6 +472,7 @@ export function sortConfigSeries<T extends WebChart | undefined>(chartConfig: T,
440
472
  * This allows x and y category lists to be ordered independently from the flattened cell data traversal.
441
473
  *
442
474
  * @param props - The chart config containing the heat-chart multi-axis sort instructions
475
+ * @internal
443
476
  */
444
477
  export function getHeatChartAxisDataOrderInstruction(props: {
445
478
  chartConfig: WebHeatChart;
@@ -451,6 +484,7 @@ export function getHeatChartAxisDataOrderInstruction(props: {
451
484
  *
452
485
  * @param chartConfig - The chart configuration
453
486
  * @returns An array of objects with sortingField, optionally an orderBy and preferLabel, or undefined.
487
+ * @internal
454
488
  */
455
489
  export function getDataOrderParameters(chartConfig: WebChart | undefined): DataOrderParameters[] | undefined;
456
490
 
@@ -459,9 +493,25 @@ export function getDataOrderParameters(chartConfig: WebChart | undefined): DataO
459
493
  * the data update is needed.
460
494
  *
461
495
  * @param props - The previous chart config
496
+ * @internal
462
497
  */
463
498
  export function isNewSortNeeded(props: {
464
499
  oldConfig: WebChart | undefined;
465
500
  newConfig: WebChart;
466
501
  dataWasUpdated: boolean;
467
- }): boolean;
502
+ }): boolean;
503
+
504
+ /**
505
+ * Returns the fill symbol for the null category, if defined.
506
+ *
507
+ * @param nullCategory - The null category object
508
+ * @internal
509
+ */
510
+ export function getNullCategoryFillSymbol(nullCategory?: WebChartNullCategory): ISimpleFillSymbol | undefined;
511
+
512
+ /**
513
+ * Get the text for null category if it is supported and defined in the chart config
514
+ *
515
+ * @param chartConfig - chartConfig
516
+ */
517
+ export function getNullCategoryText(chartConfig?: WebChart): string | undefined;
@@ -9,6 +9,7 @@ import type { WebChart, WebGaugeChart } from "../../../spec/web-chart.js";
9
9
  * - `Errors`: Violations in the config with regard to the JSON schema.
10
10
  * - `Warnings`: Undesired combinations in the config which don't violate the JSON schema but should still be blocked.
11
11
  *
12
+ * @deprecated since 5.1. Won't be replaced.
12
13
  * @param props - The input config, the query object and whether to allow using the object id field as a statistic field.
13
14
  * @returns The validation status.
14
15
  */
@@ -28,9 +28,9 @@ export interface CustomErrorObject {
28
28
  }
29
29
 
30
30
  /**
31
- * Validation Status interface which described the validity of the input WebChart config
31
+ * Validation Status interface which described the validity of the input WebChart config.
32
32
  *
33
- * @internal
33
+ * @deprecated since 5.1. Won't be replaced.
34
34
  */
35
35
  export interface ValidationStatus {
36
36
  valid: boolean;
@@ -55,6 +55,7 @@ export const ConfigErrorKeywords: {
55
55
  export const DataWarningKeywords: {
56
56
  readonly BadData: "badData";
57
57
  readonly EmptyDataSet: "emptyDataSet";
58
+ readonly NoValue: "noValue";
58
59
  readonly InvalidConfig: "invalidConfig";
59
60
  readonly HistogramEmptyField: "histogramEmptyField";
60
61
  readonly BarElementExceedsLimit: "barElementExceedsLimit";
@@ -64,6 +65,7 @@ export const DataWarningKeywords: {
64
65
  readonly HeatChartExceedsLimit: "heatChartExceedsLimit";
65
66
  readonly PieChartExceedsLimit: "pieChartExceedsLimit";
66
67
  readonly GaugeExceedsLimit: "gaugeExceedsLimit";
68
+ readonly RadarChartExceedsLimit: "radarChartExceedsLimit";
67
69
  readonly PieChartMixOfNegativePositiveSlices: "PieChartMixOfNegativePositiveSlices";
68
70
  readonly NegativeValueInSqrtCalculation: "negativeValueInSqrtCalculation";
69
71
  readonly NegativeValueInLogCalculation: "negativeValueInLogCalculation";
@@ -80,7 +82,6 @@ export interface ElementCountExceededParams {
80
82
  seriesLimit?: number;
81
83
  }
82
84
 
83
- /** @internal */
84
85
  export interface DataWarningObject {
85
86
  keyword: DataWarningKeywords;
86
87
  header?: string;
@@ -8,6 +8,8 @@ export interface MissingSplitBySeriesProps {
8
8
  export const DownloadableChartImagesTypes: {
9
9
  readonly PNG: "png";
10
10
  readonly JPEG: "jpeg";
11
+ readonly JPG: "jpg";
12
+ readonly WEBP: "webp";
11
13
  readonly SVG: "svg";
12
14
  };
13
15
 
@@ -1,3 +1,14 @@
1
+ /**
2
+ * Specifies how user interactions on the chart are handled.
3
+ *
4
+ * - `monoSelection`: Select one data point or series at a time. Each new selection replaces the previous selection.
5
+ * - `multiSelection`: Select multiple data points or series. Each new selection is added to the existing selection.
6
+ * - `multiSelectionWithCtrlKey`: Select multiple data points or series only while holding Ctrl (or Cmd on macOS). Without the key, selection behaves like `monoSelection`.
7
+ * - `zoom`: Zoom into an area of the chart.
8
+ * - `none`: Disable interaction-driven selection and zoom actions.
9
+ *
10
+ * **Note**: Not applicable to gauges.
11
+ */
1
12
  export const ActionModes: {
2
13
  readonly MonoSelection: "monoSelection";
3
14
  readonly MultiSelection: "multiSelection";
@@ -8,6 +19,16 @@ export const ActionModes: {
8
19
 
9
20
  export type ActionModes = (typeof ActionModes)[keyof typeof ActionModes];
10
21
 
22
+ /**
23
+ * Defines how the cursor selection rectangle is constrained when `actionMode` is `zoom`, `multiSelection`, or `multiSelectionWithCtrlKey`.
24
+ *
25
+ * - `multi-axes`: Allows drawing a free rectangle across both axes.
26
+ * - `x-axis`: Constrains the rectangle to the x-axis direction.
27
+ * - `y-axis`: Constrains the rectangle to the y-axis direction.
28
+ * - `undefined`: Uses the default behavior for the current chart type and action mode.
29
+ *
30
+ * **Note**: Not applicable to gauges.
31
+ */
11
32
  export const CursorRange: {
12
33
  readonly MultiAxes: "multi-axes";
13
34
  readonly XAxis: "x-axis";
@@ -5,7 +5,7 @@ import type { AbortControllerKeyType } from "../../layer/query-features/interfac
5
5
  import type { ErrorStrings } from "../../localization/interfaces.js";
6
6
 
7
7
  /**
8
- * Fetches the unique values from a given field.
8
+ * Fetches the unique values from a given field and the number of features associated to each one of them.
9
9
  * /!\ Currently the results for a same split-by field might differ from a category field to another.
10
10
  * This is due to the server not being able to make a distinction in some cases between values having for
11
11
  * only difference trailing spaces (e.g. `value` and `value ` and `value `). It means it will aggregate the
@@ -1,7 +1,8 @@
1
1
  import type { ChartOptions } from "../../chart-rendering/common/interfaces.js";
2
2
  import type { WebChartStatisticType } from "../../spec/chart-object-literals.js";
3
3
  import type { WebChartBin, WebChartDataItem, WebChartDataTypes } from "../../spec/data-source.js";
4
- import type { WebChart, WebChartSeriesType, WebGaugeChart } from "../../spec/web-chart.js";
4
+ import type { WebChart, WebChartDataFilters, WebChartSeriesType, WebGaugeChart } from "../../spec/web-chart.js";
5
+ import type { ChartElementLimit } from "../defaults/interfaces.js";
5
6
  import type { QueryObject } from "../layer/interfaces.js";
6
7
  import type { ErrorStrings } from "../localization/interfaces.js";
7
8
  import type { ChartSubType } from "../misc/interfaces.js";
@@ -100,6 +101,7 @@ export function validateBarNLineChartDataItem(props: {
100
101
  x: string;
101
102
  y: string;
102
103
  nullAsValid?: boolean;
104
+ zeroCountAsValid?: boolean;
103
105
  aggregationType?: WebChartStatisticType;
104
106
  }): boolean;
105
107
 
@@ -113,6 +115,7 @@ export function validateBarNLineChartDataItem(props: {
113
115
  export function isEmptyDataset(props: {
114
116
  chartConfig?: WebChart | WebGaugeChart;
115
117
  nullAsValid?: boolean;
118
+ zeroCountAsValid?: boolean;
116
119
  dataSet?: WebChartDataItem[];
117
120
  }): boolean;
118
121
 
@@ -158,10 +161,11 @@ export function getDataMinMaxFromSeries(props: {
158
161
  * Get the series id related to the given axis (useful in dual axis mode).
159
162
  *
160
163
  * @param props - The chart configuration
164
+ * @internal
161
165
  */
162
166
  export function getAxisSeriesIds(props: {
163
167
  chartConfig: WebChart;
164
- isSecondValueAxis?: boolean;
168
+ isSecondaryYAxis?: boolean;
165
169
  seriesIds?: string[];
166
170
  }): string[] | undefined;
167
171
 
@@ -183,6 +187,7 @@ export function whetherLogScaleIsDataCompatible(props: {
183
187
  *
184
188
  * @param modifiedData - The data to revert
185
189
  * @param seriesConfig - The series config
190
+ * @internal
186
191
  */
187
192
  export function revertPieFromFieldsProperties<T extends WebChartDataItem[] | WebChartDataTypes>(modifiedData: T, seriesConfig?: WebChart["series"]): T;
188
193
 
@@ -193,6 +198,7 @@ export function revertPieFromFieldsProperties<T extends WebChartDataItem[] | Web
193
198
  *
194
199
  * @param data - The data containing modified x or y values
195
200
  * @param seriesConfig - The series config
201
+ * @internal
196
202
  */
197
203
  export function revertOriginalXAndYValues<T extends WebChartDataItem[] | WebChartDataTypes>(data: T, seriesConfig?: WebChart["series"]): T;
198
204
 
@@ -201,6 +207,7 @@ export function revertOriginalXAndYValues<T extends WebChartDataItem[] | WebChar
201
207
  *
202
208
  * @param dataItem - The data item to sanitize
203
209
  * @returns The sanitized data item
210
+ * @internal
204
211
  */
205
212
  export function removeAdditionalStatisticsPerItem(dataItem: WebChartDataItem): WebChartDataItem;
206
213
 
@@ -210,6 +217,7 @@ export function removeAdditionalStatisticsPerItem(dataItem: WebChartDataItem): W
210
217
  * @param data - The data set to modify
211
218
  * @param seriesConfig - The series config
212
219
  * @returns The sanitized data
220
+ * @internal
213
221
  */
214
222
  export function removeAdditionalStatistics(data: WebChartDataTypes, seriesConfig: WebChartSeriesType[]): WebChartDataTypes;
215
223
 
@@ -227,6 +235,7 @@ export function roundToDecimals(num: number, dec: number): number;
227
235
  * The point is to send meaningful data to the user through events or the `chartWillRender()` function.
228
236
  *
229
237
  * @param props - The data to sanitize
238
+ * @internal
230
239
  */
231
240
  export function sanitizeData(props: {
232
241
  data?: WebChartDataTypes;
@@ -234,10 +243,10 @@ export function sanitizeData(props: {
234
243
  }): WebChartDataTypes | undefined;
235
244
 
236
245
  /**
237
- * Fetches data from a list of OIDs. If the chart is non aggregated we directly read the OIDs stored in the data context,
238
- * and if the chart is aggregated we perform queries to fetch the data.
246
+ * Fetches data from a list of OIDs. If the ids are stored within the chart's data we directly use them, otherwise we perform queries to find the matching data items.
239
247
  *
240
248
  * @param props - A snapshot of the updated props, used to determine whether the selection OIDs have changed
249
+ * @internal
241
250
  */
242
251
  export function getSelectionItemsFromOIDs(props: {
243
252
  chartData?: WebChartDataTypes;
@@ -245,27 +254,24 @@ export function getSelectionItemsFromOIDs(props: {
245
254
  queryObject: QueryObject;
246
255
  dataWasUpdated?: boolean;
247
256
  selectionData?: ChartOptions["selectionData"];
248
- replaceNoValueCategoryWithZero?: ChartOptions["replaceNoValueCategoryWithZero"];
249
- hideZeroCountCategories?: ChartOptions["hideZeroCountCategories"];
250
- chartLimits?: ChartOptions["chartLimits"];
251
- setTimeBinningInfoWhenNotProvided?: ChartOptions["setTimeBinningInfoWhenNotProvided"];
252
- returnFeaturesExtent?: ChartOptions["returnFeaturesExtent"];
253
- popupTemplateFieldInfosEnabled?: ChartOptions["popupTemplateFieldInfosEnabled"];
257
+ replaceNoValueCategoryWithZero?: boolean;
258
+ hideZeroCountCategories?: boolean;
259
+ chartLimits?: ChartElementLimit;
260
+ setTimeBinningInfoWhenNotProvided?: boolean;
261
+ returnFeaturesExtent?: boolean;
262
+ popupTemplateFieldInfosEnabled?: boolean;
254
263
  view?: ChartOptions["view"];
255
264
  viewExtentUpdated?: ChartOptions["viewExtentUpdated"];
256
- returnSelectionOIDs?: ChartOptions["returnSelectionOIDs"];
257
- runtimeDataFilters?: ChartOptions["runtimeDataFilters"];
258
- ignoreViewExtent?: ChartOptions["ignoreViewExtent"];
265
+ returnSelectionOIDs?: boolean | undefined;
266
+ runtimeDataFilters?: WebChartDataFilters;
267
+ ignoreViewExtent?: boolean;
259
268
  errorStrings: ErrorStrings;
260
269
  selectionIDsChanged: boolean;
261
270
  }): Promise<WebChartDataItem[] | undefined>;
262
271
 
263
- export const dataPrivateFunctions: {
264
- shouldCheckDataMinMaxForLogScaleOnXAxis: (chartConfig?: WebChart | undefined) => boolean;
265
- minMaxHasZeroOrNegativeValues: (min?: number | undefined, max?: number | undefined) => boolean;
266
- isChartWithZeroOrNegativeValues: (props: {
267
- chartConfig: WebChart;
268
- chartData: Array<WebChartDataItem> | Array<WebChartBin>;
269
- axisConfigIndex: number;
270
- }) => boolean;
271
- };
272
+ /**
273
+ * Indicates whether a data array is a WebChartBin[].
274
+ *
275
+ * @param data - The data array to test
276
+ */
277
+ export function isWebChartBinArray(data: WebChartBin[] | WebChartDataItem[]): data is WebChartBin[];
@@ -1,4 +1,3 @@
1
- import type { GaugeMinMaxFromData } from "../../chart-rendering/common/interfaces.js";
2
1
  import type { WebChartDataTypes } from "../../spec/data-source.js";
3
2
  import type { WebChartQuery } from "../../spec/web-chart.js";
4
3
  import type { DataWarningKeywords } from "../chart-config/validator/interfaces.js";
@@ -19,7 +18,6 @@ export interface DataInfo {
19
18
  count?: number;
20
19
  data?: WebChartDataTypes;
21
20
  queryConfig?: WebChartQuery;
22
- gaugeMinMaxFromData?: GaugeMinMaxFromData;
23
21
  }
24
22
 
25
23
  /** @internal */
@@ -65,7 +63,10 @@ export interface DataUpdateDetails {
65
63
  valueFormatChangeRequiresNewData?: boolean;
66
64
  };
67
65
  histogram?: { dataPropsChanged?: boolean; };
68
- gauge?: { valueConversionChanged?: boolean; };
66
+ gauge?: {
67
+ valueConversionChanged?: boolean;
68
+ minMaxFromFieldsChanged?: boolean;
69
+ };
69
70
  boxPlot?: { showMeanChanged?: boolean; };
70
71
  heatChart?: {
71
72
  binningChanged?: boolean;
@@ -2,12 +2,11 @@ import type { WebChartStackedKinds, WebChartTypes } from "../../spec/chart-objec
2
2
  import type { Color, IFont, ISimpleFillSymbol, ISimpleLineSymbol, ISimpleMarkerSymbol } from "../../spec/rest-js-types.js";
3
3
  import type { CategoryFormatOptions, DateTimeFormatOptions, HistogramOverlays, NumberFormatOptions, ScatterplotOverlays, SizePolicy, WebBoxPlot, WebChart, WebChartAxis, WebChartBarChartSeries, WebChartBoxPlotSeries, WebChartCursorCrosshair, WebChartGaugeAxis, WebChartGaugeSeries, WebChartHeatChartSeries, WebChartHistogramSeries, WebChartLegend, WebChartLineChartSeries, WebChartNeedle, WebChartOverlay, WebChartPieChartSeries, WebChartPieChartTick, WebChartRadarChartSeries, WebChartScatterplotSeries, WebChartText, WebChartTextSymbol, WebGaugeChart, WebHeatChart } from "../../spec/web-chart.js";
4
4
  import type { CommonStrings } from "../localization/interfaces.js";
5
- import type { ChartElementLimit, ChartElementTechnicalLimit, ChartTextProps, QueryDefaults, TextElements } from "./interfaces.js";
5
+ import type { ChartElementLimit, ChartElementTechnicalLimit, ChartTextProps, GaugeChartDefaults, QueryDefaults, TextElements } from "./interfaces.js";
6
6
 
7
7
  /** @internal */
8
8
  export const histogramBinCount: 32;
9
9
 
10
- /** @internal */
11
10
  export const featuresExtentField: "arcgis_charts_features_extent";
12
11
 
13
12
  /** @internal */
@@ -56,12 +55,22 @@ export const defaultHeatChartFields: {
56
55
  yField: string;
57
56
  };
58
57
 
58
+ /** @internal */
59
+ export const isHeatChartEmptyCell: "arcgis_charts_heat_chart_empty_cell";
60
+
59
61
  /** @internal */
60
62
  export const defaultHeatChartNumberOfBreaks: {
61
63
  min: number;
62
64
  max: number;
63
65
  };
64
66
 
67
+ export const gaugeDefaults: GaugeChartDefaults;
68
+
69
+ export const gaugeSpecialIds: {
70
+ gaugeFirstLabelId: string;
71
+ gaugeLastLabelId: string;
72
+ };
73
+
65
74
  /**
66
75
  * default color set from Pro
67
76
  *
@@ -450,7 +459,7 @@ export function getDefaultHistogramOverlays(): Required<HistogramOverlays>;
450
459
  export function getDefaultHistogramSymbol(): ISimpleFillSymbol;
451
460
 
452
461
  /** @internal */
453
- export function getDefaultHistogramSeries(): Omit<Required<WebChartHistogramSeries>, "dataTooltipDateFormat" | "dataTooltipPercentFormat" | "dataTooltipValueFormat" | "query">;
462
+ export function getDefaultHistogramSeries(): Omit<Required<WebChartHistogramSeries>, "dataTooltipDateFormat" | "dataTooltipFontSize" | "dataTooltipPercentFormat" | "dataTooltipValueFormat" | "query">;
454
463
 
455
464
  /**
456
465
  * @param commonStrings
@@ -459,14 +468,27 @@ export function getDefaultHistogramSeries(): Omit<Required<WebChartHistogramSeri
459
468
  */
460
469
  export function getDefaultHistogram(commonStrings: CommonStrings, id?: string): WebChart;
461
470
 
471
+ /** @internal */
472
+ export type RequiredChartElementLimit = Required<ChartElementLimit>
473
+ & {
474
+ serialChart: Required<ChartElementLimit["serialChart"]>;
475
+ boxPlot: Required<ChartElementLimit["boxPlot"]>;
476
+ heatChart: Required<ChartElementLimit["heatChart"]>;
477
+ pieChart: Required<ChartElementLimit["pieChart"]>;
478
+ scatterplot: Required<ChartElementLimit["scatterplot"]>;
479
+ gauge: Required<ChartElementLimit["gauge"]>;
480
+ };
481
+
462
482
  /**
463
483
  * Returns a list of render limitations, mainly set for performance reasons. They can be overridden through the chart options,
464
484
  * or let as defaults.
485
+ * The utility type 'Required' only affects the top-level properties so we need to specify a more complex return type to make
486
+ * sure all the nested properties are set.
465
487
  *
466
- * @param customizedLimits
488
+ * @param customizedLimits - Customized limits to override the default ones
467
489
  * @internal
468
490
  */
469
- export function getChartLimits(customizedLimits?: ChartElementLimit): Required<ChartElementLimit>;
491
+ export function getChartLimits(customizedLimits?: ChartElementLimit): RequiredChartElementLimit;
470
492
 
471
493
  /**
472
494
  * Returns a list of technical limitations, mainly to the size of large queries.
@@ -524,4 +546,7 @@ export const defaultColorForBoxPlotWithMeanLines: Color;
524
546
  export const percentageSuffix: " percentage ";
525
547
 
526
548
  /** @internal */
527
- export const heatChartFirstDayOfWeek: 7;
549
+ export const heatChartFirstDayOfWeek: 7;
550
+
551
+ /** @internal */
552
+ export const defaultCornerRadius: 5;
@@ -7,33 +7,97 @@ export const LimitBehavior: {
7
7
 
8
8
  export type LimitBehavior = (typeof LimitBehavior)[keyof typeof LimitBehavior];
9
9
 
10
+ export interface SerialChartLimit {
11
+ series?: number;
12
+ elements?: number;
13
+ categories?: number;
14
+ }
15
+
10
16
  export interface ChartElementLimit {
11
17
  behaviorAfterLimit?: LimitBehavior;
18
+ /** @deprecated since 5.2. Use [serialChart.categories](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
12
19
  maxCategoryCount?: number;
20
+ /** @deprecated since 5.2. Use [serialChart.series](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
13
21
  maxBarChartSeriesCount?: number;
22
+ /** @deprecated since 5.2. Use [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
14
23
  maxBarUniqueSeriesCountTotal?: number;
24
+ /** @deprecated since 5.2. Won't be directly replaced. Use [serialChart.categories](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) or [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
15
25
  maxBarTwoSeriesCountPerSeries?: number;
26
+ /** @deprecated since 5.2. Use [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
16
27
  maxBarTwoSeriesCountTotal?: number;
28
+ /** @deprecated since 5.2. Won't be directly replaced. Use [serialChart.categories](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) or [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
17
29
  maxBarThreePlusSeriesCountPerSeries?: number;
30
+ /** @deprecated since 5.2. Use [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
18
31
  maxBarThreePlusSeriesCountTotal?: number;
19
- maxScatterPointsBeforeAggregation?: number;
20
- maxScatterPointsAfterAggregation?: number;
32
+ /** @deprecated since 5.2. Use [serialChart.series](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
21
33
  maxLineChartSeriesCount?: number;
34
+ /** @deprecated since 5.2. Use [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
22
35
  maxLineUniqueSeriesCountTotal?: number;
36
+ /** @deprecated since 5.2. Won't be directly replaced. Use [serialChart.categories](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) or [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
23
37
  maxLineTwoSeriesCountPerSeries?: number;
38
+ /** @deprecated since 5.2. Use [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
24
39
  maxLineTwoSeriesCountTotal?: number;
40
+ /** @deprecated since 5.2. Won't be directly replaced. Use [serialChart.categories](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) or [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
25
41
  maxLineThreePlusSeriesCountPerSeries?: number;
42
+ /** @deprecated since 5.2. Use [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
26
43
  maxLineThreePlusSeriesCountTotal?: number;
44
+ /** @deprecated since 5.2. Use [serialChart.series](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
45
+ maxRadarChartSeriesCount?: number;
46
+ /** @deprecated since 5.2. Use [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
47
+ maxRadarUniqueSeriesCountTotal?: number;
48
+ /** @deprecated since 5.2. Use [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
49
+ maxRadarTwoSeriesCountTotal?: number;
50
+ /** @deprecated since 5.2. Won't be directly replaced. Use [serialChart.categories](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) or [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
51
+ maxRadarTwoSeriesCountPerSeries?: number;
52
+ /** @deprecated since 5.2. Use [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
53
+ maxRadarThreePlusSeriesCountTotal?: number;
54
+ /** @deprecated since 5.2. Won't be directly replaced. Use [serialChart.categories](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) or [serialChart.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart) instead. */
55
+ maxRadarThreePlusSeriesCountPerSeries?: number;
56
+ /** @deprecated since 5.2. Use [scatterplot.aggregationThreshold](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-scatterplot) instead. */
57
+ maxScatterPointsBeforeAggregation?: number;
58
+ /** @deprecated since 5.2. Use [scatterplot.pointsAfterAggregation](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-scatterplot) instead. */
59
+ maxScatterPointsAfterAggregation?: number;
60
+ /** @deprecated since 5.2. Use [pieChart.slices](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-pieChart) instead. */
27
61
  maxPieChartSliceCountTotal?: number;
62
+ /** @deprecated since 5.2. Use [gauge.features](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-gauge) instead. */
28
63
  maxGaugeByFeaturesLimit?: number;
64
+ /** @deprecated since 5.2. Use [boxPlot.series](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-boxPlot) instead. */
29
65
  maxBoxPlotSeriesCount?: number;
66
+ /** @deprecated since 5.2. Use [boxPlot.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-boxPlot) instead. */
30
67
  maxBoxUniqueSeriesCountTotal?: number;
68
+ /** @deprecated since 5.2. Use [boxPlot.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-boxPlot) instead. */
31
69
  maxBoxTwoSeriesCountTotal?: number;
70
+ /** @deprecated since 5.2. Won't be directly replaced. Use [boxPlot.categories](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-boxPlot) or [boxPlot.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-boxPlot) instead. */
32
71
  maxBoxTwoSeriesCountPerSeries?: number;
72
+ /** @deprecated since 5.2. Use [boxPlot.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-boxPlot) instead. */
33
73
  maxBoxThreePlusSeriesCountTotal?: number;
74
+ /** @deprecated since 5.2. Won't be directly replaced. Use [boxPlot.categories](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-boxPlot) or [boxPlot.elements](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-boxPlot) instead. */
34
75
  maxBoxThreePlusSeriesCountPerSeries?: number;
76
+ /** @deprecated since 5.2. Use [boxPlot.outliers](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-boxPlot) instead. */
35
77
  maxBoxPlotOutlierLimit?: number;
78
+ /** @deprecated since 5.2. Use [heatChart.cells](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-heatChart) instead. */
36
79
  maxHeatChartCellLimit?: number;
80
+ /**
81
+ * Applies to charts that can have multiple series: bar chart, line chart, combo bar-line chart and radar chart.
82
+ *
83
+ * Box plot also can have multiple series but it has its own [boxPlot](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-boxPlot) property.
84
+ *
85
+ * @since 5.2
86
+ */
87
+ serialChart?: SerialChartLimit;
88
+ /** @since 5.2 */
89
+ boxPlot?: SerialChartLimit & { outliers?: number; };
90
+ /** @since 5.2 */
91
+ heatChart?: { cells?: number; };
92
+ /** @since 5.2 */
93
+ scatterplot?: {
94
+ aggregationThreshold?: number;
95
+ markersAfterAggregation?: number;
96
+ };
97
+ /** @since 5.2 */
98
+ pieChart?: { slices?: number; };
99
+ /** @since 5.2 */
100
+ gauge?: { features?: number; };
37
101
  }
38
102
 
39
103
  export interface ChartElementTechnicalLimit {
@@ -50,7 +114,7 @@ export interface QueryDefaults {
50
114
  maxParallelRequests: number;
51
115
  maxRecords: number;
52
116
  outStatistics: Readonly<IStatisticDefinition>;
53
- uniqueIdsName: number | string;
117
+ uniqueIds: string;
54
118
  orderByJSAPIDelimiter: string;
55
119
  heatChartLowerBoundaryAlias: string;
56
120
  heatChartUpperBoundaryAlias: string;
@@ -79,4 +143,9 @@ export const TextElements: {
79
143
  };
80
144
 
81
145
  /** @internal */
82
- export type TextElements = (typeof TextElements)[keyof typeof TextElements];
146
+ export type TextElements = (typeof TextElements)[keyof typeof TextElements];
147
+
148
+ export interface GaugeChartDefaults {
149
+ axisMinimum: number;
150
+ axisMaximum: number;
151
+ }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Class that enhances the debugging and error handling process. Rather than returning a generic [JavaScript
3
- * error](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error), this class returns a standardized error object with several properties.
3
+ * error](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error), this class returns a standardized error object with several properties.
4
4
  */
5
5
  export class ArcgisChartsError<T = any> extends Error {
6
6
  /** Creates a new `ArcgisChartsError` instance. */
@@ -1,14 +1,14 @@
1
- import type Extent from "@arcgis/core/geometry/Extent.js";
2
1
  import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
3
2
  import type ImageryLayer from "@arcgis/core/layers/ImageryLayer.js";
4
3
  import type ImageryTileLayer from "@arcgis/core/layers/ImageryTileLayer.js";
5
4
  import type Layer from "@arcgis/core/layers/Layer.js";
6
- import type WCSLayer from "@arcgis/core/layers/WCSLayer.js";
7
5
  import type CodedValueDomain from "@arcgis/core/layers/support/CodedValueDomain.js";
6
+ import type WCSLayer from "@arcgis/core/layers/WCSLayer.js";
8
7
  import type Renderer from "@arcgis/core/renderers/Renderer.js";
9
8
  import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
10
9
  import type MapView from "@arcgis/core/views/MapView.js";
11
10
  import type SceneView from "@arcgis/core/views/SceneView.js";
11
+ import type { ChartOptions } from "../../chart-rendering/common/interfaces.js";
12
12
  import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
13
13
  import type { IFeatureLayer, IField, IImageServiceLayer, ITiledImageServiceLayer, IWCSLayer } from "../../spec/rest-js-types.js";
14
14
  import type { WebChart, WebChartDataFilters, WebChartQuery } from "../../spec/web-chart.js";
@@ -187,6 +187,7 @@ export function getFieldCodedValueDomain(queryObject: QueryObject, field?: strin
187
187
  *
188
188
  * @param fieldValue - The field value to get the description for
189
189
  * @param domain - The domain of the field
190
+ * @internal
190
191
  */
191
192
  export function getFieldDescriptionFromDomain(fieldValue: number | string, domain?: CodedValueDomain): string | undefined;
192
193
 
@@ -194,6 +195,7 @@ export function getFieldDescriptionFromDomain(fieldValue: number | string, domai
194
195
  * Get the field description from the query object given a field name and a field value.
195
196
  *
196
197
  * @param props - The query object (layer or feature layer view)
198
+ * @internal
197
199
  */
198
200
  export function getFieldDescriptionFromQueryObject(props: {
199
201
  queryObject: QueryObjectOrRaster;
@@ -273,8 +275,9 @@ export function buildQueryConfig(props: {
273
275
  queryObject?: QueryObjectOrRaster;
274
276
  chartConfig: WebChart;
275
277
  runtimeDataFilters?: WebChartDataFilters;
278
+ filterByViewExtent?: boolean;
276
279
  ignoreViewExtent?: boolean;
277
- viewExtent?: Extent;
280
+ view?: ChartOptions["view"];
278
281
  }): WebChartQuery;
279
282
 
280
283
  /**