@arcgis/charts-components 5.2.0-next.6 → 5.2.0-next.60
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/3UHXOKCR.js +2 -0
- package/dist/cdn/3YCGBAQY.js +2 -0
- package/dist/cdn/3ZGG7Q5M.js +2 -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/{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/{DAB5R2BN.js → 5EYVH3PA.js} +1 -1
- package/dist/cdn/5MPXETTU.js +2 -0
- 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/6DOANSRL.js +45 -0
- package/dist/cdn/6MNV7FJC.js +2 -0
- package/dist/cdn/6PIQ2O5S.js +2 -0
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/7CMQGTU6.js +2 -0
- 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/A36KQ6YP.js +2 -0
- 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/BXBY6D2F.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/EAV3KAS7.js +2 -0
- package/dist/cdn/EBSQRCQQ.js +2 -0
- package/dist/cdn/EDVN42ME.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/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/H2EMIJME.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/JBFVGQSP.js +4 -0
- package/dist/cdn/JEVWE6ER.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/{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/M744CFJ2.js +2 -0
- package/dist/cdn/{CHQDKVVQ.js → MARXRC6B.js} +1 -1
- package/dist/cdn/MJTWR33N.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/O3DJD5IR.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/{XUERYUEG.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/{A4GEWIPY.js → OSUM4CWA.js} +1 -1
- 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/{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/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/{GDQBQQUP.js → QTSF2LK7.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/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/{SBYD2EKR.js → TSSN2OW3.js} +1 -1
- 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/V5W5LNFT.js +2 -0
- 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/{KZ7LPNX3.js → VNNTABNO.js} +1 -1
- 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/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/WTJ2NJ76.js +2 -0
- package/dist/cdn/WZOHQJFB.js +2 -0
- package/dist/cdn/XKZ44LA2.js +2 -0
- package/dist/cdn/XM2GVJT3.js +2 -0
- package/dist/cdn/Y2WHHAAA.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/YVSZN6IH.js +2 -0
- package/dist/cdn/Z3LGGHZN.js +2 -0
- package/dist/cdn/ZGBULDPL.js +2 -0
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/{4LPXOEML.js → ZLXYBOM3.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 +77 -78
- package/dist/chunks/box-plot-model.js +18 -18
- 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 +30 -31
- 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 +77 -48
- package/dist/chunks/histogram-data.js +22 -22
- package/dist/chunks/histogram-model.js +11 -11
- 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 +6 -6
- package/dist/chunks/model-setter.js +16 -15
- package/dist/chunks/model-with-line-marker-styling.js +2 -3
- package/dist/chunks/model-with-x-guides.js +5 -5
- package/dist/chunks/model-with-y-guides.js +33 -33
- package/dist/chunks/negative-values-stacked-to-baseline.js +18 -18
- package/dist/chunks/pie-chart-data.js +54 -48
- package/dist/chunks/pie-chart-model.js +159 -146
- 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 +896 -757
- package/dist/chunks/serial-chart-model.js +136 -123
- 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 +227 -156
- 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 +9 -9
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +8 -11
- 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/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 +24 -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 +23 -23
- 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 +15 -0
- 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
|
*/
|
|
@@ -788,7 +857,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
788
857
|
accessor guideTooltipFormatter: GuideTooltipFormatCallback | undefined;
|
|
789
858
|
/**
|
|
790
859
|
* 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).
|
|
860
|
+
* 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
861
|
*
|
|
793
862
|
* **Note**: Not applicable to gauges.
|
|
794
863
|
*
|
|
@@ -824,7 +893,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
824
893
|
* When this property is set to `true`, the dataset will keep these gaps instead of filling them with 0s.
|
|
825
894
|
*
|
|
826
895
|
* 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
|
|
896
|
+
* will be populated with 0s.
|
|
828
897
|
*
|
|
829
898
|
* @default false
|
|
830
899
|
* @since 5.1
|
|
@@ -882,9 +951,11 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
882
951
|
*/
|
|
883
952
|
accessor layerFilterChangePolicy: LayerFilterChangePolicy;
|
|
884
953
|
/**
|
|
885
|
-
* Layer item ID associated with the chart to be rendered. Can be used in conjunction with the `chartIndex` property.
|
|
954
|
+
* 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.
|
|
955
|
+
*
|
|
956
|
+
* The layer item ID can be found in the URL of the layer's item page on ArcGIS Online or Enterprise. For example, in the URL `https://www.arcgis.com/home/item.html?id=8871626e970a4f3e9d6113ec63a92f2f`, the layer item ID is `8871626e970a4f3e9d6113ec63a92f2f`.
|
|
886
957
|
*
|
|
887
|
-
*
|
|
958
|
+
* Supported layers include: `FeatureLayer`, `SubtypeSublayer`, `ImageryLayer`, `ImageryTileLayer` and `WCSLayer`.
|
|
888
959
|
*
|
|
889
960
|
* @example
|
|
890
961
|
* ```html
|
|
@@ -893,13 +964,11 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
893
964
|
*/
|
|
894
965
|
accessor layerItemId: string | undefined;
|
|
895
966
|
/**
|
|
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.
|
|
967
|
+
* Allows the chart to update automatically when the layer's renderer changes. Applies when the color match is enabled.
|
|
901
968
|
*
|
|
902
969
|
* **Note**: If the property is set to `ignore` the chart will still use the layer's renderer information when the data is updated.
|
|
970
|
+
*
|
|
971
|
+
* @deprecated since 5.1. Won't be replaced.
|
|
903
972
|
* @default "refresh"
|
|
904
973
|
*/
|
|
905
974
|
accessor layerRendererChangePolicy: LayerRendererChangePolicy;
|
|
@@ -913,7 +982,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
913
982
|
accessor legendPosition: WebChartLegendPositions | undefined;
|
|
914
983
|
/**
|
|
915
984
|
* A callback function used to format the legend value labels. If the returned string contains HTML tags they will be interpreted as such.
|
|
916
|
-
* If provided, the formatter will be used if at least
|
|
985
|
+
* If provided, the formatter will be used if at least [displayNumericValue](https://developers.arcgis.com/javascript/latest/references/charts-components/spec/web-chart/#WebChartPieChartLegend-displayNumericValue) or [displayPercentage](https://developers.arcgis.com/javascript/latest/references/charts-components/spec/web-chart/#WebChartPieChartLegend-displayPercentage) is `true`.
|
|
917
986
|
*
|
|
918
987
|
* **Note**: Applicable to pie charts only.
|
|
919
988
|
*/
|
|
@@ -934,12 +1003,12 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
934
1003
|
* @example
|
|
935
1004
|
* ```ts
|
|
936
1005
|
* // Set a blue curtain and a red spinner for the loader animation
|
|
937
|
-
*
|
|
1006
|
+
* chartComponent.loaderColors = { curtainColor: [30, 144, 255, 255], spinnerColor: [255, 0, 0, 255] };
|
|
938
1007
|
* ```
|
|
939
1008
|
*/
|
|
940
1009
|
accessor loaderColors: LoaderColors | undefined;
|
|
941
1010
|
/** Custom message overrides for the chart's strings. */
|
|
942
|
-
accessor messageOverrides: {
|
|
1011
|
+
accessor messageOverrides: {
|
|
943
1012
|
utilsStrings?: {
|
|
944
1013
|
chartType?: {
|
|
945
1014
|
chart?: string | undefined;
|
|
@@ -1206,7 +1275,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1206
1275
|
"Unable to load file: %1"?: string | undefined;
|
|
1207
1276
|
"Invalid date"?: string | undefined;
|
|
1208
1277
|
} | undefined;
|
|
1209
|
-
};
|
|
1278
|
+
} & { chartNotFoundWarning?: string | undefined; };
|
|
1210
1279
|
/**
|
|
1211
1280
|
* Provides an API to interact with the chart's configuration.
|
|
1212
1281
|
*
|
|
@@ -1238,19 +1307,19 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1238
1307
|
accessor queueChartCreation: boolean | undefined;
|
|
1239
1308
|
/**
|
|
1240
1309
|
* When `true`, the chart's `dataItems` associated with empty (no value) categories (from only a `Count` aggregation)
|
|
1241
|
-
* will be populated with 0s
|
|
1310
|
+
* will be populated with 0s.
|
|
1242
1311
|
*
|
|
1243
1312
|
* @deprecated since 5.0. Use [hideZeroCountCategories](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#hideZeroCountCategories) instead.
|
|
1244
1313
|
* @default false
|
|
1245
1314
|
*/
|
|
1246
1315
|
accessor replaceNoValueCategoryWithZero: boolean | undefined;
|
|
1247
1316
|
/**
|
|
1248
|
-
* When `true`, the features extent will be returned through the
|
|
1317
|
+
* 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
1318
|
* Applies only to:
|
|
1250
1319
|
* - Charts using an aggregation.
|
|
1251
1320
|
* - Data source using a feature layer compatible with envelope aggregation.
|
|
1252
1321
|
*
|
|
1253
|
-
* The extent (
|
|
1322
|
+
* The extent (IExtent) is returned through the property [featuresExtentField](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/index/#featuresExtentField).
|
|
1254
1323
|
*
|
|
1255
1324
|
* **Note**: Not applicable to gauges.
|
|
1256
1325
|
*
|
|
@@ -1277,7 +1346,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1277
1346
|
/**
|
|
1278
1347
|
* When `true`, the chart is rotated 90 degrees so that the x-axis becomes vertical and the y-axis becomes horizontal.
|
|
1279
1348
|
*
|
|
1280
|
-
* **Note**: Applicable to bar chart, line chart, combo bar
|
|
1349
|
+
* **Note**: Applicable to bar chart, line chart, combo bar line chart and box plot.
|
|
1281
1350
|
*
|
|
1282
1351
|
* @default false
|
|
1283
1352
|
*/
|
|
@@ -1285,7 +1354,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1285
1354
|
/**
|
|
1286
1355
|
* When `true`, the chart is rotated 90 degrees so that the x-axis becomes vertical and the y-axis becomes horizontal.
|
|
1287
1356
|
*
|
|
1288
|
-
* **Note**: Applicable to bar chart, line chart, combo bar
|
|
1357
|
+
* **Note**: Applicable to bar chart, line chart, combo bar line chart and box plot.
|
|
1289
1358
|
*
|
|
1290
1359
|
* @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
1360
|
* @default false
|
|
@@ -1296,7 +1365,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1296
1365
|
*
|
|
1297
1366
|
* @example
|
|
1298
1367
|
* ```ts
|
|
1299
|
-
*
|
|
1368
|
+
* chartComponent.runtimeDataFilters = {
|
|
1300
1369
|
* where: "FieldValue = 9",
|
|
1301
1370
|
* };
|
|
1302
1371
|
* ```
|
|
@@ -1304,9 +1373,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1304
1373
|
accessor runtimeDataFilters: WebChartDataFilters | undefined;
|
|
1305
1374
|
/**
|
|
1306
1375
|
* 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
1376
|
*
|
|
1309
|
-
* **Note**: Appliable to bar charts, line charts, combo bar line charts
|
|
1377
|
+
* **Note**: Appliable to bar charts, line charts, combo bar line charts with dual axes.
|
|
1310
1378
|
*/
|
|
1311
1379
|
accessor secondaryYAxisLabelFormatter: AxisLabelFormatCallback | undefined;
|
|
1312
1380
|
/**
|
|
@@ -1316,8 +1384,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1316
1384
|
*/
|
|
1317
1385
|
accessor selectionData: SelectionData | undefined;
|
|
1318
1386
|
/**
|
|
1319
|
-
* Selection manager object used to synchronize the selections with the chart when
|
|
1320
|
-
* It has precedence over the layer view's [SelectionManager](
|
|
1387
|
+
* 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`.
|
|
1388
|
+
* It has precedence over the layer view's [SelectionManager](/references/core/views/SelectionManager/) when both are available.
|
|
1321
1389
|
*
|
|
1322
1390
|
* @since 5.1
|
|
1323
1391
|
*/
|
|
@@ -1329,9 +1397,9 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1329
1397
|
*
|
|
1330
1398
|
* **Note**: Not applicable to gauges.
|
|
1331
1399
|
*
|
|
1332
|
-
*
|
|
1400
|
+
* @example
|
|
1333
1401
|
* ```ts
|
|
1334
|
-
*
|
|
1402
|
+
* chartComponent.selectionTheme = {
|
|
1335
1403
|
* "selectedElementsTheme": {
|
|
1336
1404
|
* "transformation": {
|
|
1337
1405
|
* "scale": 1.2
|
|
@@ -1349,7 +1417,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1349
1417
|
/**
|
|
1350
1418
|
* 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
1419
|
*
|
|
1352
|
-
* **Note**: Only applicable to charts using the temporal binning feature (bar chart, line chart, combo bar
|
|
1420
|
+
* **Note**: Only applicable to charts using the temporal binning feature (bar chart, line chart, combo bar line chart, radar chart).
|
|
1353
1421
|
*
|
|
1354
1422
|
* @default false
|
|
1355
1423
|
*/
|
|
@@ -1358,7 +1426,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1358
1426
|
* Show the series on the chart even if it doesn't have data (i.e. empty)
|
|
1359
1427
|
*
|
|
1360
1428
|
* 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).
|
|
1429
|
+
* 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
1430
|
*
|
|
1363
1431
|
* **Note**: Not applicable to gauges.
|
|
1364
1432
|
*
|
|
@@ -1405,14 +1473,14 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1405
1473
|
*/
|
|
1406
1474
|
accessor syncSelection: boolean;
|
|
1407
1475
|
/**
|
|
1408
|
-
* Determines whether the chart's selection should be synchronized with either the chart's
|
|
1476
|
+
* 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
1477
|
*
|
|
1410
1478
|
* @deprecated since 5.1. Use [syncViewSelection](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#syncViewSelection) prop instead.
|
|
1411
1479
|
* @default "disabled"
|
|
1412
1480
|
*/
|
|
1413
1481
|
accessor syncSelectionsBetweenChartAndLayerViewPolicy: SyncSelectionsBetweenChartAndLayerViewPolicy;
|
|
1414
1482
|
/**
|
|
1415
|
-
* Determines whether the chart's selection should be synchronized with either the chart's
|
|
1483
|
+
* 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
1484
|
*
|
|
1417
1485
|
* @default false
|
|
1418
1486
|
* @since 5.1
|
|
@@ -1428,7 +1496,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1428
1496
|
*/
|
|
1429
1497
|
accessor syncViewTimeExtent: boolean;
|
|
1430
1498
|
/**
|
|
1431
|
-
* Whether the chart's data should be in sync with the view's
|
|
1499
|
+
* Whether the chart's data should be in sync with the view's [timeZone](/references/core/views/MapView/#timeZone).
|
|
1500
|
+
*
|
|
1432
1501
|
* **Note**: This applies only to charts supporting temporal data. Additionally if the data is binned, it applies only if the layer has the
|
|
1433
1502
|
* 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
1503
|
*
|
|
@@ -1437,7 +1506,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1437
1506
|
*/
|
|
1438
1507
|
accessor syncViewTimeZone: boolean;
|
|
1439
1508
|
/**
|
|
1440
|
-
* List of chart types to include from syncing the view's
|
|
1509
|
+
* 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.
|
|
1510
|
+
*
|
|
1441
1511
|
* **Note**: This applies only to charts supporting temporal data. Additionally if the data is binned, it applies only if the layer has the
|
|
1442
1512
|
* 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
1513
|
*
|
|
@@ -1451,10 +1521,6 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1451
1521
|
* ```ts
|
|
1452
1522
|
* chartComponent.timeZone = "America/Los_Angeles";
|
|
1453
1523
|
* ```
|
|
1454
|
-
* @example
|
|
1455
|
-
* ```html
|
|
1456
|
-
* <arcgis-chart time-zone="America/Los_Angeles"></arcgis-chart>
|
|
1457
|
-
* ```
|
|
1458
1524
|
*/
|
|
1459
1525
|
accessor timeZone: MapView["timeZone"] | undefined;
|
|
1460
1526
|
/**
|
|
@@ -1470,7 +1536,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1470
1536
|
*
|
|
1471
1537
|
* @example
|
|
1472
1538
|
* ```ts
|
|
1473
|
-
*
|
|
1539
|
+
* chartComponent.tooltipFormatter = ({ statValue }) => {
|
|
1474
1540
|
* return `<b>Custom tooltip</b> for ${statValue}`;
|
|
1475
1541
|
* };
|
|
1476
1542
|
* ```
|
|
@@ -1564,7 +1630,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1564
1630
|
* **Note**: The chart types supported by this method are:
|
|
1565
1631
|
* - Bar chart
|
|
1566
1632
|
* - Box plot
|
|
1567
|
-
* - Combo bar
|
|
1633
|
+
* - Combo bar line chart
|
|
1568
1634
|
* - Heat chart
|
|
1569
1635
|
* - Histogram
|
|
1570
1636
|
* - Line chart
|
|
@@ -1575,7 +1641,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1575
1641
|
exportAsCSV(options?: CSVOptions): Promise<void>;
|
|
1576
1642
|
/**
|
|
1577
1643
|
* Exports the current chart as an image. Default format is `png`.
|
|
1578
|
-
* - Alternative formats supported are: `jpeg` and `svg`.
|
|
1644
|
+
* - Alternative formats supported are: `jpeg`, `jpg`, `webp`, and `svg`.
|
|
1645
|
+
* - When WebP format is used on Safari, it will fallback to PNG rendering.
|
|
1579
1646
|
*
|
|
1580
1647
|
* @param format
|
|
1581
1648
|
*/
|
|
@@ -1636,7 +1703,11 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1636
1703
|
readonly arcgisDataProcessComplete: import("@arcgis/lumina").TargetedEvent<this, DataProcessCompletePayload>;
|
|
1637
1704
|
/** Event triggered when an error occurred while fetching of processing the data for the chart. */
|
|
1638
1705
|
readonly arcgisDataProcessError: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
1639
|
-
/**
|
|
1706
|
+
/**
|
|
1707
|
+
* Event triggered when an invalid configuration is detected.
|
|
1708
|
+
*
|
|
1709
|
+
* @deprecated since 5.1. Won't be replaced.
|
|
1710
|
+
*/
|
|
1640
1711
|
readonly arcgisInvalidConfigWarningRaise: import("@arcgis/lumina").TargetedEvent<this, DataWarningObject>;
|
|
1641
1712
|
/** Event triggered once a legend item visibility has been changed. */
|
|
1642
1713
|
readonly arcgisLegendItemVisibilityChange: import("@arcgis/lumina").TargetedEvent<this, LegendItemVisibilityChangePayload>;
|