@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,35 +1,48 @@
|
|
|
1
1
|
import type { ModelParams } from "../interfaces/chart-interfaces.js";
|
|
2
2
|
import type { ModelTypes, SerialChartDataSortingKinds, HeatChartDataSortingKinds } from "../interfaces/common.js";
|
|
3
3
|
import type { SerialChartModel } from "../serial-chart-model/serial-chart-model.js";
|
|
4
|
+
import type { SupportedRasterLayer } from "../../interfaces.js";
|
|
4
5
|
import type { WebChartCalendarDatePartsBinning, WebChartHeatChartEmptyCell, WebChartHeatChartGradient, WebChartNullCategory } from "../../spec/web-chart.js";
|
|
5
6
|
import type { WebChartStatisticType, WebChartClassBreakTypes, WebChartHeatChartHeatRulesTypes, WebChartHeatChartViewTypes, WebChartLegendPositions, WebChartNullPolicyTypes, WebChartStackedKinds } from "../../spec/chart-object-literals.js";
|
|
6
7
|
import type { ISimpleFillSymbol, ISimpleLineSymbol } from "../../spec/rest-js-types.js";
|
|
7
8
|
import type { ChartConfig } from "../../utils/types/index.js";
|
|
8
9
|
|
|
9
10
|
export class HeatChartModel extends SerialChartModel {
|
|
10
|
-
/** The aggregation type for the heat chart.
|
|
11
|
+
/** The aggregation type for the heat chart. */
|
|
11
12
|
accessor aggregationType: WebChartStatisticType;
|
|
12
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* Bin temporal data for heat chart (not supported)
|
|
15
|
+
*
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
13
18
|
accessor binTemporalData: boolean;
|
|
14
19
|
/**
|
|
15
|
-
* The number of class breaks used by the heat chart
|
|
20
|
+
* The number of class breaks used by the heat chart.
|
|
16
21
|
*
|
|
17
22
|
* @default 5
|
|
18
23
|
*/
|
|
19
24
|
accessor breaksCount: number;
|
|
20
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* The classification method to be used for the heat chart.
|
|
27
|
+
* `equal-interval` - Divides the range of values into equal-sized intervals.
|
|
28
|
+
* `quantile` - Divides the range of values into intervals that contain an equal number of features.
|
|
29
|
+
* `natural-breaks` - Identifies natural groupings of values in the data by minimizing the variance within classes and maximizing the variance between classes.
|
|
30
|
+
* `manual` - Allows you to manually specify the class breaks.
|
|
31
|
+
*/
|
|
21
32
|
accessor classificationMethod: WebChartClassBreakTypes | undefined;
|
|
22
|
-
/** The
|
|
33
|
+
/** The name of the color ramp used by the heat chart. */
|
|
34
|
+
accessor colorRampName: string | undefined;
|
|
35
|
+
/** The heat chart's empty cell configuration. */
|
|
23
36
|
accessor emptyCell: WebChartHeatChartEmptyCell | undefined;
|
|
24
|
-
/** The heat
|
|
37
|
+
/** The heat chart's empty cell symbol. */
|
|
25
38
|
accessor emptyCellSymbol: ISimpleFillSymbol | undefined;
|
|
26
|
-
/** The heat
|
|
39
|
+
/** The heat chart's empty cell text. */
|
|
27
40
|
accessor emptyCellText: string | undefined;
|
|
28
41
|
/**
|
|
29
42
|
* The first day of the week used for date-based bins.
|
|
30
43
|
*
|
|
31
|
-
* - `1
|
|
32
|
-
* - `7
|
|
44
|
+
* - `1`: Monday
|
|
45
|
+
* - `7`: Sunday
|
|
33
46
|
*/
|
|
34
47
|
accessor firstDayOfWeek: number | undefined;
|
|
35
48
|
/**
|
|
@@ -52,53 +65,100 @@ export class HeatChartModel extends SerialChartModel {
|
|
|
52
65
|
* ```
|
|
53
66
|
*/
|
|
54
67
|
accessor gradientRules: WebChartHeatChartGradient | undefined;
|
|
55
|
-
/** The grid line color used by the heat chart */
|
|
68
|
+
/** The grid line color used by the heat chart. */
|
|
56
69
|
accessor gridLineColor: number[] | undefined;
|
|
57
|
-
/** The grid line width used by the heat chart */
|
|
70
|
+
/** The grid line width used by the heat chart. */
|
|
58
71
|
accessor gridLineWidth: number | undefined;
|
|
59
|
-
/**
|
|
72
|
+
/**
|
|
73
|
+
* The heat rules type used by the heat chart.
|
|
74
|
+
* `gradient`: A gradient of colors is applied to the cells based on their values, with the range of colors determined by the minimum and maximum values in the data.
|
|
75
|
+
* `renderer`: A class break renderer is used to apply specific colors to cells based on defined value ranges, allowing for more customized visualizations.
|
|
76
|
+
*/
|
|
60
77
|
accessor heatRulesType: WebChartHeatChartHeatRulesTypes | undefined;
|
|
61
|
-
/**
|
|
78
|
+
/** Hide the empty rows and columns in the heat chart. */
|
|
62
79
|
accessor hideEmptyRowsAndColumns: boolean | undefined;
|
|
63
|
-
/**
|
|
80
|
+
/** Whether to include leap day (February 29) in the heat chart when using "day of month" temporal binning. */
|
|
64
81
|
accessor includeLeapDay: boolean | undefined;
|
|
65
|
-
/**
|
|
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;
|
|
87
|
+
/** The layer associated with the heat chart model. */
|
|
88
|
+
get layer(): Exclude<SerialChartModel["layer"], SupportedRasterLayer>;
|
|
89
|
+
/** The heat chart's legend position. */
|
|
66
90
|
accessor legendPosition: WebChartLegendPositions;
|
|
67
91
|
/**
|
|
68
92
|
* The null category for heat chart (not supported)
|
|
69
93
|
*
|
|
70
|
-
* @
|
|
71
|
-
* the following to be set on the model for the null category to be applied:
|
|
72
|
-
* - `fetchNULLValues` to be set to `true` on the model.
|
|
73
|
-
* - `colorMatch` to be set to `false` on the model
|
|
94
|
+
* @internal
|
|
74
95
|
*/
|
|
75
96
|
accessor nullCategory: WebChartNullCategory;
|
|
76
|
-
/** The heat charts null policy */
|
|
77
|
-
accessor nullPolicy: WebChartNullPolicyTypes | undefined;
|
|
78
97
|
/**
|
|
79
|
-
* The
|
|
80
|
-
*
|
|
98
|
+
* The heat chart's null policy.
|
|
99
|
+
* `null`: Treat null values as null.
|
|
100
|
+
* `zero`: Treat null values as zero.
|
|
81
101
|
*/
|
|
102
|
+
accessor nullPolicy: WebChartNullPolicyTypes | undefined;
|
|
103
|
+
/** Heat chart only supports one numeric field, if there are multiple numeric fields provided in the array, only the first one will be used and the rest will be ignored. */
|
|
82
104
|
accessor numericFields: string[];
|
|
83
|
-
/**
|
|
84
|
-
|
|
85
|
-
|
|
105
|
+
/**
|
|
106
|
+
* The heat chart's rotated state (not supported)
|
|
107
|
+
*
|
|
108
|
+
* @internal
|
|
109
|
+
*/
|
|
110
|
+
accessor rotated: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* The name of the series that is used by the heat chart.
|
|
113
|
+
*
|
|
114
|
+
* @internal
|
|
115
|
+
*/
|
|
86
116
|
accessor seriesName: string | undefined;
|
|
87
|
-
/**
|
|
117
|
+
/**
|
|
118
|
+
* Split-by field not supported for heat charts.
|
|
119
|
+
*
|
|
120
|
+
* @internal
|
|
121
|
+
*/
|
|
88
122
|
accessor splitByField: string;
|
|
89
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* The heat chart's stacked type (not supported)
|
|
125
|
+
*
|
|
126
|
+
* @internal
|
|
127
|
+
*/
|
|
90
128
|
accessor stackedType: WebChartStackedKinds | undefined;
|
|
91
129
|
/**
|
|
92
130
|
* The calendar view type for the heat chart.
|
|
131
|
+
* `SingleCalendarView` - A single calendar view showing all data in one calendar.
|
|
132
|
+
* `SequentialCalendarViews` - Multiple sequential calendar views (e.g., years).
|
|
93
133
|
*
|
|
94
|
-
* **
|
|
134
|
+
* **Note**: This is only applicable for calendar heat charts (when `xAxisField` and `yAxisField` are date fields).
|
|
95
135
|
*/
|
|
96
136
|
accessor viewType: WebChartHeatChartViewTypes | undefined;
|
|
97
|
-
/**
|
|
137
|
+
/**
|
|
138
|
+
* The x axis temporal binning used by the heat chart.
|
|
139
|
+
*
|
|
140
|
+
* @example
|
|
141
|
+
* ```ts
|
|
142
|
+
* heatChartModel.xTemporalBinning = {
|
|
143
|
+
* type: WebChartTypes.CalendarDateParts,
|
|
144
|
+
* unit: WebChartCalendarDatePartsUnits.MonthOfYear,
|
|
145
|
+
* };
|
|
146
|
+
* ```
|
|
147
|
+
*/
|
|
98
148
|
accessor xTemporalBinning: WebChartCalendarDatePartsBinning | undefined;
|
|
99
|
-
/** The y axis field used by the heat chart */
|
|
149
|
+
/** The y axis field used by the heat chart. */
|
|
100
150
|
accessor yAxisField: string;
|
|
101
|
-
/**
|
|
151
|
+
/**
|
|
152
|
+
* The y axis temporal binning used by the heat chart.
|
|
153
|
+
*
|
|
154
|
+
* @example
|
|
155
|
+
* ```ts
|
|
156
|
+
* heatChartModel.yTemporalBinning = {
|
|
157
|
+
* type: WebChartTypes.CalendarDateParts,
|
|
158
|
+
* unit: WebChartCalendarDatePartsUnits.DayOfMonth,
|
|
159
|
+
* };
|
|
160
|
+
* ```
|
|
161
|
+
*/
|
|
102
162
|
accessor yTemporalBinning: WebChartCalendarDatePartsBinning | undefined;
|
|
103
163
|
/** Generate the proper chart title given the current config. */
|
|
104
164
|
generateChartTitle(): string;
|
|
@@ -125,40 +185,50 @@ export class HeatChartModel extends SerialChartModel {
|
|
|
125
185
|
*
|
|
126
186
|
* @param _assign
|
|
127
187
|
* @param _seriesIndex
|
|
188
|
+
* @internal
|
|
128
189
|
*/
|
|
129
190
|
setAssignToSecondValueAxis(_assign: boolean, _seriesIndex: number): void;
|
|
130
191
|
/**
|
|
131
192
|
* Sets the grid lines symbol. Contains styling information such as line width, line style, and line color.
|
|
132
193
|
*
|
|
133
194
|
* @param linesSymbol - The grid lines symbol.
|
|
195
|
+
* @example
|
|
196
|
+
* ```ts
|
|
197
|
+
* heatChartModel.setGridLinesSymbol({
|
|
198
|
+
* type: "esriSLS",
|
|
199
|
+
* style: "esriSLSDash",
|
|
200
|
+
* color: [255, 100, 100, 255],
|
|
201
|
+
* width: 3,
|
|
202
|
+
* });
|
|
203
|
+
* ```
|
|
134
204
|
*/
|
|
135
205
|
setGridLinesSymbol(linesSymbol: ISimpleLineSymbol | undefined): void;
|
|
136
206
|
/**
|
|
137
|
-
* setSortOrder is not used by heat chart; instead use setXAxisSortOrder for the x axis and setYAxisSortOrder for the y axis
|
|
207
|
+
* setSortOrder is not used by heat chart; instead use setXAxisSortOrder for the x axis and setYAxisSortOrder for the y axis.
|
|
138
208
|
*
|
|
139
209
|
* @param _newSortOrder
|
|
140
210
|
* @param _orderByList
|
|
211
|
+
* @internal
|
|
141
212
|
*/
|
|
142
213
|
setSortOrder(_newSortOrder: HeatChartDataSortingKinds | SerialChartDataSortingKinds, _orderByList?: string[]): void;
|
|
143
214
|
/**
|
|
144
215
|
* Completes the async setup process for the chart model. Must be called before using the model.
|
|
145
216
|
*
|
|
146
217
|
* @param params
|
|
147
|
-
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
148
218
|
*/
|
|
149
219
|
setup(params: ModelParams<ChartConfig<typeof ModelTypes.HeatChart>>): Promise<void>;
|
|
150
220
|
/**
|
|
151
221
|
* Sets the sort order on the x axis for the heat chart.
|
|
152
222
|
*
|
|
153
|
-
* @param newSortOrder -
|
|
154
|
-
* @param orderByList -
|
|
223
|
+
* @param newSortOrder - The new sort order.
|
|
224
|
+
* @param orderByList - The list of category's values to order by.
|
|
155
225
|
*/
|
|
156
226
|
setXAxisSortOrder(newSortOrder: HeatChartDataSortingKinds, orderByList?: string[]): void;
|
|
157
227
|
/**
|
|
158
228
|
* Sets the sort order on the y axis for heat chart.
|
|
159
229
|
*
|
|
160
|
-
* @param newSortOrder -
|
|
161
|
-
* @param orderByList -
|
|
230
|
+
* @param newSortOrder - The new sort order.
|
|
231
|
+
* @param orderByList - The list of category's values to order by.
|
|
162
232
|
*/
|
|
163
233
|
setYAxisSortOrder(newSortOrder: HeatChartDataSortingKinds, orderByList?: string[]): void;
|
|
164
234
|
}
|
|
@@ -24,9 +24,24 @@ import type { ModelWithYGuides } from "../mixins/model-with-y-guides.js";
|
|
|
24
24
|
export class HistogramModel extends HistogramModelSuperclass {
|
|
25
25
|
/** Number of bins used to create the histogram. */
|
|
26
26
|
accessor binCount: number;
|
|
27
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Fill symbol used for the bins in the histogram.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* histogramModel.binSymbol = {
|
|
33
|
+
* style: "esriSFSForwardDiagonal",
|
|
34
|
+
* color: [0, 255, 0, 100],
|
|
35
|
+
* };
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
28
38
|
accessor binSymbol: ISimpleFillSymbol;
|
|
29
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* Data transformation type used in the histogram.
|
|
41
|
+
* `none`: No data transformation is applied to the histogram.
|
|
42
|
+
* `logarithmic`: Data is transformed using logarithm function. It can only be
|
|
43
|
+
* `squareRoot`: Data is transformed using square root function. It can only be applied to numbers greater than or equal to zero.
|
|
44
|
+
*/
|
|
30
45
|
accessor dataTransformationType: WebChartDataTransformations;
|
|
31
46
|
/** Line symbol used for the mean overlay in the histogram. */
|
|
32
47
|
accessor meanSymbol: ISimpleLineSymbol;
|
|
@@ -36,7 +51,7 @@ export class HistogramModel extends HistogramModelSuperclass {
|
|
|
36
51
|
accessor normalDistSymbol: ISimpleLineSymbol;
|
|
37
52
|
/** Numeric field used to create the histogram to visualize the frequency distribution of its values. */
|
|
38
53
|
accessor numericField: string;
|
|
39
|
-
/** Chart overlays for the
|
|
54
|
+
/** Chart overlays for the histogram: **mean**, **median**, **standardDeviation** and **comparisonDistribution**. */
|
|
40
55
|
accessor seriesOverlays: HistogramOverlays | undefined;
|
|
41
56
|
/** Whether the mean overlay is shown in the histogram. */
|
|
42
57
|
accessor showMeanOverlay: boolean;
|
|
@@ -54,7 +69,6 @@ export class HistogramModel extends HistogramModelSuperclass {
|
|
|
54
69
|
* Completes the async setup process for the chart model. Must be called before using the model.
|
|
55
70
|
*
|
|
56
71
|
* @param params
|
|
57
|
-
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
58
72
|
*/
|
|
59
73
|
setup(params: ModelParams<ChartConfig<typeof ModelTypes.Histogram>>): Promise<void>;
|
|
60
74
|
}
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type { ChartConfig } from "../../utils/types/index.js";
|
|
4
|
-
import type { IFeatureLayer } from "../../spec/rest-js-types.js";
|
|
1
|
+
import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
|
|
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> = {
|
|
9
10
|
/** Layer instance associated with the chart. */
|
|
10
|
-
layer?: SupportedLayer;
|
|
11
|
+
layer?: SupportedLayer | SupportedRasterLayer;
|
|
11
12
|
/** Layer description to be used when the `layer` property is not set. */
|
|
12
|
-
iLayer?: IFeatureLayer;
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import type { SupportedLayer } from "../../interfaces.js";
|
|
1
|
+
import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
|
|
2
2
|
import type { WebChartTypes } from "../../spec/chart-object-literals.js";
|
|
3
3
|
import type { IField } from "../../spec/rest-js-types.js";
|
|
4
4
|
import type { WebChartBarChartSeries, WebChartBoxPlotSeries, WebChartGaugeSeries, WebChartHeatChartSeries, WebChartHistogramSeries, WebChartLineChartSeries, WebChartPieChartSeries, WebChartRadarChartSeries, WebChartScatterplotSeries } from "../../spec/web-chart.js";
|
|
@@ -7,6 +7,7 @@ import type { BarChartModel } from "../bar-chart-model/bar-chart-model.js";
|
|
|
7
7
|
import type { BoxPlotModel } from "../box-plot-model/box-plot-model.js";
|
|
8
8
|
import type { ComboBarLineChartModel } from "../combo-bar-line-chart-model/combo-bar-line-chart-model.js";
|
|
9
9
|
import type { GaugeModel } from "../gauge-model/gauge-model.js";
|
|
10
|
+
import type { HeatChartModel } from "../heat-chart-model/heat-chart-model.js";
|
|
10
11
|
import type { HistogramModel } from "../histogram-model/histogram-model.js";
|
|
11
12
|
import type { LineChartModel } from "../line-chart-model/line-chart-model.js";
|
|
12
13
|
import type { PieChartModel } from "../pie-chart-model/pie-chart-model.js";
|
|
@@ -140,7 +141,7 @@ export interface PieSeriesDisplayOptions {
|
|
|
140
141
|
|
|
141
142
|
export interface LayerInfo {
|
|
142
143
|
/** Layer used for this bar chart. */
|
|
143
|
-
layer: SupportedLayer;
|
|
144
|
+
layer: SupportedLayer | SupportedRasterLayer;
|
|
144
145
|
/** Fields information for the layer. */
|
|
145
146
|
layerFieldsInfo: IField[];
|
|
146
147
|
/** Object ID field name for the layer. */
|
|
@@ -162,8 +163,11 @@ export const ModelTypes: {
|
|
|
162
163
|
|
|
163
164
|
export type ModelTypes = (typeof ModelTypes)[keyof typeof ModelTypes];
|
|
164
165
|
|
|
166
|
+
/** @internal */
|
|
165
167
|
export type ModelTypeToSeriesType<T extends ModelTypes> = T extends typeof ModelTypes.BarChart ? WebChartBarChartSeries : T extends typeof ModelTypes.LineChart ? WebChartLineChartSeries : T extends typeof ModelTypes.ComboBarLineChart ? WebChartBarChartSeries | WebChartLineChartSeries : T extends typeof ModelTypes.BoxPlot ? WebChartBoxPlotSeries | WebChartLineChartSeries : T extends typeof ModelTypes.PieChart ? WebChartPieChartSeries : T extends typeof ModelTypes.Scatterplot ? WebChartScatterplotSeries : T extends typeof ModelTypes.Histogram ? WebChartHistogramSeries : T extends typeof ModelTypes.Gauge ? WebChartGaugeSeries : T extends typeof ModelTypes.RadarChart ? WebChartRadarChartSeries : T extends typeof ModelTypes.HeatChart ? WebChartHeatChartSeries : SupportedChartSeries;
|
|
166
168
|
|
|
169
|
+
/** @internal */
|
|
167
170
|
export type SeriesTypeToChartType<T extends SupportedChartSeries> = T extends WebChartBarChartSeries ? typeof WebChartTypes.BarSeries : T extends WebChartLineChartSeries ? typeof WebChartTypes.LineSeries : T extends WebChartBoxPlotSeries ? typeof WebChartTypes.BoxPlotSeries : T extends WebChartPieChartSeries ? typeof WebChartTypes.PieSeries : T extends WebChartScatterplotSeries ? typeof WebChartTypes.ScatterSeries : T extends WebChartHistogramSeries ? typeof WebChartTypes.HistogramSeries : T extends WebChartGaugeSeries ? typeof WebChartTypes.GaugeSeries : T extends WebChartRadarChartSeries ? typeof WebChartTypes.RadarSeries : T extends WebChartHeatChartSeries ? typeof WebChartTypes.HeatSeries : never;
|
|
168
171
|
|
|
169
|
-
|
|
172
|
+
/** @internal */
|
|
173
|
+
export type ModelOfType<T> = T extends typeof ModelTypes.BarChart ? BarChartModel : T extends typeof ModelTypes.BoxPlot ? BoxPlotModel : T extends typeof ModelTypes.LineChart ? LineChartModel : T extends typeof ModelTypes.ComboBarLineChart ? ComboBarLineChartModel : T extends typeof ModelTypes.PieChart ? PieChartModel : T extends typeof ModelTypes.Scatterplot ? ScatterplotModel : T extends typeof ModelTypes.Histogram ? HistogramModel : T extends typeof ModelTypes.Gauge ? GaugeModel : T extends typeof ModelTypes.RadarChart ? RadarChartModel : T extends typeof ModelTypes.HeatChart ? HeatChartModel : never;
|
|
@@ -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. */
|
|
@@ -14,7 +14,6 @@ export class LineChartModel extends LineChartModelSuperclass {
|
|
|
14
14
|
* Completes the async setup process for the chart model. Must be called before using the model.
|
|
15
15
|
*
|
|
16
16
|
* @param params
|
|
17
|
-
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
18
17
|
*/
|
|
19
18
|
setup(params: ModelParams<ChartConfig<typeof ModelTypes.LineChart>>): Promise<void>;
|
|
20
19
|
}
|
|
@@ -108,6 +108,17 @@ export abstract class ModelWithGuides extends ChartModel {
|
|
|
108
108
|
* @param style - New style to set.
|
|
109
109
|
* @param index - Default `0`. The index of the guide in the list of guides for the given axis orientation.
|
|
110
110
|
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
111
|
+
* @example
|
|
112
|
+
* ```ts
|
|
113
|
+
* chartModel.setGuideStyle(
|
|
114
|
+
* {
|
|
115
|
+
* type: "esriSLS",
|
|
116
|
+
* color: [0, 200, 0, 255],
|
|
117
|
+
* width: 2,
|
|
118
|
+
* },
|
|
119
|
+
* 1,
|
|
120
|
+
* );
|
|
121
|
+
* ```
|
|
111
122
|
*/
|
|
112
123
|
setGuideStyle(style: ISimpleFillSymbol | ISimpleLineSymbol, index?: number, orientation?: GuideOrientation): void;
|
|
113
124
|
/**
|
|
@@ -5,7 +5,7 @@ import type { WebChartTextSymbol } from "../../spec/web-chart.js";
|
|
|
5
5
|
export abstract class ModelWithLegend extends ChartModel {
|
|
6
6
|
/** Maximum legend height. */
|
|
7
7
|
accessor legendMaxHeight: number | undefined;
|
|
8
|
-
/** Legend position: top
|
|
8
|
+
/** Legend position: `top`, `bottom`, `left`, or `right`. */
|
|
9
9
|
accessor legendPosition: WebChartLegendPositions;
|
|
10
10
|
/** Whether legend markers are rounded. */
|
|
11
11
|
accessor legendRoundMarker: boolean;
|
|
@@ -15,20 +15,8 @@ export abstract class ModelWithLegend extends ChartModel {
|
|
|
15
15
|
accessor legendTitleSymbol: WebChartTextSymbol | undefined;
|
|
16
16
|
/** The legend title text. */
|
|
17
17
|
accessor legendTitleText: string;
|
|
18
|
-
/**
|
|
19
|
-
* Whether the legend title is visible.
|
|
20
|
-
*
|
|
21
|
-
* `true`: Legend title is visible.
|
|
22
|
-
*
|
|
23
|
-
* `false`: Legend title is hidden.
|
|
24
|
-
*/
|
|
18
|
+
/** Whether the legend title is visible. */
|
|
25
19
|
accessor legendTitleVisibility: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Whether the legend title is visible.
|
|
28
|
-
*
|
|
29
|
-
* `true`: Legend title is visible.
|
|
30
|
-
*
|
|
31
|
-
* `false`: Legend title is hidden.
|
|
32
|
-
*/
|
|
20
|
+
/** Whether the legend title is visible. */
|
|
33
21
|
accessor legendVisibility: boolean;
|
|
34
22
|
}
|
|
@@ -6,19 +6,19 @@ export abstract class ModelWithTemporalBinning extends ChartModel {
|
|
|
6
6
|
* Policy which tells the chart how to handle null values.
|
|
7
7
|
*
|
|
8
8
|
* `null`: Break the bar where null values are present.
|
|
9
|
-
*
|
|
10
9
|
* `zero`: Treats null values as zero.
|
|
11
|
-
*
|
|
12
|
-
*
|
|
10
|
+
* `interpolate`:
|
|
11
|
+
* - Bar series: same effect as `null`
|
|
12
|
+
* - Line series: connects the lines across null values.
|
|
13
13
|
*/
|
|
14
14
|
accessor nullPolicy: WebChartNullPolicyTypes | undefined;
|
|
15
|
-
/** Time interval size for a temporal bar
|
|
15
|
+
/** Time interval size for a temporal bar chart or line chart. */
|
|
16
16
|
accessor temporalBinningSize: number | undefined;
|
|
17
|
-
/** Time interval units for a temporal bar
|
|
17
|
+
/** Time interval units for a temporal bar chart or line chart. */
|
|
18
18
|
accessor temporalBinningUnit: WebChartTemporalBinningUnits | undefined;
|
|
19
|
-
/** Time aggregation type for a temporal bar
|
|
19
|
+
/** Time aggregation type for a temporal bar chart or line chart. */
|
|
20
20
|
accessor timeAggregationType: WebChartTimeAggregationTypes | undefined;
|
|
21
|
-
/** Whether to trim incomplete time intervals for a temporal bar
|
|
21
|
+
/** Whether to trim incomplete time intervals for a temporal bar chart or line chart. */
|
|
22
22
|
accessor trimIncompleteTimeInterval: boolean | undefined;
|
|
23
23
|
/** Resets the time interval to default for a temporal line chart. */
|
|
24
24
|
resetTimeInterval(): void;
|
|
@@ -3,15 +3,15 @@ import type { ChartModel } from "../chart-model/chart-model.js";
|
|
|
3
3
|
export abstract class ModelWithTooltips extends ChartModel {
|
|
4
4
|
/**
|
|
5
5
|
* Gets the setting of the `dataTooltipReverseColor` property.
|
|
6
|
-
* - If the seriesIndex is provided, the dataTooltipReverseColor for that series will be returned. Otherwise, the same property of the first series will be returned.
|
|
7
|
-
* - If the dataTooltipReverseColor is not set on the series, the default value of `false` will be returned.
|
|
6
|
+
* - If the `seriesIndex` is provided, the `dataTooltipReverseColor` for that series will be returned. Otherwise, the same property of the first series will be returned.
|
|
7
|
+
* - If the `dataTooltipReverseColor` is not set on the series, the default value of `false` will be returned.
|
|
8
8
|
*
|
|
9
9
|
* @param seriesIndex - The index of the series.
|
|
10
10
|
*/
|
|
11
11
|
getDataTooltipReverseColor(seriesIndex?: number): boolean;
|
|
12
12
|
/**
|
|
13
13
|
* Gets the visibility of the data tooltips.
|
|
14
|
-
* - If the seriesIndex is provided, the visibility for that series will be returned. Otherwise, the visibility of the first series will be returned.
|
|
14
|
+
* - If the `seriesIndex` is provided, the visibility for that series will be returned. Otherwise, the visibility of the first series will be returned.
|
|
15
15
|
* - If the visibility is not set on the series, the default value of `true` will be returned.
|
|
16
16
|
*
|
|
17
17
|
* @param seriesIndex - The index of the series.
|
|
@@ -19,7 +19,7 @@ export abstract class ModelWithTooltips extends ChartModel {
|
|
|
19
19
|
getDataTooltipVisibility(seriesIndex?: number): boolean;
|
|
20
20
|
/**
|
|
21
21
|
* Sets the setting of the `dataTooltipReverseColor` property.
|
|
22
|
-
* - If the seriesIndex is provided, the reverse color will be set for that series only. Otherwise, the reverse color will be set for all series.
|
|
22
|
+
* - If the `seriesIndex` is provided, the reverse color will be set for that series only. Otherwise, the reverse color will be set for all series.
|
|
23
23
|
*
|
|
24
24
|
* @param reverseColor - Indicator of whether to reverse the color.
|
|
25
25
|
* @param seriesIndex - The index of the series to set the reverse color.
|
|
@@ -27,7 +27,7 @@ export abstract class ModelWithTooltips extends ChartModel {
|
|
|
27
27
|
setDataTooltipReverseColor(reverseColor: boolean, seriesIndex?: number): void;
|
|
28
28
|
/**
|
|
29
29
|
* Sets the visibility of the data tooltips.
|
|
30
|
-
* - If the seriesIndex is provided, the visibility will be set for that series only. Otherwise, the visibility will be set for all series.
|
|
30
|
+
* - If the `seriesIndex` is provided, the visibility will be set for that series only. Otherwise, the visibility will be set for all series.
|
|
31
31
|
*
|
|
32
32
|
* @param visibility - The visibility of the data tooltips.
|
|
33
33
|
* @param seriesIndex - The index of the series to set the visibility.
|
|
@@ -13,25 +13,25 @@ export abstract class PieChartLegendModel extends PieChartLegendModelSuperclass
|
|
|
13
13
|
/**
|
|
14
14
|
* Gets the setting for the display of numerical value in the legend items.
|
|
15
15
|
*
|
|
16
|
-
* **Note**:
|
|
16
|
+
* **Note**: Only applicable to pie charts.
|
|
17
17
|
*/
|
|
18
18
|
getDisplayNumericValue(): boolean;
|
|
19
19
|
/**
|
|
20
20
|
* Gets the setting for the display of percentage in the legend items.
|
|
21
21
|
*
|
|
22
|
-
* **Note**:
|
|
22
|
+
* **Note**: Only applicable to pie charts.
|
|
23
23
|
*/
|
|
24
24
|
getDisplayPercentage(): boolean;
|
|
25
25
|
/**
|
|
26
26
|
* Gets the maximum width in pixel for the legend item labels.
|
|
27
27
|
*
|
|
28
|
-
* **Note**:
|
|
28
|
+
* **Note**: Only applicable to pie charts.
|
|
29
29
|
*/
|
|
30
30
|
getLabelMaxWidth(): number;
|
|
31
31
|
/**
|
|
32
32
|
* Sets the setting for the display of numerical value in the legend items.
|
|
33
33
|
*
|
|
34
|
-
* **Note**:
|
|
34
|
+
* **Note**: Only applicable to pie charts.
|
|
35
35
|
*
|
|
36
36
|
* @param displayNumericValue - The setting for the display of numerical value in the legend items
|
|
37
37
|
*/
|
|
@@ -39,7 +39,7 @@ export abstract class PieChartLegendModel extends PieChartLegendModelSuperclass
|
|
|
39
39
|
/**
|
|
40
40
|
* Sets the setting for the display of percentage in the legend items.
|
|
41
41
|
*
|
|
42
|
-
* **Note**:
|
|
42
|
+
* **Note**: Only applicable to pie charts.
|
|
43
43
|
*
|
|
44
44
|
* @param displayPercentage - The setting for the display of percentage in the legend items
|
|
45
45
|
*/
|
|
@@ -47,7 +47,7 @@ export abstract class PieChartLegendModel extends PieChartLegendModelSuperclass
|
|
|
47
47
|
/**
|
|
48
48
|
* Sets the maximum width in pixel for the legend item labels.
|
|
49
49
|
*
|
|
50
|
-
* **Note**:
|
|
50
|
+
* **Note**: Only applicable to pie charts.
|
|
51
51
|
*
|
|
52
52
|
* @param labelMaxWidth - The maximum width in pixel for the legend item labels
|
|
53
53
|
*/
|
|
@@ -1,20 +1,20 @@
|
|
|
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. */
|
|
16
16
|
accessor aggregationType: WebChartStatisticType;
|
|
17
|
-
/** Align data labels
|
|
17
|
+
/** Align the data labels on the left or right side of the chart instead of the default position around the chart. */
|
|
18
18
|
accessor alignDataLabels: boolean | undefined;
|
|
19
19
|
/** Category field for the pie chart. */
|
|
20
20
|
accessor category: string;
|
|
@@ -48,6 +48,7 @@ export class PieChartModel extends PieChartModelSuperclass {
|
|
|
48
48
|
accessor displayNumericValueOnTooltip: boolean;
|
|
49
49
|
/**
|
|
50
50
|
* Whether to display the percentage on the data label.
|
|
51
|
+
*
|
|
51
52
|
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
52
53
|
*/
|
|
53
54
|
accessor displayPercentageOnDataLabel: boolean;
|
|
@@ -57,7 +58,7 @@ export class PieChartModel extends PieChartModelSuperclass {
|
|
|
57
58
|
* **Note**: If the setting is not found in the config, it will default to `true`.
|
|
58
59
|
*/
|
|
59
60
|
accessor displayPercentageOnTooltip: boolean;
|
|
60
|
-
/** Display type for the pie chart slices. Specifies whether to display the slices as a percentage
|
|
61
|
+
/** Display type for the pie chart slices. Specifies whether to display the slices as a `percentage`, `value`, or `both`. */
|
|
61
62
|
accessor displayType: PieChartSlicesDisplay;
|
|
62
63
|
/** End angle of the pie chart. */
|
|
63
64
|
accessor endAngle: number | null | undefined;
|
|
@@ -70,7 +71,8 @@ export class PieChartModel extends PieChartModelSuperclass {
|
|
|
70
71
|
/** Character limit for the slice labels. */
|
|
71
72
|
accessor labelCharacterLimit: number | null;
|
|
72
73
|
/**
|
|
73
|
-
* The pie chart data mode
|
|
74
|
+
* The pie chart data mode.
|
|
75
|
+
*
|
|
74
76
|
* `category` - The chart is using values from the category field to determine each slice.
|
|
75
77
|
* `fields` - The chart is using aggregated values from the numeric fields to determine each slice.
|
|
76
78
|
*/
|
|
@@ -80,7 +82,14 @@ export class PieChartModel extends PieChartModelSuperclass {
|
|
|
80
82
|
set numericFields(value: string[] | string);
|
|
81
83
|
/** Optimize data labels overlapping setting for the pie chart. */
|
|
82
84
|
accessor optimizeDataLabelsOverlapping: boolean | undefined;
|
|
83
|
-
/**
|
|
85
|
+
/**
|
|
86
|
+
* List of category's values for custom sort.
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* ```ts
|
|
90
|
+
* pieChartModel.orderByList = ["Field1", "Field2", "Field3"];
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
84
93
|
accessor orderByList: string[];
|
|
85
94
|
/** Order of the slice array by returning an array of slice ids */
|
|
86
95
|
accessor orderOfSlices: string[] | undefined;
|
|
@@ -184,7 +193,6 @@ export class PieChartModel extends PieChartModelSuperclass {
|
|
|
184
193
|
* Completes the async setup process for the chart model. Must be called before using the model.
|
|
185
194
|
*
|
|
186
195
|
* @param params
|
|
187
|
-
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
188
196
|
*/
|
|
189
197
|
setup(params: ModelParams<ChartConfig<typeof ModelTypes.PieChart>>): Promise<void>;
|
|
190
198
|
}
|
|
@@ -2,6 +2,10 @@ import type { ChartModelBase } from "../../../chart-model/chart-model-base.js";
|
|
|
2
2
|
|
|
3
3
|
/** Adds support for configuring the maximum x-axis bound. */
|
|
4
4
|
export abstract class WithMaxXBound extends ChartModelBase {
|
|
5
|
-
/**
|
|
5
|
+
/**
|
|
6
|
+
* Maximum bound set for the x-axis.
|
|
7
|
+
*
|
|
8
|
+
* `null` indicates no explicit maximum.
|
|
9
|
+
*/
|
|
6
10
|
accessor maxXBound: number | null;
|
|
7
11
|
}
|
|
@@ -2,6 +2,10 @@ import type { ChartModelBase } from "../../../chart-model/chart-model-base.js";
|
|
|
2
2
|
|
|
3
3
|
/** Adds support for configuring the minimum x-axis bound. */
|
|
4
4
|
export abstract class WithMinXBound extends ChartModelBase {
|
|
5
|
-
/**
|
|
5
|
+
/**
|
|
6
|
+
* Minimum bound set for the x-axis.
|
|
7
|
+
*
|
|
8
|
+
* `null` indicates no explicit minimum.
|
|
9
|
+
*/
|
|
6
10
|
accessor minXBound: number | null;
|
|
7
11
|
}
|