@arcgis/charts-components 5.1.0-next.8 → 5.1.0-next.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/cdn/2EFFPZSB.js +2 -0
- package/dist/cdn/{SM4LQF5M.js → 2NN5AE5D.js} +1 -1
- package/dist/cdn/3AIE3FUA.js +2 -0
- package/dist/cdn/3LYW7DPP.js +2 -0
- package/dist/cdn/3MHB5VAM.js +37 -0
- package/dist/cdn/3VEQ7HMG.js +2 -0
- package/dist/cdn/{VFP7AKUR.js → 45P5JEKC.js} +1 -1
- package/dist/cdn/{Q5N6IPFC.js → 47WDNO2P.js} +1 -1
- package/dist/cdn/4GCUO37L.js +2 -0
- package/dist/cdn/4IYPGSMC.js +2 -0
- package/dist/cdn/{6WQPKBUS.js → 4LH6RELA.js} +1 -1
- package/dist/cdn/4YZHTVL7.js +2 -0
- package/dist/cdn/52XNA2DH.js +2 -0
- package/dist/cdn/57CR5SOU.js +2 -0
- package/dist/cdn/5ZYCFKFX.js +2 -0
- package/dist/cdn/66KEM4LG.js +2 -0
- package/dist/cdn/6DGQQ4V4.js +2 -0
- package/dist/cdn/6FB455E4.js +2 -0
- package/dist/cdn/6P6HFKV2.js +2 -0
- package/dist/cdn/7BDNLABD.js +2 -0
- package/dist/cdn/7GWVJEAI.js +2 -0
- package/dist/cdn/7I2D5SVD.js +2 -0
- package/dist/cdn/7ICRLJ5R.js +2 -0
- package/dist/cdn/7K2V6YNA.js +2 -0
- package/dist/cdn/7X23S5SF.js +2 -0
- package/dist/cdn/A4FCRGKH.js +2 -0
- package/dist/cdn/ALMGT4ZN.js +2 -0
- package/dist/cdn/BBBLK7RI.js +2 -0
- package/dist/cdn/BCPVUKSF.js +2 -0
- package/dist/cdn/CXSNVG3M.js +2 -0
- package/dist/cdn/DYQRIA4G.js +2 -0
- package/dist/cdn/E5P3LY6E.js +2 -0
- package/dist/cdn/E6S67HXA.js +2 -0
- package/dist/cdn/{HAJ2VWEU.js → EEBD6KKN.js} +1 -1
- package/dist/cdn/{KACPA2Q3.js → EEBFNI6X.js} +1 -1
- package/dist/cdn/{6DSWJCEU.js → FOYNQPWL.js} +1 -1
- package/dist/cdn/G2EWR4OS.js +2 -0
- package/dist/cdn/GDTHQBCP.js +2 -0
- package/dist/cdn/GPXGV2W3.js +2 -0
- package/dist/cdn/H32MCV7J.js +2 -0
- package/dist/cdn/HESIIJTB.js +2 -0
- package/dist/cdn/HNRWEWFM.js +2 -0
- package/dist/cdn/HWJIFGRR.js +2 -0
- package/dist/cdn/ICCNKIGD.js +2 -0
- package/dist/cdn/IKRCUXIB.js +2 -0
- package/dist/cdn/IO7TJZDW.js +2 -0
- package/dist/cdn/{BHWSEWHV.js → IVWZLS7W.js} +1 -1
- package/dist/cdn/IXGXDRYR.js +2 -0
- package/dist/cdn/{EVWSDR7F.js → IZCUAYGW.js} +1 -1
- package/dist/cdn/JB527BEY.js +2 -0
- package/dist/cdn/JLFVNF5U.js +2 -0
- package/dist/cdn/JM6E3U5J.js +2 -0
- package/dist/cdn/JZPDA4LD.js +2 -0
- package/dist/cdn/{INXFZ3KK.js → KBDOBMB5.js} +7 -7
- package/dist/cdn/KC5H5WGK.js +2 -0
- package/dist/cdn/KFBMPA6U.js +2 -0
- package/dist/cdn/KFIYYH54.js +2 -0
- package/dist/cdn/KQD5PSPV.js +2 -0
- package/dist/cdn/KRGZLJM5.js +2 -0
- package/dist/cdn/KUO2EPUE.js +2 -0
- package/dist/cdn/LD2K2FUM.js +2 -0
- package/dist/cdn/LHNPAXRS.js +2 -0
- package/dist/cdn/LNTDBU7W.js +2 -0
- package/dist/cdn/LPGL66XP.js +2 -0
- package/dist/cdn/LT4HKSXR.js +2 -0
- package/dist/cdn/LX5QI6J3.js +2 -0
- package/dist/cdn/{KZ37E2J3.js → LZNL4CV3.js} +7 -7
- package/dist/cdn/{SBHIJW76.js → MBC2KQUK.js} +1 -1
- package/dist/cdn/MFIKF7RC.js +2 -0
- package/dist/cdn/{K4VD72SG.js → MGIPPTHG.js} +1 -1
- package/dist/cdn/NFBNUOS2.js +2 -0
- package/dist/cdn/NHN6CQRE.js +2 -0
- package/dist/cdn/OQLV6YYT.js +2 -0
- package/dist/cdn/P2MVLEZ7.js +2 -0
- package/dist/cdn/{VPTDXGKU.js → PDXLVDA2.js} +1 -1
- package/dist/cdn/PV4ROV2W.js +2 -0
- package/dist/cdn/Q3YDW4V6.js +2 -0
- package/dist/cdn/QGLWCPMB.js +2 -0
- package/dist/cdn/QJKJNE7A.js +2 -0
- package/dist/cdn/QVD6LHQ2.js +2 -0
- package/dist/cdn/RI65IJRW.js +2 -0
- package/dist/cdn/SJWEUS4D.js +2 -0
- package/dist/cdn/SLB3Y7Q2.js +2 -0
- package/dist/cdn/SUUMGHCO.js +2 -0
- package/dist/cdn/SYV4I4MD.js +4 -0
- package/dist/cdn/T47JP5N6.js +2 -0
- package/dist/cdn/T5RPAQYI.js +2 -0
- package/dist/cdn/TJ3ALCTV.js +2 -0
- package/dist/cdn/TWLIURYH.js +2 -0
- package/dist/cdn/TZG37HE4.js +2 -0
- package/dist/cdn/U7L3L6IV.js +2 -0
- package/dist/cdn/UM7JZ2DY.js +2 -0
- package/dist/cdn/V45SCYTC.js +2 -0
- package/dist/cdn/{TS3WIN62.js → VOR2H3D7.js} +1 -1
- package/dist/cdn/VPLVBL2P.js +2 -0
- package/dist/cdn/WTQDFRE7.js +2 -0
- package/dist/cdn/X234G7PD.js +2 -0
- package/dist/cdn/X7FQPP5T.js +2 -0
- package/dist/cdn/XJFKEIB4.js +2 -0
- package/dist/cdn/XLHQQCTU.js +2 -0
- package/dist/cdn/XSH2YEV4.js +2 -0
- package/dist/cdn/Y3E4HJZ6.js +2 -0
- package/dist/cdn/Y5KIJ6GX.js +120 -0
- package/dist/cdn/Y7IQV44J.js +2 -0
- package/dist/cdn/{ZXIRDWJW.js → YAVQSNZ6.js} +1 -1
- package/dist/cdn/YKJO6KSB.js +2 -0
- package/dist/cdn/YSZU65DU.js +2 -0
- package/dist/cdn/{PKWXSPJL.js → ZEQ6Q5SM.js} +1 -1
- package/dist/cdn/ZMVYIIG4.js +2 -0
- package/dist/cdn/ZRULG7VV.js +4 -0
- 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-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/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +8 -0
- package/dist/chart-rendering/common/interfaces.d.ts +76 -79
- package/dist/chunks/action-bar-utils.js +60 -43
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +35 -25
- package/dist/chunks/bar-chart-series.js +22 -13
- package/dist/chunks/box-plot-data.js +166 -163
- package/dist/chunks/box-plot-model.js +35 -36
- package/dist/chunks/chart-model.js +92 -54
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +66 -57
- package/dist/chunks/class-breaks.js +250 -132
- package/dist/chunks/combo-bar-line-chart-model.js +39 -32
- package/dist/chunks/common.js +2 -2
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data.js +98 -74
- package/dist/chunks/default.js +4 -4
- package/dist/chunks/gauge-model.js +63 -37
- package/dist/chunks/generate-x-axis-title.js +41 -33
- package/dist/chunks/heat-chart-model.js +168 -101
- package/dist/chunks/histogram-data.js +58 -50
- package/dist/chunks/histogram-model.js +39 -28
- package/dist/chunks/index.js +9918 -8233
- package/dist/chunks/index2.js +149 -156
- package/dist/chunks/index3.js +12 -13
- package/dist/chunks/index4.js +63 -95
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/line-chart-model.js +3 -3
- package/dist/chunks/model-setter.js +37 -28
- package/dist/chunks/model-with-guides.js +61 -42
- package/dist/chunks/model-with-tooltips.js +64 -66
- package/dist/chunks/model-with-y-guides.js +33 -25
- package/dist/chunks/negative-values-stacked-to-baseline.js +64 -57
- package/dist/chunks/pie-chart-data.js +83 -75
- package/dist/chunks/pie-chart-model.js +67 -52
- package/dist/chunks/radar-chart-model.js +23 -15
- package/dist/chunks/resources.js +15 -0
- package/dist/chunks/rest-js-object-literals.js +11 -10
- package/dist/chunks/rotated-state.js +22 -14
- package/dist/chunks/scatterplot-model.js +52 -44
- package/dist/chunks/serial-chart-data.js +636 -527
- package/dist/chunks/serial-chart-model.js +243 -225
- package/dist/chunks/series-length.js +33 -25
- package/dist/chunks/series-types.js +32 -23
- package/dist/chunks/series.js +19 -11
- package/dist/chunks/setup-utils.js +1 -1
- package/dist/chunks/store.js +25 -16
- package/dist/chunks/type-guards.js +87 -83
- package/dist/chunks/utils.js +151 -144
- package/dist/chunks/utils2.js +36 -28
- package/dist/chunks/web-component-utils.js +201 -206
- package/dist/components/arcgis-chart/customElement.d.ts +84 -45
- package/dist/components/arcgis-chart/customElement.js +16419 -17087
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +6 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +24 -24
- package/dist/components/arcgis-charts-config-axis/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +35 -28
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +40 -24
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +45 -37
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +18 -10
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +22 -14
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +21 -14
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +14 -6
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +37 -29
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +13 -5
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +25 -17
- package/dist/components/arcgis-charts-config-category-format/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +22 -14
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +133 -126
- package/dist/components/arcgis-charts-config-font-style/customElement.js +25 -17
- package/dist/components/arcgis-charts-config-format/customElement.js +55 -45
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +16 -8
- package/dist/components/arcgis-charts-config-general/customElement.js +16 -8
- package/dist/components/arcgis-charts-config-guide/customElement.js +43 -29
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +22 -14
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +15 -7
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +32 -25
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +210 -238
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +18 -10
- package/dist/components/arcgis-charts-config-histogram/customElement.js +40 -33
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +38 -30
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +30 -22
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +31 -24
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +17 -9
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +35 -27
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +13 -5
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +15 -7
- package/dist/components/arcgis-charts-config-line-style/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-number-format/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +19 -12
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +19 -11
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +30 -22
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +17 -9
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +18 -10
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +29 -21
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +15 -7
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +22 -14
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +37 -25
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +23 -14
- package/dist/components/arcgis-charts-info-modal/customElement.js +35 -20
- 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.js +440 -393
- package/dist/interfaces.d.ts +11 -5
- package/dist/json-schema/index.d.ts +220 -219
- package/dist/loader.js +7 -7
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +6 -5
- package/dist/model/box-plot-model/box-plot-model.d.ts +19 -10
- package/dist/model/chart-model/chart-model-base.d.ts +0 -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 +29 -8
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +109 -38
- package/dist/model/histogram-model/histogram-model.d.ts +18 -4
- package/dist/model/interfaces/chart-interfaces.d.ts +4 -4
- package/dist/model/interfaces/common.d.ts +5 -2
- package/dist/model/line-chart-model/line-chart-model.d.ts +0 -1
- 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 +13 -5
- 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/chart-renderer.d.ts +44 -1
- package/dist/model/properties/color-match.d.ts +0 -1
- package/dist/model/properties/data-labels/data-labels-visibility.d.ts +1 -4
- package/dist/model/properties/description/description-visibility.d.ts +0 -4
- package/dist/model/properties/layer.d.ts +2 -2
- package/dist/model/properties/subtitle/subtitle-visibility.d.ts +0 -4
- 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 +9 -13
- package/dist/model/shared/setup-utils.d.ts +13 -6
- package/dist/model/shared/type-guards.d.ts +8 -0
- package/dist/model.js +9 -8
- package/dist/spec/data-source.d.ts +26 -18
- package/dist/spec/events.d.ts +2 -5
- package/dist/spec/rest-js-object-literals.d.ts +1 -0
- package/dist/spec/rest-js-types.d.ts +44 -11
- package/dist/spec/web-chart.d.ts +281 -245
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/chart-config/converter/index.d.ts +9 -9
- package/dist/utils/chart-config/utils/index.d.ts +41 -8
- package/dist/utils/chart-config/validator/index.d.ts +8 -6
- package/dist/utils/components/event-payloads.d.ts +3 -3
- package/dist/utils/data/categorical-data/index.d.ts +1 -1
- package/dist/utils/data/index.d.ts +126 -5
- package/dist/utils/data/interfaces.d.ts +0 -1
- package/dist/utils/data/pie-chart/index.d.ts +31 -0
- package/dist/utils/defaults/index.d.ts +23 -1
- package/dist/utils/defaults/interfaces.d.ts +2 -0
- package/dist/utils/errors/index.d.ts +5 -5
- package/dist/utils/errors/interfaces.d.ts +1 -0
- package/dist/utils/layer/index.d.ts +84 -49
- package/dist/utils/layer/inline-conversion/index.d.ts +7 -8
- package/dist/utils/layer/interfaces.d.ts +10 -45
- package/dist/utils/layer/query-features/index.d.ts +6 -4
- package/dist/utils/layer/query-features/interfaces.d.ts +1 -1
- package/dist/utils/layer/query-parser/index.d.ts +17 -12
- package/dist/utils/layer/utils/index.d.ts +89 -21
- package/dist/utils/localization/index.d.ts +3 -19
- package/dist/utils/localization/interfaces.d.ts +7 -0
- package/dist/utils/misc/index.d.ts +30 -9
- package/dist/utils/misc/interfaces.d.ts +9 -6
- package/dist/utils/type-guards/index.d.ts +17 -10
- package/dist/utils/types/index.d.ts +17 -17
- package/dist/utils/ui/popover-ui-utils.d.ts +1 -1
- package/package.json +8 -9
- package/dist/cdn/2LIJ6LL6.js +0 -2
- package/dist/cdn/2OGUU3CF.js +0 -2
- package/dist/cdn/2XUJZES7.js +0 -2
- package/dist/cdn/3FSLSUSK.js +0 -2
- package/dist/cdn/3IKX7JF5.js +0 -2
- package/dist/cdn/3LSZZLGN.js +0 -2
- package/dist/cdn/3RGDIFXM.js +0 -2
- package/dist/cdn/3XL7ZAYC.js +0 -2
- package/dist/cdn/4JKSKAIM.js +0 -2
- package/dist/cdn/4XC2ZKSZ.js +0 -2
- package/dist/cdn/5AGSNJFG.js +0 -2
- package/dist/cdn/5J43WZSR.js +0 -2
- package/dist/cdn/5JLPD2NR.js +0 -2
- package/dist/cdn/5SE3ZDX2.js +0 -2
- package/dist/cdn/6HU6FAC6.js +0 -2
- package/dist/cdn/6JS63XSI.js +0 -2
- package/dist/cdn/7BFETEN2.js +0 -2
- package/dist/cdn/7EP32GQJ.js +0 -2
- package/dist/cdn/7WH6VBY6.js +0 -2
- package/dist/cdn/A6FLP7SG.js +0 -2
- package/dist/cdn/ACHYJXNP.js +0 -2
- package/dist/cdn/ANOLEK36.js +0 -2
- package/dist/cdn/ATIYLNFB.js +0 -2
- package/dist/cdn/ATYJIBQA.js +0 -2
- package/dist/cdn/B33AB3RQ.js +0 -2
- package/dist/cdn/BJPCRXMJ.js +0 -2
- package/dist/cdn/BTMNCXKX.js +0 -2
- package/dist/cdn/BTOKHA76.js +0 -2
- package/dist/cdn/CTXREB7E.js +0 -2
- package/dist/cdn/D5XDNKEV.js +0 -2
- package/dist/cdn/DAQJEXZA.js +0 -2
- package/dist/cdn/DGTF5KBL.js +0 -2
- package/dist/cdn/DSRT3QGU.js +0 -2
- package/dist/cdn/E3KNK2QL.js +0 -2
- package/dist/cdn/EAMOK76F.js +0 -2
- package/dist/cdn/ENHEXARD.js +0 -2
- package/dist/cdn/ERWSXC2D.js +0 -2
- package/dist/cdn/FYJRJVSR.js +0 -2
- package/dist/cdn/GUD54AQJ.js +0 -2
- package/dist/cdn/H7ZDNA7W.js +0 -2
- package/dist/cdn/HOVLVPQH.js +0 -2
- package/dist/cdn/HYAXYKZG.js +0 -2
- package/dist/cdn/I7WRC44V.js +0 -2
- package/dist/cdn/IASONEII.js +0 -2
- package/dist/cdn/IEY3ZHXM.js +0 -2
- package/dist/cdn/JAKJRZFS.js +0 -2
- package/dist/cdn/JCW7HW3E.js +0 -58
- package/dist/cdn/JGB4OLU5.js +0 -2
- package/dist/cdn/JTA6HTV5.js +0 -2
- package/dist/cdn/KFJXMRC6.js +0 -2
- package/dist/cdn/KIMKCXB6.js +0 -2
- package/dist/cdn/KKGG37KV.js +0 -2
- package/dist/cdn/KPYFZSB5.js +0 -2
- package/dist/cdn/KSYKVAYS.js +0 -2
- package/dist/cdn/KZ7WEJMS.js +0 -2
- package/dist/cdn/LRRTUMQS.js +0 -2
- package/dist/cdn/M7ZR4HR7.js +0 -2
- package/dist/cdn/MDLYTSBA.js +0 -2
- package/dist/cdn/MIH3XFE3.js +0 -2
- package/dist/cdn/MLDP5OXE.js +0 -2
- package/dist/cdn/MMZFC2VM.js +0 -2
- package/dist/cdn/N2UJIZEU.js +0 -2
- package/dist/cdn/OEJ6ZA3E.js +0 -2
- package/dist/cdn/OFRMMDZQ.js +0 -2
- package/dist/cdn/OJGWQ3IH.js +0 -2
- package/dist/cdn/PUCPVH4M.js +0 -2
- package/dist/cdn/QCF56OBO.js +0 -2
- package/dist/cdn/R5CKMPU7.js +0 -2
- package/dist/cdn/RF7C6WVN.js +0 -2
- package/dist/cdn/RFHASMHJ.js +0 -2
- package/dist/cdn/RUUYSZO3.js +0 -2
- package/dist/cdn/SPAXIJWK.js +0 -2
- package/dist/cdn/TGNJ76AH.js +0 -32
- package/dist/cdn/THBEEC5Q.js +0 -2
- package/dist/cdn/TLSTPQNA.js +0 -2
- package/dist/cdn/U2TWW4FY.js +0 -2
- package/dist/cdn/UJ2JV7FV.js +0 -2
- package/dist/cdn/VBOUUUVO.js +0 -2
- package/dist/cdn/VDXJP4RT.js +0 -2
- package/dist/cdn/VKLPG37D.js +0 -2
- package/dist/cdn/W7KYGPSP.js +0 -2
- package/dist/cdn/WYPEKQH6.js +0 -4
- package/dist/cdn/XHXTKPL6.js +0 -2
- package/dist/cdn/XJSBB5KR.js +0 -2
- package/dist/cdn/XPM5OZBN.js +0 -2
- package/dist/cdn/XQ26L3RE.js +0 -4
- package/dist/cdn/YFEYEBAA.js +0 -2
- package/dist/cdn/YUFKLXMQ.js +0 -2
- package/dist/cdn/YXWXHEUY.js +0 -2
- package/dist/cdn/Z3EGNO5M.js +0 -2
- package/dist/cdn/ZVVQECSL.js +0 -2
- package/dist/cdn/ZYEUKPGT.js +0 -2
- package/dist/cdn/ZYMJEZKL.js +0 -2
- package/dist/chunks/index5.js +0 -66
- /package/dist/cdn/{T73O5OD5.js → 3OGKV4KZ.js} +0 -0
- /package/dist/cdn/{DB6PUP7Y.js → 3VMIFF7C.js} +0 -0
- /package/dist/cdn/{PHPEGJKB.js → 47EOUNYO.js} +0 -0
- /package/dist/cdn/{WNLCIQAX.js → 5TOYNVTW.js} +0 -0
- /package/dist/cdn/{5IAOT56I.js → 6HUDF5Q2.js} +0 -0
- /package/dist/cdn/{QBFKFCAR.js → ALRIN5E5.js} +0 -0
- /package/dist/cdn/{RBFLURN4.js → AVU2CHAB.js} +0 -0
- /package/dist/cdn/{J3EUXZ6G.js → B4ULOSFG.js} +0 -0
- /package/dist/cdn/{V3OHZN3J.js → BQOMKKBK.js} +0 -0
- /package/dist/cdn/{W236VLPQ.js → BUCYRXMT.js} +0 -0
- /package/dist/cdn/{QXCTWH2Z.js → BY77PBZ2.js} +0 -0
- /package/dist/cdn/{VWM7AVM6.js → COQ55XOW.js} +0 -0
- /package/dist/cdn/{MUUD74AD.js → DNSUOJXJ.js} +0 -0
- /package/dist/cdn/{JXQXA2KV.js → EIIQ2CSC.js} +0 -0
- /package/dist/cdn/{CAFCD23J.js → EVHJVY4I.js} +0 -0
- /package/dist/cdn/{HBUMNQ3P.js → F57IRWBF.js} +0 -0
- /package/dist/cdn/{NLCFSYMX.js → FLSUJTUZ.js} +0 -0
- /package/dist/cdn/{7XPFSBJR.js → FSNQ3YXX.js} +0 -0
- /package/dist/cdn/{4OQCJUCA.js → G2L5FYWK.js} +0 -0
- /package/dist/cdn/{HGLFNVUQ.js → GR4BZF3L.js} +0 -0
- /package/dist/cdn/{TW4GANOP.js → GWPFABGL.js} +0 -0
- /package/dist/cdn/{NWX4MEZT.js → HJW6UNEH.js} +0 -0
- /package/dist/cdn/{MRPQHHAR.js → I3BNBZ4D.js} +0 -0
- /package/dist/cdn/{S5OM65RV.js → J6TUXYMO.js} +0 -0
- /package/dist/cdn/{YB66QEEP.js → LOX7MXL4.js} +0 -0
- /package/dist/cdn/{UBAJJGZQ.js → MS6EYP4R.js} +0 -0
- /package/dist/cdn/{UAAZT4XK.js → NGLXQHZ2.js} +0 -0
- /package/dist/cdn/{4KKFIMTJ.js → NPVXLEZW.js} +0 -0
- /package/dist/cdn/{OAX6BSTV.js → NSRIVIOH.js} +0 -0
- /package/dist/cdn/{NRAJ4BK2.js → RHGKKMJG.js} +0 -0
- /package/dist/cdn/{GPLZLU72.js → S5EI7T2D.js} +0 -0
- /package/dist/cdn/{GRDFMG2M.js → SOIF6AMX.js} +0 -0
- /package/dist/cdn/{DO4HZTZB.js → THJTENN5.js} +0 -0
- /package/dist/cdn/{7BO3HV6A.js → TX2SYGTH.js} +0 -0
- /package/dist/cdn/{L2OPHSDM.js → YQJLA77R.js} +0 -0
- /package/dist/cdn/{FOOU5K3C.js → ZL5EGDOW.js} +0 -0
package/dist/loader.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { r as e } from "./chunks/runtime.js";
|
|
3
3
|
import { makeDefineCustomElements as t } from "@arcgis/lumina";
|
|
4
|
-
const
|
|
5
|
-
"arcgis-chart": [() => import("./components/arcgis-chart/customElement.js"), "_messages:,actionMode,allowUsingObjectIdStat,aria:,autoDestroyDisabled,autoDisposeChart,autoInverseDataLabelTextColor,chartIndex,chartLimits:,chartWillRender:,commonStrings:,cursorRange,dataLabelFormatter:,
|
|
4
|
+
const o = t(e, {
|
|
5
|
+
"arcgis-chart": [() => import("./components/arcgis-chart/customElement.js"), "_messages:,actionMode,allowUsingObjectIdStat,aria:,autoDestroyDisabled,autoDisposeChart,autoInverseDataLabelTextColor,chartIndex,chartLimits:,chartWillRender:,commonStrings:,cursorRange,dataLabelFormatter:,disableInteractions,disableTogglingLegendItems,enableAutoTheming,enableBetaFeatures,enableConfiguration,enableResponsiveFeatures,errorPolicy,featureIndex,filterByExtent,filterBySelection,gaugeInnerLabelFormatter:,guideTooltipFormatter:,hideEmptySeries,hideLicenseWatermark,hideLoaderAnimation,ignoreSmoothRenderingLimit,ignoreViewExtent,layer:,layerFieldsChangePolicy,layerFilterChangePolicy,layerItemId,layerRendererChangePolicy,legendPosition,legendValueLabelFormatter:,legendVisibility,loaderColors:,messageOverrides:,model:,nullAsValid,placeholder,queueChartCreation,replaceNoValueCategoryWithZero,returnFeaturesExtent,returnSelectionIndexes,returnSelectionOIDs,rotation,runtimeDataFilters:,secondaryYAxisLabelFormatter:,selectionData:,selectionManager:,selectionTheme:,setTimeBinningInfoWhenNotProvided,showUIMessages,syncSelection,syncSelectionsBetweenChartAndLayerViewPolicy,syncViewSelection,timeZone,tooltipFormatter:,updateSplitBySeries:,useAnimatedCharts,usePopupTemplateFieldsInfo,view:,viewTimeExtentChangePolicy,xAxisLabelFormatter:,yAxisLabelFormatter:;clearSelection,destroy,exportAsCSV,exportAsImage,loadModel,notify,refresh,resetZoom,switchSelection;applySelectionFromSelectionManager"],
|
|
6
6
|
"arcgis-charts-action-bar": [() => import("./components/arcgis-charts-action-bar/customElement.js"), "_messages:,actionBarSelectionMode,chartElement:,chartType,clearSelectionState,clearSelectionTitle,clearSelectionToggle,commonStrings:,disableCSVExportForChartTypes:,editChartState,editChartTitle,editChartToggle,expanded,exportActionState,exportAsCSVState,exportAsCSVTitle,exportAsImageState,exportAsImageTitle,filterByExtentState,filterByExtentTitle,filterByExtentToggle,filterBySelectionState,filterBySelectionTitle,filterBySelectionToggle,forceDisableActions,fullExtentState,fullExtentTitle,fullExtentToggle,hiddenActions:,legendState,legendTitle,legendToggle,messageOverrides:,rotateChartState,rotateChartTitle,rotateChartToggle,selectionState,selectionTitle,selectionToggle,switchSelectionState,switchSelectionTitle,switchSelectionToggle,zoomState,zoomTitle,zoomToggle"],
|
|
7
7
|
"arcgis-charts-config-axes": [() => import("./components/arcgis-charts-config-axes/customElement.js"), "calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,messageOverrides:,model:,open,showEnableXLogOption,showEnableYLogOption,showMaxXBoundOption,showMaxYBoundOption,showMinXBoundOption,showMinYBoundOption"],
|
|
8
8
|
"arcgis-charts-config-axis": [() => import("./components/arcgis-charts-config-axis/customElement.js"), "axisTitle,dataMaxValue,dataMinValue,initialMaxBound,initialMinBound,isXAxis,maxBoundMaxLimit,maxBoundMinLimit,messageOverrides:,minBoundMaxLimit,minBoundMinLimit,model:,showEnableLogOption,showMaxBoundOption,showMinBoundOption"],
|
|
@@ -30,8 +30,8 @@ const i = t(e, {
|
|
|
30
30
|
"arcgis-charts-config-guide-popover": [() => import("./components/arcgis-charts-config-guide-popover/customElement.js"), "messageOverrides:,open,placement,referenceElement:,selectedElement:;reposition"],
|
|
31
31
|
"arcgis-charts-config-guides": [() => import("./components/arcgis-charts-config-guides/customElement.js"), "calculatedMinMaxBounds:,enableXAxisGuide,enableYAxisGuide,messageOverrides:,model:,open,timeZone"],
|
|
32
32
|
"arcgis-charts-config-guides-type-popover": [() => import("./components/arcgis-charts-config-guides-type-popover/customElement.js"), "enableXAxisGuide,enableYAxisGuide,messageOverrides:,open,placement,referenceElement:;reposition"],
|
|
33
|
-
"arcgis-charts-config-heat-chart": [() => import("./components/arcgis-charts-config-heat-chart/customElement.js"), "
|
|
34
|
-
"arcgis-charts-config-heat-chart-data": [() => import("./components/arcgis-charts-config-heat-chart-data/customElement.js"), "
|
|
33
|
+
"arcgis-charts-config-heat-chart": [() => import("./components/arcgis-charts-config-heat-chart/customElement.js"), "layer:,model:,page,usePopupTemplateFieldsInfo"],
|
|
34
|
+
"arcgis-charts-config-heat-chart-data": [() => import("./components/arcgis-charts-config-heat-chart-data/customElement.js"), "layerFieldsInfo:,messageOverrides:,model:,open"],
|
|
35
35
|
"arcgis-charts-config-heat-chart-popover": [() => import("./components/arcgis-charts-config-heat-chart-popover/customElement.js"), "colorRamps:,contentKind,headingTitle,isFlipped,layerFieldsInfo:,messageOverrides:,model:,open,referenceElement:,selectedContent;reposition"],
|
|
36
36
|
"arcgis-charts-config-histogram": [() => import("./components/arcgis-charts-config-histogram/customElement.js"), "calculatedMinMaxBounds:,chartData:,layer:,model:,page,seriesColor:,usePopupTemplateFieldsInfo"],
|
|
37
37
|
"arcgis-charts-config-histogram-data": [() => import("./components/arcgis-charts-config-histogram-data/customElement.js"), "countValue,layerFieldsInfo:,maxValue,meanValue,medianValue,messageOverrides:,minValue,model:,nullsValue,open,selectedOverlaySymbolType,standardDevValue,sumValue"],
|
|
@@ -52,10 +52,10 @@ const i = t(e, {
|
|
|
52
52
|
"arcgis-charts-config-scatter-plot": [() => import("./components/arcgis-charts-config-scatter-plot/customElement.js"), "calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,r2,usePopupTemplateFieldsInfo"],
|
|
53
53
|
"arcgis-charts-config-scatter-plot-data": [() => import("./components/arcgis-charts-config-scatter-plot-data/customElement.js"), "isTableLayer,layerFieldsInfo:,messageOverrides:,model:,r2"],
|
|
54
54
|
"arcgis-charts-config-scatter-plot-popover": [() => import("./components/arcgis-charts-config-scatter-plot-popover/customElement.js"), "contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,placement,referenceElement:,selectedContent;reposition"],
|
|
55
|
-
"arcgis-charts-config-select-chart-type-popover": [() => import("./components/arcgis-charts-config-select-chart-type-popover/customElement.js"), "headerTitle,layerId,messageOverrides:,open,popoverPlacement,referenceElement:,selectedModelType;reposition"],
|
|
55
|
+
"arcgis-charts-config-select-chart-type-popover": [() => import("./components/arcgis-charts-config-select-chart-type-popover/customElement.js"), "headerTitle,layerId,layerType,messageOverrides:,open,popoverPlacement,referenceElement:,selectedModelType;reposition"],
|
|
56
56
|
"arcgis-charts-config-view-charts": [() => import("./components/arcgis-charts-config-view-charts/customElement.js"), "disableEditing,layer:,messageOverrides:,modelList:,noGroup,selectedChartId"],
|
|
57
|
-
"arcgis-charts-info-modal": [() => import("./components/arcgis-charts-info-modal/customElement.js"), "
|
|
57
|
+
"arcgis-charts-info-modal": [() => import("./components/arcgis-charts-info-modal/customElement.js"), "calciteThemeApplied,enableAutoTheming,heading,loaderColors:,message,showLoader"]
|
|
58
58
|
});
|
|
59
59
|
export {
|
|
60
|
-
|
|
60
|
+
o as defineCustomElements
|
|
61
61
|
};
|
|
@@ -5,13 +5,15 @@ import type { ChartConfig } from "../../utils/types/index.js";
|
|
|
5
5
|
|
|
6
6
|
export class BarChartModel extends SerialChartModel {
|
|
7
7
|
/**
|
|
8
|
-
* Gets whether to hide oversized data labels of the side-by-side series based on the series index.
|
|
8
|
+
* Gets whether to hide oversized data labels of the side-by-side series based on the series index.
|
|
9
|
+
* If the index is out of bounds, it will return `undefined`.
|
|
9
10
|
*
|
|
10
11
|
* @param seriesIndex - The index of the series.
|
|
11
12
|
*/
|
|
12
13
|
getSeriesHideOversizedSideBySideLabels(seriesIndex: number): boolean | undefined;
|
|
13
14
|
/**
|
|
14
|
-
* Gets whether to hide oversized stacked labels of the series based on the series index.
|
|
15
|
+
* Gets whether to hide oversized stacked labels of the series based on the series index.
|
|
16
|
+
* If the index is out of bounds, it will return `undefined`.
|
|
15
17
|
*
|
|
16
18
|
* @param seriesIndex - The index of the series.
|
|
17
19
|
*/
|
|
@@ -37,14 +39,13 @@ export class BarChartModel extends SerialChartModel {
|
|
|
37
39
|
* Sets whether to hide oversized stacked labels of the series based on the series index.
|
|
38
40
|
*
|
|
39
41
|
* @param hide - The value for hiding oversized stacked labels.
|
|
40
|
-
* @param seriesIndex - The index of the series.
|
|
42
|
+
* @param seriesIndex - The index of the series. When not provided all the series will be updated.
|
|
41
43
|
*/
|
|
42
|
-
setSeriesHideOversizedStackedLabels(hide: boolean | undefined, seriesIndex
|
|
44
|
+
setSeriesHideOversizedStackedLabels(hide: boolean | undefined, seriesIndex?: number): void;
|
|
43
45
|
/**
|
|
44
46
|
* Completes the async setup process for the chart model. Must be called before using the model.
|
|
45
47
|
*
|
|
46
48
|
* @param params
|
|
47
|
-
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
48
49
|
*/
|
|
49
50
|
setup(params: ModelParams<ChartConfig<typeof ModelTypes.BarChart>>): Promise<void>;
|
|
50
51
|
}
|
|
@@ -26,17 +26,21 @@ export class BoxPlotModel extends BoxPlotModelSuperclass {
|
|
|
26
26
|
/**
|
|
27
27
|
* The index of the box plot series in the series array in config object when show mean is true.
|
|
28
28
|
*
|
|
29
|
-
* **Note**: There is only one box plot series when show mean is true
|
|
29
|
+
* **Note**: There is only one box plot series when show mean is `true`. The function returns `-1` if show mean is `false`.
|
|
30
30
|
*/
|
|
31
31
|
get boxPlotSeriesIndexWhenMeanLinesShown(): number;
|
|
32
32
|
/** The category field for the box plot. */
|
|
33
33
|
accessor category: string;
|
|
34
|
-
/**
|
|
34
|
+
/**
|
|
35
|
+
* The color of the boxes when showing mean lines.
|
|
36
|
+
*
|
|
37
|
+
* Only applicable when mean lines are shown.
|
|
38
|
+
*/
|
|
35
39
|
accessor meanLinesBoxColor: Color | undefined;
|
|
36
40
|
/** The numeric fields array for the box plot. */
|
|
37
41
|
get numericFields(): string[];
|
|
38
42
|
set numericFields(value: string[] | string);
|
|
39
|
-
/** The list of category
|
|
43
|
+
/** The list of category values for custom sort. */
|
|
40
44
|
accessor orderByList: string[];
|
|
41
45
|
/** The order of the series array by returning an array of series ids. */
|
|
42
46
|
accessor orderOfSeries: string[];
|
|
@@ -107,9 +111,15 @@ export class BoxPlotModel extends BoxPlotModelSuperclass {
|
|
|
107
111
|
/** Resets the series styling to the default styling. */
|
|
108
112
|
resetSeriesStyling(): void;
|
|
109
113
|
/**
|
|
110
|
-
* Sets the data filter for the
|
|
114
|
+
* Sets the data filter for the box plot.
|
|
111
115
|
*
|
|
112
116
|
* @param newDataFilter - The new data filter.
|
|
117
|
+
* @example
|
|
118
|
+
* ```typescript
|
|
119
|
+
* chartModel.setDataFilters({
|
|
120
|
+
* where: "population > 100000",
|
|
121
|
+
* });
|
|
122
|
+
* ```
|
|
113
123
|
*/
|
|
114
124
|
setDataFilters(newDataFilter: WebChartDataFilters | undefined): Promise<void>;
|
|
115
125
|
/**
|
|
@@ -117,6 +127,10 @@ export class BoxPlotModel extends BoxPlotModelSuperclass {
|
|
|
117
127
|
*
|
|
118
128
|
* @param newColor - The new color for the series.
|
|
119
129
|
* @param seriesIndex - The index of the series.
|
|
130
|
+
* @example
|
|
131
|
+
* ```typescript
|
|
132
|
+
* chartModel.setSeriesColor([100, 100, 100, 255], 1);
|
|
133
|
+
* ```
|
|
120
134
|
*/
|
|
121
135
|
setSeriesColor(newColor: Color | undefined, seriesIndex: number): void;
|
|
122
136
|
/**
|
|
@@ -155,14 +169,9 @@ export class BoxPlotModel extends BoxPlotModelSuperclass {
|
|
|
155
169
|
* Completes the async setup process for the chart model. Must be called before using the model.
|
|
156
170
|
*
|
|
157
171
|
* @param params
|
|
158
|
-
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
159
172
|
*/
|
|
160
173
|
setup(params: ModelParams<ChartConfig<typeof ModelTypes.BoxPlot>>): Promise<void>;
|
|
161
|
-
/**
|
|
162
|
-
* Updates the series based on the layer filter.
|
|
163
|
-
*
|
|
164
|
-
* @async **This method is `async` and must be awaited for the changes to take effect.*
|
|
165
|
-
*/
|
|
174
|
+
/** Updates the series based on the layer filter. */
|
|
166
175
|
updateSeriesFromLayerFilter(): Promise<void>;
|
|
167
176
|
}
|
|
168
177
|
declare const BoxPlotModelSuperclass: typeof ChartModel & typeof WithGenerateXAxisTitle & typeof WithAxisLinesSymbol & typeof WithAxisLabelsSymbol & typeof WithXAxisTitleSymbol & typeof WithXBounds & typeof WithXAxisTitleVisibility & typeof WithXAxisLabelsVisibility & typeof WithXAxisTitleText & typeof ModelWithYGuides & typeof WithDataLabelsSymbol & typeof WithDataLabelsVisibility & typeof WithRotatedState & typeof WithColorMatch & typeof ModelWithTooltips & typeof ModelWithLegend & typeof ModelWithMultiAxes
|
|
@@ -27,7 +27,6 @@ export abstract class ChartModelBase extends EventTarget {
|
|
|
27
27
|
* Completes the async setup process for the chart model. Must be called before using the model.
|
|
28
28
|
*
|
|
29
29
|
* @param params - The parameters to be used to set up the chart model.
|
|
30
|
-
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
31
30
|
*/
|
|
32
31
|
abstract setup(params: ModelParams<ChartConfig>): Promise<void>;
|
|
33
32
|
/** Can be awaited to allow any pending async updates to complete. */
|
|
@@ -9,56 +9,64 @@ import type { ChartConfig } from "../../utils/types/index.js";
|
|
|
9
9
|
|
|
10
10
|
export class ComboBarLineChartModel extends ComboBarLineChartModelSuperclass {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Gets the color of the filled area for line chart.
|
|
13
13
|
* **Note:** `areaColor` will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
14
14
|
*
|
|
15
15
|
* @param seriesIndex - The index of the series.
|
|
16
16
|
*/
|
|
17
17
|
getAreaColor(seriesIndex: number): Color | undefined;
|
|
18
18
|
/**
|
|
19
|
-
* Gets whether to hide oversized data labels of the side-by-side series based on the series index.
|
|
19
|
+
* Gets whether to hide oversized data labels of the side-by-side series based on the series index. '
|
|
20
|
+
*
|
|
21
|
+
* If the index is out of bounds, it will return `undefined`.
|
|
20
22
|
*
|
|
21
23
|
* @param seriesIndex - The index of the series.
|
|
22
24
|
*/
|
|
23
25
|
getSeriesHideOversizedSideBySideLabels(seriesIndex: number): boolean | undefined;
|
|
24
26
|
/**
|
|
25
|
-
* Gets whether to hide oversized data labels of the stacked series based on the series index.
|
|
27
|
+
* Gets whether to hide oversized data labels of the stacked series based on the series index.
|
|
28
|
+
* If the index is out of bounds, it will return `undefined`.
|
|
26
29
|
*
|
|
27
30
|
* @param seriesIndex - The index of the series.
|
|
28
31
|
*/
|
|
29
32
|
getSeriesHideOversizedStackedLabels(seriesIndex: number): boolean | undefined;
|
|
30
33
|
/**
|
|
31
|
-
* Gets the line style of the series based on the series index.
|
|
34
|
+
* Gets the line style of the series based on the series index.
|
|
35
|
+
* If the index is out of bounds, it will return `undefined`.
|
|
32
36
|
*
|
|
33
37
|
* @param seriesIndex - The index of the series.
|
|
34
38
|
*/
|
|
35
39
|
getSeriesLineStyle(seriesIndex: number): RESTSimpleLineSymbolStyle | undefined;
|
|
36
40
|
/**
|
|
37
|
-
* Gets the line width of the series based on the series index.
|
|
41
|
+
* Gets the line width of the series based on the series index.
|
|
42
|
+
* If the index is out of bounds, it will return `undefined`.
|
|
38
43
|
*
|
|
39
44
|
* @param seriesIndex - The index of the series.
|
|
40
45
|
*/
|
|
41
46
|
getSeriesLineWidth(seriesIndex: number): number | undefined;
|
|
42
47
|
/**
|
|
43
|
-
* Gets the marker color of the series based on the series index.
|
|
48
|
+
* Gets the marker color of the series based on the series index.
|
|
49
|
+
* If the index is out of bounds, it will return `undefined`.
|
|
44
50
|
*
|
|
45
51
|
* @param seriesIndex - The index of the series.
|
|
46
52
|
*/
|
|
47
53
|
getSeriesMarkerColor(seriesIndex: number): Color | undefined;
|
|
48
54
|
/**
|
|
49
|
-
* Gets the marker size of the series based on the series index.
|
|
55
|
+
* Gets the marker size of the series based on the series index.
|
|
56
|
+
* If the index is out of bounds, it will return `undefined`.
|
|
50
57
|
*
|
|
51
58
|
* @param seriesIndex - The index of the series.
|
|
52
59
|
*/
|
|
53
60
|
getSeriesMarkerSize(seriesIndex: number): number | undefined;
|
|
54
61
|
/**
|
|
55
|
-
* Gets the marker style of the series based on the series index.
|
|
62
|
+
* Gets the marker style of the series based on the series index.
|
|
63
|
+
* If the index is out of bounds, it will return `undefined`.
|
|
56
64
|
*
|
|
57
65
|
* @param seriesIndex - The index of the series.
|
|
58
66
|
*/
|
|
59
67
|
getSeriesMarkerStyle(seriesIndex: number): RESTSimpleMarkerSymbolStyle | undefined;
|
|
60
68
|
/**
|
|
61
|
-
*
|
|
69
|
+
* Indicate whether the area is visible for the line series.
|
|
62
70
|
*
|
|
63
71
|
* @param seriesIndex - The index of the series.
|
|
64
72
|
*/
|
|
@@ -84,7 +92,7 @@ export class ComboBarLineChartModel extends ComboBarLineChartModelSuperclass {
|
|
|
84
92
|
*/
|
|
85
93
|
setAreaColor(color: Color | undefined, seriesIndex: number): void;
|
|
86
94
|
/**
|
|
87
|
-
* Specify whether the
|
|
95
|
+
* Specify whether the area should be visible for the line series.
|
|
88
96
|
* **Note:** This method will only work if the series is a line chart series.
|
|
89
97
|
*
|
|
90
98
|
* @param visible - `true` if the line series should show area, `false` otherwise.
|
|
@@ -175,7 +183,6 @@ export class ComboBarLineChartModel extends ComboBarLineChartModelSuperclass {
|
|
|
175
183
|
* Completes the async setup process for the chart model. Must be called before using the model.
|
|
176
184
|
*
|
|
177
185
|
* @param params
|
|
178
|
-
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
179
186
|
*/
|
|
180
187
|
setup(params: ModelParams<ChartConfig<typeof ModelTypes.ComboBarLineChart>>): Promise<void>;
|
|
181
188
|
}
|
|
@@ -28,20 +28,32 @@ export class GaugeModel extends GaugeModelSuperclass {
|
|
|
28
28
|
accessor endAngle: number;
|
|
29
29
|
/**
|
|
30
30
|
* Gets the index of the feature to be rendered.
|
|
31
|
-
* -
|
|
32
|
-
* - For feature
|
|
31
|
+
* - For statistic gauge, this property will be ignored.
|
|
32
|
+
* - For feature based gauge, if this property is not present, the first feature will be used (`featureIndex = 0`).
|
|
33
33
|
*/
|
|
34
34
|
get featureIndex(): number | undefined;
|
|
35
35
|
set featureIndex(value: number | null | undefined);
|
|
36
36
|
/** Data field used for the gauge. */
|
|
37
37
|
accessor field: string;
|
|
38
38
|
/**
|
|
39
|
-
* Type of
|
|
39
|
+
* Type of gauge
|
|
40
|
+
* - `featureGauge` indicates that the gauge is based on a specific feature from the layer.
|
|
41
|
+
* - `statisticGauge` indicates that the gauge is based on a statistic value calculated from the layer's features.
|
|
40
42
|
*
|
|
41
|
-
* **Note**: When this property is not specified, it will be defaulted to `
|
|
43
|
+
* **Note**: When this property is not specified, it will be defaulted to `statisticGauge`.
|
|
42
44
|
*/
|
|
43
45
|
get gaugeSubType(): GaugeChartSubTypes;
|
|
44
|
-
/**
|
|
46
|
+
/**
|
|
47
|
+
* Content symbol for the inner label.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```typescript
|
|
51
|
+
* gaugeModel.innerLabelContent = {
|
|
52
|
+
* type: "esriTS",
|
|
53
|
+
* text: "Inner label",
|
|
54
|
+
* };
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
45
57
|
accessor innerLabelContent: WebChartTextSymbol | undefined;
|
|
46
58
|
/** Whether the inner label is visible. */
|
|
47
59
|
accessor innerLabelVisible: boolean;
|
|
@@ -57,7 +69,17 @@ export class GaugeModel extends GaugeModelSuperclass {
|
|
|
57
69
|
accessor needleInnerRadius: number | null | undefined;
|
|
58
70
|
/** Start width of the gauge's needle. */
|
|
59
71
|
accessor needleStartWidth: number | null | undefined;
|
|
60
|
-
/**
|
|
72
|
+
/**
|
|
73
|
+
* Symbol of the gauge's needle.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* ```typescript
|
|
77
|
+
* gaugeModel.needleSymbol = {
|
|
78
|
+
* type: "esriSFS",
|
|
79
|
+
* color: [255, 0, 0, 255],
|
|
80
|
+
* };
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
61
83
|
accessor needleSymbol: ISimpleFillSymbol | undefined;
|
|
62
84
|
/** Visibility of the gauge's needle. */
|
|
63
85
|
accessor needleVisibility: boolean;
|
|
@@ -69,13 +91,12 @@ export class GaugeModel extends GaugeModelSuperclass {
|
|
|
69
91
|
accessor valueConversion: ValueConversion | undefined;
|
|
70
92
|
/** Generate the proper chart title given the current config. */
|
|
71
93
|
generateChartTitle(): string;
|
|
72
|
-
/** Removes the existing feature index from the config object */
|
|
94
|
+
/** Removes the existing feature index from the config object. */
|
|
73
95
|
removeFeatureIndex(): void;
|
|
74
96
|
/**
|
|
75
97
|
* Completes the async setup process for the chart model. Must be called before using the model.
|
|
76
98
|
*
|
|
77
99
|
* @param params
|
|
78
|
-
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
79
100
|
*/
|
|
80
101
|
setup(params: ModelParams<ChartConfig<typeof ModelTypes.Gauge>>): Promise<void>;
|
|
81
102
|
}
|
|
@@ -1,35 +1,46 @@
|
|
|
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
|
-
import type { ISimpleFillSymbol } from "../../spec/rest-js-types.js";
|
|
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 heat
|
|
33
|
+
/** The heat chart's empty cell configuration. */
|
|
23
34
|
accessor emptyCell: WebChartHeatChartEmptyCell | undefined;
|
|
24
|
-
/** The heat
|
|
35
|
+
/** The heat chart's empty cell symbol. */
|
|
25
36
|
accessor emptyCellSymbol: ISimpleFillSymbol | undefined;
|
|
26
|
-
/** The heat
|
|
37
|
+
/** The heat chart's empty cell text. */
|
|
27
38
|
accessor emptyCellText: string | undefined;
|
|
28
39
|
/**
|
|
29
40
|
* The first day of the week used for date-based bins.
|
|
30
41
|
*
|
|
31
|
-
* - `1
|
|
32
|
-
* - `7
|
|
42
|
+
* - `1`: Monday
|
|
43
|
+
* - `7`: Sunday
|
|
33
44
|
*/
|
|
34
45
|
accessor firstDayOfWeek: number | undefined;
|
|
35
46
|
/**
|
|
@@ -52,58 +63,102 @@ export class HeatChartModel extends SerialChartModel {
|
|
|
52
63
|
* ```
|
|
53
64
|
*/
|
|
54
65
|
accessor gradientRules: WebChartHeatChartGradient | undefined;
|
|
55
|
-
/** The grid line color used by the heat chart */
|
|
66
|
+
/** The grid line color used by the heat chart. */
|
|
56
67
|
accessor gridLineColor: number[] | undefined;
|
|
57
|
-
/** The grid line width used by the heat chart */
|
|
68
|
+
/** The grid line width used by the heat chart. */
|
|
58
69
|
accessor gridLineWidth: number | undefined;
|
|
59
|
-
/**
|
|
70
|
+
/**
|
|
71
|
+
* The heat rules type used by the heat chart.
|
|
72
|
+
* `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.
|
|
73
|
+
* `renderer`: A class break renderer is used to apply specific colors to cells based on defined value ranges, allowing for more customized visualizations.
|
|
74
|
+
*/
|
|
60
75
|
accessor heatRulesType: WebChartHeatChartHeatRulesTypes | undefined;
|
|
61
|
-
/**
|
|
76
|
+
/** Hide the empty rows and columns in the heat chart. */
|
|
62
77
|
accessor hideEmptyRowsAndColumns: boolean | undefined;
|
|
63
|
-
/**
|
|
78
|
+
/** Whether to include leap day (February 29) in the heat chart when using "day of month" temporal binning. */
|
|
64
79
|
accessor includeLeapDay: boolean | undefined;
|
|
65
|
-
/** The heat
|
|
80
|
+
/** The layer associated with the heat chart model. */
|
|
81
|
+
get layer(): Exclude<SerialChartModel["layer"], SupportedRasterLayer>;
|
|
82
|
+
/** The heat chart's legend position. */
|
|
66
83
|
accessor legendPosition: WebChartLegendPositions;
|
|
67
84
|
/**
|
|
68
85
|
* The null category for heat chart (not supported)
|
|
69
86
|
*
|
|
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
|
|
87
|
+
* @internal
|
|
74
88
|
*/
|
|
75
89
|
accessor nullCategory: WebChartNullCategory;
|
|
76
|
-
/** The heat charts null policy */
|
|
77
|
-
accessor nullPolicy: WebChartNullPolicyTypes | undefined;
|
|
78
90
|
/**
|
|
79
|
-
* The
|
|
80
|
-
*
|
|
91
|
+
* The heat chart's null policy.
|
|
92
|
+
* `null`: Treat null values as null.
|
|
93
|
+
* `zero`: Treat null values as zero.
|
|
81
94
|
*/
|
|
95
|
+
accessor nullPolicy: WebChartNullPolicyTypes | undefined;
|
|
96
|
+
/** 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
97
|
accessor numericFields: string[];
|
|
83
|
-
/**
|
|
98
|
+
/**
|
|
99
|
+
* The heat chart's rotatedState (not supported)
|
|
100
|
+
*
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
84
103
|
accessor rotatedState: boolean;
|
|
85
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* The name of the series that is used by the heat chart.
|
|
106
|
+
*
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
86
109
|
accessor seriesName: string | undefined;
|
|
87
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* Split-by field not supported for heat charts.
|
|
112
|
+
*
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
88
115
|
accessor splitByField: string;
|
|
89
|
-
/**
|
|
116
|
+
/**
|
|
117
|
+
* The heat chart's stacked type (not supported)
|
|
118
|
+
*
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
90
121
|
accessor stackedType: WebChartStackedKinds | undefined;
|
|
91
122
|
/**
|
|
92
123
|
* The calendar view type for the heat chart.
|
|
124
|
+
* `SingleCalendarView` - A single calendar view showing all data in one calendar.
|
|
125
|
+
* `SequentialCalendarViews` - Multiple sequential calendar views (e.g., years).
|
|
93
126
|
*
|
|
94
|
-
* **
|
|
127
|
+
* **Note**: This is only applicable for calendar heat charts (when `xAxisField` and `yAxisField` are date fields).
|
|
95
128
|
*/
|
|
96
129
|
accessor viewType: WebChartHeatChartViewTypes | undefined;
|
|
97
|
-
/**
|
|
130
|
+
/**
|
|
131
|
+
* The x axis temporal binning used by the heat chart.
|
|
132
|
+
*
|
|
133
|
+
* @example
|
|
134
|
+
* ```ts
|
|
135
|
+
* heatChartModel.xTemporalBinning = {
|
|
136
|
+
* type: WebChartTypes.CalendarDateParts,
|
|
137
|
+
* unit: WebChartCalendarDatePartsUnits.MonthOfYear,
|
|
138
|
+
* };
|
|
139
|
+
* ```
|
|
140
|
+
*/
|
|
98
141
|
accessor xTemporalBinning: WebChartCalendarDatePartsBinning | undefined;
|
|
99
|
-
/** The y axis field used by the heat chart */
|
|
142
|
+
/** The y axis field used by the heat chart. */
|
|
100
143
|
accessor yAxisField: string;
|
|
101
|
-
/**
|
|
144
|
+
/**
|
|
145
|
+
* The y axis temporal binning used by the heat chart.
|
|
146
|
+
*
|
|
147
|
+
* @example
|
|
148
|
+
* ```ts
|
|
149
|
+
* heatChartModel.yTemporalBinning = {
|
|
150
|
+
* type: WebChartTypes.CalendarDateParts,
|
|
151
|
+
* unit: WebChartCalendarDatePartsUnits.DayOfMonth,
|
|
152
|
+
* };
|
|
153
|
+
* ```
|
|
154
|
+
*/
|
|
102
155
|
accessor yTemporalBinning: WebChartCalendarDatePartsBinning | undefined;
|
|
103
156
|
/** Generate the proper chart title given the current config. */
|
|
104
157
|
generateChartTitle(): string;
|
|
105
158
|
/** Generate the proper y-axis title given the current config. */
|
|
106
159
|
generateYAxisTitle(): string;
|
|
160
|
+
/** Gets the grid lines symbol. Contains styling information such as line width, line style, and line color. */
|
|
161
|
+
getGridLinesSymbol(): ISimpleLineSymbol | undefined;
|
|
107
162
|
/** Gets the sort order for the bar chart. */
|
|
108
163
|
getSortOrder(): HeatChartDataSortingKinds | SerialChartDataSortingKinds;
|
|
109
164
|
/**
|
|
@@ -123,34 +178,50 @@ export class HeatChartModel extends SerialChartModel {
|
|
|
123
178
|
*
|
|
124
179
|
* @param _assign
|
|
125
180
|
* @param _seriesIndex
|
|
181
|
+
* @internal
|
|
126
182
|
*/
|
|
127
183
|
setAssignToSecondValueAxis(_assign: boolean, _seriesIndex: number): void;
|
|
128
184
|
/**
|
|
129
|
-
*
|
|
185
|
+
* Sets the grid lines symbol. Contains styling information such as line width, line style, and line color.
|
|
186
|
+
*
|
|
187
|
+
* @param linesSymbol - The grid lines symbol.
|
|
188
|
+
* @example
|
|
189
|
+
* ```ts
|
|
190
|
+
* heatChartModel.setGridLinesSymbol({
|
|
191
|
+
* type: "esriSLS",
|
|
192
|
+
* style: "esriSLSDash",
|
|
193
|
+
* color: [255, 100, 100, 255],
|
|
194
|
+
* width: 3,
|
|
195
|
+
* });
|
|
196
|
+
* ```
|
|
197
|
+
*/
|
|
198
|
+
setGridLinesSymbol(linesSymbol: ISimpleLineSymbol | undefined): void;
|
|
199
|
+
/**
|
|
200
|
+
* setSortOrder is not used by heat chart; instead use setXAxisSortOrder for the x axis and setYAxisSortOrder for the y axis.
|
|
130
201
|
*
|
|
131
202
|
* @param _newSortOrder
|
|
132
203
|
* @param _orderByList
|
|
204
|
+
* @internal
|
|
133
205
|
*/
|
|
134
206
|
setSortOrder(_newSortOrder: HeatChartDataSortingKinds | SerialChartDataSortingKinds, _orderByList?: string[]): void;
|
|
135
207
|
/**
|
|
136
208
|
* Completes the async setup process for the chart model. Must be called before using the model.
|
|
137
209
|
*
|
|
138
210
|
* @param params
|
|
139
|
-
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
140
211
|
*/
|
|
141
212
|
setup(params: ModelParams<ChartConfig<typeof ModelTypes.HeatChart>>): Promise<void>;
|
|
142
213
|
/**
|
|
143
214
|
* Sets the sort order on the x axis for the heat chart.
|
|
144
215
|
*
|
|
145
|
-
* @param newSortOrder -
|
|
146
|
-
* @param orderByList -
|
|
216
|
+
* @param newSortOrder - The new sort order.
|
|
217
|
+
* @param orderByList - The list of category's values to order by.
|
|
147
218
|
*/
|
|
148
219
|
setXAxisSortOrder(newSortOrder: HeatChartDataSortingKinds, orderByList?: string[]): void;
|
|
149
220
|
/**
|
|
150
221
|
* Sets the sort order on the y axis for heat chart.
|
|
151
222
|
*
|
|
152
|
-
* @param newSortOrder -
|
|
153
|
-
* @param orderByList -
|
|
223
|
+
* @param newSortOrder - The new sort order.
|
|
224
|
+
* @param orderByList - The list of category's values to order by.
|
|
154
225
|
*/
|
|
155
226
|
setYAxisSortOrder(newSortOrder: HeatChartDataSortingKinds, orderByList?: string[]): void;
|
|
156
227
|
}
|
|
@@ -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,15 +1,15 @@
|
|
|
1
1
|
import type { ModelTypes } from "./common.js";
|
|
2
|
-
import type { SupportedLayer } from "../../interfaces.js";
|
|
2
|
+
import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
|
|
3
3
|
import type { ChartConfig } from "../../utils/types/index.js";
|
|
4
|
-
import type { IFeatureLayer } from "../../spec/rest-js-types.js";
|
|
4
|
+
import type { IFeatureLayer, IImageServiceLayer, ITiledImageServiceLayer } from "../../spec/rest-js-types.js";
|
|
5
5
|
import type { WebChartBarChartSeries, WebChartHeatChartSeries, WebChartLineChartSeries, WebChartRadarChartSeries } from "../../spec/web-chart.js";
|
|
6
6
|
|
|
7
7
|
/** Parameters for creating a chart model. */
|
|
8
8
|
export type ModelParams<T extends ChartConfig> = {
|
|
9
9
|
/** Layer instance associated with the chart. */
|
|
10
|
-
layer?: SupportedLayer;
|
|
10
|
+
layer?: SupportedLayer | SupportedRasterLayer;
|
|
11
11
|
/** Layer description to be used when the `layer` property is not set. */
|
|
12
|
-
iLayer?: IFeatureLayer;
|
|
12
|
+
iLayer?: IFeatureLayer | IImageServiceLayer | ITiledImageServiceLayer;
|
|
13
13
|
/** Chart config object to be edited. If not provided, a new config will be created using default values. */
|
|
14
14
|
config?: T;
|
|
15
15
|
};
|