@arcgis/charts-components 4.34.0-next.74 → 4.34.0-next.76

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 (339) hide show
  1. package/dist/cdn/{PVAX72ZZ.js → 22URQFBW.js} +2 -2
  2. package/dist/cdn/{MZ7I2ID6.js → 2DPN753N.js} +2 -2
  3. package/dist/cdn/{T7LVGE2K.js → 2IB5OR34.js} +2 -2
  4. package/dist/cdn/{H5ZV32F7.js → 2NPBLW27.js} +2 -2
  5. package/dist/cdn/{5H643GEU.js → 2OPOPJXI.js} +1 -1
  6. package/dist/cdn/{CVHQU425.js → 2RON354F.js} +2 -2
  7. package/dist/cdn/{K6GQJ2N3.js → 2V2CK2AC.js} +2 -2
  8. package/dist/cdn/{QJB7BMPS.js → 3U4TOZWC.js} +2 -2
  9. package/dist/cdn/{GJY6ILOR.js → 3Z3XMR4O.js} +2 -2
  10. package/dist/cdn/{UAUQS2PI.js → 3ZGFZHKO.js} +2 -2
  11. package/dist/cdn/{KJB2DDIU.js → 3ZWYTB3L.js} +2 -2
  12. package/dist/cdn/{ETJVIEEF.js → 4OEOJFMF.js} +2 -2
  13. package/dist/cdn/{ANIA4B2B.js → 4P6RWYQL.js} +2 -2
  14. package/dist/cdn/{X4AVITGZ.js → 4PTL7ADL.js} +2 -2
  15. package/dist/cdn/{P5CBYNNO.js → 4YUNCAOS.js} +2 -2
  16. package/dist/cdn/{SUGMJZFF.js → 56GI67WX.js} +2 -2
  17. package/dist/cdn/{I5EWAZJM.js → 56HXWWU5.js} +2 -2
  18. package/dist/cdn/{VCN4C7FK.js → 5ARZEGTU.js} +2 -2
  19. package/dist/cdn/{7D2IJ7CM.js → 5JRUSSWO.js} +2 -2
  20. package/dist/cdn/{4RKWPA4U.js → 5MBZR3J5.js} +2 -2
  21. package/dist/cdn/{C55X26MG.js → 5QKK7GPH.js} +2 -2
  22. package/dist/cdn/{DD2DLCJY.js → 5SEJOK3X.js} +2 -2
  23. package/dist/cdn/{EH6BBDQ3.js → 5XX3TXJ7.js} +2 -2
  24. package/dist/cdn/{BM6C3NTB.js → 66TYDN2U.js} +2 -2
  25. package/dist/cdn/{DIYP6QER.js → 6DHMOVGQ.js} +2 -2
  26. package/dist/cdn/{R4TJKCYA.js → 6FFA35PU.js} +2 -2
  27. package/dist/cdn/{5QLSIOG7.js → 6FIAVPOD.js} +2 -2
  28. package/dist/cdn/{YNAVWOWL.js → 6GVZJE54.js} +2 -2
  29. package/dist/cdn/{LIRKPQOA.js → 74ZUJWS4.js} +2 -2
  30. package/dist/cdn/{JNWILNGA.js → 7AJM3GNR.js} +2 -2
  31. package/dist/cdn/{HGD2ROJR.js → 7NBJGT3P.js} +2 -2
  32. package/dist/cdn/{VO526MOA.js → 7NYQLU7U.js} +2 -2
  33. package/dist/cdn/{24OJYNSX.js → 7O3U6RSO.js} +2 -2
  34. package/dist/cdn/{7WSHZHKI.js → 7WHD6U2K.js} +18 -18
  35. package/dist/cdn/{RPP2QMHP.js → 7ZO4WSBC.js} +2 -2
  36. package/dist/cdn/{LRBJJCIM.js → A2ADVLYI.js} +2 -2
  37. package/dist/cdn/{SNGY3MBI.js → A3QWBJG3.js} +2 -2
  38. package/dist/cdn/{H44M75QJ.js → ADQT4KUV.js} +2 -2
  39. package/dist/cdn/{NGGJOGOC.js → AGPUEBZC.js} +2 -2
  40. package/dist/cdn/{OJVJA4E7.js → AIDGUROW.js} +2 -2
  41. package/dist/cdn/{D6YRDII4.js → AJESD2ZJ.js} +2 -2
  42. package/dist/cdn/{VOQJL6HP.js → ASHERAP5.js} +2 -2
  43. package/dist/cdn/{AZSQ7LAB.js → AVOJ6H3A.js} +2 -2
  44. package/dist/cdn/{5E544MOO.js → AYQMGT2Y.js} +2 -2
  45. package/dist/cdn/{3O4HECP6.js → B3Q6EOOS.js} +2 -2
  46. package/dist/cdn/{DCCKGXR4.js → BAIS6PYC.js} +2 -2
  47. package/dist/cdn/{SC6DCMVC.js → BHZJNRN2.js} +2 -2
  48. package/dist/cdn/{VB5FB7BN.js → BQLVCQBJ.js} +2 -2
  49. package/dist/cdn/{JKRCG5SX.js → BU2TZHWB.js} +2 -2
  50. package/dist/cdn/{JMPS6HJ3.js → BUW6O3XG.js} +2 -2
  51. package/dist/cdn/{J57IQRXO.js → BYWJBUUW.js} +2 -2
  52. package/dist/cdn/{WIYHCBBQ.js → C2ALKXBR.js} +2 -2
  53. package/dist/cdn/{6MKPJXW6.js → C6KKAL5X.js} +2 -2
  54. package/dist/cdn/{CQ7ZCNCL.js → CV4RM4F4.js} +2 -2
  55. package/dist/cdn/{QN2KG2TO.js → DEVPYAD4.js} +2 -2
  56. package/dist/cdn/{VFIVGV7E.js → DG3KP4NF.js} +2 -2
  57. package/dist/cdn/{4VIUDDLI.js → DIFLVFEF.js} +2 -2
  58. package/dist/cdn/{VFI7JNMA.js → DOGU7PRK.js} +2 -2
  59. package/dist/cdn/{YGKHU5CB.js → DQSVRJB3.js} +2 -2
  60. package/dist/cdn/{QD7ZIHSL.js → DRPJF7VS.js} +2 -2
  61. package/dist/cdn/{YHVWVJP4.js → EFB5WOIY.js} +2 -2
  62. package/dist/cdn/{RTKVBMON.js → EICZWIYN.js} +2 -2
  63. package/dist/cdn/{QVHLLGPA.js → EJZWOBUN.js} +2 -2
  64. package/dist/cdn/{UY43KDTN.js → EL4A6I7G.js} +2 -2
  65. package/dist/cdn/{ACUYDTBA.js → ESZD2L7V.js} +2 -2
  66. package/dist/cdn/{WQO5ZJAC.js → F4BW3CQU.js} +2 -2
  67. package/dist/cdn/{BADNVSVR.js → FIPJMLX4.js} +2 -2
  68. package/dist/cdn/{42W4OSQL.js → G2NRLG6N.js} +2 -2
  69. package/dist/cdn/{VKRUHZGL.js → GIQH5AQQ.js} +2 -2
  70. package/dist/cdn/{HRGREMTN.js → GQMY5WVJ.js} +2 -2
  71. package/dist/cdn/{VTXGNZIF.js → GRKYJP54.js} +2 -2
  72. package/dist/cdn/{YVETTNCJ.js → GS4VXNCQ.js} +2 -2
  73. package/dist/cdn/{QDBEMJMV.js → GU26LYB4.js} +1 -1
  74. package/dist/cdn/{I4BZJB6L.js → GXLWG6FO.js} +2 -2
  75. package/dist/cdn/{T65XQI3S.js → H2MFL422.js} +2 -2
  76. package/dist/cdn/{BZWTSZ6L.js → H33SN7UW.js} +2 -2
  77. package/dist/cdn/{WHCRAYPE.js → HEX44RQO.js} +2 -2
  78. package/dist/cdn/{J3PQZG2I.js → HGLLP7XB.js} +1 -1
  79. package/dist/cdn/{N5MZHKNS.js → HMFJFOUQ.js} +2 -2
  80. package/dist/cdn/{2ENGRIVK.js → HRDJJCW6.js} +2 -2
  81. package/dist/cdn/{DWHFH5XD.js → HUXB3K6K.js} +2 -2
  82. package/dist/cdn/{5H5RNLYV.js → HZGQVFEP.js} +1 -1
  83. package/dist/cdn/{RY3IZIF2.js → I4J66HXU.js} +2 -2
  84. package/dist/cdn/{QF6HTVFT.js → I6I7VCNH.js} +2 -2
  85. package/dist/cdn/{GGCJIECO.js → IATC7LX2.js} +2 -2
  86. package/dist/cdn/{KVHX7K5W.js → J2JKNCCV.js} +2 -2
  87. package/dist/cdn/{5JE35ZYG.js → J3PWWJ4E.js} +2 -2
  88. package/dist/cdn/{RNEDBCM5.js → JALQWZWN.js} +2 -2
  89. package/dist/cdn/{MZIQVK5L.js → JJFPRSFU.js} +2 -2
  90. package/dist/cdn/{YZOFFM4U.js → JQCIOJNO.js} +2 -2
  91. package/dist/cdn/{ZBDMKDUR.js → KFJARGD6.js} +2 -2
  92. package/dist/cdn/{CKOLPL7B.js → KMHIKHFT.js} +2 -2
  93. package/dist/cdn/{6RCEH5JD.js → KND6U7YI.js} +2 -2
  94. package/dist/cdn/{P5OBNOUP.js → KVRKXCW4.js} +2 -2
  95. package/dist/cdn/{FISU7JI5.js → KWXTL4VB.js} +2 -2
  96. package/dist/cdn/{GUM3IJNE.js → LFODBXOX.js} +2 -2
  97. package/dist/cdn/{H6A5ACU2.js → LYYTIH5A.js} +2 -2
  98. package/dist/cdn/{WJITDQGE.js → MVS3N3SV.js} +2 -2
  99. package/dist/cdn/{Q2EZQ36U.js → MYVCTWMR.js} +2 -2
  100. package/dist/cdn/{D7DV2VYB.js → N4JDUQKH.js} +2 -2
  101. package/dist/cdn/{5HNVIKEK.js → N7O3USWG.js} +2 -2
  102. package/dist/cdn/{YI42QREI.js → NENDPJV5.js} +2 -2
  103. package/dist/cdn/{RMU6OPZC.js → O7GGICSM.js} +1 -1
  104. package/dist/cdn/{WGKOWX6N.js → OHOYSUVH.js} +2 -2
  105. package/dist/cdn/{MOM3PNEW.js → P6EQ65UL.js} +2 -2
  106. package/dist/cdn/{QOMW5ZHJ.js → PCDXG734.js} +2 -2
  107. package/dist/cdn/{MFTTKS7F.js → POGPMXFJ.js} +2 -2
  108. package/dist/cdn/{67R7JANV.js → PR4F6F5Q.js} +2 -2
  109. package/dist/cdn/{XS33FPM7.js → PRPBAJ2H.js} +2 -2
  110. package/dist/cdn/{AD4VNDV2.js → Q7A5WXXA.js} +2 -2
  111. package/dist/cdn/{BQD6Q76B.js → QFH653K5.js} +2 -2
  112. package/dist/cdn/{YMTLKCIJ.js → QNYPI2Q7.js} +2 -2
  113. package/dist/cdn/{LOJGLWUB.js → QU5NA2EL.js} +2 -2
  114. package/dist/cdn/QY6M3RFV.js +4 -0
  115. package/dist/cdn/{X7FKUTNY.js → QZ2E3K4F.js} +2 -2
  116. package/dist/cdn/{E7CURYP2.js → QZ6A3HZM.js} +2 -2
  117. package/dist/cdn/{JZKOOCT6.js → QZCLD3TH.js} +2 -2
  118. package/dist/cdn/{BI54TFOO.js → R4QA4VWH.js} +2 -2
  119. package/dist/cdn/{YOQZZ3AV.js → RA2KSKLM.js} +2 -2
  120. package/dist/cdn/{BXSRLQ7L.js → RFSRBJXM.js} +2 -2
  121. package/dist/cdn/{KBTJVBSP.js → RIRZBSZT.js} +2 -2
  122. package/dist/cdn/{FMYYNJFD.js → RJKK54MW.js} +2 -2
  123. package/dist/cdn/{XTZTUM52.js → RJVXHRCG.js} +1 -1
  124. package/dist/cdn/{NUVQCMWU.js → RM4ETYCR.js} +2 -2
  125. package/dist/cdn/{I5A7PL67.js → S76252O5.js} +2 -2
  126. package/dist/cdn/{MJMKDLF6.js → SD6AC5GZ.js} +1 -1
  127. package/dist/cdn/{BHCJU3SL.js → SIC42CIE.js} +2 -2
  128. package/dist/cdn/{FCJWO2VI.js → SJT5DQQU.js} +2 -2
  129. package/dist/cdn/{4WEBMKEA.js → SLTYMY62.js} +2 -2
  130. package/dist/cdn/{EDTUUUYA.js → SPLCAIHG.js} +2 -2
  131. package/dist/cdn/{D3KVIS4M.js → SPYE5QIT.js} +2 -2
  132. package/dist/cdn/{AZLYVSMA.js → SQLTONC4.js} +2 -2
  133. package/dist/cdn/{ZV2X75WO.js → SR7WSDO5.js} +1 -1
  134. package/dist/cdn/{UQDLWUMO.js → STYH2NWA.js} +2 -2
  135. package/dist/cdn/{DG64DT7O.js → SVBN6IFW.js} +2 -2
  136. package/dist/cdn/{DXHZFA6O.js → SYUYDUMX.js} +2 -2
  137. package/dist/cdn/{S5OPH53U.js → T3VMAMBI.js} +2 -2
  138. package/dist/cdn/{D6GQ4GIU.js → T7LOYX5Q.js} +2 -2
  139. package/dist/cdn/{2VJ2STZ7.js → TCBRDMPD.js} +2 -2
  140. package/dist/cdn/{HJLHBQXC.js → TM3JXAWL.js} +2 -2
  141. package/dist/cdn/{NUZNIS4R.js → TREGSTJT.js} +2 -2
  142. package/dist/cdn/{PSP3VEIZ.js → U3ZBA63V.js} +2 -2
  143. package/dist/cdn/{HKB6YMLW.js → U7NZJ3BR.js} +2 -2
  144. package/dist/cdn/{BFWFHZFZ.js → UAELVKBE.js} +2 -2
  145. package/dist/cdn/{DZKLEJAM.js → UKU6NB2E.js} +2 -2
  146. package/dist/cdn/{GMWAKYSM.js → UQRFWZWS.js} +2 -2
  147. package/dist/cdn/{YLJO5DN6.js → UTTLU4YU.js} +2 -2
  148. package/dist/cdn/{JR7YOISM.js → UXZO3J5Y.js} +2 -2
  149. package/dist/cdn/{HF4DSI2I.js → VAOKMO5P.js} +2 -2
  150. package/dist/cdn/{3GO7JEAZ.js → VEDMIEND.js} +2 -2
  151. package/dist/cdn/{DMR4SXPO.js → VREQJCYX.js} +2 -2
  152. package/dist/cdn/{SJ6ISTMI.js → VSFQ4FER.js} +2 -2
  153. package/dist/cdn/{WETSKYIC.js → W47RCC7F.js} +2 -2
  154. package/dist/cdn/{OLUATBKC.js → W66LEQWW.js} +2 -2
  155. package/dist/cdn/{HTBBLDBZ.js → W76R7PHE.js} +2 -2
  156. package/dist/cdn/{IFEPIVK7.js → WDJPTOW4.js} +2 -2
  157. package/dist/cdn/{GNR5MBPY.js → WEM3YRIG.js} +2 -2
  158. package/dist/cdn/{XEYY4YNU.js → WEPDWLTA.js} +2 -2
  159. package/dist/cdn/{2T52MQEJ.js → WF4RWW4K.js} +2 -2
  160. package/dist/cdn/{TCBTY4NK.js → WFPOK2B7.js} +2 -2
  161. package/dist/cdn/{RBKSM37Y.js → WKAU6ZZ5.js} +2 -2
  162. package/dist/cdn/{XWM4C4ZN.js → XIS3YPZD.js} +2 -2
  163. package/dist/cdn/{JWNJYBLL.js → XL7QOJ37.js} +2 -2
  164. package/dist/cdn/{7D4KRTY4.js → XQXIMEYQ.js} +1 -1
  165. package/dist/cdn/{KBPU33OV.js → XQZS7BR3.js} +2 -2
  166. package/dist/cdn/{YXN5ATBY.js → XX5V3I3L.js} +2 -2
  167. package/dist/cdn/{WQKWT2PW.js → XYQ6QMRR.js} +2 -2
  168. package/dist/cdn/{DAUFWSZH.js → Y4PNY4QX.js} +2 -2
  169. package/dist/cdn/{EYSTEYRU.js → Y5VXBHPN.js} +2 -2
  170. package/dist/cdn/{3TSEJIY7.js → YQBIPXP6.js} +2 -2
  171. package/dist/cdn/{7NC2OA24.js → YWP4JBWF.js} +2 -2
  172. package/dist/cdn/{2O6LO2EU.js → Z3BBX7VM.js} +2 -2
  173. package/dist/cdn/{GM4HXBYU.js → ZAE2NDZD.js} +2 -2
  174. package/dist/cdn/{GHQRWYVC.js → ZHCV3HLI.js} +2 -2
  175. package/dist/cdn/{OSZPPPLK.js → ZJ4442I2.js} +2 -2
  176. package/dist/cdn/{ZXNXTL5M.js → ZU2LQFDL.js} +2 -2
  177. package/dist/cdn/{XT5VEJ7M.js → ZYDLETB7.js} +2 -2
  178. package/dist/cdn/{KSUJQURY.js → ZYX44JLQ.js} +2 -2
  179. package/dist/cdn/index.js +2 -2
  180. package/dist/cdn/model.js +2 -2
  181. package/dist/chart-rendering/common/axes/index.d.ts +51 -0
  182. package/dist/chart-rendering/common/color-match/renderer-color-match/index.d.ts +98 -1
  183. package/dist/chart-rendering/common/config-utils/index.d.ts +49 -0
  184. package/dist/chart-rendering/common/data/box-plot/index.d.ts +116 -2
  185. package/dist/chart-rendering/common/data/histogram/index.d.ts +27 -1
  186. package/dist/chart-rendering/common/data/index.d.ts +13 -0
  187. package/dist/chart-rendering/common/data/scatter-plot/aggregation/index.d.ts +1 -1
  188. package/dist/chart-rendering/common/data/scatter-plot/trendline/index.d.ts +14 -0
  189. package/dist/chart-rendering/common/data/selection/filter/index.d.ts +22 -0
  190. package/dist/chart-rendering/common/data/utils/misc/index.d.ts +99 -3
  191. package/dist/chart-rendering/common/data/utils/query-parser/index.d.ts +35 -2
  192. package/dist/chart-rendering/common/data/utils/summarize-data/index.d.ts +135 -2
  193. package/dist/chart-rendering/common/events/index.d.ts +1 -1
  194. package/dist/chart-rendering/common/interfaces.d.ts +2 -2
  195. package/dist/chart-rendering/common/label/index.d.ts +20 -0
  196. package/dist/chart-rendering/common/selection/index.d.ts +25 -0
  197. package/dist/chart-rendering/next/chart-library-elements/axes/utils/axis-renderer/index.d.ts +11 -0
  198. package/dist/chart-rendering/next/chart-library-elements/series/bar-chart/index.d.ts +32 -0
  199. package/dist/chart-rendering/next/chart-library-elements/series/scatter-plot/index.d.ts +6 -6
  200. package/dist/chart-rendering/next/chart-library-elements/series/scatter-plot/size-policy/index.d.ts +19 -1
  201. package/dist/chart-rendering/next/chart-library-elements/series/utils/index.d.ts +12 -0
  202. package/dist/chart-rendering/next/chart-library-elements/tooltips/scatter-plot/index.d.ts +3 -3
  203. package/dist/chart-rendering/next/selection/apply/index.d.ts +17 -1
  204. package/dist/chart-rendering/next/utils/memory-storage/index.d.ts +18 -0
  205. package/dist/chart-rendering/stable/chart-library-elements/axes/gauge/index.d.ts +127 -2
  206. package/dist/chart-rendering/stable/chart-library-elements/axes/histogram/index.d.ts +11 -0
  207. package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-format/index.d.ts +19 -2
  208. package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-renderer/index.d.ts +73 -0
  209. package/dist/chart-rendering/stable/chart-library-elements/guides-and-ticks/index.d.ts +19 -1
  210. package/dist/chart-rendering/stable/chart-library-elements/label/utils/gauge/index.d.ts +32 -0
  211. package/dist/chart-rendering/stable/chart-library-elements/legends/index.d.ts +52 -3
  212. package/dist/chart-rendering/stable/chart-library-elements/legends/pie-chart/index.d.ts +19 -0
  213. package/dist/chart-rendering/stable/chart-library-elements/scrollbar/index.d.ts +14 -0
  214. package/dist/chart-rendering/stable/chart-library-elements/series/box-plot/index.d.ts +51 -1
  215. package/dist/chart-rendering/stable/chart-library-elements/series/line-chart/index.d.ts +12 -0
  216. package/dist/chart-rendering/stable/chart-library-elements/series/pie-chart/index.d.ts +26 -1
  217. package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/size-policy/index.d.ts +20 -1
  218. package/dist/chart-rendering/stable/chart-library-elements/series/utils/index.d.ts +17 -0
  219. package/dist/chart-rendering/stable/chart-library-elements/tooltips/scatter-plot/index.d.ts +2 -2
  220. package/dist/chart-rendering/stable/index.d.ts +39 -2
  221. package/dist/chart-rendering/stable/selection/apply/index.d.ts +24 -1
  222. package/dist/chart-rendering/stable/selection/switch/index.d.ts +1 -1
  223. package/dist/chart-rendering/stable/utils/error-modal/index.d.ts +11 -0
  224. package/dist/chart-rendering/stable/utils/memory-storage/index.d.ts +21 -0
  225. package/dist/chart-rendering/stable/utils/misc/index.d.ts +1 -1
  226. package/dist/chunks/action-bar-utils.js +1 -1
  227. package/dist/chunks/axis-model-wrapper.js +1 -1
  228. package/dist/chunks/bar-chart-model.js +1 -1
  229. package/dist/chunks/bar-chart-series.js +1 -1
  230. package/dist/chunks/baseline-stacking.js +1 -1
  231. package/dist/chunks/bg_BG.js +1 -1
  232. package/dist/chunks/bg_BG2.js +1 -1
  233. package/dist/chunks/box-plot-data.js +1 -1
  234. package/dist/chunks/box-plot-model.js +1 -1
  235. package/dist/chunks/chart-ui-utils.js +1 -1
  236. package/dist/chunks/chart-ui-utils2.js +1 -1
  237. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  238. package/dist/chunks/common.js +1 -1
  239. package/dist/chunks/data.js +1 -1
  240. package/dist/chunks/default.js +1 -1
  241. package/dist/chunks/gauge-model.js +1 -1
  242. package/dist/chunks/histogram-data.js +1 -1
  243. package/dist/chunks/histogram-model.js +1 -1
  244. package/dist/chunks/index.js +1 -1
  245. package/dist/chunks/index2.js +1 -1
  246. package/dist/chunks/index3.js +1 -1
  247. package/dist/chunks/index4.js +1 -1
  248. package/dist/chunks/interfaces.js +6 -6
  249. package/dist/chunks/interfaces2.js +1 -1
  250. package/dist/chunks/line-chart-model.js +1 -1
  251. package/dist/chunks/model-with-baseline-stacking.js +1 -1
  252. package/dist/chunks/model-with-data-labels.js +1 -1
  253. package/dist/chunks/model-with-rotation.js +1 -1
  254. package/dist/chunks/model-with-y-guides.js +1 -1
  255. package/dist/chunks/pie-chart-data.js +1 -1
  256. package/dist/chunks/pie-chart-model.js +1 -1
  257. package/dist/chunks/popover-ui-utils.js +1 -1
  258. package/dist/chunks/radar-chart-model.js +1 -1
  259. package/dist/chunks/resource.js +1 -1
  260. package/dist/chunks/runtime.js +1 -1
  261. package/dist/chunks/scatterplot-model.js +7 -7
  262. package/dist/chunks/serial-chart-model.js +1 -1
  263. package/dist/chunks/series-types.js +1 -1
  264. package/dist/chunks/series.js +1 -1
  265. package/dist/chunks/setup-utils.js +1 -1
  266. package/dist/chunks/sk_SK.js +1 -1
  267. package/dist/chunks/store.js +1 -1
  268. package/dist/chunks/type-guards.js +1 -1
  269. package/dist/chunks/useT9n.js +1 -1
  270. package/dist/chunks/web-component-utils.js +1 -1
  271. package/dist/components/arcgis-chart/customElement.d.ts +1 -1
  272. package/dist/components/arcgis-chart/customElement.js +1504 -1491
  273. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  274. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  275. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  276. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  277. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  278. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  279. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  280. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  281. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  282. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  283. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  284. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  285. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  286. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  287. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  288. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  289. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  290. package/dist/components/arcgis-charts-config-create-flow/customElement.d.ts +1 -1
  291. package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
  292. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  293. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  294. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  295. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  296. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  297. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  298. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  299. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  300. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  301. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  302. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
  303. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  304. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  305. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  306. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  307. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  308. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  309. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  310. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  311. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  312. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  313. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  314. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  315. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  316. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  317. package/dist/components/arcgis-charts-config-scatter-plot/customElement.d.ts +2 -2
  318. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  319. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.d.ts +3 -3
  320. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  321. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  322. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  323. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  324. package/dist/docs/api.json +3 -3
  325. package/dist/docs/docs.json +3 -3
  326. package/dist/docs/web-types.json +1 -1
  327. package/dist/index.js +1 -1
  328. package/dist/loader.js +1 -1
  329. package/dist/model/scatterplot-model/scatterplot-model.d.ts +6 -6
  330. package/dist/model/scatterplot-model/utils/scatterplot-data.d.ts +18 -18
  331. package/dist/model.js +1 -1
  332. package/dist/store.d.ts +1 -1
  333. package/dist/test/chart-rendering/test-utils/utils.d.ts +0 -9
  334. package/dist/utils/defaults/index.d.ts +1 -1
  335. package/dist/utils/misc/index.d.ts +2 -2
  336. package/dist/utils/misc/interfaces.d.ts +1 -1
  337. package/dist/utils/types/index.d.ts +1 -1
  338. package/package.json +4 -4
  339. package/dist/cdn/WTEG5H4G.js +0 -4
