@arcgis/charts-components 5.2.0-next.6 → 5.2.0-next.61

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 (447) hide show
  1. package/README.md +2 -2
  2. package/dist/cdn/{FF4DUQDZ.js → 22WGB4CQ.js} +1 -1
  3. package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
  4. package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
  5. package/dist/cdn/2G65P262.js +2 -0
  6. package/dist/cdn/2RYKKN36.js +2 -0
  7. package/dist/cdn/3AYXOX4U.js +2 -0
  8. package/dist/cdn/{ZFZ5AEUQ.js → 3CGAUDYD.js} +1 -1
  9. package/dist/cdn/{JBHGSSHS.js → 3FZCVKWJ.js} +1 -1
  10. package/dist/cdn/{DCZWZOPF.js → 3GVTYZ2I.js} +1 -1
  11. package/dist/cdn/3YCGBAQY.js +2 -0
  12. package/dist/cdn/3ZGG7Q5M.js +2 -0
  13. package/dist/cdn/46PXO7ZC.js +4 -0
  14. package/dist/cdn/4COV22K4.js +2 -0
  15. package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
  16. package/dist/cdn/{AM2TOTX6.js → 4EBMUPEV.js} +1 -1
  17. package/dist/cdn/4ITNOJXC.js +2 -0
  18. package/dist/cdn/{E7OAEGSE.js → 4VL2SBHK.js} +1 -1
  19. package/dist/cdn/54W4C75M.js +2 -0
  20. package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
  21. package/dist/cdn/{GDQBQQUP.js → 5JXEO4VE.js} +1 -1
  22. package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
  23. package/dist/cdn/5YP7P6S3.js +2 -0
  24. package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
  25. package/dist/cdn/67QYTLMM.js +2 -0
  26. package/dist/cdn/6AI3ZXL5.js +2 -0
  27. package/dist/cdn/6MNV7FJC.js +2 -0
  28. package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
  29. package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
  30. package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
  31. package/dist/cdn/{JRHMUFED.js → 7DIQIFKR.js} +1 -1
  32. package/dist/cdn/{ETKPMU7Z.js → 7WVTY3XI.js} +1 -1
  33. package/dist/cdn/{A5AECJXP.js → A2NFOGT2.js} +1 -1
  34. package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
  35. package/dist/cdn/ANHW36VW.js +2 -0
  36. package/dist/cdn/{DKAHZ7IX.js → ASZ6YFIL.js} +1 -1
  37. package/dist/cdn/{VY3KBD6N.js → AYQ4HHL6.js} +1 -1
  38. package/dist/cdn/AYUYEY5H.js +2 -0
  39. package/dist/cdn/{JJIGLOJA.js → AZKX3FMB.js} +1 -1
  40. package/dist/cdn/{AJWYIBGC.js → AZMQPJO3.js} +1 -1
  41. package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
  42. package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
  43. package/dist/cdn/BDTKAMUN.js +2 -0
  44. package/dist/cdn/BGOWDCTO.js +2 -0
  45. package/dist/cdn/BHGOAHMJ.js +2 -0
  46. package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
  47. package/dist/cdn/BKK57XHL.js +2 -0
  48. package/dist/cdn/BLZLMGO6.js +2 -0
  49. package/dist/cdn/BYSUABOV.js +2 -0
  50. package/dist/cdn/{BJDRJUEJ.js → CDJRYMBP.js} +1 -1
  51. package/dist/cdn/{6XTKJ7DO.js → CHMLTTRN.js} +1 -1
  52. package/dist/cdn/{HVO4LIXR.js → CL5G6D6W.js} +1 -1
  53. package/dist/cdn/{AWF4R7WL.js → CMGCZ4MF.js} +1 -1
  54. package/dist/cdn/{QMSINFQX.js → CVJSVWF3.js} +1 -1
  55. package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
  56. package/dist/cdn/{K3GNHGEW.js → D3KIBJKD.js} +1 -1
  57. package/dist/cdn/{KDJ5RVHA.js → DAFNQT4C.js} +1 -1
  58. package/dist/cdn/DBAM7MH7.js +2 -0
  59. package/dist/cdn/DGV6S2W3.js +2 -0
  60. package/dist/cdn/{TF7TE7K5.js → DJPMW6UC.js} +1 -1
  61. package/dist/cdn/DPTA2AET.js +2 -0
  62. package/dist/cdn/DQXO7PWX.js +2 -0
  63. package/dist/cdn/EAV3KAS7.js +2 -0
  64. package/dist/cdn/EMBMJCFZ.js +2 -0
  65. package/dist/cdn/EOHKNJSJ.js +2 -0
  66. package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
  67. package/dist/cdn/EUOJG5H6.js +2 -0
  68. package/dist/cdn/{2HUAW34Q.js → EXS2KOEA.js} +1 -1
  69. package/dist/cdn/FHBCVW5T.js +2 -0
  70. package/dist/cdn/FJGG2VVZ.js +2 -0
  71. package/dist/cdn/FQLRMWNL.js +2 -0
  72. package/dist/cdn/{QFEZPP3R.js → GARBFC7Q.js} +1 -1
  73. package/dist/cdn/{CLXVAIQX.js → GP3LPIRJ.js} +1 -1
  74. package/dist/cdn/GRL5SM6K.js +2 -0
  75. package/dist/cdn/{ADGMA3ST.js → H57XAQPI.js} +2 -2
  76. package/dist/cdn/{L4G6FO7A.js → HBOYEK6P.js} +1 -1
  77. package/dist/cdn/{MVHQR4FJ.js → HOIPLQXD.js} +1 -1
  78. package/dist/cdn/{LFQGH44F.js → HQMOMCWF.js} +1 -1
  79. package/dist/cdn/{N6AOFBBX.js → HSQ32NUA.js} +1 -1
  80. package/dist/cdn/{7HGVEE7A.js → HUNN3ERX.js} +1 -1
  81. package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
  82. package/dist/cdn/I3XBTQKJ.js +2 -0
  83. package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
  84. package/dist/cdn/INISFVAK.js +2 -0
  85. package/dist/cdn/{P4HSSZRL.js → IONJLIQQ.js} +1 -1
  86. package/dist/cdn/{KCMZSNBL.js → ISK4QVLY.js} +1 -1
  87. package/dist/cdn/{DEGBVJ76.js → IUOORM26.js} +1 -1
  88. package/dist/cdn/J3CL6KB6.js +2 -0
  89. package/dist/cdn/JGESKW6S.js +2 -0
  90. package/dist/cdn/JH3NSZUT.js +2 -0
  91. package/dist/cdn/{ML3A3MYV.js → JS6A5QAV.js} +1 -1
  92. package/dist/cdn/{4LPXOEML.js → JUON3AJY.js} +1 -1
  93. package/dist/cdn/{AK7X7SGI.js → JYC77MVD.js} +1 -1
  94. package/dist/cdn/JYITKARU.js +104 -0
  95. package/dist/cdn/{KUZR6CGB.js → JZ5HUNM5.js} +1 -1
  96. package/dist/cdn/K4APZJ2O.js +2 -0
  97. package/dist/cdn/KCES2YBJ.js +2 -0
  98. package/dist/cdn/KDCZQ6UT.js +2 -0
  99. package/dist/cdn/KJZTU3DV.js +2 -0
  100. package/dist/cdn/KLKI4XNW.js +2 -0
  101. package/dist/cdn/{5XTQQOTT.js → KOCZJFY6.js} +1 -1
  102. package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
  103. package/dist/cdn/KWA7OWHO.js +2 -0
  104. package/dist/cdn/L7TUV2MY.js +2 -0
  105. package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
  106. package/dist/cdn/LGTXQIF7.js +2 -0
  107. package/dist/cdn/{IPM2XKST.js → LHDBHPXR.js} +1 -1
  108. package/dist/cdn/LIBE4XVH.js +2 -0
  109. package/dist/cdn/M744CFJ2.js +2 -0
  110. package/dist/cdn/{CHQDKVVQ.js → MARXRC6B.js} +1 -1
  111. package/dist/cdn/MI6AKTXQ.js +2 -0
  112. package/dist/cdn/MJTWR33N.js +2 -0
  113. package/dist/cdn/MPGHOXLW.js +2 -0
  114. package/dist/cdn/MU6ZYADT.js +2 -0
  115. package/dist/cdn/{XE3FKQFA.js → MVCB4RM7.js} +1 -1
  116. package/dist/cdn/MXE4VPZS.js +2 -0
  117. package/dist/cdn/{KFONSKQF.js → MZ2RZ62O.js} +1 -1
  118. package/dist/cdn/NK66D65H.js +2 -0
  119. package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
  120. package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
  121. package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
  122. package/dist/cdn/NZ2C5DJB.js +2 -0
  123. package/dist/cdn/O3VKOV2W.js +2 -0
  124. package/dist/cdn/{THTYR6IL.js → OAXHS4LE.js} +1 -1
  125. package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
  126. package/dist/cdn/OFFKJPQH.js +2 -0
  127. package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
  128. package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
  129. package/dist/cdn/ONKEO3Z2.js +2 -0
  130. package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
  131. package/dist/cdn/{A4GEWIPY.js → OSUM4CWA.js} +1 -1
  132. package/dist/cdn/OT7PLFBK.js +2 -0
  133. package/dist/cdn/OWWQ5SYW.js +2 -0
  134. package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
  135. package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
  136. package/dist/cdn/P5QEJOJS.js +2 -0
  137. package/dist/cdn/{5MEQANMY.js → PAQGR4DD.js} +1 -1
  138. package/dist/cdn/PBO5VH6A.js +2 -0
  139. package/dist/cdn/{ZXOO3X5P.js → PEEVY5UG.js} +1 -1
  140. package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
  141. package/dist/cdn/PLEC3GNT.js +2 -0
  142. package/dist/cdn/Q5OFF4FE.js +45 -0
  143. package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
  144. package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
  145. package/dist/cdn/QZCTLQBM.js +2 -0
  146. package/dist/cdn/RICA7GJM.js +2 -0
  147. package/dist/cdn/S5GVUYBL.js +2 -0
  148. package/dist/cdn/SCU3SBSN.js +2 -0
  149. package/dist/cdn/SQIKFO32.js +2 -0
  150. package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
  151. package/dist/cdn/SUNHJPBW.js +2 -0
  152. package/dist/cdn/SYVPFDIW.js +2 -0
  153. package/dist/cdn/T62EETHJ.js +2 -0
  154. package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
  155. package/dist/cdn/TEWEPSIO.js +2 -0
  156. package/dist/cdn/{QOOBNATX.js → TGEHTOWR.js} +1 -1
  157. package/dist/cdn/{DAB5R2BN.js → TQYJM66E.js} +1 -1
  158. package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
  159. package/dist/cdn/{SBYD2EKR.js → TSSN2OW3.js} +1 -1
  160. package/dist/cdn/TU3LYEK3.js +2 -0
  161. package/dist/cdn/TVG7KD3H.js +2 -0
  162. package/dist/cdn/{MRTKZZTF.js → U43KANH5.js} +1 -1
  163. package/dist/cdn/{7FZC3RZK.js → UB36FUCN.js} +1 -1
  164. package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
  165. package/dist/cdn/UM7RIOCE.js +2 -0
  166. package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
  167. package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
  168. package/dist/cdn/V6LKZUEZ.js +3 -0
  169. package/dist/cdn/{YOT6DVSU.js → V7AEHY25.js} +1 -1
  170. package/dist/cdn/VA6KJZ2Y.js +2 -0
  171. package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
  172. package/dist/cdn/VM4XLVMS.js +2 -0
  173. package/dist/cdn/{KZ7LPNX3.js → VNNTABNO.js} +1 -1
  174. package/dist/cdn/VPYL3RVN.js +2 -0
  175. package/dist/cdn/{XW4PBQNW.js → VT6X6QMA.js} +1 -1
  176. package/dist/cdn/WFW6BNDT.js +2 -0
  177. package/dist/cdn/{GV3TT7L5.js → WKQB6Z7Z.js} +1 -1
  178. package/dist/cdn/{Y7HBWU3M.js → WMUPNT4Q.js} +1 -1
  179. package/dist/cdn/WSL76GA5.js +2 -0
  180. package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
  181. package/dist/cdn/WTJ2NJ76.js +2 -0
  182. package/dist/cdn/WZOHQJFB.js +2 -0
  183. package/dist/cdn/X3S4M6JL.js +2 -0
  184. package/dist/cdn/XV4LD73L.js +2 -0
  185. package/dist/cdn/Y5ZH7VS4.js +2 -0
  186. package/dist/cdn/{WASEMNYV.js → YC4WZNPI.js} +1 -1
  187. package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
  188. package/dist/cdn/ZGBULDPL.js +2 -0
  189. package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
  190. package/dist/cdn/{UT4TYXFO.js → ZRX4BEOX.js} +1 -1
  191. package/dist/cdn/{S5UDCCRH.js → ZWIF7LHW.js} +1 -1
  192. package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
  193. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
  194. package/dist/cdn/index.js +1 -1
  195. package/dist/cdn/main.css +1 -1
  196. package/dist/cdn/model/shared/setup-utils.js +1 -1
  197. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
  198. package/dist/chart-rendering/common/interfaces.d.ts +19 -21
  199. package/dist/chunks/{type-guards3.js → action-bar-utils.js} +27 -35
  200. package/dist/chunks/axis-lines-symbol.js +7 -7
  201. package/dist/chunks/bar-chart-model.js +39 -36
  202. package/dist/chunks/box-plot-data.js +273 -282
  203. package/dist/chunks/box-plot-model.js +159 -144
  204. package/dist/chunks/chart-model.js +177 -145
  205. package/dist/chunks/chart-object-literals.js +2 -1
  206. package/dist/chunks/chart-ui-utils.js +24 -23
  207. package/dist/chunks/class-breaks.js +12 -12
  208. package/dist/chunks/combo-bar-line-chart-model.js +25 -26
  209. package/dist/chunks/data-labels-symbol.js +39 -24
  210. package/dist/chunks/data-labels-visibility.js +24 -24
  211. package/dist/chunks/data.js +69 -69
  212. package/dist/chunks/gauge-model.js +18 -18
  213. package/dist/chunks/generate-x-axis-title.js +12 -12
  214. package/dist/chunks/heat-chart-model.js +93 -64
  215. package/dist/chunks/histogram-data.js +22 -22
  216. package/dist/chunks/histogram-model.js +10 -10
  217. package/dist/chunks/index.js +190 -179
  218. package/dist/chunks/index2.js +6069 -5721
  219. package/dist/chunks/index3.js +96 -86
  220. package/dist/chunks/index4.js +312 -87
  221. package/dist/chunks/index5.js +63 -100
  222. package/dist/chunks/line-chart-model.js +12 -12
  223. package/dist/chunks/model-setter.js +16 -15
  224. package/dist/chunks/model-with-line-marker-styling.js +2 -3
  225. package/dist/chunks/model-with-y-guides.js +59 -74
  226. package/dist/chunks/negative-values-stacked-to-baseline.js +18 -18
  227. package/dist/chunks/pie-chart-data.js +174 -192
  228. package/dist/chunks/pie-chart-model.js +161 -148
  229. package/dist/chunks/radar-chart-model.js +397 -46
  230. package/dist/chunks/resource.js +5 -5
  231. package/dist/chunks/rotated-state.js +1 -1
  232. package/dist/chunks/rounded-corners.js +73 -0
  233. package/dist/chunks/scatterplot-model.js +3 -3
  234. package/dist/chunks/serial-chart-data.js +889 -774
  235. package/dist/chunks/serial-chart-model.js +145 -124
  236. package/dist/chunks/series-length.js +2 -2
  237. package/dist/chunks/series-types.js +22 -18
  238. package/dist/chunks/series.js +1 -1
  239. package/dist/chunks/type-guards.js +17 -13
  240. package/dist/chunks/type-guards2.js +41 -33
  241. package/dist/chunks/utils.js +108 -96
  242. package/dist/chunks/utils2.js +1 -1
  243. package/dist/chunks/web-component-utils.js +632 -492
  244. package/dist/chunks/x-bounds.js +41 -42
  245. package/dist/components/arcgis-chart/customElement.d.ts +277 -164
  246. package/dist/components/arcgis-chart/customElement.js +10323 -10325
  247. package/dist/components/arcgis-charts-action-bar/customElement.js +33 -30
  248. package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
  249. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +6 -7
  250. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +19 -19
  251. package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
  252. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
  253. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +44 -43
  254. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -15
  255. package/dist/components/arcgis-charts-config-box-plot/customElement.js +10 -11
  256. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +8 -8
  257. package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
  258. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +23 -25
  259. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  260. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +15 -18
  261. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -20
  262. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  263. package/dist/components/arcgis-charts-config-create-flow/customElement.js +138 -136
  264. package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
  265. package/dist/components/arcgis-charts-config-font-style/customElement.js +2 -2
  266. package/dist/components/arcgis-charts-config-format/customElement.js +93 -86
  267. package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
  268. package/dist/components/arcgis-charts-config-guide/customElement.js +17 -18
  269. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +8 -11
  270. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  271. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
  272. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +64 -76
  273. package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
  274. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +53 -54
  275. package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
  276. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +19 -19
  277. package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
  278. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +33 -34
  279. package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
  280. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +12 -12
  281. package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
  282. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +35 -37
  283. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +6 -6
  284. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +6 -7
  285. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -5
  286. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +41 -48
  287. package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
  288. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +55 -56
  289. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +65 -66
  290. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +7 -10
  291. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
  292. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +79 -79
  293. package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
  294. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
  295. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
  296. package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
  297. package/dist/components/arcgis-charts-info-modal/customElement.js +6 -6
  298. package/dist/docs/api.json +1 -1
  299. package/dist/docs/docs.json +1 -1
  300. package/dist/docs/vscode.html-custom-data.json +1 -1
  301. package/dist/docs/web-types.json +1 -1
  302. package/dist/index.d.ts +62 -67
  303. package/dist/index.js +471 -458
  304. package/dist/json-schema/index.d.ts +207 -6
  305. package/dist/loader.js +2 -2
  306. package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
  307. package/dist/model/box-plot-model/box-plot-model.d.ts +7 -1
  308. package/dist/model/chart-model/chart-model.d.ts +2 -1
  309. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +8 -5
  310. package/dist/model/heat-chart-model/heat-chart-model.d.ts +44 -2
  311. package/dist/model/interfaces/common.d.ts +0 -2
  312. package/dist/model/mixins/model-with-line-marker-styling.d.ts +6 -5
  313. package/dist/model/mixins/model-with-multi-axes.d.ts +62 -99
  314. package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -0
  315. package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
  316. package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
  317. package/dist/model/properties/rotated-state.d.ts +1 -1
  318. package/dist/model/properties/rounded-corners.d.ts +18 -0
  319. package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
  320. package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
  321. package/dist/model/shared/type-guards.d.ts +16 -2
  322. package/dist/spec/chart-object-literals.d.ts +1 -0
  323. package/dist/spec/data-source.d.ts +15 -3
  324. package/dist/spec/rest-js-object-literals.d.ts +2 -2
  325. package/dist/spec/rest-js-types.d.ts +22 -8
  326. package/dist/spec/web-chart.d.ts +42 -6
  327. package/dist/utils/chart-config/converter/index.js +198 -179
  328. package/dist/utils/chart-config/utils/index.d.ts +54 -4
  329. package/dist/utils/chart-config/validator/index.d.ts +1 -0
  330. package/dist/utils/chart-config/validator/interfaces.d.ts +3 -3
  331. package/dist/utils/cursor/interfaces.d.ts +21 -0
  332. package/dist/utils/data/categorical-data/index.d.ts +2 -2
  333. package/dist/utils/data/index.d.ts +14 -10
  334. package/dist/utils/data/interfaces.d.ts +4 -3
  335. package/dist/utils/defaults/index.d.ts +16 -4
  336. package/dist/utils/defaults/interfaces.d.ts +7 -2
  337. package/dist/utils/errors/index.d.ts +1 -1
  338. package/dist/utils/layer/index.d.ts +5 -3
  339. package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
  340. package/dist/utils/layer/interfaces.d.ts +2 -1
  341. package/dist/utils/layer/query-features/index.d.ts +18 -1
  342. package/dist/utils/layer/query-parser/index.d.ts +5 -3
  343. package/dist/utils/misc/index.d.ts +2 -3
  344. package/dist/utils/type-guards/chart-types.d.ts +10 -0
  345. package/dist/utils/type-guards/series-types.d.ts +9 -2
  346. package/dist/utils/types/index.d.ts +1 -5
  347. package/package.json +7 -8
  348. package/dist/cdn/24RLLXS6.js +0 -2
  349. package/dist/cdn/2N4MK6FQ.js +0 -2
  350. package/dist/cdn/32FR66QO.js +0 -2
  351. package/dist/cdn/3EIVHDDK.js +0 -2
  352. package/dist/cdn/3NUNWPAR.js +0 -2
  353. package/dist/cdn/43ZHPVBB.js +0 -2
  354. package/dist/cdn/547RDEMV.js +0 -2
  355. package/dist/cdn/5YJNENER.js +0 -2
  356. package/dist/cdn/6AF2OTL6.js +0 -2
  357. package/dist/cdn/6CFIKYKR.js +0 -2
  358. package/dist/cdn/6GLTSMOR.js +0 -2
  359. package/dist/cdn/7EMCHGGV.js +0 -2
  360. package/dist/cdn/7OF2IANH.js +0 -2
  361. package/dist/cdn/7VN3A7S2.js +0 -2
  362. package/dist/cdn/7YWZG3ZS.js +0 -2
  363. package/dist/cdn/A5GIBV5W.js +0 -2
  364. package/dist/cdn/ADPDJISV.js +0 -2
  365. package/dist/cdn/B4KAJRUJ.js +0 -2
  366. package/dist/cdn/BBUPTHPL.js +0 -2
  367. package/dist/cdn/BBURKBKE.js +0 -2
  368. package/dist/cdn/BLZODYE2.js +0 -4
  369. package/dist/cdn/BO62KSB5.js +0 -2
  370. package/dist/cdn/C2FOUUEM.js +0 -2
  371. package/dist/cdn/CJPEW4LJ.js +0 -142
  372. package/dist/cdn/CVU3UPPF.js +0 -2
  373. package/dist/cdn/CZ5XRXCE.js +0 -2
  374. package/dist/cdn/D73VV2AZ.js +0 -2
  375. package/dist/cdn/DJACBOFO.js +0 -2
  376. package/dist/cdn/DPNTYHTH.js +0 -2
  377. package/dist/cdn/DZ72EIRH.js +0 -2
  378. package/dist/cdn/EGISZTGB.js +0 -2
  379. package/dist/cdn/EP34TF4L.js +0 -2
  380. package/dist/cdn/EZD3FBJU.js +0 -2
  381. package/dist/cdn/EZV7JSQJ.js +0 -2
  382. package/dist/cdn/FQT7V7QG.js +0 -2
  383. package/dist/cdn/G72TNKCS.js +0 -2
  384. package/dist/cdn/GQ5QBLRO.js +0 -2
  385. package/dist/cdn/HWJGWDU3.js +0 -2
  386. package/dist/cdn/HZR4NSZV.js +0 -2
  387. package/dist/cdn/ICFKKJWQ.js +0 -2
  388. package/dist/cdn/IWX5L226.js +0 -2
  389. package/dist/cdn/JNG6V7XC.js +0 -2
  390. package/dist/cdn/JNNB2DIA.js +0 -2
  391. package/dist/cdn/JS2KOBA2.js +0 -2
  392. package/dist/cdn/JTTJ455Y.js +0 -2
  393. package/dist/cdn/JWO5WVTZ.js +0 -2
  394. package/dist/cdn/K4WI2SGM.js +0 -2
  395. package/dist/cdn/KLHZFPYK.js +0 -2
  396. package/dist/cdn/KO7HQLGV.js +0 -2
  397. package/dist/cdn/L5AQ4I5T.js +0 -2
  398. package/dist/cdn/LC6CY2HW.js +0 -2
  399. package/dist/cdn/MBVTB42G.js +0 -2
  400. package/dist/cdn/MGEW6X3Y.js +0 -102
  401. package/dist/cdn/NSOZIR5F.js +0 -2
  402. package/dist/cdn/NTSTL3FK.js +0 -2
  403. package/dist/cdn/NZR4L5AA.js +0 -2
  404. package/dist/cdn/O5A25X5K.js +0 -2
  405. package/dist/cdn/OAAJ6CIN.js +0 -2
  406. package/dist/cdn/OGYY2Y22.js +0 -2
  407. package/dist/cdn/PAIRUVLU.js +0 -2
  408. package/dist/cdn/PRGFNLY7.js +0 -2
  409. package/dist/cdn/PROSIXIF.js +0 -2
  410. package/dist/cdn/Q5JDSPJA.js +0 -2
  411. package/dist/cdn/QJC3FDWG.js +0 -2
  412. package/dist/cdn/QRLILSSI.js +0 -2
  413. package/dist/cdn/QY53LXP2.js +0 -2
  414. package/dist/cdn/R75MHIRF.js +0 -2
  415. package/dist/cdn/RDA5NV6M.js +0 -2
  416. package/dist/cdn/RG3DO2OE.js +0 -2
  417. package/dist/cdn/RPNZL6AC.js +0 -2
  418. package/dist/cdn/S32NLOJ5.js +0 -2
  419. package/dist/cdn/SCAZDS2G.js +0 -2
  420. package/dist/cdn/SJGYHEMZ.js +0 -2
  421. package/dist/cdn/STU55UIS.js +0 -58
  422. package/dist/cdn/TCTQ4LMU.js +0 -2
  423. package/dist/cdn/TDHHWIIC.js +0 -2
  424. package/dist/cdn/TJMPLGQI.js +0 -2
  425. package/dist/cdn/TJMTF45U.js +0 -3
  426. package/dist/cdn/TW5DX7YP.js +0 -2
  427. package/dist/cdn/U67P6YAZ.js +0 -2
  428. package/dist/cdn/UZEMSOA2.js +0 -2
  429. package/dist/cdn/VBHQFV2H.js +0 -2
  430. package/dist/cdn/VFREVEVA.js +0 -2
  431. package/dist/cdn/VOTZAPI3.js +0 -2
  432. package/dist/cdn/VZTLODMQ.js +0 -2
  433. package/dist/cdn/W7X6L2OB.js +0 -127
  434. package/dist/cdn/WNKDEOFZ.js +0 -2
  435. package/dist/cdn/WPPMMVD5.js +0 -2
  436. package/dist/cdn/XCUXUZXY.js +0 -2
  437. package/dist/cdn/XG3WW5GG.js +0 -2
  438. package/dist/cdn/XJFVSX2E.js +0 -2
  439. package/dist/cdn/Y3CXVO2M.js +0 -2
  440. package/dist/cdn/YEZL5KRS.js +0 -2
  441. package/dist/cdn/YYK7SPXC.js +0 -2
  442. package/dist/chunks/bar-chart-series.js +0 -15
  443. package/dist/chunks/index6.js +0 -66
  444. package/dist/chunks/time-zone.js +0 -38
  445. package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
  446. /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
  447. /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
