@arcgis/charts-components 5.2.0-next.9 → 5.2.0-next.91

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 (482) hide show
  1. package/LICENSE.md +4 -2
  2. package/README.md +2 -2
  3. package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
  4. package/dist/cdn/2B4DKL3R.js +2 -0
  5. package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
  6. package/dist/cdn/{VY3KBD6N.js → 2YDNWOWT.js} +1 -1
  7. package/dist/cdn/3HG6OEAW.js +2 -0
  8. package/dist/cdn/3K7H52Y5.js +2 -0
  9. package/dist/cdn/{Y7HBWU3M.js → 3ZKNY2GI.js} +1 -1
  10. package/dist/cdn/{IYA7HQMS.js → 3ZNZH5XV.js} +1 -1
  11. package/dist/cdn/44ICH2UX.js +2 -0
  12. package/dist/cdn/4A42J7HF.js +2 -0
  13. package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
  14. package/dist/cdn/{3TZEMBXR.js → 4EWMZYXM.js} +1 -1
  15. package/dist/cdn/{TFPQDMER.js → 4JBUJYUG.js} +1 -1
  16. package/dist/cdn/4JMHK7HK.js +2 -0
  17. package/dist/cdn/{WASEMNYV.js → 4JWNKQ22.js} +1 -1
  18. package/dist/cdn/4O4L6CM3.js +2 -0
  19. package/dist/cdn/4QQRIMTI.js +2 -0
  20. package/dist/cdn/4VW736DF.js +2 -0
  21. package/dist/cdn/54LUEUIT.js +2 -0
  22. package/dist/cdn/57PMXO2G.js +2 -0
  23. package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
  24. package/dist/cdn/{XY4TRZCG.js → 5JV6PU34.js} +1 -1
  25. package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
  26. package/dist/cdn/5YBMIR4F.js +2 -0
  27. package/dist/cdn/62EUOXR7.js +45 -0
  28. package/dist/cdn/62GSQDTE.js +2 -0
  29. package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
  30. package/dist/cdn/65HVRSR6.js +2 -0
  31. package/dist/cdn/6K6Z6CQE.js +2 -0
  32. package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
  33. package/dist/cdn/73DFT5MR.js +2 -0
  34. package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
  35. package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
  36. package/dist/cdn/7HANUCEA.js +2 -0
  37. package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
  38. package/dist/cdn/{5SIAOUPO.js → AI2WUG3K.js} +1 -1
  39. package/dist/cdn/{XYKXBWIT.js → AKEVK6VK.js} +1 -1
  40. package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
  41. package/dist/cdn/{AASL4RKT.js → B4HOQOHS.js} +1 -1
  42. package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
  43. package/dist/cdn/{MK5ZYSOD.js → BG4CYK7C.js} +1 -1
  44. package/dist/cdn/BHJHX65O.js +2 -0
  45. package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
  46. package/dist/cdn/BYSUABOV.js +2 -0
  47. package/dist/cdn/BZEYWH2F.js +2 -0
  48. package/dist/cdn/BZIGQJAH.js +2 -0
  49. package/dist/cdn/{S3ZSZXYG.js → C6UUBWI2.js} +1 -1
  50. package/dist/cdn/CDWFPVYG.js +2 -0
  51. package/dist/cdn/{FWAXKDYV.js → CHHARRJP.js} +1 -1
  52. package/dist/cdn/{2GJX5OO6.js → CKRZTUGB.js} +1 -1
  53. package/dist/cdn/COSE26XR.js +2 -0
  54. package/dist/cdn/CPDE3ZSY.js +2 -0
  55. package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
  56. package/dist/cdn/{FOYOG3G7.js → D3ZXHZRV.js} +1 -1
  57. package/dist/cdn/D5O2M65G.js +2 -0
  58. package/dist/cdn/D7LBGWWL.js +2 -0
  59. package/dist/cdn/{ULWJ57VT.js → DF2SKHUD.js} +1 -1
  60. package/dist/cdn/DLCJMSYG.js +2 -0
  61. package/dist/cdn/DOE5S7EP.js +2 -0
  62. package/dist/cdn/{WAINRCCJ.js → E45CPXW6.js} +1 -1
  63. package/dist/cdn/EFXNPF4V.js +2 -0
  64. package/dist/cdn/ELNZ7PTF.js +2 -0
  65. package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
  66. package/dist/cdn/{N5ZUO6F3.js → ESBQKSZF.js} +1 -1
  67. package/dist/cdn/F66W272X.js +2 -0
  68. package/dist/cdn/F6VXAPTT.js +2 -0
  69. package/dist/cdn/{3JYZJUOM.js → FPM6WDQ4.js} +1 -1
  70. package/dist/cdn/{SSQ3VCZ2.js → FXBSBXWY.js} +1 -1
  71. package/dist/cdn/{H3EXGCE7.js → G7W2RL4I.js} +1 -1
  72. package/dist/cdn/GK6IJBRW.js +2 -0
  73. package/dist/cdn/GUMN6KPP.js +2 -0
  74. package/dist/cdn/{73BVFUAA.js → GUWBPR2H.js} +1 -1
  75. package/dist/cdn/GVJF3VFV.js +2 -0
  76. package/dist/cdn/{CHQDKVVQ.js → H2NVXIPH.js} +2 -2
  77. package/dist/cdn/H4R2P2BO.js +2 -0
  78. package/dist/cdn/HIVJRWLF.js +2 -0
  79. package/dist/cdn/{UYXCGSXU.js → HPNWQANQ.js} +1 -1
  80. package/dist/cdn/{UT4TYXFO.js → HSIYQNVK.js} +1 -1
  81. package/dist/cdn/{ANN3O54W.js → HVWOLFLT.js} +1 -1
  82. package/dist/cdn/HZEGDF6W.js +2 -0
  83. package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
  84. package/dist/cdn/{7QXRWMUN.js → IBLGAXGT.js} +1 -1
  85. package/dist/cdn/{LROW4Y6O.js → IC7XUYKD.js} +1 -1
  86. package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
  87. package/dist/cdn/IGE2Z7GO.js +2 -0
  88. package/dist/cdn/IHDWXIBS.js +3 -0
  89. package/dist/cdn/IIV6X3KV.js +2 -0
  90. package/dist/cdn/{RSNZMJ6I.js → IUZFB3JE.js} +1 -1
  91. package/dist/cdn/JSPNXGH3.js +2 -0
  92. package/dist/cdn/JXAPOWHG.js +2 -0
  93. package/dist/cdn/{RCK5VONL.js → KAUOH4F3.js} +1 -1
  94. package/dist/cdn/KHC2DMSU.js +2 -0
  95. package/dist/cdn/{PRFJNHPS.js → KHWZ54IX.js} +1 -1
  96. package/dist/cdn/{N4L5KE23.js → KIIS7OLN.js} +1 -1
  97. package/dist/cdn/KJAMXKR3.js +2 -0
  98. package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
  99. package/dist/cdn/KPEBWOLJ.js +2 -0
  100. package/dist/cdn/KQUI4CT6.js +2 -0
  101. package/dist/cdn/KVWM73YN.js +2 -0
  102. package/dist/cdn/KYCNUCTQ.js +2 -0
  103. package/dist/cdn/KZ4SCRQT.js +2 -0
  104. package/dist/cdn/KZSCAJDG.js +2 -0
  105. package/dist/cdn/L5JZ5COY.js +2 -0
  106. package/dist/cdn/L6IM34J7.js +2 -0
  107. package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
  108. package/dist/cdn/LCJVASMQ.js +2 -0
  109. package/dist/cdn/{QR2OOC4D.js → LCRLYOX6.js} +1 -1
  110. package/dist/cdn/LJJPOUVA.js +2 -0
  111. package/dist/cdn/LKC6J4IQ.js +2 -0
  112. package/dist/cdn/LU7UO6PR.js +2 -0
  113. package/dist/cdn/LZ3ZRY2F.js +2 -0
  114. package/dist/cdn/{YKDW7ZW3.js → MCWIIGOW.js} +1 -1
  115. package/dist/cdn/MF2ZBHWI.js +2 -0
  116. package/dist/cdn/MTFWTSTG.js +2 -0
  117. package/dist/cdn/{BDGHBTPU.js → MW6VSJEF.js} +1 -1
  118. package/dist/cdn/{JRN2TZSV.js → N4XXKTCN.js} +1 -1
  119. package/dist/cdn/NGGJIQHT.js +2 -0
  120. package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
  121. package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
  122. package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
  123. package/dist/cdn/NYR4K242.js +2 -0
  124. package/dist/cdn/OCT2KA4Q.js +2 -0
  125. package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
  126. package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
  127. package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
  128. package/dist/cdn/OPMACXLA.js +2 -0
  129. package/dist/cdn/{VRZ2SY6M.js → OQFM5DBD.js} +1 -1
  130. package/dist/cdn/OQQIDPDH.js +2 -0
  131. package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
  132. package/dist/cdn/{KDJ5RVHA.js → P3AYFJRV.js} +1 -1
  133. package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
  134. package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
  135. package/dist/cdn/{4OH4NSIW.js → PSQDO4QK.js} +1 -1
  136. package/dist/cdn/PWJBGZPW.js +2 -0
  137. package/dist/cdn/{2OHFSVV5.js → PWSEK3XV.js} +1 -1
  138. package/dist/cdn/QBBUOEKF.js +4 -0
  139. package/dist/cdn/QFXCVZYG.js +2 -0
  140. package/dist/cdn/QIBUTVUN.js +2 -0
  141. package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
  142. package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
  143. package/dist/cdn/{X2LW7GTR.js → QOQ5QNZV.js} +1 -1
  144. package/dist/cdn/QVLDIB2N.js +2 -0
  145. package/dist/cdn/QYRHZJH3.js +2 -0
  146. package/dist/cdn/RAJO727X.js +2 -0
  147. package/dist/cdn/RCAJJ24P.js +2 -0
  148. package/dist/cdn/RPUEIRTH.js +2 -0
  149. package/dist/cdn/SBJGOYJL.js +2 -0
  150. package/dist/cdn/SBZKGQBV.js +2 -0
  151. package/dist/cdn/SJBJ2N5C.js +104 -0
  152. package/dist/cdn/{OXYJKZEP.js → SLQPIX6X.js} +1 -1
  153. package/dist/cdn/SMTDJE55.js +2 -0
  154. package/dist/cdn/SOR4DYKA.js +2 -0
  155. package/dist/cdn/SQHEWY2J.js +2 -0
  156. package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
  157. package/dist/cdn/SZNZAD56.js +2 -0
  158. package/dist/cdn/{ZBIVDGNH.js → SZXVQMQV.js} +1 -1
  159. package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
  160. package/dist/cdn/{AK7X7SGI.js → TENIFMA5.js} +1 -1
  161. package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
  162. package/dist/cdn/{VDKFC44J.js → TVKP2GAI.js} +1 -1
  163. package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
  164. package/dist/cdn/ULF3LG3W.js +2 -0
  165. package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
  166. package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
  167. package/dist/cdn/UZHQF5CV.js +2 -0
  168. package/dist/cdn/VBDLVCPP.js +2 -0
  169. package/dist/cdn/VCBFPEET.js +2 -0
  170. package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
  171. package/dist/cdn/{I6UPUSLQ.js → VQLXOQMY.js} +1 -1
  172. package/dist/cdn/VQU2TVX7.js +3 -0
  173. package/dist/cdn/VVOQ4Q2X.js +2 -0
  174. package/dist/cdn/{Y6ZCTPJW.js → WJY4AWHX.js} +1 -1
  175. package/dist/cdn/{L47EGLUH.js → WNDLNCF7.js} +1 -1
  176. package/dist/cdn/WOGALV3T.js +2 -0
  177. package/dist/cdn/{ZAHVBXAQ.js → WPLJ5BXE.js} +1 -1
  178. package/dist/cdn/WTABMFFY.js +2 -0
  179. package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
  180. package/dist/cdn/XW5I2M45.js +2 -0
  181. package/dist/cdn/XYJJ2PIL.js +2 -0
  182. package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
  183. package/dist/cdn/{SERX6V5M.js → YNED6356.js} +1 -1
  184. package/dist/cdn/YOUTTWJN.js +2 -0
  185. package/dist/cdn/YQL5A2WS.js +2 -0
  186. package/dist/cdn/YX7WAUQZ.js +2 -0
  187. package/dist/cdn/{XDMGH7YU.js → YZCWFNPW.js} +1 -1
  188. package/dist/cdn/{2XXW3WF3.js → ZEQF2W7Y.js} +1 -1
  189. package/dist/cdn/ZFHU5I2O.js +2 -0
  190. package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
  191. package/dist/cdn/{GQ3TDTO5.js → ZO4GRLG6.js} +1 -1
  192. package/dist/cdn/{OFWEHJDH.js → ZYK4DWCN.js} +1 -1
  193. package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
  194. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
  195. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  196. package/dist/cdn/index.js +1 -1
  197. package/dist/cdn/main.css +1 -1
  198. package/dist/cdn/model/shared/setup-utils.js +1 -1
  199. package/dist/chart-rendering/common/interfaces.d.ts +46 -20
  200. package/dist/chunks/{type-guards3.js → action-bar-utils.js} +37 -45
  201. package/dist/chunks/axis-lines-symbol.js +7 -7
  202. package/dist/chunks/bar-chart-model.js +46 -38
  203. package/dist/chunks/box-plot-data.js +291 -274
  204. package/dist/chunks/box-plot-model.js +143 -130
  205. package/dist/chunks/chart-model.js +194 -153
  206. package/dist/chunks/chart-object-literals.js +26 -25
  207. package/dist/chunks/chart-ui-utils.js +148 -66
  208. package/dist/chunks/chart-ui-utils2.js +68 -149
  209. package/dist/chunks/class-breaks.js +30 -30
  210. package/dist/chunks/combo-bar-line-chart-model.js +122 -101
  211. package/dist/chunks/data-labels-symbol.js +39 -24
  212. package/dist/chunks/data-labels-visibility.js +8 -8
  213. package/dist/chunks/data.js +68 -68
  214. package/dist/chunks/default.js +6 -6
  215. package/dist/chunks/gauge-model.js +61 -61
  216. package/dist/chunks/generate-x-axis-title.js +15 -15
  217. package/dist/chunks/heat-chart-model.js +95 -66
  218. package/dist/chunks/histogram-data.js +23 -23
  219. package/dist/chunks/histogram-model.js +9 -9
  220. package/dist/chunks/index.js +9401 -1079
  221. package/dist/chunks/index2.js +851 -8751
  222. package/dist/chunks/index3.js +1169 -847
  223. package/dist/chunks/index4.js +467 -250
  224. package/dist/chunks/index5.js +63 -100
  225. package/dist/chunks/interfaces.js +9 -9
  226. package/dist/chunks/line-chart-model.js +40 -24
  227. package/dist/chunks/model-setter.js +59 -64
  228. package/dist/chunks/model-types.js +1 -1
  229. package/dist/chunks/model-with-line-marker-styling.js +72 -47
  230. package/dist/chunks/model-with-y-guides.js +52 -67
  231. package/dist/chunks/negative-values-stacked-to-baseline.js +122 -71
  232. package/dist/chunks/pie-chart-data.js +175 -193
  233. package/dist/chunks/pie-chart-model.js +388 -320
  234. package/dist/chunks/radar-chart-model.js +413 -46
  235. package/dist/chunks/resource.js +1 -1
  236. package/dist/chunks/rest-js-object-literals.js +10 -10
  237. package/dist/chunks/rotated-state.js +1 -1
  238. package/dist/chunks/rounded-corners.js +90 -0
  239. package/dist/chunks/scatterplot-model.js +12 -12
  240. package/dist/chunks/serial-chart-data.js +869 -746
  241. package/dist/chunks/serial-chart-model.js +145 -123
  242. package/dist/chunks/series-length.js +17 -17
  243. package/dist/chunks/series-types.js +22 -18
  244. package/dist/chunks/series.js +1 -1
  245. package/dist/chunks/type-guards.js +49 -23
  246. package/dist/chunks/type-guards2.js +61 -52
  247. package/dist/chunks/utils.js +101 -91
  248. package/dist/chunks/utils2.js +9 -9
  249. package/dist/chunks/web-component-utils.js +591 -540
  250. package/dist/chunks/x-bounds.js +98 -97
  251. package/dist/components/arcgis-chart/customElement.d.ts +611 -234
  252. package/dist/components/arcgis-chart/customElement.js +10433 -10078
  253. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +8 -0
  254. package/dist/components/arcgis-charts-action-bar/customElement.js +34 -31
  255. package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
  256. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +39 -33
  257. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +29 -29
  258. package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
  259. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
  260. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +44 -43
  261. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -15
  262. package/dist/components/arcgis-charts-config-box-plot/customElement.js +31 -39
  263. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +16 -16
  264. package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
  265. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +26 -28
  266. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -4
  267. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
  268. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  269. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -20
  270. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  271. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-create-flow/customElement.js +243 -229
  273. package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
  274. package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
  275. package/dist/components/arcgis-charts-config-format/customElement.js +94 -87
  276. package/dist/components/arcgis-charts-config-format-popover/customElement.js +8 -11
  277. package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
  278. package/dist/components/arcgis-charts-config-guide/customElement.js +23 -24
  279. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +10 -13
  280. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  281. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
  282. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +65 -77
  283. package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
  284. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +57 -58
  285. package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
  286. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +28 -28
  287. package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
  288. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +35 -36
  289. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  290. package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
  291. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +19 -19
  292. package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
  293. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +42 -44
  294. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +8 -8
  295. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -8
  296. package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
  297. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  298. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -6
  299. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +41 -48
  300. package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
  301. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +56 -57
  302. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +66 -67
  303. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +7 -10
  304. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
  305. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +15 -15
  306. package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
  307. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
  308. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
  309. package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
  310. package/dist/components/arcgis-charts-info-modal/customElement.js +7 -7
  311. package/dist/docs/api.json +1 -1
  312. package/dist/docs/docs.json +1 -1
  313. package/dist/docs/vscode.html-custom-data.json +1 -1
  314. package/dist/docs/web-types.json +1 -1
  315. package/dist/index.d.ts +1 -1
  316. package/dist/index.js +488 -466
  317. package/dist/interfaces.d.ts +57 -14
  318. package/dist/json-schema/index.d.ts +211 -6
  319. package/dist/loader.js +2 -2
  320. package/dist/model/bar-chart-model/bar-chart-model.d.ts +6 -4
  321. package/dist/model/box-plot-model/box-plot-model.d.ts +11 -5
  322. package/dist/model/chart-model/chart-model-base.d.ts +10 -0
  323. package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
  324. package/dist/model/chart-model/chart-model.d.ts +2 -1
  325. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +33 -21
  326. package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
  327. package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
  328. package/dist/model/interfaces/common.d.ts +0 -2
  329. package/dist/model/mixins/model-with-guides.d.ts +1 -1
  330. package/dist/model/mixins/model-with-line-marker-styling.d.ts +28 -19
  331. package/dist/model/mixins/model-with-multi-axes.d.ts +62 -99
  332. package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
  333. package/dist/model/pie-chart-model/pie-chart-model.d.ts +61 -2
  334. package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
  335. package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
  336. package/dist/model/properties/rounded-corners.d.ts +18 -0
  337. package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
  338. package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
  339. package/dist/model/shared/setup-utils.d.ts +3 -3
  340. package/dist/model/shared/type-guards.d.ts +38 -22
  341. package/dist/spec/chart-object-literals.d.ts +1 -0
  342. package/dist/spec/data-source.d.ts +17 -3
  343. package/dist/spec/rest-js-types.d.ts +22 -8
  344. package/dist/spec/web-chart.d.ts +42 -6
  345. package/dist/types/lumina.d.ts +1 -1
  346. package/dist/types/preact.d.ts +1 -1
  347. package/dist/types/react.d.ts +1 -1
  348. package/dist/types/stencil.d.ts +3 -3
  349. package/dist/utils/chart-config/converter/index.js +210 -191
  350. package/dist/utils/chart-config/utils/index.d.ts +30 -9
  351. package/dist/utils/chart-config/validator/index.d.ts +2 -0
  352. package/dist/utils/chart-config/validator/interfaces.d.ts +4 -3
  353. package/dist/utils/components/interfaces.d.ts +2 -0
  354. package/dist/utils/cursor/interfaces.d.ts +21 -0
  355. package/dist/utils/data/categorical-data/index.d.ts +1 -1
  356. package/dist/utils/data/index.d.ts +28 -22
  357. package/dist/utils/data/interfaces.d.ts +4 -3
  358. package/dist/utils/defaults/index.d.ts +31 -5
  359. package/dist/utils/defaults/interfaces.d.ts +73 -4
  360. package/dist/utils/errors/index.d.ts +1 -1
  361. package/dist/utils/layer/index.d.ts +26 -8
  362. package/dist/utils/layer/inline-conversion/index.d.ts +0 -3
  363. package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
  364. package/dist/utils/layer/interfaces.d.ts +0 -12
  365. package/dist/utils/layer/query-features/index.d.ts +8 -3
  366. package/dist/utils/layer/query-parser/index.d.ts +13 -9
  367. package/dist/utils/layer/utils/index.d.ts +22 -5
  368. package/dist/utils/localization/interfaces.d.ts +9 -1
  369. package/dist/utils/misc/index.d.ts +2 -3
  370. package/dist/utils/misc/interfaces.d.ts +1 -0
  371. package/dist/utils/type-guards/chart-types.d.ts +10 -0
  372. package/dist/utils/type-guards/series-types.d.ts +9 -2
  373. package/dist/utils/types/index.d.ts +1 -5
  374. package/package.json +8 -9
  375. package/dist/cdn/2B4S6PH2.js +0 -2
  376. package/dist/cdn/3EIVHDDK.js +0 -2
  377. package/dist/cdn/3X5JIVJJ.js +0 -3
  378. package/dist/cdn/44GWFKSR.js +0 -2
  379. package/dist/cdn/4LLOMGO7.js +0 -2
  380. package/dist/cdn/4P7S3KIY.js +0 -2
  381. package/dist/cdn/547RDEMV.js +0 -2
  382. package/dist/cdn/55UVN4AF.js +0 -4
  383. package/dist/cdn/5F54SB3S.js +0 -2
  384. package/dist/cdn/667DYS3D.js +0 -2
  385. package/dist/cdn/7DD3FFI5.js +0 -2
  386. package/dist/cdn/7LXWQH6J.js +0 -2
  387. package/dist/cdn/7TRRNFTL.js +0 -2
  388. package/dist/cdn/7XLZ42N6.js +0 -2
  389. package/dist/cdn/A5GIBV5W.js +0 -2
  390. package/dist/cdn/ADGMA3ST.js +0 -3
  391. package/dist/cdn/BBURKBKE.js +0 -2
  392. package/dist/cdn/BSP7U5YN.js +0 -58
  393. package/dist/cdn/CAGJKKOW.js +0 -2
  394. package/dist/cdn/CG6PLENK.js +0 -2
  395. package/dist/cdn/CKRMYU2S.js +0 -2
  396. package/dist/cdn/CQTLTJ52.js +0 -2
  397. package/dist/cdn/CY7GY33F.js +0 -2
  398. package/dist/cdn/CZ5XRXCE.js +0 -2
  399. package/dist/cdn/D57ESYPO.js +0 -2
  400. package/dist/cdn/DJACBOFO.js +0 -2
  401. package/dist/cdn/DKXRIXFG.js +0 -2
  402. package/dist/cdn/EDSF5KGV.js +0 -233
  403. package/dist/cdn/EPUNY3VI.js +0 -2
  404. package/dist/cdn/EZD3FBJU.js +0 -2
  405. package/dist/cdn/EZV7JSQJ.js +0 -2
  406. package/dist/cdn/FATECLIQ.js +0 -2
  407. package/dist/cdn/FFS73X36.js +0 -142
  408. package/dist/cdn/FGNRWY57.js +0 -2
  409. package/dist/cdn/FJ4UGRMY.js +0 -2
  410. package/dist/cdn/G7YZE67F.js +0 -2
  411. package/dist/cdn/GGHRYV36.js +0 -2
  412. package/dist/cdn/GOP2GNGE.js +0 -2
  413. package/dist/cdn/H2DP7HXE.js +0 -2
  414. package/dist/cdn/H42V247N.js +0 -2
  415. package/dist/cdn/H7TZ42RW.js +0 -2
  416. package/dist/cdn/HZR4NSZV.js +0 -2
  417. package/dist/cdn/I5B6REVT.js +0 -2
  418. package/dist/cdn/IXKYQBM7.js +0 -2
  419. package/dist/cdn/J7XXIAQJ.js +0 -2
  420. package/dist/cdn/JNNB2DIA.js +0 -2
  421. package/dist/cdn/JRUIUNQA.js +0 -2
  422. package/dist/cdn/KI2YCXW6.js +0 -2
  423. package/dist/cdn/KPPNRDOP.js +0 -2
  424. package/dist/cdn/LB6EF2UN.js +0 -2
  425. package/dist/cdn/M7QVV7WC.js +0 -2
  426. package/dist/cdn/MICVGPGC.js +0 -2
  427. package/dist/cdn/MRTKZZTF.js +0 -2
  428. package/dist/cdn/MZHOWTY3.js +0 -2
  429. package/dist/cdn/NALKWY43.js +0 -2
  430. package/dist/cdn/NZR4L5AA.js +0 -2
  431. package/dist/cdn/OCE4FAJ4.js +0 -2
  432. package/dist/cdn/P4HSSZRL.js +0 -2
  433. package/dist/cdn/PAIRUVLU.js +0 -2
  434. package/dist/cdn/PQHVQQSI.js +0 -2
  435. package/dist/cdn/QJC3FDWG.js +0 -2
  436. package/dist/cdn/QNUCPXBU.js +0 -2
  437. package/dist/cdn/QW5KML7L.js +0 -2
  438. package/dist/cdn/QXUR76TF.js +0 -2
  439. package/dist/cdn/RJW2DOIR.js +0 -102
  440. package/dist/cdn/RR63Q3C2.js +0 -2
  441. package/dist/cdn/RRC5ESYH.js +0 -2
  442. package/dist/cdn/SS42OW45.js +0 -2
  443. package/dist/cdn/STM26XZG.js +0 -2
  444. package/dist/cdn/THTYR6IL.js +0 -2
  445. package/dist/cdn/TX43YOVC.js +0 -2
  446. package/dist/cdn/TYAN5HWQ.js +0 -2
  447. package/dist/cdn/U67P6YAZ.js +0 -2
  448. package/dist/cdn/UAGGYOZB.js +0 -2
  449. package/dist/cdn/UDKG7LGN.js +0 -2
  450. package/dist/cdn/UHQGJR3U.js +0 -2
  451. package/dist/cdn/UYOCWLLG.js +0 -2
  452. package/dist/cdn/UYTPOUP7.js +0 -2
  453. package/dist/cdn/VKYQGU2R.js +0 -2
  454. package/dist/cdn/VOSE67U2.js +0 -2
  455. package/dist/cdn/VOTZAPI3.js +0 -2
  456. package/dist/cdn/W3OA4MKU.js +0 -2
  457. package/dist/cdn/W6KE6F3T.js +0 -2
  458. package/dist/cdn/W7X6L2OB.js +0 -127
  459. package/dist/cdn/WCJ5W5TE.js +0 -2
  460. package/dist/cdn/WHYRYWPW.js +0 -2
  461. package/dist/cdn/WNKDEOFZ.js +0 -2
  462. package/dist/cdn/WOJQ6BTB.js +0 -2
  463. package/dist/cdn/WPPMMVD5.js +0 -2
  464. package/dist/cdn/XJFVSX2E.js +0 -2
  465. package/dist/cdn/XP6RGZ2N.js +0 -2
  466. package/dist/cdn/XRUOXTHH.js +0 -2
  467. package/dist/cdn/XTNDUDWE.js +0 -2
  468. package/dist/cdn/XUERYUEG.js +0 -2
  469. package/dist/cdn/Y3CXVO2M.js +0 -2
  470. package/dist/cdn/YAR2TF55.js +0 -2
  471. package/dist/cdn/YEZL5KRS.js +0 -2
  472. package/dist/cdn/YRFSWIDQ.js +0 -2
  473. package/dist/cdn/YYK7SPXC.js +0 -2
  474. package/dist/cdn/ZG7SUAGR.js +0 -2
  475. package/dist/cdn/ZTX2ULE6.js +0 -2
  476. package/dist/cdn/ZY44M3QZ.js +0 -2
  477. package/dist/chunks/bar-chart-series.js +0 -15
  478. package/dist/chunks/index6.js +0 -66
  479. package/dist/chunks/time-zone.js +0 -38
  480. package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
  481. /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
  482. /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
