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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (478) hide show
  1. package/LICENSE.md +4 -2
  2. package/README.md +2 -2
  3. package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
  4. package/dist/cdn/{5MEQANMY.js → 26DDVOQ7.js} +1 -1
  5. package/dist/cdn/2BA2QD2A.js +3 -0
  6. package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
  7. package/dist/cdn/2MF442VT.js +2 -0
  8. package/dist/cdn/{VY3KBD6N.js → 2YDNWOWT.js} +1 -1
  9. package/dist/cdn/3AYNHY7J.js +2 -0
  10. package/dist/cdn/{DCZWZOPF.js → 3FFCWEMV.js} +1 -1
  11. package/dist/cdn/3H3PFQTD.js +2 -0
  12. package/dist/cdn/3KDTVBIG.js +2 -0
  13. package/dist/cdn/3SSQPYQA.js +2 -0
  14. package/dist/cdn/{JRHMUFED.js → 3YPGCLG4.js} +1 -1
  15. package/dist/cdn/{Y7HBWU3M.js → 3ZKNY2GI.js} +1 -1
  16. package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
  17. package/dist/cdn/4KF7SUJE.js +2 -0
  18. package/dist/cdn/{MVHQR4FJ.js → 4U2HIMOR.js} +1 -1
  19. package/dist/cdn/52NR6B2J.js +2 -0
  20. package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
  21. package/dist/cdn/5DHMYPPF.js +2 -0
  22. package/dist/cdn/5NGIGJYR.js +2 -0
  23. package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
  24. package/dist/cdn/62GSQDTE.js +2 -0
  25. package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
  26. package/dist/cdn/{CLXVAIQX.js → 6AXYQGBN.js} +1 -1
  27. package/dist/cdn/6LV3ASGE.js +2 -0
  28. package/dist/cdn/6SQNRMJG.js +2 -0
  29. package/dist/cdn/{ETKPMU7Z.js → 6U6VAS2O.js} +1 -1
  30. package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
  31. package/dist/cdn/{UT4TYXFO.js → 6WWEQU3O.js} +1 -1
  32. package/dist/cdn/72KEQM4K.js +2 -0
  33. package/dist/cdn/72VGCAR5.js +2 -0
  34. package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
  35. package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
  36. package/dist/cdn/7CZMR2WF.js +2 -0
  37. package/dist/cdn/7JA63ENU.js +45 -0
  38. package/dist/cdn/7P3FHJUU.js +2 -0
  39. package/dist/cdn/7SIKOCYK.js +4 -0
  40. package/dist/cdn/7ZAT46VE.js +2 -0
  41. package/dist/cdn/{A5AECJXP.js → A2KSCV2I.js} +1 -1
  42. package/dist/cdn/ACMHG3RB.js +2 -0
  43. package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
  44. package/dist/cdn/{E7OAEGSE.js → AF2GUPVE.js} +1 -1
  45. package/dist/cdn/{AJWYIBGC.js → AS3QP77N.js} +1 -1
  46. package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
  47. package/dist/cdn/{LFQGH44F.js → B5Z7FBO7.js} +1 -1
  48. package/dist/cdn/{2HUAW34Q.js → B7J5YIWF.js} +1 -1
  49. package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
  50. package/dist/cdn/BGOWDCTO.js +2 -0
  51. package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
  52. package/dist/cdn/BV7UUWYI.js +2 -0
  53. package/dist/cdn/{N6AOFBBX.js → BWR5ONE2.js} +1 -1
  54. package/dist/cdn/BYSUABOV.js +2 -0
  55. package/dist/cdn/{AWF4R7WL.js → C2ZX67U4.js} +1 -1
  56. package/dist/cdn/C5UI5MYS.js +2 -0
  57. package/dist/cdn/C7F4AVQU.js +104 -0
  58. package/dist/cdn/{EXXLJVGS.js → CFOB77PI.js} +1 -1
  59. package/dist/cdn/CSOYZJU5.js +2 -0
  60. package/dist/cdn/CVWT6DGY.js +2 -0
  61. package/dist/cdn/CXWBQG5O.js +2 -0
  62. package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
  63. package/dist/cdn/{L4G6FO7A.js → DDNOUE2T.js} +1 -1
  64. package/dist/cdn/DE3CJJG3.js +2 -0
  65. package/dist/cdn/DKC4NIUA.js +2 -0
  66. package/dist/cdn/DW5NK2B3.js +2 -0
  67. package/dist/cdn/DZWIVB6V.js +2 -0
  68. package/dist/cdn/EMOHROY3.js +2 -0
  69. package/dist/cdn/{HVO4LIXR.js → EQTI5Z4G.js} +1 -1
  70. package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
  71. package/dist/cdn/EYYTKCXM.js +2 -0
  72. package/dist/cdn/EZLKMWI5.js +2 -0
  73. package/dist/cdn/F3LVXDV4.js +2 -0
  74. package/dist/cdn/FBU4ODQE.js +2 -0
  75. package/dist/cdn/{A4GEWIPY.js → FFJTVPE4.js} +1 -1
  76. package/dist/cdn/FQKGQHVK.js +2 -0
  77. package/dist/cdn/{JCH3RDLR.js → FRTPDJGW.js} +1 -1
  78. package/dist/cdn/{WASEMNYV.js → G45UKTNI.js} +1 -1
  79. package/dist/cdn/GDGYKODO.js +2 -0
  80. package/dist/cdn/GX64OP3A.js +2 -0
  81. package/dist/cdn/GZEVPH4Y.js +2 -0
  82. package/dist/cdn/{XE3FKQFA.js → H2DUFQAG.js} +1 -1
  83. package/dist/cdn/{JJIGLOJA.js → HABS63VB.js} +1 -1
  84. package/dist/cdn/HDIBDW52.js +2 -0
  85. package/dist/cdn/HOASAQAB.js +2 -0
  86. package/dist/cdn/HQ2JPCTQ.js +2 -0
  87. package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
  88. package/dist/cdn/I3BMYY7N.js +2 -0
  89. package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
  90. package/dist/cdn/IN2IL6T2.js +2 -0
  91. package/dist/cdn/IVM37XFX.js +2 -0
  92. package/dist/cdn/{DKAHZ7IX.js → J3BB5KXD.js} +1 -1
  93. package/dist/cdn/JMMNRCD4.js +2 -0
  94. package/dist/cdn/JQM5R6XW.js +2 -0
  95. package/dist/cdn/{XW4PBQNW.js → JUFBIV44.js} +1 -1
  96. package/dist/cdn/JUU3BZT7.js +2 -0
  97. package/dist/cdn/KAQ5XSCQ.js +2 -0
  98. package/dist/cdn/KG574LAE.js +2 -0
  99. package/dist/cdn/KHJC5P5T.js +2 -0
  100. package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
  101. package/dist/cdn/{QOOBNATX.js → KTYFDFMQ.js} +1 -1
  102. package/dist/cdn/{CHQDKVVQ.js → KWN3N6VE.js} +1 -1
  103. package/dist/cdn/KYOBS7XL.js +2 -0
  104. package/dist/cdn/KZSCAJDG.js +2 -0
  105. package/dist/cdn/L4BZX57U.js +2 -0
  106. package/dist/cdn/L5JZ5COY.js +2 -0
  107. package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
  108. package/dist/cdn/LCTDNI27.js +2 -0
  109. package/dist/cdn/LM6VCILT.js +2 -0
  110. package/dist/cdn/LMTSW3JM.js +2 -0
  111. package/dist/cdn/LPS3VU35.js +2 -0
  112. package/dist/cdn/{6XTKJ7DO.js → LXZXXY7V.js} +1 -1
  113. package/dist/cdn/M6OCFMDB.js +2 -0
  114. package/dist/cdn/MITW5XKW.js +2 -0
  115. package/dist/cdn/MJHVSD5B.js +2 -0
  116. package/dist/cdn/MNYNXHXE.js +2 -0
  117. package/dist/cdn/NH2A5QEU.js +2 -0
  118. package/dist/cdn/NIDXK3GN.js +2 -0
  119. package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
  120. package/dist/cdn/{YOT6DVSU.js → NNHJ75EA.js} +1 -1
  121. package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
  122. package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
  123. package/dist/cdn/{TF7TE7K5.js → NWQ2L7IJ.js} +1 -1
  124. package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
  125. package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
  126. package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
  127. package/dist/cdn/OMORDJT2.js +2 -0
  128. package/dist/cdn/{DEGBVJ76.js → OMU647X3.js} +1 -1
  129. package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
  130. package/dist/cdn/{AM2TOTX6.js → OXPXA3PS.js} +1 -1
  131. package/dist/cdn/OYXDCECZ.js +2 -0
  132. package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
  133. package/dist/cdn/{KDJ5RVHA.js → P3AYFJRV.js} +1 -1
  134. package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
  135. package/dist/cdn/{BJDRJUEJ.js → P7FI5QUW.js} +1 -1
  136. package/dist/cdn/{KZ7LPNX3.js → PCFEAGXP.js} +1 -1
  137. package/dist/cdn/PF6QOHZR.js +2 -0
  138. package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
  139. package/dist/cdn/{GDQBQQUP.js → PMTNALXO.js} +1 -1
  140. package/dist/cdn/PWJBGZPW.js +2 -0
  141. package/dist/cdn/{ZXOO3X5P.js → PZP57FJ2.js} +1 -1
  142. package/dist/cdn/{QMSINFQX.js → Q466K37N.js} +1 -1
  143. package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
  144. package/dist/cdn/QIG7WTJF.js +2 -0
  145. package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
  146. package/dist/cdn/QXQC4CH5.js +2 -0
  147. package/dist/cdn/QYRHZJH3.js +2 -0
  148. package/dist/cdn/{7FZC3RZK.js → R5LIRRMK.js} +1 -1
  149. package/dist/cdn/R5VDQBUH.js +2 -0
  150. package/dist/cdn/RCAPTQFV.js +2 -0
  151. package/dist/cdn/{K3GNHGEW.js → RHUEVXMR.js} +1 -1
  152. package/dist/cdn/{IPM2XKST.js → RMIIDRGC.js} +1 -1
  153. package/dist/cdn/RPUEIRTH.js +2 -0
  154. package/dist/cdn/S2HIF3ZX.js +2 -0
  155. package/dist/cdn/{KFONSKQF.js → S4NQCINT.js} +1 -1
  156. package/dist/cdn/SC26LLWP.js +2 -0
  157. package/dist/cdn/{ML3A3MYV.js → SILDOKXS.js} +1 -1
  158. package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
  159. package/dist/cdn/{FF4DUQDZ.js → SVLOD3HQ.js} +1 -1
  160. package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
  161. package/dist/cdn/TBW6K2TY.js +2 -0
  162. package/dist/cdn/{AK7X7SGI.js → TENIFMA5.js} +1 -1
  163. package/dist/cdn/{5XTQQOTT.js → TJ2NRLF6.js} +1 -1
  164. package/dist/cdn/{KUZR6CGB.js → TOCBEPNS.js} +1 -1
  165. package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
  166. package/dist/cdn/TSU6UVTL.js +2 -0
  167. package/dist/cdn/U3542JBJ.js +2 -0
  168. package/dist/cdn/U7GQGHZY.js +2 -0
  169. package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
  170. package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
  171. package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
  172. package/dist/cdn/UYDDYD3O.js +2 -0
  173. package/dist/cdn/V3ITNIER.js +2 -0
  174. package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
  175. package/dist/cdn/VQU2TVX7.js +3 -0
  176. package/dist/cdn/VSPKBQS6.js +2 -0
  177. package/dist/cdn/WC22SRVJ.js +2 -0
  178. package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
  179. package/dist/cdn/XBRRJQVR.js +2 -0
  180. package/dist/cdn/XFCDAI5T.js +2 -0
  181. package/dist/cdn/XHZAAQMF.js +2 -0
  182. package/dist/cdn/{SBYD2EKR.js → XR4O3AQ6.js} +1 -1
  183. package/dist/cdn/{7HGVEE7A.js → XU7TGV75.js} +1 -1
  184. package/dist/cdn/XVCBLLWW.js +2 -0
  185. package/dist/cdn/YAWW63A5.js +2 -0
  186. package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
  187. package/dist/cdn/{JBHGSSHS.js → Z5EJIWAY.js} +1 -1
  188. package/dist/cdn/{GV3TT7L5.js → ZARYZFJ4.js} +1 -1
  189. package/dist/cdn/ZDUW3TBJ.js +2 -0
  190. package/dist/cdn/ZGIM53IQ.js +2 -0
  191. package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
  192. package/dist/cdn/{ZFZ5AEUQ.js → ZVOX72AF.js} +1 -1
  193. package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
  194. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
  195. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  196. package/dist/cdn/index.js +1 -1
  197. package/dist/cdn/main.css +1 -1
  198. package/dist/cdn/model/shared/setup-utils.js +1 -1
  199. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
  200. package/dist/chart-rendering/common/interfaces.d.ts +52 -22
  201. package/dist/chunks/{type-guards3.js → action-bar-utils.js} +37 -45
  202. package/dist/chunks/axis-lines-symbol.js +7 -7
  203. package/dist/chunks/bar-chart-model.js +42 -38
  204. package/dist/chunks/box-plot-data.js +270 -279
  205. package/dist/chunks/box-plot-model.js +159 -144
  206. package/dist/chunks/chart-model.js +182 -150
  207. package/dist/chunks/chart-object-literals.js +26 -25
  208. package/dist/chunks/chart-ui-utils.js +148 -66
  209. package/dist/chunks/chart-ui-utils2.js +68 -149
  210. package/dist/chunks/class-breaks.js +24 -24
  211. package/dist/chunks/combo-bar-line-chart-model.js +48 -40
  212. package/dist/chunks/data-labels-symbol.js +39 -24
  213. package/dist/chunks/data-labels-visibility.js +8 -8
  214. package/dist/chunks/data.js +68 -68
  215. package/dist/chunks/default.js +6 -6
  216. package/dist/chunks/gauge-model.js +61 -61
  217. package/dist/chunks/generate-x-axis-title.js +15 -15
  218. package/dist/chunks/heat-chart-model.js +95 -66
  219. package/dist/chunks/histogram-data.js +23 -23
  220. package/dist/chunks/histogram-model.js +9 -9
  221. package/dist/chunks/index.js +9363 -1079
  222. package/dist/chunks/index2.js +852 -8752
  223. package/dist/chunks/index3.js +1169 -847
  224. package/dist/chunks/index4.js +315 -86
  225. package/dist/chunks/index5.js +63 -100
  226. package/dist/chunks/interfaces.js +9 -9
  227. package/dist/chunks/line-chart-model.js +18 -18
  228. package/dist/chunks/model-setter.js +57 -34
  229. package/dist/chunks/model-types.js +1 -1
  230. package/dist/chunks/model-with-line-marker-styling.js +18 -9
  231. package/dist/chunks/model-with-y-guides.js +52 -67
  232. package/dist/chunks/negative-values-stacked-to-baseline.js +40 -36
  233. package/dist/chunks/pie-chart-data.js +175 -193
  234. package/dist/chunks/pie-chart-model.js +388 -320
  235. package/dist/chunks/radar-chart-model.js +397 -46
  236. package/dist/chunks/resource.js +1 -1
  237. package/dist/chunks/rest-js-object-literals.js +10 -10
  238. package/dist/chunks/rotated-state.js +1 -1
  239. package/dist/chunks/rounded-corners.js +73 -0
  240. package/dist/chunks/scatterplot-model.js +12 -12
  241. package/dist/chunks/serial-chart-data.js +868 -748
  242. package/dist/chunks/serial-chart-model.js +145 -123
  243. package/dist/chunks/series-length.js +17 -17
  244. package/dist/chunks/series-types.js +22 -18
  245. package/dist/chunks/series.js +1 -1
  246. package/dist/chunks/type-guards.js +16 -12
  247. package/dist/chunks/type-guards2.js +61 -52
  248. package/dist/chunks/utils.js +101 -91
  249. package/dist/chunks/utils2.js +9 -9
  250. package/dist/chunks/web-component-utils.js +591 -540
  251. package/dist/chunks/x-bounds.js +98 -97
  252. package/dist/components/arcgis-chart/customElement.d.ts +628 -254
  253. package/dist/components/arcgis-chart/customElement.js +10420 -10099
  254. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +8 -0
  255. package/dist/components/arcgis-charts-action-bar/customElement.js +34 -31
  256. package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
  257. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +39 -33
  258. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +29 -29
  259. package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
  260. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
  261. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +44 -43
  262. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -15
  263. package/dist/components/arcgis-charts-config-box-plot/customElement.js +31 -39
  264. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +16 -16
  265. package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
  266. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +26 -28
  267. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -4
  268. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
  269. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  270. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -20
  271. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  273. package/dist/components/arcgis-charts-config-create-flow/customElement.js +244 -230
  274. package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
  275. package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
  276. package/dist/components/arcgis-charts-config-format/customElement.js +94 -87
  277. package/dist/components/arcgis-charts-config-format-popover/customElement.js +8 -11
  278. package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
  279. package/dist/components/arcgis-charts-config-guide/customElement.js +21 -22
  280. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +10 -13
  281. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  282. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
  283. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +65 -77
  284. package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
  285. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +58 -59
  286. package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
  287. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +28 -28
  288. package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
  289. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +35 -36
  290. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  291. package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
  292. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +19 -19
  293. package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
  294. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +42 -44
  295. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +8 -8
  296. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -8
  297. package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
  298. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  299. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -6
  300. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +41 -48
  301. package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
  302. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +56 -57
  303. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +66 -67
  304. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +7 -10
  305. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
  306. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +80 -80
  307. package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
  308. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
  309. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
  310. package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
  311. package/dist/components/arcgis-charts-info-modal/customElement.js +7 -7
  312. package/dist/docs/api.json +1 -1
  313. package/dist/docs/docs.json +1 -1
  314. package/dist/docs/vscode.html-custom-data.json +1 -1
  315. package/dist/docs/web-types.json +1 -1
  316. package/dist/index.d.ts +61 -61
  317. package/dist/index.js +476 -463
  318. package/dist/interfaces.d.ts +9 -11
  319. package/dist/json-schema/index.d.ts +211 -6
  320. package/dist/loader.js +2 -2
  321. package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
  322. package/dist/model/box-plot-model/box-plot-model.d.ts +7 -1
  323. package/dist/model/chart-model/chart-model-base.d.ts +10 -0
  324. package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
  325. package/dist/model/chart-model/chart-model.d.ts +2 -1
  326. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +19 -7
  327. package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
  328. package/dist/model/interfaces/common.d.ts +0 -2
  329. package/dist/model/mixins/model-with-guides.d.ts +1 -1
  330. package/dist/model/mixins/model-with-line-marker-styling.d.ts +16 -7
  331. package/dist/model/mixins/model-with-multi-axes.d.ts +62 -99
  332. package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
  333. package/dist/model/pie-chart-model/pie-chart-model.d.ts +61 -2
  334. package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
  335. package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
  336. package/dist/model/properties/rounded-corners.d.ts +18 -0
  337. package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
  338. package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
  339. package/dist/model/shared/type-guards.d.ts +38 -22
  340. package/dist/spec/chart-object-literals.d.ts +1 -0
  341. package/dist/spec/data-source.d.ts +17 -3
  342. package/dist/spec/rest-js-types.d.ts +22 -8
  343. package/dist/spec/web-chart.d.ts +42 -6
  344. package/dist/types/lumina.d.ts +1 -1
  345. package/dist/types/preact.d.ts +1 -1
  346. package/dist/types/react.d.ts +1 -1
  347. package/dist/types/stencil.d.ts +3 -3
  348. package/dist/utils/chart-config/converter/index.js +210 -191
  349. package/dist/utils/chart-config/utils/index.d.ts +58 -8
  350. package/dist/utils/chart-config/validator/index.d.ts +1 -0
  351. package/dist/utils/chart-config/validator/interfaces.d.ts +4 -3
  352. package/dist/utils/components/interfaces.d.ts +2 -0
  353. package/dist/utils/cursor/interfaces.d.ts +21 -0
  354. package/dist/utils/data/categorical-data/index.d.ts +1 -1
  355. package/dist/utils/data/index.d.ts +28 -22
  356. package/dist/utils/data/interfaces.d.ts +4 -3
  357. package/dist/utils/defaults/index.d.ts +31 -6
  358. package/dist/utils/defaults/interfaces.d.ts +73 -4
  359. package/dist/utils/errors/index.d.ts +1 -1
  360. package/dist/utils/layer/index.d.ts +6 -3
  361. package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
  362. package/dist/utils/layer/interfaces.d.ts +2 -1
  363. package/dist/utils/layer/query-features/index.d.ts +8 -3
  364. package/dist/utils/layer/query-parser/index.d.ts +10 -6
  365. package/dist/utils/localization/interfaces.d.ts +8 -0
  366. package/dist/utils/misc/index.d.ts +2 -3
  367. package/dist/utils/misc/interfaces.d.ts +1 -0
  368. package/dist/utils/type-guards/chart-types.d.ts +10 -0
  369. package/dist/utils/type-guards/series-types.d.ts +9 -2
  370. package/dist/utils/types/index.d.ts +1 -5
  371. package/package.json +7 -8
  372. package/dist/cdn/24RLLXS6.js +0 -2
  373. package/dist/cdn/32FR66QO.js +0 -2
  374. package/dist/cdn/3EIVHDDK.js +0 -2
  375. package/dist/cdn/3NUNWPAR.js +0 -2
  376. package/dist/cdn/4ACX3XOE.js +0 -2
  377. package/dist/cdn/547RDEMV.js +0 -2
  378. package/dist/cdn/5YJNENER.js +0 -2
  379. package/dist/cdn/6AF2OTL6.js +0 -2
  380. package/dist/cdn/6C6AH4LL.js +0 -2
  381. package/dist/cdn/6CFIKYKR.js +0 -2
  382. package/dist/cdn/6GLTSMOR.js +0 -2
  383. package/dist/cdn/7OF2IANH.js +0 -2
  384. package/dist/cdn/7VN3A7S2.js +0 -2
  385. package/dist/cdn/7YWZG3ZS.js +0 -2
  386. package/dist/cdn/A5GIBV5W.js +0 -2
  387. package/dist/cdn/ADGMA3ST.js +0 -3
  388. package/dist/cdn/ADPDJISV.js +0 -2
  389. package/dist/cdn/AWKELFV6.js +0 -2
  390. package/dist/cdn/B4KAJRUJ.js +0 -2
  391. package/dist/cdn/BBUPTHPL.js +0 -2
  392. package/dist/cdn/BBURKBKE.js +0 -2
  393. package/dist/cdn/C2FOUUEM.js +0 -2
  394. package/dist/cdn/CBNT3DO7.js +0 -2
  395. package/dist/cdn/CJPEW4LJ.js +0 -142
  396. package/dist/cdn/CVU3UPPF.js +0 -2
  397. package/dist/cdn/CZ5XRXCE.js +0 -2
  398. package/dist/cdn/D73VV2AZ.js +0 -2
  399. package/dist/cdn/DF5P34HK.js +0 -2
  400. package/dist/cdn/DJACBOFO.js +0 -2
  401. package/dist/cdn/DPNTYHTH.js +0 -2
  402. package/dist/cdn/EGISZTGB.js +0 -2
  403. package/dist/cdn/EP34TF4L.js +0 -2
  404. package/dist/cdn/EZD3FBJU.js +0 -2
  405. package/dist/cdn/EZV7JSQJ.js +0 -2
  406. package/dist/cdn/FDFYTCDO.js +0 -2
  407. package/dist/cdn/G72TNKCS.js +0 -2
  408. package/dist/cdn/GQ5QBLRO.js +0 -2
  409. package/dist/cdn/HWJGWDU3.js +0 -2
  410. package/dist/cdn/HZR4NSZV.js +0 -2
  411. package/dist/cdn/IXRBZPQL.js +0 -2
  412. package/dist/cdn/JNNB2DIA.js +0 -2
  413. package/dist/cdn/JPPGHHIA.js +0 -2
  414. package/dist/cdn/JS2KOBA2.js +0 -2
  415. package/dist/cdn/JTTJ455Y.js +0 -2
  416. package/dist/cdn/JWO5WVTZ.js +0 -2
  417. package/dist/cdn/JWPAMNU4.js +0 -2
  418. package/dist/cdn/K4WI2SGM.js +0 -2
  419. package/dist/cdn/KCMZSNBL.js +0 -2
  420. package/dist/cdn/KLHZFPYK.js +0 -2
  421. package/dist/cdn/KVUFR34S.js +0 -2
  422. package/dist/cdn/LTQRSPSC.js +0 -2
  423. package/dist/cdn/MBVTB42G.js +0 -2
  424. package/dist/cdn/MRTKZZTF.js +0 -2
  425. package/dist/cdn/NNEDF6G4.js +0 -2
  426. package/dist/cdn/NSOZIR5F.js +0 -2
  427. package/dist/cdn/NTSTL3FK.js +0 -2
  428. package/dist/cdn/NZR4L5AA.js +0 -2
  429. package/dist/cdn/O5A25X5K.js +0 -2
  430. package/dist/cdn/OAAJ6CIN.js +0 -2
  431. package/dist/cdn/OGYY2Y22.js +0 -2
  432. package/dist/cdn/OJIUI56Z.js +0 -2
  433. package/dist/cdn/OSNA56IW.js +0 -4
  434. package/dist/cdn/P3YHDWG2.js +0 -2
  435. package/dist/cdn/P4HSSZRL.js +0 -2
  436. package/dist/cdn/PAIRUVLU.js +0 -2
  437. package/dist/cdn/PBWZYX5M.js +0 -58
  438. package/dist/cdn/PPGRM3VJ.js +0 -2
  439. package/dist/cdn/PRGFNLY7.js +0 -2
  440. package/dist/cdn/PRMN6W5R.js +0 -2
  441. package/dist/cdn/PROSIXIF.js +0 -2
  442. package/dist/cdn/Q5JDSPJA.js +0 -2
  443. package/dist/cdn/QJC3FDWG.js +0 -2
  444. package/dist/cdn/R75MHIRF.js +0 -2
  445. package/dist/cdn/RDA5NV6M.js +0 -2
  446. package/dist/cdn/RG3DO2OE.js +0 -2
  447. package/dist/cdn/RPNZL6AC.js +0 -2
  448. package/dist/cdn/S5UDCCRH.js +0 -2
  449. package/dist/cdn/SCAZDS2G.js +0 -2
  450. package/dist/cdn/SRPOC65M.js +0 -2
  451. package/dist/cdn/TCTQ4LMU.js +0 -2
  452. package/dist/cdn/TDHHWIIC.js +0 -2
  453. package/dist/cdn/THTYR6IL.js +0 -2
  454. package/dist/cdn/TJMPLGQI.js +0 -2
  455. package/dist/cdn/TJMTF45U.js +0 -3
  456. package/dist/cdn/U2CYVAIC.js +0 -102
  457. package/dist/cdn/U67P6YAZ.js +0 -2
  458. package/dist/cdn/UZEMSOA2.js +0 -2
  459. package/dist/cdn/VBHQFV2H.js +0 -2
  460. package/dist/cdn/VOTZAPI3.js +0 -2
  461. package/dist/cdn/VQU6N5HX.js +0 -2
  462. package/dist/cdn/VZTLODMQ.js +0 -2
  463. package/dist/cdn/W7X6L2OB.js +0 -127
  464. package/dist/cdn/WNKDEOFZ.js +0 -2
  465. package/dist/cdn/WPPMMVD5.js +0 -2
  466. package/dist/cdn/XCUXUZXY.js +0 -2
  467. package/dist/cdn/XG3WW5GG.js +0 -2
  468. package/dist/cdn/XJFVSX2E.js +0 -2
  469. package/dist/cdn/Y3CXVO2M.js +0 -2
  470. package/dist/cdn/YEZL5KRS.js +0 -2
  471. package/dist/cdn/YYK7SPXC.js +0 -2
  472. package/dist/cdn/ZS6EP5BD.js +0 -2
  473. package/dist/chunks/bar-chart-series.js +0 -15
  474. package/dist/chunks/index6.js +0 -66
  475. package/dist/chunks/time-zone.js +0 -38
  476. package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
  477. /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
  478. /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
