@arcgis/charts-components 5.2.0-next.6 → 5.2.0-next.61
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/{FF4DUQDZ.js → 22WGB4CQ.js} +1 -1
- package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/2G65P262.js +2 -0
- package/dist/cdn/2RYKKN36.js +2 -0
- package/dist/cdn/3AYXOX4U.js +2 -0
- package/dist/cdn/{ZFZ5AEUQ.js → 3CGAUDYD.js} +1 -1
- package/dist/cdn/{JBHGSSHS.js → 3FZCVKWJ.js} +1 -1
- package/dist/cdn/{DCZWZOPF.js → 3GVTYZ2I.js} +1 -1
- package/dist/cdn/3YCGBAQY.js +2 -0
- package/dist/cdn/3ZGG7Q5M.js +2 -0
- package/dist/cdn/46PXO7ZC.js +4 -0
- package/dist/cdn/4COV22K4.js +2 -0
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/{AM2TOTX6.js → 4EBMUPEV.js} +1 -1
- package/dist/cdn/4ITNOJXC.js +2 -0
- package/dist/cdn/{E7OAEGSE.js → 4VL2SBHK.js} +1 -1
- package/dist/cdn/54W4C75M.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/{GDQBQQUP.js → 5JXEO4VE.js} +1 -1
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/5YP7P6S3.js +2 -0
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/67QYTLMM.js +2 -0
- package/dist/cdn/6AI3ZXL5.js +2 -0
- package/dist/cdn/6MNV7FJC.js +2 -0
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/{JRHMUFED.js → 7DIQIFKR.js} +1 -1
- package/dist/cdn/{ETKPMU7Z.js → 7WVTY3XI.js} +1 -1
- package/dist/cdn/{A5AECJXP.js → A2NFOGT2.js} +1 -1
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/ANHW36VW.js +2 -0
- package/dist/cdn/{DKAHZ7IX.js → ASZ6YFIL.js} +1 -1
- package/dist/cdn/{VY3KBD6N.js → AYQ4HHL6.js} +1 -1
- package/dist/cdn/AYUYEY5H.js +2 -0
- package/dist/cdn/{JJIGLOJA.js → AZKX3FMB.js} +1 -1
- package/dist/cdn/{AJWYIBGC.js → AZMQPJO3.js} +1 -1
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/BDTKAMUN.js +2 -0
- package/dist/cdn/BGOWDCTO.js +2 -0
- package/dist/cdn/BHGOAHMJ.js +2 -0
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/BKK57XHL.js +2 -0
- package/dist/cdn/BLZLMGO6.js +2 -0
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/{BJDRJUEJ.js → CDJRYMBP.js} +1 -1
- package/dist/cdn/{6XTKJ7DO.js → CHMLTTRN.js} +1 -1
- package/dist/cdn/{HVO4LIXR.js → CL5G6D6W.js} +1 -1
- package/dist/cdn/{AWF4R7WL.js → CMGCZ4MF.js} +1 -1
- package/dist/cdn/{QMSINFQX.js → CVJSVWF3.js} +1 -1
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/{K3GNHGEW.js → D3KIBJKD.js} +1 -1
- package/dist/cdn/{KDJ5RVHA.js → DAFNQT4C.js} +1 -1
- package/dist/cdn/DBAM7MH7.js +2 -0
- package/dist/cdn/DGV6S2W3.js +2 -0
- package/dist/cdn/{TF7TE7K5.js → DJPMW6UC.js} +1 -1
- package/dist/cdn/DPTA2AET.js +2 -0
- package/dist/cdn/DQXO7PWX.js +2 -0
- package/dist/cdn/EAV3KAS7.js +2 -0
- package/dist/cdn/EMBMJCFZ.js +2 -0
- package/dist/cdn/EOHKNJSJ.js +2 -0
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/EUOJG5H6.js +2 -0
- package/dist/cdn/{2HUAW34Q.js → EXS2KOEA.js} +1 -1
- package/dist/cdn/FHBCVW5T.js +2 -0
- package/dist/cdn/FJGG2VVZ.js +2 -0
- package/dist/cdn/FQLRMWNL.js +2 -0
- package/dist/cdn/{QFEZPP3R.js → GARBFC7Q.js} +1 -1
- package/dist/cdn/{CLXVAIQX.js → GP3LPIRJ.js} +1 -1
- package/dist/cdn/GRL5SM6K.js +2 -0
- package/dist/cdn/{ADGMA3ST.js → H57XAQPI.js} +2 -2
- package/dist/cdn/{L4G6FO7A.js → HBOYEK6P.js} +1 -1
- package/dist/cdn/{MVHQR4FJ.js → HOIPLQXD.js} +1 -1
- package/dist/cdn/{LFQGH44F.js → HQMOMCWF.js} +1 -1
- package/dist/cdn/{N6AOFBBX.js → HSQ32NUA.js} +1 -1
- package/dist/cdn/{7HGVEE7A.js → HUNN3ERX.js} +1 -1
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/I3XBTQKJ.js +2 -0
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/INISFVAK.js +2 -0
- package/dist/cdn/{P4HSSZRL.js → IONJLIQQ.js} +1 -1
- package/dist/cdn/{KCMZSNBL.js → ISK4QVLY.js} +1 -1
- package/dist/cdn/{DEGBVJ76.js → IUOORM26.js} +1 -1
- package/dist/cdn/J3CL6KB6.js +2 -0
- package/dist/cdn/JGESKW6S.js +2 -0
- package/dist/cdn/JH3NSZUT.js +2 -0
- package/dist/cdn/{ML3A3MYV.js → JS6A5QAV.js} +1 -1
- package/dist/cdn/{4LPXOEML.js → JUON3AJY.js} +1 -1
- package/dist/cdn/{AK7X7SGI.js → JYC77MVD.js} +1 -1
- package/dist/cdn/JYITKARU.js +104 -0
- package/dist/cdn/{KUZR6CGB.js → JZ5HUNM5.js} +1 -1
- package/dist/cdn/K4APZJ2O.js +2 -0
- package/dist/cdn/KCES2YBJ.js +2 -0
- package/dist/cdn/KDCZQ6UT.js +2 -0
- package/dist/cdn/KJZTU3DV.js +2 -0
- package/dist/cdn/KLKI4XNW.js +2 -0
- package/dist/cdn/{5XTQQOTT.js → KOCZJFY6.js} +1 -1
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/KWA7OWHO.js +2 -0
- package/dist/cdn/L7TUV2MY.js +2 -0
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/LGTXQIF7.js +2 -0
- package/dist/cdn/{IPM2XKST.js → LHDBHPXR.js} +1 -1
- package/dist/cdn/LIBE4XVH.js +2 -0
- package/dist/cdn/M744CFJ2.js +2 -0
- package/dist/cdn/{CHQDKVVQ.js → MARXRC6B.js} +1 -1
- package/dist/cdn/MI6AKTXQ.js +2 -0
- package/dist/cdn/MJTWR33N.js +2 -0
- package/dist/cdn/MPGHOXLW.js +2 -0
- package/dist/cdn/MU6ZYADT.js +2 -0
- package/dist/cdn/{XE3FKQFA.js → MVCB4RM7.js} +1 -1
- package/dist/cdn/MXE4VPZS.js +2 -0
- package/dist/cdn/{KFONSKQF.js → MZ2RZ62O.js} +1 -1
- package/dist/cdn/NK66D65H.js +2 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/NZ2C5DJB.js +2 -0
- package/dist/cdn/O3VKOV2W.js +2 -0
- package/dist/cdn/{THTYR6IL.js → OAXHS4LE.js} +1 -1
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- package/dist/cdn/OFFKJPQH.js +2 -0
- package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
- package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
- package/dist/cdn/ONKEO3Z2.js +2 -0
- package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/{A4GEWIPY.js → OSUM4CWA.js} +1 -1
- package/dist/cdn/OT7PLFBK.js +2 -0
- package/dist/cdn/OWWQ5SYW.js +2 -0
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/P5QEJOJS.js +2 -0
- package/dist/cdn/{5MEQANMY.js → PAQGR4DD.js} +1 -1
- package/dist/cdn/PBO5VH6A.js +2 -0
- package/dist/cdn/{ZXOO3X5P.js → PEEVY5UG.js} +1 -1
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/PLEC3GNT.js +2 -0
- package/dist/cdn/Q5OFF4FE.js +45 -0
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/QZCTLQBM.js +2 -0
- package/dist/cdn/RICA7GJM.js +2 -0
- package/dist/cdn/S5GVUYBL.js +2 -0
- package/dist/cdn/SCU3SBSN.js +2 -0
- package/dist/cdn/SQIKFO32.js +2 -0
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/SUNHJPBW.js +2 -0
- package/dist/cdn/SYVPFDIW.js +2 -0
- package/dist/cdn/T62EETHJ.js +2 -0
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/TEWEPSIO.js +2 -0
- package/dist/cdn/{QOOBNATX.js → TGEHTOWR.js} +1 -1
- package/dist/cdn/{DAB5R2BN.js → TQYJM66E.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/{SBYD2EKR.js → TSSN2OW3.js} +1 -1
- package/dist/cdn/TU3LYEK3.js +2 -0
- package/dist/cdn/TVG7KD3H.js +2 -0
- package/dist/cdn/{MRTKZZTF.js → U43KANH5.js} +1 -1
- package/dist/cdn/{7FZC3RZK.js → UB36FUCN.js} +1 -1
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/UM7RIOCE.js +2 -0
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/V6LKZUEZ.js +3 -0
- package/dist/cdn/{YOT6DVSU.js → V7AEHY25.js} +1 -1
- package/dist/cdn/VA6KJZ2Y.js +2 -0
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/VM4XLVMS.js +2 -0
- package/dist/cdn/{KZ7LPNX3.js → VNNTABNO.js} +1 -1
- package/dist/cdn/VPYL3RVN.js +2 -0
- package/dist/cdn/{XW4PBQNW.js → VT6X6QMA.js} +1 -1
- package/dist/cdn/WFW6BNDT.js +2 -0
- package/dist/cdn/{GV3TT7L5.js → WKQB6Z7Z.js} +1 -1
- package/dist/cdn/{Y7HBWU3M.js → WMUPNT4Q.js} +1 -1
- package/dist/cdn/WSL76GA5.js +2 -0
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/WTJ2NJ76.js +2 -0
- package/dist/cdn/WZOHQJFB.js +2 -0
- package/dist/cdn/X3S4M6JL.js +2 -0
- package/dist/cdn/XV4LD73L.js +2 -0
- package/dist/cdn/Y5ZH7VS4.js +2 -0
- package/dist/cdn/{WASEMNYV.js → YC4WZNPI.js} +1 -1
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/ZGBULDPL.js +2 -0
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → ZRX4BEOX.js} +1 -1
- package/dist/cdn/{S5UDCCRH.js → ZWIF7LHW.js} +1 -1
- package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +19 -21
- package/dist/chunks/{type-guards3.js → action-bar-utils.js} +27 -35
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +39 -36
- package/dist/chunks/box-plot-data.js +273 -282
- package/dist/chunks/box-plot-model.js +159 -144
- package/dist/chunks/chart-model.js +177 -145
- package/dist/chunks/chart-object-literals.js +2 -1
- package/dist/chunks/chart-ui-utils.js +24 -23
- package/dist/chunks/class-breaks.js +12 -12
- package/dist/chunks/combo-bar-line-chart-model.js +25 -26
- package/dist/chunks/data-labels-symbol.js +39 -24
- package/dist/chunks/data-labels-visibility.js +24 -24
- package/dist/chunks/data.js +69 -69
- package/dist/chunks/gauge-model.js +18 -18
- package/dist/chunks/generate-x-axis-title.js +12 -12
- package/dist/chunks/heat-chart-model.js +93 -64
- package/dist/chunks/histogram-data.js +22 -22
- package/dist/chunks/histogram-model.js +10 -10
- package/dist/chunks/index.js +190 -179
- package/dist/chunks/index2.js +6069 -5721
- package/dist/chunks/index3.js +96 -86
- package/dist/chunks/index4.js +312 -87
- package/dist/chunks/index5.js +63 -100
- package/dist/chunks/line-chart-model.js +12 -12
- package/dist/chunks/model-setter.js +16 -15
- package/dist/chunks/model-with-line-marker-styling.js +2 -3
- package/dist/chunks/model-with-y-guides.js +59 -74
- package/dist/chunks/negative-values-stacked-to-baseline.js +18 -18
- package/dist/chunks/pie-chart-data.js +174 -192
- package/dist/chunks/pie-chart-model.js +161 -148
- package/dist/chunks/radar-chart-model.js +397 -46
- package/dist/chunks/resource.js +5 -5
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +73 -0
- package/dist/chunks/scatterplot-model.js +3 -3
- package/dist/chunks/serial-chart-data.js +889 -774
- package/dist/chunks/serial-chart-model.js +145 -124
- package/dist/chunks/series-length.js +2 -2
- package/dist/chunks/series-types.js +22 -18
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +17 -13
- package/dist/chunks/type-guards2.js +41 -33
- package/dist/chunks/utils.js +108 -96
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +632 -492
- package/dist/chunks/x-bounds.js +41 -42
- package/dist/components/arcgis-chart/customElement.d.ts +277 -164
- package/dist/components/arcgis-chart/customElement.js +10323 -10325
- package/dist/components/arcgis-charts-action-bar/customElement.js +33 -30
- package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +44 -43
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -15
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +23 -25
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +15 -18
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -20
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +138 -136
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
- package/dist/components/arcgis-charts-config-font-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-format/customElement.js +93 -86
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-guide/customElement.js +17 -18
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +64 -76
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +53 -54
- package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +33 -34
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +12 -12
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +35 -37
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +41 -48
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +55 -56
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +65 -66
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +79 -79
- package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
- package/dist/components/arcgis-charts-info-modal/customElement.js +6 -6
- 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 +62 -67
- package/dist/index.js +471 -458
- package/dist/json-schema/index.d.ts +207 -6
- package/dist/loader.js +2 -2
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
- package/dist/model/box-plot-model/box-plot-model.d.ts +7 -1
- 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 +8 -5
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +44 -2
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +6 -5
- package/dist/model/mixins/model-with-multi-axes.d.ts +62 -99
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -0
- package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
- package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
- package/dist/model/properties/rotated-state.d.ts +1 -1
- package/dist/model/properties/rounded-corners.d.ts +18 -0
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
- package/dist/model/shared/type-guards.d.ts +16 -2
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/data-source.d.ts +15 -3
- package/dist/spec/rest-js-object-literals.d.ts +2 -2
- package/dist/spec/rest-js-types.d.ts +22 -8
- package/dist/spec/web-chart.d.ts +42 -6
- package/dist/utils/chart-config/converter/index.js +198 -179
- package/dist/utils/chart-config/utils/index.d.ts +54 -4
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +3 -3
- package/dist/utils/cursor/interfaces.d.ts +21 -0
- package/dist/utils/data/categorical-data/index.d.ts +2 -2
- package/dist/utils/data/index.d.ts +14 -10
- package/dist/utils/data/interfaces.d.ts +4 -3
- package/dist/utils/defaults/index.d.ts +16 -4
- package/dist/utils/defaults/interfaces.d.ts +7 -2
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +5 -3
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
- package/dist/utils/layer/interfaces.d.ts +2 -1
- package/dist/utils/layer/query-features/index.d.ts +18 -1
- package/dist/utils/layer/query-parser/index.d.ts +5 -3
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/type-guards/chart-types.d.ts +10 -0
- package/dist/utils/type-guards/series-types.d.ts +9 -2
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +7 -8
- package/dist/cdn/24RLLXS6.js +0 -2
- package/dist/cdn/2N4MK6FQ.js +0 -2
- package/dist/cdn/32FR66QO.js +0 -2
- package/dist/cdn/3EIVHDDK.js +0 -2
- package/dist/cdn/3NUNWPAR.js +0 -2
- package/dist/cdn/43ZHPVBB.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/5YJNENER.js +0 -2
- package/dist/cdn/6AF2OTL6.js +0 -2
- package/dist/cdn/6CFIKYKR.js +0 -2
- package/dist/cdn/6GLTSMOR.js +0 -2
- package/dist/cdn/7EMCHGGV.js +0 -2
- package/dist/cdn/7OF2IANH.js +0 -2
- package/dist/cdn/7VN3A7S2.js +0 -2
- package/dist/cdn/7YWZG3ZS.js +0 -2
- package/dist/cdn/A5GIBV5W.js +0 -2
- package/dist/cdn/ADPDJISV.js +0 -2
- package/dist/cdn/B4KAJRUJ.js +0 -2
- package/dist/cdn/BBUPTHPL.js +0 -2
- package/dist/cdn/BBURKBKE.js +0 -2
- package/dist/cdn/BLZODYE2.js +0 -4
- package/dist/cdn/BO62KSB5.js +0 -2
- package/dist/cdn/C2FOUUEM.js +0 -2
- package/dist/cdn/CJPEW4LJ.js +0 -142
- package/dist/cdn/CVU3UPPF.js +0 -2
- package/dist/cdn/CZ5XRXCE.js +0 -2
- package/dist/cdn/D73VV2AZ.js +0 -2
- package/dist/cdn/DJACBOFO.js +0 -2
- package/dist/cdn/DPNTYHTH.js +0 -2
- package/dist/cdn/DZ72EIRH.js +0 -2
- package/dist/cdn/EGISZTGB.js +0 -2
- package/dist/cdn/EP34TF4L.js +0 -2
- package/dist/cdn/EZD3FBJU.js +0 -2
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/FQT7V7QG.js +0 -2
- package/dist/cdn/G72TNKCS.js +0 -2
- package/dist/cdn/GQ5QBLRO.js +0 -2
- package/dist/cdn/HWJGWDU3.js +0 -2
- package/dist/cdn/HZR4NSZV.js +0 -2
- package/dist/cdn/ICFKKJWQ.js +0 -2
- package/dist/cdn/IWX5L226.js +0 -2
- package/dist/cdn/JNG6V7XC.js +0 -2
- package/dist/cdn/JNNB2DIA.js +0 -2
- package/dist/cdn/JS2KOBA2.js +0 -2
- package/dist/cdn/JTTJ455Y.js +0 -2
- package/dist/cdn/JWO5WVTZ.js +0 -2
- package/dist/cdn/K4WI2SGM.js +0 -2
- package/dist/cdn/KLHZFPYK.js +0 -2
- package/dist/cdn/KO7HQLGV.js +0 -2
- package/dist/cdn/L5AQ4I5T.js +0 -2
- package/dist/cdn/LC6CY2HW.js +0 -2
- package/dist/cdn/MBVTB42G.js +0 -2
- package/dist/cdn/MGEW6X3Y.js +0 -102
- package/dist/cdn/NSOZIR5F.js +0 -2
- package/dist/cdn/NTSTL3FK.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/O5A25X5K.js +0 -2
- package/dist/cdn/OAAJ6CIN.js +0 -2
- package/dist/cdn/OGYY2Y22.js +0 -2
- package/dist/cdn/PAIRUVLU.js +0 -2
- package/dist/cdn/PRGFNLY7.js +0 -2
- package/dist/cdn/PROSIXIF.js +0 -2
- package/dist/cdn/Q5JDSPJA.js +0 -2
- package/dist/cdn/QJC3FDWG.js +0 -2
- package/dist/cdn/QRLILSSI.js +0 -2
- package/dist/cdn/QY53LXP2.js +0 -2
- package/dist/cdn/R75MHIRF.js +0 -2
- package/dist/cdn/RDA5NV6M.js +0 -2
- package/dist/cdn/RG3DO2OE.js +0 -2
- package/dist/cdn/RPNZL6AC.js +0 -2
- package/dist/cdn/S32NLOJ5.js +0 -2
- package/dist/cdn/SCAZDS2G.js +0 -2
- package/dist/cdn/SJGYHEMZ.js +0 -2
- package/dist/cdn/STU55UIS.js +0 -58
- package/dist/cdn/TCTQ4LMU.js +0 -2
- package/dist/cdn/TDHHWIIC.js +0 -2
- package/dist/cdn/TJMPLGQI.js +0 -2
- package/dist/cdn/TJMTF45U.js +0 -3
- package/dist/cdn/TW5DX7YP.js +0 -2
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/UZEMSOA2.js +0 -2
- package/dist/cdn/VBHQFV2H.js +0 -2
- package/dist/cdn/VFREVEVA.js +0 -2
- package/dist/cdn/VOTZAPI3.js +0 -2
- package/dist/cdn/VZTLODMQ.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/WNKDEOFZ.js +0 -2
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/cdn/XCUXUZXY.js +0 -2
- package/dist/cdn/XG3WW5GG.js +0 -2
- package/dist/cdn/XJFVSX2E.js +0 -2
- package/dist/cdn/Y3CXVO2M.js +0 -2
- package/dist/cdn/YEZL5KRS.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/chunks/bar-chart-series.js +0 -15
- package/dist/chunks/index6.js +0 -66
- package/dist/chunks/time-zone.js +0 -38
- package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
- /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
- /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
|
@@ -22,125 +22,53 @@ import type { ErrorPolicy, LayerFieldsChangePolicy, LayerFilterChangePolicy, Lay
|
|
|
22
22
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* The Chart component renders a chart
|
|
25
|
+
* The ArcGIS Chart component renders a chart by setting a [model](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#model) object that defines the chart's configuration and data.
|
|
26
|
+
* There are different ways to render a chart with the ArcGIS Chart component:
|
|
26
27
|
*
|
|
27
|
-
*
|
|
28
|
+
* ##### Load from a layer item
|
|
28
29
|
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* @see
|
|
32
|
-
* [Tutorial: Display a chart](https://developers.arcgis.com/javascript/latest/tutorials/display-a-chart/)
|
|
30
|
+
* To load a chart from a layer item, first the chart needs to be [configured in Map Viewer](https://doc.arcgis.com/en/arcgis-online/create-maps/configure-charts-mv.htm) and [saved to the layer item](https://doc.arcgis.com/en/arcgis-online/create-maps/duplicate-save-layers.htm#ESRI_SECTION1_2AE9121DFA5D4E099F0D434EBA7D9365).
|
|
31
|
+
* Then set the [layerItemId](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layerItemId) property to the item's ID and the [chartIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#chartIndex) property to the index of the chart within the item.
|
|
33
32
|
*
|
|
34
|
-
*
|
|
33
|
+
* ```html
|
|
34
|
+
* <arcgis-chart layer-item-id="..." chart-index="0"></arcgis-chart>
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* ##### Create a new chart with charts model
|
|
38
|
+
*
|
|
39
|
+
* To create a new chart, use the [`createModel()`](/references/charts-components/model/shared/setup-utils/#createModel) method with a layer and a chart type, then configure the chart using the model's properties and methods.
|
|
40
|
+
*
|
|
41
|
+
* ```js
|
|
42
|
+
* import FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
43
|
+
* import { createModel } from "@arcgis/charts-components/model/shared/setup-utils.js";
|
|
44
|
+
*
|
|
45
|
+
* const myLayer = new FeatureLayer({ portalItem: { id: "..." } });
|
|
46
|
+
*
|
|
47
|
+
* const chartElement = document.querySelector("arcgis-chart");
|
|
48
|
+
* const barChartModel = await createModel({ layer: myLayer, chartType: "barChart" });
|
|
49
|
+
* barChartModel.xAxisField = "field";
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* Each supported chart type has its own configuration properties and methods, which are covered with examples in the [chart types documentation](https://developers.arcgis.com/javascript/latest/charts/chart-types/chart-types-intro).
|
|
53
|
+
*
|
|
54
|
+
* ##### See also:
|
|
55
|
+
* - [Introduction to charts](https://developers.arcgis.com/javascript/latest/charts-components-intro/)
|
|
56
|
+
* - [Tutorial: Display a chart](https://developers.arcgis.com/javascript/latest/tutorials/display-a-chart/)
|
|
57
|
+
* - [Tutorial: Chart and map interactions](https://developers.arcgis.com/javascript/latest/tutorials/chart-and-map-interactions/)
|
|
58
|
+
*
|
|
59
|
+
* > [!WARNING]
|
|
60
|
+
* > When the chart is rendering while its container is not yet fully sized, a console error about the chart's attribute height may appear. This is a known issue and should not affect the functionality of the chart.
|
|
61
|
+
*
|
|
62
|
+
* @slot [action-bar] - Slot for the [arcgis-charts-action-bar](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/) component or [calcite-action-bar](https://developers.arcgis.com/calcite-design-system/components/action-bar/) component.
|
|
35
63
|
* @since 4.32
|
|
36
64
|
*/
|
|
37
65
|
export abstract class ArcgisChart extends LitElement {
|
|
38
|
-
/** @internal */
|
|
39
|
-
protected _messages: Partial<{ chartNotFoundWarning: string; }> & T9nMeta<{ chartNotFoundWarning: string; }>;
|
|
40
|
-
/**
|
|
41
|
-
* Specifies the user action behavior for the chart.
|
|
42
|
-
*
|
|
43
|
-
* - `monoSelection`: Select a single data point or series, new selection replaces the previous one.
|
|
44
|
-
* - `multiSelection`: Select multiple data points or series, new selection adds to the previous one.
|
|
45
|
-
* - `multiSelectionWithCtrlKey`: Select multiple data points or series while holding the Ctrl key (Cmd on Mac). When the key is held, each new selection is added; otherwise, the selection is replaced.
|
|
46
|
-
* - `none`: No action is performed on user interaction.
|
|
47
|
-
* - `zoom`: Zoom into a specific area of the chart.
|
|
48
|
-
*
|
|
49
|
-
* **Note**: Not applicable to gauges.
|
|
50
|
-
*/
|
|
51
|
-
accessor actionMode: ActionModes | undefined;
|
|
52
|
-
/**
|
|
53
|
-
* Whether to allow the object id to be used as a statistic other than `Count`.
|
|
54
|
-
*
|
|
55
|
-
* @default false
|
|
56
|
-
*/
|
|
57
|
-
accessor allowUsingObjectIdStat: boolean;
|
|
58
|
-
/**
|
|
59
|
-
* Enable animation on the chart.
|
|
60
|
-
*
|
|
61
|
-
* @default false
|
|
62
|
-
*/
|
|
63
|
-
accessor animationEnabled: boolean | undefined;
|
|
64
|
-
/**
|
|
65
|
-
* The ARIA attributes for the chart. Provides accessibility information to assistive technologies such as screen readers. Supports the following properties: [\`label\`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label), [\`description\`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-description), [\`describedByElements\`](https://developer.mozilla.org/en-US/docs/Web/API/Element/ariaDescribedByElements), and [\`labelledByElements\`](https://developer.mozilla.org/en-US/docs/Web/API/Element/ariaLabelledByElements).
|
|
66
|
-
*
|
|
67
|
-
* @since 5.0
|
|
68
|
-
*/
|
|
69
|
-
accessor aria: DOMContainerAria | undefined;
|
|
70
|
-
/**
|
|
71
|
-
* If `true`, the component will not be destroyed automatically when it is disconnected from the document. This is useful when you want to move the component to a different place on the page, or temporarily hide it. If this is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#destroy) method when you are done to prevent memory leaks.
|
|
72
|
-
*
|
|
73
|
-
* @default false
|
|
74
|
-
* @since 5.0
|
|
75
|
-
*/
|
|
76
|
-
accessor autoDestroyDisabled: boolean;
|
|
77
|
-
/**
|
|
78
|
-
* Auto disposes the chart when a new one is created in the same container.
|
|
79
|
-
*
|
|
80
|
-
* @deprecated since 5.0. Use [autoDestroyDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#autoDestroyDisabled) instead.
|
|
81
|
-
* @default false
|
|
82
|
-
*/
|
|
83
|
-
accessor autoDisposeChart: boolean;
|
|
84
|
-
/**
|
|
85
|
-
* When `true`, the data label text color is automatically adjusted for readability based on its background.
|
|
86
|
-
* If the label is dark and appears over a dark series area, the text color is switched to either the chart background color or white.
|
|
87
|
-
*
|
|
88
|
-
* **Note**: Applicable to heat charts only.
|
|
89
|
-
*
|
|
90
|
-
* @default false
|
|
91
|
-
*/
|
|
92
|
-
accessor autoInverseDataLabelTextColor: boolean;
|
|
93
|
-
/**
|
|
94
|
-
* Allows picking the Calcite CSS variables to use when applying a Calcite theme.
|
|
95
|
-
*
|
|
96
|
-
* By default the following variables are used:
|
|
97
|
-
* background: --calcite-color-foreground-1
|
|
98
|
-
* text: --calcite-color-text-1
|
|
99
|
-
* line: --calcite-color-border-1
|
|
100
|
-
* secondary line: --calcite-color-text-3
|
|
101
|
-
* spinner: --calcite-color-brand-hover
|
|
102
|
-
*
|
|
103
|
-
* The charts colors are overridden by those associated to those CSS variables, but only if they have not been
|
|
104
|
-
* customized beforehand.
|
|
105
|
-
*
|
|
106
|
-
* @since 5.1
|
|
107
|
-
*/
|
|
108
|
-
accessor calciteThemingCSSVariables: CalciteThemeCSSVariables;
|
|
109
|
-
/**
|
|
110
|
-
* The index of the chart to be rendered from the layer. Must be used in conjunction with the `layerItemId` or `layer` property.
|
|
111
|
-
*
|
|
112
|
-
* If a `layer` or `layerItemId` is set without `chartIndex`, the first chart in the layer will be rendered.
|
|
113
|
-
*
|
|
114
|
-
* If the `chartIndex` is out of bounds, the first chart in the layer will be rendered and a warning event will be emitted.
|
|
115
|
-
*
|
|
116
|
-
* @example
|
|
117
|
-
* ```html
|
|
118
|
-
* <arcgis-chart layer-item-id="8871626e970a4f3e9d6113ec63a92f2f" chart-index="2"></arcgis-chart>
|
|
119
|
-
* ```
|
|
120
|
-
*/
|
|
121
|
-
accessor chartIndex: number | undefined;
|
|
122
|
-
/**
|
|
123
|
-
* Customize the maximum number of series allowed on the chart.
|
|
124
|
-
*
|
|
125
|
-
* The chart's behavior once that limit is reached can be adjusted through the `behaviorAfterLimit` nested property, to either reject the creation
|
|
126
|
-
* or update of the chart, or render the elements up to the given limits.
|
|
127
|
-
*
|
|
128
|
-
* **Note**: Not applicable to gauges.
|
|
129
|
-
*/
|
|
130
|
-
accessor chartLimits: ChartElementLimit | undefined;
|
|
131
|
-
/**
|
|
132
|
-
* Lifecycle function executed after the data has been processed and before the chart renders.
|
|
133
|
-
* Can be used to alter the model from information extracted from the data.
|
|
134
|
-
*
|
|
135
|
-
* **Note**: Applicable to gauges and pie charts only.
|
|
136
|
-
*/
|
|
137
|
-
accessor chartWillRender: PreRenderCallback | undefined;
|
|
138
66
|
/**
|
|
139
67
|
* Localized common strings.
|
|
140
68
|
*
|
|
141
69
|
* @internal
|
|
142
70
|
*/
|
|
143
|
-
protected
|
|
71
|
+
protected _commonStrings: {
|
|
144
72
|
utilsStrings: {
|
|
145
73
|
chartType: {
|
|
146
74
|
chart: string;
|
|
@@ -675,21 +603,150 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
675
603
|
"Invalid date": string;
|
|
676
604
|
};
|
|
677
605
|
}>;
|
|
606
|
+
/** @internal */
|
|
607
|
+
protected _messages: Partial<{ chartNotFoundWarning: string; }> & T9nMeta<{ chartNotFoundWarning: string; }>;
|
|
608
|
+
/**
|
|
609
|
+
* Specifies how user interactions on the chart are handled.
|
|
610
|
+
*
|
|
611
|
+
* - `monoSelection`: Select one data point or series at a time. Each new selection replaces the previous selection.
|
|
612
|
+
* - `multiSelection`: Select multiple data points or series. Each new selection is added to the existing selection.
|
|
613
|
+
* - `multiSelectionWithCtrlKey`: Select multiple data points or series only while holding Ctrl (or Cmd on macOS). Without the key, selection behaves like `monoSelection`.
|
|
614
|
+
* - `zoom`: Zoom into an area of the chart.
|
|
615
|
+
* - `none`: Disable interaction-driven selection and zoom actions.
|
|
616
|
+
*
|
|
617
|
+
* **Note**: Not applicable to gauges.
|
|
618
|
+
*/
|
|
619
|
+
accessor actionMode: ActionModes | undefined;
|
|
620
|
+
/**
|
|
621
|
+
* When `true`, object ID can be used as a numeric field for aggregated charts (for example, `sum` of `objectId`).
|
|
622
|
+
*
|
|
623
|
+
* @default false
|
|
624
|
+
*/
|
|
625
|
+
accessor allowUsingObjectIdStat: boolean;
|
|
626
|
+
/**
|
|
627
|
+
* When `true`, elements such as series, axes, and legends will animate when the chart is first rendered or when the chart's configuration is updated.
|
|
628
|
+
*
|
|
629
|
+
* <video
|
|
630
|
+
* src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/animationEnabled.webm"
|
|
631
|
+
* aria-label="animationEnabled"
|
|
632
|
+
* width="720"
|
|
633
|
+
* autoPlay
|
|
634
|
+
* loop
|
|
635
|
+
* muted
|
|
636
|
+
* playsInline
|
|
637
|
+
* />
|
|
638
|
+
*
|
|
639
|
+
* @default false
|
|
640
|
+
* @since 5.1
|
|
641
|
+
*/
|
|
642
|
+
accessor animationEnabled: boolean | undefined;
|
|
643
|
+
/**
|
|
644
|
+
* The ARIA attributes for the chart component. Provides accessibility information to assistive technologies such as screen readers. Supports the following properties: [\`label\`](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label), [\`description\`](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-description), [\`describedByElements\`](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements), and [\`labelledByElements\`](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements).
|
|
645
|
+
*
|
|
646
|
+
* @example
|
|
647
|
+
* ```ts
|
|
648
|
+
* chartElement.aria = {
|
|
649
|
+
* label: "Custom chart label",
|
|
650
|
+
* description: "Custom chart description",
|
|
651
|
+
* };
|
|
652
|
+
* ```
|
|
653
|
+
* @see [ARIA attributes](https://developers.arcgis.com/javascript/latest/accessibility/#aria-attributes)
|
|
654
|
+
* @since 5.0
|
|
655
|
+
*/
|
|
656
|
+
accessor aria: DOMContainerAria | undefined;
|
|
657
|
+
/**
|
|
658
|
+
* When `true`, the component is not destroyed automatically when it is disconnected from the document, which is useful when moving or temporarily hiding it.
|
|
659
|
+
*
|
|
660
|
+
* > [!CAUTION]
|
|
661
|
+
* >
|
|
662
|
+
* > Call the [destroy()](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#destroy) method when you are done to prevent memory leaks.
|
|
663
|
+
*
|
|
664
|
+
* @default false
|
|
665
|
+
* @since 5.0
|
|
666
|
+
*/
|
|
667
|
+
accessor autoDestroyDisabled: boolean;
|
|
668
|
+
/**
|
|
669
|
+
* Auto disposes the chart when a new one is created in the same container.
|
|
670
|
+
*
|
|
671
|
+
* @deprecated since 5.0. Use [autoDestroyDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#autoDestroyDisabled) instead.
|
|
672
|
+
* @default false
|
|
673
|
+
*/
|
|
674
|
+
accessor autoDisposeChart: boolean;
|
|
675
|
+
/**
|
|
676
|
+
* When `true`, the data label text color is automatically adjusted for readability based on its background, switching to either the chart background color or white when contrast with the series area is too low.
|
|
677
|
+
*
|
|
678
|
+
* | With `autoInverseDataLabelTextColor` | Without `autoInverseDataLabelTextColor` |
|
|
679
|
+
* | -------- | -------- |
|
|
680
|
+
* |  |  |
|
|
681
|
+
*
|
|
682
|
+
* **Note**: Applicable to heat charts only.
|
|
683
|
+
*
|
|
684
|
+
* @default false
|
|
685
|
+
* @since 4.34
|
|
686
|
+
*/
|
|
687
|
+
accessor autoInverseDataLabelTextColor: boolean;
|
|
688
|
+
/**
|
|
689
|
+
* Specifies the Calcite CSS variables to use when applying a Calcite theme.
|
|
690
|
+
*
|
|
691
|
+
* By default the following variables are used:
|
|
692
|
+
* - background: `--calcite-color-foreground-1`
|
|
693
|
+
* - text: `--calcite-color-text-1`
|
|
694
|
+
* - line: `--calcite-color-border-1`
|
|
695
|
+
* - secondary line: `--calcite-color-text-3`
|
|
696
|
+
* - spinner: `--calcite-color-brand-hover`
|
|
697
|
+
*
|
|
698
|
+
* The chart colors are overridden by those associated to those CSS variables, but only if they have not been customized beforehand.
|
|
699
|
+
*
|
|
700
|
+
* @see [Charts theming with Calcite CSS variables](https://developers.arcgis.com/javascript/latest/charts/features-and-capabilities/styling-and-theming/#theming-with-css-variables)
|
|
701
|
+
* @see [Components theming with Calcite](https://developers.arcgis.com/javascript/latest/building-your-ui/#styling-and-theming-with-calcite)
|
|
702
|
+
* @since 5.1
|
|
703
|
+
*/
|
|
704
|
+
accessor calciteThemingCSSVariables: CalciteThemeCSSVariables;
|
|
705
|
+
/**
|
|
706
|
+
* The index of the chart to be rendered from the layer. Must be used in conjunction with the `layerItemId` or `layer` property.
|
|
707
|
+
*
|
|
708
|
+
* If a `layer` or `layerItemId` is set without `chartIndex`, the first chart in the layer will be rendered.
|
|
709
|
+
*
|
|
710
|
+
* If the `chartIndex` is out of bounds, the first chart in the layer will be rendered and a warning event will be emitted.
|
|
711
|
+
*
|
|
712
|
+
* @example
|
|
713
|
+
* ```html
|
|
714
|
+
* <arcgis-chart layer-item-id="8871626e970a4f3e9d6113ec63a92f2f" chart-index="2"></arcgis-chart>
|
|
715
|
+
* ```
|
|
716
|
+
*/
|
|
717
|
+
accessor chartIndex: number | undefined;
|
|
718
|
+
/**
|
|
719
|
+
* Customize the maximum number of series allowed on the chart.
|
|
720
|
+
*
|
|
721
|
+
* The chart's behavior once that limit is reached can be adjusted through the `behaviorAfterLimit` nested property, to either reject the creation
|
|
722
|
+
* or update of the chart, or render the elements up to the given limits.
|
|
723
|
+
*
|
|
724
|
+
* **Note**: Not applicable to gauges.
|
|
725
|
+
*/
|
|
726
|
+
accessor chartLimits: ChartElementLimit | undefined;
|
|
727
|
+
/**
|
|
728
|
+
* Lifecycle function executed after the data has been processed and before the chart renders.
|
|
729
|
+
* Can be used to alter the model from information extracted from the data.
|
|
730
|
+
*
|
|
731
|
+
* **Note**: Applicable to gauges and pie charts only.
|
|
732
|
+
*/
|
|
733
|
+
accessor chartWillRender: PreRenderCallback | undefined;
|
|
678
734
|
/**
|
|
679
735
|
* Whether to use features uniquely designed for a chart currently being configured by a user via the UI.
|
|
680
|
-
* When true
|
|
681
|
-
* and
|
|
736
|
+
* When `true` and if the [`charts action bar`](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/) is slotted in the chart component,
|
|
737
|
+
* the action bar will expose an "Edit chart" action, surface relevant error states, and show a helpful in-container placeholder about the chart’s purpose.
|
|
682
738
|
*
|
|
683
739
|
* @default false
|
|
740
|
+
* @since 5.1
|
|
684
741
|
*/
|
|
685
742
|
accessor configurationEnabled: boolean;
|
|
686
743
|
/**
|
|
687
|
-
*
|
|
744
|
+
* Defines how the cursor selection rectangle is constrained when [actionMode](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#actionMode) is `zoom`, `multiSelection`, or `multiSelectionWithCtrlKey`.
|
|
688
745
|
*
|
|
689
|
-
* - `multi-axes`: Allows
|
|
690
|
-
* - `x-axis`:
|
|
691
|
-
* - `y-axis`:
|
|
692
|
-
* - `undefined`:
|
|
746
|
+
* - `multi-axes`: Allows drawing a free rectangle across both axes.
|
|
747
|
+
* - `x-axis`: Constrains the rectangle to the x-axis direction.
|
|
748
|
+
* - `y-axis`: Constrains the rectangle to the y-axis direction.
|
|
749
|
+
* - `undefined`: Uses the default behavior for the current chart type and action mode.
|
|
693
750
|
*
|
|
694
751
|
* **Note**: Not applicable to gauges.
|
|
695
752
|
*/
|
|
@@ -697,7 +754,19 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
697
754
|
/**
|
|
698
755
|
* Callback function used to format the data labels. If the returned string contains HTML tags they will be interpreted as such.
|
|
699
756
|
*
|
|
700
|
-
*
|
|
757
|
+
* @example
|
|
758
|
+
* ```ts
|
|
759
|
+
* chartElement.dataLabelFormatter = (value) => {
|
|
760
|
+
* return `<b>${value}</b><br /><u>Custom label</u>`;
|
|
761
|
+
* };
|
|
762
|
+
* ```
|
|
763
|
+
* <img
|
|
764
|
+
* src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/dataLabelFormatter.avif"
|
|
765
|
+
* alt="dataLabelFormatter true"
|
|
766
|
+
* style="max-width: 900px; width: 100%; height: auto;"
|
|
767
|
+
* />
|
|
768
|
+
*
|
|
769
|
+
* **Note**: Not applicable to gauges and radar charts.
|
|
701
770
|
*/
|
|
702
771
|
accessor dataLabelFormatter: ChartOptions["dataLabelFormatter"] | undefined;
|
|
703
772
|
/**
|
|
@@ -748,7 +817,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
748
817
|
/**
|
|
749
818
|
* The index of the feature to render when using a feature based gauge.
|
|
750
819
|
*
|
|
751
|
-
* **Note**:
|
|
820
|
+
* **Note**: Applicable to gauges only.
|
|
752
821
|
*
|
|
753
822
|
* @deprecated since 5.0. Use charts model's [featureIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/model/gauge-model/gauge-model/#featureIndex) prop instead.
|
|
754
823
|
*/
|
|
@@ -761,7 +830,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
761
830
|
*/
|
|
762
831
|
accessor filterByExtent: boolean;
|
|
763
832
|
/**
|
|
764
|
-
* When `true`,
|
|
833
|
+
* When `true`, the chart uses the current selection as a data filter and renders only selected elements instead of rendering the full dataset with selection styling.
|
|
834
|
+
* Axis bounds, time binning intervals will be computed based on the selected elements only.
|
|
765
835
|
*
|
|
766
836
|
* **Note**: Not applicable to gauges or charts configured with imagery layers.
|
|
767
837
|
*
|
|
@@ -769,7 +839,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
769
839
|
*/
|
|
770
840
|
accessor filterBySelection: boolean;
|
|
771
841
|
/**
|
|
772
|
-
* When `true`,
|
|
842
|
+
* When `true`, chart queries are constrained to the current map view extent. The chart refreshes as the view extent changes, and the axis bounds or other derived values are recalculated from the view extent data.
|
|
773
843
|
*
|
|
774
844
|
* @default false
|
|
775
845
|
*/
|
|
@@ -777,18 +847,41 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
777
847
|
/**
|
|
778
848
|
* Callback function used to format the gauge inner label. If the returned string contains HTML tags they will be interpreted as such.
|
|
779
849
|
*
|
|
850
|
+
* @example
|
|
851
|
+
* ```ts
|
|
852
|
+
* // Render a centered custom gauge label with the value formatted to 2 decimal places.
|
|
853
|
+
* chartElement.gaugeInnerLabelFormatter = (value) => {
|
|
854
|
+
* return `<div style="text-align: center;"><u>Custom gauge inner label: </u><br /><b>${Number(value).toFixed(2)}</b></div>`;
|
|
855
|
+
* };
|
|
856
|
+
* ```
|
|
857
|
+
*
|
|
858
|
+
* 
|
|
859
|
+
*
|
|
780
860
|
* **Note**: Applicable to gauges only.
|
|
781
861
|
*/
|
|
782
862
|
accessor gaugeInnerLabelFormatter: GaugeInnerLabelFormatCallback | undefined;
|
|
783
863
|
/**
|
|
784
864
|
* Callback function used to format the axes guides tooltip. If the returned string contains HTML tags they will be interpreted as such.
|
|
785
865
|
*
|
|
866
|
+
* @example
|
|
867
|
+
* ```ts
|
|
868
|
+
* // Render a custom tooltip with the guide's start and end values.
|
|
869
|
+
* chartElement.guideTooltipFormatter = (guide) => {
|
|
870
|
+
* return `
|
|
871
|
+
* <u>Custom guide tooltip</u><br />
|
|
872
|
+
* Range: <b>${guide.start} - ${guide.end}</b>
|
|
873
|
+
* `;
|
|
874
|
+
* };
|
|
875
|
+
* ```
|
|
876
|
+
*
|
|
877
|
+
* 
|
|
878
|
+
*
|
|
786
879
|
* **Note**: Not applicable to pie charts.
|
|
787
880
|
*/
|
|
788
881
|
accessor guideTooltipFormatter: GuideTooltipFormatCallback | undefined;
|
|
789
882
|
/**
|
|
790
883
|
* When `true`, the empty series are completely hidden from the chart and the legend.
|
|
791
|
-
* For example, a series may become empty after applying a data filter, filter by attribute or geometry (as when using the filter by extent).
|
|
884
|
+
* For example, a series may become empty after applying a data filter, filter by attribute or geometry (as when using the filter by view extent).
|
|
792
885
|
*
|
|
793
886
|
* **Note**: Not applicable to gauges.
|
|
794
887
|
*
|
|
@@ -824,7 +917,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
824
917
|
* When this property is set to `true`, the dataset will keep these gaps instead of filling them with 0s.
|
|
825
918
|
*
|
|
826
919
|
* When left to `false`, the chart's dataItems associated with empty (no value) categories (from only a `Count` aggregation)
|
|
827
|
-
* will be populated with 0s
|
|
920
|
+
* will be populated with 0s.
|
|
828
921
|
*
|
|
829
922
|
* @default false
|
|
830
923
|
* @since 5.1
|
|
@@ -846,18 +939,18 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
846
939
|
*/
|
|
847
940
|
accessor ignoreSmoothRenderingLimit: boolean;
|
|
848
941
|
/**
|
|
849
|
-
*
|
|
942
|
+
* When `true`, it signals the queries to ignore the view's extent, whether an additional geometry filter is provided or not.
|
|
850
943
|
*
|
|
851
|
-
*
|
|
852
|
-
* geometry passed through the model (`component.model.dataFilters`) or the runtime filters (`component.runtimeDataFilters`).
|
|
944
|
+
* This property will be effective when the component's [view](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#view) property is provided or when the [layer](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layer) property is set to [`FeatureLayerView`](/references/core/views/layers/FeatureLayerView/).
|
|
853
945
|
*
|
|
854
|
-
*
|
|
946
|
+
* By default the queries made by the chart will consider the view's extent as the unique geometry filter applicable. This implies ignoring any
|
|
947
|
+
* geometry filters passed through the [model](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#model) or the [runtimeDataFilters](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#runtimeDataFilters) properties.
|
|
855
948
|
*
|
|
856
949
|
* @default false
|
|
857
950
|
*/
|
|
858
951
|
accessor ignoreViewExtent: boolean;
|
|
859
952
|
/**
|
|
860
|
-
*
|
|
953
|
+
* When `true`, all interactions such as zooming and selection are disabled on the chart. The chart will be rendered in a read-only state.
|
|
861
954
|
*
|
|
862
955
|
* @default false
|
|
863
956
|
*/
|
|
@@ -882,9 +975,12 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
882
975
|
*/
|
|
883
976
|
accessor layerFilterChangePolicy: LayerFilterChangePolicy;
|
|
884
977
|
/**
|
|
885
|
-
* Layer item ID associated with the chart to be rendered. Can be used in conjunction with the `chartIndex` property.
|
|
978
|
+
* Layer item ID associated with the chart to be rendered. Can be used in conjunction with the `chartIndex` property. If `layerItemId` is set without `chartIndex`, the first chart in the layer will be rendered.
|
|
979
|
+
*
|
|
980
|
+
* The layer item ID can be found in the URL of the layer's item page on ArcGIS Online or Enterprise.
|
|
981
|
+
* For example, in the URL `https://www.arcgis.com/home/item.html?id=8871626e970a4f3e9d6113ec63a92f2f`, the layer item ID is `8871626e970a4f3e9d6113ec63a92f2f`.
|
|
886
982
|
*
|
|
887
|
-
*
|
|
983
|
+
* Supported layer types include: [`FeatureLayer`](/references/core/layers/FeatureLayer), [`SubtypeSublayer`](/references/core/layers/support/SubtypeSublayer), [`ImageryLayer`](/references/core/layers/ImageryLayer), [`ImageryTileLayer`](/references/core/layers/ImageryTileLayer) and [`WCSLayer`](/references/core/layers/WCSLayer).
|
|
888
984
|
*
|
|
889
985
|
* @example
|
|
890
986
|
* ```html
|
|
@@ -893,13 +989,11 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
893
989
|
*/
|
|
894
990
|
accessor layerItemId: string | undefined;
|
|
895
991
|
/**
|
|
896
|
-
* Allows the chart to update automatically when the layer's renderer changes.
|
|
897
|
-
* Applies when the color match is enabled.
|
|
898
|
-
*
|
|
899
|
-
* @deprecated
|
|
900
|
-
* since 5.1. Won't be replaced.
|
|
992
|
+
* Allows the chart to update automatically when the layer's renderer changes. Applies when the color match is enabled.
|
|
901
993
|
*
|
|
902
994
|
* **Note**: If the property is set to `ignore` the chart will still use the layer's renderer information when the data is updated.
|
|
995
|
+
*
|
|
996
|
+
* @deprecated since 5.1. Won't be replaced.
|
|
903
997
|
* @default "refresh"
|
|
904
998
|
*/
|
|
905
999
|
accessor layerRendererChangePolicy: LayerRendererChangePolicy;
|
|
@@ -912,8 +1006,25 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
912
1006
|
*/
|
|
913
1007
|
accessor legendPosition: WebChartLegendPositions | undefined;
|
|
914
1008
|
/**
|
|
915
|
-
*
|
|
916
|
-
*
|
|
1009
|
+
* When the pie chart label contains either a numeric value or a percentage (which can be set through the
|
|
1010
|
+
* [setDisplayNumericValue](https://developers.arcgis.com/javascript/latest/references/charts-components/model/pie-chart-model/pie-chart-model/#setDisplayNumericValue) and
|
|
1011
|
+
* [setDisplayPercentage](https://developers.arcgis.com/javascript/latest/references/charts-components/model/pie-chart-model/pie-chart-model/#setDisplayPercentage) methods from the pie chart model), this property
|
|
1012
|
+
* can be used to format the numeric value and/or percentage. If the returned string contains HTML tags they will be interpreted as such.
|
|
1013
|
+
*
|
|
1014
|
+
* @example
|
|
1015
|
+
* ```ts
|
|
1016
|
+
* // Set the pie chart model to display both numeric value and percentage.
|
|
1017
|
+
* pieChartModel.setDisplayNumericValue(true);
|
|
1018
|
+
* pieChartModel.setDisplayPercentage(true);
|
|
1019
|
+
*
|
|
1020
|
+
* // Render the numeric value and percentage in bold and italic respectively, with 2 decimal places.
|
|
1021
|
+
* chartElement.legendValueLabelFormatter = (value, percentage) => {
|
|
1022
|
+
* const formatTo2Decimals = (input) => Number(input).toFixed(2);
|
|
1023
|
+
* return `<strong><u>${formatTo2Decimals(value)}</u></strong> (<em>${formatTo2Decimals(percentage)}%</em>)`;
|
|
1024
|
+
* };
|
|
1025
|
+
* ```
|
|
1026
|
+
*
|
|
1027
|
+
* 
|
|
917
1028
|
*
|
|
918
1029
|
* **Note**: Applicable to pie charts only.
|
|
919
1030
|
*/
|
|
@@ -934,12 +1045,12 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
934
1045
|
* @example
|
|
935
1046
|
* ```ts
|
|
936
1047
|
* // Set a blue curtain and a red spinner for the loader animation
|
|
937
|
-
*
|
|
1048
|
+
* chartComponent.loaderColors = { curtainColor: [30, 144, 255, 255], spinnerColor: [255, 0, 0, 255] };
|
|
938
1049
|
* ```
|
|
939
1050
|
*/
|
|
940
1051
|
accessor loaderColors: LoaderColors | undefined;
|
|
941
1052
|
/** Custom message overrides for the chart's strings. */
|
|
942
|
-
accessor messageOverrides: {
|
|
1053
|
+
accessor messageOverrides: {
|
|
943
1054
|
utilsStrings?: {
|
|
944
1055
|
chartType?: {
|
|
945
1056
|
chart?: string | undefined;
|
|
@@ -1206,7 +1317,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1206
1317
|
"Unable to load file: %1"?: string | undefined;
|
|
1207
1318
|
"Invalid date"?: string | undefined;
|
|
1208
1319
|
} | undefined;
|
|
1209
|
-
};
|
|
1320
|
+
} & { chartNotFoundWarning?: string | undefined; };
|
|
1210
1321
|
/**
|
|
1211
1322
|
* Provides an API to interact with the chart's configuration.
|
|
1212
1323
|
*
|
|
@@ -1238,19 +1349,19 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1238
1349
|
accessor queueChartCreation: boolean | undefined;
|
|
1239
1350
|
/**
|
|
1240
1351
|
* When `true`, the chart's `dataItems` associated with empty (no value) categories (from only a `Count` aggregation)
|
|
1241
|
-
* will be populated with 0s
|
|
1352
|
+
* will be populated with 0s.
|
|
1242
1353
|
*
|
|
1243
1354
|
* @deprecated since 5.0. Use [hideZeroCountCategories](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#hideZeroCountCategories) instead.
|
|
1244
1355
|
* @default false
|
|
1245
1356
|
*/
|
|
1246
1357
|
accessor replaceNoValueCategoryWithZero: boolean | undefined;
|
|
1247
1358
|
/**
|
|
1248
|
-
* When `true`, the features extent will be returned through the
|
|
1359
|
+
* When `true`, the features extent will be returned through the [@arcgisDataProcessComplete](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisDataProcessComplete) and [@arcgisSelectionComplete](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisSelectionComplete) events payload.
|
|
1249
1360
|
* Applies only to:
|
|
1250
1361
|
* - Charts using an aggregation.
|
|
1251
1362
|
* - Data source using a feature layer compatible with envelope aggregation.
|
|
1252
1363
|
*
|
|
1253
|
-
* The extent (
|
|
1364
|
+
* The extent (IExtent) is returned through the property [featuresExtentField](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/index/#featuresExtentField).
|
|
1254
1365
|
*
|
|
1255
1366
|
* **Note**: Not applicable to gauges.
|
|
1256
1367
|
*
|
|
@@ -1277,7 +1388,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1277
1388
|
/**
|
|
1278
1389
|
* When `true`, the chart is rotated 90 degrees so that the x-axis becomes vertical and the y-axis becomes horizontal.
|
|
1279
1390
|
*
|
|
1280
|
-
* **Note**: Applicable to bar chart, line chart, combo bar
|
|
1391
|
+
* **Note**: Applicable to bar chart, line chart, combo bar line chart and box plot.
|
|
1281
1392
|
*
|
|
1282
1393
|
* @default false
|
|
1283
1394
|
*/
|
|
@@ -1285,7 +1396,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1285
1396
|
/**
|
|
1286
1397
|
* When `true`, the chart is rotated 90 degrees so that the x-axis becomes vertical and the y-axis becomes horizontal.
|
|
1287
1398
|
*
|
|
1288
|
-
* **Note**: Applicable to bar chart, line chart, combo bar
|
|
1399
|
+
* **Note**: Applicable to bar chart, line chart, combo bar line chart and box plot.
|
|
1289
1400
|
*
|
|
1290
1401
|
* @deprecated since 5.0. Use either [rotated](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#rotated) or the charts model's [rotated](https://developers.arcgis.com/javascript/latest/references/charts-components/model/bar-chart-model/bar-chart-model/#rotated) prop instead.
|
|
1291
1402
|
* @default false
|
|
@@ -1296,7 +1407,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1296
1407
|
*
|
|
1297
1408
|
* @example
|
|
1298
1409
|
* ```ts
|
|
1299
|
-
*
|
|
1410
|
+
* chartComponent.runtimeDataFilters = {
|
|
1300
1411
|
* where: "FieldValue = 9",
|
|
1301
1412
|
* };
|
|
1302
1413
|
* ```
|
|
@@ -1304,9 +1415,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1304
1415
|
accessor runtimeDataFilters: WebChartDataFilters | undefined;
|
|
1305
1416
|
/**
|
|
1306
1417
|
* Callback function used to format the secondary y-axis labels. If the returned string contains HTML tags they will be interpreted as such.
|
|
1307
|
-
* The property will be effective only if 3 axes are defined (dual axis chart).
|
|
1308
1418
|
*
|
|
1309
|
-
* **Note**: Appliable to bar charts, line charts, combo bar line charts
|
|
1419
|
+
* **Note**: Appliable to bar charts, line charts, combo bar line charts with dual axes.
|
|
1310
1420
|
*/
|
|
1311
1421
|
accessor secondaryYAxisLabelFormatter: AxisLabelFormatCallback | undefined;
|
|
1312
1422
|
/**
|
|
@@ -1316,8 +1426,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1316
1426
|
*/
|
|
1317
1427
|
accessor selectionData: SelectionData | undefined;
|
|
1318
1428
|
/**
|
|
1319
|
-
* Selection manager object used to synchronize the selections with the chart when
|
|
1320
|
-
* It has precedence over the layer view's [SelectionManager](
|
|
1429
|
+
* Selection manager object used to synchronize the selections with the chart when [syncViewSelection](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#syncViewSelection) is `true`.
|
|
1430
|
+
* It has precedence over the layer view's [SelectionManager](/references/core/views/SelectionManager/) when both are available.
|
|
1321
1431
|
*
|
|
1322
1432
|
* @since 5.1
|
|
1323
1433
|
*/
|
|
@@ -1329,9 +1439,9 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1329
1439
|
*
|
|
1330
1440
|
* **Note**: Not applicable to gauges.
|
|
1331
1441
|
*
|
|
1332
|
-
*
|
|
1442
|
+
* @example
|
|
1333
1443
|
* ```ts
|
|
1334
|
-
*
|
|
1444
|
+
* chartComponent.selectionTheme = {
|
|
1335
1445
|
* "selectedElementsTheme": {
|
|
1336
1446
|
* "transformation": {
|
|
1337
1447
|
* "scale": 1.2
|
|
@@ -1349,7 +1459,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1349
1459
|
/**
|
|
1350
1460
|
* When `true`, the series properties `unit` and `size` become optional and will be automatically set to values that fit the data set. Used when creating or updating a chart compatible with time binning.
|
|
1351
1461
|
*
|
|
1352
|
-
* **Note**: Only applicable to charts using the temporal binning feature (bar chart, line chart, combo bar
|
|
1462
|
+
* **Note**: Only applicable to charts using the temporal binning feature (bar chart, line chart, combo bar line chart, radar chart).
|
|
1353
1463
|
*
|
|
1354
1464
|
* @default false
|
|
1355
1465
|
*/
|
|
@@ -1358,7 +1468,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1358
1468
|
* Show the series on the chart even if it doesn't have data (i.e. empty)
|
|
1359
1469
|
*
|
|
1360
1470
|
* When `false`, the empty series are completely hidden from the chart and the legend.
|
|
1361
|
-
* For example a series can be empty after applying a data filter, filter by attribute or geometry (as when using the filter by extent).
|
|
1471
|
+
* For example a series can be empty after applying a data filter, filter by attribute or geometry (as when using the filter by view extent).
|
|
1362
1472
|
*
|
|
1363
1473
|
* **Note**: Not applicable to gauges.
|
|
1364
1474
|
*
|
|
@@ -1405,14 +1515,14 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1405
1515
|
*/
|
|
1406
1516
|
accessor syncSelection: boolean;
|
|
1407
1517
|
/**
|
|
1408
|
-
* Determines whether the chart's selection should be synchronized with either the chart's
|
|
1518
|
+
* Determines whether the chart's selection should be synchronized with either the chart's [selectionManager](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#selectionManager) or the layer view's.
|
|
1409
1519
|
*
|
|
1410
1520
|
* @deprecated since 5.1. Use [syncViewSelection](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#syncViewSelection) prop instead.
|
|
1411
1521
|
* @default "disabled"
|
|
1412
1522
|
*/
|
|
1413
1523
|
accessor syncSelectionsBetweenChartAndLayerViewPolicy: SyncSelectionsBetweenChartAndLayerViewPolicy;
|
|
1414
1524
|
/**
|
|
1415
|
-
* Determines whether the chart's selection should be synchronized with either the chart's
|
|
1525
|
+
* Determines whether the chart's selection should be synchronized with either the chart's [selectionManager](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#selectionManager) or the layer view's.
|
|
1416
1526
|
*
|
|
1417
1527
|
* @default false
|
|
1418
1528
|
* @since 5.1
|
|
@@ -1428,7 +1538,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1428
1538
|
*/
|
|
1429
1539
|
accessor syncViewTimeExtent: boolean;
|
|
1430
1540
|
/**
|
|
1431
|
-
* Whether the chart's data should be in sync with the view's
|
|
1541
|
+
* Whether the chart's data should be in sync with the view's [timeZone](/references/core/views/MapView/#timeZone).
|
|
1542
|
+
*
|
|
1432
1543
|
* **Note**: This applies only to charts supporting temporal data. Additionally if the data is binned, it applies only if the layer has the
|
|
1433
1544
|
* capacity to handle the `/queryBins` operation. For any other case the chart will ignore the view's time zone regardless of the value of this property.
|
|
1434
1545
|
*
|
|
@@ -1437,7 +1548,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1437
1548
|
*/
|
|
1438
1549
|
accessor syncViewTimeZone: boolean;
|
|
1439
1550
|
/**
|
|
1440
|
-
* List of chart types to include from syncing the view's
|
|
1551
|
+
* List of chart types to include from syncing the view's [`timeZone`](/references/core/views/MapView/#timeZone) with the data. Currently heat charts are included by default.
|
|
1552
|
+
*
|
|
1441
1553
|
* **Note**: This applies only to charts supporting temporal data. Additionally if the data is binned, it applies only if the layer has the
|
|
1442
1554
|
* capacity to handle the `/queryBins` operation. For any other case the chart will ignore the view's time zone regardless of the content of this list.
|
|
1443
1555
|
*
|
|
@@ -1451,10 +1563,6 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1451
1563
|
* ```ts
|
|
1452
1564
|
* chartComponent.timeZone = "America/Los_Angeles";
|
|
1453
1565
|
* ```
|
|
1454
|
-
* @example
|
|
1455
|
-
* ```html
|
|
1456
|
-
* <arcgis-chart time-zone="America/Los_Angeles"></arcgis-chart>
|
|
1457
|
-
* ```
|
|
1458
1566
|
*/
|
|
1459
1567
|
accessor timeZone: MapView["timeZone"] | undefined;
|
|
1460
1568
|
/**
|
|
@@ -1470,7 +1578,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1470
1578
|
*
|
|
1471
1579
|
* @example
|
|
1472
1580
|
* ```ts
|
|
1473
|
-
*
|
|
1581
|
+
* chartComponent.tooltipFormatter = ({ statValue }) => {
|
|
1474
1582
|
* return `<b>Custom tooltip</b> for ${statValue}`;
|
|
1475
1583
|
* };
|
|
1476
1584
|
* ```
|
|
@@ -1564,7 +1672,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1564
1672
|
* **Note**: The chart types supported by this method are:
|
|
1565
1673
|
* - Bar chart
|
|
1566
1674
|
* - Box plot
|
|
1567
|
-
* - Combo bar
|
|
1675
|
+
* - Combo bar line chart
|
|
1568
1676
|
* - Heat chart
|
|
1569
1677
|
* - Histogram
|
|
1570
1678
|
* - Line chart
|
|
@@ -1575,7 +1683,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1575
1683
|
exportAsCSV(options?: CSVOptions): Promise<void>;
|
|
1576
1684
|
/**
|
|
1577
1685
|
* Exports the current chart as an image. Default format is `png`.
|
|
1578
|
-
* - Alternative formats supported are: `jpeg` and `svg`.
|
|
1686
|
+
* - Alternative formats supported are: `jpeg`, `jpg`, `webp`, and `svg`.
|
|
1687
|
+
* - When WebP format is used on Safari, it will fallback to PNG rendering.
|
|
1579
1688
|
*
|
|
1580
1689
|
* @param format
|
|
1581
1690
|
*/
|
|
@@ -1636,7 +1745,11 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1636
1745
|
readonly arcgisDataProcessComplete: import("@arcgis/lumina").TargetedEvent<this, DataProcessCompletePayload>;
|
|
1637
1746
|
/** Event triggered when an error occurred while fetching of processing the data for the chart. */
|
|
1638
1747
|
readonly arcgisDataProcessError: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
1639
|
-
/**
|
|
1748
|
+
/**
|
|
1749
|
+
* Event triggered when an invalid configuration is detected.
|
|
1750
|
+
*
|
|
1751
|
+
* @deprecated since 5.1. Won't be replaced.
|
|
1752
|
+
*/
|
|
1640
1753
|
readonly arcgisInvalidConfigWarningRaise: import("@arcgis/lumina").TargetedEvent<this, DataWarningObject>;
|
|
1641
1754
|
/** Event triggered once a legend item visibility has been changed. */
|
|
1642
1755
|
readonly arcgisLegendItemVisibilityChange: import("@arcgis/lumina").TargetedEvent<this, LegendItemVisibilityChangePayload>;
|