@arcgis/charts-components 5.2.0-next.1 → 5.2.0-next.100

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 (489) hide show
  1. package/LICENSE.md +4 -2
  2. package/README.md +2 -2
  3. package/dist/cdn/225VUGML.js +4 -0
  4. package/dist/cdn/22V4YZLT.js +2 -0
  5. package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
  6. package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
  7. package/dist/cdn/{G6OHBBUT.js → 2INZEFXR.js} +1 -1
  8. package/dist/cdn/{I5VHQW7B.js → 2OAB6VMZ.js} +1 -1
  9. package/dist/cdn/2RSKVWTZ.js +2 -0
  10. package/dist/cdn/{NFDXH5B3.js → 2TNZTI5Q.js} +1 -1
  11. package/dist/cdn/{VY3KBD6N.js → 2YDNWOWT.js} +1 -1
  12. package/dist/cdn/{TSI3C3OV.js → 3DGX6WFJ.js} +1 -1
  13. package/dist/cdn/3NLKE6ZN.js +2 -0
  14. package/dist/cdn/{CODAXMWM.js → 3W64DBHG.js} +1 -1
  15. package/dist/cdn/3XSL5VPN.js +2 -0
  16. package/dist/cdn/{Y7HBWU3M.js → 3ZKNY2GI.js} +1 -1
  17. package/dist/cdn/42FKRE56.js +2 -0
  18. package/dist/cdn/42PLGMOG.js +2 -0
  19. package/dist/cdn/455LSMAU.js +2 -0
  20. package/dist/cdn/4A4EW5Z5.js +2 -0
  21. package/dist/cdn/4DR6JUR7.js +104 -0
  22. package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
  23. package/dist/cdn/4U63XRSZ.js +2 -0
  24. package/dist/cdn/{O6SNP6QE.js → 4YKB2PME.js} +1 -1
  25. package/dist/cdn/{3V4HRXIT.js → 5BZCHVPD.js} +1 -1
  26. package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
  27. package/dist/cdn/5GDVKAX5.js +2 -0
  28. package/dist/cdn/5SYHQWPP.js +2 -0
  29. package/dist/cdn/{2X75KJPF.js → 5V2YHARQ.js} +1 -1
  30. package/dist/cdn/{7ILH7ZG2.js → 5VHWJWWP.js} +1 -1
  31. package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
  32. package/dist/cdn/62GSQDTE.js +2 -0
  33. package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
  34. package/dist/cdn/{DIKQ7BPQ.js → 65WMT7WD.js} +1 -1
  35. package/dist/cdn/6DYDDJKB.js +2 -0
  36. package/dist/cdn/6H6SZO4Y.js +2 -0
  37. package/dist/cdn/{B4KT2HUE.js → 6MALKAJY.js} +1 -1
  38. package/dist/cdn/6VIPQGM6.js +2 -0
  39. package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
  40. package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
  41. package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
  42. package/dist/cdn/7FPQDD3C.js +2 -0
  43. package/dist/cdn/7GTZX5NP.js +2 -0
  44. package/dist/cdn/7NGEMDYM.js +2 -0
  45. package/dist/cdn/7TM4LYGN.js +2 -0
  46. package/dist/cdn/{NHDVOYQ2.js → 7TTQNVC5.js} +1 -1
  47. package/dist/cdn/AA456L7Q.js +2 -0
  48. package/dist/cdn/{OA7FHTCA.js → AAHQPRYK.js} +1 -1
  49. package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
  50. package/dist/cdn/AIQU35U3.js +2 -0
  51. package/dist/cdn/AMIDKZA2.js +2 -0
  52. package/dist/cdn/AOVXHBJK.js +2 -0
  53. package/dist/cdn/{SGOYJFLO.js → ATWR3DSK.js} +1 -1
  54. package/dist/cdn/AYCQHDDV.js +2 -0
  55. package/dist/cdn/AZYYQMCD.js +2 -0
  56. package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
  57. package/dist/cdn/{UQPFMDJB.js → B46RQ2MZ.js} +1 -1
  58. package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
  59. package/dist/cdn/{4JQ2RRLY.js → BK2QOEX2.js} +1 -1
  60. package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
  61. package/dist/cdn/BWLRC2U5.js +2 -0
  62. package/dist/cdn/BYSUABOV.js +2 -0
  63. package/dist/cdn/{WASEMNYV.js → CHBL4DXX.js} +1 -1
  64. package/dist/cdn/{I36OAVW3.js → CTMOMBBM.js} +1 -1
  65. package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
  66. package/dist/cdn/D5DOFLCS.js +2 -0
  67. package/dist/cdn/{CUJHGXNK.js → DLMRATCW.js} +1 -1
  68. package/dist/cdn/{N3VOUI25.js → DWO7GMVE.js} +1 -1
  69. package/dist/cdn/E6E2KLJ2.js +2 -0
  70. package/dist/cdn/E6JK3JRJ.js +2 -0
  71. package/dist/cdn/EB4CM3YK.js +2 -0
  72. package/dist/cdn/EJW2UHAB.js +2 -0
  73. package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
  74. package/dist/cdn/EWIMT2AS.js +2 -0
  75. package/dist/cdn/FBS4RBSA.js +2 -0
  76. package/dist/cdn/{75P3QRL4.js → FLUZSJXH.js} +1 -1
  77. package/dist/cdn/{UAZ34KDJ.js → FSEQQXRO.js} +1 -1
  78. package/dist/cdn/G3KO465U.js +4 -0
  79. package/dist/cdn/GVJ5WCQD.js +2 -0
  80. package/dist/cdn/H2ECCBL7.js +2 -0
  81. package/dist/cdn/H2R62NYZ.js +2 -0
  82. package/dist/cdn/{66KSEDOR.js → H7Z3QWIW.js} +1 -1
  83. package/dist/cdn/{ABIVSH72.js → HJSR7M2A.js} +1 -1
  84. package/dist/cdn/{RKN64EJQ.js → HUMEIOOQ.js} +1 -1
  85. package/dist/cdn/{N6OT5IBC.js → HZUBDLNR.js} +1 -1
  86. package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
  87. package/dist/cdn/IBMPLHXH.js +2 -0
  88. package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
  89. package/dist/cdn/{UT4TYXFO.js → IGOJGDYE.js} +1 -1
  90. package/dist/cdn/{4QQVKRJ5.js → IRIGTY65.js} +1 -1
  91. package/dist/cdn/JCCCT72R.js +2 -0
  92. package/dist/cdn/{AJBEE7WE.js → JMR2NH33.js} +1 -1
  93. package/dist/cdn/JSVAA6N4.js +2 -0
  94. package/dist/cdn/JVHMHWIM.js +2 -0
  95. package/dist/cdn/JZMYBU7B.js +2 -0
  96. package/dist/cdn/KKE5EKYC.js +2 -0
  97. package/dist/cdn/KODMEY56.js +2 -0
  98. package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
  99. package/dist/cdn/KYESCAI2.js +2 -0
  100. package/dist/cdn/KYOCE6FA.js +2 -0
  101. package/dist/cdn/KZSCAJDG.js +2 -0
  102. package/dist/cdn/L5JZ5COY.js +2 -0
  103. package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
  104. package/dist/cdn/LZ7SW2R3.js +2 -0
  105. package/dist/cdn/M4G6TGMS.js +2 -0
  106. package/dist/cdn/{LNF44ZGQ.js → MJVTTSEV.js} +1 -1
  107. package/dist/cdn/MMUAG4IX.js +2 -0
  108. package/dist/cdn/MQI4ZLAS.js +2 -0
  109. package/dist/cdn/{DD4QUBOF.js → N7VRRNQD.js} +1 -1
  110. package/dist/cdn/{RWEUTQWS.js → NJF5UIYM.js} +1 -1
  111. package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
  112. package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
  113. package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
  114. package/dist/cdn/{4E7C5QPS.js → NWYSPTLF.js} +1 -1
  115. package/dist/cdn/O4DFT4N4.js +2 -0
  116. package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
  117. package/dist/cdn/OGH6DSQR.js +2 -0
  118. package/dist/cdn/{53FG76LL.js → OH3X6QIK.js} +1 -1
  119. package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
  120. package/dist/cdn/OIWZXO7H.js +2 -0
  121. package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
  122. package/dist/cdn/OKKEWHMB.js +2 -0
  123. package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
  124. package/dist/cdn/OURE3TA5.js +2 -0
  125. package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
  126. package/dist/cdn/{KDJ5RVHA.js → P3AYFJRV.js} +1 -1
  127. package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
  128. package/dist/cdn/{RDTBZUT7.js → PAPE3NIS.js} +1 -1
  129. package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
  130. package/dist/cdn/{XWKBJDZT.js → PMFGLOZL.js} +1 -1
  131. package/dist/cdn/PT2OG4W2.js +2 -0
  132. package/dist/cdn/PWJBGZPW.js +2 -0
  133. package/dist/cdn/Q366CY3F.js +45 -0
  134. package/dist/cdn/{OYHKUGS6.js → QHJSE3P3.js} +1 -1
  135. package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
  136. package/dist/cdn/QKUFLZC3.js +2 -0
  137. package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
  138. package/dist/cdn/QO2RH3XB.js +3 -0
  139. package/dist/cdn/QPX4FNCB.js +2 -0
  140. package/dist/cdn/{XIJ5VLER.js → QTAETIIH.js} +1 -1
  141. package/dist/cdn/QYRHZJH3.js +2 -0
  142. package/dist/cdn/{FLO3N6JD.js → QZIF3GED.js} +1 -1
  143. package/dist/cdn/RD7TKIQS.js +2 -0
  144. package/dist/cdn/RGIL6ZEZ.js +2 -0
  145. package/dist/cdn/RNGQEQRO.js +2 -0
  146. package/dist/cdn/RPUEIRTH.js +2 -0
  147. package/dist/cdn/{VFM2EV3M.js → S6CNTZIE.js} +1 -1
  148. package/dist/cdn/S6RBDFHP.js +2 -0
  149. package/dist/cdn/SIHW3QVG.js +2 -0
  150. package/dist/cdn/SS7GYFUD.js +2 -0
  151. package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
  152. package/dist/cdn/SXT66JGI.js +2 -0
  153. package/dist/cdn/SZSTCHLY.js +2 -0
  154. package/dist/cdn/SZYIWW3C.js +2 -0
  155. package/dist/cdn/T75QDGXB.js +2 -0
  156. package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
  157. package/dist/cdn/{AK7X7SGI.js → TENIFMA5.js} +1 -1
  158. package/dist/cdn/{M4AQLWZU.js → TNUZFQGZ.js} +1 -1
  159. package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
  160. package/dist/cdn/{O2ERVMSN.js → U25H6VUE.js} +1 -1
  161. package/dist/cdn/UCHQXTEC.js +2 -0
  162. package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
  163. package/dist/cdn/ULQSD4KK.js +2 -0
  164. package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
  165. package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
  166. package/dist/cdn/UVESG7TY.js +2 -0
  167. package/dist/cdn/{PH6UOHRS.js → V4NEFGS3.js} +1 -1
  168. package/dist/cdn/{NG2IHVZ4.js → V54RTUAV.js} +1 -1
  169. package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
  170. package/dist/cdn/VMHDTE3U.js +2 -0
  171. package/dist/cdn/VQMG3F5Z.js +2 -0
  172. package/dist/cdn/VQU2TVX7.js +3 -0
  173. package/dist/cdn/VWUW3HFU.js +2 -0
  174. package/dist/cdn/W66Q5TB6.js +2 -0
  175. package/dist/cdn/{5AOYADA3.js → WKRD4TIL.js} +1 -1
  176. package/dist/cdn/WMYNPECY.js +2 -0
  177. package/dist/cdn/WOGALV3T.js +2 -0
  178. package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
  179. package/dist/cdn/WTMEWLUJ.js +2 -0
  180. package/dist/cdn/WTOK3YQI.js +2 -0
  181. package/dist/cdn/WVOXFKFO.js +2 -0
  182. package/dist/cdn/X2FMGJRP.js +2 -0
  183. package/dist/cdn/X733UM32.js +2 -0
  184. package/dist/cdn/XGWHDERD.js +2 -0
  185. package/dist/cdn/{2HGBRW4I.js → XOB6RSOR.js} +1 -1
  186. package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
  187. package/dist/cdn/YFMHKHFE.js +2 -0
  188. package/dist/cdn/YHC6WRNQ.js +2 -0
  189. package/dist/cdn/ZDKUHFRX.js +2 -0
  190. package/dist/cdn/ZK72BJCQ.js +2 -0
  191. package/dist/cdn/{EUOPRFMU.js → ZLARROJV.js} +1 -1
  192. package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.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 +2 -0
  199. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
  200. package/dist/chart-rendering/common/interfaces.d.ts +111 -73
  201. package/dist/chunks/{type-guards3.js → action-bar-utils.js} +38 -46
  202. package/dist/chunks/axis-lines-symbol.js +9 -9
  203. package/dist/chunks/bar-chart-model.js +49 -41
  204. package/dist/chunks/box-plot-data.js +291 -274
  205. package/dist/chunks/box-plot-model.js +143 -130
  206. package/dist/chunks/chart-model.js +194 -153
  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 +270 -238
  211. package/dist/chunks/combo-bar-line-chart-model.js +122 -101
  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 +70 -70
  215. package/dist/chunks/default.js +6 -6
  216. package/dist/chunks/gauge-model.js +71 -71
  217. package/dist/chunks/generate-x-axis-title.js +19 -19
  218. package/dist/chunks/heat-chart-model.js +98 -69
  219. package/dist/chunks/histogram-data.js +24 -24
  220. package/dist/chunks/histogram-model.js +11 -11
  221. package/dist/chunks/index.js +9353 -1079
  222. package/dist/chunks/index2.js +851 -8748
  223. package/dist/chunks/index3.js +1169 -846
  224. package/dist/chunks/index4.js +10969 -677
  225. package/dist/chunks/index5.js +62 -10794
  226. package/dist/chunks/interfaces.js +9 -9
  227. package/dist/chunks/line-chart-model.js +41 -25
  228. package/dist/chunks/model-setter.js +59 -64
  229. package/dist/chunks/model-types.js +1 -1
  230. package/dist/chunks/model-with-line-marker-styling.js +72 -47
  231. package/dist/chunks/model-with-x-guides.js +6 -6
  232. package/dist/chunks/model-with-y-guides.js +52 -67
  233. package/dist/chunks/negative-values-stacked-to-baseline.js +122 -71
  234. package/dist/chunks/pie-chart-data.js +175 -193
  235. package/dist/chunks/pie-chart-model.js +388 -320
  236. package/dist/chunks/radar-chart-model.js +413 -46
  237. package/dist/chunks/resource.js +1 -1
  238. package/dist/chunks/rest-js-object-literals.js +10 -10
  239. package/dist/chunks/rotated-state.js +2 -2
  240. package/dist/chunks/rounded-corners.js +90 -0
  241. package/dist/chunks/scatterplot-model.js +27 -27
  242. package/dist/chunks/serial-chart-data.js +887 -755
  243. package/dist/chunks/serial-chart-model.js +151 -129
  244. package/dist/chunks/series-length.js +18 -18
  245. package/dist/chunks/series-types.js +22 -18
  246. package/dist/chunks/series.js +3 -3
  247. package/dist/chunks/store.js +5 -5
  248. package/dist/chunks/type-guards.js +49 -23
  249. package/dist/chunks/type-guards2.js +61 -52
  250. package/dist/chunks/utils.js +99 -89
  251. package/dist/chunks/utils2.js +9 -9
  252. package/dist/chunks/web-component-utils.js +632 -492
  253. package/dist/chunks/x-bounds.js +98 -97
  254. package/dist/components/arcgis-chart/customElement.d.ts +791 -277
  255. package/dist/components/arcgis-chart/customElement.js +11155 -10958
  256. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +12 -0
  257. package/dist/components/arcgis-charts-action-bar/customElement.js +40 -37
  258. package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
  259. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +39 -33
  260. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +30 -30
  261. package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
  262. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
  263. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +44 -43
  264. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -15
  265. package/dist/components/arcgis-charts-config-box-plot/customElement.js +31 -39
  266. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +17 -17
  267. package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
  268. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +26 -28
  269. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -4
  270. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
  271. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -20
  273. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  274. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  275. package/dist/components/arcgis-charts-config-create-flow/customElement.js +243 -229
  276. package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
  277. package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
  278. package/dist/components/arcgis-charts-config-format/customElement.js +94 -87
  279. package/dist/components/arcgis-charts-config-format-popover/customElement.js +8 -11
  280. package/dist/components/arcgis-charts-config-general/customElement.js +5 -5
  281. package/dist/components/arcgis-charts-config-guide/customElement.js +26 -27
  282. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +10 -13
  283. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  284. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
  285. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +66 -78
  286. package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
  287. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +58 -59
  288. package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
  289. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +27 -27
  290. package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
  291. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +35 -36
  292. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  293. package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
  294. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +19 -19
  295. package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
  296. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +42 -44
  297. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +8 -8
  298. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -8
  299. package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
  300. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  301. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -6
  302. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +57 -64
  303. package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
  304. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +56 -57
  305. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +66 -67
  306. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +7 -10
  307. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
  308. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +80 -80
  309. package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
  310. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
  311. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
  312. package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
  313. package/dist/components/arcgis-charts-info-modal/customElement.js +7 -7
  314. package/dist/docs/api.json +1 -1
  315. package/dist/docs/docs.json +1 -1
  316. package/dist/docs/vscode.html-custom-data.json +1 -1
  317. package/dist/docs/web-types.json +1 -1
  318. package/dist/index.d.ts +70 -62
  319. package/dist/index.js +500 -471
  320. package/dist/interfaces.d.ts +57 -14
  321. package/dist/json-schema/index.d.ts +211 -6
  322. package/dist/loader.js +2 -2
  323. package/dist/model/bar-chart-model/bar-chart-model.d.ts +6 -4
  324. package/dist/model/box-plot-model/box-plot-model.d.ts +11 -5
  325. package/dist/model/chart-model/chart-model-base.d.ts +10 -0
  326. package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
  327. package/dist/model/chart-model/chart-model.d.ts +2 -1
  328. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +33 -21
  329. package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
  330. package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
  331. package/dist/model/interfaces/common.d.ts +0 -2
  332. package/dist/model/mixins/model-with-guides.d.ts +1 -1
  333. package/dist/model/mixins/model-with-line-marker-styling.d.ts +28 -19
  334. package/dist/model/mixins/model-with-multi-axes.d.ts +62 -99
  335. package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
  336. package/dist/model/pie-chart-model/pie-chart-model.d.ts +61 -2
  337. package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
  338. package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
  339. package/dist/model/properties/rotated-state.d.ts +1 -1
  340. package/dist/model/properties/rounded-corners.d.ts +18 -0
  341. package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
  342. package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
  343. package/dist/model/shared/setup-utils.d.ts +3 -3
  344. package/dist/{model.js → model/shared/setup-utils.js} +12 -12
  345. package/dist/model/shared/type-guards.d.ts +38 -22
  346. package/dist/spec/chart-object-literals.d.ts +4 -3
  347. package/dist/spec/data-source.d.ts +17 -3
  348. package/dist/spec/rest-js-object-literals.d.ts +2 -2
  349. package/dist/spec/rest-js-types.d.ts +22 -8
  350. package/dist/spec/web-chart.d.ts +42 -6
  351. package/dist/types/lumina.d.ts +1 -1
  352. package/dist/types/preact.d.ts +1 -1
  353. package/dist/types/react.d.ts +1 -1
  354. package/dist/types/stencil.d.ts +3 -3
  355. package/dist/utils/chart-config/converter/index.js +742 -0
  356. package/dist/utils/chart-config/utils/index.d.ts +58 -9
  357. package/dist/utils/chart-config/validator/index.d.ts +2 -0
  358. package/dist/utils/chart-config/validator/interfaces.d.ts +4 -3
  359. package/dist/utils/components/interfaces.d.ts +2 -0
  360. package/dist/utils/cursor/interfaces.d.ts +21 -0
  361. package/dist/utils/data/categorical-data/index.d.ts +18 -2
  362. package/dist/utils/data/index.d.ts +28 -22
  363. package/dist/utils/data/interfaces.d.ts +4 -3
  364. package/dist/utils/defaults/index.d.ts +31 -6
  365. package/dist/utils/defaults/interfaces.d.ts +73 -4
  366. package/dist/utils/errors/index.d.ts +1 -1
  367. package/dist/utils/layer/index.d.ts +26 -8
  368. package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
  369. package/dist/utils/layer/interfaces.d.ts +0 -12
  370. package/dist/utils/layer/query-features/index.d.ts +8 -3
  371. package/dist/utils/layer/query-parser/index.d.ts +13 -9
  372. package/dist/utils/layer/utils/index.d.ts +22 -5
  373. package/dist/utils/localization/interfaces.d.ts +13 -1
  374. package/dist/utils/misc/index.d.ts +2 -3
  375. package/dist/utils/misc/interfaces.d.ts +1 -0
  376. package/dist/utils/type-guards/chart-types.d.ts +10 -0
  377. package/dist/utils/type-guards/series-types.d.ts +9 -2
  378. package/dist/utils/types/index.d.ts +1 -5
  379. package/package.json +10 -9
  380. package/dist/cdn/3FTJIVFE.js +0 -2
  381. package/dist/cdn/45JPWIBI.js +0 -2
  382. package/dist/cdn/45PJ5TQL.js +0 -2
  383. package/dist/cdn/47HHRDX4.js +0 -2
  384. package/dist/cdn/4OZZXXZF.js +0 -2
  385. package/dist/cdn/547RDEMV.js +0 -2
  386. package/dist/cdn/5HQ2CJEQ.js +0 -2
  387. package/dist/cdn/5MVNVHYG.js +0 -2
  388. package/dist/cdn/6JGLHOFY.js +0 -2
  389. package/dist/cdn/6LQYOBAL.js +0 -2
  390. package/dist/cdn/6PAONFHB.js +0 -2
  391. package/dist/cdn/6SRISPQN.js +0 -3
  392. package/dist/cdn/74JAZF7U.js +0 -2
  393. package/dist/cdn/7BEC5WZB.js +0 -2
  394. package/dist/cdn/7IV6GMF7.js +0 -2
  395. package/dist/cdn/7SNOZDAD.js +0 -2
  396. package/dist/cdn/7YBKGD3V.js +0 -2
  397. package/dist/cdn/A5GIBV5W.js +0 -2
  398. package/dist/cdn/AT2NWWBG.js +0 -2
  399. package/dist/cdn/ATIARKAU.js +0 -2
  400. package/dist/cdn/B7DM7VT6.js +0 -2
  401. package/dist/cdn/BBURKBKE.js +0 -2
  402. package/dist/cdn/BZCVDNC4.js +0 -102
  403. package/dist/cdn/CAJVNPHZ.js +0 -2
  404. package/dist/cdn/CHQDKVVQ.js +0 -4
  405. package/dist/cdn/CPPT5HUK.js +0 -58
  406. package/dist/cdn/CXQOEN77.js +0 -2
  407. package/dist/cdn/D23GGWFM.js +0 -2
  408. package/dist/cdn/DNMVB3A2.js +0 -2
  409. package/dist/cdn/DYC3Q36R.js +0 -2
  410. package/dist/cdn/EQVQRZHJ.js +0 -2
  411. package/dist/cdn/EXTKNE2L.js +0 -2
  412. package/dist/cdn/EZV7JSQJ.js +0 -2
  413. package/dist/cdn/F5Q73CFW.js +0 -2
  414. package/dist/cdn/FAQDMSUC.js +0 -2
  415. package/dist/cdn/FCXI523J.js +0 -2
  416. package/dist/cdn/FJPGZEGK.js +0 -2
  417. package/dist/cdn/FT2K3J7O.js +0 -2
  418. package/dist/cdn/GCSGY6GL.js +0 -2
  419. package/dist/cdn/GUH6CQE6.js +0 -2
  420. package/dist/cdn/GWQJXXP3.js +0 -2
  421. package/dist/cdn/H6NH46AS.js +0 -2
  422. package/dist/cdn/HJHMEVMB.js +0 -2
  423. package/dist/cdn/HUCSTT64.js +0 -2
  424. package/dist/cdn/HX4236ZL.js +0 -2
  425. package/dist/cdn/I2M6YAUU.js +0 -2
  426. package/dist/cdn/IWVS6SKP.js +0 -2
  427. package/dist/cdn/JILAM6NH.js +0 -2
  428. package/dist/cdn/JNNB2DIA.js +0 -2
  429. package/dist/cdn/KC6CFXB7.js +0 -2
  430. package/dist/cdn/KKWXEF5W.js +0 -2
  431. package/dist/cdn/KV4ZPVWQ.js +0 -2
  432. package/dist/cdn/LKY2A3U6.js +0 -2
  433. package/dist/cdn/M75ENKIU.js +0 -2
  434. package/dist/cdn/MHG42BA5.js +0 -2
  435. package/dist/cdn/MKQAQDRM.js +0 -2
  436. package/dist/cdn/MOMKSNIZ.js +0 -2
  437. package/dist/cdn/MRTKZZTF.js +0 -2
  438. package/dist/cdn/NS3THLCD.js +0 -2
  439. package/dist/cdn/NS7OCROO.js +0 -2
  440. package/dist/cdn/NZR4L5AA.js +0 -2
  441. package/dist/cdn/O4M33ZPK.js +0 -2
  442. package/dist/cdn/OVM5QF7Q.js +0 -2
  443. package/dist/cdn/OY6UOUYX.js +0 -2
  444. package/dist/cdn/P3RM2ACY.js +0 -2
  445. package/dist/cdn/P4HSSZRL.js +0 -2
  446. package/dist/cdn/P6SC5DD2.js +0 -2
  447. package/dist/cdn/P74SXC5B.js +0 -2
  448. package/dist/cdn/PAIRUVLU.js +0 -2
  449. package/dist/cdn/PEZCCXQ7.js +0 -2
  450. package/dist/cdn/PKMZ6N6M.js +0 -2
  451. package/dist/cdn/PTFRQF65.js +0 -2
  452. package/dist/cdn/PYKHO4QI.js +0 -2
  453. package/dist/cdn/RG3I5ORH.js +0 -2
  454. package/dist/cdn/RKKWMNWU.js +0 -2
  455. package/dist/cdn/S3BC57BJ.js +0 -4
  456. package/dist/cdn/S6PJHEJ7.js +0 -2
  457. package/dist/cdn/THTYR6IL.js +0 -2
  458. package/dist/cdn/TORIY3OE.js +0 -2
  459. package/dist/cdn/TTDZKISK.js +0 -2
  460. package/dist/cdn/TXSWWAOF.js +0 -2
  461. package/dist/cdn/TZ4GOE2Q.js +0 -2
  462. package/dist/cdn/U67P6YAZ.js +0 -2
  463. package/dist/cdn/UNUPCA4W.js +0 -2
  464. package/dist/cdn/URYNG6OA.js +0 -2
  465. package/dist/cdn/V2XJSJH4.js +0 -2
  466. package/dist/cdn/V76PIVCF.js +0 -2
  467. package/dist/cdn/V7MBHG4F.js +0 -2
  468. package/dist/cdn/VOTZAPI3.js +0 -2
  469. package/dist/cdn/W7X6L2OB.js +0 -127
  470. package/dist/cdn/X6WA2KXK.js +0 -2
  471. package/dist/cdn/XFZX5ULX.js +0 -2
  472. package/dist/cdn/XJFVSX2E.js +0 -2
  473. package/dist/cdn/XMQCH4QI.js +0 -2
  474. package/dist/cdn/Y3CXVO2M.js +0 -2
  475. package/dist/cdn/YIIPYKTL.js +0 -2
  476. package/dist/cdn/YKGZVYK2.js +0 -2
  477. package/dist/cdn/YVVQVAJZ.js +0 -2
  478. package/dist/cdn/YYK7SPXC.js +0 -2
  479. package/dist/cdn/YZQ54BRI.js +0 -2
  480. package/dist/cdn/Z7EBST4A.js +0 -3
  481. package/dist/cdn/ZFM5RGWD.js +0 -142
  482. package/dist/cdn/ZQCUJ7VE.js +0 -2
  483. package/dist/chunks/bar-chart-series.js +0 -15
  484. package/dist/chunks/index6.js +0 -103
  485. package/dist/chunks/index7.js +0 -66
  486. package/dist/chunks/time-zone.js +0 -38
  487. package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
  488. /package/dist/cdn/{WVRBLV5L.js → 7NWEE7T2.js} +0 -0
  489. /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
