@arcgis/charts-components 5.1.0-next.13 → 5.1.0-next.130
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 +3 -3
- package/dist/cdn/2ANHVTDB.js +2 -0
- package/dist/cdn/2JUO3GP2.js +2 -0
- package/dist/cdn/333C7ANR.js +2 -0
- package/dist/cdn/3UPLSI2I.js +2 -0
- package/dist/cdn/43P4WOC4.js +2 -0
- package/dist/cdn/4OYLCQZP.js +2 -0
- package/dist/cdn/4W4GJGJF.js +2 -0
- package/dist/cdn/4XN3YXIY.js +3 -0
- package/dist/cdn/4ZKSXNLA.js +2 -0
- package/dist/cdn/5536LNO4.js +2 -0
- package/dist/cdn/5BJBLVOS.js +2 -0
- package/dist/cdn/5LS7OXWX.js +2 -0
- package/dist/cdn/5STC2DYW.js +2 -0
- package/dist/cdn/646RUZZA.js +2 -0
- package/dist/cdn/6I74A6LP.js +4 -0
- package/dist/cdn/6II7M26D.js +2 -0
- package/dist/cdn/6JI4NDJ6.js +2 -0
- package/dist/cdn/6XIOZCEO.js +2 -0
- package/dist/cdn/75Y43JLP.js +2 -0
- package/dist/cdn/777EBGS5.js +2 -0
- package/dist/cdn/7BDNLABD.js +2 -0
- package/dist/cdn/7CJ4KVIU.js +2 -0
- package/dist/cdn/7MKAC33Z.js +2 -0
- package/dist/cdn/7NE5QP6L.js +2 -0
- package/dist/cdn/A4BXXEHC.js +2 -0
- package/dist/cdn/A4O5PTH7.js +2 -0
- package/dist/cdn/A6JBWJ2C.js +2 -0
- package/dist/cdn/AVPB7VXW.js +2 -0
- package/dist/cdn/{VFP7AKUR.js → B7XYDLAU.js} +1 -1
- package/dist/cdn/BAERHHSS.js +2 -0
- package/dist/cdn/BAZ5VNZJ.js +2 -0
- package/dist/cdn/BI3NY4NC.js +2 -0
- package/dist/cdn/BXOAEW3W.js +2 -0
- package/dist/cdn/CHBPNEPP.js +2 -0
- package/dist/cdn/CS6SBRT6.js +2 -0
- package/dist/cdn/CU2ZHMWJ.js +2 -0
- package/dist/cdn/DF7CDB45.js +2 -0
- package/dist/cdn/DMOSWGRH.js +2 -0
- package/dist/cdn/DWSE2KQM.js +2 -0
- package/dist/cdn/E5GL5SQL.js +2 -0
- package/dist/cdn/E6ICXDNS.js +2 -0
- package/dist/cdn/EA6UV6SC.js +2 -0
- package/dist/cdn/F2466YWO.js +2 -0
- package/dist/cdn/FIMXZMTB.js +2 -0
- package/dist/cdn/FLFLBPKR.js +2 -0
- package/dist/cdn/FVTESU65.js +2 -0
- package/dist/cdn/G42X3FFH.js +2 -0
- package/dist/cdn/GDHDEZMK.js +2 -0
- package/dist/cdn/GKXCV2GM.js +2 -0
- package/dist/cdn/GPFUUN4S.js +2 -0
- package/dist/cdn/GZMD3CHM.js +2 -0
- package/dist/cdn/IUEJQSHN.js +2 -0
- package/dist/cdn/IWZGZMX6.js +2 -0
- package/dist/cdn/IYKORYCU.js +2 -0
- package/dist/cdn/JFJUDIL5.js +2 -0
- package/dist/cdn/JJZJQKJ7.js +2 -0
- package/dist/cdn/JQUEIPJM.js +2 -0
- package/dist/cdn/JUUAJRZL.js +2 -0
- package/dist/cdn/K5YLAY6S.js +2 -0
- package/dist/cdn/KFLV6UTY.js +2 -0
- package/dist/cdn/KG3HGCFM.js +3 -0
- package/dist/cdn/KGNYAMFB.js +2 -0
- package/dist/cdn/KQT7JVNY.js +2 -0
- package/dist/cdn/LYZ2BI6S.js +2 -0
- package/dist/cdn/LYZEJBJB.js +2 -0
- package/dist/cdn/{KZ37E2J3.js → LZNL4CV3.js} +7 -7
- package/dist/cdn/LZUBK4Y5.js +2 -0
- package/dist/cdn/M6YTZSLD.js +2 -0
- package/dist/cdn/MPSJO3NU.js +2 -0
- package/dist/cdn/MPZMZK5R.js +2 -0
- package/dist/cdn/MQ7MXVMT.js +2 -0
- package/dist/cdn/{FPDW4F45.js → MZ2UZAFW.js} +1 -1
- package/dist/cdn/N32IFIUI.js +2 -0
- package/dist/cdn/{SBHIJW76.js → NBJBPYA2.js} +1 -1
- package/dist/cdn/NM66MDET.js +2 -0
- package/dist/cdn/NPO4SDNK.js +2 -0
- package/dist/cdn/NQAPPISU.js +2 -0
- package/dist/cdn/OC4AGIFL.js +4 -0
- package/dist/cdn/OCXBOWOM.js +2 -0
- package/dist/cdn/OGMXTHXV.js +2 -0
- package/dist/cdn/OX67HV5F.js +2 -0
- package/dist/cdn/PCVQ32L2.js +2 -0
- package/dist/cdn/PMCBQWG5.js +2 -0
- package/dist/cdn/QQK3JRMK.js +2 -0
- package/dist/cdn/QRF67OZ6.js +2 -0
- package/dist/cdn/QUBBT3UI.js +2 -0
- package/dist/cdn/QVD6LHQ2.js +2 -0
- package/dist/cdn/R36FFLAK.js +2 -0
- package/dist/cdn/RMSBARGT.js +2 -0
- package/dist/cdn/SA7LTNBC.js +2 -0
- package/dist/cdn/SBS4J65N.js +2 -0
- package/dist/cdn/SEXKEROR.js +2 -0
- package/dist/cdn/SHL2WOKL.js +2 -0
- package/dist/cdn/SOBQNL3F.js +2 -0
- package/dist/cdn/SP7GTIB6.js +2 -0
- package/dist/cdn/{HAJ2VWEU.js → TJQGGNGV.js} +1 -1
- package/dist/cdn/TJXGZSYI.js +2 -0
- package/dist/cdn/TOO3T62Y.js +2 -0
- package/dist/cdn/{TLAROKSH.js → TWPDFIMS.js} +7 -7
- package/dist/cdn/U6UQNHOP.js +2 -0
- package/dist/cdn/U7L3L6IV.js +2 -0
- package/dist/cdn/UCOEISEJ.js +2 -0
- package/dist/cdn/UK2A3DRS.js +2 -0
- package/dist/cdn/UMIE7QTI.js +2 -0
- package/dist/cdn/UNP56UTH.js +2 -0
- package/dist/cdn/USBY2OTE.js +233 -0
- package/dist/cdn/V4ZIXNE7.js +2 -0
- package/dist/cdn/VAYTI47W.js +2 -0
- package/dist/cdn/VSMEGSAF.js +2 -0
- package/dist/cdn/WNBE3M6N.js +2 -0
- package/dist/cdn/WNPGSUOD.js +2 -0
- package/dist/cdn/X4KJPDSH.js +2 -0
- package/dist/cdn/XKKX3CII.js +102 -0
- package/dist/cdn/XLHC66GD.js +2 -0
- package/dist/cdn/XOB365BI.js +2 -0
- package/dist/cdn/XSLPAQG4.js +2 -0
- package/dist/cdn/XXOKUKRB.js +2 -0
- package/dist/cdn/XZS5J3VG.js +2 -0
- package/dist/cdn/{ZXIRDWJW.js → YAVQSNZ6.js} +1 -1
- package/dist/cdn/{7Y4VKXLD.js → YFWY6CRD.js} +1 -1
- package/dist/cdn/YKGXUFVU.js +2 -0
- package/dist/cdn/YPAU2LAJ.js +2 -0
- package/dist/cdn/Z2K2NPKK.js +58 -0
- package/dist/cdn/{6DSWJCEU.js → ZEORTNK3.js} +1 -1
- package/dist/cdn/ZFK5TSOH.js +2 -0
- package/dist/cdn/ZZ7NV5AS.js +2 -0
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.zh-TW.json +1 -1
- 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.en.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/charts-config-pie-chart-slices/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/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/model/shared/setup-utils.js +2 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +12 -0
- package/dist/chart-rendering/common/interfaces.d.ts +89 -27
- package/dist/chunks/axis-lines-symbol.js +15 -15
- package/dist/chunks/bar-chart-model.js +24 -44
- package/dist/chunks/bar-chart-series.js +10 -35
- package/dist/chunks/box-plot-data.js +195 -215
- package/dist/chunks/box-plot-model.js +124 -116
- package/dist/chunks/chart-model.js +231 -191
- package/dist/chunks/chart-object-literals.js +189 -0
- package/dist/chunks/chart-ui-utils.js +17 -16
- package/dist/chunks/chart-ui-utils2.js +92 -112
- package/dist/chunks/class-breaks.js +446 -147
- package/dist/chunks/combo-bar-line-chart-model.js +32 -23
- package/dist/chunks/common.js +2 -2
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/{model-with-tooltips.js → data-labels-visibility.js} +114 -147
- package/dist/chunks/data.js +72 -74
- package/dist/chunks/default.js +6 -7
- package/dist/chunks/gauge-model.js +232 -194
- package/dist/chunks/generate-x-axis-title.js +38 -60
- package/dist/chunks/heat-chart-model.js +220 -168
- package/dist/chunks/histogram-data.js +54 -73
- package/dist/chunks/histogram-model.js +31 -20
- package/dist/chunks/index.js +575 -19245
- package/dist/chunks/index2.js +8726 -601
- package/dist/chunks/index3.js +875 -161
- package/dist/chunks/index4.js +10832 -82
- package/dist/chunks/index5.js +100 -63
- package/dist/chunks/index6.js +63 -15
- package/dist/chunks/interfaces.js +31 -32
- package/dist/chunks/line-chart-model.js +25 -24
- package/dist/chunks/model-setter.js +44 -34
- package/dist/chunks/model-types.js +43 -0
- package/dist/chunks/model-with-x-guides.js +6 -6
- package/dist/chunks/model-with-y-guides.js +82 -104
- package/dist/chunks/negative-values-stacked-to-baseline.js +46 -70
- package/dist/chunks/pie-chart-data.js +90 -107
- package/dist/chunks/pie-chart-model.js +85 -96
- package/dist/chunks/radar-chart-model.js +36 -58
- package/dist/chunks/resource.js +8 -10
- package/dist/chunks/resources.js +15 -0
- package/dist/chunks/rest-js-object-literals.js +26 -25
- package/dist/chunks/rotated-state.js +31 -41
- package/dist/chunks/scatterplot-model.js +94 -111
- package/dist/chunks/serial-chart-data.js +825 -643
- package/dist/chunks/serial-chart-model.js +208 -206
- package/dist/chunks/series-length.js +25 -48
- package/dist/chunks/series-types.js +21 -196
- package/dist/chunks/series.js +9 -33
- package/dist/chunks/store.js +27 -18
- package/dist/chunks/time-zone.js +38 -0
- package/dist/chunks/type-guards.js +23 -128
- package/dist/chunks/type-guards2.js +104 -0
- package/dist/chunks/type-guards3.js +173 -0
- package/dist/chunks/utils.js +133 -147
- package/dist/chunks/utils2.js +34 -58
- package/dist/chunks/web-component-utils.js +663 -319
- package/dist/chunks/x-bounds.js +309 -0
- package/dist/components/arcgis-chart/customElement.d.ts +395 -127
- package/dist/components/arcgis-chart/customElement.js +17480 -17377
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +32 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +41 -48
- package/dist/components/arcgis-charts-config-axes/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-axis/customElement.js +16 -17
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +37 -59
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +59 -69
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +47 -63
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +37 -59
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +16 -39
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +13 -35
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +87 -106
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +30 -49
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +14 -36
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +28 -50
- package/dist/components/arcgis-charts-config-category-format/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +17 -40
- package/dist/components/arcgis-charts-config-color-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +189 -200
- package/dist/components/arcgis-charts-config-font-style/customElement.js +36 -58
- package/dist/components/arcgis-charts-config-format/customElement.js +68 -90
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +13 -40
- package/dist/components/arcgis-charts-config-general/customElement.js +30 -51
- package/dist/components/arcgis-charts-config-guide/customElement.js +40 -52
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +20 -47
- package/dist/components/arcgis-charts-config-guides/customElement.js +5 -7
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +10 -34
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +24 -46
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +166 -219
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +52 -70
- package/dist/components/arcgis-charts-config-histogram/customElement.js +31 -53
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +64 -82
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +34 -53
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +28 -50
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +41 -59
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +50 -68
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +33 -56
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +16 -39
- package/dist/components/arcgis-charts-config-line-style/customElement.js +18 -20
- package/dist/components/arcgis-charts-config-number-format/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +42 -64
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +24 -44
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +43 -62
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +39 -61
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +16 -39
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +36 -57
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +72 -90
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +17 -38
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +24 -42
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +23 -46
- package/dist/components/arcgis-charts-info-modal/customElement.js +25 -53
- 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 +65 -3
- package/dist/index.js +476 -409
- package/dist/interfaces.d.ts +12 -1
- package/dist/json-schema/index.d.ts +4859 -4531
- package/dist/loader.js +15 -15
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -3
- package/dist/model/box-plot-model/box-plot-model.d.ts +31 -22
- package/dist/model/chart-model/chart-model-base.d.ts +2 -3
- package/dist/model/chart-model/chart-model.d.ts +2 -1
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +18 -11
- package/dist/model/gauge-model/gauge-model.d.ts +54 -15
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +108 -38
- package/dist/model/histogram-model/histogram-model.d.ts +18 -4
- package/dist/model/interfaces/chart-interfaces.d.ts +9 -6
- package/dist/model/interfaces/common.d.ts +7 -3
- package/dist/model/line-chart-model/line-chart-model.d.ts +3 -4
- package/dist/model/mixins/model-with-guides.d.ts +11 -0
- package/dist/model/mixins/model-with-legend.d.ts +3 -15
- package/dist/model/mixins/model-with-temporal-binning.d.ts +7 -7
- package/dist/model/mixins/model-with-tooltips.d.ts +5 -5
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +6 -6
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +19 -11
- package/dist/model/properties/axes/x-axis/max-x-bound.d.ts +5 -1
- package/dist/model/properties/axes/x-axis/min-x-bound.d.ts +5 -1
- package/dist/model/properties/axes/x-axis/x-axis-title-visibility.d.ts +2 -2
- package/dist/model/properties/axes/x-axis/x-bounds.d.ts +2 -3
- package/dist/model/properties/chart-renderer.d.ts +44 -1
- package/dist/model/properties/color-match.d.ts +0 -1
- package/dist/model/properties/data-filters.d.ts +1 -1
- package/dist/model/properties/data-labels/data-labels-visibility.d.ts +1 -4
- package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
- package/dist/model/properties/description/description-visibility.d.ts +0 -4
- package/dist/model/properties/layer.d.ts +2 -2
- package/dist/model/properties/rotated-state.d.ts +6 -0
- package/dist/model/properties/subtitle/subtitle-visibility.d.ts +0 -4
- package/dist/model/properties/time-zone.d.ts +7 -0
- package/dist/model/properties/title/title-visibility.d.ts +0 -4
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +0 -1
- package/dist/model/scatterplot-model/scatterplot-model.d.ts +3 -4
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +26 -29
- package/dist/model/shared/setup-utils.d.ts +18 -8
- package/dist/model/shared/setup-utils.js +80 -0
- package/dist/model/shared/type-guards.d.ts +8 -0
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/data-source.d.ts +14 -1
- package/dist/spec/rest-js-object-literals.d.ts +32 -19
- package/dist/spec/rest-js-types.d.ts +355 -83
- package/dist/spec/web-chart.d.ts +62 -7
- package/dist/types/lumina.d.ts +2 -3
- package/dist/types/preact.d.ts +2 -3
- package/dist/types/react.d.ts +2 -3
- package/dist/types/stencil.d.ts +2 -3
- package/dist/utils/chart-config/converter/index.d.ts +4 -3
- package/dist/utils/chart-config/converter/index.js +723 -0
- package/dist/utils/chart-config/utils/index.d.ts +82 -14
- package/dist/utils/chart-config/validator/index.d.ts +5 -2
- package/dist/utils/chart-config/validator/interfaces.d.ts +3 -1
- package/dist/utils/components/event-payloads.d.ts +3 -3
- package/dist/utils/components/themes.d.ts +8 -0
- package/dist/utils/components/watch-handlers.d.ts +14 -0
- package/dist/utils/data/categorical-data/index.d.ts +5 -2
- package/dist/utils/data/index.d.ts +127 -5
- package/dist/utils/data/interfaces.d.ts +2 -1
- package/dist/utils/data/pie-chart/index.d.ts +31 -0
- package/dist/utils/defaults/index.d.ts +45 -4
- package/dist/utils/defaults/interfaces.d.ts +3 -0
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/errors/interfaces.d.ts +1 -0
- package/dist/utils/layer/index.d.ts +100 -51
- package/dist/utils/layer/inline-conversion/index.d.ts +4 -1
- package/dist/utils/layer/interfaces.d.ts +11 -46
- package/dist/utils/layer/query-features/index.d.ts +27 -6
- package/dist/utils/layer/query-features/interfaces.d.ts +1 -1
- package/dist/utils/layer/query-parser/index.d.ts +17 -11
- package/dist/utils/layer/utils/index.d.ts +114 -24
- package/dist/utils/localization/index.d.ts +3 -19
- package/dist/utils/localization/interfaces.d.ts +24 -0
- package/dist/utils/misc/index.d.ts +18 -3
- package/dist/utils/misc/interfaces.d.ts +2 -0
- package/dist/utils/type-guards/index.d.ts +11 -3
- package/dist/utils/ui/popover-ui-utils.d.ts +1 -1
- package/package.json +14 -13
- package/dist/cdn/2GBP6LGY.js +0 -2
- package/dist/cdn/2OGUU3CF.js +0 -2
- package/dist/cdn/3BNWRE6L.js +0 -2
- package/dist/cdn/3VO44B7D.js +0 -2
- package/dist/cdn/42CBESL3.js +0 -2
- package/dist/cdn/4HMKO62F.js +0 -2
- package/dist/cdn/4OFL4DZ6.js +0 -2
- package/dist/cdn/5I3OUQTR.js +0 -2
- package/dist/cdn/5VJHYLNY.js +0 -2
- package/dist/cdn/5ZACNPVJ.js +0 -2
- package/dist/cdn/6HU6FAC6.js +0 -2
- package/dist/cdn/6KBG6RP6.js +0 -2
- package/dist/cdn/6M6WBVYN.js +0 -4
- package/dist/cdn/6VF4IR4F.js +0 -2
- package/dist/cdn/6WQPKBUS.js +0 -2
- package/dist/cdn/6XWAXH7N.js +0 -2
- package/dist/cdn/765I3ZAW.js +0 -2
- package/dist/cdn/7674OZSU.js +0 -2
- package/dist/cdn/7WSRTSZZ.js +0 -2
- package/dist/cdn/AHQERXHV.js +0 -2
- package/dist/cdn/AUADM5NG.js +0 -2
- package/dist/cdn/B7QTRVCQ.js +0 -2
- package/dist/cdn/BGQU34UF.js +0 -2
- package/dist/cdn/BIXBHHBG.js +0 -2
- package/dist/cdn/BJPCRXMJ.js +0 -2
- package/dist/cdn/BT4LJVAF.js +0 -2
- package/dist/cdn/C2DPLSKQ.js +0 -99
- package/dist/cdn/CCJPPUD5.js +0 -2
- package/dist/cdn/CHFLNVTL.js +0 -4
- package/dist/cdn/D3UHKVZO.js +0 -2
- package/dist/cdn/DANH74KX.js +0 -2
- package/dist/cdn/DC3YXOWG.js +0 -2
- package/dist/cdn/DGTF5KBL.js +0 -2
- package/dist/cdn/DJ2JCF2Z.js +0 -2
- package/dist/cdn/DNUPG7VD.js +0 -2
- package/dist/cdn/EGVWQ5QI.js +0 -2
- package/dist/cdn/ETLJKITO.js +0 -2
- package/dist/cdn/EVWSDR7F.js +0 -2
- package/dist/cdn/EZERSYWI.js +0 -2
- package/dist/cdn/F6HBDWVT.js +0 -2
- package/dist/cdn/FAECWPBC.js +0 -2
- package/dist/cdn/FBAR5IQV.js +0 -2
- package/dist/cdn/FPBBWTJ7.js +0 -2
- package/dist/cdn/G4WF6WDJ.js +0 -2
- package/dist/cdn/GAT6YWBR.js +0 -2
- package/dist/cdn/GOAURRVY.js +0 -2
- package/dist/cdn/GSURW4J2.js +0 -2
- package/dist/cdn/GTKFDAG2.js +0 -2
- package/dist/cdn/HSGXKSXR.js +0 -2
- package/dist/cdn/HY3AHYRS.js +0 -2
- package/dist/cdn/I5POLUDA.js +0 -2
- package/dist/cdn/IL6RVDTN.js +0 -2
- package/dist/cdn/IRNA25SY.js +0 -2
- package/dist/cdn/IUCZUNSN.js +0 -2
- package/dist/cdn/J6B3ULGY.js +0 -2
- package/dist/cdn/JO7NKRXG.js +0 -2
- package/dist/cdn/JULC3HIR.js +0 -2
- package/dist/cdn/KXYJRENV.js +0 -2
- package/dist/cdn/KZ7WEJMS.js +0 -2
- package/dist/cdn/LYMI3DMY.js +0 -2
- package/dist/cdn/MBW3D76D.js +0 -2
- package/dist/cdn/MQRYPCTS.js +0 -56
- package/dist/cdn/OJVBOAAT.js +0 -2
- package/dist/cdn/OS66RJR7.js +0 -2
- package/dist/cdn/PEYLNVQV.js +0 -2
- package/dist/cdn/PG3CT7L3.js +0 -2
- package/dist/cdn/PVGRL7VZ.js +0 -2
- package/dist/cdn/PVXGKZVZ.js +0 -2
- package/dist/cdn/Q3HJ2HSW.js +0 -2
- package/dist/cdn/QF7PCBW5.js +0 -2
- package/dist/cdn/RAIAMGBU.js +0 -2
- package/dist/cdn/RKJSPRUA.js +0 -2
- package/dist/cdn/RSUXZY3D.js +0 -2
- package/dist/cdn/RUUYSZO3.js +0 -2
- package/dist/cdn/S2ISMBYM.js +0 -2
- package/dist/cdn/S67SLZ3A.js +0 -2
- package/dist/cdn/SPAXIJWK.js +0 -2
- package/dist/cdn/SQILD7Z2.js +0 -2
- package/dist/cdn/SV7MPF6L.js +0 -2
- package/dist/cdn/T644743R.js +0 -2
- package/dist/cdn/T7RVMAUJ.js +0 -2
- package/dist/cdn/TAL3BNJ3.js +0 -2
- package/dist/cdn/TH4EJL7K.js +0 -2
- package/dist/cdn/TLSTPQNA.js +0 -2
- package/dist/cdn/TPHTAB5C.js +0 -2
- package/dist/cdn/TX3KD6VF.js +0 -2
- package/dist/cdn/UPTOIOLY.js +0 -2
- package/dist/cdn/URGHTMWW.js +0 -2
- package/dist/cdn/VPTDXGKU.js +0 -2
- package/dist/cdn/VXQBM2SM.js +0 -2
- package/dist/cdn/W2YVO2P7.js +0 -2
- package/dist/cdn/WFBBPRYH.js +0 -2
- package/dist/cdn/XL7CBYJC.js +0 -2
- package/dist/cdn/XPXOMNMW.js +0 -2
- package/dist/cdn/XQ26L3RE.js +0 -4
- package/dist/cdn/Y3REH3BA.js +0 -2
- package/dist/cdn/Y3VACZBQ.js +0 -2
- package/dist/cdn/YDA7XMPU.js +0 -2
- package/dist/cdn/YFXR7ZYV.js +0 -2
- package/dist/cdn/YIKJG4UK.js +0 -2
- package/dist/cdn/YIKSQASL.js +0 -2
- package/dist/cdn/YUFKLXMQ.js +0 -2
- package/dist/cdn/ZC5R7PBX.js +0 -2
- package/dist/cdn/ZIE7F4JI.js +0 -2
- package/dist/cdn/ZO6DLOCP.js +0 -2
- package/dist/cdn/ZXLV67U3.js +0 -2
- package/dist/chunks/action-bar-utils.js +0 -173
- package/dist/chunks/bg_BG2.js +0 -10
- package/dist/chunks/model-with-guides.js +0 -318
- package/dist/chunks/setup-utils.js +0 -79
- package/dist/chunks/sk_SK.js +0 -10
- package/dist/model/index.d.ts +0 -18
- package/dist/model.js +0 -41
- package/dist/spec/index.d.ts +0 -8
- package/dist/utils/index.d.ts +0 -33
- /package/dist/cdn/{HMT3JTMG.js → 27Y4YBZ7.js} +0 -0
- /package/dist/cdn/{U4ISG3LR.js → 2W64WSBS.js} +0 -0
- /package/dist/cdn/{BR3ALHVA.js → 3S33OYZS.js} +0 -0
- /package/dist/cdn/{UEMWKNMI.js → 47SEEPGM.js} +0 -0
- /package/dist/cdn/{EWEIXVOU.js → 4CEOP4CL.js} +0 -0
- /package/dist/cdn/{CKWUM3SY.js → 4NXQY2SY.js} +0 -0
- /package/dist/cdn/{YULUAO7O.js → 4RZOR2GZ.js} +0 -0
- /package/dist/cdn/{ZC5365MX.js → 5S37PAVK.js} +0 -0
- /package/dist/cdn/{HKELFQPO.js → 5VCKTFEN.js} +0 -0
- /package/dist/cdn/{X5UHCHZM.js → 6SLYYVAM.js} +0 -0
- /package/dist/cdn/{A2WV46QM.js → 75WJAOD5.js} +0 -0
- /package/dist/cdn/{XK4EUXXR.js → 76OQVFII.js} +0 -0
- /package/dist/cdn/{GFVH7DHZ.js → 7GXB5ABV.js} +0 -0
- /package/dist/cdn/{7NOHRYD3.js → 7S4C7DMD.js} +0 -0
- /package/dist/cdn/{32O5MEYJ.js → A52S6LGL.js} +0 -0
- /package/dist/cdn/{FZASRZA2.js → BR7YHHRO.js} +0 -0
- /package/dist/cdn/{WH2TRB3A.js → D63ZM4I6.js} +0 -0
- /package/dist/cdn/{ID6N7QNG.js → DGYDZT63.js} +0 -0
- /package/dist/cdn/{PRD6ZJEL.js → DTU5F26A.js} +0 -0
- /package/dist/cdn/{KWJV56HI.js → FCE53PT5.js} +0 -0
- /package/dist/cdn/{4GKUGLVH.js → G626QVCR.js} +0 -0
- /package/dist/cdn/{62HEZAUJ.js → GBLD6EF5.js} +0 -0
- /package/dist/cdn/{3IHBY347.js → HM7TTHYN.js} +0 -0
- /package/dist/cdn/{Z7GUX5TP.js → JHXWK5HY.js} +0 -0
- /package/dist/cdn/{FFXMIDHG.js → LZTVRB5K.js} +0 -0
- /package/dist/cdn/{2M7DGPP4.js → N4ZIPC6C.js} +0 -0
- /package/dist/cdn/{43DSND6O.js → NF4ADSMI.js} +0 -0
- /package/dist/cdn/{SXJYUHC3.js → OPJ6LPA2.js} +0 -0
- /package/dist/cdn/{S5OM65RV.js → PDWS67CW.js} +0 -0
- /package/dist/cdn/{GCSXWMLO.js → QSAYNOYT.js} +0 -0
- /package/dist/cdn/{MVVZ33P6.js → SEV3K4MK.js} +0 -0
- /package/dist/cdn/{ZPBMAHUW.js → U6BD2QQW.js} +0 -0
- /package/dist/cdn/{PXMYYJVU.js → WXLU5XAQ.js} +0 -0
- /package/dist/cdn/{HKCUVPIO.js → XQL5X2VK.js} +0 -0
- /package/dist/cdn/{QWDNTO5I.js → Y4YDLI6O.js} +0 -0
- /package/dist/cdn/{2EGXIJ46.js → YIK7I32W.js} +0 -0
- /package/dist/cdn/{ZP7BWBOI.js → ZYBUK2GC.js} +0 -0
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { DataUpdateDetails } from "../../data/interfaces.js";
|
|
3
|
-
import type { ChartSubType } from "../../misc/interfaces.js";
|
|
4
|
-
import type { WebChartSeriesSupportingTemporalBinning } from "./interfaces.js";
|
|
1
|
+
import type { DataOrderParameters } from "../../../chart-rendering/common/data/utils/summarize-data/interfaces.js";
|
|
5
2
|
import type { WebChartTypes, WebChartVersionStatus } from "../../../spec/chart-object-literals.js";
|
|
6
|
-
import type { WebBoxPlot, WebChart, WebChartLegend, WebChartSeriesType, WebHeatChart } from "../../../spec/web-chart.js";
|
|
7
3
|
import type { RESTSymbolType } from "../../../spec/rest-js-object-literals.js";
|
|
8
|
-
import type { TimeIntervalInfo } from "../../../spec/data-source.js";
|
|
9
4
|
import type { IField } from "../../../spec/rest-js-types.js";
|
|
5
|
+
import type { WebBoxPlot, WebChart, WebChartLegend, WebChartSeriesType, WebHeatChart } from "../../../spec/web-chart.js";
|
|
6
|
+
import type { DataUpdateDetails } from "../../data/interfaces.js";
|
|
7
|
+
import type { ChartElementLimit } from "../../defaults/interfaces.js";
|
|
8
|
+
import type { QueryObjectOrRaster as QueryObject } from "../../layer/interfaces.js";
|
|
9
|
+
import type { ChartSubType, SelectionData } from "../../misc/interfaces.js";
|
|
10
|
+
import type { WebChartSeriesSupportingTemporalBinning } from "./interfaces.js";
|
|
11
|
+
import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
|
|
12
|
+
import type { WebChartBin, WebChartDataItem } from "../../../spec/data-source.js";
|
|
10
13
|
|
|
11
14
|
/**
|
|
12
15
|
* Retrieve and construct chart version information based on the input version and the currently supported ArcGIS Chart versions
|
|
@@ -94,6 +97,7 @@ export function isAbsoluteTruthWhereClause(where?: string): boolean;
|
|
|
94
97
|
* - where = "field = 5" => returns "field = 5"
|
|
95
98
|
* - where = "field = 'value'" => returns "field = 'value'"
|
|
96
99
|
* - where = "field = 'va'lue'" => returns "field = 'va''lue'"
|
|
100
|
+
* - where = "field = null => returns "field IS NULL"
|
|
97
101
|
*
|
|
98
102
|
* @param props - the where clause to normalize
|
|
99
103
|
* @internal
|
|
@@ -127,6 +131,33 @@ export function getBoxPlotChartSubType(seriesConfig: WebChartSeriesType[]): Char
|
|
|
127
131
|
*/
|
|
128
132
|
export function getChartSubType(series?: WebChartSeriesType[]): ChartSubType;
|
|
129
133
|
|
|
134
|
+
/**
|
|
135
|
+
* A function to determine whether the scatterplot is aggregated.
|
|
136
|
+
* It can use a map of statistics containing the number of points (computed from the data side) or
|
|
137
|
+
* a data context object usually stored within each marker.
|
|
138
|
+
*
|
|
139
|
+
* @param props - an optional map of statistics
|
|
140
|
+
* @returns A boolean indicating whether the scatterplot is aggregated
|
|
141
|
+
*/
|
|
142
|
+
export function isScatterplotAggregated(props: {
|
|
143
|
+
statsMap?: Map<string, number>;
|
|
144
|
+
dataContext?: WebChartDataItem;
|
|
145
|
+
chartLimits?: ChartElementLimit;
|
|
146
|
+
}): boolean;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* A function to determine whether a chart is aggregated.
|
|
150
|
+
* Supports scatterplot, bar, line, combo, and pie chart. Defaults to true for the other types of chart.
|
|
151
|
+
*
|
|
152
|
+
* @param props - An optional data context object
|
|
153
|
+
* @returns A boolean indicating whether the chart is aggregated
|
|
154
|
+
*/
|
|
155
|
+
export function isChartAggregated(props: {
|
|
156
|
+
dataContext?: WebChartBin | WebChartDataItem;
|
|
157
|
+
chartConfig: WebChart;
|
|
158
|
+
chartLimits?: ChartElementLimit;
|
|
159
|
+
}): boolean;
|
|
160
|
+
|
|
130
161
|
/**
|
|
131
162
|
* Indicates whether the bar or line series is configured to use time binning.
|
|
132
163
|
*
|
|
@@ -137,6 +168,7 @@ export function isSeriesUsingTimeBinning(props: {
|
|
|
137
168
|
seriesConfig: WebChartSeriesType;
|
|
138
169
|
xAxisValueFormatType?: WebChartTypes;
|
|
139
170
|
setTimeBinningInfoWhenNotProvided?: boolean;
|
|
171
|
+
queryObject?: QueryObject;
|
|
140
172
|
}): boolean;
|
|
141
173
|
|
|
142
174
|
/**
|
|
@@ -145,7 +177,7 @@ export function isSeriesUsingTimeBinning(props: {
|
|
|
145
177
|
* @param series - The series to test
|
|
146
178
|
* @internal
|
|
147
179
|
*/
|
|
148
|
-
export function doesSeriesSupportTemporalBinning(series
|
|
180
|
+
export function doesSeriesSupportTemporalBinning(series?: WebChartSeriesType): series is WebChartSeriesSupportingTemporalBinning;
|
|
149
181
|
|
|
150
182
|
/**
|
|
151
183
|
* Compares two config data filters and returns true if they are identical, false otherwise
|
|
@@ -203,7 +235,7 @@ export function hasAdditionalTooltipFieldsChanged(props: {
|
|
|
203
235
|
* @param newConfig - The updated config
|
|
204
236
|
* @internal
|
|
205
237
|
*/
|
|
206
|
-
export function hasColorMatchChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
|
|
238
|
+
export function hasColorMatchChanged(oldConfig: WebChart | undefined, newConfig: WebChart): boolean;
|
|
207
239
|
|
|
208
240
|
/**
|
|
209
241
|
* Compares two configs and indicates whether the stacked type changed
|
|
@@ -267,7 +299,7 @@ export function hasHeatRulesTypeChanged(oldConfig: WebHeatChart, newConfig: WebH
|
|
|
267
299
|
* @internal
|
|
268
300
|
*/
|
|
269
301
|
export function hasSlicesConfigChanged(props: {
|
|
270
|
-
oldConfig: WebChart;
|
|
302
|
+
oldConfig: WebChart | undefined;
|
|
271
303
|
newConfig: WebChart;
|
|
272
304
|
}): boolean;
|
|
273
305
|
|
|
@@ -277,7 +309,8 @@ export function hasSlicesConfigChanged(props: {
|
|
|
277
309
|
*/
|
|
278
310
|
export function hasDataForFilterBySelectionChanged(props: {
|
|
279
311
|
previousSelectionOIDs?: (number | string)[];
|
|
280
|
-
|
|
312
|
+
selectionData?: SelectionData;
|
|
313
|
+
filterBySelection?: boolean;
|
|
281
314
|
}): boolean;
|
|
282
315
|
|
|
283
316
|
/**
|
|
@@ -368,7 +401,7 @@ export function hasStandardizeValuesVisibilityChanged(oldConfig: WebBoxPlot, new
|
|
|
368
401
|
* @param newConfig - the new chart config
|
|
369
402
|
* @internal
|
|
370
403
|
*/
|
|
371
|
-
export function hasChartRendererChanged(oldConfig
|
|
404
|
+
export function hasChartRendererChanged(oldConfig?: WebChart, newConfig?: WebChart): boolean;
|
|
372
405
|
|
|
373
406
|
/**
|
|
374
407
|
* Returns true if the 'timeZone' property from the axis value format changed in the chart config since the previous update.
|
|
@@ -407,11 +440,14 @@ export function doSizePolicyChangesRequireSeriesReinit(oldConfig: WebChart, newC
|
|
|
407
440
|
export function doesConfigChangeRequireNewData(props: {
|
|
408
441
|
previousConfig: WebBoxPlot | WebChart;
|
|
409
442
|
newConfig: WebBoxPlot | WebChart;
|
|
410
|
-
options?: ChartOptions;
|
|
411
443
|
previousFilterBySelection?: boolean;
|
|
412
|
-
previousTimeIntervalInfo?: TimeIntervalInfo;
|
|
413
444
|
previousSelectionOIDs?: (number | string)[];
|
|
414
445
|
fieldList?: IField[];
|
|
446
|
+
queryObject?: QueryObject;
|
|
447
|
+
filterBySelection?: ChartOptions["filterBySelection"];
|
|
448
|
+
selectionData?: ChartOptions["selectionData"];
|
|
449
|
+
setTimeBinningInfoWhenNotProvided?: ChartOptions["setTimeBinningInfoWhenNotProvided"];
|
|
450
|
+
chartLimits?: ChartOptions["chartLimits"];
|
|
415
451
|
}): {
|
|
416
452
|
dataUpdateNeeded: boolean;
|
|
417
453
|
dataUpdateDetails: DataUpdateDetails;
|
|
@@ -426,4 +462,36 @@ export function doesConfigChangeRequireNewData(props: {
|
|
|
426
462
|
* @returns The updated chart config with the series sorted, or undefined if the input config is undefined
|
|
427
463
|
* @internal
|
|
428
464
|
*/
|
|
429
|
-
export function sortConfigSeries<T extends WebChart | undefined>(chartConfig: T, chartContainer?: HTMLElement): T;
|
|
465
|
+
export function sortConfigSeries<T extends WebChart | undefined>(chartConfig: T, chartContainer?: HTMLElement): T;
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* Retrieves the configured sort order for one heat-chart axis.
|
|
469
|
+
*
|
|
470
|
+
* This allows x and y category lists to be ordered independently from the flattened cell data traversal.
|
|
471
|
+
*
|
|
472
|
+
* @param props - The chart config containing the heat-chart multi-axis sort instructions
|
|
473
|
+
*/
|
|
474
|
+
export function getHeatChartAxisDataOrderInstruction(props: {
|
|
475
|
+
chartConfig: WebHeatChart;
|
|
476
|
+
field: string;
|
|
477
|
+
}): string[] | string | undefined;
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* Constructs the `sortingField`, `orderBy`, and/or optionally `preferLabel` for sorting the chart data.
|
|
481
|
+
*
|
|
482
|
+
* @param chartConfig - The chart configuration
|
|
483
|
+
* @returns An array of objects with sortingField, optionally an orderBy and preferLabel, or undefined.
|
|
484
|
+
*/
|
|
485
|
+
export function getDataOrderParameters(chartConfig: WebChart | undefined): DataOrderParameters[] | undefined;
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* Returns true if the data order instructions (orderType or sortingField, orderBy, and/or preferLabel) have changed, or
|
|
489
|
+
* the data update is needed.
|
|
490
|
+
*
|
|
491
|
+
* @param props - The previous chart config
|
|
492
|
+
*/
|
|
493
|
+
export function isNewSortNeeded(props: {
|
|
494
|
+
oldConfig: WebChart | undefined;
|
|
495
|
+
newConfig: WebChart;
|
|
496
|
+
dataWasUpdated: boolean;
|
|
497
|
+
}): boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { QueryObjectOrRaster } from "../../layer/interfaces.js";
|
|
2
2
|
import type { ValidationStatus } from "./interfaces.js";
|
|
3
|
+
import type { CommonStrings } from "../../localization/interfaces.js";
|
|
3
4
|
import type { WebChart, WebGaugeChart } from "../../../spec/web-chart.js";
|
|
4
5
|
|
|
5
6
|
/**
|
|
@@ -8,13 +9,15 @@ import type { WebChart, WebGaugeChart } from "../../../spec/web-chart.js";
|
|
|
8
9
|
* - `Errors`: Violations in the config with regard to the JSON schema.
|
|
9
10
|
* - `Warnings`: Undesired combinations in the config which don't violate the JSON schema but should still be blocked.
|
|
10
11
|
*
|
|
12
|
+
* @deprecated since 5.1. Won't be replaced.
|
|
11
13
|
* @param props - The input config, the query object and whether to allow using the object id field as a statistic field.
|
|
12
14
|
* @returns The validation status.
|
|
13
15
|
*/
|
|
14
16
|
export function validateWebChart(props: {
|
|
15
17
|
input?: WebChart | WebGaugeChart;
|
|
16
|
-
queryObject?:
|
|
18
|
+
queryObject?: QueryObjectOrRaster;
|
|
17
19
|
allowUsingObjectIdStat?: boolean;
|
|
20
|
+
errorStrings?: CommonStrings["errorStrings"];
|
|
18
21
|
}): Promise<ValidationStatus>;
|
|
19
22
|
|
|
20
23
|
/**
|
|
@@ -30,6 +30,7 @@ export interface CustomErrorObject {
|
|
|
30
30
|
/**
|
|
31
31
|
* Validation Status interface which described the validity of the input WebChart config
|
|
32
32
|
*
|
|
33
|
+
* @deprecated since 5.1. Won't be replaced.
|
|
33
34
|
* @internal
|
|
34
35
|
*/
|
|
35
36
|
export interface ValidationStatus {
|
|
@@ -55,6 +56,7 @@ export const ConfigErrorKeywords: {
|
|
|
55
56
|
export const DataWarningKeywords: {
|
|
56
57
|
readonly BadData: "badData";
|
|
57
58
|
readonly EmptyDataSet: "emptyDataSet";
|
|
59
|
+
readonly NoValue: "noValue";
|
|
58
60
|
readonly InvalidConfig: "invalidConfig";
|
|
59
61
|
readonly HistogramEmptyField: "histogramEmptyField";
|
|
60
62
|
readonly BarElementExceedsLimit: "barElementExceedsLimit";
|
|
@@ -83,7 +85,7 @@ export interface ElementCountExceededParams {
|
|
|
83
85
|
/** @internal */
|
|
84
86
|
export interface DataWarningObject {
|
|
85
87
|
keyword: DataWarningKeywords;
|
|
86
|
-
header
|
|
88
|
+
header?: string;
|
|
87
89
|
message: string;
|
|
88
90
|
params?: ElementCountExceededParams;
|
|
89
91
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
2
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
3
|
-
import type { DOMContainerAria } from "@arcgis/core/views/DOMContainer";
|
|
1
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
2
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
3
|
+
import type { DOMContainerAria } from "@arcgis/core/views/DOMContainer.js";
|
|
4
4
|
import type { JsxNode } from "@arcgis/lumina";
|
|
5
5
|
import type { ChartModel } from "../../model/chart-model/chart-model.js";
|
|
6
6
|
import type { PieSlicesSymbols, SelectionData, SeriesSymbolsMap } from "../misc/interfaces.js";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ArcgisChart } from "../../components/arcgis-chart/customElement.js";
|
|
2
|
+
import type { WebChart } from "../../spec/web-chart.js";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Indicates whether the chart's needs to be synced with the view's time zone
|
|
6
|
+
*
|
|
7
|
+
* @param props
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
10
|
+
export function doesViewTimeZoneNeedToBeSynced(props: {
|
|
11
|
+
syncViewTimeZone: boolean;
|
|
12
|
+
syncViewTimeZoneInclusionList?: ArcgisChart["syncViewTimeZoneInclusionList"];
|
|
13
|
+
chartConfig?: WebChart;
|
|
14
|
+
}): boolean;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import type { WebChartQuery } from "../../../spec/web-chart.js";
|
|
1
2
|
import type { ChartElementLimit } from "../../defaults/interfaces.js";
|
|
2
3
|
import type { QueryObject } from "../../layer/interfaces.js";
|
|
3
4
|
import type { AbortControllerKeyType } from "../../layer/query-features/interfaces.js";
|
|
4
|
-
import type {
|
|
5
|
+
import type { ErrorStrings } from "../../localization/interfaces.js";
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Fetches the unique values from a given field.
|
|
@@ -18,10 +19,12 @@ import type { WebChartQuery } from "../../../spec/web-chart.js";
|
|
|
18
19
|
* @internal
|
|
19
20
|
*/
|
|
20
21
|
export function uniqueValues(props: {
|
|
21
|
-
queryObject
|
|
22
|
+
queryObject: QueryObject;
|
|
22
23
|
queryConfig: WebChartQuery;
|
|
23
24
|
category: string;
|
|
24
25
|
splitByField?: string;
|
|
25
26
|
chartLimits?: ChartElementLimit;
|
|
27
|
+
errorStrings: ErrorStrings;
|
|
26
28
|
abortKey?: AbortControllerKeyType;
|
|
29
|
+
abortSignal?: AbortSignal;
|
|
27
30
|
}): Promise<(number | string)[]>;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
import type { ChartOptions } from "../../chart-rendering/common/interfaces.js";
|
|
2
|
+
import type { WebChartStatisticType } from "../../spec/chart-object-literals.js";
|
|
3
|
+
import type { WebChartBin, WebChartDataItem, WebChartDataTypes } from "../../spec/data-source.js";
|
|
4
|
+
import type { WebChart, WebChartSeriesType, WebGaugeChart } from "../../spec/web-chart.js";
|
|
5
|
+
import type { QueryObject } from "../layer/interfaces.js";
|
|
6
|
+
import type { ErrorStrings } from "../localization/interfaces.js";
|
|
1
7
|
import type { ChartSubType } from "../misc/interfaces.js";
|
|
2
8
|
import type { BoxPlotYValueProps, DataMinMax, BoxPlotYFieldKeys } from "./interfaces.js";
|
|
3
|
-
import type { WebChart, WebChartSeriesType, WebGaugeChart } from "../../spec/web-chart.js";
|
|
4
|
-
import type { WebChartBin, WebChartDataItem, WebChartDataTypes } from "../../spec/data-source.js";
|
|
5
9
|
|
|
6
10
|
/**
|
|
7
11
|
* Generates the y field names for box plot
|
|
@@ -96,6 +100,7 @@ export function validateBarNLineChartDataItem(props: {
|
|
|
96
100
|
x: string;
|
|
97
101
|
y: string;
|
|
98
102
|
nullAsValid?: boolean;
|
|
103
|
+
aggregationType?: WebChartStatisticType;
|
|
99
104
|
}): boolean;
|
|
100
105
|
|
|
101
106
|
/**
|
|
@@ -111,6 +116,16 @@ export function isEmptyDataset(props: {
|
|
|
111
116
|
dataSet?: WebChartDataItem[];
|
|
112
117
|
}): boolean;
|
|
113
118
|
|
|
119
|
+
/**
|
|
120
|
+
* Gathers the list of `y` values used by a chart, grouped by series type.
|
|
121
|
+
* If the list of visible series id is provided it will be used to filter out the series, otherwise they will all be considered.
|
|
122
|
+
*
|
|
123
|
+
* @param seriesConfig - The config for the series
|
|
124
|
+
* @param filteredSeriesIds - List of series ids to use as a filter
|
|
125
|
+
* @internal
|
|
126
|
+
*/
|
|
127
|
+
export function getYListPerSeriesType(seriesConfig: WebChartSeriesType[], filteredSeriesIds?: string[]): Map<string, string[]>;
|
|
128
|
+
|
|
114
129
|
/**
|
|
115
130
|
* Gets the data min and max values for a stacked series; also an indicator whether the data has negative values.
|
|
116
131
|
*
|
|
@@ -120,7 +135,7 @@ export function isEmptyDataset(props: {
|
|
|
120
135
|
export function getDataMinMaxFromStackedSeries(props: {
|
|
121
136
|
seriesConfig: WebChartSeriesType[];
|
|
122
137
|
filteredSeriesIds?: string[];
|
|
123
|
-
filteredData: WebChartDataItem[];
|
|
138
|
+
filteredData: WebChartBin[] | WebChartDataItem[];
|
|
124
139
|
}): {
|
|
125
140
|
stackedMinY: number;
|
|
126
141
|
stackedMaxY: number;
|
|
@@ -135,10 +150,69 @@ export function getDataMinMaxFromStackedSeries(props: {
|
|
|
135
150
|
*/
|
|
136
151
|
export function getDataMinMaxFromSeries(props: {
|
|
137
152
|
chartConfig: WebChart;
|
|
138
|
-
chartData: WebChartDataItem[];
|
|
153
|
+
chartData: WebChartBin[] | WebChartDataItem[];
|
|
139
154
|
filteredSeriesIds?: string[];
|
|
140
155
|
}): DataMinMax;
|
|
141
156
|
|
|
157
|
+
/**
|
|
158
|
+
* Get the series id related to the given axis (useful in dual axis mode).
|
|
159
|
+
*
|
|
160
|
+
* @param props - The chart configuration
|
|
161
|
+
*/
|
|
162
|
+
export function getAxisSeriesIds(props: {
|
|
163
|
+
chartConfig: WebChart;
|
|
164
|
+
isSecondValueAxis?: boolean;
|
|
165
|
+
seriesIds?: string[];
|
|
166
|
+
}): string[] | undefined;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Indicates whether the axis log scale is compatible with the data.
|
|
170
|
+
*
|
|
171
|
+
* @param props - The chart config
|
|
172
|
+
* @internal
|
|
173
|
+
*/
|
|
174
|
+
export function whetherLogScaleIsDataCompatible(props: {
|
|
175
|
+
chartConfig?: WebChart;
|
|
176
|
+
axisConfigIndex: number;
|
|
177
|
+
chartData?: WebChartBin[] | WebChartDataItem[];
|
|
178
|
+
}): boolean;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* This function reassigns the category/field name and stat value to the series x and y, while deleting the
|
|
182
|
+
* technical field used during the rendering for technical reasons.
|
|
183
|
+
*
|
|
184
|
+
* @param modifiedData - The data to revert
|
|
185
|
+
* @param seriesConfig - The series config
|
|
186
|
+
*/
|
|
187
|
+
export function revertPieFromFieldsProperties<T extends WebChartDataItem[] | WebChartDataTypes>(modifiedData: T, seriesConfig?: WebChart["series"]): T;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* This function reverts some changes done to process the chart's data set:
|
|
191
|
+
* - removes the formatted dates used specifically for the queries
|
|
192
|
+
* - switches back the values of the modified dates/categories to accommodate the rendering (axis labels, sort...)
|
|
193
|
+
*
|
|
194
|
+
* @param data - The data containing modified x or y values
|
|
195
|
+
* @param seriesConfig - The series config
|
|
196
|
+
*/
|
|
197
|
+
export function revertOriginalXAndYValues<T extends WebChartDataItem[] | WebChartDataTypes>(data: T, seriesConfig?: WebChart["series"]): T;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Removes some technical properties including color ones from a data item
|
|
201
|
+
*
|
|
202
|
+
* @param dataItem - The data item to sanitize
|
|
203
|
+
* @returns The sanitized data item
|
|
204
|
+
*/
|
|
205
|
+
export function removeAdditionalStatisticsPerItem(dataItem: WebChartDataItem): WebChartDataItem;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Before sending the event payload containing the data, we need to revert some changes done to sort the charts.
|
|
209
|
+
*
|
|
210
|
+
* @param data - The data set to modify
|
|
211
|
+
* @param seriesConfig - The series config
|
|
212
|
+
* @returns The sanitized data
|
|
213
|
+
*/
|
|
214
|
+
export function removeAdditionalStatistics(data: WebChartDataTypes, seriesConfig: WebChartSeriesType[]): WebChartDataTypes;
|
|
215
|
+
|
|
142
216
|
/**
|
|
143
217
|
* Rounds a number to a given number of decimals
|
|
144
218
|
*
|
|
@@ -146,4 +220,52 @@ export function getDataMinMaxFromSeries(props: {
|
|
|
146
220
|
* @param dec - The number of decimals
|
|
147
221
|
* @internal
|
|
148
222
|
*/
|
|
149
|
-
export function roundToDecimals(num: number, dec: number): number;
|
|
223
|
+
export function roundToDecimals(num: number, dec: number): number;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Sanitizes data by reverting technical changes made to the data set.
|
|
227
|
+
* The point is to send meaningful data to the user through events or the `chartWillRender()` function.
|
|
228
|
+
*
|
|
229
|
+
* @param props - The data to sanitize
|
|
230
|
+
*/
|
|
231
|
+
export function sanitizeData(props: {
|
|
232
|
+
data?: WebChartDataTypes;
|
|
233
|
+
seriesConfig: WebChartSeriesType[];
|
|
234
|
+
}): WebChartDataTypes | undefined;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Fetches data from a list of OIDs. If the chart is non aggregated we directly read the OIDs stored in the data context,
|
|
238
|
+
* and if the chart is aggregated we perform queries to fetch the data.
|
|
239
|
+
*
|
|
240
|
+
* @param props - A snapshot of the updated props, used to determine whether the selection OIDs have changed
|
|
241
|
+
*/
|
|
242
|
+
export function getSelectionItemsFromOIDs(props: {
|
|
243
|
+
chartData?: WebChartDataTypes;
|
|
244
|
+
chartConfig: WebChart;
|
|
245
|
+
queryObject: QueryObject;
|
|
246
|
+
dataWasUpdated?: boolean;
|
|
247
|
+
selectionData?: ChartOptions["selectionData"];
|
|
248
|
+
replaceNoValueCategoryWithZero?: ChartOptions["replaceNoValueCategoryWithZero"];
|
|
249
|
+
hideZeroCountCategories?: ChartOptions["hideZeroCountCategories"];
|
|
250
|
+
chartLimits?: ChartOptions["chartLimits"];
|
|
251
|
+
setTimeBinningInfoWhenNotProvided?: ChartOptions["setTimeBinningInfoWhenNotProvided"];
|
|
252
|
+
returnFeaturesExtent?: ChartOptions["returnFeaturesExtent"];
|
|
253
|
+
popupTemplateFieldInfosEnabled?: ChartOptions["popupTemplateFieldInfosEnabled"];
|
|
254
|
+
view?: ChartOptions["view"];
|
|
255
|
+
viewExtentUpdated?: ChartOptions["viewExtentUpdated"];
|
|
256
|
+
returnSelectionOIDs?: ChartOptions["returnSelectionOIDs"];
|
|
257
|
+
runtimeDataFilters?: ChartOptions["runtimeDataFilters"];
|
|
258
|
+
ignoreViewExtent?: ChartOptions["ignoreViewExtent"];
|
|
259
|
+
errorStrings: ErrorStrings;
|
|
260
|
+
selectionIDsChanged: boolean;
|
|
261
|
+
}): Promise<WebChartDataItem[] | undefined>;
|
|
262
|
+
|
|
263
|
+
export const dataPrivateFunctions: {
|
|
264
|
+
shouldCheckDataMinMaxForLogScaleOnXAxis: (chartConfig?: WebChart | undefined) => boolean;
|
|
265
|
+
minMaxHasZeroOrNegativeValues: (min?: number | undefined, max?: number | undefined) => boolean;
|
|
266
|
+
isChartWithZeroOrNegativeValues: (props: {
|
|
267
|
+
chartConfig: WebChart;
|
|
268
|
+
chartData: Array<WebChartDataItem> | Array<WebChartBin>;
|
|
269
|
+
axisConfigIndex: number;
|
|
270
|
+
}) => boolean;
|
|
271
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { GaugeMinMaxFromData } from "../../chart-rendering/common/interfaces.js";
|
|
1
2
|
import type { WebChartDataTypes } from "../../spec/data-source.js";
|
|
2
3
|
import type { WebChartQuery } from "../../spec/web-chart.js";
|
|
3
4
|
import type { DataWarningKeywords } from "../chart-config/validator/interfaces.js";
|
|
@@ -18,6 +19,7 @@ export interface DataInfo {
|
|
|
18
19
|
count?: number;
|
|
19
20
|
data?: WebChartDataTypes;
|
|
20
21
|
queryConfig?: WebChartQuery;
|
|
22
|
+
gaugeMinMaxFromData?: GaugeMinMaxFromData;
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
/** @internal */
|
|
@@ -59,7 +61,6 @@ export interface DataUpdateDetails {
|
|
|
59
61
|
dataForFilterBySelectionChanged?: boolean;
|
|
60
62
|
binTemporalDataChanged?: boolean;
|
|
61
63
|
timeBinningChanged?: boolean;
|
|
62
|
-
timeIntervalUnitChanged?: boolean;
|
|
63
64
|
newTimeBinningWillBeCalculated?: boolean;
|
|
64
65
|
valueFormatChangeRequiresNewData?: boolean;
|
|
65
66
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { WebChartDataItem } from "../../../spec/data-source.js";
|
|
2
|
+
import type { WebChart, WebChartPieChartSeries } from "../../../spec/web-chart.js";
|
|
3
|
+
import type { UtilsStrings } from "../../localization/interfaces.js";
|
|
4
|
+
import type { DataInfo } from "../interfaces.js";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Builds the data necessary for the pie chart group of slices.
|
|
8
|
+
*
|
|
9
|
+
* @param props - the dataset
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
export function getPieChartGroupOfSlicesData(props: {
|
|
13
|
+
data: WebChartDataItem[];
|
|
14
|
+
seriesConfig: WebChartPieChartSeries[];
|
|
15
|
+
utilsStrings: UtilsStrings;
|
|
16
|
+
}): WebChartDataItem[];
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Updates the provided dataset with data related to the pie chart group of slices.
|
|
20
|
+
*
|
|
21
|
+
* @param props - indicates whether the chart is being created (true) or updated (false)
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
24
|
+
export function updatePieChartGroupOfSlicesData(props: {
|
|
25
|
+
creation: boolean;
|
|
26
|
+
previousConfig: WebChart | undefined;
|
|
27
|
+
newConfig: WebChart | undefined;
|
|
28
|
+
dataInfo: DataInfo;
|
|
29
|
+
dataUpdateNeeded: boolean;
|
|
30
|
+
utilsStrings: UtilsStrings;
|
|
31
|
+
}): boolean;
|
|
@@ -7,7 +7,6 @@ import type { ChartElementLimit, ChartElementTechnicalLimit, ChartTextProps, Que
|
|
|
7
7
|
/** @internal */
|
|
8
8
|
export const histogramBinCount: 32;
|
|
9
9
|
|
|
10
|
-
/** @internal */
|
|
11
10
|
export const featuresExtentField: "arcgis_charts_features_extent";
|
|
12
11
|
|
|
13
12
|
/** @internal */
|
|
@@ -75,6 +74,31 @@ export const darkModeRamp: Color[];
|
|
|
75
74
|
/** @internal */
|
|
76
75
|
export const darkModeOverlayRamp: Color[];
|
|
77
76
|
|
|
77
|
+
/** @internal */
|
|
78
|
+
export const loaderBackgroundLight: Color;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Same as --calcite-color-foreground-1 in dark mode
|
|
82
|
+
*
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
export const loaderBackgroundDark: Color;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* @deprecated since 5.1. Will be replaced by the Calcite CSS variable --calcite-color-brand-hover.
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
export const loaderSpinnerColor: Color;
|
|
92
|
+
|
|
93
|
+
/** @internal */
|
|
94
|
+
export const lightTextColor: Color;
|
|
95
|
+
|
|
96
|
+
/** @internal */
|
|
97
|
+
export const darkTextColor: Color;
|
|
98
|
+
|
|
99
|
+
/** @internal */
|
|
100
|
+
export const grayColor: Color;
|
|
101
|
+
|
|
78
102
|
/**
|
|
79
103
|
* Returns a specific color from the default ramp, given an index. If the index is > than the ramp length,
|
|
80
104
|
* we use modulo to get the corresponding color.
|
|
@@ -187,7 +211,7 @@ export function getDefaultTitle(commonStrings: CommonStrings): string;
|
|
|
187
211
|
* @param useRandomColor
|
|
188
212
|
* @internal
|
|
189
213
|
*/
|
|
190
|
-
export function getDefaultBoxPlotElementSymbol(seriesIndex
|
|
214
|
+
export function getDefaultBoxPlotElementSymbol(seriesIndex?: number, useRandomColor?: boolean): ISimpleFillSymbol;
|
|
191
215
|
|
|
192
216
|
/**
|
|
193
217
|
* Returns a default marker symbol for a line chart
|
|
@@ -246,6 +270,20 @@ export function getDefaultAxes(commonStrings: CommonStrings, chartType: WebChart
|
|
|
246
270
|
*/
|
|
247
271
|
export function getDefaultGaugeNeedle(): WebChartNeedle;
|
|
248
272
|
|
|
273
|
+
/**
|
|
274
|
+
* Returns the default progress base band symbol for gauge charts
|
|
275
|
+
*
|
|
276
|
+
* @internal
|
|
277
|
+
*/
|
|
278
|
+
export function getDefaultProgressBaseBandSymbol(): ISimpleFillSymbol;
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Returns the default progress target band symbol for gauge charts
|
|
282
|
+
*
|
|
283
|
+
* @internal
|
|
284
|
+
*/
|
|
285
|
+
export function getDefaultProgressTargetBandSymbol(): ISimpleFillSymbol;
|
|
286
|
+
|
|
249
287
|
/**
|
|
250
288
|
* Returns the gauge axes
|
|
251
289
|
*
|
|
@@ -411,7 +449,7 @@ export function getDefaultHistogramOverlays(): Required<HistogramOverlays>;
|
|
|
411
449
|
export function getDefaultHistogramSymbol(): ISimpleFillSymbol;
|
|
412
450
|
|
|
413
451
|
/** @internal */
|
|
414
|
-
export function getDefaultHistogramSeries(): Omit<Required<WebChartHistogramSeries>, "dataTooltipDateFormat" | "dataTooltipPercentFormat" | "dataTooltipValueFormat" | "query">;
|
|
452
|
+
export function getDefaultHistogramSeries(): Omit<Required<WebChartHistogramSeries>, "dataTooltipDateFormat" | "dataTooltipFontSize" | "dataTooltipPercentFormat" | "dataTooltipValueFormat" | "query">;
|
|
415
453
|
|
|
416
454
|
/**
|
|
417
455
|
* @param commonStrings
|
|
@@ -482,4 +520,7 @@ export const boxPlotZScoreSuffix: "_arcgis_charts_z_score";
|
|
|
482
520
|
export const defaultColorForBoxPlotWithMeanLines: Color;
|
|
483
521
|
|
|
484
522
|
/** @internal */
|
|
485
|
-
export const percentageSuffix: " percentage ";
|
|
523
|
+
export const percentageSuffix: " percentage ";
|
|
524
|
+
|
|
525
|
+
/** @internal */
|
|
526
|
+
export const heatChartFirstDayOfWeek: 7;
|
|
@@ -52,6 +52,9 @@ export interface QueryDefaults {
|
|
|
52
52
|
outStatistics: Readonly<IStatisticDefinition>;
|
|
53
53
|
uniqueIdsName: number | string;
|
|
54
54
|
orderByJSAPIDelimiter: string;
|
|
55
|
+
heatChartLowerBoundaryAlias: string;
|
|
56
|
+
heatChartUpperBoundaryAlias: string;
|
|
57
|
+
defaultStatParameterValue: number;
|
|
55
58
|
}
|
|
56
59
|
|
|
57
60
|
/** @internal */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Class that enhances the debugging and error handling process. Rather than returning a generic [JavaScript
|
|
3
|
-
* error](https://developer.mozilla.org/
|
|
3
|
+
* error](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error), this class returns a standardized error object with several properties.
|
|
4
4
|
*/
|
|
5
5
|
export class ArcgisChartsError<T = any> extends Error {
|
|
6
6
|
/** Creates a new `ArcgisChartsError` instance. */
|
|
@@ -4,6 +4,7 @@ export const ErrorKeywords: {
|
|
|
4
4
|
readonly QueryFeaturesError: "queryFeaturesError";
|
|
5
5
|
readonly ChartDisposed: "ChartDisposeError";
|
|
6
6
|
readonly LayerFieldsNotFound: "layerFieldsNotFound";
|
|
7
|
+
readonly LayerNotSupported: "layerNotSupported";
|
|
7
8
|
};
|
|
8
9
|
|
|
9
10
|
export type ErrorKeywords = (typeof ErrorKeywords)[keyof typeof ErrorKeywords];
|