@@ -40,6 +40,21 @@ export declare function generateTruncationCallback(characterLimit?: number | nul
40
40
  * @param value The value containing the brackets to escape
41
41
  */
42
42
  export declare function escapeBrackets(value: string): string;
43
+ /**
44
+ * Generate a `CSS` styling string displaying the `font-style` property
45
+ *
46
+ * @param fontStyle The font style
47
+ * @param format Describes the expected output format
48
+ */
49
+ declare function mapFontStyle(fontStyle?: string, format?: "amChartsV4" | "amChartsV5" | "html"): string;
50
+ /**
51
+ * Map ITextSymbol's `kerning` property to letter-spacing
52
+ * See MDN's SVG [letter-kerning](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/letter-spacing)
53
+ *
54
+ * @param kerning Whether to enable kerning
55
+ * @param format Describes the expected output format
56
+ */
57
+ declare function mapKerning(kerning?: boolean, format?: "amChartsV4" | "amChartsV5" | "html"): string;
43
58
  /**
44
59
  * Attaches inline css styling to a string.
45
60
  * The output format depends on the props.type:
@@ -68,3 +83,8 @@ export declare function attachInlineCSS(props: {
68
83
  * @param input The input string to transform
69
84
  */
70
85
  export declare function kebabize(input?: string): string | undefined;
86
+ export declare const commonLabelPrivateFunctions: {
87
+ mapFontStyle: typeof mapFontStyle;
88
+ mapKerning: typeof mapKerning;
89
+ };
90
+ export {};
@@ -1,6 +1,27 @@
1
1
  import { WebChartBin, WebChartDataItem, WebChartTypes } from '@arcgis/charts-spec';
2
2
  import { ChartSubType } from '../../../utils';
3
3
  import { ChartOptions } from '../interfaces';
4
+ /**
5
+ * This function helps matching a list of selection data with a specific box plot element (candle stick, marker) represented by its data context.
6
+ *
7
+ * @param props.elementDataContext The data context to test upon the selection items
8
+ * @param props.chartSubType The chart sub type
9
+ * @param props.layerOidField The layer Object Id
10
+ * @param props.xAxisField The x-axis field
11
+ * @param props.yAxisField The y-axis field
12
+ * @param props.splitBy The split-by clause (field = value)
13
+ * @param props.showOutliers Whether the outliers are shown on the chart
14
+ * @returns A predicate for Array.some to be used by `isElementPartOfSelection()`
15
+ */
16
+ declare function getBoxPlotSelectionPredicate(props: {
17
+ elementDataContext?: WebChartBin | WebChartDataItem;
18
+ chartSubType?: ChartSubType;
19
+ layerOidField?: string;
20
+ xAxisField?: string;
21
+ yAxisField?: string;
22
+ splitBy?: string;
23
+ showOutliers?: boolean;
24
+ }): ((oneSelectedItem: WebChartDataItem, selectedItemIndex: number) => boolean) | undefined;
4
25
  /**
5
26
  * Indicates whether a slice data context matches a selection data context
6
27
  *
@@ -44,3 +65,7 @@ export declare function getSelectedElementData(props: {
44
65
  showOutliers?: boolean;
45
66
  isFeatureCollectionLayer: boolean;
46
67
  }): WebChartDataItem;
68
+ export declare const commonSelectionPrivateFunctions: {
69
+ getBoxPlotSelectionPredicate: typeof getBoxPlotSelectionPredicate;
70
+ };
71
+ export {};
@@ -34,6 +34,13 @@ export declare function isHorizontalAxis(axisRenderer: AxisRenderer): boolean;
34
34
  * @param axisRenderer The renderer associated with the axis to check for.
35
35
  */
36
36
  export declare function isVerticalAxis(axisRenderer: AxisRenderer): boolean;
37
+ /**
38
+ * Determines whether the chart with stacked series contains negative values.
39
+ *
40
+ * @param chart The chart
41
+ * @returns boolean indicating if the chart data has negative values; true if it does, false otherwise
42
+ */
43
+ declare function isStackedSeriesWithNegativeValues(chart: XYChart): boolean;
37
44
  /**
38
45
  * Indicates whether the log scale is compatible with the data.
39
46
  *
@@ -157,3 +164,7 @@ export declare function disableAxisGhostLabel(axis: Axis<AxisRenderer>): void;
157
164
  * @param chart The chart
158
165
  */
159
166
  export declare function resetZoomToFullExtent(chart: SerialChart): void;
167
+ export declare const nextUtilsAxisRendererPrivateFunctions: {
168
+ isStackedSeriesWithNegativeValues: typeof isStackedSeriesWithNegativeValues;
169
+ };
170
+ export {};
@@ -1,4 +1,6 @@
1
1
  import { ColumnSeries } from '@amcharts/amcharts5/xy.js';
2
+ import { WebChart, WebChartGenericDataItem } from '@arcgis/charts-spec';
3
+ import { LoaderHandle } from '../../loading-indicator/interfaces';
2
4
  import { InitializeBarChartSeriesProps, UpdateBarChartSeriesProps } from './interfaces';
3
5
  /**
4
6
  * Initialize a bar chart series
@@ -6,6 +8,32 @@ import { InitializeBarChartSeriesProps, UpdateBarChartSeriesProps } from './inte
6
8
  * @param props
7
9
  */
8
10
  export declare function initializeBarChartSeries(props: InitializeBarChartSeriesProps): ColumnSeries;
11
+ /**
12
+ * Updates a bar chart series data
13
+ *
14
+ * @param props.columnSeries The column series
15
+ * @param props.data The chart data
16
+ * @param props.seriesIndex The series index
17
+ * @param props.chartConfig The chart configuration
18
+ * @param props.dataWasUpdated Whether the data was updated
19
+ * @param props.seriesWereReinitialized Whether the chart series were reinitialized before an update
20
+ * @param props.rotationChanged Whether the chart rotation changed
21
+ * @param props.timeZoneChanged Whether the time zone changed
22
+ * @param props.sortChanged Whether the sort changed
23
+ * @param props.loaderHandle The loader handle
24
+ */
25
+ declare function updateBarChartSeriesData(props: {
26
+ columnSeries: ColumnSeries;
27
+ data?: WebChartGenericDataItem;
28
+ seriesIndex: number;
29
+ chartConfig: WebChart;
30
+ dataWasUpdated?: boolean;
31
+ seriesWereReinitialized?: boolean;
32
+ rotationChanged?: boolean;
33
+ timeZoneChanged?: boolean;
34
+ sortChanged?: boolean;
35
+ loaderHandle: LoaderHandle;
36
+ }): void;
9
37
  /**
10
38
  * Updates a bar chart series
11
39
  *
@@ -27,3 +55,7 @@ export declare function initializeBarChartSeries(props: InitializeBarChartSeries
27
55
  * @param props.loaderHandle The loader handle
28
56
  */
29
57
  export declare function updateBarChartSeries(props: UpdateBarChartSeriesProps): void;
58
+ export declare const nextSeriesBarchartPrivateFunctions: {
59
+ updateBarChartSeriesData: typeof updateBarChartSeriesData;
60
+ };
61
+ export {};
@@ -2,21 +2,21 @@ import { SerialChart, Series } from '@amcharts/amcharts5';
2
2
  import { LineSeries } from '@amcharts/amcharts5/xy.js';
3
3
  import { InitializeScatterplotSeriesProps, UpdateScatterplotSeriesProps } from './interfaces';
4
4
  /**
5
- * Indicates whether the provided series instance is a scatter plot overlay series (trendline).
5
+ * Indicates whether the provided series instance is a scatterplot overlay series (trendline).
6
6
  *
7
7
  * @param series The series instance
8
8
  */
9
9
  export declare function isScatterplotOverlaySeries(series: Series): boolean;
10
10
  /**
11
- * Finds a scatter plot series amongst the chart's series. For now we handle only one marker series
12
- * per scatter plot so it will return the first it finds.
11
+ * Finds a scatterplot series amongst the chart's series. For now we handle only one marker series
12
+ * per scatterplot so it will return the first it finds.
13
13
  *
14
14
  * @param chart The chart
15
15
  */
16
16
  export declare function getScatterplotMarkerSeries(chart: SerialChart): Series | undefined;
17
17
  /**
18
- * Finds a scatter plot trend line series amongst the chart's series. For now we handle only one trend line series
19
- * per scatter plot so it will return the first it finds.
18
+ * Finds a scatterplot trend line series amongst the chart's series. For now we handle only one trend line series
19
+ * per scatterplot so it will return the first it finds.
20
20
  *
21
21
  * @param chart The chart
22
22
  */
@@ -28,7 +28,7 @@ export declare function getTrendLineSeries(chart: SerialChart): Series | undefin
28
28
  */
29
29
  export declare function initializeScatterplotSeries(props: InitializeScatterplotSeriesProps): LineSeries[];
30
30
  /**
31
- * Update the scatter plot series
31
+ * Update the scatterplot series
32
32
  *
33
33
  * @param props.root The root
34
34
  * @param props.chartConfig The chart configuration
@@ -1,9 +1,27 @@
1
1
  import { LineSeries } from '@amcharts/amcharts5/xy.js';
2
2
  import { WebChartScatterplotSeries } from '@arcgis/charts-spec';
3
3
  /**
4
- * Updates the series size policy, making the scatter plot a bubble plot
4
+ * Indicates whether the size policy changed from the previous update
5
+ *
6
+ * @param props.seriesConfig The scatterplot series config
7
+ * @param props.series The scatterplot series
8
+ * @param props.newMin The new min size
9
+ * @param props.newMax The new max size
10
+ */
11
+ declare function hasSizePolicyChanged(props: {
12
+ seriesConfig: WebChartScatterplotSeries;
13
+ series: LineSeries;
14
+ newMin: number;
15
+ newMax: number;
16
+ }): boolean;
17
+ /**
18
+ * Updates the series size policy, making the scatterplot a bubble plot
5
19
  *
6
20
  * @param seriesConfig The series config
7
21
  * @param series The chart series
8
22
  */
9
23
  export declare function updateSizePolicy(seriesConfig: WebChartScatterplotSeries, series: LineSeries): void;
24
+ export declare const nextScatterPlotSizePolicyPrivateFunctions: {
25
+ hasSizePolicyChanged: typeof hasSizePolicyChanged;
26
+ };
27
+ export {};
@@ -109,6 +109,14 @@ export declare function getAxes(props: {
109
109
  * @param series - the series to set the accessibility features
110
110
  */
111
111
  export declare function setAccessibilityFeatures(series: Series): void;
112
+ /**
113
+ * Indicates whether the scatterplot series need to be reinitialized.
114
+ * It returns true when the field name changed. The other properties (policy type and min/max values) don't require a reinit.
115
+ *
116
+ * @param chart The chart
117
+ * @param chartConfig The chart's config
118
+ */
119
+ declare function isInitializingScatterplotSeriesNeeded(chart: XYChart, chartConfig: WebChart): boolean;
112
120
  /**
113
121
  * Indicates whether the series need to be reinitialized.
114
122
  *
@@ -164,3 +172,7 @@ export declare function hideOutOfTheContainerMarker(bulletSprite: Graphics, mark
164
172
  * @returns
165
173
  */
166
174
  export declare function hasColorMatchBeenApplied(chart: Chart, chartConfig?: WebChart): boolean;
175
+ export declare const nextSeriesUtilsPrivateFunctions: {
176
+ isInitializingScatterplotSeriesNeeded: typeof isInitializingScatterplotSeriesNeeded;
177
+ };
178
+ export {};
@@ -3,7 +3,7 @@ import { LineSeries } from '@amcharts/amcharts5/xy.js';
3
3
  import { WebChartScatterplotSeries } from '@arcgis/charts-spec';
4
4
  import { ScatterplotTooltipProps } from './interfaces';
5
5
  /**
6
- * Adds the html code to the tooltip associated to the scatter plot bullets
6
+ * Adds the html code to the tooltip associated to the scatterplot bullets
7
7
  *
8
8
  * @param seriesConfig The series config
9
9
  * @param markerSeries the line series parent of the element
@@ -15,14 +15,14 @@ export declare function scatterplotTooltipContentCallback(props: {
15
15
  tooltip: Sprite | Tooltip;
16
16
  }): string | undefined;
17
17
  /**
18
- * Initializes the tooltip associated to the markers on a scatter plot
18
+ * Initializes the tooltip associated to the markers on a scatterplot
19
19
  *
20
20
  * @param element The bullet element which has the tooltip on it
21
21
  * @param markerSeries The series on which to initialize the tooltip
22
22
  */
23
23
  export declare function initializeScatterplotTooltip(element: Template<Graphics>, markerSeries: LineSeries): void;
24
24
  /**
25
- * Updates/initializes the tooltip for a Sprite marker in Scatter Plot.
25
+ * Updates/initializes the tooltip for a Sprite marker in scatterplot.
26
26
  *
27
27
  * @param props.axesConfig The axes config
28
28
  * @param props.seriesConfig The series config
@@ -1,8 +1,20 @@
1
1
  import { SerialChart } from '@amcharts/amcharts5';
2
- import { WebChart, WebChartDataTypes, WebGaugeChart } from '@arcgis/charts-spec';
2
+ import { WebChart, WebChartDataTypes, WebGaugeChart, WebChartTypes } from '@arcgis/charts-spec';
3
3
  import { ErrorStrings, QueryObject, SelectionSource } from '../../../../utils';
4
4
  import { ChartOptions } from '../../../common/interfaces';
5
5
  import { ApplySelectionOnSeriesProps } from './interfaces';
6
+ /**
7
+ * Checks whether a selection has been applied to all the series from a chart
8
+ *
9
+ * @param props.chart The chart
10
+ * @param props.chartType The chart type
11
+ * @param props.showMean Whether the mean lines are shown on the box plot
12
+ */
13
+ declare function whetherSelectionAppliedToAllTheSeries(props: {
14
+ chart: SerialChart;
15
+ chartType?: WebChartTypes;
16
+ showMean?: boolean;
17
+ }): boolean;
6
18
  /**
7
19
  * Apply a selection on a specific series
8
20
  *
@@ -36,3 +48,7 @@ export declare function applySelectionOnChart(props: {
36
48
  * @param selectionSource The source of the selection
37
49
  */
38
50
  export declare function finalizeSelection(chart: SerialChart, selectionSource: SelectionSource): Promise<void>;
51
+ export declare const nextSelectionApplyPrivateFunctions: {
52
+ whetherSelectionAppliedToAllTheSeries: typeof whetherSelectionAppliedToAllTheSeries;
53
+ };
54
+ export {};
@@ -19,6 +19,20 @@ export declare function getValueFromLegendStorage<T>(storageKey: number, propert
19
19
  * @param informationToStore An object containing the properties to update. It will append and replace the existing ones for the given storage key and id.
20
20
  */
21
21
  export declare function updateLegendStorage(storageKey: number, informationToStore: AllStorageTypes): void;
22
+ /**
23
+ * Updates a specific storage
24
+ *
25
+ * @param storageKey The key to update (chart id, label id...)
26
+ * @param informationToStore An object containing the properties to update. It will append and replace the existing ones for the given storage key and id.
27
+ */
28
+ declare function updateStorage(storageKey: number, informationToStore: AllStorageTypes): void;
29
+ /**
30
+ * Retrieves a property from a specific storage
31
+ *
32
+ * @param storageKey The key to update (chart id, label id...)
33
+ * @param propertyName The property to retrieve
34
+ */
35
+ declare function getValueFromStorage<T>(storageKey: number, propertyName: AllStorageKeys): T | undefined;
22
36
  /**
23
37
  * Retrieves a cursor property from a specific storage
24
38
  *
@@ -117,4 +131,8 @@ export declare function getValueFromGuideStorage<T>(storageKey: number, property
117
131
  * @param informationToStore An object containing the properties to update. It will append and replace the existing ones for the given storage key and id.
118
132
  */
119
133
  export declare function updateGuideStorage(storageKey: number, informationToStore: StorageType["guide"]): void;
134
+ export declare const nextUtilsMemoryStoragePrivateFunctions: {
135
+ updateStorage: typeof updateStorage;
136
+ getValueFromStorage: typeof getValueFromStorage;
137
+ };
120
138
  export {};
@@ -1,7 +1,99 @@
1
- import { GaugeChart } from '@amcharts/amcharts4/charts.js';
1
+ import { ILocale } from '@amcharts/amcharts4/.internal/core/utils/Language.js';
2
+ import { Axis, AxisRendererCircular, ClockHand, GaugeChart, ValueAxis } from '@amcharts/amcharts4/charts.js';
2
3
  import { ErrorStrings, QueryObject, UtilsStrings } from '../../../../../utils';
3
- import { WebChartAxis, WebChartDataItem, WebGaugeChart } from '@arcgis/charts-spec';
4
+ import { NumberFormatOptions, WebChartAxis, WebChartDataItem, WebChartGaugeAxis, WebChartNeedle, WebChartText, WebChartTextSymbol, WebGaugeChart } from '@arcgis/charts-spec';
4
5
  import { AxisLabelFormatCallback, GaugeInnerLabelFormatCallback } from '../../../../common/interfaces';
6
+ declare function initializeAxisNeedle(chart: GaugeChart): ClockHand;
7
+ /**
8
+ * Retrieves the value to display on the gauge. It will use either the one provided by the data, or the
9
+ * one already displayed.
10
+ */
11
+ declare function getGaugeValue(props: {
12
+ chart: GaugeChart;
13
+ x?: string;
14
+ data?: WebChartDataItem[];
15
+ valueFormat: NumberFormatOptions;
16
+ minimum?: number | null;
17
+ maximum?: number | null;
18
+ }): number | null | undefined;
19
+ declare function updateAxisNeedle(props: {
20
+ chart: GaugeChart;
21
+ needle?: WebChartNeedle;
22
+ gaugeValue?: number | null;
23
+ }): void;
24
+ declare function initializeAxisInnerLabel(chart: GaugeChart): void;
25
+ declare function updateAxisInnerLabel(props: {
26
+ chart: GaugeChart;
27
+ innerLabelConfig?: WebChartText;
28
+ valueFormat: NumberFormatOptions;
29
+ gaugeInnerLabelFormatter?: GaugeInnerLabelFormatCallback;
30
+ gaugeValue?: number | null;
31
+ }): void;
32
+ /**
33
+ * Creates ticks (with and without a label) based on the input parameters.
34
+ * This function also removes existing ones before creating new ones,
35
+ * and slightly adjusts the value of the last tick, if needed.
36
+ *
37
+ * @param props.axis The axis of which the ticks and labels are to be created
38
+ * @param props.min The min value for the first tick
39
+ * @param props.max The max value for the last tick
40
+ * @param props.labelsIncrement The label increment
41
+ * @param props.numberOfIntervals The number of intervals (space between 2 axis tick labels)
42
+ * @param props.valueFormat The number format of the axis
43
+ */
44
+ declare function createGaugeTicksAndLabels(props: {
45
+ axis: ValueAxis<AxisRendererCircular>;
46
+ min: number;
47
+ max: number;
48
+ labelsIncrement: number;
49
+ numberOfIntervals: number;
50
+ valueFormat: NumberFormatOptions;
51
+ }): void;
52
+ declare function updateGaugeAxisLabels(props: {
53
+ chart: GaugeChart;
54
+ axis: Axis<AxisRendererCircular>;
55
+ onlyShowFirstAndLastLabels: boolean;
56
+ valueFormat: NumberFormatOptions;
57
+ axisLabelConfigContent?: WebChartText;
58
+ axisValueFormatter?: AxisLabelFormatCallback;
59
+ }): void;
60
+ declare function updateGaugeTicks(axis: Axis<AxisRendererCircular>, axisConfig?: WebChartGaugeAxis): void;
61
+ /**
62
+ * Updates the axis labels' visibility.
63
+ *
64
+ * Note: the visibility is based on two properties from the axis config:
65
+ * - labels' `visible`
66
+ * - `onlyShowFirstAndLastLabels`
67
+ *
68
+ * @param axis the axis
69
+ * @param axisConfig the axis config
70
+ */
71
+ declare function updateLabelsVisibility(axis: Axis<AxisRendererCircular>, axisConfig: WebChartGaugeAxis): void;
72
+ /**
73
+ * Handles the "first and last labels" feature. If the option is enabled, we add guides at the chart's extremities and
74
+ * set labels on them to display the axis min and max.
75
+ *
76
+ * @param axisConfig
77
+ */
78
+ declare function initializeFirstAndLastLabels(axisConfig: WebChartGaugeAxis): void;
79
+ /**
80
+ * Adjusts the first and last labels position. They are currently created as guide labels, so we access them through
81
+ * the axis guides, to set a dx and dy adapter on them.
82
+ *
83
+ * Note: this function needs to be called after `updateAxis()` as we need the guides to be created on the axis first.
84
+ *
85
+ * @param axis
86
+ */
87
+ declare function adjustFirstAndLastLabelsPosition(axis: Axis<AxisRendererCircular>): void;
88
+ /** Apply the axis labels styling and the desired format to the first and last labels. */
89
+ declare function updateFirstAndLastLabels(props: {
90
+ chart: GaugeChart;
91
+ axis: Axis<AxisRendererCircular>;
92
+ onlyShowFirstAndLastLabels: boolean;
93
+ valueFormat: NumberFormatOptions;
94
+ gaugeLabelConfigContent?: WebChartText;
95
+ axisValueFormatter?: AxisLabelFormatCallback;
96
+ }): void;
5
97
  /**
6
98
  * Initializes the gauge axis
7
99
  *
@@ -9,6 +101,22 @@ import { AxisLabelFormatCallback, GaugeInnerLabelFormatCallback } from '../../..
9
101
  * @param valueFormat The axis value format
10
102
  */
11
103
  export declare function initializeGaugeAxis(chart: GaugeChart, valueFormat: WebChartAxis["valueFormat"]): void;
104
+ declare function getInnerLabelHTMLValue(props: {
105
+ valueFormat: NumberFormatOptions;
106
+ iLocale: ILocale;
107
+ formatLocale?: string;
108
+ gaugeValue?: number | null;
109
+ innerLabelConfigContent?: WebChartTextSymbol;
110
+ gaugeInnerLabelFormatter?: GaugeInnerLabelFormatCallback;
111
+ }): string;
112
+ declare function getGaugeLabelHTMLValue(props: {
113
+ valueFormat: NumberFormatOptions;
114
+ iLocale: ILocale;
115
+ formatLocale?: string;
116
+ itemLabelValue?: number | null;
117
+ gaugeLabelConfigContent?: WebChartTextSymbol;
118
+ axisValueFormatter?: AxisLabelFormatCallback;
119
+ }): string;
12
120
  /**
13
121
  * Updates a gauge axis based on the configuration.
14
122
  * The data is used to update the needle position and inner label value.
@@ -32,3 +140,20 @@ export declare function updateGaugeAxis(props: {
32
140
  utilsStrings: UtilsStrings;
33
141
  errorStrings: ErrorStrings;
34
142
  }): Promise<void>;
143
+ export declare const axesGaugePrivateFunctions: {
144
+ initializeFirstAndLastLabels: typeof initializeFirstAndLastLabels;
145
+ getGaugeLabelHTMLValue: typeof getGaugeLabelHTMLValue;
146
+ updateFirstAndLastLabels: typeof updateFirstAndLastLabels;
147
+ adjustFirstAndLastLabelsPosition: typeof adjustFirstAndLastLabelsPosition;
148
+ initializeAxisNeedle: typeof initializeAxisNeedle;
149
+ getGaugeValue: typeof getGaugeValue;
150
+ updateAxisNeedle: typeof updateAxisNeedle;
151
+ initializeAxisInnerLabel: typeof initializeAxisInnerLabel;
152
+ updateAxisInnerLabel: typeof updateAxisInnerLabel;
153
+ getInnerLabelHTMLValue: typeof getInnerLabelHTMLValue;
154
+ createGaugeTicksAndLabels: typeof createGaugeTicksAndLabels;
155
+ updateGaugeTicks: typeof updateGaugeTicks;
156
+ updateGaugeAxisLabels: typeof updateGaugeAxisLabels;
157
+ updateLabelsVisibility: typeof updateLabelsVisibility;
158
+ };
159
+ export {};
@@ -1,4 +1,11 @@
1
+ import { AxisDataItem } from '@amcharts/amcharts4/charts.js';
1
2
  import { InitializeHistogramAxesProps, UpdateHistogramAxesProps } from './interfaces';
3
+ /**
4
+ * Finds the width from the longest label
5
+ *
6
+ * @param axisTicks Array of ticks with labels
7
+ */
8
+ declare function getLongestLabelWidth(axisTicks: AxisDataItem[]): number;
2
9
  export declare function initializeHistogramAxes(props: InitializeHistogramAxesProps): void;
3
10
  /**
4
11
  * Function to update the horizontal and vertical axes of the histogram
@@ -10,3 +17,7 @@ export declare function initializeHistogramAxes(props: InitializeHistogramAxesPr
10
17
  * @param props
11
18
  */
12
19
  export declare function updateHistogramAxes(props: UpdateHistogramAxesProps): Promise<void>;
20
+ export declare const axesHistogramPrivateFunctions: {
21
+ getLongestLabelWidth: typeof getLongestLabelWidth;
22
+ };
23
+ export {};
@@ -1,7 +1,7 @@
1
- import { Axis, PieChart, CategoryAxis, ValueAxis, XYChart } from '@amcharts/amcharts4/charts.js';
1
+ import { Axis, PieChart, CategoryAxis, DateAxis, ValueAxis, XYChart } from '@amcharts/amcharts4/charts.js';
2
2
  import { DataItem } from '@amcharts/amcharts4/core.js';
3
3
  import { ErrorStrings } from '../../../../../../utils';
4
- import { WebChartAxis, WebChartTextSymbol, WebChartTypes } from '@arcgis/charts-spec';
4
+ import { DateTimeFormatOptions, WebChartAxis, WebChartTextSymbol, WebChartTypes } from '@arcgis/charts-spec';
5
5
  import { AxisLabelFormatCallback } from '../../../../../common/interfaces';
6
6
  /**
7
7
  * Returns true if the input chart is a XYChart and uses a date axis
@@ -47,6 +47,19 @@ export declare function categoryAxisFormatterCallback(props: {
47
47
  * @param axis The axis on which to assign set the label formatter
48
48
  */
49
49
  export declare function initializeAxisFormatter(axis: Axis): void;
50
+ /**
51
+ * Updates an adapter on a date axis labels that formats them according to either the config
52
+ * or a custom formatter passed when the chart is created or updated.
53
+ *
54
+ * @param props.axis is an instance of DateAxis
55
+ * @param props.formatOptions contains INTL.DateTimeFormat options info for formatting date-time
56
+ * @param props.axisValueFormatter custom label formatter
57
+ */
58
+ declare function updateDateAxisFormatter(props: {
59
+ axis: DateAxis;
60
+ formatOptions: DateTimeFormatOptions;
61
+ dateAxisFormatter?: AxisLabelFormatCallback;
62
+ }): void;
50
63
  /**
51
64
  * Updates the formatter used by the axis to render the labels.
52
65
  *
@@ -69,3 +82,7 @@ export declare function updateAxisFormat(props: {
69
82
  axisValueFormatter?: AxisLabelFormatCallback;
70
83
  errorStrings: ErrorStrings;
71
84
  }): Promise<void>;
85
+ export declare const utilsAxisformatPrivateFunctions: {
86
+ updateDateAxisFormatter: typeof updateDateAxisFormatter;
87
+ };
88
+ export {};
@@ -2,6 +2,7 @@ import { Axis, AxisRenderer, GaugeChart, XYSeries, XYChart } from '@amcharts/amc
2
2
  import { List } from '@amcharts/amcharts4/core.js';
3
3
  import { ErrorStrings, UtilsStrings } from '../../../../../../utils';
4
4
  import { TimeIntervalInfo, WebChart, WebChartAxis, WebChartLabelBehavior, WebChartStackedKinds, WebChartTypes } from '@arcgis/charts-spec';
5
+ import { getAxisSeriesIds } from '../../../../../common/axes';
5
6
  import { AxisLabelFormatCallback, GuideTooltipFormatCallback } from '../../../../../common/interfaces';
6
7
  /**
7
8
  * Resets the chart's axes zoom level to display the chart in full extent.
@@ -56,6 +57,59 @@ export declare function initializeXYChartAxes(props: {
56
57
  * @param isSecondValueAxis Whether the axis is the second value axis (in dual axis mode)
57
58
  */
58
59
  export declare function whetherLogScaleIsDataCompatible(axis: Axis, isSecondValueAxis?: boolean): boolean;
60
+ /**
61
+ * Activating the `logarithmic` property of the axis.
62
+ * Activated only on a value or date axis and according to the config property.
63
+ *
64
+ * @param props.axis The axis
65
+ * @param props.isLogarithmic Whether the axis should use a logarithmic scale
66
+ * @param props.isSecondValueAxis Whether the axis is the second value axis (in dual axis mode)
67
+ */
68
+ declare function updateAxisLogarithmic(props: {
69
+ axis: Axis;
70
+ isLogarithmic?: boolean;
71
+ isSecondValueAxis?: boolean;
72
+ }): void;
73
+ /**
74
+ * Indicates whether the `strictMinMax` option should be applied to the axis.
75
+ * Returns true only if:
76
+ * - the axis is a value axis
77
+ * - the axis config logarithmic scale is off, or is on with at least minimum or maximum value specified
78
+ * - the axis config buffer is not requested
79
+ *
80
+ * @param axis The axis
81
+ * @param axisConfig The axis config
82
+ * @returns
83
+ */
84
+ declare function shouldApplyStrictMinMax(axis: Axis, axisConfig?: WebChartAxis): boolean;
85
+ /**
86
+ * Activating the `strictMinMax` property of the axis.
87
+ * `strictMinMax` will remove any buffer around the data's extent, so the top/bottom of the highest/lowest bar or point will
88
+ * determine the axis max/min
89
+ * Activated when the axis is ValueAxis, when the logarithmic option is off (or on with at least the minimum or maximum value specified) and when the buffer option is true.
90
+ *
91
+ * @param axis The axis to apply the strictMinMax to
92
+ * @param axisConfig The axis config
93
+ */
94
+ declare function updateAxisStrictMinMax(axis: Axis, axisConfig?: WebChartAxis): boolean;
95
+ /**
96
+ * Calculates the minimum value to the nearest and lowest power of 10 for an axis when the axis is logarithmic
97
+ * For example,
98
+ * - if min = 5, we set the new min to 1
99
+ * - if min = 12, we set the new min to 10
100
+ * - if min = 55, we set the new min to 10
101
+ * - if min = 9999, we set the new min to 1,000
102
+ * - if min = 12345, we set the new min to 10,000
103
+ * - if min = 0.05, we set the new min to 0.01
104
+ * - if min = 0.0005, we set the new min to 0.0001
105
+ * The point is to force the axis to render nice rounded values, going 10, 100, 1,000...
106
+ * ...rather than something like 344.67, 3,446.7, 34,467...
107
+ *
108
+ * @param dataMinValue The minimum value from the data
109
+ * @returns The calculated minimum value if the input dataMinValue is greater than 0
110
+ * Otherwise, undefined
111
+ */
112
+ declare function getBestMinValueForAxisLogarithmic(dataMinValue: number): number | undefined;
59
113
  /**
60
114
  * Updates an axis min max properties.
61
115
  *
@@ -85,6 +139,16 @@ export declare function updateBaseInterval(props: {
85
139
  timeIntervalInfo?: TimeIntervalInfo;
86
140
  dateBaseInterval?: TimeIntervalInfo;
87
141
  }): void;
142
+ /**
143
+ * Indicates whether a series should be used to trigger the update of the axis min/max values.
144
+ * We are currently rejecting:
145
+ * - the overlays (trendline and histogram)
146
+ * - the box plot series that are not CandlestickSeries
147
+ *
148
+ * @param series The series instance
149
+ * @param chartType The chart type
150
+ */
151
+ declare function allowSeriesToUpdateAxisMinMax(series: XYSeries, chartType?: WebChartTypes): boolean;
88
152
  /**
89
153
  * When a series is shown or hidden (from the legend for instance), or when its data is updated, we want the value
90
154
  * axis bounds to be updated accordingly to the visible series only. When `strictMinMax` is set to `true`, amCharts
@@ -147,3 +211,12 @@ export declare function updateXYChartAxes(props: {
147
211
  utilsStrings: UtilsStrings;
148
212
  errorStrings: ErrorStrings;
149
213
  }): Promise<void>;
214
+ export declare const utilsAxisrendererPrivateFunctions: {
215
+ getBestMinValueForAxisLogarithmic: typeof getBestMinValueForAxisLogarithmic;
216
+ shouldApplyStrictMinMax: typeof shouldApplyStrictMinMax;
217
+ updateAxisStrictMinMax: typeof updateAxisStrictMinMax;
218
+ updateAxisLogarithmic: typeof updateAxisLogarithmic;
219
+ getAxisSeriesIds: typeof getAxisSeriesIds;
220
+ allowSeriesToUpdateAxisMinMax: typeof allowSeriesToUpdateAxisMinMax;
221
+ };
222
+ export {};
@@ -1,9 +1,23 @@
1
1
  import { Axis, AxisDataItem, AxisRenderer, AxisRendererCircular } from '@amcharts/amcharts4/charts.js';
2
2
  import { UtilsStrings } from '../../../../utils';
3
- import { WebChartGuide } from '@arcgis/charts-spec';
3
+ import { WebChartGuide, WebChartAxisTypes } from '@arcgis/charts-spec';
4
4
  import { AxisDataItemType } from '../../../common/guides-and-ticks';
5
5
  import { GuideTooltipFormatCallback } from '../../../common/interfaces';
6
6
  import { UpdateTicksProps } from './interfaces';
7
+ /**
8
+ * Return the guide input value. If the input string represents a percentage value, calculate and return the equivalent decimal value.
9
+ *
10
+ * @param props.inputValue the input value
11
+ * @param props.axisType the type of axis.
12
+ * @param props.axisMin the axis min value; required when guide's start and end values are input as percentage
13
+ * @param props.axisMax the axis max value; required when guide's start and end values are input as percentage
14
+ */
15
+ declare function convertGuideValue(props: {
16
+ inputValue: Date | number | string | null | undefined;
17
+ axisType: WebChartAxisTypes;
18
+ axisMin?: number;
19
+ axisMax?: number;
20
+ }): Date | number | string | null | undefined;
7
21
  /**
8
22
  * Retrieve the start and end values of the guide from the config. The process also tries to convert
9
23
  * the value accordingly (depending on whether it's a Date, Percentage, decimal, etc).
@@ -30,3 +44,7 @@ export declare function updateGuidesArray<T extends Axis>(props: {
30
44
  utilsStrings: UtilsStrings;
31
45
  }): void;
32
46
  export declare function updateTicksArray(props: UpdateTicksProps): void;
47
+ export declare const guidesAndTicksPrivateFunctions: {
48
+ convertGuideValue: typeof convertGuideValue;
49
+ };
50
+ export {};