@@ -5,8 +5,8 @@ import type SelectionManager from "@arcgis/core/views/SelectionManager.js";
5
5
  import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
6
6
  import type { DOMContainerAria } from "@arcgis/core/views/DOMContainer.js";
7
7
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
8
- import type { AxisLabelFormatCallback, ChartOptions, GaugeInnerLabelFormatCallback, GuideTooltipFormatCallback, PieChartLegendValueLabelFormatCallback, PreRenderCallback } from "../../chart-rendering/common/interfaces.js";
9
- import type { CSVOptions, SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
8
+ import type { AxisLabelFormatCallback, BarAndLineDataLabelFormatCallback, GaugeInnerLabelFormatCallback, GuideTooltipFormatCallback, HistogramLabelFormatCallback, PieChartLabelFormatCallback, PieChartLegendValueLabelFormatCallback, PreRenderCallback, ScatterplotLabelFormatCallback, TooltipFormatters } from "../../chart-rendering/common/interfaces.js";
9
+ import type { ChartLayerInput, CSVOptions } from "../../interfaces.js";
10
10
  import type { ChartModel } from "../../model/chart-model/chart-model.js";
11
11
  import type { WebChartTypes, WebChartLegendPositions } from "../../spec/chart-object-literals.js";
12
12
  import type { WebChartDataTypes } from "../../spec/data-source.js";
@@ -22,125 +22,35 @@ import type { ErrorPolicy, LayerFieldsChangePolicy, LayerFilterChangePolicy, Lay
22
22
  import type { T9nMeta } from "@arcgis/lumina/controllers";
23
23
 
24
24
  /**
25
- * The Chart component renders a chart based on the provided model. Get started by reading the [introduction to charts](https://developers.arcgis.com/javascript/latest/charts-components-intro/) page.
25
+ * The ArcGIS Chart component renders a chart by setting a [model](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#model) object that defines the chart's configuration and data.
26
26
  *
27
- * Supported chart types include bar charts, box plots, line charts, combo bar-line charts, gauges, heat charts, histograms, pie charts, scatterplots, and radar charts.
27
+ * You can render a chart either by:
28
+ * - Setting [layerItemId](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layerItemId) and [chartIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#chartIndex) to load a saved chart from a layer item.
29
+ * - Create a new chart by using the [`createModel()`](/references/charts-components/model/shared/setup-utils/#createModel) function to create a chart model and set it to the [model](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#model) property.
28
30
  *
29
- * @slot [action-bar] - Slot for adding a `charts-action-bar` component or `calcite-action-bar`.
30
- * @see [Introduction to charts](https://developers.arcgis.com/javascript/latest/charts-components-intro/)
31
- * @see
32
- * [Tutorial: Display a chart](https://developers.arcgis.com/javascript/latest/tutorials/display-a-chart/)
31
+ * > [!IMPORTANT]
32
+ * >
33
+ * > See the [Introduction to charts](https://developers.arcgis.com/javascript/latest/charts-components-intro/) guide for detailed examples on how to render a chart using the above patterns.
33
34
  *
34
- * **Note**: When the chart is getting rendered while its container is not yet fully sized, a console error about the chart's attribute height may appear. This is a known issue and should not affect the functionality of the chart.
35
+ * There are 10 supported chart types, each with its own model properties and methods. Refer to the [chart types documentation](https://developers.arcgis.com/javascript/latest/charts/chart-types/) for more information on each chart type.
36
+ *
37
+ * ##### See also:
38
+ * - [Tutorial: Display a chart](https://developers.arcgis.com/javascript/latest/tutorials/display-a-chart/)
39
+ * - [Tutorial: Chart and map interactions](https://developers.arcgis.com/javascript/latest/tutorials/chart-and-map-interactions/)
40
+ *
41
+ * > [!WARNING]
42
+ * > When the chart is rendering while its container is not yet fully sized, a console error about the chart's attribute height may appear. This is a known issue and should not affect the functionality of the chart.
43
+ *
44
+ * @slot [action-bar] - Slot for the [arcgis-charts-action-bar](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/) component or [calcite-action-bar](https://developers.arcgis.com/calcite-design-system/components/action-bar/) component.
35
45
  * @since 4.32
36
46
  */
37
47
  export abstract class ArcgisChart extends LitElement {
38
- /** @internal */
39
- protected _messages: Partial<{ chartNotFoundWarning: string; }> & T9nMeta<{ chartNotFoundWarning: string; }>;
40
- /**
41
- * Specifies the user action behavior for the chart.
42
- *
43
- * - `monoSelection`: Select a single data point or series, new selection replaces the previous one.
44
- * - `multiSelection`: Select multiple data points or series, new selection adds to the previous one.
45
- * - `multiSelectionWithCtrlKey`: Select multiple data points or series while holding the Ctrl key (Cmd on Mac). When the key is held, each new selection is added; otherwise, the selection is replaced.
46
- * - `none`: No action is performed on user interaction.
47
- * - `zoom`: Zoom into a specific area of the chart.
48
- *
49
- * **Note**: Not applicable to gauges.
50
- */
51
- accessor actionMode: ActionModes | undefined;
52
- /**
53
- * Whether to allow the object id to be used as a statistic other than `Count`.
54
- *
55
- * @default false
56
- */
57
- accessor allowUsingObjectIdStat: boolean;
58
- /**
59
- * Enable animation on the chart.
60
- *
61
- * @default false
62
- */
63
- accessor animationEnabled: boolean | undefined;
64
- /**
65
- * The ARIA attributes for the chart. Provides accessibility information to assistive technologies such as screen readers. Supports the following properties: [\`label\`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label), [\`description\`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-description), [\`describedByElements\`](https://developer.mozilla.org/en-US/docs/Web/API/Element/ariaDescribedByElements), and [\`labelledByElements\`](https://developer.mozilla.org/en-US/docs/Web/API/Element/ariaLabelledByElements).
66
- *
67
- * @since 5.0
68
- */
69
- accessor aria: DOMContainerAria | undefined;
70
- /**
71
- * If `true`, the component will not be destroyed automatically when it is disconnected from the document. This is useful when you want to move the component to a different place on the page, or temporarily hide it. If this is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#destroy) method when you are done to prevent memory leaks.
72
- *
73
- * @default false
74
- * @since 5.0
75
- */
76
- accessor autoDestroyDisabled: boolean;
77
- /**
78
- * Auto disposes the chart when a new one is created in the same container.
79
- *
80
- * @deprecated since 5.0. Use [autoDestroyDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#autoDestroyDisabled) instead.
81
- * @default false
82
- */
83
- accessor autoDisposeChart: boolean;
84
- /**
85
- * When `true`, the data label text color is automatically adjusted for readability based on its background.
86
- * If the label is dark and appears over a dark series area, the text color is switched to either the chart background color or white.
87
- *
88
- * **Note**: Applicable to heat charts only.
89
- *
90
- * @default false
91
- */
92
- accessor autoInverseDataLabelTextColor: boolean;
93
- /**
94
- * Allows picking the Calcite CSS variables to use when applying a Calcite theme.
95
- *
96
- * By default the following variables are used:
97
- * background: --calcite-color-foreground-1
98
- * text: --calcite-color-text-1
99
- * line: --calcite-color-border-1
100
- * secondary line: --calcite-color-text-3
101
- * spinner: --calcite-color-brand-hover
102
- *
103
- * The charts colors are overridden by those associated to those CSS variables, but only if they have not been
104
- * customized beforehand.
105
- *
106
- * @since 5.1
107
- */
108
- accessor calciteThemingCSSVariables: CalciteThemeCSSVariables;
109
- /**
110
- * The index of the chart to be rendered from the layer. Must be used in conjunction with the `layerItemId` or `layer` property.
111
- *
112
- * If a `layer` or `layerItemId` is set without `chartIndex`, the first chart in the layer will be rendered.
113
- *
114
- * If the `chartIndex` is out of bounds, the first chart in the layer will be rendered and a warning event will be emitted.
115
- *
116
- * @example
117
- * ```html
118
- * <arcgis-chart layer-item-id="8871626e970a4f3e9d6113ec63a92f2f" chart-index="2"></arcgis-chart>
119
- * ```
120
- */
121
- accessor chartIndex: number | undefined;
122
- /**
123
- * Customize the maximum number of series allowed on the chart.
124
- *
125
- * The chart's behavior once that limit is reached can be adjusted through the `behaviorAfterLimit` nested property, to either reject the creation
126
- * or update of the chart, or render the elements up to the given limits.
127
- *
128
- * **Note**: Not applicable to gauges.
129
- */
130
- accessor chartLimits: ChartElementLimit | undefined;
131
- /**
132
- * Lifecycle function executed after the data has been processed and before the chart renders.
133
- * Can be used to alter the model from information extracted from the data.
134
- *
135
- * **Note**: Applicable to gauges and pie charts only.
136
- */
137
- accessor chartWillRender: PreRenderCallback | undefined;
138
48
  /**
139
49
  * Localized common strings.
140
50
  *
141
51
  * @internal
142
52
  */
143
- protected commonStrings: {
53
+ protected _commonStrings: {
144
54
  utilsStrings: {
145
55
  chartType: {
146
56
  chart: string;
@@ -223,6 +133,8 @@ export abstract class ArcgisChart extends LitElement {
223
133
  };
224
134
  notifications: {
225
135
  invalidConfig: string;
136
+ invalidConfigForRaster: string;
137
+ invalidConfigTitle: string;
226
138
  invalidSeriesConfig: string;
227
139
  invalidSeriesConfigTitle: string;
228
140
  validateAggregationTypeMsg: string;
@@ -276,6 +188,10 @@ export abstract class ArcgisChart extends LitElement {
276
188
  twoTemporalSeriesLineCountCannotExceedLimit: string;
277
189
  threePlusTemporalSeriesLineCountCannotExceedLimit: string;
278
190
  lineSeriesCountCannotExceedLimit: string;
191
+ uniqueSeriesRadarCountCannotExceedLimit: string;
192
+ twoSeriesRadarCountCannotExceedLimit: string;
193
+ threePlusSeriesRadarCountCannotExceedLimit: string;
194
+ radarSeriesCountCannotExceedLimit: string;
279
195
  uniqueSeriesBoxCountCannotExceedLimit: string;
280
196
  twoSeriesBoxCountCannotExceedLimit: string;
281
197
  threePlusBoxLineCountCannotExceedLimit: string;
@@ -488,6 +404,8 @@ export abstract class ArcgisChart extends LitElement {
488
404
  };
489
405
  notifications: {
490
406
  invalidConfig: string;
407
+ invalidConfigForRaster: string;
408
+ invalidConfigTitle: string;
491
409
  invalidSeriesConfig: string;
492
410
  invalidSeriesConfigTitle: string;
493
411
  validateAggregationTypeMsg: string;
@@ -541,6 +459,10 @@ export abstract class ArcgisChart extends LitElement {
541
459
  twoTemporalSeriesLineCountCannotExceedLimit: string;
542
460
  threePlusTemporalSeriesLineCountCannotExceedLimit: string;
543
461
  lineSeriesCountCannotExceedLimit: string;
462
+ uniqueSeriesRadarCountCannotExceedLimit: string;
463
+ twoSeriesRadarCountCannotExceedLimit: string;
464
+ threePlusSeriesRadarCountCannotExceedLimit: string;
465
+ radarSeriesCountCannotExceedLimit: string;
544
466
  uniqueSeriesBoxCountCannotExceedLimit: string;
545
467
  twoSeriesBoxCountCannotExceedLimit: string;
546
468
  threePlusBoxLineCountCannotExceedLimit: string;
@@ -671,21 +593,158 @@ export abstract class ArcgisChart extends LitElement {
671
593
  "Invalid date": string;
672
594
  };
673
595
  }>;
596
+ /** @internal */
597
+ protected _messages: Partial<{ chartNotFoundWarning: string; }> & T9nMeta<{ chartNotFoundWarning: string; }>;
598
+ /**
599
+ * Specifies how user interactions on the chart are handled.
600
+ *
601
+ * - `monoSelection`: Select one data item at a time. Each new selection replaces the previous selection.
602
+ * - `multiSelection`: Select multiple data items. Each new selection is added to the existing selection.
603
+ * - `multiSelectionWithCtrlKey`: Select multiple data items only while holding Ctrl (or Cmd on macOS). Without the key, selection behaves like `monoSelection`.
604
+ * - `zoom`: Zoom into an area of the chart.
605
+ * - `none`: Disable interaction-driven selection and zoom actions.
606
+ *
607
+ * **Note**: Not applicable to gauges.
608
+ */
609
+ accessor actionMode: ActionModes | undefined;
610
+ /**
611
+ * When `true`, object ID can be used as a numeric field for aggregated charts (for example, `sum` of `objectId`).
612
+ *
613
+ * @default false
614
+ */
615
+ accessor allowUsingObjectIdStat: boolean;
616
+ /**
617
+ * When `true`, elements such as data items, axes, and legends will animate when the chart is first rendered or when the chart's configuration is updated.
618
+ *
619
+ * <video
620
+ * src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/animationEnabled.webm"
621
+ * aria-label="animationEnabled"
622
+ * width="720"
623
+ * autoPlay
624
+ * loop
625
+ * muted
626
+ * playsInline
627
+ * />
628
+ *
629
+ * @default false
630
+ * @since 5.1
631
+ */
632
+ accessor animationEnabled: boolean | undefined;
633
+ /**
634
+ * The ARIA attributes for the chart component. Provides accessibility information to assistive technologies such as screen readers. Supports the following properties: [\`label\`](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label), [\`description\`](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-description), [\`describedByElements\`](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements), and [\`labelledByElements\`](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements).
635
+ *
636
+ * @example
637
+ * ```ts
638
+ * chartElement.aria = {
639
+ * label: "Custom chart label",
640
+ * description: "Custom chart description",
641
+ * };
642
+ * ```
643
+ * @see [ARIA attributes](https://developers.arcgis.com/javascript/latest/accessibility/#aria-attributes)
644
+ * @since 5.0
645
+ */
646
+ accessor aria: DOMContainerAria | undefined;
647
+ /**
648
+ * When `true`, the component is not destroyed automatically when it is disconnected from the document, which is useful when moving or temporarily hiding it.
649
+ *
650
+ * > [!CAUTION]
651
+ * >
652
+ * > Call the [destroy()](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#destroy) method when you are done to prevent memory leaks.
653
+ *
654
+ * @default false
655
+ * @since 5.0
656
+ */
657
+ accessor autoDestroyDisabled: boolean;
658
+ /**
659
+ * Auto disposes the chart when a new one is created in the same container.
660
+ *
661
+ * @deprecated since 5.0. Use [autoDestroyDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#autoDestroyDisabled) instead.
662
+ * @default false
663
+ */
664
+ accessor autoDisposeChart: boolean;
665
+ /**
666
+ * When `true`, the data label text color is automatically adjusted for readability based on its background, switching to either the chart background color or white when the contrast is too low.
667
+ *
668
+ * | With `autoInverseDataLabelTextColor` | Without `autoInverseDataLabelTextColor` |
669
+ * | -------- | -------- |
670
+ * | ![autoInverseDataLabelTextColor true](https://developers.arcgis.com/javascript/latest/assets/references/components/chart/autoInverseDataLabelTextColorTrue.avif) | ![autoInverseDataLabelTextColor false](https://developers.arcgis.com/javascript/latest/assets/references/components/chart/autoInverseDataLabelTextColorFalse.avif) |
671
+ *
672
+ * **Note**: Applicable to heat charts only.
673
+ *
674
+ * @default false
675
+ * @since 4.34
676
+ */
677
+ accessor autoInverseDataLabelTextColor: boolean;
678
+ /**
679
+ * Specifies the Calcite CSS variables to use when applying a Calcite theme.
680
+ *
681
+ * By default the following variables are used:
682
+ * - background: `--calcite-color-foreground-1`
683
+ * - text: `--calcite-color-text-1`
684
+ * - line: `--calcite-color-border-1`
685
+ * - secondary line: `--calcite-color-text-3`
686
+ * - spinner: `--calcite-color-brand-hover`
687
+ *
688
+ * The chart colors are overridden by those associated to those CSS variables, but only if they have not been customized beforehand.
689
+ *
690
+ * @see [Charts theming with Calcite CSS variables](https://developers.arcgis.com/javascript/latest/charts/features-and-capabilities/styling-and-theming/#theming-with-css-variables)
691
+ * @see [Components theming with Calcite](https://developers.arcgis.com/javascript/latest/building-your-ui/#styling-and-theming-with-calcite)
692
+ * @since 5.1
693
+ */
694
+ accessor calciteThemingCSSVariables: CalciteThemeCSSVariables;
695
+ /**
696
+ * The index of the chart to be rendered from the layer. Must be used in conjunction with the `layerItemId` or `layer` property.
697
+ *
698
+ * If a `layer` or `layerItemId` is set without `chartIndex`, the first chart in the layer will be rendered.
699
+ *
700
+ * If the `chartIndex` is out of bounds, the first chart in the layer will be rendered and a warning event will be emitted.
701
+ *
702
+ * @example
703
+ * ```html
704
+ * <arcgis-chart layer-item-id="8871626e970a4f3e9d6113ec63a92f2f" chart-index="2"></arcgis-chart>
705
+ * ```
706
+ */
707
+ accessor chartIndex: number | undefined;
708
+ /**
709
+ * Customize the maximum number of data items allowed on the chart.
710
+ *
711
+ * The chart's behavior once that limit is reached can be adjusted through the `behaviorAfterLimit` nested property, to either reject the creation
712
+ * or update of the chart, or render the elements up to the given limits.
713
+ *
714
+ * **Note**: Not applicable to gauges.
715
+ *
716
+ * @example
717
+ * ```ts
718
+ * chartElement.chartLimits = {
719
+ * behaviorAfterLimit: LimitBehavior.RenderUpToTheLimit,
720
+ * serialChart: { categories: 15 }
721
+ * };
722
+ * ```
723
+ */
724
+ accessor chartLimits: ChartElementLimit | undefined;
725
+ /**
726
+ * Lifecycle function executed after the data has been processed and before the chart renders.
727
+ * Can be used to alter the model from information extracted from the data.
728
+ *
729
+ * **Note**: Applicable to gauges and pie charts only.
730
+ */
731
+ accessor chartWillRender: PreRenderCallback | undefined;
674
732
  /**
675
733
  * Whether to use features uniquely designed for a chart currently being configured by a user via the UI.
676
- * When true, the slotted charts action bar will expose an Edit chart action, surfaces relevant error states,
677
- * and can show a helpful in-container placeholder about the chart’s purpose.
734
+ * When `true` and if the [arcgis-charts-action-bar](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/) is slotted in the chart component,
735
+ * the action bar will expose an "Edit chart" action, surface relevant error states, and show a helpful in-container placeholder about the chart’s purpose.
678
736
  *
679
737
  * @default false
738
+ * @since 5.1
680
739
  */
681
740
  accessor configurationEnabled: boolean;
682
741
  /**
683
- * Sets the cursor range when `actionMode` is set to `zoom`, `multiSelection` or `multiSelectionWithCtrlKey`.
742
+ * Defines how the cursor selection rectangle is constrained when [actionMode](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#actionMode) is `zoom`, `multiSelection`, or `multiSelectionWithCtrlKey`.
684
743
  *
685
- * - `multi-axes`: Allows to draw a free rectangle.
686
- * - `x-axis`: Allows to draw a rectangle bound to the x-axis.
687
- * - `y-axis`: Allows to draw a rectangle bound to the y-axis.
688
- * - `undefined`: Defaults to the preset behavior according to the chart type and action mode.
744
+ * - `multi-axes`: Allows drawing a free rectangle across both axes.
745
+ * - `x-axis`: Constrains the rectangle to the x-axis direction.
746
+ * - `y-axis`: Constrains the rectangle to the y-axis direction.
747
+ * - `undefined`: Uses the default behavior for the current chart type and action mode.
689
748
  *
690
749
  * **Note**: Not applicable to gauges.
691
750
  */
@@ -693,9 +752,27 @@ export abstract class ArcgisChart extends LitElement {
693
752
  /**
694
753
  * Callback function used to format the data labels. If the returned string contains HTML tags they will be interpreted as such.
695
754
  *
696
- * **Note**: Not applicable to gauges.
755
+ * @example
756
+ * ```ts
757
+ * // Render custom data labels with the stat value and percentage formatted to 2 decimal places.
758
+ * chartElement.dataLabelFormatter = (statValue, percent) => {
759
+ * return `
760
+ * <div>
761
+ * Total listings: <strong>${statValue}</strong><br>
762
+ * Percentage: <strong>${Number(percent).toFixed(2)}%</strong>
763
+ * </div>
764
+ * `;
765
+ * };
766
+ * ```
767
+ * <img
768
+ * src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/dataLabelFormatter.avif"
769
+ * alt="dataLabelFormatter true"
770
+ * style="max-width: 700px; width: 100%; height: auto;"
771
+ * />
772
+ *
773
+ * **Note**: Not applicable to gauges and radar charts.
697
774
  */
698
- accessor dataLabelFormatter: ChartOptions["dataLabelFormatter"] | undefined;
775
+ accessor dataLabelFormatter: BarAndLineDataLabelFormatCallback | HistogramLabelFormatCallback | PieChartLabelFormatCallback | ScatterplotLabelFormatCallback | undefined;
699
776
  /**
700
777
  * Disables all interactions on the chart.
701
778
  *
@@ -708,7 +785,7 @@ export abstract class ArcgisChart extends LitElement {
708
785
  *
709
786
  * **Note**: Only applicable to multi-series charts.
710
787
  *
711
- * @deprecated since 5.1. Use [togglingLegendItemsDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#togglingLegendItemsDisabled) instead.
788
+ * @deprecated since 5.1. Use [legendInteractionsDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#legendInteractionsDisabled) instead.
712
789
  * @default false
713
790
  */
714
791
  accessor disableTogglingLegendItems: boolean;
@@ -736,7 +813,8 @@ export abstract class ArcgisChart extends LitElement {
736
813
  */
737
814
  accessor enableResponsiveFeatures: boolean;
738
815
  /**
739
- * Whether to display an error alert and hide the chart when it can't be created or updated.
816
+ * When set to `ignore`, the chart fails silently without displaying an error or hiding the chart.
817
+ * By default, it is set to `throw`, which displays an error alert and hides the chart when it can't be created or updated.
740
818
  *
741
819
  * @default "throw"
742
820
  */
@@ -744,7 +822,7 @@ export abstract class ArcgisChart extends LitElement {
744
822
  /**
745
823
  * The index of the feature to render when using a feature based gauge.
746
824
  *
747
- * **Note**: Only applicable to gauges.
825
+ * **Note**: Applicable to gauges only.
748
826
  *
749
827
  * @deprecated since 5.0. Use charts model's [featureIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/model/gauge-model/gauge-model/#featureIndex) prop instead.
750
828
  */
@@ -757,7 +835,8 @@ export abstract class ArcgisChart extends LitElement {
757
835
  */
758
836
  accessor filterByExtent: boolean;
759
837
  /**
760
- * When `true`, all chart elements are filtered based on the selection.
838
+ * When `true`, the chart uses the current selection as a data filter and renders only selected elements instead of rendering the full dataset with selection styling.
839
+ * Axis bounds, time binning intervals will be computed based on the selected elements only.
761
840
  *
762
841
  * **Note**: Not applicable to gauges or charts configured with imagery layers.
763
842
  *
@@ -765,7 +844,7 @@ export abstract class ArcgisChart extends LitElement {
765
844
  */
766
845
  accessor filterBySelection: boolean;
767
846
  /**
768
- * When `true`, all chart elements are filtered based on the view extent.
847
+ * When `true`, chart queries are constrained to the current map view extent. The chart refreshes as the view extent changes, and the axis bounds or other derived values are recalculated from the view extent data.
769
848
  *
770
849
  * @default false
771
850
  */
@@ -773,18 +852,49 @@ export abstract class ArcgisChart extends LitElement {
773
852
  /**
774
853
  * Callback function used to format the gauge inner label. If the returned string contains HTML tags they will be interpreted as such.
775
854
  *
855
+ * @example
856
+ * ```ts
857
+ * // Render a centered custom gauge label with the value formatted to 2 decimal places.
858
+ * chartElement.gaugeInnerLabelFormatter = (value) => {
859
+ * return `<div style="text-align: center;"><u>Custom gauge inner label: </u><br /><b>${Number(value).toFixed(2)}</b></div>`;
860
+ * };
861
+ * ```
862
+ *
863
+ * <img
864
+ * src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/gaugeInnerLabelFormatter.avif"
865
+ * alt="gaugeInnerLabelFormatter"
866
+ * style="max-width: 700px; width: 100%; height: auto;"
867
+ * />
868
+ *
776
869
  * **Note**: Applicable to gauges only.
777
870
  */
778
871
  accessor gaugeInnerLabelFormatter: GaugeInnerLabelFormatCallback | undefined;
779
872
  /**
780
873
  * Callback function used to format the axes guides tooltip. If the returned string contains HTML tags they will be interpreted as such.
781
874
  *
875
+ * @example
876
+ * ```ts
877
+ * // Render a custom tooltip with the guide's start and end values.
878
+ * chartElement.guideTooltipFormatter = (props) => {
879
+ * return `
880
+ * <u>Custom guide tooltip</u><br />
881
+ * Range: <b>${props.start} - ${props.end}</b>
882
+ * `;
883
+ * };
884
+ * ```
885
+ *
886
+ * <img
887
+ * src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/guideTooltipFormatter.avif"
888
+ * alt="guideTooltipFormatter"
889
+ * style="max-width: 700px; width: 100%; height: auto;"
890
+ * />
891
+ *
782
892
  * **Note**: Not applicable to pie charts.
783
893
  */
784
894
  accessor guideTooltipFormatter: GuideTooltipFormatCallback | undefined;
785
895
  /**
786
896
  * When `true`, the empty series are completely hidden from the chart and the legend.
787
- * For example, a series may become empty after applying a data filter, filter by attribute or geometry (as when using the filter by extent).
897
+ * For example, a series may become empty after applying a data filter, filter by attribute or geometry (as when using the filter by view extent).
788
898
  *
789
899
  * **Note**: Not applicable to gauges.
790
900
  *
@@ -800,27 +910,28 @@ export abstract class ArcgisChart extends LitElement {
800
910
  */
801
911
  accessor hideLicenseWatermark: boolean | undefined;
802
912
  /**
803
- * Hides the loader animation (curtain and spinner), showed by default at every update.
913
+ * When `true`, the loader animation is hidden when the chart is being created or updated. By default, it is shown at chart creation and each update (if it takes more than 300ms).
914
+ * | When `hideLoaderAnimation` is `true` | When `hideLoaderAnimation` is `false` |
915
+ * | -------- | -------- |
916
+ * | <video src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/hideLoaderAnimationTrue.webm" aria-label="animationEnabled" width="720" autoPlay loop muted playsInline/> | <video src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/hideLoaderAnimationFalse.webm" aria-label="animationEnabled" width="720" autoPlay loop muted playsInline/>
804
917
  *
805
918
  * @default false
806
919
  */
807
920
  accessor hideLoaderAnimation: boolean;
808
921
  /**
809
- * Whether to display or hide all UI messages (e.g. no data warnings, or when the logarithmic scale can't be applied to an axis when the data contains values <= 0).
922
+ * When set to `true`, UI messages are hidden. These messages can be no data warnings, any placeholder messages set or invalid chart configuration.
923
+ * By default, its value is `false`, which displays the messages on the chart.
810
924
  *
811
925
  * @default false
812
926
  * @since 5.1
813
927
  */
814
928
  accessor hideUIMessages: boolean;
815
929
  /**
816
- * Whether to keep missing categories from a count aggregation as gaps in the chart's data.
930
+ * When `true`, missing categories from a `Count` aggregation are kept as gaps in the chart's data.
817
931
  *
818
- * When data is retrieved from the server, the server excludes all features having a count of 0 from the response; hence resulting in missing entries on the charts.
932
+ * When data is retrieved from the server, features with a count of 0 are excluded from the response, resulting in missing chart entries.
819
933
  *
820
- * When this property is set to `true`, the dataset will keep these gaps instead of filling them with 0s.
821
- *
822
- * When left to `false`, the chart's dataItems associated with empty (no value) categories (from only a `Count` aggregation)
823
- * will be populated with 0s, via the`completeDataForEmptyCategoriesWithZeros` method.
934
+ * By default, the chart's [WebChartGenericDataItem](https://developers.arcgis.com/javascript/latest/references/charts-components/spec/data-source/#WebChartGenericDataItem-dataItems) associated with empty categories (from only a `Count` aggregation) are populated with 0s.
824
935
  *
825
936
  * @default false
826
937
  * @since 5.1
@@ -842,18 +953,18 @@ export abstract class ArcgisChart extends LitElement {
842
953
  */
843
954
  accessor ignoreSmoothRenderingLimit: boolean;
844
955
  /**
845
- * This property will be effective when the component's `view` is provided or when the `layer` is set to a FeatureLayerView.
956
+ * When `true`, it signals the queries to ignore the view's extent, whether an additional geometry filter is provided or not.
846
957
  *
847
- * By default the queries made by the chart will consider the view's extent as the unique geometry filter applicable. This implies ignoring any
848
- * geometry passed through the model (`component.model.dataFilters`) or the runtime filters (`component.runtimeDataFilters`).
958
+ * This property will be effective when the component's [view](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#view) property is provided or when the [layer](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layer) property is set to [`FeatureLayerView`](/references/core/views/layers/FeatureLayerView/).
849
959
  *
850
- * Setting this property to `false` signals the queries to ignore the view's extent, whether an additional geometry filter is provided or not.
960
+ * By default the queries made by the chart will consider the view's extent as the unique geometry filter applicable. This implies ignoring any
961
+ * geometry filters passed through the [model](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#model) or the [runtimeDataFilters](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#runtimeDataFilters) properties.
851
962
  *
852
963
  * @default false
853
964
  */
854
965
  accessor ignoreViewExtent: boolean;
855
966
  /**
856
- * Disables all interactions on the chart.
967
+ * When `true`, all interactions such as zooming and selection are disabled on the chart. The chart will be rendered in a read-only state.
857
968
  *
858
969
  * @default false
859
970
  */
@@ -862,7 +973,7 @@ export abstract class ArcgisChart extends LitElement {
862
973
  * Used to perform queries.
863
974
  * If the layer is a `FeatureLayerView` or if the layer and the `view` property are both provided, the queries will be executed client-side.
864
975
  */
865
- accessor layer: FeatureLayerView | SupportedLayer | SupportedRasterLayer | undefined;
976
+ accessor layer: ChartLayerInput | FeatureLayerView | undefined;
866
977
  /**
867
978
  * Allows the chart to update automatically when the layer's `fields` property changes.
868
979
  *
@@ -878,9 +989,12 @@ export abstract class ArcgisChart extends LitElement {
878
989
  */
879
990
  accessor layerFilterChangePolicy: LayerFilterChangePolicy;
880
991
  /**
881
- * Layer item ID associated with the chart to be rendered. Can be used in conjunction with the `chartIndex` property.
992
+ * Layer item ID associated with the chart to be rendered. Can be used in conjunction with the `chartIndex` property. If `layerItemId` is set without `chartIndex`, the first chart in the layer will be rendered.
993
+ *
994
+ * The layer item ID can be found in the URL of the layer's item page on ArcGIS Online or Enterprise.
995
+ * For example, in the URL `https://www.arcgis.com/home/item.html?id=8871626e970a4f3e9d6113ec63a92f2f`, the layer item ID is `8871626e970a4f3e9d6113ec63a92f2f`.
882
996
  *
883
- * If `layerItemId` is set without `chartIndex`, the first chart in the layer will be rendered.
997
+ * Supported layer types include: [`FeatureLayer`](/references/core/layers/FeatureLayer), [`SubtypeSublayer`](/references/core/layers/support/SubtypeSublayer), [`ImageryLayer`](/references/core/layers/ImageryLayer), [`ImageryTileLayer`](/references/core/layers/ImageryTileLayer) and [`WCSLayer`](/references/core/layers/WCSLayer).
884
998
  *
885
999
  * @example
886
1000
  * ```html
@@ -889,16 +1003,23 @@ export abstract class ArcgisChart extends LitElement {
889
1003
  */
890
1004
  accessor layerItemId: string | undefined;
891
1005
  /**
892
- * Allows the chart to update automatically when the layer's renderer changes.
893
- * Applies when the color match is enabled.
894
- *
895
- * @deprecated
896
- * since 5.1. Won't be replaced.
1006
+ * Allows the chart to update automatically when the layer's renderer changes. Applies when the color match is enabled.
897
1007
  *
898
1008
  * **Note**: If the property is set to `ignore` the chart will still use the layer's renderer information when the data is updated.
1009
+ *
1010
+ * @deprecated since 5.1. Won't be replaced.
899
1011
  * @default "refresh"
900
1012
  */
901
1013
  accessor layerRendererChangePolicy: LayerRendererChangePolicy;
1014
+ /**
1015
+ * When `true`, disables the toggling of series or slices from the legend items. Clicking on the legend items will not hide or show the corresponding elements on the chart.
1016
+ *
1017
+ * **Note**: Only applicable to charts with multiple series and while the legend is displayed.
1018
+ *
1019
+ * @default false
1020
+ * @since 5.2
1021
+ */
1022
+ accessor legendInteractionsDisabled: boolean | undefined;
902
1023
  /**
903
1024
  * Sets the legend's position on the chart.
904
1025
  *
@@ -908,8 +1029,28 @@ export abstract class ArcgisChart extends LitElement {
908
1029
  */
909
1030
  accessor legendPosition: WebChartLegendPositions | undefined;
910
1031
  /**
911
- * A callback function used to format the legend value labels. If the returned string contains HTML tags they will be interpreted as such.
912
- * If provided, the formatter will be used if at least `WebChartPieChartLegend.displayNumericValue` or `WebChartPieChartLegend.displayPercentage` is true.
1032
+ * When the pie chart label contains either a numeric value or a percentage (which can be set through the
1033
+ * [displayNumericValueOnLegendItems](https://developers.arcgis.com/javascript/latest/references/charts-components/model/pie-chart-model/pie-chart-model/#displayNumericValueOnLegendItems) and
1034
+ * [displayPercentageOnLegendItems](https://developers.arcgis.com/javascript/latest/references/charts-components/model/pie-chart-model/pie-chart-model/#displayPercentageOnLegendItems) properties from the pie chart model), this property
1035
+ * can be used to format the numeric value and/or percentage. If the returned string contains HTML tags they will be interpreted as such.
1036
+ *
1037
+ * @example
1038
+ * ```ts
1039
+ * // Set the pie chart model to display both numeric value and percentage.
1040
+ * pieChartModel.displayNumericValueOnLegendItems = true;
1041
+ * pieChartModel.displayPercentageOnLegendItems = true;
1042
+ *
1043
+ * // Render the numeric value and percentage in bold and italic respectively, with 2 decimal places.
1044
+ * chartElement.legendValueLabelFormatter = (value, percentage) => {
1045
+ * return `<strong><u>${Number(value).toFixed(2)}</u></strong> (<em>${Number(percentage).toFixed(2)}%</em>)`;
1046
+ * };
1047
+ * ```
1048
+ *
1049
+ * <img
1050
+ * src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/legendValueLabelFormatter.avif"
1051
+ * alt="legendValueLabelFormatter"
1052
+ * style="max-width: 400px; width: 100%; height: auto;"
1053
+ * />
913
1054
  *
914
1055
  * **Note**: Applicable to pie charts only.
915
1056
  */
@@ -930,12 +1071,34 @@ export abstract class ArcgisChart extends LitElement {
930
1071
  * @example
931
1072
  * ```ts
932
1073
  * // Set a blue curtain and a red spinner for the loader animation
933
- * myChart.loaderColors = { curtainColor: [30, 144, 255, 255], spinnerColor: [255, 0, 0, 255] };
1074
+ * chartComponent.loaderColors = { curtainColor: [30, 144, 255, 255], spinnerColor: [255, 0, 0, 255] };
934
1075
  * ```
935
1076
  */
936
1077
  accessor loaderColors: LoaderColors | undefined;
937
- /** Custom message overrides for the chart's strings. */
938
- accessor messageOverrides: { chartNotFoundWarning?: string | undefined; } & {
1078
+ /**
1079
+ * Custom messages for translated strings on the chart. If the returned string contains HTML tags they will be interpreted as such.
1080
+ *
1081
+ * The customizable messages can be found thru the [`CommonStringsIdentity`](/references/charts-components/utils/localization/interfaces/#CommonStringsIdentity) variable.
1082
+ *
1083
+ * @example
1084
+ * ```ts
1085
+ * // User sets the xAxisField to a field that doesn't exist in the dataset.
1086
+ * barChartModel.xAxisField = "wrong_field_name";
1087
+ *
1088
+ * // Overrides the default message when there's a query error instead of displaying the default "Failure to read input data." message.
1089
+ * chartElement.messageOverrides = {
1090
+ * errorStrings: {
1091
+ * errors: {
1092
+ * queryError:
1093
+ * "<b><u>The input data provided is invalid, please ensure the xAxisField is correctly specified.</u></b>"
1094
+ * },
1095
+ * },
1096
+ * };
1097
+ * ```
1098
+ *
1099
+ * ![messageOverrides](https://developers.arcgis.com/javascript/latest/assets/references/components/chart/messageOverrides.avif)
1100
+ */
1101
+ accessor messageOverrides: {
939
1102
  utilsStrings?: {
940
1103
  chartType?: {
941
1104
  chart?: string | undefined;
@@ -1018,6 +1181,8 @@ export abstract class ArcgisChart extends LitElement {
1018
1181
  } | undefined;
1019
1182
  notifications?: {
1020
1183
  invalidConfig?: string | undefined;
1184
+ invalidConfigForRaster?: string | undefined;
1185
+ invalidConfigTitle?: string | undefined;
1021
1186
  invalidSeriesConfig?: string | undefined;
1022
1187
  invalidSeriesConfigTitle?: string | undefined;
1023
1188
  validateAggregationTypeMsg?: string | undefined;
@@ -1071,6 +1236,10 @@ export abstract class ArcgisChart extends LitElement {
1071
1236
  twoTemporalSeriesLineCountCannotExceedLimit?: string | undefined;
1072
1237
  threePlusTemporalSeriesLineCountCannotExceedLimit?: string | undefined;
1073
1238
  lineSeriesCountCannotExceedLimit?: string | undefined;
1239
+ uniqueSeriesRadarCountCannotExceedLimit?: string | undefined;
1240
+ twoSeriesRadarCountCannotExceedLimit?: string | undefined;
1241
+ threePlusSeriesRadarCountCannotExceedLimit?: string | undefined;
1242
+ radarSeriesCountCannotExceedLimit?: string | undefined;
1074
1243
  uniqueSeriesBoxCountCannotExceedLimit?: string | undefined;
1075
1244
  twoSeriesBoxCountCannotExceedLimit?: string | undefined;
1076
1245
  threePlusBoxLineCountCannotExceedLimit?: string | undefined;
@@ -1200,25 +1369,42 @@ export abstract class ArcgisChart extends LitElement {
1200
1369
  "Unable to load file: %1"?: string | undefined;
1201
1370
  "Invalid date"?: string | undefined;
1202
1371
  } | undefined;
1203
- };
1372
+ } & { chartNotFoundWarning?: string | undefined; };
1204
1373
  /**
1205
1374
  * Provides an API to interact with the chart's configuration.
1206
1375
  *
1207
- * **Note**: This property has a union type of `ChartModel | WebChart` meaning a raw chart configuration object can be passed to it instead, however it is recommended to use the `ChartModel` instance whenever possible.
1376
+ * `model` accepts either a [ChartModel](https://developers.arcgis.com/javascript/latest/references/charts-components/model/chart-model/chart-model/) instance or a [WebChart](https://developers.arcgis.com/javascript/latest/references/charts-components/spec/web-chart/#WebChart) object.
1377
+ * - `ChartModel`: A chart model class instance, which can be created using the [createModel](https://developers.arcgis.com/javascript/latest/references/charts-components/model/shared/setup-utils/#createModel) function.
1378
+ * - This is the recommended approach as it ensures the chart configuration is valid and compatible with the component.
1379
+ * - `WebChart`: A plain chart configuration object that follows the [WebChart](https://developers.arcgis.com/javascript/latest/references/charts-components/spec/web-chart/#WebChart) specification.
1380
+ *
1381
+ * @see [Create a new chart with charts model](https://developers.arcgis.com/javascript/latest/charts/#create-a-new-chart-with-charts-model)
1208
1382
  */
1209
1383
  accessor model: ChartModel | WebChart | undefined;
1210
1384
  /**
1211
- * Whether to consider a `null` statistic as valid. If set to `false` and the data has only null values, the chart's dataset will be considered empty:
1212
- * - The corresponding warning event will be sent
1213
- * - The "no data" message will be displayed (unless `hideUIMessages` is set to `true` or `showUIMessages` is set to `false`)
1385
+ * When `true`, null values are considered as valid.
1386
+ *
1387
+ * By default, when the data contains only null values, the chart dataset is considered empty:
1388
+ * - The [@arcgisBadDataWarningRaise](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisBadDataWarningRaise) event will be sent.
1389
+ * - The "No data available to display" warning message will be displayed in the chart container.
1214
1390
  *
1215
1391
  * @default false
1216
1392
  */
1217
1393
  accessor nullAsValid: boolean;
1218
- /** A placeholder string to provides a brief hint to the user indicating needed information for creating a chart. */
1394
+ /**
1395
+ * Placeholder text displayed in the chart container when no chart is configured.
1396
+ * If the string contains HTML tags they will be interpreted as such.
1397
+ *
1398
+ * @example
1399
+ * ```ts
1400
+ * chartElement.placeholder = "<strong>Welcome!</strong><br/>Read the <a href=\"https://developers.arcgis.com/javascript/latest/charts/charts-intro/\">charts introduction page</a> to get started.";
1401
+ * ```
1402
+ *
1403
+ * ![placeholder](https://developers.arcgis.com/javascript/latest/assets/references/components/chart/placeholder.avif)
1404
+ */
1219
1405
  accessor placeholder: string | undefined;
1220
1406
  /**
1221
- * Allows the use of the fields alias from the `layer.popupTemplate` when rendering the field names on the chart (e.g. tooltips, axes, legend).
1407
+ * When `true`, field aliases from layer's [popupTemplate](/references/core/layers/FeatureLayer/#popupTemplate) are used to render field names in tooltips, axes and legend on the chart.
1222
1408
  *
1223
1409
  * @default false
1224
1410
  */
@@ -1232,19 +1418,20 @@ export abstract class ArcgisChart extends LitElement {
1232
1418
  accessor queueChartCreation: boolean | undefined;
1233
1419
  /**
1234
1420
  * When `true`, the chart's `dataItems` associated with empty (no value) categories (from only a `Count` aggregation)
1235
- * will be populated with 0s, via the `completeDataForEmptyCategoriesWithZeros` method.
1421
+ * will be populated with 0s.
1236
1422
  *
1237
1423
  * @deprecated since 5.0. Use [hideZeroCountCategories](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#hideZeroCountCategories) instead.
1238
1424
  * @default false
1239
1425
  */
1240
1426
  accessor replaceNoValueCategoryWithZero: boolean | undefined;
1241
1427
  /**
1242
- * When `true`, the features extent will be returned through the `arcgisDataProcessComplete` and `arcgisSelectionComplete` events payload.
1428
+ * When `true`, the feature extent is returned in the payload of [@arcgisDataProcessComplete](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisDataProcessComplete)
1429
+ * and [@arcgisSelectionComplete](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisSelectionComplete) events.
1243
1430
  * Applies only to:
1244
1431
  * - Charts using an aggregation.
1245
- * - Data source using a feature layer compatible with envelope aggregation.
1432
+ * - Data sources using a feature layer compatible with envelope aggregation.
1246
1433
  *
1247
- * The extent (`IExtent`) is returned through a property called `arcgis_charts_features_extent`.
1434
+ * The extent is returned through the [featuresExtentField](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/index/#featuresExtentField) variable.
1248
1435
  *
1249
1436
  * **Note**: Not applicable to gauges.
1250
1437
  *
@@ -1252,7 +1439,7 @@ export abstract class ArcgisChart extends LitElement {
1252
1439
  */
1253
1440
  accessor returnFeaturesExtent: boolean;
1254
1441
  /**
1255
- * When `true`, the selection indexes will be computed whenever a selection is made on or passed to the chart.
1442
+ * When `true`, selection indexes are computed and returned whenever a selection is made on or passed to the chart.
1256
1443
  *
1257
1444
  * **Note**: Not applicable to gauges.
1258
1445
  *
@@ -1260,10 +1447,10 @@ export abstract class ArcgisChart extends LitElement {
1260
1447
  */
1261
1448
  accessor returnSelectionIndexes: boolean;
1262
1449
  /**
1263
- * When `true`, the object ids will be computed whenever a selection is made on or passed to the chart.
1264
- * Only considered for a data source using a feature layer.
1450
+ * When `true`, object ids are computed and returned whenever a selection is made on or passed to the chart.
1451
+ * Only considered for data sources using a [feature layer](/references/core/layers/FeatureLayer).
1265
1452
  *
1266
- * **Note**: Not applicable to gauges or charts configured with imagery layers. It's always `false` for imagery layers. No object ids will be computed.
1453
+ * **Note**: Not applicable to gauges or charts configured with imagery layers.
1267
1454
  *
1268
1455
  * @default false
1269
1456
  */
@@ -1271,7 +1458,7 @@ export abstract class ArcgisChart extends LitElement {
1271
1458
  /**
1272
1459
  * When `true`, the chart is rotated 90 degrees so that the x-axis becomes vertical and the y-axis becomes horizontal.
1273
1460
  *
1274
- * **Note**: Applicable to bar chart, line chart, combo bar and line chart and box plot.
1461
+ * **Note**: Applicable to bar charts, box plots, combo bar line charts and line charts.
1275
1462
  *
1276
1463
  * @default false
1277
1464
  */
@@ -1279,115 +1466,230 @@ export abstract class ArcgisChart extends LitElement {
1279
1466
  /**
1280
1467
  * When `true`, the chart is rotated 90 degrees so that the x-axis becomes vertical and the y-axis becomes horizontal.
1281
1468
  *
1282
- * **Note**: Applicable to bar chart, line chart, combo bar and line chart and box plot.
1469
+ * **Note**: Applicable to bar chart, line chart, combo bar line chart and box plot.
1283
1470
  *
1284
1471
  * @deprecated since 5.0. Use either [rotated](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#rotated) or the charts model's [rotated](https://developers.arcgis.com/javascript/latest/references/charts-components/model/bar-chart-model/bar-chart-model/#rotated) prop instead.
1285
1472
  * @default false
1286
1473
  */
1287
1474
  accessor rotation: boolean;
1288
1475
  /**
1289
- * Applies runtime data filters to the chart.
1476
+ * Applies runtime data filters to the chart, features will be filtered based on the provided key value pairs.
1477
+ *
1478
+ * Supported keys are `where`, `objectIds`, `geometry`, `spatialRelationship`, `distance`, `units`, `timeExtent`, and `gdbVersion`.
1290
1479
  *
1291
1480
  * @example
1292
1481
  * ```ts
1293
- * myChart.runtimeDataFilters = {
1294
- * where: "FieldValue = 9",
1482
+ * // This example filters the chart to show only features with the name "Katrina", object IDs 12, 19, and 27, within a specified geometry, within 10 miles and a specific time extent.
1483
+ * const start = new Date(2005, 8, 23).getTime();
1484
+ * const end = new Date(2005, 8, 28).getTime();
1485
+ *
1486
+ * chartComponent.runtimeDataFilters = {
1487
+ * where: "Name = 'Katrina'",
1488
+ * objectIds: [12, 19, 27],
1489
+ * geometry: {
1490
+ * xmin: -130,
1491
+ * ymin: 20,
1492
+ * xmax: -60,
1493
+ * ymax: 55,
1494
+ * },
1495
+ * spatialRelationship: "contains",
1496
+ * distance: 10,
1497
+ * units: "miles",
1498
+ * timeExtent: [start, end]
1295
1499
  * };
1296
1500
  * ```
1297
1501
  */
1298
1502
  accessor runtimeDataFilters: WebChartDataFilters | undefined;
1299
1503
  /**
1300
1504
  * Callback function used to format the secondary y-axis labels. If the returned string contains HTML tags they will be interpreted as such.
1301
- * The property will be effective only if 3 axes are defined (dual axis chart).
1302
1505
  *
1303
- * **Note**: Appliable to bar charts, line charts, combo bar line charts and radar charts.
1506
+ * @example
1507
+ * ```ts
1508
+ * // Render a custom secondary y-axis label with the value formatted as a compact currency.
1509
+ * chartElement.secondaryYAxisLabelFormatter = (value) => {
1510
+ * const formattedValue = new Intl.NumberFormat("en-US", {
1511
+ * style: "currency",
1512
+ * currency: "USD",
1513
+ * notation: "compact",
1514
+ * maximumFractionDigits: 1,
1515
+ * }).format(value);
1516
+ * return `<strong>${formattedValue}</strong>`;
1517
+ * };
1518
+ * ```
1519
+ *
1520
+ * ![secondaryYAxisLabelFormatter](https://developers.arcgis.com/javascript/latest/assets/references/components/chart/secondaryYAxisLabelFormatter.avif)
1521
+ *
1522
+ * **Note**: Applicable to bar, line, and combo bar line charts configured with dual axes through the [setSeriesToSecondaryYAxis](https://developers.arcgis.com/javascript/latest/references/charts-components/model/bar-chart-model/bar-chart-model/#setSeriesToSecondaryYAxis) method.
1304
1523
  */
1305
1524
  accessor secondaryYAxisLabelFormatter: AxisLabelFormatCallback | undefined;
1306
1525
  /**
1307
- * When this property is set, it will apply a selection on the chart matching the provided selection.
1526
+ * Applies a programmatic selection to the chart. The payload can target chart elements by object IDs (`selectionOIDs`), by indexes (`selectionIndexes`), or by items (`selectionItems`).
1527
+ *
1528
+ * ##### Selection by object IDs
1529
+ * When passing in a `selectionOIDs` array, the chart will match the provided object IDs with the chart's data items and apply the selection.
1530
+ *
1531
+ * @example
1532
+ * ```ts
1533
+ * // This selects the chart data items (`Mid East` and `Great Lakes`) that contains the object IDs "3118" and "6544".
1534
+ * chartElement.selectionData = {
1535
+ * selectionOIDs: [3118, 6544],
1536
+ * };
1537
+ * ```
1538
+ *
1539
+ * <img
1540
+ * src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/selectionData_selectionOIDs.avif"
1541
+ * alt="selectionOIDs"
1542
+ * style="max-width: 600px; width: 100%; height: auto;"
1543
+ * />
1544
+ *
1545
+ * ##### Selection by items
1546
+ * When passing in a `selectionItems` array, the chart will match the provided items with the chart's data items and apply the selection.
1547
+ * @example
1548
+ * ```ts
1549
+ * // This selects the first chart data item with the matching items.
1550
+ * chartElement.selectionData = {
1551
+ * selectionItems: [
1552
+ * {
1553
+ * // The field name and value
1554
+ * neighbourhood_group: "Manhattan",
1555
+ * // The y-series field name and value, 0 indicates the first series.
1556
+ * COUNT_OBJECTID_0: "",
1557
+ * },
1558
+ * ],
1559
+ * };
1560
+ * ```
1561
+ *
1562
+ * <img
1563
+ * src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/selectionData_selectionItems.avif"
1564
+ * alt="selectionItems"
1565
+ * style="max-width: 600px; width: 100%; height: auto;"
1566
+ * />
1308
1567
  *
1309
1568
  * **Note**: Not applicable to gauges.
1310
1569
  */
1311
1570
  accessor selectionData: SelectionData | undefined;
1312
1571
  /**
1313
- * Selection manager object used to synchronize the selections with the chart when `syncViewSelection` is `true`.
1314
- * It has precedence over the layer view's [SelectionManager](https://developers.arcgis.com/javascript/latest/references/core/views/SelectionManager/) when both are available.
1572
+ * Selection manager object used to synchronize the selections with the chart when [syncViewSelection](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#syncViewSelection) is `true`.
1573
+ * It has precedence over the layer view's [SelectionManager](/references/core/views/SelectionManager/) when both are available.
1315
1574
  *
1316
1575
  * @since 5.1
1317
1576
  */
1318
1577
  accessor selectionManager: SelectionManager | undefined;
1319
1578
  /**
1320
- * Used to provide a customized theme for the selected and non selected elements.
1321
- * - If no style is provided for the selected elements, a default selection is applied.
1322
- * - If no style is provided for the non selected elements, the chart's style is applied.
1579
+ * Customizes the visual style applied to selected and non-selected chart data items (bars, slices, markers, boxes etc.).
1323
1580
  *
1324
- * **Note**: Not applicable to gauges.
1581
+ * - The [`selectedElementsTheme`](/references/charts-components/utils/misc/interfaces/#SelectionTheme-selectedElementsTheme) property controls the appearance of selected elements.
1582
+ * - The [`nonSelectedElementsTheme`](/references/charts-components/utils/misc/interfaces/#SelectionTheme-nonSelectedElementsTheme) property controls the appearance of elements that are not selected.
1325
1583
  *
1326
- * * \@example
1584
+ * @example
1327
1585
  * ```ts
1328
- * myChart.selectionTheme = {
1329
- * "selectedElementsTheme": {
1330
- * "transformation": {
1331
- * "scale": 1.2
1332
- * }
1586
+ * chartElement.selectionTheme = {
1587
+ * // The selected elements will have a magenta outline with a width of 3 pixels and will be scaled up by 10%.
1588
+ * selectedElementsTheme: {
1589
+ * elementOutlineColor: [255, 0, 237, 255],
1590
+ * elementOutlineWidth: 3,
1591
+ * transformation: {
1592
+ * scale: 1.1,
1593
+ * },
1333
1594
  * },
1334
- * "nonSelectedElementsTheme": {
1335
- * "transformation": {
1336
- * "opacity": 0.5
1337
- * }
1338
- * }
1339
- * }
1595
+ * // The non-selected elements will be scaled down by 20% and have their opacity reduced to 50%.
1596
+ * nonSelectedElementsTheme: {
1597
+ * transformation: {
1598
+ * scale: 0.8,
1599
+ * opacity: 0.5,
1600
+ * },
1601
+ * },
1602
+ * };
1340
1603
  * ```
1604
+ *
1605
+ * <img
1606
+ * src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/selectionTheme.avif"
1607
+ * alt="selectionTheme"
1608
+ * style="max-width: 700px; width: 100%; height: auto;"
1609
+ * />
1610
+ *
1611
+ * **Note**: Not applicable to gauges.
1341
1612
  */
1342
1613
  accessor selectionTheme: SelectionTheme | undefined;
1343
1614
  /**
1344
- * When `true`, the series properties `unit` and `size` become optional and will be automatically set to values that fit the data set. Used when creating or updating a chart compatible with time binning.
1615
+ * When `true`, the time binning unit and size is automatically set when not provided via the [`temporalBinningSize`](/references/charts-components/model/bar-chart-model/bar-chart-model/#temporalBinningSize) or [`temporalBinningUnit`](/references/charts-components/model/line-chart-model/line-chart-model/#temporalBinningUnit) properties of the chart model.
1616
+ *
1617
+ * The time binning unit and size information for the chart will be derived from the dataset's date minimum and maximum values to compute an interval that best fits the date range.
1345
1618
  *
1346
- * **Note**: Only applicable to charts using the temporal binning feature (bar chart, line chart, combo bar and line chart, radar chart).
1619
+ * **Note**: Only applicable to charts with temporal binning enabled (bar chart, combo bar line chart, line chart, radar chart).
1347
1620
  *
1348
1621
  * @default false
1349
1622
  */
1350
1623
  accessor setTimeBinningInfoWhenNotProvided: boolean;
1351
1624
  /**
1352
- * Show the series on the chart even if it doesn't have data (i.e. empty)
1625
+ * When `true`, show the series on the chart and legend even if it doesn't contain any data.
1353
1626
  *
1354
- * When `false`, the empty series are completely hidden from the chart and the legend.
1355
- * For example a series can be empty after applying a data filter, filter by attribute or geometry (as when using the filter by extent).
1356
- *
1357
- * **Note**: Not applicable to gauges.
1627
+ * By default, the empty series are hidden from the chart and the legend.
1358
1628
  *
1359
1629
  * @default false
1630
+ * @example
1631
+ * ```ts
1632
+ * // In this example, we first set a data filter to only include features with a room type of "Entire home/apt" or "Private room".
1633
+ * // The "Shared room" series will be empty after applying the data filter.
1634
+ * chartElement.runtimeDataFilters = {
1635
+ * where: "room_type = 'Entire home/apt' OR room_type = 'Private room'",
1636
+ * };
1637
+ *
1638
+ * // With the `showEmptySeries` property set to `true`,
1639
+ * // the "Shared room" series will still be displayed on the chart and in the legend, even though it was filtered out.
1640
+ * chartElement.showEmptySeries = true;
1641
+ * ```
1642
+ *
1643
+ * <img
1644
+ * src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/showEmptySeries.avif"
1645
+ * alt="showEmptySeries"
1646
+ * style="max-width: 700px; width: 100%; height: auto;"
1647
+ * />
1648
+ *
1649
+ * **Note**: Not applicable to gauges.
1360
1650
  * @since 5.1
1361
1651
  */
1362
1652
  accessor showEmptySeries: boolean;
1363
1653
  /**
1364
- * Shows the license watermark.
1654
+ * When `true`, the license watermark is displayed on the lower left corner of the chart.
1365
1655
  *
1656
+ * @deprecated since 5.2. Won't be replaced.
1366
1657
  * @default false
1367
1658
  * @since 5.1
1368
1659
  */
1369
1660
  accessor showLicenseWatermark: boolean;
1370
1661
  /**
1371
- * Whether to display or hide all UI messages (e.g. no data warnings, or when the logarithmic scale can't be applied to an axis when the data contains values <= 0).
1662
+ * Whether to display or hide all UI messages (e.g. no data warnings, any placeholder messages set or invalid chart configuration).
1372
1663
  *
1373
1664
  * @deprecated since 5.1. Use [hideUIMessages](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#hideUIMessages) instead.
1374
1665
  * @default false
1375
1666
  */
1376
1667
  accessor showUIMessages: boolean | undefined;
1377
1668
  /**
1378
- * Whether to skip the chart rendering queue.
1379
- *
1380
1669
  * When `true`, charts will render immediately without waiting for other charts to finish rendering.
1381
- * When `false` (default), charts are queued so that only one chart renders at a time.
1670
+ * By default, charts are queued so that only one chart renders at a time.
1382
1671
  *
1383
1672
  * @default false
1384
1673
  * @since 5.1
1385
1674
  */
1386
1675
  accessor skipChartCreationQueue: boolean;
1387
1676
  /**
1388
- * Whether to synchronize the selection between chart components from the same layer.
1677
+ * When `true`, the selection will be synchronized between charts configured with the same layer.
1389
1678
  *
1390
1679
  * @default false
1680
+ * @example
1681
+ * ```ts
1682
+ * // Both charts are configured with the same layer.
1683
+ * // The "Private room" slice is selected on the pie chart and the selection is reflected on the bar chart.
1684
+ * chartElement1.syncChartsSelection = true;
1685
+ * chartElement2.syncChartsSelection = true;
1686
+ * ```
1687
+ *
1688
+ * <img
1689
+ * src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/syncChartsSelection.avif"
1690
+ * alt="syncChartsSelection"
1691
+ * style="max-width: 700px; width: 100%; height: auto;"
1692
+ * />
1391
1693
  * @since 5.1
1392
1694
  */
1393
1695
  accessor syncChartsSelection: boolean;
@@ -1399,14 +1701,14 @@ export abstract class ArcgisChart extends LitElement {
1399
1701
  */
1400
1702
  accessor syncSelection: boolean;
1401
1703
  /**
1402
- * Determines whether the chart's selection should be synchronized with either the chart's `selectionManager` or the layer view's.
1704
+ * Determines whether the chart's selection should be synchronized with either the chart's [selectionManager](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#selectionManager) or the layer view's.
1403
1705
  *
1404
1706
  * @deprecated since 5.1. Use [syncViewSelection](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#syncViewSelection) prop instead.
1405
1707
  * @default "disabled"
1406
1708
  */
1407
1709
  accessor syncSelectionsBetweenChartAndLayerViewPolicy: SyncSelectionsBetweenChartAndLayerViewPolicy;
1408
1710
  /**
1409
- * Determines whether the chart's selection should be synchronized with either the chart's `selectionManager` or the layer view's.
1711
+ * Determines whether the chart's selection should be synchronized with either the chart's [selectionManager](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#selectionManager) or the layer view's.
1410
1712
  *
1411
1713
  * @default false
1412
1714
  * @since 5.1
@@ -1422,7 +1724,8 @@ export abstract class ArcgisChart extends LitElement {
1422
1724
  */
1423
1725
  accessor syncViewTimeExtent: boolean;
1424
1726
  /**
1425
- * Whether the chart's data should be in sync with the view's time zone (`timeZone`).
1727
+ * Whether the chart's data should be in sync with the view's [timeZone](/references/core/views/MapView/#timeZone).
1728
+ *
1426
1729
  * **Note**: This applies only to charts supporting temporal data. Additionally if the data is binned, it applies only if the layer has the
1427
1730
  * capacity to handle the `/queryBins` operation. For any other case the chart will ignore the view's time zone regardless of the value of this property.
1428
1731
  *
@@ -1431,7 +1734,8 @@ export abstract class ArcgisChart extends LitElement {
1431
1734
  */
1432
1735
  accessor syncViewTimeZone: boolean;
1433
1736
  /**
1434
- * List of chart types to include from syncing the view's time zone (`timeZone`) with the data. Currently heat charts are included by default.
1737
+ * List of chart types to include from syncing the view's [`timeZone`](/references/core/views/MapView/#timeZone) with the data. Currently heat charts are included by default.
1738
+ *
1435
1739
  * **Note**: This applies only to charts supporting temporal data. Additionally if the data is binned, it applies only if the layer has the
1436
1740
  * capacity to handle the `/queryBins` operation. For any other case the chart will ignore the view's time zone regardless of the content of this list.
1437
1741
  *
@@ -1445,40 +1749,44 @@ export abstract class ArcgisChart extends LitElement {
1445
1749
  * ```ts
1446
1750
  * chartComponent.timeZone = "America/Los_Angeles";
1447
1751
  * ```
1448
- * @example
1449
- * ```html
1450
- * <arcgis-chart time-zone="America/Los_Angeles"></arcgis-chart>
1451
- * ```
1452
1752
  */
1453
1753
  accessor timeZone: MapView["timeZone"] | undefined;
1454
1754
  /**
1455
- * Disables the toggling of series via the legend items.
1755
+ * When `true`, disables the toggling of series or slices from the legend items. Clicking on the legend items will not hide or show the corresponding elements on the chart.
1456
1756
  *
1457
- * **Note**: Only applicable to multi-series charts.
1757
+ * **Note**: Only applicable to charts with multiple series and while the legend is displayed.
1458
1758
  *
1759
+ * @deprecated since 5.2. Use [legendInteractionsDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#legendInteractionsDisabled) instead.
1459
1760
  * @default false
1460
1761
  */
1461
1762
  accessor togglingLegendItemsDisabled: boolean | undefined;
1462
1763
  /**
1463
- * Callback function used to format the tooltips. If the returned string contains HTML tags they will be interpreted as such.
1764
+ * Callback function used to format the tooltips when hovering over a chart element. If the returned string contains HTML tags they will be interpreted as such.
1464
1765
  *
1465
1766
  * @example
1466
1767
  * ```ts
1467
- * myChart.tooltipFormatter = ({ statValue }) => {
1468
- * return `<b>Custom tooltip</b> for ${statValue}`;
1469
- * };
1768
+ * // Render a custom tooltip with the series name, x-value, and stat value.
1769
+ * chartElement.tooltipFormatter = (props) => `
1770
+ * <div>
1771
+ * <div><strong>${props.seriesName}</strong> in <strong>${props.xValue}</strong></div>
1772
+ * <div>Total listings: <strong>${props.statValue}</strong></div>
1773
+ * </div>
1774
+ * `;
1470
1775
  * ```
1471
1776
  *
1777
+ * ![tooltipFormatter](https://developers.arcgis.com/javascript/latest/assets/references/components/chart/tooltipFormatter.avif)
1778
+ *
1472
1779
  * **Note**: Not applicable to gauges.
1473
1780
  */
1474
- accessor tooltipFormatter: ChartOptions["tooltipFormatter"] | undefined;
1781
+ accessor tooltipFormatter: TooltipFormatters | undefined;
1475
1782
  /**
1476
- * Whether to update the series when the data updates while the chart uses a split-by field configuration.
1477
- *
1478
- * If `addMissingSeries` is set to `true` the missing series will be added to cover the split-by values not referenced by the model.
1479
- * The default information from the property `updateSplitBySeries.seriesTemplate` will be applied to the new series.
1783
+ * Whether to automatically add the missing series to cover the split-by values not referenced in the configuration.
1784
+ * - This property only applies to plain chart configuration object that's constructed following the [WebChart](https://developers.arcgis.com/javascript/latest/references/charts-components/spec/web-chart/#WebChart) specification.
1785
+ * - When [`addMissingSeries`](/references/charts-components/utils/components/interfaces/#MissingSplitBySeriesProps-addMissingSeries) is set to `true`, the missing series will be added.
1786
+ * - When [`seriesTemplate`](/references/charts-components/utils/components/interfaces/#MissingSplitBySeriesProps-seriesTemplate) is omitted, the first existing series from the configuration will be copied to be used as a model for the missing ones. The chart won't render if the series template is not set and there's no series in the configuration.
1787
+ * - If a chart is configured using a chart model, this property is not necessary as the split-by series will be updated automatically when the model's properties are changed.
1480
1788
  *
1481
- * **Note**: Applicable only to bar chart, line chart and box plot when a split-by field is used.
1789
+ * **Note**: Applicable only to bar chart, box plot, line chart and radar chart when a split-by field is used.
1482
1790
  */
1483
1791
  accessor updateSplitBySeries: MissingSplitBySeriesProps | undefined;
1484
1792
  /**
@@ -1510,15 +1818,47 @@ export abstract class ArcgisChart extends LitElement {
1510
1818
  /**
1511
1819
  * Callback function used to format the x-axis labels. If the returned string contains HTML tags they will be interpreted as such.
1512
1820
  *
1513
- * **Note**: Not applicable to pie charts.
1821
+ * @example
1822
+ * ```ts
1823
+ * // Render a custom x-axis label with underlined string and bolded value.
1824
+ * chartElement.xAxisLabelFormatter = (value) => {
1825
+ * return `<u>Neighbourhood Group:</u> <strong>${value}</strong>`;
1826
+ * };
1827
+ * ```
1828
+ *
1829
+ * ![xAxisLabelFormatter](https://developers.arcgis.com/javascript/latest/assets/references/components/chart/xAxisLabelFormatter.avif)
1830
+ *
1831
+ * **Note**: Only applicable to charts with x-axis labels displayed.
1514
1832
  */
1515
1833
  accessor xAxisLabelFormatter: AxisLabelFormatCallback | undefined;
1516
1834
  /**
1517
1835
  * Callback function used to format the y-axis labels. If the returned string contains HTML tags they will be interpreted as such.
1518
1836
  *
1519
- * **Note**: Not applicable to pie charts or gauges.
1837
+ * @example
1838
+ * ```ts
1839
+ * // Render a custom y-axis label with underlined string and bolded value.
1840
+ * chartElement.yAxisLabelFormatter = (value) => {
1841
+ * return `<u>Rental Listings:</u> <strong>${value}</strong>`;
1842
+ * };
1843
+ * ```
1844
+ *
1845
+ * ![yAxisLabelFormatter](https://developers.arcgis.com/javascript/latest/assets/references/components/chart/yAxisLabelFormatter.avif)
1846
+ *
1847
+ * **Note**: Only applicable to charts with y-axis labels displayed.
1520
1848
  */
1521
1849
  accessor yAxisLabelFormatter: AxisLabelFormatCallback | undefined;
1850
+ /**
1851
+ * When `true`, count=0 is considered a valid statistic.
1852
+ *
1853
+ * By default, when the aggregation type is "count" and the data contains only values equal to 0, the chart dataset
1854
+ * is considered empty:
1855
+ * - The [@arcgisBadDataWarningRaise](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisBadDataWarningRaise) event will be sent.
1856
+ * - The "No data available to display" warning message will be displayed in the chart container.
1857
+ *
1858
+ * @default false
1859
+ * @since 5.2
1860
+ */
1861
+ accessor zeroCountAsValid: boolean;
1522
1862
  /**
1523
1863
  * Apply the selection from the selection manager to the chart.
1524
1864
  *
@@ -1532,7 +1872,7 @@ export abstract class ArcgisChart extends LitElement {
1532
1872
  */
1533
1873
  clearSelection(): Promise<void>;
1534
1874
  /**
1535
- * Destroys the chart instance and removes it from the DOM.
1875
+ * Destroys the chart instance.
1536
1876
  *
1537
1877
  * @since 5.1
1538
1878
  */
@@ -1547,106 +1887,280 @@ export abstract class ArcgisChart extends LitElement {
1547
1887
  /**
1548
1888
  * Export the current chart's data as a CSV file.
1549
1889
  *
1550
- * The `Options` object can contain the following properties:
1551
- * - `columns`: An array of column to include in the CSV file.
1552
- * - `delimiter`: The delimiter to use in the CSV file. Default is `,`.
1553
- * - `includeHeader`: Whether to include the header row in the CSV file. Default is `true`.
1554
- * - `quoteAll`: Whether to quote all values in the CSV file. Default is `false`.
1555
- * - `locale`: The locale to use when formatting the CSV file. Default is `en`.
1556
- * - Locale supported are: "ar", "ar-u-nu-latn", "bs", "bg", "ca", "cs", "da", "de", "el", "en", "en-US", "es", "et", "fi", "fr", "he", "hr", "hu", "id", "it", "ja", "ko", "lt", "lv", "no", "nl", "pl", "pt-BR", "pt-PT", "ro", "ru", "sr", "sl", "sk", "sv", "th", "tr", "uk", "vi", "zh-CN", "zh-HK", "zh-TW"
1557
- *
1558
- * **Note**: The chart types supported by this method are:
1559
- * - Bar chart
1560
- * - Box plot
1561
- * - Combo bar and line chart
1562
- * - Heat chart
1563
- * - Histogram
1564
- * - Line chart
1565
- * - Pie chart
1566
- *
1567
- * @param options
1890
+ * @param options - The options to customize the exported CSV file.
1891
+ * @example
1892
+ * ```ts
1893
+ * // Export the chart's data as a CSV file with custom options.
1894
+ * await chartElement.exportAsCSV({
1895
+ * columns: ["neighbourhood_group", "room_type", "Count"],
1896
+ * delimiter: "|",
1897
+ * includeHeader: false,
1898
+ * quoteAll: true,
1899
+ * locale: "fr"
1900
+ * });
1901
+ * ```
1902
+ *
1903
+ * ```csv
1904
+ * // The exported CSV file will contain the following data:
1905
+ * sep=|
1906
+ * "Bronx"|"Entire home/apt"|"379"
1907
+ * "Bronx"|"Private room"|"652"
1908
+ * "Bronx"|"Shared room"|"60"
1909
+ * "Brooklyn"|"Entire home/apt"|"9 559"
1910
+ * ...
1911
+ * ```
1912
+ *
1913
+ * **Note**: Not supported for gauges, scatterplots and radar charts.
1568
1914
  */
1569
1915
  exportAsCSV(options?: CSVOptions): Promise<void>;
1570
1916
  /**
1571
- * Exports the current chart as an image. Default format is `png`.
1572
- * - Alternative formats supported are: `jpeg` and `svg`.
1917
+ * Exports and downloads the current chart as an image.
1918
+ * - Supported formats: `png` (default), `jpeg`, `jpg`, `webp`, and `svg`.
1919
+ * - When `webp` format is used on Safari, it will fallback to `png`.
1573
1920
  *
1574
- * @param format
1921
+ * @param format - The image format to export the chart as. Default: `png`.
1575
1922
  */
1576
1923
  exportAsImage(format?: DownloadableChartImagesTypes): Promise<void>;
1577
- /** Returns a promise that resolves when the chart model is fully loaded. */
1924
+ /**
1925
+ * Returns a promise that resolves when the chart model is fully loaded.
1926
+ *
1927
+ * This method should be used when loading a chart with [layerItemId](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layerItemId) and [chartIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#chartIndex), and further customization of the chart model is needed.
1928
+ *
1929
+ * @example
1930
+ * ```html
1931
+ * // Load a chart from a layer item
1932
+ * <arcgis-chart layer-item-id="8871626e970a4f3e9d6113ec63a92f2f" chart-index="2" />
1933
+ * ```
1934
+ * ```ts
1935
+ * // Get a reference to the chart element in the DOM
1936
+ * const chartElement = document.querySelector("arcgis-chart");
1937
+ *
1938
+ * // Call the method to ensure the model is fully loaded before making changes
1939
+ * await chartElement.loadModel();
1940
+ *
1941
+ * // Once the model is loaded, use the model's properties/methods to customize
1942
+ * chartElement.model.titleText = "New Title";
1943
+ * ```
1944
+ * @see [Load from layer item and customize with charts model](https://developers.arcgis.com/javascript/latest/charts/#load-from-layer-item-and-customize-with-charts-model)
1945
+ */
1578
1946
  loadModel(): Promise<void>;
1579
1947
  /**
1580
- * Notify method allows passing external messages to the chart component.
1581
- * It can be used to pass validation or information messages.
1582
- * In a situation where a model update is overriding the notification modal, consider waiting for the [@arcgisUpdateComplete](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisUpdateComplete) event.
1948
+ * Passes external messages to the chart component and displays them in the chart's container.
1949
+ * When a model update is overriding the notification modal, consider waiting for the [@arcgisUpdateComplete](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisUpdateComplete) event.
1950
+ *
1951
+ * @param message - The message to display in the chart's container.
1952
+ * @param heading - The heading to display in the chart's container.
1953
+ * @example
1954
+ * ```html
1955
+ * <button id="show-notification" type="button">Show notification</button>
1956
+ * <button id="clear-notification" type="button">Clear notification</button>
1957
+ * ```
1583
1958
  *
1584
- * @param message - The message to display in the chart's info modal.
1585
- * @param heading - The heading to display in the chart's info modal.
1959
+ * ```ts
1960
+ * // When the "Show notification" button is clicked, the chart's container will display a custom message and heading.
1961
+ * document.querySelector("#show-notification").addEventListener("click", () => {
1962
+ * chartElement.notify(
1963
+ * "This is a notification message.",
1964
+ * "Notification heading",
1965
+ * );
1966
+ * });
1967
+ *
1968
+ * // When the "Clear notification" button is clicked, the chart's container will be cleared and hidden.
1969
+ * document.querySelector("#clear-notification").addEventListener("click", () => {
1970
+ * chartElement.notify();
1971
+ * });
1972
+ * ```
1586
1973
  */
1587
1974
  notify(message?: string, heading?: string): Promise<void>;
1588
1975
  /**
1589
1976
  * Re-render the chart.
1590
1977
  *
1591
- * @param props - Indicates whether to fetch new data. Default: `true`.
1978
+ * @param props - Properties to control the refresh behavior: `updateData` indicates whether to fetch new data (default: `true`), and `resetAxesBounds` indicates whether to reset the axes bounds along with the refresh (default: `false`).
1592
1979
  */
1593
1980
  refresh(props?: {
1594
1981
  updateData?: boolean;
1595
1982
  resetAxesBounds?: boolean;
1596
1983
  }): Promise<void>;
1597
1984
  /**
1598
- * Resets the chart zoom to bring it back to full extent.
1985
+ * Resets the chart's zoom and brings it back to full zoom extent.
1599
1986
  *
1600
- * **Note**: Applicable to XY charts only.
1987
+ * **Note**: Not applicable to gauges, heat charts, pie charts and radar charts.
1601
1988
  */
1602
1989
  resetZoom(): Promise<void>;
1603
1990
  /**
1604
1991
  * Switches the selection on the chart.
1605
1992
  *
1606
- * **Note**: Not applicable to gauge.
1993
+ * **Note**: Not applicable to gauges.
1607
1994
  */
1608
1995
  switchSelection(): Promise<void>;
1609
- /** Event triggered once the chart axes min/max values are computed. */
1996
+ /**
1997
+ * Emitted when the chart's axes minimum or maximum values are computed.
1998
+ *
1999
+ * @example
2000
+ * ```ts
2001
+ * const chartElement = document.querySelector("arcgis-chart");
2002
+ * chartElement.addEventListener("arcgisAxesMinMaxChange", (event) => {
2003
+ * const { bounds, model } = event.detail;
2004
+ * // Handle the new bounds and model
2005
+ * });
2006
+ * ```
2007
+ */
1610
2008
  readonly arcgisAxesMinMaxChange: import("@arcgis/lumina").TargetedEvent<this, AxesMinMaxChangePayload>;
1611
- /** Event triggered when an error is detected with the data set. */
2009
+ /**
2010
+ * Emitted when the chart's data is incompatible with its model. Bad data such as empty dataset, axis logarithmic scale being incompatible with the data will trigger this event.
2011
+ * The event details contain information about the error.
2012
+ *
2013
+ * @example
2014
+ * ```ts
2015
+ * const chartElement = document.querySelector("arcgis-chart");
2016
+ * chartElement.addEventListener("arcgisBadDataWarningRaise", (event) => {
2017
+ * const { keyword, header, message, params } = event.detail;
2018
+ * // Handle the bad data warning
2019
+ * });
2020
+ * ```
2021
+ */
1612
2022
  readonly arcgisBadDataWarningRaise: import("@arcgis/lumina").TargetedEvent<this, DataWarningObject>;
1613
- /** Event triggered when the chart is not found for the given [chartIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#chartIndex) property. */
2023
+ /**
2024
+ * Emitted when the chart is not found for the given [chartIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#chartIndex) property with a valid [layerItemId](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layerItemId).
2025
+ *
2026
+ * @example
2027
+ * ```ts
2028
+ * const chartElement = document.querySelector("arcgis-chart");
2029
+ * chartElement.addEventListener("arcgisChartNotFoundWarning", (event) => {
2030
+ * const warningMessage = event.detail;
2031
+ * // Handle the warning message
2032
+ * });
2033
+ * ```
2034
+ */
1614
2035
  readonly arcgisChartNotFoundWarning: import("@arcgis/lumina").TargetedEvent<this, string>;
1615
- /** Event triggered when the chart config is changed. */
2036
+ /**
2037
+ * Emitted when the chart configuration is changed.
2038
+ *
2039
+ * @example
2040
+ * ```ts
2041
+ * const chartElement = document.querySelector("arcgis-chart");
2042
+ * chartElement.addEventListener("arcgisConfigChange", (event) => {
2043
+ * const { newConfig, oldConfig, functionCalled } = event.detail;
2044
+ * // Handle the configuration change
2045
+ * });
2046
+ * ```
2047
+ */
1616
2048
  readonly arcgisConfigChange: import("@arcgis/lumina").TargetedEvent<this, {
1617
2049
  newConfig: WebChart | undefined;
1618
2050
  oldConfig: WebChart | undefined;
1619
2051
  functionCalled: string | undefined;
1620
2052
  }>;
1621
2053
  /**
1622
- * Event triggered once the chart data has been fetched but not yet fully processed.
1623
- *
1624
- * For instance it can be useful to see all the slices before they get grouped into an 'other' slice during the post-processing step.
2054
+ * Emitted once the chart data has been fetched but not yet fully processed. This event can be used to see all the slices before they get grouped into the 'other' slice during the post-processing step for pie charts.
2055
+ * The event details contain the pie chart's data with its ungrouped slices.
1625
2056
  *
1626
2057
  * **Note**: Applicable to pie charts only.
1627
2058
  */
1628
2059
  readonly arcgisDataFetchComplete: import("@arcgis/lumina").TargetedEvent<this, WebChartDataTypes>;
1629
- /** Event triggered once the chart data has been processed. */
2060
+ /**
2061
+ * Emitted once the chart data is updated and any subsequent updates to the chart's data.
2062
+ * The event details contain the chart's data.
2063
+ *
2064
+ * @example
2065
+ * ```ts
2066
+ * const chartElement = document.querySelector("arcgis-chart");
2067
+ * chartElement.addEventListener("arcgisDataProcessComplete", (event) => {
2068
+ * const { chartData, model } = event.detail;
2069
+ * // Handle the processed chart data
2070
+ * });
2071
+ * ```
2072
+ */
1630
2073
  readonly arcgisDataProcessComplete: import("@arcgis/lumina").TargetedEvent<this, DataProcessCompletePayload>;
1631
- /** Event triggered when an error occurred while fetching of processing the data for the chart. */
2074
+ /**
2075
+ * Emitted when an error occurred while fetching or processing the data for the chart.
2076
+ *
2077
+ * @example
2078
+ * ```ts
2079
+ * const chartElement = document.querySelector("arcgis-chart");
2080
+ * chartElement.addEventListener("arcgisDataProcessError", () => {
2081
+ * // Handle the data process error
2082
+ * });
2083
+ * ```
2084
+ */
1632
2085
  readonly arcgisDataProcessError: import("@arcgis/lumina").TargetedEvent<this, void>;
1633
- /** Event triggered when an invalid configuration is detected. */
2086
+ /**
2087
+ * Emitted when an invalid configuration is detected.
2088
+ *
2089
+ * @deprecated since 5.1. Won't be replaced.
2090
+ */
1634
2091
  readonly arcgisInvalidConfigWarningRaise: import("@arcgis/lumina").TargetedEvent<this, DataWarningObject>;
1635
- /** Event triggered once a legend item visibility has been changed. */
2092
+ /**
2093
+ * Emitted once a legend item visibility has been changed.
2094
+ * The event details contain the toggled item's visibility and related information (series or slice id).
2095
+ *
2096
+ * @example
2097
+ * ```ts
2098
+ * const chartElement = document.querySelector("arcgis-chart");
2099
+ * chartElement.addEventListener("arcgisLegendItemVisibilityChange", (event) => {
2100
+ * const { legendItemVisibility, model } = event.detail;
2101
+ * // Handle the legend item visibility change
2102
+ * });
2103
+ * ```
2104
+ */
1636
2105
  readonly arcgisLegendItemVisibilityChange: import("@arcgis/lumina").TargetedEvent<this, LegendItemVisibilityChangePayload>;
1637
- /** Event triggered when a no-render prop is changed. */
2106
+ /** Emitted when a no-render property ([rotated](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#rotated), [legendPosition](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#legendPosition), [legendVisibility](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#legendVisibility), [view](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#view) and [featureIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#featureIndex)) is changed. */
1638
2107
  readonly arcgisNoRenderPropChange: import("@arcgis/lumina").TargetedEvent<this, NoRenderPropChangePayload>;
1639
- /** Event triggered once the chart rendering is complete. */
2108
+ /**
2109
+ * Emitted once the chart is created and the rendering is complete. This event also emits with any subsequent chart updates, including when the chart is refreshed or when the configuration is changed.
2110
+ *
2111
+ * @example
2112
+ * ```ts
2113
+ * const chartElement = document.querySelector("arcgis-chart");
2114
+ * chartElement.addEventListener("arcgisRenderingComplete", () => {
2115
+ * // Handle the rendering complete event
2116
+ * });
2117
+ */
1640
2118
  readonly arcgisRenderingComplete: import("@arcgis/lumina").TargetedEvent<this, void>;
1641
- /** Event triggered when an error occurred that prevents the chart from being created or updated. */
2119
+ /**
2120
+ * Emitted when an error occurred that prevents the chart from being created or updated.
2121
+ *
2122
+ * @example
2123
+ * ```ts
2124
+ * const chartElement = document.querySelector("arcgis-chart");
2125
+ * chartElement.addEventListener("arcgisRuntimeError", () => {
2126
+ * // Handle the runtime error
2127
+ * });
2128
+ */
1642
2129
  readonly arcgisRuntimeError: import("@arcgis/lumina").TargetedEvent<this, void>;
1643
- /** Event triggered when a selection is applied to the chart. */
2130
+ /**
2131
+ * Emitted when a selection is applied to the chart.
2132
+ * The [`selectionData`](/references/charts-components/utils/misc/interfaces/#SelectionData) event detail contains various information about the selection, including the selected OIDs.
2133
+ *
2134
+ * @example
2135
+ * ```ts
2136
+ * const chartElement = document.querySelector("arcgis-chart");
2137
+ * chartElement.addEventListener("arcgisSelectionComplete", (event) => {
2138
+ * const { selectionData, model } = event.detail;
2139
+ * // Handle the selection complete event
2140
+ * });
2141
+ * ```
2142
+ */
1644
2143
  readonly arcgisSelectionComplete: import("@arcgis/lumina").TargetedEvent<this, SelectionCompletePayload>;
1645
- /** Event triggered once the chart series color have been assigned. */
2144
+ /** Emitted once one of the chart's series color has been assigned or changed. */
1646
2145
  readonly arcgisSeriesColorChange: import("@arcgis/lumina").TargetedEvent<this, SeriesColorChangePayload>;
1647
- /** Event carrying the series id as they have been sorted following the `orderOptions` instructions. */
2146
+ /**
2147
+ * Emitted when the chart is created and at every update to confirm the order of the series on the chart.
2148
+ * The event details contain the modified series' indexes and names.
2149
+ *
2150
+ * @example
2151
+ * ```ts
2152
+ * const chartElement = document.querySelector("arcgis-chart");
2153
+ * chartElement.addEventListener("arcgisSeriesOrder", (event) => {
2154
+ * // Handle the series order change
2155
+ * });
2156
+ * ```
2157
+ */
1648
2158
  readonly arcgisSeriesOrder: import("@arcgis/lumina").TargetedEvent<this, string[]>;
1649
- /** Event triggered once the chart is updated. */
2159
+ /**
2160
+ * Emitted once the chart is updated.
2161
+ *
2162
+ * @deprecated since 5.2. Use [@arcgisRenderingComplete](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisRenderingComplete) instead.
2163
+ */
1650
2164
  readonly arcgisUpdateComplete: import("@arcgis/lumina").TargetedEvent<this, ValidationStatus>;
1651
2165
  readonly "@eventTypes": {
1652
2166
  arcgisAxesMinMaxChange: ArcgisChart["arcgisAxesMinMaxChange"]["detail"];