@@ -1,56 +1,8 @@
1
- import type { ModelWithLegend } from "../mixins/model-with-legend.js";
1
+ import type { PieChartModel } from "./pie-chart-model.js";
2
2
 
3
- export abstract class PieChartLegendModel extends PieChartLegendModelSuperclass {
4
- /** Whether to display the category in the legend. */
5
- accessor displayCategory: boolean;
6
- /**
7
- * The maximum width in pixel for the legend value labels.
8
- *
9
- * @returns {number}
10
- */
11
- get valueLabelMaxWidth(): number;
12
- set valueLabelMaxWidth(value: number | undefined);
13
- /**
14
- * Gets the setting for the display of numerical value in the legend items.
15
- *
16
- * **Note**: Only applicable to pie charts.
17
- */
18
- getDisplayNumericValue(): boolean;
19
- /**
20
- * Gets the setting for the display of percentage in the legend items.
21
- *
22
- * **Note**: Only applicable to pie charts.
23
- */
24
- getDisplayPercentage(): boolean;
25
- /**
26
- * Gets the maximum width in pixel for the legend item labels.
27
- *
28
- * **Note**: Only applicable to pie charts.
29
- */
30
- getLabelMaxWidth(): number;
31
- /**
32
- * Sets the setting for the display of numerical value in the legend items.
33
- *
34
- * **Note**: Only applicable to pie charts.
35
- *
36
- * @param displayNumericValue - The setting for the display of numerical value in the legend items
37
- */
38
- setDisplayNumericValue(displayNumericValue: boolean): void;
39
- /**
40
- * Sets the setting for the display of percentage in the legend items.
41
- *
42
- * **Note**: Only applicable to pie charts.
43
- *
44
- * @param displayPercentage - The setting for the display of percentage in the legend items
45
- */
46
- setDisplayPercentage(displayPercentage: boolean): void;
47
- /**
48
- * Sets the maximum width in pixel for the legend item labels.
49
- *
50
- * **Note**: Only applicable to pie charts.
51
- *
52
- * @param labelMaxWidth - The maximum width in pixel for the legend item labels
53
- */
54
- setLabelMaxWidth(labelMaxWidth: number | undefined): void;
55
- }
56
- declare const PieChartLegendModelSuperclass: typeof ModelWithLegend & typeof ModelWithLegend
3
+ /**
4
+ * Pie chart legend model properties.
5
+ *
6
+ * @deprecated since 5.2. Use [PieChartModel](https://developers.arcgis.com/javascript/latest/references/charts-components/model/pie-chart-model/pie-chart-model/) instead. This type will be removed in 6.0.
7
+ */
8
+ export type PieChartLegendModel = PieChartModel;
@@ -5,11 +5,11 @@ import type { ChartConfig } from "../../utils/types/index.js";
5
5
  import type { ChartModel } from "../chart-model/chart-model.js";
