@arcgis/charts-components 5.1.0-next.99 → 5.2.0-next.0
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/README.md +2 -2
- package/dist/cdn/{RKXV44WI.js → 244ZX2UP.js} +2 -2
- package/dist/cdn/2CKPKXNB.js +2 -0
- package/dist/cdn/{3OGKV4KZ.js → 2HGBRW4I.js} +2 -2
- package/dist/cdn/2RU466XY.js +2 -0
- package/dist/cdn/{WRNEDEFZ.js → 2X75KJPF.js} +2 -2
- package/dist/cdn/35COV7CA.js +2 -0
- package/dist/cdn/3EOJXLYW.js +2 -0
- package/dist/cdn/3HDCBEWA.js +102 -0
- package/dist/cdn/{MS6EYP4R.js → 3V4HRXIT.js} +2 -2
- package/dist/cdn/{QVD6LHQ2.js → 3VMHKSYP.js} +1 -1
- package/dist/cdn/{YZTAP3PR.js → 4C6KWLWN.js} +2 -2
- package/dist/cdn/4DN22Z2T.js +2 -0
- package/dist/cdn/{YQJLA77R.js → 4E7C5QPS.js} +2 -2
- package/dist/cdn/{KCILWIMQ.js → 4JQ2RRLY.js} +2 -2
- package/dist/cdn/4MT26NON.js +2 -0
- package/dist/cdn/4ONG3Z7W.js +2 -0
- package/dist/cdn/{BY77PBZ2.js → 4QQVKRJ5.js} +2 -2
- package/dist/cdn/{LZNL4CV3.js → 4USHOYLT.js} +2 -2
- package/dist/cdn/4WLT4SF2.js +2 -0
- package/dist/cdn/{2JPFAFHJ.js → 4Z23HWDH.js} +2 -2
- package/dist/cdn/{UJ7GGLFA.js → 4ZIZEJXS.js} +2 -2
- package/dist/cdn/{FSNQ3YXX.js → 53FG76LL.js} +2 -2
- package/dist/cdn/547RDEMV.js +2 -0
- package/dist/cdn/{FLSUJTUZ.js → 5AOYADA3.js} +2 -2
- package/dist/cdn/5MMDKA25.js +2 -0
- package/dist/cdn/5PBHJCIL.js +2 -0
- package/dist/cdn/{2MVU33EQ.js → 5ZGALYWZ.js} +2 -2
- package/dist/cdn/{3VMIFF7C.js → 66KSEDOR.js} +2 -2
- package/dist/cdn/{NXRLNLM4.js → 6B7JCDQC.js} +2 -2
- package/dist/cdn/6BUS62PQ.js +2 -0
- package/dist/cdn/6LTWEPUM.js +2 -0
- package/dist/cdn/74GWGGKE.js +2 -0
- package/dist/cdn/74JAZF7U.js +2 -0
- package/dist/cdn/{RHGKKMJG.js → 75P3QRL4.js} +2 -2
- package/dist/cdn/76ZTJWGM.js +2 -0
- package/dist/cdn/{I3BNBZ4D.js → 7ILH7ZG2.js} +2 -2
- package/dist/cdn/7JNA22OU.js +2 -0
- package/dist/cdn/{4VMTBYLY.js → 7LYAWWOE.js} +2 -2
- package/dist/cdn/{WQRZ7LGV.js → 7UQHB6KY.js} +2 -2
- package/dist/cdn/{FKZETVX5.js → A5GIBV5W.js} +2 -2
- package/dist/cdn/{GR4BZF3L.js → ABIVSH72.js} +2 -2
- package/dist/cdn/AHXJHLWG.js +2 -0
- package/dist/cdn/{X7ENJ4HH.js → AJBEE7WE.js} +2 -2
- package/dist/cdn/{FPDW4F45.js → AK7X7SGI.js} +2 -2
- package/dist/cdn/AUFCZ2VI.js +2 -0
- package/dist/cdn/{RRDNOR24.js → AY6IOQ3H.js} +2 -2
- package/dist/cdn/{B3HEXSCX.js → AZOBLYAP.js} +2 -2
- package/dist/cdn/{EVHJVY4I.js → B4KT2HUE.js} +2 -2
- package/dist/cdn/BAIMTE2A.js +2 -0
- package/dist/cdn/{HX4RTI3G.js → BBURKBKE.js} +2 -2
- package/dist/cdn/BI4UYGSS.js +2 -0
- package/dist/cdn/{Z5L2GNFQ.js → BJ7Q7LCT.js} +2 -2
- package/dist/cdn/BXXLVGNQ.js +2 -0
- package/dist/cdn/{DF2JGSK4.js → BXYNEUQY.js} +2 -2
- package/dist/cdn/C3ZSWQ3I.js +2 -0
- package/dist/cdn/{XTWWNXCJ.js → C5K6XOCR.js} +2 -2
- package/dist/cdn/{ANEY3G3T.js → CHLE2QGU.js} +2 -2
- package/dist/cdn/{GDFOZNYR.js → CHQDKVVQ.js} +3 -3
- package/dist/cdn/{INFEECC2.js → CNFBNAPJ.js} +2 -2
- package/dist/cdn/{JM6E3U5J.js → CODAXMWM.js} +2 -2
- package/dist/cdn/CXQOEN77.js +2 -0
- package/dist/cdn/{ZGRLFOVN.js → D3CFPMAR.js} +2 -2
- package/dist/cdn/DA7U5FLY.js +2 -0
- package/dist/cdn/{ALRIN5E5.js → DD4QUBOF.js} +2 -2
- package/dist/cdn/{NGLXQHZ2.js → DIKQ7BPQ.js} +2 -2
- package/dist/cdn/{C32DLPO2.js → DNTLH5RT.js} +2 -2
- package/dist/cdn/DPSPWVA2.js +2 -0
- package/dist/cdn/{SXJYUHC3.js → DSIFL2DF.js} +2 -2
- package/dist/cdn/DYC3Q36R.js +2 -0
- package/dist/cdn/E4SQHQBK.js +2 -0
- package/dist/cdn/ERSFBFQP.js +2 -0
- package/dist/cdn/{NTMKUPVQ.js → ETLXX7MH.js} +43 -43
- package/dist/cdn/{WMSU5OWP.js → ETOGNYFU.js} +2 -2
- package/dist/cdn/EXTKNE2L.js +2 -0
- package/dist/cdn/EZV7JSQJ.js +2 -0
- package/dist/cdn/F22N7RZE.js +2 -0
- package/dist/cdn/FJFVM6MK.js +2 -0
- package/dist/cdn/FKH3OVSJ.js +2 -0
- package/dist/cdn/{COQ55XOW.js → FLO3N6JD.js} +2 -2
- package/dist/cdn/G2RDPRW6.js +2 -0
- package/dist/cdn/GGQP5JYM.js +2 -0
- package/dist/cdn/GJNWHFFY.js +2 -0
- package/dist/cdn/GKCSV5KX.js +2 -0
- package/dist/cdn/{X5TUHBXH.js → H2A5GZ55.js} +2 -2
- package/dist/cdn/H3VQJF7X.js +2 -0
- package/dist/cdn/H6NH46AS.js +2 -0
- package/dist/cdn/HOX7NZNG.js +2 -0
- package/dist/cdn/I2AGE5R2.js +2 -0
- package/dist/cdn/{GWPFABGL.js → I36OAVW3.js} +2 -2
- package/dist/cdn/{AVU2CHAB.js → I5VHQW7B.js} +2 -2
- package/dist/cdn/I6ILHZ4V.js +2 -0
- package/dist/cdn/I6ZAHATO.js +2 -0
- package/dist/cdn/IFUSMYSL.js +2 -0
- package/dist/cdn/{XSMRKVR2.js → IHO3OLL3.js} +2 -2
- package/dist/cdn/{577EV2JF.js → II2ZPEUZ.js} +2 -2
- package/dist/cdn/IMK7WGD3.js +2 -0
- package/dist/cdn/IU3JHT4C.js +4 -0
- package/dist/cdn/{43SJZXD3.js → J5NHXQLA.js} +2 -2
- package/dist/cdn/JJ2M4U57.js +2 -0
- package/dist/cdn/JN2ZWL6Y.js +2 -0
- package/dist/cdn/{7LOXDMX3.js → JNNB2DIA.js} +2 -2
- package/dist/cdn/JOI6WL3P.js +2 -0
- package/dist/cdn/{K7M5S6GY.js → JQKRGUBU.js} +2 -2
- package/dist/cdn/KDJ5RVHA.js +2 -0
- package/dist/cdn/KX7KGXKQ.js +2 -0
- package/dist/cdn/L4RUPWN7.js +2 -0
- package/dist/cdn/{3TPTF5I7.js → L7CMLBHB.js} +1 -1
- package/dist/cdn/LDLY2SF3.js +2 -0
- package/dist/cdn/LEK5TYY2.js +2 -0
- package/dist/cdn/LKLXYXQS.js +2 -0
- package/dist/cdn/LKY2A3U6.js +2 -0
- package/dist/cdn/{EIIQ2CSC.js → LNF44ZGQ.js} +2 -2
- package/dist/cdn/{BHNYXBUZ.js → LUSFGRHV.js} +2 -2
- package/dist/cdn/{47EOUNYO.js → M4AQLWZU.js} +2 -2
- package/dist/cdn/M7DJDXCP.js +2 -0
- package/dist/cdn/MHG42BA5.js +2 -0
- package/dist/cdn/MJCXQCOV.js +2 -0
- package/dist/cdn/MRSWVYMY.js +2 -0
- package/dist/cdn/{4QCCCXMK.js → MRTKZZTF.js} +2 -2
- package/dist/cdn/{HLSO5KDC.js → N3VOUI25.js} +2 -2
- package/dist/cdn/{HJW6UNEH.js → N6OT5IBC.js} +2 -2
- package/dist/cdn/{SWQ7K4X5.js → NAXNRCMZ.js} +2 -2
- package/dist/cdn/{THJTENN5.js → NFDXH5B3.js} +2 -2
- package/dist/cdn/{6HUDF5Q2.js → NG2IHVZ4.js} +2 -2
- package/dist/cdn/{BUCYRXMT.js → NHDVOYQ2.js} +2 -2
- package/dist/cdn/NI5ICKEY.js +2 -0
- package/dist/cdn/NS3THLCD.js +2 -0
- package/dist/cdn/{6ES4YKXX.js → NZR4L5AA.js} +2 -2
- package/dist/cdn/{ZL5EGDOW.js → O2ERVMSN.js} +2 -2
- package/dist/cdn/O3YTMAQX.js +2 -0
- package/dist/cdn/{NPVXLEZW.js → O6SNP6QE.js} +2 -2
- package/dist/cdn/{SOIF6AMX.js → OA7FHTCA.js} +2 -2
- package/dist/cdn/{7BDNLABD.js → OBPAQN4H.js} +1 -1
- package/dist/cdn/OBPXCFUE.js +2 -0
- package/dist/cdn/{VHOYFIGY.js → OJ5X6I3H.js} +2 -2
- package/dist/cdn/{NSRIVIOH.js → OYHKUGS6.js} +2 -2
- package/dist/cdn/P4HSSZRL.js +2 -0
- package/dist/cdn/P4T5TI3T.js +2 -0
- package/dist/cdn/{OLBJGP5C.js → P5AO3V3M.js} +2 -2
- package/dist/cdn/PAIRUVLU.js +2 -0
- package/dist/cdn/PD433VW7.js +2 -0
- package/dist/cdn/{S5EI7T2D.js → PH6UOHRS.js} +2 -2
- package/dist/cdn/Q3AILKYR.js +2 -0
- package/dist/cdn/{YAVQSNZ6.js → Q7J7EKQW.js} +2 -2
- package/dist/cdn/{EZM4ZDQI.js → QP5UAIC6.js} +1 -1
- package/dist/cdn/QPZNCW73.js +2 -0
- package/dist/cdn/QR5JSPMD.js +2 -0
- package/dist/cdn/{DNSUOJXJ.js → RDTBZUT7.js} +2 -2
- package/dist/cdn/RJN2Y6QR.js +2 -0
- package/dist/cdn/ROIT25TY.js +2 -0
- package/dist/cdn/{5TOYNVTW.js → SGOYJFLO.js} +2 -2
- package/dist/cdn/SOQJHUX7.js +2 -0
- package/dist/cdn/SOSPMFB6.js +2 -0
- package/dist/cdn/SP2IPHWF.js +2 -0
- package/dist/cdn/SSIG3VVL.js +2 -0
- package/dist/cdn/{MIVV22F3.js → TACQVUBU.js} +2 -2
- package/dist/cdn/THTYR6IL.js +2 -0
- package/dist/cdn/{F57IRWBF.js → TSI3C3OV.js} +2 -2
- package/dist/cdn/{PI6HSSQL.js → TXB2I2U5.js} +2 -2
- package/dist/cdn/TXSWWAOF.js +2 -0
- package/dist/cdn/{GBCL3LR7.js → TYUVXRBO.js} +2 -2
- package/dist/cdn/{QPIMTXPL.js → U67P6YAZ.js} +1 -1
- package/dist/cdn/{TX2SYGTH.js → UAZ34KDJ.js} +2 -2
- package/dist/cdn/UQN6IMJJ.js +2 -0
- package/dist/cdn/{MRTH2CHN.js → UT4TYXFO.js} +2 -2
- package/dist/cdn/UUBMII4X.js +2 -0
- package/dist/cdn/UUO3C7JX.js +2 -0
- package/dist/cdn/V7HFHWME.js +2 -0
- package/dist/cdn/V7TM2WGV.js +2 -0
- package/dist/cdn/{KSNCOD3U.js → VE3GFNNM.js} +2 -2
- package/dist/cdn/{LOX7MXL4.js → VFM2EV3M.js} +2 -2
- package/dist/cdn/VM7TU42Q.js +2 -0
- package/dist/cdn/{OEZ2XTZE.js → VOTZAPI3.js} +2 -2
- package/dist/cdn/{H6G4K2SI.js → VT4WJZN6.js} +2 -2
- package/dist/cdn/VY3KBD6N.js +2 -0
- package/dist/cdn/{XZO7WNPU.js → W7X6L2OB.js} +2 -2
- package/dist/cdn/WASEMNYV.js +2 -0
- package/dist/cdn/WBH5XG4U.js +2 -0
- package/dist/cdn/{AGJRXDBI.js → WMPWOPRZ.js} +2 -2
- package/dist/cdn/{S5OM65RV.js → WVRBLV5L.js} +1 -1
- package/dist/cdn/XCBRFRLO.js +2 -0
- package/dist/cdn/{W5WI6CWC.js → XG2KN6YJ.js} +2 -2
- package/dist/cdn/{G2L5FYWK.js → XIJ5VLER.js} +2 -2
- package/dist/cdn/XJFVSX2E.js +2 -0
- package/dist/cdn/XMMHYOKG.js +2 -0
- package/dist/cdn/{PF6HSS3J.js → XMPLEHTW.js} +2 -2
- package/dist/cdn/XQN3IPCF.js +2 -0
- package/dist/cdn/{BQOMKKBK.js → XUERYUEG.js} +2 -2
- package/dist/cdn/{B4ULOSFG.js → XWKBJDZT.js} +2 -2
- package/dist/cdn/Y3CXVO2M.js +2 -0
- package/dist/cdn/Y7HBWU3M.js +2 -0
- package/dist/cdn/{DXMV5YU3.js → YIIPYKTL.js} +2 -2
- package/dist/cdn/{A2SOXYD7.js → YJ6TRXMU.js} +2 -2
- package/dist/cdn/YYK7SPXC.js +2 -0
- package/dist/cdn/Z7EBST4A.js +3 -0
- package/dist/cdn/ZCIQS5VL.js +2 -0
- package/dist/cdn/{FW27X6ZH.js → ZFJFTDJF.js} +2 -2
- package/dist/cdn/{KBDOBMB5.js → ZFM5RGWD.js} +2 -2
- package/dist/cdn/ZIF2SLZ7.js +3 -0
- package/dist/cdn/ZPMBL64I.js +2 -0
- package/dist/cdn/{5WSLX3X6.js → ZQDADGLQ.js} +2 -2
- package/dist/cdn/ZSNIMQ53.js +2 -0
- package/dist/cdn/ZVZ2XDVU.js +2 -0
- package/dist/cdn/{U7L3L6IV.js → ZYOWZCR7.js} +2 -2
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/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 +2 -2
- package/dist/chart-rendering/common/interfaces.d.ts +3 -2
- package/dist/chunks/axis-lines-symbol.js +13 -13
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +23 -50
- package/dist/chunks/bar-chart-series.js +11 -41
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/box-plot-data.js +150 -171
- package/dist/chunks/box-plot-model.js +117 -109
- package/dist/chunks/chart-model.js +77 -104
- package/dist/chunks/chart-object-literals.js +189 -0
- package/dist/chunks/chart-ui-utils.js +18 -17
- package/dist/chunks/chart-ui-utils2.js +92 -118
- package/dist/chunks/class-breaks.js +376 -197
- package/dist/chunks/combo-bar-line-chart-model.js +14 -13
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data-labels-symbol.js +2 -2
- package/dist/chunks/data-labels-visibility.js +57 -85
- package/dist/chunks/data.js +81 -104
- package/dist/chunks/default.js +7 -8
- package/dist/chunks/gauge-model.js +209 -194
- package/dist/chunks/generate-x-axis-title.js +40 -67
- package/dist/chunks/heat-chart-model.js +184 -184
- package/dist/chunks/histogram-data.js +57 -81
- package/dist/chunks/histogram-model.js +25 -25
- package/dist/chunks/index.js +569 -20528
- package/dist/chunks/index2.js +8719 -597
- package/dist/chunks/index3.js +874 -161
- package/dist/chunks/index4.js +702 -77
- package/dist/chunks/index5.js +10795 -63
- package/dist/chunks/index6.js +103 -0
- package/dist/chunks/index7.js +66 -0
- package/dist/chunks/interfaces.js +32 -33
- package/dist/chunks/line-chart-model.js +25 -24
- package/dist/chunks/model-setter.js +41 -37
- package/dist/chunks/model-types.js +43 -0
- package/dist/chunks/model-with-line-marker-styling.js +1 -1
- package/dist/chunks/model-with-x-guides.js +1 -1
- package/dist/chunks/model-with-y-guides.js +90 -117
- package/dist/chunks/negative-values-stacked-to-baseline.js +51 -80
- package/dist/chunks/pie-chart-data.js +89 -111
- package/dist/chunks/pie-chart-model.js +64 -87
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +36 -63
- package/dist/chunks/resource.js +9 -11
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/rotated-state.js +25 -53
- package/dist/chunks/runtime.js +2 -2
- package/dist/chunks/scatterplot-model.js +57 -79
- package/dist/chunks/serial-chart-data.js +761 -687
- package/dist/chunks/serial-chart-model.js +202 -218
- package/dist/chunks/series-length.js +26 -54
- package/dist/chunks/series-types.js +22 -206
- package/dist/chunks/series.js +10 -39
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/time-zone.js +13 -14
- package/dist/chunks/type-guards.js +24 -133
- package/dist/chunks/type-guards2.js +101 -192
- package/dist/chunks/type-guards3.js +173 -0
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +106 -125
- package/dist/chunks/utils2.js +35 -64
- package/dist/chunks/web-component-utils.js +519 -365
- package/dist/chunks/x-bounds.js +74 -100
- package/dist/components/arcgis-chart/customElement.d.ts +40 -19
- package/dist/components/arcgis-chart/customElement.js +7344 -7267
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +14 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +9 -10
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +11 -12
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +37 -64
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +48 -71
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +34 -55
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +38 -65
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +16 -44
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +13 -40
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +88 -112
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +42 -66
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +14 -41
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +23 -50
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -46
- 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 +47 -67
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +22 -49
- package/dist/components/arcgis-charts-config-format/customElement.js +58 -85
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +13 -45
- package/dist/components/arcgis-charts-config-general/customElement.js +30 -56
- package/dist/components/arcgis-charts-config-guide/customElement.js +45 -69
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +23 -55
- package/dist/components/arcgis-charts-config-guides/customElement.js +2 -4
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +11 -40
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +30 -57
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +152 -174
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +53 -76
- package/dist/components/arcgis-charts-config-histogram/customElement.js +35 -62
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +63 -86
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +25 -49
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +28 -55
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +24 -47
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +47 -70
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +34 -62
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +15 -43
- package/dist/components/arcgis-charts-config-line-style/customElement.js +10 -12
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +29 -56
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +25 -50
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +43 -67
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +39 -66
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +16 -44
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +35 -62
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +33 -56
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +17 -43
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +11 -39
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +22 -51
- package/dist/components/arcgis-charts-info-modal/customElement.js +25 -50
- 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 +57 -3
- package/dist/index.js +471 -461
- package/dist/json-schema/index.d.ts +4757 -4709
- package/dist/loader.js +3 -3
- package/dist/model/box-plot-model/box-plot-model.d.ts +12 -12
- package/dist/model/chart-model/chart-model-base.d.ts +2 -2
- package/dist/model/gauge-model/gauge-model.d.ts +25 -7
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +7 -0
- package/dist/model/interfaces/chart-interfaces.d.ts +5 -2
- package/dist/model/line-chart-model/line-chart-model.d.ts +3 -3
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -6
- package/dist/model/properties/axes/x-axis/x-bounds.d.ts +2 -3
- package/dist/model/shared/setup-utils.d.ts +5 -2
- package/dist/model.js +78 -40
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/web-chart.d.ts +48 -3
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/chart-config/converter/index.d.ts +2 -1
- package/dist/utils/chart-config/utils/index.d.ts +13 -9
- package/dist/utils/chart-config/validator/interfaces.d.ts +1 -1
- package/dist/utils/components/themes.d.ts +8 -0
- package/dist/utils/data/categorical-data/index.d.ts +4 -1
- package/dist/utils/data/index.d.ts +16 -8
- package/dist/utils/defaults/index.d.ts +22 -2
- package/dist/utils/layer/index.d.ts +27 -8
- package/dist/utils/layer/query-features/index.d.ts +20 -3
- package/dist/utils/layer/query-parser/index.d.ts +4 -2
- package/dist/utils/layer/utils/index.d.ts +21 -8
- package/dist/utils/localization/interfaces.d.ts +14 -0
- package/dist/utils/type-guards/index.d.ts +9 -1
- package/package.json +8 -7
- package/dist/cdn/2L4KRFAO.js +0 -2
- package/dist/cdn/2WMGX4LG.js +0 -2
- package/dist/cdn/3LHIBPWU.js +0 -2
- package/dist/cdn/3NHSJC2V.js +0 -2
- package/dist/cdn/3TYKSX6S.js +0 -2
- package/dist/cdn/437PRHGP.js +0 -2
- package/dist/cdn/4A46GMQH.js +0 -2
- package/dist/cdn/4AP7OF2H.js +0 -2
- package/dist/cdn/533OIYHT.js +0 -2
- package/dist/cdn/54JMGDNM.js +0 -2
- package/dist/cdn/6WQO34EX.js +0 -2
- package/dist/cdn/7BIC7WRS.js +0 -2
- package/dist/cdn/7JYYEL7C.js +0 -2
- package/dist/cdn/7RRIPRBW.js +0 -2
- package/dist/cdn/ABRBND33.js +0 -2
- package/dist/cdn/AKNI6ZDM.js +0 -2
- package/dist/cdn/B5DED64I.js +0 -2
- package/dist/cdn/BGHKBRAY.js +0 -2
- package/dist/cdn/BIBH7Z6B.js +0 -2
- package/dist/cdn/BVLDD7VH.js +0 -2
- package/dist/cdn/BYMLWT4F.js +0 -2
- package/dist/cdn/C6VFUQYR.js +0 -2
- package/dist/cdn/CBAUBDVW.js +0 -2
- package/dist/cdn/CJPYRPNG.js +0 -2
- package/dist/cdn/D4THJNNH.js +0 -2
- package/dist/cdn/DOKKZWPP.js +0 -2
- package/dist/cdn/DQOPCAYH.js +0 -2
- package/dist/cdn/ETKEDYJI.js +0 -2
- package/dist/cdn/ETLJKITO.js +0 -2
- package/dist/cdn/FPOY54UW.js +0 -2
- package/dist/cdn/FRTL3JKO.js +0 -2
- package/dist/cdn/FSPMT24F.js +0 -2
- package/dist/cdn/FTTFIYT7.js +0 -2
- package/dist/cdn/FXE7IJTK.js +0 -2
- package/dist/cdn/GCLBISUU.js +0 -2
- package/dist/cdn/GG4V6IWC.js +0 -2
- package/dist/cdn/GN55TJMJ.js +0 -2
- package/dist/cdn/GR2MDXNR.js +0 -2
- package/dist/cdn/GSIQ3AM5.js +0 -100
- package/dist/cdn/HRWT2MVN.js +0 -2
- package/dist/cdn/HZLHE35F.js +0 -2
- package/dist/cdn/J34XNLVV.js +0 -2
- package/dist/cdn/JII3X6GD.js +0 -2
- package/dist/cdn/JIJTDQNZ.js +0 -2
- package/dist/cdn/JP5QECNE.js +0 -2
- package/dist/cdn/JQAYCBRF.js +0 -2
- package/dist/cdn/JXUQXIWS.js +0 -2
- package/dist/cdn/KDU3ISRJ.js +0 -2
- package/dist/cdn/KHK4ESCR.js +0 -2
- package/dist/cdn/KJXMX3GJ.js +0 -2
- package/dist/cdn/KYO65OVO.js +0 -2
- package/dist/cdn/KZQPT32K.js +0 -2
- package/dist/cdn/L5ESAQAD.js +0 -2
- package/dist/cdn/LRLFI235.js +0 -2
- package/dist/cdn/LTPICGE4.js +0 -2
- package/dist/cdn/M6AWZ4GQ.js +0 -2
- package/dist/cdn/N3QESBWD.js +0 -2
- package/dist/cdn/N72JHWOW.js +0 -2
- package/dist/cdn/NJOCWENE.js +0 -2
- package/dist/cdn/NLPIWZ6O.js +0 -2
- package/dist/cdn/OG6XNLNH.js +0 -2
- package/dist/cdn/OGYHFMDK.js +0 -2
- package/dist/cdn/OM2N4R7B.js +0 -2
- package/dist/cdn/OXOPYUOS.js +0 -2
- package/dist/cdn/PDXLVDA2.js +0 -2
- package/dist/cdn/PE5WVBYF.js +0 -2
- package/dist/cdn/PECU6KQ5.js +0 -2
- package/dist/cdn/PSDHB4WG.js +0 -2
- package/dist/cdn/QCLX4TIM.js +0 -2
- package/dist/cdn/QCNYOXG2.js +0 -2
- package/dist/cdn/QNEGICXV.js +0 -2
- package/dist/cdn/QQNMK2QL.js +0 -2
- package/dist/cdn/R2R6BF6O.js +0 -2
- package/dist/cdn/SCVQSDX5.js +0 -2
- package/dist/cdn/SN4BIMRO.js +0 -2
- package/dist/cdn/SXLPETPI.js +0 -2
- package/dist/cdn/T5RPAQYI.js +0 -2
- package/dist/cdn/TCJ5YAK5.js +0 -2
- package/dist/cdn/TNXVGUYE.js +0 -2
- package/dist/cdn/TQG6RDX5.js +0 -2
- package/dist/cdn/UOUARC5O.js +0 -2
- package/dist/cdn/URX6VCYJ.js +0 -2
- package/dist/cdn/V3TCGIPS.js +0 -2
- package/dist/cdn/VFNQXIXU.js +0 -2
- package/dist/cdn/VOTMKVNY.js +0 -2
- package/dist/cdn/VRCCFTGJ.js +0 -2
- package/dist/cdn/W553UCBH.js +0 -4
- package/dist/cdn/WMLNHOVN.js +0 -2
- package/dist/cdn/WTPRSRPB.js +0 -2
- package/dist/cdn/XEDWXXF3.js +0 -2
- package/dist/cdn/XOY4K5NH.js +0 -2
- package/dist/cdn/Y4DORYPQ.js +0 -2
- package/dist/cdn/YEOSKZ4Q.js +0 -2
- package/dist/cdn/ZAKAJKUI.js +0 -2
- package/dist/cdn/ZIAGMMWU.js +0 -2
- package/dist/cdn/ZNOJBKUZ.js +0 -2
- package/dist/chunks/setup-utils.js +0 -79
- package/dist/model/index.d.ts +0 -19
- package/dist/spec/index.d.ts +0 -8
- package/dist/utils/index.d.ts +0 -33
package/dist/loader.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { r as e } from "./chunks/runtime.js";
|
|
3
3
|
import { makeDefineCustomElements as t } from "@arcgis/lumina";
|
|
4
4
|
const r = t(e, {
|
|
5
|
-
"arcgis-chart": [() => import("./components/arcgis-chart/customElement.js"), "_messages:,actionMode,allowUsingObjectIdStat,animationEnabled,aria:,autoDestroyDisabled,autoDisposeChart,autoInverseDataLabelTextColor,chartIndex,chartLimits:,chartWillRender:,commonStrings:,configurationEnabled,cursorRange,dataLabelFormatter:,disableInteractions,disableTogglingLegendItems,
|
|
5
|
+
"arcgis-chart": [() => import("./components/arcgis-chart/customElement.js"), "_messages:,actionMode,allowUsingObjectIdStat,animationEnabled,aria:,autoDestroyDisabled,autoDisposeChart,autoInverseDataLabelTextColor,calciteThemingCSSVariables:,chartIndex,chartLimits:,chartWillRender:,commonStrings:,configurationEnabled,cursorRange,dataLabelFormatter:,disableInteractions,disableTogglingLegendItems,enableBetaFeatures,enableConfiguration,enableResponsiveFeatures,errorPolicy,featureIndex,filterByExtent,filterBySelection,filterByViewExtent,gaugeInnerLabelFormatter:,guideTooltipFormatter:,hideEmptySeries,hideLicenseWatermark,hideLoaderAnimation,hideUIMessages,hideZeroCountCategories,ignoreSmoothRenderingLimit,ignoreViewExtent,interactionsDisabled,layer:,layerFieldsChangePolicy,layerFilterChangePolicy,layerItemId,layerRendererChangePolicy,legendPosition,legendValueLabelFormatter:,legendVisibility,loaderColors:,messageOverrides:,model:,nullAsValid,placeholder,popupTemplateFieldInfosEnabled,queueChartCreation,replaceNoValueCategoryWithZero,returnFeaturesExtent,returnSelectionIndexes,returnSelectionOIDs,rotated,rotation,runtimeDataFilters:,secondaryYAxisLabelFormatter:,selectionData:,selectionManager:,selectionTheme:,setTimeBinningInfoWhenNotProvided,showEmptySeries,showLicenseWatermark,showUIMessages,skipChartCreationQueue,syncChartsSelection,syncSelection,syncSelectionsBetweenChartAndLayerViewPolicy,syncViewSelection,syncViewTimeExtent,syncViewTimeZone,syncViewTimeZoneInclusionList:,timeZone,togglingLegendItemsDisabled,tooltipFormatter:,updateSplitBySeries:,useAnimatedCharts,usePopupTemplateFieldsInfo,view:,viewTimeExtentChangePolicy,xAxisLabelFormatter:,yAxisLabelFormatter:;clearSelection,destroy,errorAlert,exportAsCSV,exportAsImage,loadModel,notify,refresh,resetZoom,switchSelection;applySelectionFromSelectionManager"],
|
|
6
6
|
"arcgis-charts-action-bar": [() => import("./components/arcgis-charts-action-bar/customElement.js"), "_messages:,actionBarSelectionMode,chartElement:,chartType,clearSelectionState,clearSelectionTitle,clearSelectionToggle,commonStrings:,csvExportExclusionList:,disableCSVExportForChartTypes:,editChartState,editChartTitle,editChartToggle,expanded,exportActionState,exportAsCSVState,exportAsCSVTitle,exportAsImageState,exportAsImageTitle,filterByExtentState,filterByExtentTitle,filterByExtentToggle,filterBySelectionState,filterBySelectionTitle,filterBySelectionToggle,forceDisableActions,fullExtentState,fullExtentTitle,fullExtentToggle,hiddenActions:,legendState,legendTitle,legendToggle,messageOverrides:,rotateChartState,rotateChartTitle,rotateChartToggle,selectionState,selectionTitle,selectionToggle,switchSelectionState,switchSelectionTitle,switchSelectionToggle,zoomState,zoomTitle,zoomToggle"],
|
|
7
7
|
"arcgis-charts-config-axes": [() => import("./components/arcgis-charts-config-axes/customElement.js"), "calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,messageOverrides:,model:,open,showEnableXLogOption,showEnableYLogOption,showMaxXBoundOption,showMaxYBoundOption,showMinXBoundOption,showMinYBoundOption"],
|
|
8
8
|
"arcgis-charts-config-axis": [() => import("./components/arcgis-charts-config-axis/customElement.js"), "axisTitle,dataMaxValue,dataMinValue,initialMaxBound,initialMinBound,isXAxis,maxBoundMaxLimit,maxBoundMinLimit,messageOverrides:,minBoundMaxLimit,minBoundMinLimit,model:,showEnableLogOption,showMaxBoundOption,showMinBoundOption"],
|
|
@@ -54,7 +54,7 @@ const r = t(e, {
|
|
|
54
54
|
"arcgis-charts-config-scatter-plot-popover": [() => import("./components/arcgis-charts-config-scatter-plot-popover/customElement.js"), "contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,placement,referenceElement:,selectedContent;reposition"],
|
|
55
55
|
"arcgis-charts-config-select-chart-type-popover": [() => import("./components/arcgis-charts-config-select-chart-type-popover/customElement.js"), "headerTitle,isRasterBarChartSupported,layerId,layerType,messageOverrides:,open,popoverPlacement,referenceElement:,selectedModelType;reposition"],
|
|
56
56
|
"arcgis-charts-config-view-charts": [() => import("./components/arcgis-charts-config-view-charts/customElement.js"), "disableEditing,layer:,messageOverrides:,modelList:,noGroup,selectedChartId"],
|
|
57
|
-
"arcgis-charts-info-modal": [() => import("./components/arcgis-charts-info-modal/customElement.js"), "
|
|
57
|
+
"arcgis-charts-info-modal": [() => import("./components/arcgis-charts-info-modal/customElement.js"), "calciteThemeColors:,heading,loaderColors:,message,showLoader"]
|
|
58
58
|
});
|
|
59
59
|
export {
|
|
60
60
|
r as defineCustomElements
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
+
import type { RESTSimpleLineSymbolStyle } from "../../spec/rest-js-object-literals.js";
|
|
2
|
+
import type { Color } from "../../spec/rest-js-types.js";
|
|
3
|
+
import type { WebChartDataFilters } from "../../spec/web-chart.js";
|
|
4
|
+
import type { ChartConfig } from "../../utils/types/index.js";
|
|
1
5
|
import type { ChartModel } from "../chart-model/chart-model.js";
|
|
2
6
|
import type { ModelParams } from "../interfaces/chart-interfaces.js";
|
|
3
7
|
import type { ModelTypes, BoxPlotDataSortingKinds } from "../interfaces/common.js";
|
|
8
|
+
import type { ModelWithLegend } from "../mixins/model-with-legend.js";
|
|
9
|
+
import type { ModelWithMultiAxes } from "../mixins/model-with-multi-axes.js";
|
|
10
|
+
import type { ModelWithTooltips } from "../mixins/model-with-tooltips.js";
|
|
11
|
+
import type { ModelWithYGuides } from "../mixins/model-with-y-guides.js";
|
|
4
12
|
import type { WithAxisLabelsSymbol } from "../properties/axes/axis-labels-symbol.js";
|
|
5
13
|
import type { WithAxisLinesSymbol } from "../properties/axes/axis-lines-symbol.js";
|
|
6
|
-
import type {
|
|
14
|
+
import type { WithGenerateXAxisTitle } from "../properties/axes/x-axis/generate-x-axis-title.js";
|
|
7
15
|
import type { WithXAxisLabelsVisibility } from "../properties/axes/x-axis/x-axis-labels-visibility.js";
|
|
8
16
|
import type { WithXAxisTitleSymbol } from "../properties/axes/x-axis/x-axis-title-symbol.js";
|
|
9
17
|
import type { WithXAxisTitleText } from "../properties/axes/x-axis/x-axis-title-text.js";
|
|
10
18
|
import type { WithXAxisTitleVisibility } from "../properties/axes/x-axis/x-axis-title-visibility.js";
|
|
11
|
-
import type {
|
|
19
|
+
import type { WithXBounds } from "../properties/axes/x-axis/x-bounds.js";
|
|
12
20
|
import type { WithColorMatch } from "../properties/color-match.js";
|
|
13
|
-
import type { WithRotatedState } from "../properties/rotated-state.js";
|
|
14
|
-
import type { WithDataLabelsVisibility } from "../properties/data-labels/data-labels-visibility.js";
|
|
15
21
|
import type { WithDataLabelsSymbol } from "../properties/data-labels/data-labels-symbol.js";
|
|
16
|
-
import type {
|
|
17
|
-
import type {
|
|
18
|
-
import type { RESTSimpleLineSymbolStyle } from "../../spec/rest-js-object-literals.js";
|
|
19
|
-
import type { ChartConfig } from "../../utils/types/index.js";
|
|
20
|
-
import type { ModelWithMultiAxes } from "../mixins/model-with-multi-axes.js";
|
|
21
|
-
import type { ModelWithLegend } from "../mixins/model-with-legend.js";
|
|
22
|
-
import type { ModelWithTooltips } from "../mixins/model-with-tooltips.js";
|
|
23
|
-
import type { ModelWithYGuides } from "../mixins/model-with-y-guides.js";
|
|
22
|
+
import type { WithDataLabelsVisibility } from "../properties/data-labels/data-labels-visibility.js";
|
|
23
|
+
import type { WithRotatedState } from "../properties/rotated-state.js";
|
|
24
24
|
|
|
25
25
|
export class BoxPlotModel extends BoxPlotModelSuperclass {
|
|
26
26
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { ChartTypes } from "../../utils/misc/index.js";
|
|
2
|
+
import type { ChartConfig } from "../../utils/types/index.js";
|
|
1
3
|
import type { ModelParams } from "../interfaces/chart-interfaces.js";
|
|
2
4
|
import type { ChartModel } from "./chart-model.js";
|
|
3
|
-
import type { ChartConfig } from "../../utils/types/index.js";
|
|
4
|
-
import type { ChartTypes } from "../../utils/misc/index.js";
|
|
5
5
|
|
|
6
6
|
export abstract class ChartModelBase extends EventTarget {
|
|
7
7
|
constructor(...args: any[]);
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
+
import type { GaugeChartSubTypes, WebChartStatisticType } from "../../spec/chart-object-literals.js";
|
|
2
|
+
import type { ISimpleFillSymbol } from "../../spec/rest-js-types.js";
|
|
3
|
+
import type { ValueConversion, WebChartGaugeFixedProgressBands, WebChartTextSymbol } from "../../spec/web-chart.js";
|
|
4
|
+
import type { ChartConfig } from "../../utils/types/index.js";
|
|
1
5
|
import type { ChartModel } from "../chart-model/chart-model.js";
|
|
2
6
|
import type { ModelParams } from "../interfaces/chart-interfaces.js";
|
|
3
7
|
import type { ModelTypes } from "../interfaces/common.js";
|
|
8
|
+
import type { ModelWithXGuides } from "../mixins/model-with-x-guides.js";
|
|
4
9
|
import type { WithAxisLabelsSymbol } from "../properties/axes/axis-labels-symbol.js";
|
|
5
10
|
import type { WithAxisLinesSymbol } from "../properties/axes/axis-lines-symbol.js";
|
|
6
|
-
import type {
|
|
11
|
+
import type { WithGenerateXAxisTitle } from "../properties/axes/x-axis/generate-x-axis-title.js";
|
|
7
12
|
import type { WithXAxisLabelsVisibility } from "../properties/axes/x-axis/x-axis-labels-visibility.js";
|
|
8
13
|
import type { WithXAxisTitleSymbol } from "../properties/axes/x-axis/x-axis-title-symbol.js";
|
|
9
14
|
import type { WithXAxisTitleText } from "../properties/axes/x-axis/x-axis-title-text.js";
|
|
10
15
|
import type { WithXAxisTitleVisibility } from "../properties/axes/x-axis/x-axis-title-visibility.js";
|
|
11
|
-
import type {
|
|
12
|
-
import type { ValueConversion, WebChartTextSymbol } from "../../spec/web-chart.js";
|
|
13
|
-
import type { GaugeChartSubTypes, WebChartStatisticType } from "../../spec/chart-object-literals.js";
|
|
14
|
-
import type { ISimpleFillSymbol } from "../../spec/rest-js-types.js";
|
|
15
|
-
import type { ChartConfig } from "../../utils/types/index.js";
|
|
16
|
-
import type { ModelWithXGuides } from "../mixins/model-with-x-guides.js";
|
|
16
|
+
import type { WithXBounds } from "../properties/axes/x-axis/x-bounds.js";
|
|
17
17
|
|
|
18
18
|
export class GaugeModel extends GaugeModelSuperclass {
|
|
19
19
|
/**
|
|
@@ -85,6 +85,24 @@ export class GaugeModel extends GaugeModelSuperclass {
|
|
|
85
85
|
accessor needleVisibility: boolean;
|
|
86
86
|
/** Whether to only show the first and last axis labels. */
|
|
87
87
|
accessor onlyShowFirstAndLastLabels: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Gauge progress bands configuration.
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* ```ts
|
|
93
|
+
* gaugeModel.progressBands = {
|
|
94
|
+
* type: "fixed",
|
|
95
|
+
* visible: true,
|
|
96
|
+
* bands: {
|
|
97
|
+
* target: { type: "esriSFS", color: [0, 255, 0, 255] },
|
|
98
|
+
* base: { type: "esriSFS", color: [255, 0, 0, 255] }
|
|
99
|
+
* }
|
|
100
|
+
* };
|
|
101
|
+
* ```
|
|
102
|
+
*/
|
|
103
|
+
accessor progressBands: WebChartGaugeFixedProgressBands | undefined;
|
|
104
|
+
/** Whether progress bands are visible. */
|
|
105
|
+
accessor progressBandsVisibility: boolean;
|
|
88
106
|
/** Start angle of the gauge. */
|
|
89
107
|
accessor startAngle: number;
|
|
90
108
|
/** Conversion to apply to the gauge value. */
|
|
@@ -30,6 +30,8 @@ export class HeatChartModel extends SerialChartModel {
|
|
|
30
30
|
* `manual` - Allows you to manually specify the class breaks.
|
|
31
31
|
*/
|
|
32
32
|
accessor classificationMethod: WebChartClassBreakTypes | undefined;
|
|
33
|
+
/** The name of the color ramp used by the heat chart. */
|
|
34
|
+
accessor colorRampName: string | undefined;
|
|
33
35
|
/** The heat chart's empty cell configuration. */
|
|
34
36
|
accessor emptyCell: WebChartHeatChartEmptyCell | undefined;
|
|
35
37
|
/** The heat chart's empty cell symbol. */
|
|
@@ -77,6 +79,11 @@ export class HeatChartModel extends SerialChartModel {
|
|
|
77
79
|
accessor hideEmptyRowsAndColumns: boolean | undefined;
|
|
78
80
|
/** Whether to include leap day (February 29) in the heat chart when using "day of month" temporal binning. */
|
|
79
81
|
accessor includeLeapDay: boolean | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* Whether the color ramp is flipped for the heat chart,
|
|
84
|
+
* which means the colors will be reversed (e.g., if the original color ramp goes from light to dark, flipping it will make it go from dark to light).
|
|
85
|
+
*/
|
|
86
|
+
accessor isColorRampFlipped: boolean;
|
|
80
87
|
/** The layer associated with the heat chart model. */
|
|
81
88
|
get layer(): Exclude<SerialChartModel["layer"], SupportedRasterLayer>;
|
|
82
89
|
/** The heat chart's legend position. */
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type { ModelTypes } from "./common.js";
|
|
2
1
|
import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
|
|
3
|
-
import type { ChartConfig } from "../../utils/types/index.js";
|
|
4
2
|
import type { IFeatureLayer, IImageServiceLayer, ITiledImageServiceLayer } from "../../spec/rest-js-types.js";
|
|
5
3
|
import type { WebChartBarChartSeries, WebChartHeatChartSeries, WebChartLineChartSeries, WebChartRadarChartSeries } from "../../spec/web-chart.js";
|
|
4
|
+
import type { CommonStrings } from "../../utils/localization/interfaces.js";
|
|
5
|
+
import type { ChartConfig } from "../../utils/types/index.js";
|
|
6
|
+
import type { ModelTypes } from "./common.js";
|
|
6
7
|
|
|
7
8
|
/** Parameters for creating a chart model. */
|
|
8
9
|
export type ModelParams<T extends ChartConfig> = {
|
|
@@ -12,6 +13,8 @@ export type ModelParams<T extends ChartConfig> = {
|
|
|
12
13
|
iLayer?: IFeatureLayer | IImageServiceLayer | ITiledImageServiceLayer;
|
|
13
14
|
/** Chart config object to be edited. If not provided, a new config will be created using default values. */
|
|
14
15
|
config?: T;
|
|
16
|
+
/** t9n error strings */
|
|
17
|
+
commonStrings?: CommonStrings;
|
|
15
18
|
};
|
|
16
19
|
|
|
17
20
|
/** Type alias for the supported serial chart config. */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import type { ChartConfig } from "../../utils/types/index.js";
|
|
1
2
|
import type { ModelParams } from "../interfaces/chart-interfaces.js";
|
|
2
3
|
import type { ModelTypes } from "../interfaces/common.js";
|
|
3
|
-
import type { SerialChartModel } from "../serial-chart-model/serial-chart-model.js";
|
|
4
|
-
import type { WithNegativeValuesStackedToBaseline } from "../properties/series/negative-values-stacked-to-baseline.js";
|
|
5
|
-
import type { ChartConfig } from "../../utils/types/index.js";
|
|
6
4
|
import type { ModelWithLineMarkerStyling } from "../mixins/model-with-line-marker-styling.js";
|
|
5
|
+
import type { WithNegativeValuesStackedToBaseline } from "../properties/series/negative-values-stacked-to-baseline.js";
|
|
6
|
+
import type { SerialChartModel } from "../serial-chart-model/serial-chart-model.js";
|
|
7
7
|
|
|
8
8
|
export class LineChartModel extends LineChartModelSuperclass {
|
|
9
9
|
/** Returns whether the series styling is able to be reset. */
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import type { WebChartStatisticType } from "../../spec/chart-object-literals.js";
|
|
2
|
+
import type { Color, ISimpleLineSymbol } from "../../spec/rest-js-types.js";
|
|
3
|
+
import type { WebChartPieChartGroupSlice, WebChartPieChartSlice } from "../../spec/web-chart.js";
|
|
4
|
+
import type { ChartConfig } from "../../utils/types/index.js";
|
|
1
5
|
import type { ChartModel } from "../chart-model/chart-model.js";
|
|
2
6
|
import type { ModelParams } from "../interfaces/chart-interfaces.js";
|
|
3
7
|
import type { ModelTypes, PieChartDataSortingKinds, PieChartSlicesDisplay, PieChartDataModes } from "../interfaces/common.js";
|
|
8
|
+
import type { ModelWithTooltips } from "../mixins/model-with-tooltips.js";
|
|
4
9
|
import type { WithColorMatch } from "../properties/color-match.js";
|
|
5
|
-
import type { WithDataLabelsVisibility } from "../properties/data-labels/data-labels-visibility.js";
|
|
6
10
|
import type { WithDataLabelsSymbol } from "../properties/data-labels/data-labels-symbol.js";
|
|
11
|
+
import type { WithDataLabelsVisibility } from "../properties/data-labels/data-labels-visibility.js";
|
|
7
12
|
import type { PieChartLegendModel } from "./pie-chart-legend-model.js";
|
|
8
|
-
import type { ChartConfig } from "../../utils/types/index.js";
|
|
9
|
-
import type { WebChartPieChartGroupSlice, WebChartPieChartSlice } from "../../spec/web-chart.js";
|
|
10
|
-
import type { WebChartStatisticType } from "../../spec/chart-object-literals.js";
|
|
11
|
-
import type { Color, ISimpleLineSymbol } from "../../spec/rest-js-types.js";
|
|
12
|
-
import type { ModelWithTooltips } from "../mixins/model-with-tooltips.js";
|
|
13
13
|
|
|
14
14
|
export class PieChartModel extends PieChartModelSuperclass {
|
|
15
15
|
/** Aggregation type for the pie chart. */
|
|
@@ -3,6 +3,5 @@ import type { WithMaxXBound } from "./max-x-bound.js";
|
|
|
3
3
|
import type { WithMinXBound } from "./min-x-bound.js";
|
|
4
4
|
|
|
5
5
|
/** Adds support for configuring both minimum and maximum x-axis bounds. */
|
|
6
|
-
export abstract class WithXBounds extends
|
|
7
|
-
|
|
8
|
-
export interface WithXBounds extends WithMaxXBound, WithMinXBound {}
|
|
6
|
+
export abstract class WithXBounds extends WithXBoundsSuperclass {}
|
|
7
|
+
declare const WithXBoundsSuperclass: typeof ChartModelBase & typeof WithMinXBound & typeof WithMaxXBound
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import type { ModelOfType, ModelTypes } from "../interfaces/common.js";
|
|
2
1
|
import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
|
|
3
2
|
import type { IFeatureLayer, IImageServiceLayer, ITiledImageServiceLayer } from "../../spec/rest-js-types.js";
|
|
3
|
+
import type { CommonStrings } from "../../utils/localization/interfaces.js";
|
|
4
4
|
import type { ChartConfig } from "../../utils/types/index.js";
|
|
5
|
+
import type { ModelOfType, ModelTypes } from "../interfaces/common.js";
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Creates a new chart model for config interaction based on the provided properties.
|
|
@@ -22,7 +23,9 @@ export function createModel<T extends ModelTypes>(props: CreateModelProps<T>): P
|
|
|
22
23
|
* Properties used by the `createModel` function to create a new model.
|
|
23
24
|
* Various combinations of `layer`, `iLayer`, `chartType`, and `config` are supported.
|
|
24
25
|
*/
|
|
25
|
-
export type CreateModelProps<T extends ModelTypes> = ILayerAndSourcelessConfig<T> | ILayerAndType<T> | LayerAndSourcelessConfig<T> | LayerAndType<T> | SourcedConfig<T
|
|
26
|
+
export type CreateModelProps<T extends ModelTypes> = (ILayerAndSourcelessConfig<T> | ILayerAndType<T> | LayerAndSourcelessConfig<T> | LayerAndType<T> | SourcedConfig<T>) & {
|
|
27
|
+
commonStrings?: CommonStrings;
|
|
28
|
+
};
|
|
26
29
|
|
|
27
30
|
/**
|
|
28
31
|
* Properties used by the `createModel` function to create a new model based on the provided `layer` and `chartType`.
|
package/dist/model.js
CHANGED
|
@@ -1,42 +1,80 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { M as o } from "./chunks/common.js";
|
|
3
|
+
import { g as r, i as n, c } from "./chunks/model-types.js";
|
|
4
|
+
async function s(a) {
|
|
5
|
+
const i = "config" in a ? r(a.config) : a.chartType;
|
|
6
|
+
let t;
|
|
7
|
+
if (!("layer" in a) && !("iLayer" in a) && "config" in a && a.config.iLayer === void 0)
|
|
8
|
+
throw new Error(
|
|
9
|
+
"The source is missing. You can provide it to createModel through either `iLayer`, `layer`, or by setting the `config.iLayer` property."
|
|
10
|
+
);
|
|
11
|
+
switch (i) {
|
|
12
|
+
case o.LineChart: {
|
|
13
|
+
const { LineChartModel: e } = await import("./chunks/line-chart-model.js");
|
|
14
|
+
t = new e();
|
|
15
|
+
break;
|
|
16
|
+
}
|
|
17
|
+
case o.ComboBarLineChart: {
|
|
18
|
+
const { ComboBarLineChartModel: e } = await import("./chunks/combo-bar-line-chart-model.js");
|
|
19
|
+
t = new e();
|
|
20
|
+
break;
|
|
21
|
+
}
|
|
22
|
+
case o.PieChart: {
|
|
23
|
+
const { PieChartModel: e } = await import("./chunks/pie-chart-model.js");
|
|
24
|
+
t = new e();
|
|
25
|
+
break;
|
|
26
|
+
}
|
|
27
|
+
case o.Histogram: {
|
|
28
|
+
const { HistogramModel: e } = await import("./chunks/histogram-model.js");
|
|
29
|
+
t = new e();
|
|
30
|
+
break;
|
|
31
|
+
}
|
|
32
|
+
case o.Scatterplot: {
|
|
33
|
+
const { ScatterplotModel: e } = await import("./chunks/scatterplot-model.js");
|
|
34
|
+
t = new e();
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
case o.BoxPlot: {
|
|
38
|
+
const { BoxPlotModel: e } = await import("./chunks/box-plot-model.js");
|
|
39
|
+
t = new e();
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
case o.Gauge: {
|
|
43
|
+
const { GaugeModel: e } = await import("./chunks/gauge-model.js");
|
|
44
|
+
t = new e();
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
case o.RadarChart: {
|
|
48
|
+
const { RadarChartModel: e } = await import("./chunks/radar-chart-model.js");
|
|
49
|
+
t = new e();
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
case o.HeatChart: {
|
|
53
|
+
const { HeatChartModel: e } = await import("./chunks/heat-chart-model.js");
|
|
54
|
+
t = new e();
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
case o.BarChart:
|
|
58
|
+
default: {
|
|
59
|
+
const { BarChartModel: e } = await import("./chunks/bar-chart-model.js");
|
|
60
|
+
t = new e();
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
if (await t?.setup({
|
|
65
|
+
layer: "layer" in a ? a.layer : void 0,
|
|
66
|
+
iLayer: "iLayer" in a ? a.iLayer : void 0,
|
|
67
|
+
config: "config" in a ? a.config : void 0,
|
|
68
|
+
commonStrings: "commonStrings" in a ? a.commonStrings : void 0
|
|
69
|
+
}), i !== void 0 && n(t, i))
|
|
70
|
+
return t;
|
|
71
|
+
{
|
|
72
|
+
const e = c(t.chartType);
|
|
73
|
+
throw new Error(
|
|
74
|
+
`Please check the arguments provided to \`createModel\`. The generated model's type (\`${e}\`) does not match the type specified by either the \`chartType\` or the \`config\` argument (\`${i}\`).`
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
5
78
|
export {
|
|
6
|
-
|
|
7
|
-
i as ColorFormatKeys,
|
|
8
|
-
t as FormatKeys,
|
|
9
|
-
o as GuideOrientation,
|
|
10
|
-
r as HeatChartDataSortingKinds,
|
|
11
|
-
d as LineFormatKeys,
|
|
12
|
-
l as ModelTypes,
|
|
13
|
-
M as PieChartDataModes,
|
|
14
|
-
h as PieChartDataSortingKinds,
|
|
15
|
-
n as PieChartSlicesDisplay,
|
|
16
|
-
C as SerialChartDataSortingKinds,
|
|
17
|
-
g as TextFormatKeys,
|
|
18
|
-
R as createModel,
|
|
19
|
-
m as customSortString,
|
|
20
|
-
p as isBarChartModel,
|
|
21
|
-
u as isBoxPlotModel,
|
|
22
|
-
y as isChartModel,
|
|
23
|
-
K as isComboBarLineChartModel,
|
|
24
|
-
P as isGaugeModel,
|
|
25
|
-
W as isHeatChartModel,
|
|
26
|
-
c as isHistogramModel,
|
|
27
|
-
x as isLineChartModel,
|
|
28
|
-
L as isModelOfType,
|
|
29
|
-
B as isModelWithGuides,
|
|
30
|
-
D as isModelWithLegend,
|
|
31
|
-
G as isModelWithLineMarkerStyling,
|
|
32
|
-
T as isModelWithMultiAxes,
|
|
33
|
-
f as isModelWithTemporalBinning,
|
|
34
|
-
F as isModelWithTooltips,
|
|
35
|
-
H as isModelWithXGuides,
|
|
36
|
-
b as isModelWithYGuides,
|
|
37
|
-
k as isPieChartLegendModel,
|
|
38
|
-
O as isPieChartModel,
|
|
39
|
-
j as isRadarChartModel,
|
|
40
|
-
q as isScatterplotModel,
|
|
41
|
-
v as isSerialChartModel
|
|
79
|
+
s as createModel
|
|
42
80
|
};
|
|
@@ -8,6 +8,7 @@ export const WebChartTypes: {
|
|
|
8
8
|
readonly Axis: "chartAxis";
|
|
9
9
|
readonly GaugeAxisTick: "gaugeAxisTick";
|
|
10
10
|
readonly GaugeNeedle: "gaugeNeedle";
|
|
11
|
+
readonly FixedProgressBands: "fixed";
|
|
11
12
|
readonly CategoryAxisFormat: "category";
|
|
12
13
|
readonly NumberAxisFormat: "number";
|
|
13
14
|
readonly DateAxisFormat: "date";
|
package/dist/spec/web-chart.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { RESTUnits } from "./rest-js-object-literals.js";
|
|
|
4
4
|
import type { Color, IDrawingInfo, IEnvelope, IExtent, IFeatureLayer, IImageServiceLayer, IPoint, IPolygon, IPolygonWithCurves, IPolyline, ISimpleFillSymbol, ISimpleLineSymbol, ISimpleMarkerSymbol, IStatisticDefinition, ITextSymbol, ITiledImageServiceLayer, IWCSLayer } from "./rest-js-types.js";
|
|
5
5
|
|
|
6
6
|
/** Version of the current specification. */
|
|
7
|
-
export const WebChartCurrentVersion: "25.
|
|
7
|
+
export const WebChartCurrentVersion: "25.1.0";
|
|
8
8
|
|
|
9
9
|
/** Stores information regarding a numeric conversion. */
|
|
10
10
|
export interface ValueConversion {
|
|
@@ -202,7 +202,7 @@ export interface WebChartOverlay {
|
|
|
202
202
|
export interface NumberFormatOptions {
|
|
203
203
|
/** Represents a unique string identifier for the `NumberFormatOptions` object. For the `NumberFormatOptions` object, it is `number`. It can help to differentiate numerical (value) axis from other types of axes such as date-time axis and category axis. */
|
|
204
204
|
type: typeof WebChartTypes.NumberAxisFormat;
|
|
205
|
-
/** Represents the JS native [Intl.NumberFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat), which is based on [CLDR](
|
|
205
|
+
/** Represents the JS native [Intl.NumberFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat), which is based on [CLDR](https://cldr.unicode.org/translation/number-currency-formats/number-and-currency-patterns) specifications. */
|
|
206
206
|
intlOptions: Intl.NumberFormatOptions;
|
|
207
207
|
}
|
|
208
208
|
|
|
@@ -232,7 +232,7 @@ export interface WebChartDateTimeUnitFormatOptions {
|
|
|
232
232
|
export interface DateTimeFormatOptions {
|
|
233
233
|
/** Represents a unique string identifier for the `NumberFormatOptions` object. For the `NumberFormatOptions` object, it is `date`. It can help to differentiate date-time axis from other types of axes such as numeric (value) axis and category axis. */
|
|
234
234
|
type: typeof WebChartTypes.DateAxisFormat;
|
|
235
|
-
/** Represent the JS native [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat), which is based on [CLDR](
|
|
235
|
+
/** Represent the JS native [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat), which is based on [CLDR](https://cldr.unicode.org/translation/date-time/date-time-patterns) specifications. */
|
|
236
236
|
intlOptions: Intl.DateTimeFormatOptions;
|
|
237
237
|
/** Represents how to format specific date and time units when displayed on the axis, independently from the `intlOptions`. */
|
|
238
238
|
formatPerDateTimeUnit?: WebChartDateTimeUnitFormatOptions;
|
|
@@ -411,6 +411,41 @@ export interface WebChartNeedle {
|
|
|
411
411
|
displayPin?: boolean;
|
|
412
412
|
}
|
|
413
413
|
|
|
414
|
+
/**
|
|
415
|
+
* JSON representation of the fixed progress bands for gauge chart, which is a specific type of guide for gauge charts.
|
|
416
|
+
* It defines the properties of the fixed progress bands and how they should be rendered on a gauge chart.
|
|
417
|
+
*
|
|
418
|
+
* The "target" band's start value is set to the axis minimum, end value is set to the gauge value, and the color is what defined in the bands config.
|
|
419
|
+
* Similarly, the "base" band's start value is set to the gauge value, end value is set to the axis maximum, and the color is what defined in the bands config.
|
|
420
|
+
*
|
|
421
|
+
* @example
|
|
422
|
+
* ```json
|
|
423
|
+
* "progressBands": {
|
|
424
|
+
* "type": "fixed",
|
|
425
|
+
* "visible": true,
|
|
426
|
+
* "bands": {
|
|
427
|
+
* "target": { "type": "esriSFS", "color": [0, 255, 0, 255] },
|
|
428
|
+
* "base": { "type": "esriSFS", "color": [255, 0, 0, 255] }
|
|
429
|
+
* }
|
|
430
|
+
* }
|
|
431
|
+
* ```
|
|
432
|
+
*/
|
|
433
|
+
export interface WebChartGaugeFixedProgressBands {
|
|
434
|
+
/** Represents a unique string identifier for the fixed progress bands object. For `WebChartGaugeFixedProgressBands` object, it is `fixed`. */
|
|
435
|
+
type: typeof WebChartTypes.FixedProgressBands;
|
|
436
|
+
/**
|
|
437
|
+
* Determines the visibility of the fixed progress bands on the gauge chart.
|
|
438
|
+
*
|
|
439
|
+
* @default true
|
|
440
|
+
*/
|
|
441
|
+
visible?: boolean;
|
|
442
|
+
/** Contains styling information on how the fixed progress bands should be rendered. */
|
|
443
|
+
bands?: {
|
|
444
|
+
target?: ISimpleFillSymbol;
|
|
445
|
+
base?: ISimpleFillSymbol;
|
|
446
|
+
};
|
|
447
|
+
}
|
|
448
|
+
|
|
414
449
|
/** JSON representation of the gauge chart's axis object. Inherits from the `WebChartAxis` properties. */
|
|
415
450
|
export interface WebChartGaugeAxis extends WebChartAxis {
|
|
416
451
|
/** Specifies how the axis' inner label needs to be displayed. */
|
|
@@ -464,6 +499,12 @@ export interface WebChartGaugeAxis extends WebChartAxis {
|
|
|
464
499
|
* When `maximumFromField` is not provided or when it leads to an invalid value, the `maximum` value from the axis config, if provided, or the default value of 0, in that order, will be used.
|
|
465
500
|
*/
|
|
466
501
|
maximumFromField?: IStatisticDefinition | string;
|
|
502
|
+
/**
|
|
503
|
+
* Defines how to render the two progress bands on a gauge chart.
|
|
504
|
+
*
|
|
505
|
+
* **note**: When progressBands are used (defined and visible), the axis guides will be ignored.
|
|
506
|
+
*/
|
|
507
|
+
progressBands?: WebChartGaugeFixedProgressBands;
|
|
467
508
|
}
|
|
468
509
|
|
|
469
510
|
/** JSON representation of the radar chart's axis object. */
|
|
@@ -1135,6 +1176,10 @@ export interface WebChartHeatChartHeatClassBreaks {
|
|
|
1135
1176
|
* `manual` - allows you to manually specify the class breaks.
|
|
1136
1177
|
*/
|
|
1137
1178
|
classificationMethod?: WebChartClassBreakTypes;
|
|
1179
|
+
colorRampInfo?: {
|
|
1180
|
+
name?: string;
|
|
1181
|
+
flipped?: boolean;
|
|
1182
|
+
};
|
|
1138
1183
|
}
|
|
1139
1184
|
|
|
1140
1185
|
/** JSON representation of the heat chart empty cell configuration. */
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { ArcgisChart } from "../components/arcgis-chart/customElement.js";
|
|
|
3
3
|
import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-bar/customElement.js";
|
|
4
4
|
import type { h, EventHandler } from "@arcgis/lumina";
|
|
5
5
|
|
|
6
|
-
interface LuminaArcgisChart extends Partial<Pick<ArcgisChart, "actionMode" | "allowUsingObjectIdStat" | "animationEnabled" | "aria" | "autoDestroyDisabled" | "autoDisposeChart" | "autoInverseDataLabelTextColor" | "chartIndex" | "chartLimits" | "chartWillRender" | "configurationEnabled" | "cursorRange" | "dataLabelFormatter" | "disableInteractions" | "disableTogglingLegendItems" | "
|
|
6
|
+
interface LuminaArcgisChart extends Partial<Pick<ArcgisChart, "actionMode" | "allowUsingObjectIdStat" | "animationEnabled" | "aria" | "autoDestroyDisabled" | "autoDisposeChart" | "autoInverseDataLabelTextColor" | "calciteThemingCSSVariables" | "chartIndex" | "chartLimits" | "chartWillRender" | "configurationEnabled" | "cursorRange" | "dataLabelFormatter" | "disableInteractions" | "disableTogglingLegendItems" | "enableBetaFeatures" | "enableConfiguration" | "enableResponsiveFeatures" | "errorPolicy" | "featureIndex" | "filterByExtent" | "filterBySelection" | "filterByViewExtent" | "gaugeInnerLabelFormatter" | "guideTooltipFormatter" | "hideEmptySeries" | "hideLicenseWatermark" | "hideLoaderAnimation" | "hideUIMessages" | "hideZeroCountCategories" | "ignoreSmoothRenderingLimit" | "ignoreViewExtent" | "interactionsDisabled" | "layer" | "layerFieldsChangePolicy" | "layerFilterChangePolicy" | "layerItemId" | "layerRendererChangePolicy" | "legendPosition" | "legendValueLabelFormatter" | "legendVisibility" | "loaderColors" | "messageOverrides" | "model" | "nullAsValid" | "placeholder" | "popupTemplateFieldInfosEnabled" | "queueChartCreation" | "replaceNoValueCategoryWithZero" | "returnFeaturesExtent" | "returnSelectionIndexes" | "returnSelectionOIDs" | "rotated" | "rotation" | "runtimeDataFilters" | "secondaryYAxisLabelFormatter" | "selectionData" | "selectionManager" | "selectionTheme" | "setTimeBinningInfoWhenNotProvided" | "showEmptySeries" | "showLicenseWatermark" | "showUIMessages" | "skipChartCreationQueue" | "syncChartsSelection" | "syncSelection" | "syncSelectionsBetweenChartAndLayerViewPolicy" | "syncViewSelection" | "syncViewTimeExtent" | "syncViewTimeZone" | "syncViewTimeZoneInclusionList" | "timeZone" | "togglingLegendItemsDisabled" | "tooltipFormatter" | "updateSplitBySeries" | "useAnimatedCharts" | "usePopupTemplateFieldsInfo" | "view" | "viewTimeExtentChangePolicy" | "xAxisLabelFormatter" | "yAxisLabelFormatter">>, h.JSX.HTMLAttributes<ArcgisChart> {
|
|
7
7
|
onarcgisAxesMinMaxChange?: EventHandler<ArcgisChart["arcgisAxesMinMaxChange"]>;
|
|
8
8
|
onarcgisBadDataWarningRaise?: EventHandler<ArcgisChart["arcgisBadDataWarningRaise"]>;
|
|
9
9
|
onarcgisChartNotFoundWarning?: EventHandler<ArcgisChart["arcgisChartNotFoundWarning"]>;
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-b
|
|
|
4
4
|
import { HTMLAttributes } from "preact";
|
|
5
5
|
import type { EventHandler } from "@arcgis/lumina";
|
|
6
6
|
|
|
7
|
-
interface PreactArcgisChart extends Partial<Pick<ArcgisChart, "actionMode" | "allowUsingObjectIdStat" | "animationEnabled" | "aria" | "autoDestroyDisabled" | "autoDisposeChart" | "autoInverseDataLabelTextColor" | "chartIndex" | "chartLimits" | "chartWillRender" | "configurationEnabled" | "cursorRange" | "dataLabelFormatter" | "disableInteractions" | "disableTogglingLegendItems" | "
|
|
7
|
+
interface PreactArcgisChart extends Partial<Pick<ArcgisChart, "actionMode" | "allowUsingObjectIdStat" | "animationEnabled" | "aria" | "autoDestroyDisabled" | "autoDisposeChart" | "autoInverseDataLabelTextColor" | "calciteThemingCSSVariables" | "chartIndex" | "chartLimits" | "chartWillRender" | "configurationEnabled" | "cursorRange" | "dataLabelFormatter" | "disableInteractions" | "disableTogglingLegendItems" | "enableBetaFeatures" | "enableConfiguration" | "enableResponsiveFeatures" | "errorPolicy" | "featureIndex" | "filterByExtent" | "filterBySelection" | "filterByViewExtent" | "gaugeInnerLabelFormatter" | "guideTooltipFormatter" | "hideEmptySeries" | "hideLicenseWatermark" | "hideLoaderAnimation" | "hideUIMessages" | "hideZeroCountCategories" | "ignoreSmoothRenderingLimit" | "ignoreViewExtent" | "interactionsDisabled" | "layer" | "layerFieldsChangePolicy" | "layerFilterChangePolicy" | "layerItemId" | "layerRendererChangePolicy" | "legendPosition" | "legendValueLabelFormatter" | "legendVisibility" | "loaderColors" | "messageOverrides" | "model" | "nullAsValid" | "placeholder" | "popupTemplateFieldInfosEnabled" | "queueChartCreation" | "replaceNoValueCategoryWithZero" | "returnFeaturesExtent" | "returnSelectionIndexes" | "returnSelectionOIDs" | "rotated" | "rotation" | "runtimeDataFilters" | "secondaryYAxisLabelFormatter" | "selectionData" | "selectionManager" | "selectionTheme" | "setTimeBinningInfoWhenNotProvided" | "showEmptySeries" | "showLicenseWatermark" | "showUIMessages" | "skipChartCreationQueue" | "syncChartsSelection" | "syncSelection" | "syncSelectionsBetweenChartAndLayerViewPolicy" | "syncViewSelection" | "syncViewTimeExtent" | "syncViewTimeZone" | "syncViewTimeZoneInclusionList" | "timeZone" | "togglingLegendItemsDisabled" | "tooltipFormatter" | "updateSplitBySeries" | "useAnimatedCharts" | "usePopupTemplateFieldsInfo" | "view" | "viewTimeExtentChangePolicy" | "xAxisLabelFormatter" | "yAxisLabelFormatter">>, HTMLAttributes<ArcgisChart> {
|
|
8
8
|
onarcgisAxesMinMaxChange?: EventHandler<ArcgisChart["arcgisAxesMinMaxChange"]>;
|
|
9
9
|
onarcgisBadDataWarningRaise?: EventHandler<ArcgisChart["arcgisBadDataWarningRaise"]>;
|
|
10
10
|
onarcgisChartNotFoundWarning?: EventHandler<ArcgisChart["arcgisChartNotFoundWarning"]>;
|
package/dist/types/react.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-b
|
|
|
4
4
|
import type { HTMLProps } from 'react';
|
|
5
5
|
import type { EventHandler } from "@arcgis/lumina";
|
|
6
6
|
|
|
7
|
-
interface ReactArcgisChart extends Partial<Pick<ArcgisChart, "actionMode" | "allowUsingObjectIdStat" | "animationEnabled" | "aria" | "autoDestroyDisabled" | "autoDisposeChart" | "autoInverseDataLabelTextColor" | "chartIndex" | "chartLimits" | "chartWillRender" | "configurationEnabled" | "cursorRange" | "dataLabelFormatter" | "disableInteractions" | "disableTogglingLegendItems" | "
|
|
7
|
+
interface ReactArcgisChart extends Partial<Pick<ArcgisChart, "actionMode" | "allowUsingObjectIdStat" | "animationEnabled" | "aria" | "autoDestroyDisabled" | "autoDisposeChart" | "autoInverseDataLabelTextColor" | "calciteThemingCSSVariables" | "chartIndex" | "chartLimits" | "chartWillRender" | "configurationEnabled" | "cursorRange" | "dataLabelFormatter" | "disableInteractions" | "disableTogglingLegendItems" | "enableBetaFeatures" | "enableConfiguration" | "enableResponsiveFeatures" | "errorPolicy" | "featureIndex" | "filterByExtent" | "filterBySelection" | "filterByViewExtent" | "gaugeInnerLabelFormatter" | "guideTooltipFormatter" | "hideEmptySeries" | "hideLicenseWatermark" | "hideLoaderAnimation" | "hideUIMessages" | "hideZeroCountCategories" | "ignoreSmoothRenderingLimit" | "ignoreViewExtent" | "interactionsDisabled" | "layer" | "layerFieldsChangePolicy" | "layerFilterChangePolicy" | "layerItemId" | "layerRendererChangePolicy" | "legendPosition" | "legendValueLabelFormatter" | "legendVisibility" | "loaderColors" | "messageOverrides" | "model" | "nullAsValid" | "placeholder" | "popupTemplateFieldInfosEnabled" | "queueChartCreation" | "replaceNoValueCategoryWithZero" | "returnFeaturesExtent" | "returnSelectionIndexes" | "returnSelectionOIDs" | "rotated" | "rotation" | "runtimeDataFilters" | "secondaryYAxisLabelFormatter" | "selectionData" | "selectionManager" | "selectionTheme" | "setTimeBinningInfoWhenNotProvided" | "showEmptySeries" | "showLicenseWatermark" | "showUIMessages" | "skipChartCreationQueue" | "syncChartsSelection" | "syncSelection" | "syncSelectionsBetweenChartAndLayerViewPolicy" | "syncViewSelection" | "syncViewTimeExtent" | "syncViewTimeZone" | "syncViewTimeZoneInclusionList" | "timeZone" | "togglingLegendItemsDisabled" | "tooltipFormatter" | "updateSplitBySeries" | "useAnimatedCharts" | "usePopupTemplateFieldsInfo" | "view" | "viewTimeExtentChangePolicy" | "xAxisLabelFormatter" | "yAxisLabelFormatter">>, HTMLProps<ArcgisChart> {
|
|
8
8
|
onarcgisAxesMinMaxChange?: EventHandler<ArcgisChart["arcgisAxesMinMaxChange"]>;
|
|
9
9
|
onarcgisBadDataWarningRaise?: EventHandler<ArcgisChart["arcgisBadDataWarningRaise"]>;
|
|
10
10
|
onarcgisChartNotFoundWarning?: EventHandler<ArcgisChart["arcgisChartNotFoundWarning"]>;
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-b
|
|
|
4
4
|
import { JSXBase as StencilJsx } from "@stencil/core/internal";
|
|
5
5
|
import type { EventHandler } from "@arcgis/lumina";
|
|
6
6
|
|
|
7
|
-
interface StencilArcgisChart extends Partial<Pick<ArcgisChart, "actionMode" | "allowUsingObjectIdStat" | "animationEnabled" | "aria" | "autoDestroyDisabled" | "autoDisposeChart" | "autoInverseDataLabelTextColor" | "chartIndex" | "chartLimits" | "chartWillRender" | "configurationEnabled" | "cursorRange" | "dataLabelFormatter" | "disableInteractions" | "disableTogglingLegendItems" | "
|
|
7
|
+
interface StencilArcgisChart extends Partial<Pick<ArcgisChart, "actionMode" | "allowUsingObjectIdStat" | "animationEnabled" | "aria" | "autoDestroyDisabled" | "autoDisposeChart" | "autoInverseDataLabelTextColor" | "calciteThemingCSSVariables" | "chartIndex" | "chartLimits" | "chartWillRender" | "configurationEnabled" | "cursorRange" | "dataLabelFormatter" | "disableInteractions" | "disableTogglingLegendItems" | "enableBetaFeatures" | "enableConfiguration" | "enableResponsiveFeatures" | "errorPolicy" | "featureIndex" | "filterByExtent" | "filterBySelection" | "filterByViewExtent" | "gaugeInnerLabelFormatter" | "guideTooltipFormatter" | "hideEmptySeries" | "hideLicenseWatermark" | "hideLoaderAnimation" | "hideUIMessages" | "hideZeroCountCategories" | "ignoreSmoothRenderingLimit" | "ignoreViewExtent" | "interactionsDisabled" | "layer" | "layerFieldsChangePolicy" | "layerFilterChangePolicy" | "layerItemId" | "layerRendererChangePolicy" | "legendPosition" | "legendValueLabelFormatter" | "legendVisibility" | "loaderColors" | "messageOverrides" | "model" | "nullAsValid" | "placeholder" | "popupTemplateFieldInfosEnabled" | "queueChartCreation" | "replaceNoValueCategoryWithZero" | "returnFeaturesExtent" | "returnSelectionIndexes" | "returnSelectionOIDs" | "rotated" | "rotation" | "runtimeDataFilters" | "secondaryYAxisLabelFormatter" | "selectionData" | "selectionManager" | "selectionTheme" | "setTimeBinningInfoWhenNotProvided" | "showEmptySeries" | "showLicenseWatermark" | "showUIMessages" | "skipChartCreationQueue" | "syncChartsSelection" | "syncSelection" | "syncSelectionsBetweenChartAndLayerViewPolicy" | "syncViewSelection" | "syncViewTimeExtent" | "syncViewTimeZone" | "syncViewTimeZoneInclusionList" | "timeZone" | "togglingLegendItemsDisabled" | "tooltipFormatter" | "updateSplitBySeries" | "useAnimatedCharts" | "usePopupTemplateFieldsInfo" | "view" | "viewTimeExtentChangePolicy" | "xAxisLabelFormatter" | "yAxisLabelFormatter">>, StencilJsx.HTMLAttributes<ArcgisChart> {
|
|
8
8
|
onArcgisAxesMinMaxChange?: EventHandler<ArcgisChart["arcgisAxesMinMaxChange"]>;
|
|
9
9
|
onArcgisBadDataWarningRaise?: EventHandler<ArcgisChart["arcgisBadDataWarningRaise"]>;
|
|
10
10
|
onArcgisChartNotFoundWarning?: EventHandler<ArcgisChart["arcgisChartNotFoundWarning"]>;
|
|
@@ -12,6 +12,7 @@ import type { WebChart, WebGaugeChart } from "../../../spec/web-chart.js";
|
|
|
12
12
|
* @param config - The chart config.
|
|
13
13
|
* @param layerOrLayerView - The layer instance.
|
|
14
14
|
* @param chartContainer
|
|
15
|
+
* @param abortSignal
|
|
15
16
|
* @returns The updated web chart config.
|
|
16
17
|
*/
|
|
17
|
-
export function convertChartSpec<T extends WebChart | WebGaugeChart>(config?: T, layerOrLayerView?: FeatureLayerView | SupportedLayer | SupportedRasterLayer, chartContainer?: HTMLElement): Promise<T>;
|
|
18
|
+
export function convertChartSpec<T extends WebChart | WebGaugeChart>(config?: T, layerOrLayerView?: FeatureLayerView | SupportedLayer | SupportedRasterLayer, chartContainer?: HTMLElement, abortSignal?: AbortSignal): Promise<T>;
|