@@ -4,30 +4,18 @@ import type { WebChartLabelBehavior } from "../../spec/chart-object-literals.js"
4
4
  import type { ISimpleLineSymbol } from "../../spec/rest-js-types.js";
5
5
 
6
6
  export abstract class ModelWithMultiAxes extends ChartModel {
7
- /**
8
- * Cursor crosshair from the chart config.
9
- *
10
- * **Note:** To set the cursor crosshair for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
11
- */
7
+ /** Gets the cursor crosshair. */
12
8
  accessor cursorCrosshair: WebChartCursorCrosshair | undefined;
13
9
  /**
14
- * Visibility of the horizontal line of the cursor's crosshair.
10
+ * Gets the visibility of the horizontal line of the cursor's crosshair.
15
11
  * - If the cursor crosshair or its horizontal line visibility is not set, the default value of `false` will be returned.
16
- *
17
- * **Note:** To set the cursor crosshair horizontal line visibility for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
18
12
  */
19
13
  accessor cursorCrosshairHorizontalLineVisibility: boolean;
20
- /**
21
- * Style of the cursor's crosshair from the chart config.
22
- *
23
- * **Note:** To set the cursor crosshair style for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
24
- */
14
+ /** Gets the style of the cursor's crosshair. */
25
15
  accessor cursorCrosshairStyle: ISimpleLineSymbol | undefined;
26
16
  /**
27
- * Visibility of the vertical line of the cursor's crosshair.
17
+ * Gets the visibility of the vertical line of the cursor's crosshair.
28
18
  * - If the cursor crosshair or its vertical line visibility is not set, the default value of `false` will be returned.
29
- *
30
- * **Note:** To set the cursor crosshair vertical line visibility for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
31
19
  */
32
20
  accessor cursorCrosshairVerticalLineVisibility: boolean;
33
21
  /** Generate the proper y-axis title from the current config. */
@@ -35,14 +23,13 @@ export abstract class ModelWithMultiAxes extends ChartModel {
35
23
  /**
36
24
  * Gets the visibility of the specified axis labels.
37
25
  *
38
- * @param axisIndex - axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
39
- * @returns {boolean}
26
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
40
27
  */
41
28
  getAxisLabelsVisibility(axisIndex: number): boolean;
42
29
  /**
43
30
  * Gets the scrollbar configuration for the specified axis.
44
31
  *
45
- * @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
32
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
46
33
  */
47
34
  getAxisScrollbar(axisIndex: number): WebChartAxisScrollBar | undefined;
48
35
  /**
@@ -54,54 +41,50 @@ export abstract class ModelWithMultiAxes extends ChartModel {
54
41
  /**
55
42
  * Gets the title text of the specified axis.
56
43
  *
57
- * @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
44
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
58
45
  */
59
46
  getAxisTitleText(axisIndex: number): string;
60
47
  /**
61
48
  * Gets the visibility of the specified axis title.
62
49
  *
63
- * @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
50
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
64
51
  */
65
52
  getAxisTitleVisibility(axisIndex: number): boolean;
66
53
  /**
67
54
  * Gets the value format for the specified axis.
68
55
  *
69
- * @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
56
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
70
57
  */
71
58
  getAxisValueFormat(axisIndex: number): CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions | undefined;
72
59
  /**
73
60
  * Gets the visibility of the specified axis.
74
61
  *
75
- * @param axisIndex - axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
76
- * @returns {boolean}
62
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
77
63
  */
78
64
  getAxisVisibility(axisIndex: number): boolean;
79
65
  /**
80
66
  * Gets the buffer setting for the specified axis.
81
- * - This setting is only applicable to the axis of type ValueAxis.
82
- * - To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
67
+ * - This setting is only applicable to the axis of type `ValueAxis`.
83
68
  * - If the `buffer` is not set on the axis, the default value of `false` will be returned.
84
69
  *
85
- * @param axisIndex - The index of the axis
70
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
86
71
  */
87
72
  getBuffer(axisIndex: number): boolean;
88
73
  /** Get the default x-axis title text. */
89
74
  getDefaultXAxisTitleText(): string;
90
75
  /**
91
76
  * Gets the display cursor tooltip setting for the specified axis.
92
- * - To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
93
- * - If the displayCursorTooltip is not set on the axis, the default value of `false` will be returned.
77
+ * - If `displayCursorTooltip` is not set on the axis, the default value of `false` will be returned.
94
78
  *
95
- * @param axisIndex - The index of the axis to get the display cursor tooltip for.
79
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
96
80
  */
97
81
  getDisplayCursorTooltip(axisIndex: number): boolean;
98
82
  /**
99
83
  * Gets the display zero line setting for the specified axis.
100
- * - This setting is only applicable to the axis of type ValueAxis.
101
- * - To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
102
- * - If the displayZeroLine is not set on the axis, the default value of `false` will be returned.
84
+ * - This setting is only applicable to the axis of type `ValueAxis`.
85
+ * - If the `displayZeroLine` is not set on the axis, the default value of `false` will be returned.
103
86
  *
104
- * @param axisIndex - The index of the axis to get the display zero line for.
87
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
105
88
  */
106
89
  getDisplayZeroLine(axisIndex: number): boolean;
107
90
  /** Gets the grid lines symbol. Contains styling information such as line width, line style, and line color. */
@@ -110,196 +93,176 @@ export abstract class ModelWithMultiAxes extends ChartModel {
110
93
  getHorizontalAxisLabelsBehavior(): WebChartLabelBehavior;
111
94
  /**
112
95
  * Gets the integer only values setting for the specified axis.
113
- * - This setting is only applicable to the axis of type ValueAxis.
114
- * - To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
96
+ * - This setting is only applicable to the axis of type `ValueAxis`.
115
97
  * - If the `integerOnlyValues` is not set on the axis, the default value of `false` will be returned.
116
98
  *
117
- * @param axisIndex - The index of the axis
99
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
118
100
  */
119
101
  getIntegerOnlyValues(axisIndex: number): boolean;
120
102
  /**
121
103
  * Gets whether logarithmic scale is enabled for the specified axis.
122
- * - `true`: Logarithmic scale is enabled for the specified axis.
123
- * - `false`: Logarithmic scale is disabled for the specified axis.
124
104
  *
125
- * @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
105
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
126
106
  */
127
107
  getLogarithmic(axisIndex: number): boolean;
128
108
  /**
129
109
  * Gets the maximum bound for the specified axis.
130
110
  *
131
- * @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
111
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
132
112
  */
133
113
  getMaxBound(axisIndex: number): number;
134
114
  /**
135
115
  * Gets the minimum bound for the specified axis.
136
116
  *
137
- * @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
117
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
138
118
  */
139
119
  getMinBound(axisIndex: number): number;
140
120
  /**
141
121
  * Gets the tick spacing setting for the specified axis.
142
- * - To get the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
143
122
  *
144
- * @param axisIndex - The index of the axis
123
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
145
124
  */
146
125
  getTickSpacing(axisIndex: number): number | undefined;
147
126
  /** Gets the vertical axis labels behavior for the chart. */
148
127
  getVerticalAxisLabelsBehavior(): WebChartLabelBehavior;
149
128
  /**
150
129
  * Sets the visibility of the specified axis labels.
151
- * **Note:** The labels visibility for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
152
130
  *
153
- * @param isVisible - isVisible The visibility state for the axis labels.
154
- * @param axisIndex - axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
131
+ * @param isVisible - The visibility state for the axis labels.
132
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
155
133
  */
156
134
  setAxisLabelsVisibility(isVisible: boolean, axisIndex: number): void;
157
135
  /**
158
136
  * Sets the scrollbar configuration for the specified axis.
159
- * **Note:** The scrollbar configuration for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
160
137
  *
161
138
  * @param scrollbar - The scrollbar configuration to set.
162
- * @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
139
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
163
140
  */
164
141
  setAxisScrollbar(scrollbar: WebChartAxisScrollBar, axisIndex: number): void;
165
142
  /**
166
143
  * Sets the title text symbol for the specified axis. Contains styling information such as font, color, and symbol style.
167
- * **Note:** The title text symbol for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
168
144
  *
169
145
  * @param titleSymbol - The title text symbol to set.
170
- * @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
146
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
171
147
  */
172
148
  setAxisTitleSymbol(titleSymbol: WebChartTextSymbol | undefined, axisIndex: number): void;
173
149
  /**
174
150
  * Sets the title text for the specified axis.
175
- * **Note:** The title text for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
176
151
  *
177
152
  * @param titleText - The title text for the axis.
178
- * @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
153
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
179
154
  */
180
155
  setAxisTitleText(titleText: string, axisIndex: number): void;
181
156
  /**
182
157
  * Sets the visibility of the specified axis title.
183
- * **Note:** The title visibility for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
184
158
  *
185
159
  * @param isVisible - The visibility state for the axis title.
186
- * @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
160
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
187
161
  */
188
162
  setAxisTitleVisibility(isVisible: boolean, axisIndex: number): void;
189
163
  /**
190
164
  * Sets the value format for the specified axis.
191
- * **Note:** The value format for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
192
165
  *
193
- * @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
166
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
194
167
  * @param valueFormat - The value format to set.
195
168
  */
196
169
  setAxisValueFormat(axisIndex: number, valueFormat?: CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions): void;
197
170
  /**
198
171
  * Sets the visibility of the specified axis.
199
- * **Note:** The visibility for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
200
172
  *
201
- * @param isVisible - isVisible The visibility state for the axis.
202
- * @param axisIndex - axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
173
+ * @param isVisible - The visibility state for the axis.
174
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
203
175
  */
204
176
  setAxisVisibility(isVisible: boolean, axisIndex: number): void;
205
177
  /**
206
178
  * Sets the buffer for the specified axis.
207
- * - This setting is only applicable to the axis of type ValueAxis.
208
- * - To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
209
- *
210
- * **Note:** To set the buffer for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
179
+ * - This setting is only applicable to the axis of type `ValueAxis`.
211
180
  *
212
- * @param buffer - The setting for the buffer
213
- * @param axisIndex - The index of the axis
181
+ * @param buffer - The setting for the buffer.
182
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
214
183
  */
215
184
  setBuffer(buffer: boolean, axisIndex: number): void;
216
185
  /**
217
186
  * Sets the display cursor tooltip setting for the specified axis.
218
- * - To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
219
- *
220
- * **Note:** To set the display cursor tooltip for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
221
187
  *
222
188
  * @param displayCursorTooltip - The display cursor tooltip setting for the axis.
223
- * @param axisIndex - The index of the axis to set the display cursor tooltip for.
189
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
224
190
  */
225
191
  setDisplayCursorTooltip(displayCursorTooltip: boolean, axisIndex: number): void;
226
192
  /**
227
193
  * Sets the display zero line setting for the specified axis.
228
- *
229
- * - This setting is only applicable to the axis of type ValueAxis.
230
- * - To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
231
- *
232
- * **Note:** To set the display zero line for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
194
+ * - This setting is only applicable to the axis of type `ValueAxis`.
233
195
  *
234
196
  * @param displayZeroLine - The display zero line setting for the axis.
235
- * @param axisIndex - The index of the axis to set the display zero line for.
197
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
236
198
  */
237
199
  setDisplayZeroLine(displayZeroLine: boolean, axisIndex: number): void;
238
200
  /**
239
201
  * Sets the grid lines symbol. Contains styling information such as line width, line style, and line color.
240
- * **Note:** To set the grid lines symbol for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
241
202
  *
242
203
  * @param linesSymbol - The grid lines symbol.
243
- * @param axisIndices - The indices of the axes to set the grid lines symbol for.
204
+ * @param axisIndices - The indices of the axes to set the grid lines symbol for. If omitted, the symbol is applied to all axes.
205
+ * @example
206
+ * ```ts
207
+ * // Set the grid lines symbol for all axes since `axisIndices` is omitted
208
+ * chartModel.setGridLinesSymbol(
209
+ * {
210
+ * type: "esriSLS",
211
+ * style: "esriSLSDashDot",
212
+ * color: [0, 0, 128, 255],
213
+ * width: 3,
214
+ * }
215
+ * );
216
+ * ```
217
+ *
218
+ * ![setGridLinesSymbol](https://developers.arcgis.com/javascript/latest/assets/references/components/chart/setGridLinesSymbol.avif)
219
+ * @see [Styling with charts model](https://developers.arcgis.com/javascript/latest/charts/features-and-capabilities/styling-and-theming/#styling-with-charts-model)
244
220
  */
245
221
  setGridLinesSymbol(linesSymbol: ISimpleLineSymbol | undefined, axisIndices?: number[]): void;
246
222
  /**
247
223
  * Sets the horizontal axis labels behavior for the chart.
248
- * **Note:** The horizontal axis labels behavior for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
249
224
  *
250
225
  * @param horizontalBehavior - The behavior for the horizontal axis labels.
251
226
  */
252
227
  setHorizontalAxisLabelsBehavior(horizontalBehavior: WebChartLabelBehavior): void;
253
228
  /**
254
229
  * Sets the integer only values setting for the specified axis.
255
- * - This setting is only applicable to the axis of type ValueAxis.
256
- * - To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
257
- *
258
- * **Note:** To set the integer only values for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
230
+ * - This setting is only applicable to the axis of type `ValueAxis`.
259
231
  *
260
- * @param integerOnlyValues - The boolean value to set for the integer only values setting
261
- * @param axisIndex - The index of the axis
232
+ * @param integerOnlyValues - The boolean value to set for the integer only values setting.
233
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
262
234
  */
263
235
  setIntegerOnlyValues(integerOnlyValues: boolean, axisIndex: number): void;
264
236
  /**
265
237
  * Sets whether logarithmic scale is enabled for the specified axis.
266
- * - `true`: Enable logarithmic scale for the specified axis.
267
- * - `false`: Disable logarithmic scale for the specified axis.
268
- *
269
- * **Note:** The logarithmic scale for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
270
238
  *
271
239
  * @param isLogarithmic - Whether to enable logarithmic scale for the specified axis.
272
- * @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
240
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
273
241
  */
274
242
  setLogarithmic(isLogarithmic: boolean, axisIndex: number): void;
275
243
  /**
276
244
  * Sets the maximum bound for the specified axis.
277
- * **Note:** The maximum bound for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
278
245
  *
279
246
  * @param newMaxBound - The value to set as the maximum bound.
280
- * @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
247
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
281
248
  */
282
249
  setMaxBound(newMaxBound: number | null, axisIndex: number): void;
283
250
  /**
284
251
  * Sets the minimum bound for the specified axis.
285
- * **Note:** The minimum bound for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
286
252
  *
287
253
  * @param newMinBound - The value to set as the minimum bound.
288
- * @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
254
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
289
255
  */
290
256
  setMinBound(newMinBound: number | null, axisIndex: number): void;
291
257
  /**
292
258
  * Sets the tick spacing for the specified axis.
293
- * - To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
294
- * **Note:** To set the tick spacing for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
295
259
  *
296
- * @param tickSpacing - The value to set for the tick spacing
297
- * @param axisIndex - The index of the axis
260
+ * @param tickSpacing - The value to set for the tick spacing.
261
+ * @param axisIndex - Axis index for the chart: `0` for x-axis, `1` for primary y-axis, and `2` for secondary y-axis.
298
262
  */
299
263
  setTickSpacing(tickSpacing: number, axisIndex: number): void;
300
264
  /**
301
265
  * Sets the vertical axis labels behavior for the chart.
302
- * **Note:** The vertical axis labels behavior for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
303
266
  *
304
267
  * @param verticalBehavior - The behavior for the vertical axis labels.
305
268
  */
@@ -75,6 +75,8 @@ export class PieChartModel extends PieChartModelSuperclass {
75
75
  *
76
76
  * `category` - The chart is using values from the category field to determine each slice.
77
77
  * `fields` - The chart is using aggregated values from the numeric fields to determine each slice.
78
+ *
79
+ * @deprecated since 5.2. Mode is inferred automatically from `category` and `numericFields`.
78
80
  */
79
81
  accessor mode: PieChartDataModes;
80
82
  /** Numeric fields for the pie chart. */
@@ -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
+ }
@@ -7,7 +7,7 @@ export abstract class WithRotatedState extends ChartModelBase {
7
7
  /**
8
8
  * Whether the chart is rotated.
9
9
  *
10
- * @deprecated since 5.1. Use `rotated` instead.
10
+ * @deprecated since 5.1. Use [rotated](https://developers.arcgis.com/javascript/latest/references/charts-components/model/properties/rotated-state/#rotated) instead.
11
11
  */
12
12
  accessor rotatedState: boolean;
13
13
  }
@@ -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
+ }