6
6
  import type { ModelParams } from "../interfaces/chart-interfaces.js";
7
7
  import type { ModelTypes, PieChartDataSortingKinds, PieChartSlicesDisplay, PieChartDataModes } from "../interfaces/common.js";
8
+ import type { ModelWithLegend } from "../mixins/model-with-legend.js";
8
9
  import type { ModelWithTooltips } from "../mixins/model-with-tooltips.js";
9
10
  import type { WithColorMatch } from "../properties/color-match.js";
10
11
  import type { WithDataLabelsSymbol } from "../properties/data-labels/data-labels-symbol.js";
11
12
  import type { WithDataLabelsVisibility } from "../properties/data-labels/data-labels-visibility.js";
12
- import type { PieChartLegendModel } from "./pie-chart-legend-model.js";
13
13
 
14
14
  export class PieChartModel extends PieChartModelSuperclass {
15
15
  /** Aggregation type for the pie chart. */
@@ -24,11 +24,19 @@ export class PieChartModel extends PieChartModelSuperclass {
24
24
  accessor dataLabelsOffset: number;
25
25
  /** Number of decimal places to display in the slice values. */
26
26
  accessor decimalPlaces: number;
27
+ /**
28
+ * Whether to display the category in the legend.
29
+ *
30
+ * @deprecated since 5.2. Use [displayCategoryOnLegendItems](https://developers.arcgis.com/javascript/latest/references/charts-components/model/pie-chart-model/pie-chart-model/#displayCategoryOnLegendItems) instead. This property will be removed from `PieChartModel` in 6.0.
31
+ */
32
+ accessor displayCategory: boolean;
27
33
  /**
28
34
  * Whether to display the category on the data label.
29
35
  * **Note:** If the setting is not found in the config, it will default to `true`.
30
36
  */
31
37
  accessor displayCategoryOnDataLabel: boolean;
38
+ /** Whether to display the category on legend items. */
39
+ accessor displayCategoryOnLegendItems: boolean;
32
40
  /**
33
41
  * Display category value on tooltip setting from the chart config.
34
42
  *
@@ -40,6 +48,8 @@ export class PieChartModel extends PieChartModelSuperclass {
40
48
  * **Note:** If the setting is not found in the config, it will default to `true`.
41
49
  */
42
50
  accessor displayNumericValueOnDataLabel: boolean;
51
+ /** Whether to display the numeric value on legend items. */
52
+ accessor displayNumericValueOnLegendItems: boolean;
43
53
  /**
44
54
  * Display numeric value on tooltip setting from the chart config.
45
55
  *
@@ -52,6 +62,8 @@ export class PieChartModel extends PieChartModelSuperclass {
52
62
  * **Note:** If the setting is not found in the config, it will default to `true`.
53
63
  */
54
64
  accessor displayPercentageOnDataLabel: boolean;
65
+ /** Whether to display the percentage on legend items. */
66
+ accessor displayPercentageOnLegendItems: boolean;
55
67
  /**
56
68
  * Display percentage on tooltip setting from the chart config.
57
69
  *
@@ -70,11 +82,16 @@ export class PieChartModel extends PieChartModelSuperclass {
70
82
  accessor innerRadiusSize: number;
71
83
  /** Character limit for the slice labels. */
72
84
  accessor labelCharacterLimit: number | null;
85
+ /** Maximum width in pixels for legend item labels. */
86
+ get labelMaxWidth(): number;
87
+ set labelMaxWidth(value: number | undefined);
73
88
  /**
74
89
  * The pie chart data mode.
75
90
  *
76
91
  * `category` - The chart is using values from the category field to determine each slice.
77
92
  * `fields` - The chart is using aggregated values from the numeric fields to determine each slice.
93
+ *
94
+ * @deprecated since 5.2. Mode is inferred automatically from `category` and `numericFields`.
78
95
  */
79
96
  accessor mode: PieChartDataModes;
80
97
  /** Numeric fields for the pie chart. */
@@ -107,6 +124,9 @@ export class PieChartModel extends PieChartModelSuperclass {
107
124
  accessor ticksSymbol: ISimpleLineSymbol | undefined;
108
125
  /** Visibility of the ticks. */
109
126
  accessor ticksVisibility: boolean;
127
+ /** Maximum width in pixels for legend value labels. */
128
+ get valueLabelMaxWidth(): number;
129
+ set valueLabelMaxWidth(value: number | undefined);
110
130
  /** Prefix of the values of the slices. */
111
131
  accessor valuePrefix: string | undefined;
112
132
  /** Suffix of the values of the slice. */
@@ -115,6 +135,24 @@ export class PieChartModel extends PieChartModelSuperclass {
115
135
  generateChartTitle(): string;
116
136
  /** Gets the list of the category values for the chart. */
117
137
  getCustomSortValues(): Promise<string[]>;
138
+ /**
139
+ * Gets the setting for displaying numerical values on legend items.
140
+ *
141
+ * @deprecated since 5.2. Use [displayNumericValueOnLegendItems](https://developers.arcgis.com/javascript/latest/references/charts-components/model/pie-chart-model/pie-chart-model/#displayNumericValueOnLegendItems) instead. This method will be removed from `PieChartModel` in 6.0.
142
+ */
143
+ getDisplayNumericValue(): boolean;
144
+ /**
145
+ * Gets the setting for displaying percentages on legend items.
146
+ *
147
+ * @deprecated since 5.2. Use [displayPercentageOnLegendItems](https://developers.arcgis.com/javascript/latest/references/charts-components/model/pie-chart-model/pie-chart-model/#displayPercentageOnLegendItems) instead. This method will be removed from `PieChartModel` in 6.0.
148
+ */
149
+ getDisplayPercentage(): boolean;
150
+ /**
151
+ * Gets the maximum width in pixels for legend item labels.
152
+ *
153
+ * @deprecated since 5.2. Use [labelMaxWidth](https://developers.arcgis.com/javascript/latest/references/charts-components/model/pie-chart-model/pie-chart-model/#labelMaxWidth) instead. This method will be removed from `PieChartModel` in 6.0.
154
+ */
155
+ getLabelMaxWidth(): number;
118
156
  /**
119
157
  * Gets the original name of the slice based on the slice index.
120
158
  *
@@ -168,6 +206,27 @@ export class PieChartModel extends PieChartModelSuperclass {
168
206
  resetAvailable(): boolean;
169
207
  /** Resets the slices styling to the default styling. */
170
208
  resetSlices(): void;
209
+ /**
210
+ * Sets the setting for displaying numerical values on legend items.
211
+ *
212
+ * @deprecated since 5.2. Use [displayNumericValueOnLegendItems](https://developers.arcgis.com/javascript/latest/references/charts-components/model/pie-chart-model/pie-chart-model/#displayNumericValueOnLegendItems) instead. This method will be removed from `PieChartModel` in 6.0.
213
+ * @param display
214
+ */
215
+ setDisplayNumericValue(display: boolean): void;
216
+ /**
217
+ * Sets the setting for displaying percentages on legend items.
218
+ *
219
+ * @deprecated since 5.2. Use [displayPercentageOnLegendItems](https://developers.arcgis.com/javascript/latest/references/charts-components/model/pie-chart-model/pie-chart-model/#displayPercentageOnLegendItems) instead. This method will be removed from `PieChartModel` in 6.0.
220
+ * @param display
221
+ */
222
+ setDisplayPercentage(display: boolean): void;
223
+ /**
224
+ * Sets the maximum width in pixels for legend item labels.
225
+ *
226
+ * @deprecated since 5.2. Use [labelMaxWidth](https://developers.arcgis.com/javascript/latest/references/charts-components/model/pie-chart-model/pie-chart-model/#labelMaxWidth) instead. This method will be removed from `PieChartModel` in 6.0.
227
+ * @param labelMaxWidth
228
+ */
229
+ setLabelMaxWidth(labelMaxWidth: number | undefined): void;
171
230
  /**
172
231
  * Sets the color of the slice based on the slice index.
173
232
  *
@@ -196,4 +255,4 @@ export class PieChartModel extends PieChartModelSuperclass {
196
255
  */
197
256
  setup(params: ModelParams<ChartConfig<typeof ModelTypes.PieChart>>): Promise<void>;
198
257
  }
199
- declare const PieChartModelSuperclass: typeof ChartModel & typeof WithDataLabelsSymbol & typeof WithDataLabelsVisibility & typeof WithColorMatch & typeof ModelWithTooltips & typeof PieChartLegendModel
258
+ declare const PieChartModelSuperclass: typeof ChartModel & typeof WithDataLabelsSymbol & typeof WithDataLabelsVisibility & typeof WithColorMatch & typeof ModelWithTooltips & typeof ModelWithLegend
@@ -5,4 +5,30 @@ import type { WebChartTextSymbol } from "../../../spec/web-chart.js";
5
5
  export abstract class WithDataLabelsSymbol extends ChartModelBase {
6
6
  /** Data labels text symbol (font, color, style). */
7
7
  accessor dataLabelsSymbol: WebChartTextSymbol | undefined;
8
+ /**
9
+ * Gets the data labels text symbol for a specific series in the chart config.
10
+ *
11
+ * @param seriesIndex
12
+ */
13
+ getDataLabelsSymbol(seriesIndex: number): WebChartTextSymbol | undefined;
14
+ /**
15
+ * Sets the data labels text symbol for a specific series in the chart config.
16
+ *
17
+ * @param newDataLabelsSymbol
18
+ * @param seriesIndex
19
+ * @example
20
+ * ```ts
21
+ * barChartModel.setDataLabelsSymbol(
22
+ * {
23
+ * type: "esriTS",
24
+ * color: [255, 0, 0, 255],
25
+ * font: {
26
+ * size: 15,
27
+ * },
28
+ * },
29
+ * 0,
30
+ * );
31
+ * ```
32
+ */
33
+ setDataLabelsSymbol(newDataLabelsSymbol: WebChartTextSymbol | undefined, seriesIndex: number): void;
8
34
  }
@@ -0,0 +1,20 @@
1
+ import type { ChartModelBase } from "../chart-model/chart-model-base.js";
2
+
3
+ /** Adds support for working with data tooltip font sizes. */
4
+ export abstract class WithSeriesDataTooltipFontSize extends ChartModelBase {
5
+ /**
6
+ * Gets the data tooltip font size for a series.
7
+ *
8
+ * If the series index is out of bounds or the series list is empty, this function will return `undefined`.
9
+ *
10
+ * @param seriesIndex - The index of the series to retrieve the font size for.
11
+ */
12
+ getDataTooltipFontSize(seriesIndex: number): number | undefined;
13
+ /**
14
+ * Sets the data tooltip font size for a series.
15
+ *
16
+ * @param fontSize - The font size to set.
17
+ * @param seriesIndex - The index of the series to set the font size for.
18
+ */
19
+ setDataTooltipFontSize(fontSize: number | undefined, seriesIndex: number): void;
20
+ }
@@ -0,0 +1,18 @@
1
+ import type { ChartModelBase } from "../chart-model/chart-model-base.js";
2
+
3
+ /**
4
+ * Adds support for configuring rounded corners on charts that support it.
5
+ * NOTE: Currently only bar charts and the bar series in combo bar-line charts.
6
+ */
7
+ export abstract class WithRoundedCorners extends ChartModelBase {
8
+ /**
9
+ * Gets the rounded corner radius for the chart.
10
+ * **Known limitation:** Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).
11
+ */
12
+ accessor cornerRadius: number | undefined;
13
+ /**
14
+ * Gets whether rounded corners are enabled for the chart.
15
+ * **Known limitation:** Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).
16
+ */
17
+ accessor roundCorners: boolean;
18
+ }
@@ -3,18 +3,208 @@ import type { SerialChartModel } from "../serial-chart-model/serial-chart-model.
3
3
  import type { ModelParams } from "../interfaces/chart-interfaces.js";
4
4
  import type { ModelTypes } from "../interfaces/common.js";
5
5
  import type { WithNegativeValuesStackedToBaseline } from "../properties/series/negative-values-stacked-to-baseline.js";
6
+ import type { WebChartTextSymbol } from "../../spec/web-chart.js";
7
+ import type { WebChartRadarChartAxisLabelsOrientation, WebChartLabelBehavior } from "../../spec/chart-object-literals.js";
6
8
  import type { ModelWithLineMarkerStyling } from "../mixins/model-with-line-marker-styling.js";
7
9
 
8
10
  export class RadarChartModel extends RadarChartModelSuperclass {
11
+ /** The radar axis labels orientation. */
12
+ accessor axisLabelsOrientation: WebChartRadarChartAxisLabelsOrientation;
13
+ /** The circular-axis field for the radar chart. */
14
+ accessor circularAxisField: string;
15
+ /** Whether the circular-axis labels are visible. */
16
+ accessor circularAxisLabelsVisibility: boolean;
17
+ /** Circular-axis title text symbol (font, color, style). */
18
+ accessor circularAxisTitleSymbol: WebChartTextSymbol | undefined;
19
+ /** The circular-axis title text. */
20
+ accessor circularAxisTitleText: string;
21
+ /** Whether the circular-axis title is visible. */
22
+ accessor circularAxisTitleVisibility: boolean;
23
+ /** Visibility of the circular line of the cursor's crosshair. */
24
+ accessor cursorCrosshairCircularLineVisibility: boolean;
25
+ /**
26
+ * Visibility of the horizontal line of the cursor's crosshair.
27
+ *
28
+ * @deprecated since 5.2. Use [cursorCrosshairCircularLineVisibility](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#cursorCrosshairCircularLineVisibility) instead. This property will be removed from `RadarChartModel` in 6.0.
29
+ */
30
+ accessor cursorCrosshairHorizontalLineVisibility: boolean;
31
+ /** Visibility of the radial line of the cursor's crosshair. */
32
+ accessor cursorCrosshairRadialLineVisibility: boolean;
33
+ /**
34
+ * Visibility of the vertical line of the cursor's crosshair.
35
+ *
36
+ * @deprecated since 5.2. Use [cursorCrosshairRadialLineVisibility](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#cursorCrosshairRadialLineVisibility) instead. This property will be removed from `RadarChartModel` in 6.0.
37
+ */
38
+ accessor cursorCrosshairVerticalLineVisibility: boolean;
39
+ /**
40
+ * Maximum bound set for the circular axis.
41
+ *
42
+ * `null` indicates no explicit maximum.
43
+ */
44
+ accessor maxCircularBound: number | null;
45
+ /**
46
+ * Maximum bound set for the x-axis.
47
+ *
48
+ * @deprecated since 5.2. Use [maxCircularBound](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#maxCircularBound) instead. This property will be removed from `RadarChartModel` in 6.0.
49
+ */
50
+ accessor maxXBound: number | null;
51
+ /**
52
+ * Minimum bound set for the circular axis.
53
+ *
54
+ * `null` indicates no explicit minimum.
55
+ */
56
+ accessor minCircularBound: number | null;
57
+ /**
58
+ * Minimum bound set for the x-axis.
59
+ *
60
+ * @deprecated since 5.2. Use [minCircularBound](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#minCircularBound) instead. This property will be removed from `RadarChartModel` in 6.0.
61
+ */
62
+ accessor minXBound: number | null;
63
+ /**
64
+ * The x-axis field for the chart.
65
+ *
66
+ * @deprecated since 5.2. Use [circularAxisField](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#circularAxisField) instead. This property will be removed from `RadarChartModel` in 6.0.
67
+ */
68
+ accessor xAxisField: string;
69
+ /**
70
+ * Whether the x-axis labels are visible.
71
+ *
72
+ * @deprecated since 5.2. Use [circularAxisLabelsVisibility](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#circularAxisLabelsVisibility) instead. This property will be removed from `RadarChartModel` in 6.0.
73
+ */
74
+ accessor xAxisLabelsVisibility: boolean;
75
+ /**
76
+ * X-axis title text symbol (font, color, style).
77
+ *
78
+ * @deprecated since 5.2. Use [circularAxisTitleSymbol](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#circularAxisTitleSymbol) instead. This property will be removed from `RadarChartModel` in 6.0.
79
+ */
80
+ accessor xAxisTitleSymbol: WebChartTextSymbol | undefined;
81
+ /**
82
+ * The x-axis title text.
83
+ *
84
+ * @deprecated since 5.2. Use [circularAxisTitleText](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#circularAxisTitleText) instead. This property will be removed from `RadarChartModel` in 6.0.
85
+ */
86
+ accessor xAxisTitleText: string;
87
+ /**
88
+ * Whether the x-axis title is visible.
89
+ *
90
+ * @deprecated since 5.2. Use [circularAxisTitleVisibility](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#circularAxisTitleVisibility) instead. This property will be removed from `RadarChartModel` in 6.0.
91
+ */
92
+ accessor xAxisTitleVisibility: boolean;
93
+ /**
94
+ * Adds a circular-axis guide.
95
+ *
96
+ * @param name - The name of the guide.
97
+ * @param index - The index to insert the new guide in the list of circular-axis guides. If left `undefined`, the guide is appended to the end of the list.
98
+ */
99
+ addCircularAxisGuide(name: string, index?: number): void;
100
+ /**
101
+ * Adds a radial-axis guide.
102
+ *
103
+ * @param name - The name of the guide.
104
+ * @param index - The index to insert the new guide in the list of radial-axis guides. If left `undefined`, the guide is appended to the end of the list.
105
+ */
106
+ addRadialAxisGuide(name: string, index?: number): void;
107
+ /**
108
+ * Adds an X-axis guide.
109
+ *
110
+ * @deprecated since 5.2. Use [addCircularAxisGuide](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#addCircularAxisGuide) instead. This method will be removed from `RadarChartModel` in 6.0.
111
+ * @param name - The name of the guide.
112
+ * @param index - The index to insert the new guide in the list of X-axis guides. If left `undefined`, the guide is appended to the end of the list.
113
+ */
114
+ addXAxisGuide(name: string, index?: number): void;
115
+ /**
116
+ * Adds a Y-axis guide.
117
+ *
118
+ * @deprecated since 5.2. Use [addRadialAxisGuide](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#addRadialAxisGuide) instead. This method will be removed from `RadarChartModel` in 6.0.
119
+ * @param name - The name of the guide.
120
+ * @param index - The index to insert the new guide in the list of Y-axis guides. If left `undefined`, the guide is appended to the end of the list.
121
+ */
122
+ addYAxisGuide(name: string, index?: number): void;
123
+ /**
124
+ * Deletes a circular-axis guide.
125
+ *
126
+ * @param index - The index of the guide to delete in the list of circular-axis guides. If left `undefined`, the last guide in the list is deleted.
127
+ */
128
+ deleteCircularAxisGuide(index?: number): void;
129
+ /**
130
+ * Deletes a radial-axis guide.
131
+ *
132
+ * @param index - The index of the guide to delete in the list of radial-axis guides. If left `undefined`, the last guide in the list is deleted.
133
+ */
134
+ deleteRadialAxisGuide(index?: number): void;
135
+ /**
136
+ * Deletes an X-axis guide.
137
+ *
138
+ * @deprecated since 5.2. Use [deleteCircularAxisGuide](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#deleteCircularAxisGuide) instead. This method will be removed from `RadarChartModel` in 6.0.
139
+ * @param index - The index of the guide to delete in the list of X-axis guides. If left `undefined`, the last guide in the list is deleted.
140
+ */
141
+ deleteXAxisGuide(index?: number): void;
142
+ /**
143
+ * Deletes a Y-axis guide.
144
+ *
145
+ * @deprecated since 5.2. Use [deleteRadialAxisGuide](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#deleteRadialAxisGuide) instead. This method will be removed from `RadarChartModel` in 6.0.
146
+ * @param index - The index of the guide to delete in the list of Y-axis guides. If left `undefined`, the last guide in the list is deleted.
147
+ */
148
+ deleteYAxisGuide(index?: number): void;
149
+ /** Generate the proper circular-axis title from the current config. */
150
+ generateCircularAxisTitle(): string;
151
+ /** Generate the proper radial-axis title given the current config. */
152
+ generateRadialAxisTitle(): string;
153
+ /**
154
+ * Generate the proper x-axis title from the current config.
155
+ *
156
+ * @deprecated since 5.2. Use [generateCircularAxisTitle](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#generateCircularAxisTitle) instead. This method will be removed from `RadarChartModel` in 6.0.
157
+ */
158
+ generateXAxisTitle(): string;
159
+ /**
160
+ * Generate the proper y-axis title given the current config.
161
+ *
162
+ * @deprecated since 5.2. Use [generateRadialAxisTitle](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#generateRadialAxisTitle) instead. This method will be removed from `RadarChartModel` in 6.0.
163
+ */
164
+ generateYAxisTitle(): string;
165
+ /** Get the default circular-axis title text. */
166
+ getDefaultCircularAxisTitleText(): string;
167
+ /**
168
+ * Get the default x-axis title text.
169
+ *
170
+ * @deprecated since 5.2. Use [getDefaultCircularAxisTitleText](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#getDefaultCircularAxisTitleText) instead. This method will be removed from `RadarChartModel` in 6.0.
171
+ */
172
+ getDefaultXAxisTitleText(): string;
173
+ /**
174
+ * Gets the horizontal axis labels behavior for the chart.
175
+ *
176
+ * @deprecated since 5.2. This method has no effect on the radar-axis labels Use [axisLabelsOrientation](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#axisLabelsOrientation) instead. This method will be removed from `RadarChartModel` in 6.0.
177
+ */
178
+ getHorizontalAxisLabelsBehavior(): WebChartLabelBehavior;
179
+ /**
180
+ * Gets the vertical axis labels behavior for the chart.
181
+ *
182
+ * @deprecated since 5.2. This method does not configure radar-axis labels and has no replacement. It will be removed from `RadarChartModel` in 6.0.
183
+ */
184
+ getVerticalAxisLabelsBehavior(): WebChartLabelBehavior;
9
185
  /** Returns whether the series styling is able to be reset. */
10
186
  resetAvailable(): boolean;
11
187
  /** Resets the series styling to the default styling. */
12
188
  resetSeriesStyling(): void;
189
+ /**
190
+ * Sets the horizontal axis labels behavior for the chart.
191
+ *
192
+ * @deprecated since 5.2. This method has no effect on the radar-axis labels Use [axisLabelsOrientation](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#axisLabelsOrientation) instead. This method will be removed from `RadarChartModel` in 6.0.
193
+ * @param horizontalBehavior - The behavior for the horizontal axis labels.
194
+ */
195
+ setHorizontalAxisLabelsBehavior(horizontalBehavior: WebChartLabelBehavior): void;
13
196
  /**
14
197
  * Completes the async setup process for the chart model. Must be called before using the model.
15
198
  *
16
199
  * @param params
17
200
  */
18
201
  setup(params: ModelParams<ChartConfig<typeof ModelTypes.RadarChart>>): Promise<void>;
202
+ /**
203
+ * Sets the vertical axis labels behavior for the chart.
204
+ *
205
+ * @deprecated since 5.2. This method does not configure radar-axis labels and has no replacement. It will be removed from `RadarChartModel` in 6.0.
206
+ * @param verticalBehavior - The behavior for the vertical axis labels.
207
+ */
208
+ setVerticalAxisLabelsBehavior(verticalBehavior: WebChartLabelBehavior): void;
19
209
  }
20
210
  declare const RadarChartModelSuperclass: typeof SerialChartModel & typeof ModelWithLineMarkerStyling & typeof WithNegativeValuesStackedToBaseline
@@ -63,6 +63,7 @@ export abstract class SerialChartModel extends SerialChartModelSuperclass {
63
63
  /**
64
64
  * Gets whether the series should be assigned to the second value axis.
65
65
  *
66
+ * @deprecated since 5.2. Use [getSeriesToSecondaryYAxis](https://developers.arcgis.com/javascript/latest/references/charts-components/model/serial-chart-model/serial-chart-model/#getSeriesToSecondaryYAxis) instead.
66
67
  * @param seriesIndex - The index of the series.
67
68
  */
68
69
  getAssignToSecondValueAxis(seriesIndex: number): boolean;
@@ -83,6 +84,12 @@ export abstract class SerialChartModel extends SerialChartModelSuperclass {
83
84
  * @param seriesIndex - The index of the series.
84
85
  */
85
86
  getSeriesName(seriesIndex: number): string | undefined;
87
+ /**
88
+ * Gets whether the series should be assigned to the secondary y-axis.
89
+ *
90
+ * @param seriesIndex - The index of the series.
91
+ */
92
+ getSeriesToSecondaryYAxis(seriesIndex: number): boolean;
86
93
  /** Gets the sort order for the bar chart. */
87
94
  getSortOrder(): HeatChartDataSortingKinds | SerialChartDataSortingKinds;
88
95
  /**
@@ -100,9 +107,12 @@ export abstract class SerialChartModel extends SerialChartModelSuperclass {
100
107
  * @param toIndex - Index to move the series to.
101
108
  */
102
109
  moveSeries(fromIndex: number, toIndex: number): void;
110
+ /** Rebuilds the series based on the current configuration. */
111
+ rebuildSeries(): Promise<void>;
103
112
  /**
104
113
  * Sets whether the series should be assigned to the second value axis.
105
114
  *
115
+ * @deprecated since 5.2. Use [setSeriesToSecondaryYAxis](https://developers.arcgis.com/javascript/latest/references/charts-components/model/serial-chart-model/serial-chart-model/#setSeriesToSecondaryYAxis) instead.
106
116
  * @param assign - The value for the setting.
107
117
  * @param seriesIndex - The index of the series.
108
118
  */
@@ -133,6 +143,18 @@ export abstract class SerialChartModel extends SerialChartModelSuperclass {
133
143
  * @param seriesIndex - The index of the series.
134
144
  */
135
145
  setSeriesName(name: string, seriesIndex: number): void;
146
+ /**
147
+ * Sets whether the series should be assigned to the secondary y-axis.
148
+ *
149
+ * @param assign - The value for the setting.
150
+ * @param seriesIndex - The index of the series.
151
+ * @example
152
+ * ```ts
153
+ * chartModel.setSeriesToSecondaryYAxis(true, 0); // Assigns the first series to the secondary y-axis
154
+ * chartModel.setSeriesToSecondaryYAxis(false, 1); // Removes the second series from the secondary y-axis
155
+ * ```
156
+ */
157
+ setSeriesToSecondaryYAxis(assign: boolean, seriesIndex: number): void;
136
158
  /**
137
159
  * Sets the sort order for the bar chart.
138
160
  *
@@ -140,7 +162,11 @@ export abstract class SerialChartModel extends SerialChartModelSuperclass {
140
162
  * @param orderByList - The list of category's values to order by.
141
163
  */
142
164
  setSortOrder(newSortOrder: HeatChartDataSortingKinds | SerialChartDataSortingKinds, orderByList?: string[]): void;
143
- /** Updates the series based on the layer filter. */
165
+ /**
166
+ * Updates the series based on the layer filter.
167
+ *
168
+ * @deprecated since 5.2. Use [rebuildSeries](https://developers.arcgis.com/javascript/latest/references/charts-components/model/serial-chart-model/serial-chart-model/#rebuildSeries) instead.
169
+ */
144
170
  updateSeriesFromLayerFilter(): void;
145
171
  }
146
172
  declare const SerialChartModelSuperclass: typeof ChartModel & typeof WithTimeZone & typeof WithGenerateXAxisTitle & typeof WithAxisLinesSymbol & typeof WithAxisLabelsSymbol & typeof WithXAxisTitleSymbol & typeof WithXBounds & typeof WithXAxisTitleVisibility & typeof WithXAxisLabelsVisibility & typeof WithXAxisTitleText & typeof ModelWithTemporalBinning & typeof ModelWithYGuides & typeof ModelWithXGuides & typeof WithDataLabelsSymbol & typeof WithDataLabelsVisibility & typeof WithRotatedState & typeof WithColorMatch & typeof ModelWithTooltips & typeof ModelWithLegend & typeof ModelWithMultiAxes