@@ -0,0 +1,24 @@
1
+ import type { WebChart } from "../../spec/web-chart.js";
2
+
3
+ /**
4
+ * A lightweight wrapper for a `WebChart` config that has a similar shape to a `ChartModel`. Just used internally for the case where the chart component receives a raw `WebChart` config instead of a full `ChartModel` instance.
5
+ *
6
+ * \@private
7
+ */
8
+ export class ChartModelWrapper extends EventTarget {
9
+ constructor(config: WebChart | undefined);
10
+ asyncUpdatesPromise: Promise<void>;
11
+ /** The current chart configuration object. */
12
+ accessor config: WebChart | undefined;
13
+ get layer(): undefined;
14
+ /** The current revision number of the chart configuration. Increments with each update. */
15
+ get revision(): number;
16
+ /**
17
+ * Recalls a previous chart configuration based on its revision number. Returns `undefined` if the requested revision is not available (beyond the stored history limit).
18
+ *
19
+ * If no `configRevision` number is provided, it recalls the last configuration just before the current one.
20
+ *
21
+ * @param configRevision
22
+ */
23
+ recall(configRevision?: number): WebChart | undefined;
24
+ }
@@ -19,10 +19,11 @@ import type { WithSeriesId } from "../properties/series/series-id.js";
19
19
  import type { WithSeriesIndex } from "../properties/series/series-index.js";
