@arcgis/charts-components 5.2.0-next.5 → 5.2.0-next.51
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/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/{2HUAW34Q.js → 2R5BXKVB.js} +1 -1
- package/dist/cdn/{5QO32XSX.js → 2UMW7TY6.js} +1 -1
- package/dist/cdn/356JWED3.js +2 -0
- package/dist/cdn/{Y7HBWU3M.js → 3GAUDUOD.js} +1 -1
- package/dist/cdn/{SBYD2EKR.js → 3UDKG6TV.js} +1 -1
- package/dist/cdn/{DCZWZOPF.js → 4ASVJDBN.js} +1 -1
- package/dist/cdn/4C3N36J3.js +2 -0
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/{Y3CXVO2M.js → 4MSUALRF.js} +1 -1
- package/dist/cdn/4PUEIE4S.js +45 -0
- package/dist/cdn/53HYBRJO.js +2 -0
- package/dist/cdn/{L4G6FO7A.js → 57VIC2YX.js} +1 -1
- package/dist/cdn/5BPQQOWS.js +2 -0
- package/dist/cdn/5CIY3LRQ.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/{CHQDKVVQ.js → 5DUKB563.js} +1 -1
- package/dist/cdn/5IOIRPSB.js +2 -0
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/5XW2VK3A.js +2 -0
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/67P25QZA.js +2 -0
- package/dist/cdn/6AICTTLD.js +2 -0
- package/dist/cdn/6HU62XEQ.js +2 -0
- package/dist/cdn/{BJDRJUEJ.js → 6RG6AF7N.js} +1 -1
- package/dist/cdn/{HCMD362H.js → 6RPBMFL2.js} +1 -1
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/77A4IT5I.js +2 -0
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/{JJIGLOJA.js → 7CGAXWPM.js} +1 -1
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/7FSMC2TG.js +2 -0
- package/dist/cdn/7M3DALPY.js +2 -0
- package/dist/cdn/{N6AOFBBX.js → 7MEYUIY2.js} +1 -1
- package/dist/cdn/{TNB3MBXR.js → A67PKDYM.js} +1 -1
- package/dist/cdn/AALLRICA.js +2 -0
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/{5MEQANMY.js → AFE4UMQE.js} +1 -1
- package/dist/cdn/{CJ4POAPM.js → AJ4RZPOJ.js} +1 -1
- package/dist/cdn/AM27TYIA.js +102 -0
- package/dist/cdn/{VEA5ZR5D.js → APATJCOK.js} +1 -1
- package/dist/cdn/AZHBGLOD.js +2 -0
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{TYMKFCF4.js → B6BI3FPN.js} +1 -1
- package/dist/cdn/{HVO4LIXR.js → BAPR67OA.js} +1 -1
- package/dist/cdn/{5JML3JUR.js → BBMN3YU4.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/BGOWDCTO.js +2 -0
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/BYPSLSFP.js +2 -0
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/BYU72SMZ.js +2 -0
- package/dist/cdn/{ZFZ5AEUQ.js → C4O77AVT.js} +1 -1
- package/dist/cdn/CHZMNR2R.js +2 -0
- package/dist/cdn/CK2HC7UZ.js +4 -0
- package/dist/cdn/{64ZMYZ2S.js → CO2YXCVJ.js} +1 -1
- package/dist/cdn/CRUHZMGY.js +2 -0
- package/dist/cdn/{KLC6NTPC.js → CUPAZHZI.js} +1 -1
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/DEJ5AMUG.js +2 -0
- package/dist/cdn/{DEGBVJ76.js → DGJATKEL.js} +1 -1
- package/dist/cdn/DGU55EVX.js +2 -0
- package/dist/cdn/DT5VZTKL.js +2 -0
- package/dist/cdn/DWWFJ4K4.js +2 -0
- package/dist/cdn/{RAQZUMC6.js → E7YVOSTR.js} +1 -1
- package/dist/cdn/EKHD7EQL.js +2 -0
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/{A4GEWIPY.js → F7IPTEHX.js} +1 -1
- package/dist/cdn/{WASEMNYV.js → FHKRXY7E.js} +1 -1
- package/dist/cdn/G33PG425.js +2 -0
- package/dist/cdn/{R45FWF7D.js → G6XSNG2U.js} +1 -1
- package/dist/cdn/{LFQGH44F.js → GEHO65XE.js} +1 -1
- package/dist/cdn/{RFQBUWOW.js → GT6KWFXM.js} +1 -1
- package/dist/cdn/{TF7TE7K5.js → GZZJATH3.js} +1 -1
- package/dist/cdn/HGG2Y5XW.js +2 -0
- package/dist/cdn/HMBXRL4X.js +2 -0
- package/dist/cdn/HQHYGZW7.js +2 -0
- package/dist/cdn/{FF4DUQDZ.js → HRUQXEFI.js} +1 -1
- package/dist/cdn/HUGYHQXM.js +2 -0
- package/dist/cdn/{ZXOO3X5P.js → HWHKCIYW.js} +1 -1
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/{3DK6M5E7.js → IB6KNSJY.js} +1 -1
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/{PSO5AURI.js → INECCYD7.js} +1 -1
- package/dist/cdn/{P4HSSZRL.js → IONJLIQQ.js} +1 -1
- package/dist/cdn/{PVJEBBA7.js → ISY2BKFT.js} +1 -1
- package/dist/cdn/J64IDIEG.js +2 -0
- package/dist/cdn/J6YHKP6I.js +2 -0
- package/dist/cdn/JDAJB45A.js +2 -0
- package/dist/cdn/{YOT6DVSU.js → JEW6MSOC.js} +1 -1
- package/dist/cdn/{KZ7LPNX3.js → JNFMKAES.js} +1 -1
- package/dist/cdn/{AK7X7SGI.js → JYC77MVD.js} +1 -1
- package/dist/cdn/{JBHGSSHS.js → K25GJKPH.js} +1 -1
- package/dist/cdn/K4APZJ2O.js +2 -0
- package/dist/cdn/K5FLBEYI.js +2 -0
- package/dist/cdn/KITNG4RO.js +2 -0
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/{7FZC3RZK.js → L5J4TYCU.js} +1 -1
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/LGTEA66L.js +2 -0
- package/dist/cdn/LQMU7V5C.js +2 -0
- package/dist/cdn/LSWWNXP3.js +2 -0
- package/dist/cdn/M22IUUVK.js +2 -0
- package/dist/cdn/{MRTKZZTF.js → MBL6ZAKF.js} +1 -1
- package/dist/cdn/MCTBEBKM.js +2 -0
- package/dist/cdn/{K3GNHGEW.js → MDPDU2BA.js} +1 -1
- package/dist/cdn/MIJTHCPZ.js +2 -0
- package/dist/cdn/MMGZV3SQ.js +2 -0
- package/dist/cdn/NEOAI7Q7.js +3 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/{VVKV5KKN.js → NMITBWC4.js} +1 -1
- package/dist/cdn/NPRV25FK.js +2 -0
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/{KDJ5RVHA.js → NYFHPR6N.js} +1 -1
- package/dist/cdn/{AJWYIBGC.js → O25MQAZU.js} +1 -1
- package/dist/cdn/{LONASKGH.js → OAFJADKA.js} +1 -1
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- 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/{LDPHZHSF.js → OWLVHHFH.js} +1 -1
- package/dist/cdn/{E7OAEGSE.js → OZSAA5YQ.js} +1 -1
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/{WEQBZOH7.js → PDPZBGTU.js} +1 -1
- package/dist/cdn/PFR6MB2U.js +2 -0
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/{VDG54AIC.js → PTS74ZAY.js} +1 -1
- package/dist/cdn/{VY3KBD6N.js → PV2PO4IS.js} +1 -1
- package/dist/cdn/{ETKPMU7Z.js → Q3ZQR5JF.js} +1 -1
- package/dist/cdn/{QMSINFQX.js → Q5E66RNY.js} +1 -1
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/{XJFVSX2E.js → QJMUS3VS.js} +1 -1
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/{THTYR6IL.js → QYNNPEED.js} +1 -1
- package/dist/cdn/R53ISOLY.js +2 -0
- package/dist/cdn/{GV3TT7L5.js → R6T7WJQJ.js} +1 -1
- package/dist/cdn/{KUZR6CGB.js → R6XIGSQS.js} +1 -1
- package/dist/cdn/{7ABIELGZ.js → RFXODD7V.js} +1 -1
- package/dist/cdn/{5XTQQOTT.js → RLCLIRL6.js} +1 -1
- package/dist/cdn/RREO2RVL.js +2 -0
- package/dist/cdn/{AM2TOTX6.js → RTVU7ANC.js} +1 -1
- package/dist/cdn/RXFVSKL4.js +2 -0
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/{DKAHZ7IX.js → SWEIMWH2.js} +1 -1
- package/dist/cdn/T5QBJ7O3.js +2 -0
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/TIIFRE76.js +2 -0
- package/dist/cdn/TIRQ7FKE.js +2 -0
- package/dist/cdn/{KOBNV5AQ.js → TJZPVPM6.js} +1 -1
- package/dist/cdn/{A5YDJIMZ.js → TNNXIIY2.js} +1 -1
- package/dist/cdn/{KFONSKQF.js → TQLMPVI5.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → TW4RXJ35.js} +1 -1
- package/dist/cdn/{U2LJZ4ML.js → TWULSSGK.js} +1 -1
- package/dist/cdn/TXQMUOMN.js +2 -0
- package/dist/cdn/{5G7DSKI7.js → UBG7XLVS.js} +1 -1
- package/dist/cdn/{NQQW4GKA.js → UBZEWFXF.js} +1 -1
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/{LZYN55O4.js → UDDRI2Q2.js} +1 -1
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/{A5AECJXP.js → VEXNULZX.js} +1 -1
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/VMJSBE4T.js +2 -0
- package/dist/cdn/VN3NJCXR.js +2 -0
- package/dist/cdn/{U4XLNCOU.js → VQJKVJS7.js} +1 -1
- package/dist/cdn/VU2FAY3Y.js +2 -0
- package/dist/cdn/{3YT44D4Z.js → VX6SWJJ6.js} +1 -1
- package/dist/cdn/VZNG7PQX.js +2 -0
- package/dist/cdn/W2QTMTLL.js +2 -0
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/{AWF4R7WL.js → WWIRRYDD.js} +1 -1
- package/dist/cdn/{XW4PBQNW.js → X6QMN2HV.js} +1 -1
- package/dist/cdn/XKOKJQQD.js +2 -0
- package/dist/cdn/{LRNADJJG.js → XMV5A2VE.js} +2 -2
- package/dist/cdn/XUL3AOTB.js +2 -0
- package/dist/cdn/{IPM2XKST.js → XVK4ONRA.js} +1 -1
- package/dist/cdn/{QOOBNATX.js → XWLP2CHH.js} +1 -1
- package/dist/cdn/Y6KFUUWA.js +2 -0
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/YEGRLOUM.js +2 -0
- package/dist/cdn/{PAIRUVLU.js → YEK7BIRE.js} +1 -1
- package/dist/cdn/{XE3FKQFA.js → YS73YUW5.js} +1 -1
- package/dist/cdn/{WNKDEOFZ.js → ZALJA7E5.js} +1 -1
- package/dist/cdn/{6XTKJ7DO.js → ZCAHK6VZ.js} +1 -1
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/{FDXE5JLT.js → ZUIZRQUG.js} +1 -1
- package/dist/cdn/{CLXVAIQX.js → ZYK5XBZK.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 +2 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +8 -8
- 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 +37 -37
- package/dist/chunks/box-plot-model.js +10 -10
- package/dist/chunks/chart-model.js +173 -141
- 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 +27 -27
- package/dist/chunks/data-labels-symbol.js +39 -24
- package/dist/chunks/data-labels-visibility.js +22 -22
- package/dist/chunks/data.js +68 -68
- package/dist/chunks/gauge-model.js +16 -16
- package/dist/chunks/generate-x-axis-title.js +9 -9
- package/dist/chunks/heat-chart-model.js +76 -47
- package/dist/chunks/histogram-data.js +15 -15
- package/dist/chunks/histogram-model.js +5 -5
- package/dist/chunks/index.js +85 -84
- package/dist/chunks/index2.js +5926 -5735
- package/dist/chunks/index3.js +32 -29
- package/dist/chunks/index4.js +252 -75
- package/dist/chunks/line-chart-model.js +2 -2
- package/dist/chunks/model-setter.js +15 -14
- 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 +20 -20
- package/dist/chunks/negative-values-stacked-to-baseline.js +3 -3
- package/dist/chunks/pie-chart-data.js +48 -42
- package/dist/chunks/pie-chart-model.js +171 -158
- package/dist/chunks/radar-chart-model.js +2 -2
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +73 -0
- package/dist/chunks/scatterplot-model.js +15 -15
- package/dist/chunks/serial-chart-data.js +891 -756
- package/dist/chunks/serial-chart-model.js +107 -93
- package/dist/chunks/series-length.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +17 -13
- package/dist/chunks/type-guards2.js +24 -20
- package/dist/chunks/type-guards3.js +1 -1
- package/dist/chunks/utils.js +79 -68
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +632 -492
- package/dist/chunks/x-bounds.js +17 -17
- package/dist/components/arcgis-chart/customElement.d.ts +178 -148
- package/dist/components/arcgis-chart/customElement.js +8259 -8184
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +15 -15
- 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 +28 -28
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +7 -10
- 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 +16 -16
- 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 +25 -25
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-guide/customElement.js +6 -6
- 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-data/customElement.js +63 -75
- 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 +28 -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 +1 -1
- 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 +36 -38
- 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-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 +10 -13
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -22
- 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 +2 -2
- 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 +66 -70
- package/dist/index.js +457 -450
- package/dist/json-schema/index.d.ts +162 -2
- 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 +22 -22
- 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/serial-chart-model/serial-chart-model.d.ts +15 -0
- package/dist/model/shared/type-guards.d.ts +7 -0
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/data-source.d.ts +6 -1
- 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 +16 -2
- package/dist/utils/chart-config/converter/index.js +17 -17
- package/dist/utils/chart-config/utils/index.d.ts +35 -0
- 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/data/index.d.ts +14 -10
- package/dist/utils/defaults/index.d.ts +5 -3
- package/dist/utils/defaults/interfaces.d.ts +1 -1
- 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 +17 -1
- package/dist/utils/layer/query-parser/index.d.ts +4 -3
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +7 -8
- package/dist/cdn/23YH7MTF.js +0 -2
- package/dist/cdn/26FWESH3.js +0 -102
- package/dist/cdn/2K4ODNJ4.js +0 -2
- package/dist/cdn/3XHZ677O.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/5FMEOIBS.js +0 -3
- package/dist/cdn/5XTB2INB.js +0 -2
- package/dist/cdn/5YJNENER.js +0 -2
- package/dist/cdn/74JAZF7U.js +0 -2
- package/dist/cdn/7CN6J33C.js +0 -2
- package/dist/cdn/7HIZH35G.js +0 -2
- package/dist/cdn/A5GIBV5W.js +0 -2
- package/dist/cdn/BBURKBKE.js +0 -2
- package/dist/cdn/CCR46UHB.js +0 -2
- package/dist/cdn/CJPEW4LJ.js +0 -142
- package/dist/cdn/CRFJ2GGS.js +0 -2
- package/dist/cdn/CXQOEN77.js +0 -2
- package/dist/cdn/DYC3Q36R.js +0 -2
- package/dist/cdn/E43KEVHT.js +0 -2
- package/dist/cdn/EXTKNE2L.js +0 -2
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/F7Y6EWWB.js +0 -2
- package/dist/cdn/G5HVFOIO.js +0 -2
- package/dist/cdn/G7TRU7JI.js +0 -2
- package/dist/cdn/GL3IXVRN.js +0 -2
- package/dist/cdn/GLJWUZHK.js +0 -2
- package/dist/cdn/HCV34H6X.js +0 -2
- package/dist/cdn/IUFXFWXH.js +0 -2
- package/dist/cdn/JHYH555K.js +0 -2
- package/dist/cdn/JNNB2DIA.js +0 -2
- package/dist/cdn/JVHJMPFE.js +0 -2
- package/dist/cdn/K5MXTTSL.js +0 -2
- package/dist/cdn/KI4HS3AM.js +0 -2
- package/dist/cdn/KVGEY3IQ.js +0 -2
- package/dist/cdn/LWODMEOP.js +0 -2
- package/dist/cdn/LYZGRYQV.js +0 -2
- package/dist/cdn/MF3FGXHI.js +0 -2
- package/dist/cdn/MUPHTV55.js +0 -2
- package/dist/cdn/N5ERJZPG.js +0 -2
- package/dist/cdn/NGPMU4T3.js +0 -2
- package/dist/cdn/NJCZ6UTM.js +0 -2
- package/dist/cdn/NMB6TWC2.js +0 -2
- package/dist/cdn/NNNTZU5J.js +0 -2
- package/dist/cdn/NPXBPNXE.js +0 -2
- package/dist/cdn/NS3THLCD.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/OLV642SY.js +0 -4
- package/dist/cdn/P2NPQAJ3.js +0 -2
- package/dist/cdn/PC7IKOIB.js +0 -2
- package/dist/cdn/PJUAU42S.js +0 -2
- package/dist/cdn/PK5XIIZY.js +0 -2
- package/dist/cdn/PY5Q3V6E.js +0 -2
- package/dist/cdn/PZGIXDMC.js +0 -2
- package/dist/cdn/RMYZGOBM.js +0 -2
- package/dist/cdn/SVLEJ3HK.js +0 -2
- package/dist/cdn/TAI4RIWT.js +0 -2
- package/dist/cdn/TXSWWAOF.js +0 -2
- package/dist/cdn/TZB57XD4.js +0 -2
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/UAJGYF4S.js +0 -2
- package/dist/cdn/UT6G7RV7.js +0 -2
- package/dist/cdn/VOTZAPI3.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/cdn/YF7MNTCU.js +0 -58
- package/dist/cdn/YRBE7MBU.js +0 -2
- package/dist/cdn/YRFZPSCC.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/cdn/Z2CVF7CH.js +0 -2
- package/dist/cdn/ZRZEKOEF.js +0 -2
- package/dist/chunks/bar-chart-series.js +0 -15
- package/dist/chunks/time-zone.js +0 -38
- package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
- /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
package/dist/chunks/x-bounds.js
CHANGED
|
@@ -4,12 +4,12 @@ import { cloneDeep as h } from "lodash-es";
|
|
|
4
4
|
import { G as g } from "./common.js";
|
|
5
5
|
import { i as c } from "./rest-js-object-literals.js";
|
|
6
6
|
import { u as x } from "./chart-object-literals.js";
|
|
7
|
-
import {
|
|
7
|
+
import { ag as S, J as L, T as b, _ as T } from "./index.js";
|
|
8
8
|
import { M as C } from "./index2.js";
|
|
9
9
|
import { q as X, p as B } from "./index5.js";
|
|
10
10
|
import { m as a, C as f } from "./model-setter.js";
|
|
11
11
|
import { e as M, f as A } from "./utils2.js";
|
|
12
|
-
import {
|
|
12
|
+
import { l as p, s as y, h as O } from "./utils.js";
|
|
13
13
|
const P = (t) => {
|
|
14
14
|
for (const e of t.axes ?? [])
|
|
15
15
|
for (const i of e?.guides ?? [])
|
|
@@ -57,22 +57,22 @@ const V = (t) => {
|
|
|
57
57
|
}, $ = (t) => {
|
|
58
58
|
const { name: e, axis: i, index: s } = d(t);
|
|
59
59
|
i?.guides?.[s] !== void 0 && (i.guides[s].name = e);
|
|
60
|
-
},
|
|
60
|
+
}, N = (t) => {
|
|
61
61
|
const { axis: e, index: i } = d(t);
|
|
62
62
|
return e?.guides?.[i]?.label?.text;
|
|
63
|
-
},
|
|
63
|
+
}, I = (t) => {
|
|
64
64
|
const { labelText: e, axis: i, index: s } = d(t), o = i?.guides?.[s]?.label ?? S(e, L(b.GuideLabel), b.GuideLabel);
|
|
65
65
|
i?.guides?.[s] !== void 0 && (i.guides[s].label = { ...o, text: e });
|
|
66
66
|
}, q = (t) => {
|
|
67
67
|
const { axis: e, index: i } = d(t);
|
|
68
68
|
return e?.guides?.[i]?.above ?? !1;
|
|
69
|
-
},
|
|
69
|
+
}, J = (t) => {
|
|
70
70
|
const { above: e, axis: i, index: s } = d(t);
|
|
71
71
|
i?.guides?.[s] !== void 0 && (i.guides[s].above = e);
|
|
72
|
-
},
|
|
72
|
+
}, U = (t) => {
|
|
73
73
|
const { axis: e, index: i } = d(t);
|
|
74
74
|
return e?.guides?.[i]?.style;
|
|
75
|
-
},
|
|
75
|
+
}, Y = (t) => {
|
|
76
76
|
const { style: e, axis: i, index: s } = d(t);
|
|
77
77
|
i?.guides?.[s] !== void 0 && (i.guides[s].style = e);
|
|
78
78
|
}, Ge = (t) => {
|
|
@@ -97,10 +97,10 @@ const V = (t) => {
|
|
|
97
97
|
const { reverseColor: e, axis: i, index: s } = d(t);
|
|
98
98
|
i?.guides?.[s] !== void 0 && (i.guides[s].tooltipReverseColor = e);
|
|
99
99
|
};
|
|
100
|
-
var
|
|
101
|
-
for (var o =
|
|
100
|
+
var K = Object.defineProperty, Q = Object.getOwnPropertyDescriptor, u = (t, e, i, s) => {
|
|
101
|
+
for (var o = Q(e, i), n = t.length - 1, r; n >= 0; n--)
|
|
102
102
|
(r = t[n]) && (o = r(e, i, o) || o);
|
|
103
|
-
return o &&
|
|
103
|
+
return o && K(e, i, o), o;
|
|
104
104
|
};
|
|
105
105
|
class l extends _ {
|
|
106
106
|
/**
|
|
@@ -167,10 +167,10 @@ class l extends _ {
|
|
|
167
167
|
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
168
168
|
*/
|
|
169
169
|
getGuideLabelText(e, i) {
|
|
170
|
-
return
|
|
170
|
+
return N({ config: this._config, index: e, orientation: i });
|
|
171
171
|
}
|
|
172
172
|
setGuideLabelText(e, i, s) {
|
|
173
|
-
|
|
173
|
+
I({ labelText: e, config: this._config, index: i, orientation: s });
|
|
174
174
|
}
|
|
175
175
|
/**
|
|
176
176
|
* Gets whether the guide should be rendered above the other chart elements.
|
|
@@ -182,7 +182,7 @@ class l extends _ {
|
|
|
182
182
|
return q({ config: this._config, index: e, orientation: i });
|
|
183
183
|
}
|
|
184
184
|
setGuideAbove(e, i, s) {
|
|
185
|
-
|
|
185
|
+
J({ above: e, config: this._config, index: i, orientation: s });
|
|
186
186
|
}
|
|
187
187
|
/**
|
|
188
188
|
* Gets the guide style.
|
|
@@ -191,10 +191,10 @@ class l extends _ {
|
|
|
191
191
|
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
192
192
|
*/
|
|
193
193
|
getGuideStyle(e, i) {
|
|
194
|
-
return
|
|
194
|
+
return U({ config: this._config, index: e, orientation: i });
|
|
195
195
|
}
|
|
196
196
|
setGuideStyle(e, i, s) {
|
|
197
|
-
|
|
197
|
+
Y({ style: e, config: this._config, index: i, orientation: s });
|
|
198
198
|
}
|
|
199
199
|
/**
|
|
200
200
|
* Gets whether the tooltip text color should be reversed for a guide.
|
|
@@ -249,10 +249,10 @@ class he extends f {
|
|
|
249
249
|
});
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
|
-
var
|
|
252
|
+
var Z = Object.defineProperty, k = Object.getOwnPropertyDescriptor, ee = (t, e, i, s) => {
|
|
253
253
|
for (var o = k(e, i), n = t.length - 1, r; n >= 0; n--)
|
|
254
254
|
(r = t[n]) && (o = r(e, i, o) || o);
|
|
255
|
-
return o &&
|
|
255
|
+
return o && Z(e, i, o), o;
|
|
256
256
|
};
|
|
257
257
|
const ie = (t) => p({ config: t, axisIndex: 0, isMax: !0 }), te = (t, e) => {
|
|
258
258
|
y({ config: t, value: e, axisIndex: 0, isMax: !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,6 +603,106 @@ 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 the user action behavior for the chart.
|
|
610
|
+
*
|
|
611
|
+
* - `monoSelection`: Select a single data point or series, new selection replaces the previous one.
|
|
612
|
+
* - `multiSelection`: Select multiple data points or series, new selection adds to the previous one.
|
|
613
|
+
* - `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.
|
|
614
|
+
* - `none`: No action is performed on user interaction.
|
|
615
|
+
* - `zoom`: Zoom into a specific area of the chart.
|
|
616
|
+
*
|
|
617
|
+
* **Note**: Not applicable to gauges.
|
|
618
|
+
*/
|
|
619
|
+
accessor actionMode: ActionModes | undefined;
|
|
620
|
+
/**
|
|
621
|
+
* Whether to allow the object id to be used as a statistic other than `Count`.
|
|
622
|
+
*
|
|
623
|
+
* @default false
|
|
624
|
+
*/
|
|
625
|
+
accessor allowUsingObjectIdStat: boolean;
|
|
626
|
+
/**
|
|
627
|
+
* Enable animation on the chart.
|
|
628
|
+
*
|
|
629
|
+
* @default false
|
|
630
|
+
*/
|
|
631
|
+
accessor animationEnabled: boolean | undefined;
|
|
632
|
+
/**
|
|
633
|
+
* 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/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).
|
|
634
|
+
*
|
|
635
|
+
* @since 5.0
|
|
636
|
+
*/
|
|
637
|
+
accessor aria: DOMContainerAria | undefined;
|
|
638
|
+
/**
|
|
639
|
+
* 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.
|
|
640
|
+
*
|
|
641
|
+
* @default false
|
|
642
|
+
* @since 5.0
|
|
643
|
+
*/
|
|
644
|
+
accessor autoDestroyDisabled: boolean;
|
|
645
|
+
/**
|
|
646
|
+
* Auto disposes the chart when a new one is created in the same container.
|
|
647
|
+
*
|
|
648
|
+
* @deprecated since 5.0. Use [autoDestroyDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#autoDestroyDisabled) instead.
|
|
649
|
+
* @default false
|
|
650
|
+
*/
|
|
651
|
+
accessor autoDisposeChart: boolean;
|
|
652
|
+
/**
|
|
653
|
+
* When `true`, the data label text color is automatically adjusted for readability based on its background.
|
|
654
|
+
* 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.
|
|
655
|
+
*
|
|
656
|
+
* **Note**: Applicable to heat charts only.
|
|
657
|
+
*
|
|
658
|
+
* @default false
|
|
659
|
+
*/
|
|
660
|
+
accessor autoInverseDataLabelTextColor: boolean;
|
|
661
|
+
/**
|
|
662
|
+
* Allows picking the Calcite CSS variables to use when applying a Calcite theme.
|
|
663
|
+
*
|
|
664
|
+
* By default the following variables are used:
|
|
665
|
+
* - background: `--calcite-color-foreground-1`
|
|
666
|
+
* - text: `--calcite-color-text-1`
|
|
667
|
+
* - line: `--calcite-color-border-1`
|
|
668
|
+
* - secondary line: `--calcite-color-text-3`
|
|
669
|
+
* - spinner: `--calcite-color-brand-hover`
|
|
670
|
+
*
|
|
671
|
+
* The charts colors are overridden by those associated to those CSS variables, but only if they have not been
|
|
672
|
+
* customized beforehand.
|
|
673
|
+
*
|
|
674
|
+
* @since 5.1
|
|
675
|
+
*/
|
|
676
|
+
accessor calciteThemingCSSVariables: CalciteThemeCSSVariables;
|
|
677
|
+
/**
|
|
678
|
+
* The index of the chart to be rendered from the layer. Must be used in conjunction with the `layerItemId` or `layer` property.
|
|
679
|
+
*
|
|
680
|
+
* If a `layer` or `layerItemId` is set without `chartIndex`, the first chart in the layer will be rendered.
|
|
681
|
+
*
|
|
682
|
+
* If the `chartIndex` is out of bounds, the first chart in the layer will be rendered and a warning event will be emitted.
|
|
683
|
+
*
|
|
684
|
+
* @example
|
|
685
|
+
* ```html
|
|
686
|
+
* <arcgis-chart layer-item-id="8871626e970a4f3e9d6113ec63a92f2f" chart-index="2"></arcgis-chart>
|
|
687
|
+
* ```
|
|
688
|
+
*/
|
|
689
|
+
accessor chartIndex: number | undefined;
|
|
690
|
+
/**
|
|
691
|
+
* Customize the maximum number of series allowed on the chart.
|
|
692
|
+
*
|
|
693
|
+
* The chart's behavior once that limit is reached can be adjusted through the `behaviorAfterLimit` nested property, to either reject the creation
|
|
694
|
+
* or update of the chart, or render the elements up to the given limits.
|
|
695
|
+
*
|
|
696
|
+
* **Note**: Not applicable to gauges.
|
|
697
|
+
*/
|
|
698
|
+
accessor chartLimits: ChartElementLimit | undefined;
|
|
699
|
+
/**
|
|
700
|
+
* Lifecycle function executed after the data has been processed and before the chart renders.
|
|
701
|
+
* Can be used to alter the model from information extracted from the data.
|
|
702
|
+
*
|
|
703
|
+
* **Note**: Applicable to gauges and pie charts only.
|
|
704
|
+
*/
|
|
705
|
+
accessor chartWillRender: PreRenderCallback | undefined;
|
|
678
706
|
/**
|
|
679
707
|
* Whether to use features uniquely designed for a chart currently being configured by a user via the UI.
|
|
680
708
|
* When true, the slotted charts action bar will expose an Edit chart action, surfaces relevant error states,
|
|
@@ -748,7 +776,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
748
776
|
/**
|
|
749
777
|
* The index of the feature to render when using a feature based gauge.
|
|
750
778
|
*
|
|
751
|
-
* **Note**:
|
|
779
|
+
* **Note**: Applicable to gauges only.
|
|
752
780
|
*
|
|
753
781
|
* @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
782
|
*/
|
|
@@ -788,7 +816,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
788
816
|
accessor guideTooltipFormatter: GuideTooltipFormatCallback | undefined;
|
|
789
817
|
/**
|
|
790
818
|
* 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).
|
|
819
|
+
* 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
820
|
*
|
|
793
821
|
* **Note**: Not applicable to gauges.
|
|
794
822
|
*
|
|
@@ -824,7 +852,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
824
852
|
* When this property is set to `true`, the dataset will keep these gaps instead of filling them with 0s.
|
|
825
853
|
*
|
|
826
854
|
* 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
|
|
855
|
+
* will be populated with 0s.
|
|
828
856
|
*
|
|
829
857
|
* @default false
|
|
830
858
|
* @since 5.1
|
|
@@ -882,9 +910,11 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
882
910
|
*/
|
|
883
911
|
accessor layerFilterChangePolicy: LayerFilterChangePolicy;
|
|
884
912
|
/**
|
|
885
|
-
* Layer item ID associated with the chart to be rendered. Can be used in conjunction with the `chartIndex` property.
|
|
913
|
+
* 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.
|
|
886
914
|
*
|
|
887
|
-
*
|
|
915
|
+
* 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`.
|
|
916
|
+
*
|
|
917
|
+
* Supported layers include: `FeatureLayer`, `SubtypeSublayer`, `ImageryLayer`, `ImageryTileLayer` and `WCSLayer`.
|
|
888
918
|
*
|
|
889
919
|
* @example
|
|
890
920
|
* ```html
|
|
@@ -893,13 +923,11 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
893
923
|
*/
|
|
894
924
|
accessor layerItemId: string | undefined;
|
|
895
925
|
/**
|
|
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.
|
|
926
|
+
* Allows the chart to update automatically when the layer's renderer changes. Applies when the color match is enabled.
|
|
901
927
|
*
|
|
902
928
|
* **Note**: If the property is set to `ignore` the chart will still use the layer's renderer information when the data is updated.
|
|
929
|
+
*
|
|
930
|
+
* @deprecated since 5.1. Won't be replaced.
|
|
903
931
|
* @default "refresh"
|
|
904
932
|
*/
|
|
905
933
|
accessor layerRendererChangePolicy: LayerRendererChangePolicy;
|
|
@@ -913,7 +941,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
913
941
|
accessor legendPosition: WebChartLegendPositions | undefined;
|
|
914
942
|
/**
|
|
915
943
|
* 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
|
|
944
|
+
* 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
945
|
*
|
|
918
946
|
* **Note**: Applicable to pie charts only.
|
|
919
947
|
*/
|
|
@@ -934,12 +962,12 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
934
962
|
* @example
|
|
935
963
|
* ```ts
|
|
936
964
|
* // Set a blue curtain and a red spinner for the loader animation
|
|
937
|
-
*
|
|
965
|
+
* chartComponent.loaderColors = { curtainColor: [30, 144, 255, 255], spinnerColor: [255, 0, 0, 255] };
|
|
938
966
|
* ```
|
|
939
967
|
*/
|
|
940
968
|
accessor loaderColors: LoaderColors | undefined;
|
|
941
969
|
/** Custom message overrides for the chart's strings. */
|
|
942
|
-
accessor messageOverrides: {
|
|
970
|
+
accessor messageOverrides: {
|
|
943
971
|
utilsStrings?: {
|
|
944
972
|
chartType?: {
|
|
945
973
|
chart?: string | undefined;
|
|
@@ -1206,7 +1234,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1206
1234
|
"Unable to load file: %1"?: string | undefined;
|
|
1207
1235
|
"Invalid date"?: string | undefined;
|
|
1208
1236
|
} | undefined;
|
|
1209
|
-
};
|
|
1237
|
+
} & { chartNotFoundWarning?: string | undefined; };
|
|
1210
1238
|
/**
|
|
1211
1239
|
* Provides an API to interact with the chart's configuration.
|
|
1212
1240
|
*
|
|
@@ -1238,19 +1266,19 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1238
1266
|
accessor queueChartCreation: boolean | undefined;
|
|
1239
1267
|
/**
|
|
1240
1268
|
* When `true`, the chart's `dataItems` associated with empty (no value) categories (from only a `Count` aggregation)
|
|
1241
|
-
* will be populated with 0s
|
|
1269
|
+
* will be populated with 0s.
|
|
1242
1270
|
*
|
|
1243
1271
|
* @deprecated since 5.0. Use [hideZeroCountCategories](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#hideZeroCountCategories) instead.
|
|
1244
1272
|
* @default false
|
|
1245
1273
|
*/
|
|
1246
1274
|
accessor replaceNoValueCategoryWithZero: boolean | undefined;
|
|
1247
1275
|
/**
|
|
1248
|
-
* When `true`, the features extent will be returned through the
|
|
1276
|
+
* 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
1277
|
* Applies only to:
|
|
1250
1278
|
* - Charts using an aggregation.
|
|
1251
1279
|
* - Data source using a feature layer compatible with envelope aggregation.
|
|
1252
1280
|
*
|
|
1253
|
-
* The extent (
|
|
1281
|
+
* The extent (IExtent) is returned through the property [featuresExtentField](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/index/#featuresExtentField).
|
|
1254
1282
|
*
|
|
1255
1283
|
* **Note**: Not applicable to gauges.
|
|
1256
1284
|
*
|
|
@@ -1277,7 +1305,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1277
1305
|
/**
|
|
1278
1306
|
* When `true`, the chart is rotated 90 degrees so that the x-axis becomes vertical and the y-axis becomes horizontal.
|
|
1279
1307
|
*
|
|
1280
|
-
* **Note**: Applicable to bar chart, line chart, combo bar
|
|
1308
|
+
* **Note**: Applicable to bar chart, line chart, combo bar line chart and box plot.
|
|
1281
1309
|
*
|
|
1282
1310
|
* @default false
|
|
1283
1311
|
*/
|
|
@@ -1285,7 +1313,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1285
1313
|
/**
|
|
1286
1314
|
* When `true`, the chart is rotated 90 degrees so that the x-axis becomes vertical and the y-axis becomes horizontal.
|
|
1287
1315
|
*
|
|
1288
|
-
* **Note**: Applicable to bar chart, line chart, combo bar
|
|
1316
|
+
* **Note**: Applicable to bar chart, line chart, combo bar line chart and box plot.
|
|
1289
1317
|
*
|
|
1290
1318
|
* @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
1319
|
* @default false
|
|
@@ -1296,7 +1324,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1296
1324
|
*
|
|
1297
1325
|
* @example
|
|
1298
1326
|
* ```ts
|
|
1299
|
-
*
|
|
1327
|
+
* chartComponent.runtimeDataFilters = {
|
|
1300
1328
|
* where: "FieldValue = 9",
|
|
1301
1329
|
* };
|
|
1302
1330
|
* ```
|
|
@@ -1304,9 +1332,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1304
1332
|
accessor runtimeDataFilters: WebChartDataFilters | undefined;
|
|
1305
1333
|
/**
|
|
1306
1334
|
* 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
1335
|
*
|
|
1309
|
-
* **Note**: Appliable to bar charts, line charts, combo bar line charts
|
|
1336
|
+
* **Note**: Appliable to bar charts, line charts, combo bar line charts with dual axes.
|
|
1310
1337
|
*/
|
|
1311
1338
|
accessor secondaryYAxisLabelFormatter: AxisLabelFormatCallback | undefined;
|
|
1312
1339
|
/**
|
|
@@ -1316,8 +1343,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1316
1343
|
*/
|
|
1317
1344
|
accessor selectionData: SelectionData | undefined;
|
|
1318
1345
|
/**
|
|
1319
|
-
* Selection manager object used to synchronize the selections with the chart when
|
|
1320
|
-
* It has precedence over the layer view's [SelectionManager](
|
|
1346
|
+
* 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`.
|
|
1347
|
+
* It has precedence over the layer view's [SelectionManager](/references/core/views/SelectionManager/) when both are available.
|
|
1321
1348
|
*
|
|
1322
1349
|
* @since 5.1
|
|
1323
1350
|
*/
|
|
@@ -1329,9 +1356,9 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1329
1356
|
*
|
|
1330
1357
|
* **Note**: Not applicable to gauges.
|
|
1331
1358
|
*
|
|
1332
|
-
*
|
|
1359
|
+
* @example
|
|
1333
1360
|
* ```ts
|
|
1334
|
-
*
|
|
1361
|
+
* chartComponent.selectionTheme = {
|
|
1335
1362
|
* "selectedElementsTheme": {
|
|
1336
1363
|
* "transformation": {
|
|
1337
1364
|
* "scale": 1.2
|
|
@@ -1349,7 +1376,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1349
1376
|
/**
|
|
1350
1377
|
* 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
1378
|
*
|
|
1352
|
-
* **Note**: Only applicable to charts using the temporal binning feature (bar chart, line chart, combo bar
|
|
1379
|
+
* **Note**: Only applicable to charts using the temporal binning feature (bar chart, line chart, combo bar line chart, radar chart).
|
|
1353
1380
|
*
|
|
1354
1381
|
* @default false
|
|
1355
1382
|
*/
|
|
@@ -1358,7 +1385,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1358
1385
|
* Show the series on the chart even if it doesn't have data (i.e. empty)
|
|
1359
1386
|
*
|
|
1360
1387
|
* 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).
|
|
1388
|
+
* 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
1389
|
*
|
|
1363
1390
|
* **Note**: Not applicable to gauges.
|
|
1364
1391
|
*
|
|
@@ -1405,14 +1432,14 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1405
1432
|
*/
|
|
1406
1433
|
accessor syncSelection: boolean;
|
|
1407
1434
|
/**
|
|
1408
|
-
* Determines whether the chart's selection should be synchronized with either the chart's
|
|
1435
|
+
* 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
1436
|
*
|
|
1410
1437
|
* @deprecated since 5.1. Use [syncViewSelection](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#syncViewSelection) prop instead.
|
|
1411
1438
|
* @default "disabled"
|
|
1412
1439
|
*/
|
|
1413
1440
|
accessor syncSelectionsBetweenChartAndLayerViewPolicy: SyncSelectionsBetweenChartAndLayerViewPolicy;
|
|
1414
1441
|
/**
|
|
1415
|
-
* Determines whether the chart's selection should be synchronized with either the chart's
|
|
1442
|
+
* 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
1443
|
*
|
|
1417
1444
|
* @default false
|
|
1418
1445
|
* @since 5.1
|
|
@@ -1428,7 +1455,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1428
1455
|
*/
|
|
1429
1456
|
accessor syncViewTimeExtent: boolean;
|
|
1430
1457
|
/**
|
|
1431
|
-
* Whether the chart's data should be in sync with the view's
|
|
1458
|
+
* Whether the chart's data should be in sync with the view's [timeZone](/references/core/views/MapView/#timeZone).
|
|
1459
|
+
*
|
|
1432
1460
|
* **Note**: This applies only to charts supporting temporal data. Additionally if the data is binned, it applies only if the layer has the
|
|
1433
1461
|
* 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
1462
|
*
|
|
@@ -1437,7 +1465,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1437
1465
|
*/
|
|
1438
1466
|
accessor syncViewTimeZone: boolean;
|
|
1439
1467
|
/**
|
|
1440
|
-
* List of chart types to include from syncing the view's
|
|
1468
|
+
* 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.
|
|
1469
|
+
*
|
|
1441
1470
|
* **Note**: This applies only to charts supporting temporal data. Additionally if the data is binned, it applies only if the layer has the
|
|
1442
1471
|
* 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
1472
|
*
|
|
@@ -1451,10 +1480,6 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1451
1480
|
* ```ts
|
|
1452
1481
|
* chartComponent.timeZone = "America/Los_Angeles";
|
|
1453
1482
|
* ```
|
|
1454
|
-
* @example
|
|
1455
|
-
* ```html
|
|
1456
|
-
* <arcgis-chart time-zone="America/Los_Angeles"></arcgis-chart>
|
|
1457
|
-
* ```
|
|
1458
1483
|
*/
|
|
1459
1484
|
accessor timeZone: MapView["timeZone"] | undefined;
|
|
1460
1485
|
/**
|
|
@@ -1470,7 +1495,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1470
1495
|
*
|
|
1471
1496
|
* @example
|
|
1472
1497
|
* ```ts
|
|
1473
|
-
*
|
|
1498
|
+
* chartComponent.tooltipFormatter = ({ statValue }) => {
|
|
1474
1499
|
* return `<b>Custom tooltip</b> for ${statValue}`;
|
|
1475
1500
|
* };
|
|
1476
1501
|
* ```
|
|
@@ -1564,7 +1589,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1564
1589
|
* **Note**: The chart types supported by this method are:
|
|
1565
1590
|
* - Bar chart
|
|
1566
1591
|
* - Box plot
|
|
1567
|
-
* - Combo bar
|
|
1592
|
+
* - Combo bar line chart
|
|
1568
1593
|
* - Heat chart
|
|
1569
1594
|
* - Histogram
|
|
1570
1595
|
* - Line chart
|
|
@@ -1575,7 +1600,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1575
1600
|
exportAsCSV(options?: CSVOptions): Promise<void>;
|
|
1576
1601
|
/**
|
|
1577
1602
|
* Exports the current chart as an image. Default format is `png`.
|
|
1578
|
-
* - Alternative formats supported are: `jpeg` and `svg`.
|
|
1603
|
+
* - Alternative formats supported are: `jpeg`, `jpg`, `webp`, and `svg`.
|
|
1604
|
+
* - When WebP format is used on Safari, it will fallback to PNG rendering.
|
|
1579
1605
|
*
|
|
1580
1606
|
* @param format
|
|
1581
1607
|
*/
|
|
@@ -1636,7 +1662,11 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1636
1662
|
readonly arcgisDataProcessComplete: import("@arcgis/lumina").TargetedEvent<this, DataProcessCompletePayload>;
|
|
1637
1663
|
/** Event triggered when an error occurred while fetching of processing the data for the chart. */
|
|
1638
1664
|
readonly arcgisDataProcessError: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
1639
|
-
/**
|
|
1665
|
+
/**
|
|
1666
|
+
* Event triggered when an invalid configuration is detected.
|
|
1667
|
+
*
|
|
1668
|
+
* @deprecated since 5.1. Won't be replaced.
|
|
1669
|
+
*/
|
|
1640
1670
|
readonly arcgisInvalidConfigWarningRaise: import("@arcgis/lumina").TargetedEvent<this, DataWarningObject>;
|
|
1641
1671
|
/** Event triggered once a legend item visibility has been changed. */
|
|
1642
1672
|
readonly arcgisLegendItemVisibilityChange: import("@arcgis/lumina").TargetedEvent<this, LegendItemVisibilityChangePayload>;
|