@arcgis/charts-components 5.2.0-next.12 → 5.2.0-next.121
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.
- package/LICENSE.md +4 -2
- package/README.md +2 -2
- package/dist/cdn/{RIM4HLHN.js → 225VUGML.js} +3 -3
- package/dist/cdn/22GEDSID.js +2 -0
- package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/{XY4TRZCG.js → 25NQZWDJ.js} +1 -1
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/2DSJEDV6.js +2 -0
- package/dist/cdn/2IMGLB5P.js +2 -0
- package/dist/cdn/2MG6R4WZ.js +2 -0
- package/dist/cdn/346W6JSX.js +104 -0
- package/dist/cdn/3JFIDJNK.js +2 -0
- package/dist/cdn/{VY3KBD6N.js → 3LEJV2CC.js} +1 -1
- package/dist/cdn/3QIWL4Y6.js +2 -0
- package/dist/cdn/{QR2OOC4D.js → 4AGGUR7V.js} +1 -1
- package/dist/cdn/{YKDW7ZW3.js → 4BU5FKOK.js} +1 -1
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/{H3EXGCE7.js → 4EVQDXRQ.js} +1 -1
- package/dist/cdn/{Y6ZCTPJW.js → 4LVRKWF5.js} +1 -1
- package/dist/cdn/4UPY7IZR.js +2 -0
- package/dist/cdn/55HD5ASD.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/5NGZOXPZ.js +2 -0
- package/dist/cdn/5NRVL7NV.js +2 -0
- package/dist/cdn/5OKYID5L.js +2 -0
- package/dist/cdn/5S5FI5VM.js +2 -0
- package/dist/cdn/5SYHQWPP.js +2 -0
- package/dist/cdn/5VU34FMQ.js +2 -0
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/6BYOOUOD.js +2 -0
- package/dist/cdn/6ESJJXFR.js +2 -0
- package/dist/cdn/6IREEVIJ.js +2 -0
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/72NDGOVB.js +2 -0
- package/dist/cdn/73RZMSJU.js +2 -0
- package/dist/cdn/74GBWUON.js +2 -0
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/7CVC24HH.js +2 -0
- package/dist/cdn/7MZUUBLN.js +2 -0
- package/dist/cdn/{OXYJKZEP.js → 7O6SCTBS.js} +1 -1
- package/dist/cdn/{AQIB3VEP.js → 7TM4LYGN.js} +1 -1
- package/dist/cdn/{ANN3O54W.js → 7X5PS5MV.js} +1 -1
- package/dist/cdn/{IYA7HQMS.js → A45T4SGW.js} +1 -1
- package/dist/cdn/A5JPFNVL.js +4 -0
- package/dist/cdn/AAVHXU5D.js +2 -0
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/{3MKY6UCO.js → AOVXHBJK.js} +1 -1
- package/dist/cdn/{ZW4PF3UK.js → AYCQHDDV.js} +1 -1
- package/dist/cdn/{VDKFC44J.js → B2QGEILG.js} +1 -1
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/BPEDCIDB.js +2 -0
- package/dist/cdn/{7QXRWMUN.js → BXBWUGTG.js} +1 -1
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/CBSDCSFV.js +2 -0
- package/dist/cdn/CFMJKZLO.js +2 -0
- package/dist/cdn/{QNT6HTFC.js → CHBL4DXX.js} +1 -1
- package/dist/cdn/CR5FDXHH.js +2 -0
- package/dist/cdn/CSSKK7IZ.js +2 -0
- package/dist/cdn/CXWIF2KU.js +2 -0
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/D5DOFLCS.js +2 -0
- package/dist/cdn/{L47EGLUH.js → DEWO6MFE.js} +1 -1
- package/dist/cdn/DFR64RQY.js +2 -0
- package/dist/cdn/{ZBIVDGNH.js → EJZ6NU2N.js} +1 -1
- package/dist/cdn/{4OH4NSIW.js → ELQS5MAK.js} +1 -1
- package/dist/cdn/ELRXUJGD.js +2 -0
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/EWRTR7X6.js +2 -0
- package/dist/cdn/F5DTLXOB.js +2 -0
- package/dist/cdn/FUBHLZ4H.js +2 -0
- package/dist/cdn/FZVZ5MJE.js +2 -0
- package/dist/cdn/G5ND4PUZ.js +2 -0
- package/dist/cdn/GSF5JMAE.js +2 -0
- package/dist/cdn/GXCZ6WXB.js +2 -0
- package/dist/cdn/HDPGUTTH.js +2 -0
- package/dist/cdn/{3TZEMBXR.js → HJKWGAQO.js} +1 -1
- package/dist/cdn/{SSQ3VCZ2.js → HMQZNQ5T.js} +1 -1
- package/dist/cdn/{2XXW3WF3.js → HQN32N6X.js} +1 -1
- package/dist/cdn/HQO53B54.js +2 -0
- package/dist/cdn/{3JYZJUOM.js → HT7GYDUR.js} +1 -1
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/{RSNZMJ6I.js → I4GFM5GU.js} +1 -1
- package/dist/cdn/{X2LW7GTR.js → ICT3SVPI.js} +1 -1
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/{FOYOG3G7.js → IEX5F3HF.js} +1 -1
- package/dist/cdn/IGCN2436.js +2 -0
- package/dist/cdn/{LU5S2VRK.js → IGOJGDYE.js} +1 -1
- package/dist/cdn/INWA5VAO.js +2 -0
- package/dist/cdn/{WAINRCCJ.js → J6I76WI5.js} +1 -1
- package/dist/cdn/{5SIAOUPO.js → JEK42B7A.js} +1 -1
- package/dist/cdn/K3VIGXRU.js +45 -0
- package/dist/cdn/K7OSRGWZ.js +2 -0
- package/dist/cdn/KDIC74D5.js +2 -0
- package/dist/cdn/{SERX6V5M.js → KEL7OP2I.js} +1 -1
- package/dist/cdn/{XYKXBWIT.js → KLIDPT5L.js} +1 -1
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/{ULWJ57VT.js → KQVS655Z.js} +1 -1
- package/dist/cdn/KZSCAJDG.js +2 -0
- package/dist/cdn/L5JZ5COY.js +2 -0
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/LYOBJZHA.js +2 -0
- package/dist/cdn/MHHVGZZG.js +2 -0
- package/dist/cdn/MKCJDMSH.js +2 -0
- package/dist/cdn/{S7Z4HRW7.js → MQI4ZLAS.js} +1 -1
- package/dist/cdn/MV4GOTGG.js +2 -0
- package/dist/cdn/NE2LIVPM.js +2 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/O23HS34R.js +2 -0
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
- package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
- package/dist/cdn/ONW2IT27.js +2 -0
- package/dist/cdn/{VRZ2SY6M.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/{KL33ETQG.js → OVXUFZCS.js} +1 -1
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{KDJ5RVHA.js → P3AYFJRV.js} +1 -1
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/{XDMGH7YU.js → PN4ODOZS.js} +1 -1
- package/dist/cdn/PQDWXZQQ.js +2 -0
- package/dist/cdn/PWJBGZPW.js +2 -0
- package/dist/cdn/{UYXCGSXU.js → QFNEF7QI.js} +1 -1
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/QNW7XSUO.js +2 -0
- package/dist/cdn/QXDNKTZG.js +2 -0
- package/dist/cdn/QYRHZJH3.js +2 -0
- package/dist/cdn/{LROW4Y6O.js → RKBKWWDI.js} +1 -1
- package/dist/cdn/RPUEIRTH.js +2 -0
- package/dist/cdn/S6P4Y54X.js +2 -0
- package/dist/cdn/SAQBQSQJ.js +2 -0
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/{TFPQDMER.js → SXSCCW3M.js} +1 -1
- package/dist/cdn/{YBN53S4C.js → SZ5CW7OV.js} +1 -1
- package/dist/cdn/{JHANH4UG.js → SZYIWW3C.js} +1 -1
- package/dist/cdn/T34EUD7U.js +2 -0
- package/dist/cdn/{I6UPUSLQ.js → T6WRXCXQ.js} +1 -1
- package/dist/cdn/T7I3TS7D.js +2 -0
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/{AK7X7SGI.js → TENIFMA5.js} +1 -1
- package/dist/cdn/TOMROR3N.js +2 -0
- package/dist/cdn/{AASL4RKT.js → TOVGPC7A.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/{OEOAL6JO.js → UELAD6BI.js} +1 -1
- package/dist/cdn/UGLK7BBG.js +2 -0
- package/dist/cdn/UQ2QHPXB.js +2 -0
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/URI7A66F.js +2 -0
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/{MK5ZYSOD.js → UWACYGOL.js} +1 -1
- package/dist/cdn/V7YFMMPW.js +2 -0
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/{A636YSNA.js → VMHDTE3U.js} +1 -1
- package/dist/cdn/VTVZQCHN.js +2 -0
- package/dist/cdn/VWLVU22M.js +2 -0
- package/dist/cdn/{FWAXKDYV.js → W474T3B6.js} +1 -1
- package/dist/cdn/{GHLJNZ27.js → WAZUL35Q.js} +1 -1
- package/dist/cdn/WIIKUAWF.js +3 -0
- package/dist/cdn/WOGALV3T.js +2 -0
- package/dist/cdn/WSU3OSWJ.js +2 -0
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/WTMEWLUJ.js +2 -0
- package/dist/cdn/WVOXFKFO.js +2 -0
- package/dist/cdn/{OFWEHJDH.js → WWLSUSF5.js} +1 -1
- package/dist/cdn/X25OSCFT.js +2 -0
- package/dist/cdn/{N5ZUO6F3.js → XCDLEIMO.js} +1 -1
- package/dist/cdn/{S3ZSZXYG.js → XHHOY7RB.js} +1 -1
- package/dist/cdn/{LJDGLKFL.js → XXMGWWQ4.js} +1 -1
- package/dist/cdn/Y5TN6VKQ.js +3 -0
- package/dist/cdn/{N4L5KE23.js → Y6HBSZ2J.js} +1 -1
- package/dist/cdn/Y6NNKV6H.js +2 -0
- package/dist/cdn/Y6UMC7NU.js +2 -0
- package/dist/cdn/Y6WT7UDU.js +2 -0
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/{2OHFSVV5.js → YJDCSA4D.js} +1 -1
- package/dist/cdn/YQN5N3XC.js +2 -0
- package/dist/cdn/YWFQXN7J.js +2 -0
- package/dist/cdn/ZDDZVKMH.js +2 -0
- package/dist/cdn/ZDJAMFJK.js +2 -0
- package/dist/cdn/{BDGHBTPU.js → ZISYLA7O.js} +1 -1
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/ZMS2AX7K.js +2 -0
- package/dist/cdn/ZPZQIWBB.js +2 -0
- package/dist/cdn/ZTVR6KBG.js +2 -0
- package/dist/cdn/ZUVDEUDH.js +2 -0
- package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
- package/dist/cdn/assets/charts-config-general/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +105 -68
- package/dist/chunks/action-bar-utils.js +165 -0
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +46 -38
- package/dist/chunks/box-plot-data.js +291 -274
- package/dist/chunks/box-plot-model.js +143 -130
- package/dist/chunks/chart-model.js +65 -56
- package/dist/chunks/chart-object-literals.js +26 -25
- package/dist/chunks/chart-ui-utils.js +148 -66
- package/dist/chunks/chart-ui-utils2.js +68 -149
- package/dist/chunks/class-breaks.js +270 -238
- package/dist/chunks/combo-bar-line-chart-model.js +122 -101
- package/dist/chunks/data-labels-symbol.js +39 -24
- package/dist/chunks/data-labels-visibility.js +10 -10
- package/dist/chunks/data.js +42 -42
- package/dist/chunks/default.js +6 -6
- package/dist/chunks/gauge-model.js +61 -61
- package/dist/chunks/generate-x-axis-title.js +19 -15
- package/dist/chunks/heat-chart-model.js +95 -66
- package/dist/chunks/histogram-data.js +24 -24
- package/dist/chunks/histogram-model.js +10 -10
- package/dist/chunks/index.js +9531 -1079
- package/dist/chunks/index2.js +852 -8759
- package/dist/chunks/index3.js +1169 -849
- package/dist/chunks/index4.js +412 -251
- package/dist/chunks/index5.js +66 -100
- package/dist/chunks/interfaces.js +9 -9
- package/dist/chunks/line-chart-model.js +40 -24
- package/dist/chunks/model-setter.js +59 -64
- package/dist/chunks/model-types.js +1 -1
- package/dist/chunks/model-with-line-marker-styling.js +72 -47
- package/dist/chunks/model-with-x-guides.js +5 -5
- package/dist/chunks/model-with-y-guides.js +251 -271
- package/dist/chunks/negative-values-stacked-to-baseline.js +122 -71
- package/dist/chunks/pie-chart-data.js +169 -193
- package/dist/chunks/pie-chart-model.js +374 -319
- package/dist/chunks/radar-chart-model.js +413 -46
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +10 -10
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +90 -0
- package/dist/chunks/scatterplot-model.js +18 -18
- package/dist/chunks/serial-chart-data.js +959 -850
- package/dist/chunks/serial-chart-model.js +145 -123
- package/dist/chunks/series-length.js +17 -17
- package/dist/chunks/series-types.js +22 -18
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +49 -23
- package/dist/chunks/type-guards2.js +61 -52
- package/dist/chunks/utils.js +111 -88
- package/dist/chunks/utils2.js +54 -37
- package/dist/chunks/web-component-utils.js +413 -383
- package/dist/chunks/x-bounds.js +124 -117
- package/dist/components/arcgis-chart/customElement.d.ts +729 -257
- package/dist/components/arcgis-chart/customElement.js +11392 -11011
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +206 -13
- package/dist/components/arcgis-charts-action-bar/customElement.js +79 -64
- package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +39 -33
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +60 -55
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +43 -43
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +54 -53
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -12
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +31 -39
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +16 -13
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +48 -49
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +244 -230
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
- package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-format/customElement.js +91 -84
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +25 -26
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +64 -76
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +55 -55
- package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +28 -28
- package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +27 -27
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +44 -42
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +38 -38
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +49 -49
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +54 -53
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +67 -68
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +15 -15
- package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +17 -17
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +61 -29
- package/dist/components/arcgis-charts-info-modal/customElement.js +7 -7
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +491 -463
- package/dist/interfaces.d.ts +72 -14
- package/dist/json-schema/index.d.ts +155 -6
- package/dist/loader.js +5 -5
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +6 -4
- package/dist/model/box-plot-model/box-plot-model.d.ts +11 -5
- package/dist/model/chart-model/chart-model-base.d.ts +10 -0
- package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +33 -21
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
- package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
- package/dist/model/interfaces/common.d.ts +2 -2
- package/dist/model/mixins/model-with-guides.d.ts +3 -3
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +28 -19
- package/dist/model/mixins/model-with-multi-axes.d.ts +69 -106
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +59 -2
- package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
- package/dist/model/properties/rounded-corners.d.ts +18 -0
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
- package/dist/model/shared/setup-utils.d.ts +3 -3
- package/dist/model/shared/type-guards.d.ts +38 -22
- package/dist/spec/chart-object-literals.d.ts +4 -3
- package/dist/spec/data-source.d.ts +17 -3
- package/dist/spec/rest-js-types.d.ts +10 -2
- package/dist/spec/web-chart.d.ts +34 -4
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +4 -4
- package/dist/utils/chart-config/converter/index.d.ts +2 -3
- package/dist/utils/chart-config/converter/index.js +400 -380
- package/dist/utils/chart-config/utils/index.d.ts +28 -10
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +1 -0
- package/dist/utils/components/interfaces.d.ts +2 -0
- package/dist/utils/cursor/interfaces.d.ts +21 -0
- package/dist/utils/data/categorical-data/index.d.ts +18 -2
- package/dist/utils/data/index.d.ts +75 -23
- package/dist/utils/data/interfaces.d.ts +4 -3
- package/dist/utils/defaults/index.d.ts +32 -6
- package/dist/utils/defaults/interfaces.d.ts +73 -4
- package/dist/utils/layer/index.d.ts +24 -7
- package/dist/utils/layer/interfaces.d.ts +2 -15
- package/dist/utils/layer/query-features/index.d.ts +8 -3
- package/dist/utils/layer/query-parser/index.d.ts +10 -6
- package/dist/utils/layer/utils/index.d.ts +26 -9
- package/dist/utils/localization/interfaces.d.ts +9 -1
- package/dist/utils/misc/interfaces.d.ts +8 -7
- package/dist/utils/type-guards/chart-types.d.ts +10 -0
- package/dist/utils/type-guards/series-types.d.ts +9 -2
- package/package.json +8 -9
- package/dist/cdn/26ESJ72L.js +0 -2
- package/dist/cdn/2PFDGKA5.js +0 -2
- package/dist/cdn/3SBYV6BW.js +0 -2
- package/dist/cdn/3T4NYRGX.js +0 -2
- package/dist/cdn/3TBK72EK.js +0 -3
- package/dist/cdn/3UFVHYX5.js +0 -2
- package/dist/cdn/4LQHAOMY.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/5BADQJ64.js +0 -2
- package/dist/cdn/5F5N7ZZ6.js +0 -2
- package/dist/cdn/5PKMZMGG.js +0 -2
- package/dist/cdn/624WBDC3.js +0 -2
- package/dist/cdn/66GCPNDR.js +0 -2
- package/dist/cdn/6VVUN6AX.js +0 -2
- package/dist/cdn/73JQ2I2Q.js +0 -3
- package/dist/cdn/7HUD5SQI.js +0 -2
- package/dist/cdn/AIFWLINL.js +0 -2
- package/dist/cdn/AZY72Q7D.js +0 -2
- package/dist/cdn/BJYCLLJL.js +0 -2
- package/dist/cdn/BXJZ4YYQ.js +0 -2
- package/dist/cdn/CRCAJAFA.js +0 -2
- package/dist/cdn/CTE365PT.js +0 -2
- package/dist/cdn/CVF3NLTS.js +0 -2
- package/dist/cdn/DKRPN24O.js +0 -2
- package/dist/cdn/DL6PRHZT.js +0 -2
- package/dist/cdn/DOVGECFB.js +0 -2
- package/dist/cdn/DYNPQ2KT.js +0 -2
- package/dist/cdn/ECICE4SU.js +0 -2
- package/dist/cdn/EDSF5KGV.js +0 -233
- package/dist/cdn/EEFS6HU7.js +0 -2
- package/dist/cdn/EYF75TH5.js +0 -2
- package/dist/cdn/EYYQKOXI.js +0 -2
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/FFS73X36.js +0 -142
- package/dist/cdn/HQONJQEW.js +0 -2
- package/dist/cdn/IBKS2NZ3.js +0 -2
- package/dist/cdn/IDHDU3DJ.js +0 -2
- package/dist/cdn/IHHPUKGG.js +0 -2
- package/dist/cdn/IM5PHXV3.js +0 -2
- package/dist/cdn/ISSVKLHV.js +0 -2
- package/dist/cdn/IYP3GZSC.js +0 -2
- package/dist/cdn/J2HYDDIW.js +0 -2
- package/dist/cdn/J47CNZCT.js +0 -2
- package/dist/cdn/JKTF2L3L.js +0 -58
- package/dist/cdn/JLWDVTJW.js +0 -2
- package/dist/cdn/JQX5EJZV.js +0 -2
- package/dist/cdn/K2P5RSE5.js +0 -2
- package/dist/cdn/KJPXY6NE.js +0 -2
- package/dist/cdn/KUUBYC33.js +0 -2
- package/dist/cdn/KZTGYTHS.js +0 -2
- package/dist/cdn/LA7COTN7.js +0 -2
- package/dist/cdn/LL757OZ7.js +0 -2
- package/dist/cdn/MGMUUWSP.js +0 -2
- package/dist/cdn/MPSRB65O.js +0 -2
- package/dist/cdn/N5ZIF7M4.js +0 -2
- package/dist/cdn/NVEIMJJ7.js +0 -2
- package/dist/cdn/O363DXQ4.js +0 -102
- package/dist/cdn/O533LNDP.js +0 -2
- package/dist/cdn/ODWDODUY.js +0 -2
- package/dist/cdn/P4HSSZRL.js +0 -2
- package/dist/cdn/PAIRUVLU.js +0 -2
- package/dist/cdn/PGHVUDMJ.js +0 -2
- package/dist/cdn/PGWOWXHQ.js +0 -2
- package/dist/cdn/PIONRTCB.js +0 -2
- package/dist/cdn/QSBAOCG4.js +0 -2
- package/dist/cdn/QT3VTHUJ.js +0 -2
- package/dist/cdn/RJSCJBFO.js +0 -2
- package/dist/cdn/RMBD6ZSC.js +0 -2
- package/dist/cdn/RMHGA6AU.js +0 -2
- package/dist/cdn/S5EYODWJ.js +0 -2
- package/dist/cdn/SMCXHMTP.js +0 -2
- package/dist/cdn/SN2GPX3I.js +0 -2
- package/dist/cdn/SNMFJ4CN.js +0 -2
- package/dist/cdn/SOOQD5FC.js +0 -2
- package/dist/cdn/T2SFRF7I.js +0 -2
- package/dist/cdn/TCS4HOSG.js +0 -2
- package/dist/cdn/THTYR6IL.js +0 -2
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/U7TKKTUC.js +0 -2
- package/dist/cdn/V2UF2WVE.js +0 -2
- package/dist/cdn/VFUFK3UT.js +0 -2
- package/dist/cdn/VP42WLDX.js +0 -2
- package/dist/cdn/W4XQNHSD.js +0 -4
- package/dist/cdn/W55GZOYQ.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/WMXNQ5XH.js +0 -2
- package/dist/cdn/WNKDEOFZ.js +0 -2
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/cdn/WVV5DAII.js +0 -2
- package/dist/cdn/X5PNAE7T.js +0 -2
- package/dist/cdn/XJFVSX2E.js +0 -2
- package/dist/cdn/XRLVJJBT.js +0 -2
- package/dist/cdn/XUERYUEG.js +0 -2
- package/dist/cdn/Y3CXVO2M.js +0 -2
- package/dist/cdn/Y7HBWU3M.js +0 -2
- package/dist/cdn/YCJIOFQR.js +0 -2
- package/dist/cdn/Z2UG6CUL.js +0 -2
- package/dist/cdn/ZFK3D55V.js +0 -2
- package/dist/cdn/ZP22BN3G.js +0 -2
- package/dist/chunks/bar-chart-series.js +0 -15
- package/dist/chunks/index6.js +0 -66
- package/dist/chunks/time-zone.js +0 -38
- package/dist/chunks/type-guards3.js +0 -173
- package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
- /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
- /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
2
2
|
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
3
|
-
import type
|
|
4
|
-
import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
|
|
3
|
+
import type { ChartLayerInput } from "../../interfaces.js";
|
|
5
4
|
import type { WebChartDataItem, WebChartDataItemValue, WebChartDataTypes } from "../../spec/data-source.js";
|
|
6
5
|
import type { WebChart, WebChartDataFilters, WebChartPieChartSlice, WebGaugeChart } from "../../spec/web-chart.js";
|
|
7
6
|
import type { ActionModes, CursorRange } from "../../utils/cursor/interfaces.js";
|
|
@@ -12,10 +11,15 @@ export interface NotifyOptions {
|
|
|
12
11
|
closable?: boolean;
|
|
13
12
|
}
|
|
14
13
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Describes the signature of the callback function used to customize the pie chart data labels and tooltips.
|
|
16
|
+
*
|
|
17
|
+
* @param category
|
|
18
|
+
* @param value
|
|
19
|
+
* @param percent
|
|
20
|
+
* @param originalCategory
|
|
21
|
+
*/
|
|
22
|
+
export type PieChartLabelFormatCallback = (category: string, value?: number, percent?: number, originalCategory?: WebChartDataItemValue) => string;
|
|
19
23
|
|
|
20
24
|
/**
|
|
21
25
|
* Describes the signature of the callback function used to customize the pie chart legend value labels.
|
|
@@ -25,6 +29,33 @@ export interface GaugeMinMaxFromData {
|
|
|
25
29
|
*/
|
|
26
30
|
export type PieChartLegendValueLabelFormatCallback = (value?: number, percent?: number) => string;
|
|
27
31
|
|
|
32
|
+
/**
|
|
33
|
+
* Describes the signature of the callback function used to customize the histogram tooltips.
|
|
34
|
+
*
|
|
35
|
+
* @param count
|
|
36
|
+
* @param binMinValue
|
|
37
|
+
* @param binMaxValue
|
|
38
|
+
*/
|
|
39
|
+
export type HistogramLabelFormatCallback = (count: number, binMinValue: number, binMaxValue: number) => string;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Describes the signature of the callback function used to customize the scatterplot tooltips.
|
|
43
|
+
*
|
|
44
|
+
* @param x
|
|
45
|
+
* @param y
|
|
46
|
+
* @param sizePolicyValue
|
|
47
|
+
* @param dataContext
|
|
48
|
+
*/
|
|
49
|
+
export type ScatterplotLabelFormatCallback = (x: number, y: number, sizePolicyValue?: number, dataContext?: WebChartDataItem) => string;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Describes the signature of the callback function used to customize the bar and line chart data labels.
|
|
53
|
+
*
|
|
54
|
+
* @param statValue
|
|
55
|
+
* @param percent
|
|
56
|
+
*/
|
|
57
|
+
export type BarAndLineDataLabelFormatCallback = (statValue: number, percent?: number) => string;
|
|
58
|
+
|
|
28
59
|
/**
|
|
29
60
|
* Describes the signature of the callback function used to customize a guide's tooltip.
|
|
30
61
|
*
|
|
@@ -61,11 +92,21 @@ export type PreRenderCallback = (props: {
|
|
|
61
92
|
slices?: WebChartPieChartSlice[];
|
|
62
93
|
}) => Promise<WebChart | WebGaugeChart>;
|
|
63
94
|
|
|
95
|
+
export type TooltipFormatters = BarAndLineTooltipFormatCallback | BoxPlotTooltipFormatCallback | HistogramLabelFormatCallback | PieChartLabelFormatCallback | ScatterplotLabelFormatCallback;
|
|
96
|
+
|
|
64
97
|
/** JSON representation of the runtime chart options for the update or initialization. */
|
|
65
98
|
export interface ChartOptions {
|
|
66
|
-
/**
|
|
99
|
+
/**
|
|
100
|
+
* Whether to allow the object id to be used as a statistic other than `COUNT`.
|
|
101
|
+
*
|
|
102
|
+
* @deprecated since 5.2. Won't be replaced.
|
|
103
|
+
*/
|
|
67
104
|
allowUsingObjectIdStat?: boolean;
|
|
68
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Whether to consider a `null` statistic as valid.
|
|
107
|
+
*
|
|
108
|
+
* @deprecated since 5.2. Won't be replaced.
|
|
109
|
+
*/
|
|
69
110
|
nullAsValid?: boolean;
|
|
70
111
|
/**
|
|
71
112
|
* A property representing the selection to apply on the chart.
|
|
@@ -75,6 +116,10 @@ export interface ChartOptions {
|
|
|
75
116
|
* - `selectionData.selectionItems`: an array of data items representing a selection to apply to the chart.
|
|
76
117
|
*/
|
|
77
118
|
selectionData?: SelectionData;
|
|
119
|
+
/** Indicates if the selection by indexes changed. */
|
|
120
|
+
selectionByIndexesChanged?: boolean;
|
|
121
|
+
/** Indicates if the selection by items changed. */
|
|
122
|
+
selectionByItemsChanged?: boolean;
|
|
78
123
|
/**
|
|
79
124
|
* Indicates if the object ids need to be computed whenever a selection is made on or passed to the chart.
|
|
80
125
|
* Only considered for a data source using a feature layer.
|
|
@@ -89,6 +134,8 @@ export interface ChartOptions {
|
|
|
89
134
|
* - Data source using a feature layer compatible with envelope aggregation
|
|
90
135
|
*
|
|
91
136
|
* The extent (IExtent) is returned through the property [featuresExtentField](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/index/#featuresExtentField).
|
|
137
|
+
*
|
|
138
|
+
* @deprecated since 5.2. Won't be replaced.
|
|
92
139
|
*/
|
|
93
140
|
returnFeaturesExtent?: boolean;
|
|
94
141
|
/**
|
|
@@ -100,24 +147,33 @@ export interface ChartOptions {
|
|
|
100
147
|
/** Used to perform client-side queries. */
|
|
101
148
|
view?: MapView | SceneView;
|
|
102
149
|
/** Used to perform queries. */
|
|
103
|
-
layer?:
|
|
150
|
+
layer?: ChartLayerInput;
|
|
104
151
|
/** Enable filter by selection. */
|
|
105
152
|
filterBySelection?: boolean;
|
|
106
153
|
/**
|
|
107
154
|
* Re-initialize chart object if the chart object is disposed. Honored only during the update call.
|
|
108
155
|
*
|
|
156
|
+
* @deprecated since 5.2. Won't be replaced.
|
|
109
157
|
* @default true
|
|
110
158
|
*/
|
|
111
159
|
autoRecreateChart?: boolean;
|
|
112
160
|
/**
|
|
113
|
-
* Indicates whether to automatically
|
|
161
|
+
* Indicates whether to automatically adjust the data label text color for readability based on its background color.
|
|
114
162
|
*
|
|
115
|
-
* **Note**:
|
|
163
|
+
* **Note**: Applicable to heat charts only.
|
|
116
164
|
*/
|
|
117
165
|
autoInverseDataLabelTextColor?: boolean;
|
|
118
|
-
/**
|
|
166
|
+
/**
|
|
167
|
+
* Optional create message to be displayed in the chart container.
|
|
168
|
+
*
|
|
169
|
+
* @deprecated since 5.2. Won't be replaced.
|
|
170
|
+
*/
|
|
119
171
|
createMessage?: string;
|
|
120
|
-
/**
|
|
172
|
+
/**
|
|
173
|
+
* Used to hide the loader animation (curtain and spinner), showed by default at every update.
|
|
174
|
+
*
|
|
175
|
+
* @deprecated since 5.2. Won't be replaced.
|
|
176
|
+
*/
|
|
121
177
|
hideLoaderAnimation?: boolean;
|
|
122
178
|
/**
|
|
123
179
|
* Indicates whether to enable or disable interactions on the chart.
|
|
@@ -170,6 +226,7 @@ export interface ChartOptions {
|
|
|
170
226
|
* When data is retrieved from the server, the server excludes all features having a count of 0 from the response; hence resulting in missing entries on the charts.
|
|
171
227
|
* When this property is set to true, the dataset will keep these gaps instead of filling them with 0s.
|
|
172
228
|
*
|
|
229
|
+
* @deprecated since 5.2. Won't be replaced.
|
|
173
230
|
* @default false
|
|
174
231
|
*/
|
|
175
232
|
hideZeroCountCategories?: boolean;
|
|
@@ -182,12 +239,15 @@ export interface ChartOptions {
|
|
|
182
239
|
*/
|
|
183
240
|
chartLimits?: ChartElementLimit;
|
|
184
241
|
/**
|
|
185
|
-
*
|
|
186
|
-
*
|
|
187
|
-
* - `
|
|
188
|
-
* - `
|
|
189
|
-
* - `
|
|
190
|
-
* - `
|
|
242
|
+
* Specifies how user interactions on the chart are handled.
|
|
243
|
+
*
|
|
244
|
+
* - `monoSelection`: Select one data point or series at a time. Each new selection replaces the previous selection.
|
|
245
|
+
* - `multiSelection`: Select multiple data points or series. Each new selection is added to the existing selection.
|
|
246
|
+
* - `multiSelectionWithCtrlKey`: Select multiple data points or series only while holding Ctrl (or Cmd on macOS). Without the key, selection behaves like `monoSelection`.
|
|
247
|
+
* - `zoom`: Zoom into an area of the chart.
|
|
248
|
+
* - `none`: Disable interaction-driven selection and zoom actions.
|
|
249
|
+
*
|
|
250
|
+
* **Note**: Not applicable to gauges.
|
|
191
251
|
*/
|
|
192
252
|
actionMode?: ActionModes;
|
|
193
253
|
/**
|
|
@@ -205,10 +265,14 @@ export interface ChartOptions {
|
|
|
205
265
|
* This is used to support a selection workflow while the filter by extent mode is enabled.
|
|
206
266
|
*/
|
|
207
267
|
viewExtentUpdated?: boolean;
|
|
208
|
-
/**
|
|
268
|
+
/**
|
|
269
|
+
* Used to apply runtime filters to the chart's data while in Feature Layer mode.
|
|
270
|
+
*
|
|
271
|
+
* @deprecated since 5.2. Won't be replaced.
|
|
272
|
+
*/
|
|
209
273
|
runtimeDataFilters?: WebChartDataFilters;
|
|
210
274
|
/**
|
|
211
|
-
* This property will be effective when the component's `view` is provided or when the `layer` is set to a `
|
|
275
|
+
* This property will be effective when the component's `view` is provided or when the `layer` is set to a `ChartLayerView`.
|
|
212
276
|
* By default the queries made by the chart will consider the view's extent as the unique geometry filter applicable. This implies ignoring any
|
|
213
277
|
* geometry passed through the config (component.config.dataFilters) or the runtime filters (component.runtimeDataFilters).
|
|
214
278
|
* Setting this property to `false` signals the queries to ignore the view's extent, whether an additional geometry filter is provided or not.
|
|
@@ -255,19 +319,29 @@ export interface ChartOptions {
|
|
|
255
319
|
*
|
|
256
320
|
* Not applicable to gauge.
|
|
257
321
|
*
|
|
258
|
-
* @deprecated since 5.1. Use [
|
|
322
|
+
* @deprecated since 5.1. Use [legendInteractionsDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/chart-rendering/common/interfaces/#ChartOptions-legendInteractionsDisabled) instead.
|
|
259
323
|
*/
|
|
260
324
|
disableTogglingLegendItems?: boolean;
|
|
261
325
|
/**
|
|
262
326
|
* Used to disable the toggling of legend items for xy chart series, pie slices, histogram overlays, and scatterplot trend line.
|
|
263
327
|
*
|
|
264
|
-
*
|
|
328
|
+
* Only applicable to charts with multiple series and while the legend is displayed.
|
|
329
|
+
*
|
|
330
|
+
* @deprecated since 5.2. Use [legendInteractionsDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/chart-rendering/common/interfaces/#ChartOptions-legendInteractionsDisabled) instead.
|
|
265
331
|
*/
|
|
266
332
|
togglingLegendItemsDisabled?: boolean;
|
|
333
|
+
/**
|
|
334
|
+
* When `true`, disables the toggling of series or slices from the legend items. Clicking on the legend items will not hide or show the corresponding elements on the chart.
|
|
335
|
+
*
|
|
336
|
+
* **Note**: Only applicable to charts with multiple series and while the legend is displayed.
|
|
337
|
+
*/
|
|
338
|
+
legendInteractionsDisabled?: boolean;
|
|
267
339
|
/**
|
|
268
340
|
* Callback function executed after the data has been processed and before the chart renders.
|
|
269
341
|
* Can be used to alter the config from information extracted from the data for instance.
|
|
270
342
|
* Only applicable to pie chart and gauge.
|
|
343
|
+
*
|
|
344
|
+
* @deprecated since 5.2. Won't be replaced.
|
|
271
345
|
*/
|
|
272
346
|
chartWillRender?: PreRenderCallback;
|
|
273
347
|
/**
|
|
@@ -281,6 +355,8 @@ export interface ChartOptions {
|
|
|
281
355
|
/**
|
|
282
356
|
* Whether the chart considers the view's time zone (`timeZone`) and refreshes whenever it changes.
|
|
283
357
|
* **Note**: This applies to all temporal charts but heat chart which benefits automatically from the feature.
|
|
358
|
+
*
|
|
359
|
+
* @deprecated since 5.2. Won't be replaced.
|
|
284
360
|
*/
|
|
285
361
|
syncViewTimeZone?: boolean;
|
|
286
362
|
/**
|
|
@@ -298,41 +374,18 @@ export interface ChartOptions {
|
|
|
298
374
|
}
|
|
299
375
|
|
|
300
376
|
/**
|
|
301
|
-
* Describes the signature of the callback function used to customize the
|
|
302
|
-
*
|
|
303
|
-
* @param category
|
|
304
|
-
* @param value
|
|
305
|
-
* @param percent
|
|
306
|
-
* @param originalCategory
|
|
307
|
-
*/
|
|
308
|
-
export type PieChartLabelFormatCallback = (category: string, value?: number, percent?: number, originalCategory?: WebChartDataItemValue) => string;
|
|
309
|
-
|
|
310
|
-
/**
|
|
311
|
-
* Describes the signature of the callback function used to customize the histogram tooltips.
|
|
312
|
-
*
|
|
313
|
-
* @param count
|
|
314
|
-
* @param binMinValue
|
|
315
|
-
* @param binMaxValue
|
|
316
|
-
*/
|
|
317
|
-
export type HistogramLabelFormatCallback = (count: number, binMinValue: number, binMaxValue: number) => string;
|
|
318
|
-
|
|
319
|
-
/**
|
|
320
|
-
* Describes the signature of the callback function used to customize the scatterplot tooltips.
|
|
377
|
+
* Describes the signature of the callback function used to customize the bar and line chart plot tooltips.
|
|
321
378
|
*
|
|
322
|
-
* @param
|
|
323
|
-
* @param y
|
|
324
|
-
* @param sizePolicyValue
|
|
325
|
-
* @param dataContext
|
|
379
|
+
* @param props
|
|
326
380
|
*/
|
|
327
|
-
export type
|
|
381
|
+
export type BarAndLineTooltipFormatCallback = (props: BarAndLineTooltipFormatCallbackProps) => string;
|
|
328
382
|
|
|
329
383
|
/**
|
|
330
|
-
* Describes the signature of the callback function used to customize the
|
|
384
|
+
* Describes the signature of the callback function used to customize the box plot tooltips.
|
|
331
385
|
*
|
|
332
|
-
* @param
|
|
333
|
-
* @param percent
|
|
386
|
+
* @param props
|
|
334
387
|
*/
|
|
335
|
-
export type
|
|
388
|
+
export type BoxPlotTooltipFormatCallback = (props: BoxPlotTooltipFormatCallbackProps) => string;
|
|
336
389
|
|
|
337
390
|
export interface GuideTooltipFormatCallbackProps {
|
|
338
391
|
guideName: string;
|
|
@@ -341,22 +394,6 @@ export interface GuideTooltipFormatCallbackProps {
|
|
|
341
394
|
guideIndex: number;
|
|
342
395
|
}
|
|
343
396
|
|
|
344
|
-
export type TooltipFormatters = BarAndLineTooltipFormatCallback | BoxPlotTooltipFormatCallback | HistogramLabelFormatCallback | PieChartLabelFormatCallback | ScatterplotLabelFormatCallback;
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* Describes the signature of the callback function used to customize the bar and line chart plot tooltips.
|
|
348
|
-
*
|
|
349
|
-
* @param props
|
|
350
|
-
*/
|
|
351
|
-
export type BarAndLineTooltipFormatCallback = (props: BarAndLineTooltipFormatCallbackProps) => string;
|
|
352
|
-
|
|
353
|
-
/**
|
|
354
|
-
* Describes the signature of the callback function used to customize the box plot tooltips.
|
|
355
|
-
*
|
|
356
|
-
* @param props
|
|
357
|
-
*/
|
|
358
|
-
export type BoxPlotTooltipFormatCallback = (props: BoxPlotTooltipFormatCallbackProps) => string;
|
|
359
|
-
|
|
360
397
|
/** Describes the interface of the object passed to the callback function used to customize the bar and line chart tooltips. */
|
|
361
398
|
export interface BarAndLineTooltipFormatCallbackProps {
|
|
362
399
|
seriesName: string;
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { g as C } from "./series-types.js";
|
|
3
|
+
import { i as b } from "./rotated-state.js";
|
|
4
|
+
import { a as r } from "./chart-object-literals.js";
|
|
5
|
+
import { m as p, h as u, a as F, A as f } from "./index2.js";
|
|
6
|
+
import { D as e, c as o, A as n } from "./index5.js";
|
|
7
|
+
import { p as D } from "./index.js";
|
|
8
|
+
import { i as m } from "./index4.js";
|
|
9
|
+
import { i as v } from "./type-guards.js";
|
|
10
|
+
import { i as A, g as w } from "./type-guards2.js";
|
|
11
|
+
const V = [
|
|
12
|
+
e.EditChart,
|
|
13
|
+
e.Legend,
|
|
14
|
+
e.RotateChart,
|
|
15
|
+
e.FilterBySelection,
|
|
16
|
+
e.FilterByExtent,
|
|
17
|
+
e.Zoom,
|
|
18
|
+
e.Selection,
|
|
19
|
+
e.ClearSelection,
|
|
20
|
+
e.FullExtent,
|
|
21
|
+
e.SwitchSelection,
|
|
22
|
+
e.ExportAsCSV,
|
|
23
|
+
e.ExportAsImage
|
|
24
|
+
], I = [
|
|
25
|
+
e.EditChart,
|
|
26
|
+
e.Legend,
|
|
27
|
+
e.RotateChart,
|
|
28
|
+
e.FilterBySelection,
|
|
29
|
+
e.FilterByExtent,
|
|
30
|
+
e.Zoom,
|
|
31
|
+
e.Selection,
|
|
32
|
+
e.ClearSelection,
|
|
33
|
+
e.FullExtent,
|
|
34
|
+
e.SwitchSelection,
|
|
35
|
+
e.ExportAsImage,
|
|
36
|
+
e.ExportAsCSV
|
|
37
|
+
], L = [
|
|
38
|
+
e.EditChart,
|
|
39
|
+
e.Legend,
|
|
40
|
+
e.RotateChart,
|
|
41
|
+
e.FilterBySelection,
|
|
42
|
+
e.FilterByExtent,
|
|
43
|
+
e.Zoom,
|
|
44
|
+
e.Selection,
|
|
45
|
+
e.ClearSelection,
|
|
46
|
+
e.FullExtent,
|
|
47
|
+
e.SwitchSelection,
|
|
48
|
+
e.ExportAsImage,
|
|
49
|
+
e.ExportAsCSV
|
|
50
|
+
], T = [
|
|
51
|
+
e.EditChart,
|
|
52
|
+
e.Legend,
|
|
53
|
+
e.FilterBySelection,
|
|
54
|
+
e.FilterByExtent,
|
|
55
|
+
e.Selection,
|
|
56
|
+
e.ClearSelection,
|
|
57
|
+
e.SwitchSelection,
|
|
58
|
+
e.ExportAsImage,
|
|
59
|
+
e.ExportAsCSV
|
|
60
|
+
], M = [
|
|
61
|
+
e.EditChart,
|
|
62
|
+
e.Legend,
|
|
63
|
+
e.FilterBySelection,
|
|
64
|
+
e.FilterByExtent,
|
|
65
|
+
e.Selection,
|
|
66
|
+
e.ClearSelection,
|
|
67
|
+
e.SwitchSelection,
|
|
68
|
+
e.ExportAsImage,
|
|
69
|
+
e.ExportAsCSV
|
|
70
|
+
], Z = [
|
|
71
|
+
e.EditChart,
|
|
72
|
+
e.Legend,
|
|
73
|
+
e.FilterBySelection,
|
|
74
|
+
e.FilterByExtent,
|
|
75
|
+
e.Zoom,
|
|
76
|
+
e.Selection,
|
|
77
|
+
e.ClearSelection,
|
|
78
|
+
e.FullExtent,
|
|
79
|
+
e.SwitchSelection,
|
|
80
|
+
e.ExportAsImage,
|
|
81
|
+
e.ExportAsCSV
|
|
82
|
+
], P = [
|
|
83
|
+
e.EditChart,
|
|
84
|
+
e.Legend,
|
|
85
|
+
e.FilterBySelection,
|
|
86
|
+
e.FilterByExtent,
|
|
87
|
+
e.Zoom,
|
|
88
|
+
e.Selection,
|
|
89
|
+
e.ClearSelection,
|
|
90
|
+
e.FullExtent,
|
|
91
|
+
e.SwitchSelection,
|
|
92
|
+
e.ExportAsImage,
|
|
93
|
+
e.ExportAsCSV
|
|
94
|
+
], R = [
|
|
95
|
+
e.EditChart,
|
|
96
|
+
e.Legend,
|
|
97
|
+
e.RotateChart,
|
|
98
|
+
e.FilterBySelection,
|
|
99
|
+
e.FilterByExtent,
|
|
100
|
+
e.Zoom,
|
|
101
|
+
e.Selection,
|
|
102
|
+
e.ClearSelection,
|
|
103
|
+
e.FullExtent,
|
|
104
|
+
e.SwitchSelection,
|
|
105
|
+
e.ExportAsImage,
|
|
106
|
+
e.ExportAsCSV
|
|
107
|
+
], H = [
|
|
108
|
+
e.EditChart,
|
|
109
|
+
e.FilterByExtent,
|
|
110
|
+
e.ExportAsImage,
|
|
111
|
+
e.ExportAsCSV
|
|
112
|
+
];
|
|
113
|
+
function Q(s) {
|
|
114
|
+
switch (s) {
|
|
115
|
+
case r.BarSeries:
|
|
116
|
+
return V;
|
|
117
|
+
case r.LineSeries:
|
|
118
|
+
return I;
|
|
119
|
+
case r.ComboLineAndBarSeries:
|
|
120
|
+
return L;
|
|
121
|
+
case r.PieSeries:
|
|
122
|
+
return T;
|
|
123
|
+
case r.HistogramSeries:
|
|
124
|
+
return Z;
|
|
125
|
+
case r.ScatterSeries:
|
|
126
|
+
return P;
|
|
127
|
+
case r.BoxPlotSeries:
|
|
128
|
+
return R;
|
|
129
|
+
case r.GaugeSeries:
|
|
130
|
+
return H;
|
|
131
|
+
case r.HeatSeries:
|
|
132
|
+
return M;
|
|
133
|
+
default:
|
|
134
|
+
return [];
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
const U = (s, i, t) => {
|
|
138
|
+
const a = s.target.assignedNodes().find((S) => "legendToggle" in S || "legendActive" in S), c = C(t?.series);
|
|
139
|
+
return a && (a.chartType = c, z({
|
|
140
|
+
actionBar: a,
|
|
141
|
+
chartComponent: i,
|
|
142
|
+
config: t
|
|
143
|
+
})), a;
|
|
144
|
+
};
|
|
145
|
+
function z(s) {
|
|
146
|
+
const { actionBar: i, chartComponent: t, config: l, isInfoModalDisplayed: a } = s, c = p(t.selectionData), S = l?.legend ? l.legend.visible ?? !0 : !1;
|
|
147
|
+
if (i.chartType = C(l?.series), t.enableConfiguration || t.configurationEnabled) {
|
|
148
|
+
const h = i.hiddenActions ?? [];
|
|
149
|
+
i.hiddenActions = h.filter((x) => x !== e.EditChart);
|
|
150
|
+
}
|
|
151
|
+
i.editChartState = t.enableConfiguration || t.configurationEnabled ? o.Enabled : o.Disabled, i.editChartEnabled = !!(t.enableConfiguration || t.configurationEnabled);
|
|
152
|
+
const d = l && u(l.series);
|
|
153
|
+
i.legendState = d ? o.Enabled : o.Disabled, i.legendDisabled = !d;
|
|
154
|
+
const E = A(t?.model) && w(t?.model) ? t.model.legendVisibility : S;
|
|
155
|
+
i.legendToggle = d && E ? n.Active : n.Inactive, i.legendActive = !!(d && E);
|
|
156
|
+
const g = A(t?.model) && b(t.model) ? t.model.rotated : l?.rotated;
|
|
157
|
+
i.rotateChartToggle = g ? n.Active : n.Inactive, i.rotateChartActive = !!g;
|
|
158
|
+
const B = D(l?.series ?? []) === F.PieFromFields, y = v(t.layer);
|
|
159
|
+
i.filterBySelectionState = !y && !B && (t.filterBySelection || !c && (!t.filterByExtent || !t.filterByViewExtent)) ? o.Enabled : o.Disabled, i.filterBySelectionDisabled = !(!y && !B && (t.filterBySelection || !c && (!t.filterByExtent || !t.filterByViewExtent))), i.filterBySelectionToggle = t.filterBySelection ? n.Active : n.Inactive, i.filterBySelectionActive = !!t.filterBySelection, i.filterByExtentState = t.filterByViewExtent || !t.filterBySelection ? o.Enabled : o.Disabled, i.filterByExtentDisabled = !(t.filterByViewExtent || !t.filterBySelection), i.filterByExtentToggle = t.filterByViewExtent ? n.Active : n.Inactive, i.filterByViewExtentActive = !!t.filterByViewExtent, i.zoomState = t.filterBySelection ? o.Disabled : o.Enabled, i.zoomDisabled = !!t.filterBySelection, i.zoomToggle = t.actionMode === f.Zoom ? n.Active : n.Inactive, i.zoomActive = t.actionMode === f.Zoom, i.selectionState = t.filterBySelection ? o.Disabled : o.Enabled, i.selectionDisabled = !!t.filterBySelection, i.selectionToggle = (t.actionMode ?? i.actionBarSelectionMode) === i.actionBarSelectionMode ? n.Active : n.Inactive, i.selectionActive = (t.actionMode ?? i.actionBarSelectionMode) === i.actionBarSelectionMode, i.clearSelectionState = c ? o.Disabled : o.Enabled, i.clearSelectionDisabled = !!c, i.fullExtentState = t.filterBySelection ? o.Disabled : o.Enabled, i.fullExtentDisabled = !!t.filterBySelection, i.switchSelectionState = t.filterBySelection ? o.Disabled : o.Enabled, i.switchSelectionDisabled = !!t.filterBySelection, i.exportActionState = a || m(l) ? o.Disabled : o.Enabled, i.exportActionDisabled = !!(a || m(l));
|
|
160
|
+
}
|
|
161
|
+
export {
|
|
162
|
+
Q as g,
|
|
163
|
+
U as o,
|
|
164
|
+
z as u
|
|
165
|
+
};
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import { C as r, m as a } from "./model-setter.js";
|
|
3
3
|
import { a as f, s as c } from "./utils2.js";
|
|
4
4
|
import { cloneDeep as x } from "lodash-es";
|
|
5
|
-
import {
|
|
5
|
+
import { a0 as y, a2 as b, a1 as m, t as S } from "./index3.js";
|
|
6
6
|
var p = Object.defineProperty, v = Object.getOwnPropertyDescriptor, _ = (s, e, t, l) => {
|
|
7
7
|
for (var i = v(e, t), o = s.length - 1, n; o >= 0; o--)
|
|
8
8
|
(n = s[o]) && (i = n(e, t, i) || i);
|
|
9
9
|
return i && p(e, t, i), i;
|
|
10
10
|
};
|
|
11
|
-
function
|
|
11
|
+
function X(s) {
|
|
12
12
|
return s !== void 0 && "xAxisTitleSymbol" in s;
|
|
13
13
|
}
|
|
14
14
|
class d extends r {
|
|
@@ -46,7 +46,7 @@ const A = (s) => {
|
|
|
46
46
|
}) : t.labels.content = x(s), t.labels.content.text = l;
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
|
-
function
|
|
49
|
+
function B(s) {
|
|
50
50
|
return s !== void 0 && "axisLabelsSymbol" in s;
|
|
51
51
|
}
|
|
52
52
|
class O extends r {
|
|
@@ -76,7 +76,7 @@ const W = (s) => {
|
|
|
76
76
|
for (const t of e.axes ?? [])
|
|
77
77
|
t !== void 0 && (t.lineSymbol = x(s) ?? S());
|
|
78
78
|
};
|
|
79
|
-
function
|
|
79
|
+
function E(s) {
|
|
80
80
|
return s !== void 0 && "axisLinesSymbol" in s;
|
|
81
81
|
}
|
|
82
82
|
class w extends r {
|
|
@@ -95,9 +95,9 @@ D([
|
|
|
95
95
|
], w.prototype, "axisLinesSymbol");
|
|
96
96
|
export {
|
|
97
97
|
d as W,
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
B as a,
|
|
99
|
+
X as b,
|
|
100
100
|
O as c,
|
|
101
101
|
w as d,
|
|
102
|
-
|
|
102
|
+
E as i
|
|
103
103
|
};
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { m as
|
|
3
|
-
import {
|
|
2
|
+
import { m as d } from "./model-setter.js";
|
|
3
|
+
import { g, s as h, a as m, b as S, W as p } from "./rounded-corners.js";
|
|
4
|
+
import { S as y, s as u, a as v, b } from "./serial-chart-model.js";
|
|
4
5
|
import { h as c } from "./serial-chart-data.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { an as
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
import { C } from "./index2.js";
|
|
7
|
+
import { f as O } from "./data.js";
|
|
8
|
+
import { h as _ } from "./utils.js";
|
|
9
|
+
import { a as I } from "./chart-object-literals.js";
|
|
10
|
+
import { an as L, $ as z, g as B, r as H } from "./index3.js";
|
|
11
|
+
import { r as n } from "./index.js";
|
|
12
|
+
var x = Object.defineProperty, D = Object.getOwnPropertyDescriptor, l = (a, e, t, r) => {
|
|
13
|
+
for (var i = D(e, t), s = a.length - 1, f; s >= 0; s--)
|
|
14
|
+
(f = a[s]) && (i = f(e, t, i) || i);
|
|
15
|
+
return i && x(e, t, i), i;
|
|
14
16
|
};
|
|
15
|
-
class
|
|
17
|
+
class o extends y {
|
|
16
18
|
constructor() {
|
|
17
|
-
super(...arguments), this._chartType =
|
|
19
|
+
super(...arguments), this._chartType = I.BarSeries;
|
|
18
20
|
}
|
|
19
21
|
async setup(e) {
|
|
20
|
-
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && this.
|
|
22
|
+
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && await this.rebuildSeries(), typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
21
23
|
}
|
|
22
24
|
// #endregion
|
|
23
25
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -25,10 +27,10 @@ class l extends S {
|
|
|
25
27
|
// ---------------------------------------------------------------------------------------------
|
|
26
28
|
/** @private */
|
|
27
29
|
generateDefaultConfig() {
|
|
28
|
-
const e =
|
|
30
|
+
const e = L(this.commonStrings);
|
|
29
31
|
return e.series = [
|
|
30
|
-
|
|
31
|
-
objectIDField:
|
|
32
|
+
z({
|
|
33
|
+
objectIDField: n(this.layerInfo.layer).idField,
|
|
32
34
|
commonStrings: this.commonStrings
|
|
33
35
|
})
|
|
34
36
|
], e;
|
|
@@ -44,10 +46,14 @@ class l extends S {
|
|
|
44
46
|
* @param seriesIndex - The index of the series.
|
|
45
47
|
*/
|
|
46
48
|
getSeriesHideOversizedSideBySideLabels(e) {
|
|
47
|
-
return
|
|
49
|
+
return g(e, this._config);
|
|
48
50
|
}
|
|
49
51
|
setSeriesHideOversizedSideBySideLabels(e, t) {
|
|
50
|
-
|
|
52
|
+
h({
|
|
53
|
+
hide: e,
|
|
54
|
+
seriesIndex: t,
|
|
55
|
+
config: this._config
|
|
56
|
+
});
|
|
51
57
|
}
|
|
52
58
|
/**
|
|
53
59
|
* Gets whether to hide oversized stacked labels of the series based on the series index.
|
|
@@ -56,10 +62,10 @@ class l extends S {
|
|
|
56
62
|
* @param seriesIndex - The index of the series.
|
|
57
63
|
*/
|
|
58
64
|
getSeriesHideOversizedStackedLabels(e) {
|
|
59
|
-
return
|
|
65
|
+
return m(e, this._config);
|
|
60
66
|
}
|
|
61
67
|
setSeriesHideOversizedStackedLabels(e, t) {
|
|
62
|
-
|
|
68
|
+
S({ hide: e, seriesIndex: t, config: this._config });
|
|
63
69
|
}
|
|
64
70
|
// #endregion
|
|
65
71
|
//#region Sorting Methods
|
|
@@ -68,25 +74,25 @@ class l extends S {
|
|
|
68
74
|
* @returns {"xAxisAsc" | "xAxisDesc" | "yAxisAsc" | "yAxisDesc" | "customSort"}
|
|
69
75
|
*/
|
|
70
76
|
getSortOrder() {
|
|
71
|
-
return
|
|
77
|
+
return O(this._config);
|
|
72
78
|
}
|
|
73
79
|
resetSeriesStyling() {
|
|
74
80
|
for (let e = 0; e < this.seriesLength; e += 1) {
|
|
75
|
-
const t = this.getSeriesId(e), r =
|
|
81
|
+
const t = this.getSeriesId(e), r = B({
|
|
76
82
|
colorIndex: e,
|
|
77
|
-
opacity:
|
|
83
|
+
opacity: H
|
|
78
84
|
});
|
|
79
|
-
if (
|
|
85
|
+
if (u(r, e, this._config), this.layerInfo !== void 0) {
|
|
80
86
|
const i = c({
|
|
81
87
|
config: this._config,
|
|
82
88
|
seriesIndex: e,
|
|
83
89
|
layerInfo: this.layerInfo,
|
|
84
90
|
commonStrings: this.commonStrings
|
|
85
91
|
});
|
|
86
|
-
i !==
|
|
92
|
+
i !== n(this.layerInfo.layer).idField && v(i ?? t, e, this._config);
|
|
87
93
|
}
|
|
88
94
|
}
|
|
89
|
-
this._config.colorMatch = !0;
|
|
95
|
+
this.nullCategory !== void 0 && b(this._config, C.nullCategory), this._config.colorMatch = !0;
|
|
90
96
|
}
|
|
91
97
|
/**
|
|
92
98
|
* Returns whether the series styling is able to be reset.
|
|
@@ -102,7 +108,7 @@ class l extends S {
|
|
|
102
108
|
layerInfo: this.layerInfo,
|
|
103
109
|
commonStrings: this.commonStrings
|
|
104
110
|
}), s = this.getSeriesName(r);
|
|
105
|
-
if (i !== void 0 && i !==
|
|
111
|
+
if (i !== void 0 && i !== n(this.layerInfo.layer).idField && i !== s) {
|
|
106
112
|
t = !0;
|
|
107
113
|
break;
|
|
108
114
|
}
|
|
@@ -111,15 +117,17 @@ class l extends S {
|
|
|
111
117
|
}
|
|
112
118
|
// #endregion
|
|
113
119
|
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
],
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
],
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
],
|
|
120
|
+
l([
|
|
121
|
+
d
|
|
122
|
+
], o.prototype, "setSeriesHideOversizedSideBySideLabels");
|
|
123
|
+
l([
|
|
124
|
+
d
|
|
125
|
+
], o.prototype, "setSeriesHideOversizedStackedLabels");
|
|
126
|
+
l([
|
|
127
|
+
d
|
|
128
|
+
], o.prototype, "resetSeriesStyling");
|
|
129
|
+
const F = [p];
|
|
130
|
+
_(o, F);
|
|
123
131
|
export {
|
|
124
|
-
|
|
132
|
+
o as BarChartModel
|
|
125
133
|
};
|