20
20
  import type { WithSeriesLength } from "../properties/series/series-length.js";
21
21
  import type { WithChartSubType } from "../properties/chart-sub-type.js";
22
+ import type { WithSeriesDataTooltipFontSize } from "../properties/data-tooltip-font-size.js";
22
23
  import type { WithSeriesDataTooltipValueFormat } from "../properties/data-tooltip-value-format.js";
23
24
  import type { WithFetchNULLValues } from "../properties/fetch-null-values.js";
24
25
  import type { WithSplitByValues } from "../properties/split-by-values.js";
25
26
  import type { WithDataFilters } from "../properties/data-filters.js";
26
27
 
27
28
  export abstract class ChartModel extends ChartModelSuperclass {}
28
- declare const ChartModelSuperclass: typeof ChartModelBase & typeof WithDataFilters & typeof WithSplitByValues & typeof WithFetchNULLValues & typeof WithSeriesDataTooltipValueFormat & typeof WithChartSubType & typeof WithSeriesLength & typeof WithSeriesIndex & typeof WithSeriesId & typeof WithSeriesVisibility & typeof WithBackgroundColor & typeof WithChartRenderer & typeof WithDescriptionVisibility & typeof WithChartSubtitleVisibility & typeof WithChartTitleVisibility & typeof WithDescriptionSymbol & typeof WithDescriptionText & typeof WithSubtitleSymbol & typeof WithSubtitleText & typeof WithVersion & typeof WithTitleSymbol & typeof WithTitleText & typeof WithChartId & typeof WithLayer & typeof WithConfig
29
+ declare const ChartModelSuperclass: typeof ChartModelBase & typeof WithDataFilters & typeof WithSplitByValues & typeof WithFetchNULLValues & typeof WithSeriesDataTooltipFontSize & typeof WithSeriesDataTooltipValueFormat & typeof WithChartSubType & typeof WithSeriesLength & typeof WithSeriesIndex & typeof WithSeriesId & typeof WithSeriesVisibility & typeof WithBackgroundColor & typeof WithChartRenderer & typeof WithDescriptionVisibility & typeof WithChartSubtitleVisibility & typeof WithChartTitleVisibility & typeof WithDescriptionSymbol & typeof WithDescriptionText & typeof WithSubtitleSymbol & typeof WithSubtitleText & typeof WithVersion & typeof WithTitleSymbol & typeof WithTitleText & typeof WithChartId & typeof WithLayer & typeof WithConfig
@@ -1,5 +1,6 @@
1
1
  import type { ModelParams } from "../interfaces/chart-interfaces.js";
2
2
  import type { ModelTypes } from "../interfaces/common.js";
3
+ import type { WithRoundedCorners } from "../properties/rounded-corners.js";
3
4
  import type { WithNegativeValuesStackedToBaseline } from "../properties/series/negative-values-stacked-to-baseline.js";
4
5
  import type { SerialChartModel } from "../serial-chart-model/serial-chart-model.js";
5
6
  import type { WebChartTypes } from "../../spec/chart-object-literals.js";
@@ -16,7 +17,7 @@ export class ComboBarLineChartModel extends ComboBarLineChartModelSuperclass {
16
17
  */
17
18
  getAreaColor(seriesIndex: number): Color | undefined;
18
19
  /**
19
- * Gets whether to hide oversized data labels of the side-by-side series based on the series index. '
20
+ * Gets whether to hide oversized data labels of the side-by-side series based on the series index.
20
21
  *
21
22
  * If the index is out of bounds, it will return `undefined`.
22
23
  *
@@ -84,10 +85,12 @@ export class ComboBarLineChartModel extends ComboBarLineChartModelSuperclass {
84
85
  */
85
86
  isMarkerVisible(seriesIndex: number): boolean;
86
87
  /**
87
- * Specify the color of the filled area for line chart.
88
- * **Note:** This method will only work if the series is a line chart series.
88
+ * Specify the color of the filled area.
89
+ *
90
+ * **Note:** This method will only work if the series is a line series.
91
+ * **Note:** `color` will be applied only if [`setAreaVisible`](#setareavisible) is true, and is defaulted to the line color if not provided.
89
92
  *
90
- * @param color - The color of the filled area for line chart.
93
+ * @param color - The color of the filled area.
91
94
  * @param seriesIndex - The index of the series.
92
95
  */
93
96
  setAreaColor(color: Color | undefined, seriesIndex: number): void;
@@ -96,21 +99,30 @@ export class ComboBarLineChartModel extends ComboBarLineChartModelSuperclass {
96
99
  * **Note:** This method will only work if the series is a line chart series.
97
100
  *
98
101
  * @param visible - `true` if the line series should show area, `false` otherwise.
99
- * @param seriesIndex - The index of the series.
102
+ * @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
100
103
  */
101
- setAreaVisible(visible: boolean, seriesIndex: number): void;
104
+ setAreaVisible(visible: boolean, seriesIndex?: number): void;
102
105
  /**
103
106
  * Specify whether line segments of the series should be smoothed.
104
107
  * **Note:** This method will only work if the series is a line chart series.
105
108
  *
106
109
  * @param smoothed - `true` if line segment of the series should be smoothed, `false` otherwise.
107
- * @param seriesIndex - The index of the series.
110
+ * @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
111
+ */
112
+ setLineSmoothed(smoothed: boolean, seriesIndex?: number): void;
113
+ /**
114
+ * Indicate whether to show or hide the markers/bullets of the line series.
115
+ * **Note:** This method will only work if the series is a line chart series.
116
+ *
117
+ * @param visible - `true` if the markers/bullets of the line series should be shown, `false` otherwise.
118
+ * @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
108
119
  */
109
- setLineSmoothed(smoothed: boolean, seriesIndex: number): void;
120
+ setMarkersVisible(visible: boolean, seriesIndex?: number): void;
110
121
  /**
111
122
  * Indicate whether to show or hide the markers/bullets of the line series.
112
123
  * **Note:** This method will only work if the series is a line chart series.
113
124
  *
125
+ * @deprecated since 5.2. Use [setMarkersVisible](https://developers.arcgis.com/javascript/latest/references/charts-components/model/combo-bar-line-chart-model/combo-bar-line-chart-model/#setMarkersVisible) instead. This method will be removed from `ComboBarLineChartModel` in 6.0.
114
126
  * @param visible - `true` if the markers/bullets of the line series should be shown, `false` otherwise.
115
127
  * @param seriesIndex - The index of the series.
116
128
  */
@@ -121,33 +133,33 @@ export class ComboBarLineChartModel extends ComboBarLineChartModelSuperclass {
121
133
  * **Note:** This method will only work if the series is a bar chart series.
122
134
  *
123
135
  * @param hide - The value for hiding oversized labels.
124
- * @param seriesIndex - The index of the series.
136
+ * @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
125
137
  */
126
- setSeriesHideOversizedSideBySideLabels(hide: boolean | undefined, seriesIndex: number): void;
138
+ setSeriesHideOversizedSideBySideLabels(hide: boolean | undefined, seriesIndex?: number): void;
127
139
  /**
128
140
  * Sets whether to hide oversized data labels of the stacked series based on the series index.
129
141
  * **Note:** This method will only work if the series is a bar chart series.
130
142
  *
131
143
  * @param hide - The value for hiding oversized stacked labels.
132
- * @param seriesIndex - The index of the series.
144
+ * @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
133
145
  */
134
- setSeriesHideOversizedStackedLabels(hide: boolean | undefined, seriesIndex: number): void;
146
+ setSeriesHideOversizedStackedLabels(hide: boolean | undefined, seriesIndex?: number): void;
135
147
  /**
136
148
  * Sets the line style of the series based on the series index.
137
149
  * **Note**: This method will only work if the series is a line chart series.
138
150
  *
139
151
  * @param newStyle - The new style for the series.
140
- * @param seriesIndex - The index of the series.
152
+ * @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
141
153
  */
142
- setSeriesLineStyle(newStyle: RESTSimpleLineSymbolStyle | undefined, seriesIndex: number): void;
154
+ setSeriesLineStyle(newStyle: RESTSimpleLineSymbolStyle | undefined, seriesIndex?: number): void;
143
155
  /**
144
156
  * Sets the line width of the series based on the series index.
145
157
  * **Note**: This method will only work if the series is a line chart series.
146
158
  *
147
159
  * @param newWidth - The new width for the series.
148
- * @param seriesIndex - The index of the series.
160
+ * @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
149
161
  */
150
- setSeriesLineWidth(newWidth: number | undefined, seriesIndex: number): void;
162
+ setSeriesLineWidth(newWidth: number | undefined, seriesIndex?: number): void;
151
163
  /**
152
164
  * Sets the marker color of the series based on the series index.
153
165
  * **Note**: This method will only work if the series is a line chart series.
@@ -161,17 +173,17 @@ export class ComboBarLineChartModel extends ComboBarLineChartModelSuperclass {
161
173
  * **Note:** This method will only work if the series is a line chart series.
162
174
  *
163
175
  * @param newSize - The new size for the series.
164
- * @param seriesIndex - The index of the series.
176
+ * @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
165
177
  */
166
- setSeriesMarkerSize(newSize: number | undefined, seriesIndex: number): void;
178
+ setSeriesMarkerSize(newSize: number | undefined, seriesIndex?: number): void;
167
179
  /**
168
180
  * Sets the marker style of the series based on the series index.
169
181
  * **Note:** This method will only work if the series is a line chart series.
170
182
  *
171
183
  * @param newStyle - The new style for the series.
172
- * @param seriesIndex - The index of the series.
184
+ * @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
173
185
  */
174
- setSeriesMarkerStyle(newStyle: RESTSimpleMarkerSymbolStyle | undefined, seriesIndex: number): void;
186
+ setSeriesMarkerStyle(newStyle: RESTSimpleMarkerSymbolStyle | undefined, seriesIndex?: number): void;
175
187
  /**
176
188
  * Changes the chart series type at the specified index from bar to line and vice-versa.
177
189
  *
@@ -186,4 +198,4 @@ export class ComboBarLineChartModel extends ComboBarLineChartModelSuperclass {
186
198
  */
187
199
  setup(params: ModelParams<ChartConfig<typeof ModelTypes.ComboBarLineChart>>): Promise<void>;
188
200
  }
189
- declare const ComboBarLineChartModelSuperclass: typeof SerialChartModel & typeof WithNegativeValuesStackedToBaseline
201
+ declare const ComboBarLineChartModelSuperclass: typeof SerialChartModel & typeof WithRoundedCorners & typeof WithNegativeValuesStackedToBaseline
@@ -164,8 +164,21 @@ export class HeatChartModel extends SerialChartModel {
164
164
  generateChartTitle(): string;
165
165
  /** Generate the proper y-axis title given the current config. */
166
166
  generateYAxisTitle(): string;
167
+ /**
168
+ * The heat chart's second axis (not supported)
169
+ *
170
+ * @deprecated since 5.2. Use [getSeriesToSecondaryYAxis](https://developers.arcgis.com/javascript/latest/references/charts-components/model/heat-chart-model/heat-chart-model/#getSeriesToSecondaryYAxis) instead.
171
+ * @internal
172
+ */
173
+ getAssignToSecondValueAxis(): boolean;
167
174
  /** Gets the grid lines symbol. Contains styling information such as line width, line style, and line color. */
168
175
  getGridLinesSymbol(): ISimpleLineSymbol | undefined;
176
+ /**
177
+ * The heat chart's secondary y-axis (not supported)
178
+ *
179
+ * @internal
180
+ */
181
+ getSeriesToSecondaryYAxis(): boolean;
169
182
  /** Gets the sort order for the bar chart. */
170
183
  getSortOrder(): HeatChartDataSortingKinds | SerialChartDataSortingKinds;
171
184
  /**
@@ -183,6 +196,7 @@ export class HeatChartModel extends SerialChartModel {
183
196
  /**
184
197
  * The heat chart's second axis (not supported)
185
198
  *
199
+ * @deprecated since 5.2. Use [setSeriesToSecondaryYAxis](https://developers.arcgis.com/javascript/latest/references/charts-components/model/heat-chart-model/heat-chart-model/#setSeriesToSecondaryYAxis) instead.
186
200
  * @param _assign
187
201
  * @param _seriesIndex
188
202
  * @internal
@@ -194,15 +208,34 @@ export class HeatChartModel extends SerialChartModel {
194
208
  * @param linesSymbol - The grid lines symbol.
195
209
  * @example
196
210
  * ```ts
197
- * heatChartModel.setGridLinesSymbol({
198
- * type: "esriSLS",
199
- * style: "esriSLSDash",
200
- * color: [255, 100, 100, 255],
201
- * width: 3,
202
- * });
211
+ * // Set the grid lines symbol for all axes since `axisIndices` is omitted
212
+ * chartModel.setGridLinesSymbol(
213
+ * {
214
+ * type: "esriSLS",
215
+ * style: "esriSLSDashDot",
216
+ * color: [0, 0, 128, 255],
217
+ * width: 3,
218
+ * }
219
+ * );
203
220
  * ```
221
+ *
222
+ * ![setGridLinesSymbol](https://developers.arcgis.com/javascript/latest/assets/references/components/chart/setGridLinesSymbol.avif)
223
+ * @see [Styling with charts model](https://developers.arcgis.com/javascript/latest/charts/features-and-capabilities/styling-and-theming/#styling-with-charts-model)
204
224
  */
205
225
  setGridLinesSymbol(linesSymbol: ISimpleLineSymbol | undefined): void;
226
+ /**
227
+ * The heat chart's secondary y-axis (not supported)
228
+ *
229
+ * @param _assign
230
+ * @param _seriesIndex
231
+ * @internal
232
+ * @example
233
+ * ```ts
234
+ * chartModel.setSeriesToSecondaryYAxis(true, 0); // Assigns the first series to the secondary y-axis
235
+ * chartModel.setSeriesToSecondaryYAxis(false, 1); // Removes the second series from the secondary y-axis
236
+ * ```
237
+ */
238
+ setSeriesToSecondaryYAxis(_assign: boolean, _seriesIndex: number): void;
206
239
  /**
207
240
  * setSortOrder is not used by heat chart; instead use setXAxisSortOrder for the x axis and setYAxisSortOrder for the y axis.
208
241
  *
@@ -212,9 +245,9 @@ export class HeatChartModel extends SerialChartModel {
212
245
  */
213
246
  setSortOrder(_newSortOrder: HeatChartDataSortingKinds | SerialChartDataSortingKinds, _orderByList?: string[]): void;
214
247
  /**
215
- * Completes the async setup process for the chart model. Must be called before using the model.
248
+ * Sets up the heat chart model from the provided model params.
216
249
  *
217
- * @param params
250
+ * @param params - ModelTypes.HeatChart>>} params - The model setup params.
218
251
  */
219
252
  setup(params: ModelParams<ChartConfig<typeof ModelTypes.HeatChart>>): Promise<void>;
220
253
  /**
@@ -1,4 +1,4 @@
1
- import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
1
+ import type { ChartLayerInput } from "../../interfaces.js";
2
2
  import type { IFeatureLayer, IImageServiceLayer, ITiledImageServiceLayer } from "../../spec/rest-js-types.js";
3
3
  import type { WebChartBarChartSeries, WebChartHeatChartSeries, WebChartLineChartSeries, WebChartRadarChartSeries } from "../../spec/web-chart.js";
4
4
  import type { CommonStrings } from "../../utils/localization/interfaces.js";
@@ -8,7 +8,7 @@ import type { ModelTypes } from "./common.js";
8
8
  /** Parameters for creating a chart model. */
9
9
  export type ModelParams<T extends ChartConfig> = {
10
10
  /** Layer instance associated with the chart. */
11
- layer?: SupportedLayer | SupportedRasterLayer;
11
+ layer?: ChartLayerInput;
12
12
  /** Layer description to be used when the `layer` property is not set. */
13
13
  iLayer?: IFeatureLayer | IImageServiceLayer | ITiledImageServiceLayer;
14
14
  /** Chart config object to be edited. If not provided, a new config will be created using default values. */
@@ -163,11 +163,9 @@ export const ModelTypes: {
163
163
 
164
164
  export type ModelTypes = (typeof ModelTypes)[keyof typeof ModelTypes];
165
165
 
166
- /** @internal */
167
166
  export type ModelTypeToSeriesType<T extends ModelTypes> = T extends typeof ModelTypes.BarChart ? WebChartBarChartSeries : T extends typeof ModelTypes.LineChart ? WebChartLineChartSeries : T extends typeof ModelTypes.ComboBarLineChart ? WebChartBarChartSeries | WebChartLineChartSeries : T extends typeof ModelTypes.BoxPlot ? WebChartBoxPlotSeries | WebChartLineChartSeries : T extends typeof ModelTypes.PieChart ? WebChartPieChartSeries : T extends typeof ModelTypes.Scatterplot ? WebChartScatterplotSeries : T extends typeof ModelTypes.Histogram ? WebChartHistogramSeries : T extends typeof ModelTypes.Gauge ? WebChartGaugeSeries : T extends typeof ModelTypes.RadarChart ? WebChartRadarChartSeries : T extends typeof ModelTypes.HeatChart ? WebChartHeatChartSeries : SupportedChartSeries;
168
167
 
169
168
  /** @internal */
170
169
  export type SeriesTypeToChartType<T extends SupportedChartSeries> = T extends WebChartBarChartSeries ? typeof WebChartTypes.BarSeries : T extends WebChartLineChartSeries ? typeof WebChartTypes.LineSeries : T extends WebChartBoxPlotSeries ? typeof WebChartTypes.BoxPlotSeries : T extends WebChartPieChartSeries ? typeof WebChartTypes.PieSeries : T extends WebChartScatterplotSeries ? typeof WebChartTypes.ScatterSeries : T extends WebChartHistogramSeries ? typeof WebChartTypes.HistogramSeries : T extends WebChartGaugeSeries ? typeof WebChartTypes.GaugeSeries : T extends WebChartRadarChartSeries ? typeof WebChartTypes.RadarSeries : T extends WebChartHeatChartSeries ? typeof WebChartTypes.HeatSeries : never;
171
170
 
172
- /** @internal */
173
171
  export type ModelOfType<T> = T extends typeof ModelTypes.BarChart ? BarChartModel : T extends typeof ModelTypes.BoxPlot ? BoxPlotModel : T extends typeof ModelTypes.LineChart ? LineChartModel : T extends typeof ModelTypes.ComboBarLineChart ? ComboBarLineChartModel : T extends typeof ModelTypes.PieChart ? PieChartModel : T extends typeof ModelTypes.Scatterplot ? ScatterplotModel : T extends typeof ModelTypes.Histogram ? HistogramModel : T extends typeof ModelTypes.Gauge ? GaugeModel : T extends typeof ModelTypes.RadarChart ? RadarChartModel : T extends typeof ModelTypes.HeatChart ? HeatChartModel : never;
@@ -125,7 +125,7 @@ export abstract class ModelWithGuides extends ChartModel {
125
125
  * Sets whether a guide is visible.
126
126
  *
127
127
  * @param visible - New visibility to set.
128
- * @param index - Default `0`. The index of the guide in the list of guides for the given axis orientation.
128
+ * @param index - The index of the guide in the list of guides for the given axis orientation. If omitted, all guides for the orientation will be updated.
129
129
  * @param orientation - Default `y`. The axis orientation of the guide.
130
130
  */
131
131
  setGuideVisibility(visible: boolean, index?: number, orientation?: GuideOrientation): void;
@@ -4,14 +4,13 @@ import type { Color } from "../../spec/rest-js-types.js";
4
4
 
5
5
  export abstract class ModelWithLineMarkerStyling extends ChartModel {
6
6
  /**
7
- * Specify the color of the filled area for line chart.
8
- * **Note:** `areaColor` will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
7
+ * Get the color of the filled area.
9
8
  *
10
9
  * @param seriesIndex - The index of the series.
11
10
  */
12
11
  getAreaColor(seriesIndex: number): Color | undefined;
13
12
  /**
14
- * Specify the color of the filled area for line chart.
13
+ * Get whether to connect the lines when there's a gap in the data.
15
14
  *
16
15
  * @param seriesIndex - The index of the series.
17
16
  */
@@ -66,9 +65,11 @@ export abstract class ModelWithLineMarkerStyling extends ChartModel {
66
65
  */
67
66
  isMarkerVisible(seriesIndex: number): boolean;
68
67
  /**
69
- * Specify the color of the filled area for line chart.
68
+ * Specify the color of the filled area.
70
69
  *
71
- * @param color - The color of the filled area for line chart.
70
+ * **Note:** `color` will be applied only if [`setAreaVisible`](#setareavisible) is true, and is defaulted to the line color if not provided.
71
+ *
72
+ * @param color - The color of the filled area.
72
73
  * @param seriesIndex - The index of the series.
73
74
  */
74
75
  setAreaColor(color: Color | undefined, seriesIndex: number): void;
@@ -76,28 +77,36 @@ export abstract class ModelWithLineMarkerStyling extends ChartModel {
76
77
  * Specify whether the line series should show area.
77
78
  *
78
79
  * @param visible - `true` if the line series should show area, `false` otherwise.
79
- * @param seriesIndex - The index of the series.
80
+ * @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
80
81
  */
81
- setAreaVisible(visible: boolean, seriesIndex: number): void;
82
+ setAreaVisible(visible: boolean, seriesIndex?: number): void;
82
83
  /**
83
84
  * Specify whether to connect the lines when there's a gap in the data.
84
85
  * **Note:** Can be overridden by the temporal data setting `nullPolicy`.
85
86
  *
86
87
  * @param connect - Whether to connect the gap in the data
87
- * @param seriesIndex - The index of the series.
88
+ * @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
88
89
  */
89
- setConnectLines(connect: boolean | undefined, seriesIndex: number): void;
90
+ setConnectLines(connect: boolean | undefined, seriesIndex?: number): void;
90
91
  /**
91
92
  * Specify whether line segments of the series should be smoothed.
92
93
  *
93
94
  * @param smoothed - `true` if line segment of the series should be smoothed, `false` otherwise.
94
- * @param seriesIndex - The index of the series.
95
+ * @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
95
96
  */
96
- setLineSmoothed(smoothed: boolean, seriesIndex: number): void;
97
+ setLineSmoothed(smoothed: boolean, seriesIndex?: number): void;
97
98
  /**
98
99
  * Indicate whether to show or hide the markers/bullets of the line series.
99
100
  *
100
101
  * @param visible - `true` if the markers/bullets of the line series should be shown, `false` otherwise.
102
+ * @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
103
+ */
104
+ setMarkersVisible(visible: boolean, seriesIndex?: number): void;
105
+ /**
106
+ * Indicate whether to show or hide the markers/bullets of the line series.
107
+ *
108
+ * @deprecated since 5.2. Use [setMarkersVisible](https://developers.arcgis.com/javascript/latest/references/charts-components/model/mixins/model-with-line-marker-styling/#setMarkersVisible) instead. This method will be removed from `ModelWithLineMarkerStyling` in 6.0.
109
+ * @param visible - `true` if the markers/bullets of the line series should be shown, `false` otherwise.
101
110
  * @param seriesIndex - The index of the series.
102
111
  */
103
112
  setMarkerVisible(visible: boolean, seriesIndex: number): void;
@@ -105,16 +114,16 @@ export abstract class ModelWithLineMarkerStyling extends ChartModel {
105
114
  * Sets the line style of the series based on the series index.
106
115
  *
107
116
  * @param style - The new style for the series.
108
- * @param seriesIndex - The index of the series.
117
+ * @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
109
118
  */
110
- setSeriesLineStyle(style: RESTSimpleLineSymbolStyle | undefined, seriesIndex: number): void;
119
+ setSeriesLineStyle(style: RESTSimpleLineSymbolStyle | undefined, seriesIndex?: number): void;
111
120
  /**
112
121
  * Sets the line width of the series based on the series index.
113
122
  *
114
123
  * @param width - The new width for the series.
115
- * @param seriesIndex - The index of the series.
124
+ * @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
116
125
  */
117
- setSeriesLineWidth(width: number | undefined, seriesIndex: number): void;
126
+ setSeriesLineWidth(width: number | undefined, seriesIndex?: number): void;
118
127
  /**
119
128
  * Sets the marker color of the series based on the series index.
120
129
  *
@@ -126,14 +135,14 @@ export abstract class ModelWithLineMarkerStyling extends ChartModel {
126
135
  * Sets the marker size of the series based on the series index.
127
136
  *
128
137
  * @param size - The new size for the series.
129
- * @param seriesIndex - The index of the series.
138
+ * @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
130
139
  */
131
- setSeriesMarkerSize(size: number | undefined, seriesIndex: number): void;
140
+ setSeriesMarkerSize(size: number | undefined, seriesIndex?: number): void;
132
141
  /**
133
142
  * Sets the marker style of the series based on the series index.
134
143
  *
135
144
  * @param style - The new style for the series.
136
- * @param seriesIndex - The index of the series.
145
+ * @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
137
146
  */
138
- setSeriesMarkerStyle(style: RESTSimpleMarkerSymbolStyle | undefined, seriesIndex: number): void;
147
+ setSeriesMarkerStyle(style: RESTSimpleMarkerSymbolStyle | undefined, seriesIndex?: number): void;
139
148
  }