@arcgis/charts-components 6.0.0-next.2 → 6.0.0-next.20
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/{XAP5PIZ2.js → 23OBJJMY.js} +1 -1
- package/dist/cdn/2CNZDYOY.js +2 -0
- package/dist/cdn/2L3CFU7R.js +2 -0
- package/dist/cdn/{2R2K5DTZ.js → 2TVBBBFB.js} +1 -1
- package/dist/cdn/3D6A3FSY.js +2 -0
- package/dist/cdn/{VTUFKWMW.js → 3FAXIZDY.js} +1 -1
- package/dist/cdn/{6WVZUW3A.js → 3RJA6GU5.js} +1 -1
- package/dist/cdn/3RMCJLPQ.js +2 -0
- package/dist/cdn/{NOWRHZV7.js → 3RXZGLTX.js} +1 -1
- package/dist/cdn/{RKWSCI6H.js → 3XO5QWW2.js} +1 -1
- package/dist/cdn/{IS6WNL3S.js → 4AA4A62W.js} +1 -1
- package/dist/cdn/4DBZXMWZ.js +2 -0
- package/dist/cdn/{D4SDXCEK.js → 4HXGM3VX.js} +1 -1
- package/dist/cdn/4OC5GZ3M.js +4 -0
- package/dist/cdn/57ZRFAP5.js +2 -0
- package/dist/cdn/{TIKPLOJF.js → 5FLPMVDG.js} +1 -1
- package/dist/cdn/5VCVKGKW.js +2 -0
- package/dist/cdn/{Z4MPWA44.js → 5VG5RZKN.js} +1 -1
- package/dist/cdn/{MPSFMJZL.js → 6COGNLWU.js} +1 -1
- package/dist/cdn/6FLJN3FM.js +2 -0
- package/dist/cdn/{S6FQN6HR.js → 6YTUMBO6.js} +1 -1
- package/dist/cdn/73E367AZ.js +2 -0
- package/dist/cdn/74J2YHAH.js +2 -0
- package/dist/cdn/{RKRR2KKS.js → 7CHIKM2Y.js} +1 -1
- package/dist/cdn/7EH2KTOE.js +2 -0
- package/dist/cdn/{ICCD23OE.js → 7EO4DMRO.js} +1 -1
- package/dist/cdn/A5Y7SINJ.js +2 -0
- package/dist/cdn/{C27CFMVY.js → ABHDMXQ7.js} +1 -1
- package/dist/cdn/{KK445MLC.js → ANXI7X33.js} +1 -1
- package/dist/cdn/B2MNXOZC.js +2 -0
- package/dist/cdn/B3YDN37X.js +2 -0
- package/dist/cdn/BXUTY44W.js +2 -0
- package/dist/cdn/CCCVN47Z.js +2 -0
- package/dist/cdn/{HN7A4IOJ.js → CFC3MJF7.js} +1 -1
- package/dist/cdn/{RD2X624K.js → CNQNN4CB.js} +1 -1
- package/dist/cdn/{RANPMLRU.js → CPBCKPO3.js} +1 -1
- package/dist/cdn/CQU7SD5I.js +2 -0
- package/dist/cdn/CXZF73UW.js +2 -0
- package/dist/cdn/D26USL3R.js +2 -0
- package/dist/cdn/{OZSHGMU6.js → D7HVHYVY.js} +1 -1
- package/dist/cdn/DBCZ7X7L.js +2 -0
- package/dist/cdn/DHXZKTF6.js +4 -0
- package/dist/cdn/DO4L5IAM.js +2 -0
- package/dist/cdn/DQJZEIEB.js +2 -0
- package/dist/cdn/{5LR2NVD4.js → DYWTYNT4.js} +1 -1
- package/dist/cdn/EBNM4Q47.js +2 -0
- package/dist/cdn/EBVBQSUD.js +2 -0
- package/dist/cdn/{FGJPWWIL.js → EKWGPT5Y.js} +1 -1
- package/dist/cdn/{RY665VHB.js → EN4TKBF7.js} +1 -1
- package/dist/cdn/{YPTG2SNF.js → EXFLYGOA.js} +1 -1
- package/dist/cdn/F2AEPQP5.js +2 -0
- package/dist/cdn/F76PZBOK.js +2 -0
- package/dist/cdn/GFVKVWUY.js +2 -0
- package/dist/cdn/GQFD2BXB.js +2 -0
- package/dist/cdn/{SLZVSMMS.js → H32ZCMZI.js} +1 -1
- package/dist/cdn/HW5YPNRC.js +2 -0
- package/dist/cdn/HZSR2TZW.js +2 -0
- package/dist/cdn/{UCADTSTO.js → IJ4NLEMH.js} +1 -1
- package/dist/cdn/IQE6TEF7.js +2 -0
- package/dist/cdn/{OXNMXLJF.js → IVMUU655.js} +1 -1
- package/dist/cdn/{H5VCT3XP.js → IVX5JR6I.js} +1 -1
- package/dist/cdn/IYVGK242.js +4 -0
- package/dist/cdn/JNFER2G5.js +2 -0
- package/dist/cdn/{IHAADQBV.js → JP7ADCJN.js} +1 -1
- package/dist/cdn/{BXQLCRCF.js → JSIJJIJ2.js} +1 -1
- package/dist/cdn/JTQIRNPA.js +2 -0
- package/dist/cdn/JWZEPPGG.js +2 -0
- package/dist/cdn/KBUFMYZQ.js +2 -0
- package/dist/cdn/KDVRUUVP.js +2 -0
- package/dist/cdn/{GE5JXYB2.js → KEX2VV73.js} +1 -1
- package/dist/cdn/{ZXXFRYTC.js → KJ2WKS3E.js} +1 -1
- package/dist/cdn/KKAUA5I4.js +2 -0
- package/dist/cdn/KXU3XKM2.js +2 -0
- package/dist/cdn/{3CSWEOBS.js → KZMHSQD6.js} +1 -1
- package/dist/cdn/L5HPMS5V.js +2 -0
- package/dist/cdn/L5U7LDC3.js +2 -0
- package/dist/cdn/{FTEOTYTH.js → L5YQURIU.js} +1 -1
- package/dist/cdn/L6BGXMMO.js +2 -0
- package/dist/cdn/{YR2F7I7M.js → LLQZNNEC.js} +1 -1
- package/dist/cdn/{QNK2HVPS.js → LRZAD7VO.js} +1 -1
- package/dist/cdn/{PIGINE4M.js → M7MSRLEE.js} +1 -1
- package/dist/cdn/MG4XERCZ.js +2 -0
- package/dist/cdn/MIBOTYKP.js +2 -0
- package/dist/cdn/{2HAZBMAW.js → MMZZZC7O.js} +1 -1
- package/dist/cdn/MU55JIYV.js +2 -0
- package/dist/cdn/MVHLKL7W.js +2 -0
- package/dist/cdn/N35DJP7H.js +2 -0
- package/dist/cdn/{ZH7H3YEB.js → N3JX6GNR.js} +27 -27
- package/dist/cdn/{DGDPNLJ6.js → N5QBW4DK.js} +1 -1
- package/dist/cdn/{ADIHYDO7.js → NHKIOS73.js} +1 -1
- package/dist/cdn/NSHVMSOK.js +2 -0
- package/dist/cdn/NWPO6T3D.js +2 -0
- package/dist/cdn/NX3KK4IQ.js +2 -0
- package/dist/cdn/{PME6JKVL.js → NXKWU3DD.js} +1 -1
- package/dist/cdn/OMMWNI5R.js +2 -0
- package/dist/cdn/OZNRLDTD.js +2 -0
- package/dist/cdn/{KBGVSXMS.js → PBFYIRZY.js} +1 -1
- package/dist/cdn/{7YQKCXR4.js → PISJX2S5.js} +1 -1
- package/dist/cdn/Q2SHE4BB.js +2 -0
- package/dist/cdn/{QKV23ZMN.js → Q3KUGWEO.js} +1 -1
- package/dist/cdn/QB5X2DNO.js +2 -0
- package/dist/cdn/{3B2AC6Y3.js → QGCRMKE5.js} +1 -1
- package/dist/cdn/{ZHWH7DPA.js → QJZFHN2U.js} +1 -1
- package/dist/cdn/{ZAXERTST.js → QKRQPIDL.js} +1 -1
- package/dist/cdn/QUOBWCF5.js +2 -0
- package/dist/cdn/R6MIM2PY.js +2 -0
- package/dist/cdn/RDAE2OL3.js +2 -0
- package/dist/cdn/{T4YC5GXW.js → RWTBVIDB.js} +1 -1
- package/dist/cdn/{4BAPCH7E.js → SNAWWD5A.js} +1 -1
- package/dist/cdn/{2CNCTLOI.js → ST6XSWHI.js} +1 -1
- package/dist/cdn/{RPUVDZVR.js → SZWXYTUV.js} +1 -1
- package/dist/cdn/T35SJEP4.js +2 -0
- package/dist/cdn/TRTYIA2G.js +2 -0
- package/dist/cdn/U2MXHNZR.js +2 -0
- package/dist/cdn/UIZELEJD.js +2 -0
- package/dist/cdn/UNFDJW5A.js +2 -0
- package/dist/cdn/{P3D2YICV.js → UXCVVLXG.js} +1 -1
- package/dist/cdn/{GYILUQLN.js → VARG4EGS.js} +1 -1
- package/dist/cdn/{B6EROAY4.js → VJWRWNXG.js} +1 -1
- package/dist/cdn/{INYMF2BQ.js → VKMVMHTT.js} +1 -1
- package/dist/cdn/VTCPVV2K.js +2 -0
- package/dist/cdn/W5I5BEM4.js +2 -0
- package/dist/cdn/{L3CL4LCS.js → WCOMQDTO.js} +1 -1
- package/dist/cdn/WMLMPR4P.js +2 -0
- package/dist/cdn/WO73Q3XE.js +2 -0
- package/dist/cdn/X2YVJPZF.js +2 -0
- package/dist/cdn/X7WYDIZE.js +2 -0
- package/dist/cdn/XCFAVK6F.js +2 -0
- package/dist/cdn/Y2FV4AZ4.js +2 -0
- package/dist/cdn/YJW7KSEK.js +2 -0
- package/dist/cdn/{EYSSZWSX.js → YOVZ4RVH.js} +1 -1
- package/dist/cdn/{RSII6PTR.js → YQPVQLX7.js} +1 -1
- package/dist/cdn/YR2TWUVL.js +2 -0
- package/dist/cdn/{GPQCW5EO.js → Z6PP7BPU.js} +2 -2
- package/dist/cdn/{4USN37PO.js → ZASO3PKX.js} +1 -1
- package/dist/cdn/ZCXMHYL5.js +2 -0
- package/dist/cdn/{WDUFLQ32.js → ZIHB4MW5.js} +1 -1
- package/dist/cdn/ZJKDLNZQ.js +2 -0
- package/dist/cdn/ZOZCGOID.js +2 -0
- package/dist/cdn/ZY5S677G.js +2 -0
- package/dist/cdn/ZYH6RLUY.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/action-bar-utils.js +18 -20
- package/dist/chunks/axis-lines-symbol.js +6 -6
- package/dist/chunks/bar-chart-model.js +6 -8
- package/dist/chunks/box-plot-data.js +157 -156
- package/dist/chunks/box-plot-model.js +35 -33
- package/dist/chunks/chart-model.js +27 -29
- package/dist/chunks/chart-ui-utils.js +44 -46
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +20 -20
- package/dist/chunks/combo-bar-line-chart-model.js +15 -16
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +1 -1
- package/dist/chunks/data.js +52 -54
- package/dist/chunks/gauge-model.js +64 -64
- package/dist/chunks/generate-x-axis-title.js +19 -19
- package/dist/chunks/heat-chart-model.js +13 -14
- package/dist/chunks/histogram-data.js +47 -48
- package/dist/chunks/histogram-model.js +2 -2
- package/dist/chunks/index.js +5419 -4251
- package/dist/chunks/index2.js +1165 -871
- package/dist/chunks/index3.js +11040 -1173
- package/dist/chunks/index4.js +65 -11086
- package/dist/chunks/line-chart-model.js +17 -18
- package/dist/chunks/model-setter.js +6 -6
- package/dist/chunks/model-with-x-guides.js +1 -1
- package/dist/chunks/model-with-y-guides.js +25 -25
- package/dist/chunks/negative-values-stacked-to-baseline.js +6 -6
- package/dist/chunks/pie-chart-data.js +25 -27
- package/dist/chunks/pie-chart-model.js +26 -25
- package/dist/chunks/radar-chart-model.js +6 -7
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +2 -2
- package/dist/chunks/scatterplot-model.js +20 -22
- package/dist/chunks/serial-chart-data.js +510 -510
- package/dist/chunks/serial-chart-model.js +69 -66
- package/dist/chunks/series-length.js +4 -4
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +109 -55
- package/dist/chunks/utils.js +146 -212
- package/dist/chunks/web-component-utils.js +55 -56
- package/dist/chunks/x-bounds.js +20 -21
- package/dist/components/arcgis-chart/customElement.d.ts +166 -45
- package/dist/components/arcgis-chart/customElement.js +8226 -8013
- package/dist/components/arcgis-charts-action-bar/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +62 -57
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +51 -45
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +106 -104
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +11 -12
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +52 -46
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +189 -184
- package/dist/components/arcgis-charts-config-font-style/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-format/customElement.js +37 -38
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +14 -15
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +32 -33
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +38 -33
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +9 -10
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +8 -9
- package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +20 -24
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +79 -79
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +21 -25
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +20 -21
- package/dist/components/arcgis-charts-info-modal/customElement.js +4 -4
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +316 -316
- package/dist/loader.js +3 -3
- package/dist/model/box-plot-model/box-plot-model.d.ts +6 -2
- package/dist/model/mixins/model-with-multi-axes.d.ts +29 -1
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +6 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/chart-config/converter/index.js +89 -91
- package/dist/utils/chart-config/utils/index.d.ts +10 -3
- package/dist/utils/data/categorical-data/index.d.ts +1 -0
- package/dist/utils/misc/index.d.ts +4 -4
- package/package.json +7 -7
- package/dist/cdn/26JXKZ7A.js +0 -2
- package/dist/cdn/3DUAM7RK.js +0 -2
- package/dist/cdn/3PZWFW3T.js +0 -2
- package/dist/cdn/3W5KLNGL.js +0 -2
- package/dist/cdn/3YK3KIWI.js +0 -2
- package/dist/cdn/44I6NO6U.js +0 -2
- package/dist/cdn/4DZ3REFU.js +0 -2
- package/dist/cdn/4VNZG2VT.js +0 -2
- package/dist/cdn/53HMTYWA.js +0 -2
- package/dist/cdn/5OCPLZJD.js +0 -2
- package/dist/cdn/5UUI3TOG.js +0 -2
- package/dist/cdn/6TBNJO5J.js +0 -2
- package/dist/cdn/7GM6BQNN.js +0 -2
- package/dist/cdn/7TDWD3GC.js +0 -2
- package/dist/cdn/A33LL5AD.js +0 -2
- package/dist/cdn/AA6Q62S5.js +0 -2
- package/dist/cdn/AGGIZ74B.js +0 -2
- package/dist/cdn/AWKRU62U.js +0 -2
- package/dist/cdn/B6APNE72.js +0 -3
- package/dist/cdn/CCGAVRQQ.js +0 -2
- package/dist/cdn/CFMPJGNL.js +0 -2
- package/dist/cdn/D5WZ4UJC.js +0 -2
- package/dist/cdn/D66KCKCQ.js +0 -2
- package/dist/cdn/DSZIXRAL.js +0 -2
- package/dist/cdn/EPTOURLO.js +0 -2
- package/dist/cdn/EV5FQPUN.js +0 -2
- package/dist/cdn/FBUROOQZ.js +0 -2
- package/dist/cdn/FRFFG6VJ.js +0 -2
- package/dist/cdn/G3PLPDEP.js +0 -2
- package/dist/cdn/GD6OHLIR.js +0 -2
- package/dist/cdn/GSCC3FON.js +0 -2
- package/dist/cdn/HZQLPN4H.js +0 -2
- package/dist/cdn/IEOIKLLK.js +0 -2
- package/dist/cdn/ILEGHIRD.js +0 -2
- package/dist/cdn/IR5IIAYC.js +0 -2
- package/dist/cdn/J2HDKV47.js +0 -2
- package/dist/cdn/J7HDQGZM.js +0 -2
- package/dist/cdn/JI5EYK4Q.js +0 -2
- package/dist/cdn/KKNH7H7Q.js +0 -2
- package/dist/cdn/KQLTJETV.js +0 -2
- package/dist/cdn/KR5D7UAA.js +0 -2
- package/dist/cdn/LQG6JN2P.js +0 -2
- package/dist/cdn/MBMCCOYI.js +0 -2
- package/dist/cdn/MG6D45PY.js +0 -2
- package/dist/cdn/MJFMEOAZ.js +0 -2
- package/dist/cdn/MKG4JBMF.js +0 -2
- package/dist/cdn/MS6S4O2A.js +0 -2
- package/dist/cdn/N4RM5VSS.js +0 -2
- package/dist/cdn/ND72GIXE.js +0 -2
- package/dist/cdn/NOP2A3XL.js +0 -2
- package/dist/cdn/NZGQZZZ2.js +0 -2
- package/dist/cdn/O3P2WLI6.js +0 -2
- package/dist/cdn/OAEWLSKN.js +0 -2
- package/dist/cdn/OJN27UF2.js +0 -2
- package/dist/cdn/OSBZ6SF2.js +0 -2
- package/dist/cdn/OZSOICXE.js +0 -2
- package/dist/cdn/QG7ZBCDQ.js +0 -2
- package/dist/cdn/QZYHN3H3.js +0 -2
- package/dist/cdn/RHAWHDKW.js +0 -2
- package/dist/cdn/S3JZNDJK.js +0 -2
- package/dist/cdn/S7EQRXFW.js +0 -2
- package/dist/cdn/SKI5Z6UH.js +0 -2
- package/dist/cdn/SN4U2TYE.js +0 -2
- package/dist/cdn/SQOCBFAR.js +0 -2
- package/dist/cdn/STZNZAAW.js +0 -3
- package/dist/cdn/TCK5ZVBJ.js +0 -2
- package/dist/cdn/U6KRV4RA.js +0 -2
- package/dist/cdn/UD7VIM4I.js +0 -2
- package/dist/cdn/UQS25TZX.js +0 -2
- package/dist/cdn/UZRN5642.js +0 -2
- package/dist/cdn/VBYDJXIO.js +0 -2
- package/dist/cdn/W4LSI4AL.js +0 -2
- package/dist/cdn/W5DI7RYL.js +0 -2
- package/dist/cdn/WCM6N6ME.js +0 -2
- package/dist/cdn/WCONWQ4A.js +0 -2
- package/dist/cdn/WHUP2W37.js +0 -2
- package/dist/cdn/WMISD5B2.js +0 -4
- package/dist/cdn/XUY3ZVKB.js +0 -2
- package/dist/cdn/YDODEM4F.js +0 -2
- package/dist/cdn/YF6ML4P6.js +0 -4
- package/dist/cdn/YW3BJIXP.js +0 -2
- package/dist/cdn/YYOQY7YY.js +0 -2
- package/dist/chunks/index5.js +0 -69
- package/dist/chunks/type-guards2.js +0 -113
- package/dist/chunks/utils2.js +0 -63
- /package/dist/cdn/{OTV3YYDU.js → 7JMZPDM5.js} +0 -0
- /package/dist/cdn/{O6GVF76X.js → KRRYFLG4.js} +0 -0
- /package/dist/cdn/{27C6PCQ2.js → XXO5K6N4.js} +0 -0
|
@@ -607,14 +607,32 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
607
607
|
protected _messages: Partial<{ chartNotFoundWarning: string; }> & T9nMeta<{ chartNotFoundWarning: string; }>;
|
|
608
608
|
/**
|
|
609
609
|
* Specifies how user interactions on the chart are handled.
|
|
610
|
+
* - For all chart types except gauges, [`multiSelectionWithCtrlKey`](/references/charts-components/components/arcgis-chart/#multiselectionwithctrlkey) is the default behavior when [actionMode](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#actionMode) is not explicitly set.
|
|
611
|
+
* - For gauges, the default behavior is [`none`](/references/charts-components/components/arcgis-chart/#none).
|
|
612
|
+
* - Specific axis can be targeted for selection or zoom actions via the [cursorRange](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#cursorRange) property.
|
|
610
613
|
*
|
|
611
|
-
*
|
|
612
|
-
*
|
|
613
|
-
*
|
|
614
|
-
* - `zoom`: Zoom into an area of the chart.
|
|
615
|
-
* - `none`: Disable interaction-driven selection and zoom actions.
|
|
614
|
+
* #### `monoSelection`
|
|
615
|
+
* Allow users to select one data item at a time by clicking on it. Each new selection replaces the previous selection.
|
|
616
|
+
* <video src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/actionMode_mono.webm" aria-label="action mode monoSelection" width="600" autoPlay loop muted playsInline/>
|
|
616
617
|
*
|
|
617
|
-
*
|
|
618
|
+
* #### `multiSelection`
|
|
619
|
+
* Allows users to click or drag a selection rectangle to select multiple data items. Each new selection is added to the existing selection.
|
|
620
|
+
* <video src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/actionMode_multi.webm" aria-label="action mode multiSelection" width="600" autoPlay loop muted playsInline/>
|
|
621
|
+
*
|
|
622
|
+
* #### `multiSelectionWithCtrlKey`
|
|
623
|
+
* Allow users to click or drag a selection rectangle to select multiple data items. Each new selection replaces the previous selection unless the `Ctrl` (or `Cmd` on macOS) key is held.
|
|
624
|
+
*
|
|
625
|
+
* In the below video, the first two selections are made without holding the `Ctrl` key, so each new selection replaces the previous one. The next two selections are made while holding the `Ctrl` key, so they are added to the existing selection.
|
|
626
|
+
* <video src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/actionMode_ctrl.webm" aria-label="action mode multiSelectionWithCtrlKey" width="600" autoPlay loop muted playsInline/>
|
|
627
|
+
*
|
|
628
|
+
* #### `zoom`
|
|
629
|
+
* Allows users to zoom into an area of the chart.
|
|
630
|
+
* <video src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/actionMode_zoom.webm" aria-label="action mode zoom" width="600" autoPlay loop muted playsInline/>
|
|
631
|
+
*
|
|
632
|
+
* > Zoom can also be configured using the [`setAxisScrollbar`](/references/charts-components/model/bar-chart-model/bar-chart-model/#setAxisScrollbar) method on the charts model. Refer to the method documentation for details.
|
|
633
|
+
*
|
|
634
|
+
* #### `none`
|
|
635
|
+
* Disable interaction-driven selection or zoom actions.
|
|
618
636
|
*/
|
|
619
637
|
accessor actionMode: ActionModes | undefined;
|
|
620
638
|
/**
|
|
@@ -623,12 +641,20 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
623
641
|
* @default false
|
|
624
642
|
*/
|
|
625
643
|
accessor allowUsingObjectIdStat: boolean;
|
|
644
|
+
/**
|
|
645
|
+
* When `true`, elements such as data items, axes, and legends will animate when the chart is first rendered or when the chart's configuration is updated.
|
|
646
|
+
*
|
|
647
|
+
* @deprecated since 5.2. Use [animationsEnabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#animationsEnabled) instead.
|
|
648
|
+
* @default false
|
|
649
|
+
* @since 5.1
|
|
650
|
+
*/
|
|
651
|
+
accessor animationEnabled: boolean | undefined;
|
|
626
652
|
/**
|
|
627
653
|
* When `true`, elements such as data items, axes, and legends will animate when the chart is first rendered or when the chart's configuration is updated.
|
|
628
654
|
*
|
|
629
655
|
* <video
|
|
630
|
-
* src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/
|
|
631
|
-
* aria-label="
|
|
656
|
+
* src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/animationsEnabled.webm"
|
|
657
|
+
* aria-label="animationsEnabled"
|
|
632
658
|
* width="720"
|
|
633
659
|
* autoPlay
|
|
634
660
|
* loop
|
|
@@ -637,9 +663,9 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
637
663
|
* />
|
|
638
664
|
*
|
|
639
665
|
* @default false
|
|
640
|
-
* @since 5.
|
|
666
|
+
* @since 5.2
|
|
641
667
|
*/
|
|
642
|
-
accessor
|
|
668
|
+
accessor animationsEnabled: boolean;
|
|
643
669
|
/**
|
|
644
670
|
* 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
671
|
*
|
|
@@ -703,11 +729,11 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
703
729
|
*/
|
|
704
730
|
accessor calciteThemingCSSVariables: CalciteThemeCSSVariables;
|
|
705
731
|
/**
|
|
706
|
-
* The index of the chart to be rendered from the layer. Must be used in conjunction with the
|
|
732
|
+
* The index of the chart to be rendered from the layer. Must be used in conjunction with the [layer](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layer), [layerItemId](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layerItemId), or [mapLayerId](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#mapLayerId) property.
|
|
707
733
|
*
|
|
708
|
-
* If
|
|
734
|
+
* If [layer](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layer), [layerItemId](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layerItemId), or [mapLayerId](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#mapLayerId) is set without `chartIndex`, the first chart in the layer will be rendered.
|
|
709
735
|
*
|
|
710
|
-
* If
|
|
736
|
+
* If `chartIndex` is out of bounds, the first chart in the layer will be rendered and a warning event will be emitted.
|
|
711
737
|
*
|
|
712
738
|
* @example
|
|
713
739
|
* ```html
|
|
@@ -718,17 +744,43 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
718
744
|
/**
|
|
719
745
|
* Customize the maximum number of data items allowed on the chart.
|
|
720
746
|
*
|
|
721
|
-
* The chart's behavior once that limit is reached can be adjusted through the `behaviorAfterLimit` nested property
|
|
722
|
-
* or update of the chart
|
|
723
|
-
*
|
|
724
|
-
*
|
|
747
|
+
* 1. The chart's behavior once that limit is reached can be adjusted through the [`behaviorAfterLimit`](/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-behaviorAfterLimit) nested property.
|
|
748
|
+
* - `reject`: Reject the creation or update of the chart when the limit is reached.
|
|
749
|
+
* - `renderUpToTheLimit`: Render the elements up to the given limits.
|
|
750
|
+
* 2. Specific limits for each chart type can be defined with the following nested properties.
|
|
751
|
+
* - [`serialChart`](/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-serialChart): Bar chart, line chart, combo bar line chart and radar chart.
|
|
752
|
+
* - [`series`](/references/charts-components/utils/defaults/interfaces/#SerialChartLimit-series), [`elements`](/references/charts-components/utils/defaults/interfaces/#SerialChartLimit-elements) and [`categories`](/references/charts-components/utils/defaults/interfaces/#SerialChartLimit-categories) limits can be specified.
|
|
753
|
+
* - [`boxPlot`](/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-boxPlot): [`series`](/references/charts-components/utils/defaults/interfaces/#SerialChartLimit-series), [`elements`](/references/charts-components/utils/defaults/interfaces/#SerialChartLimit-elements), [`categories`](/references/charts-components/utils/defaults/interfaces/#SerialChartLimit-categories) and `outliers` limits can be specified.
|
|
754
|
+
* - [`heatChart`](/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-heatChart): `cells` limits can be specified.
|
|
755
|
+
* - [`scatterplot`](/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-scatterplot): `aggregationThreshold` and `markersAfterAggregation` limits can be specified.
|
|
756
|
+
* - [`pieChart`](/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-pieChart): `slices` limits can be specified.
|
|
757
|
+
* - [`gauge`](/references/charts-components/utils/defaults/interfaces/#ChartElementLimit-gauge): `features` limits can be specified.
|
|
758
|
+
*
|
|
759
|
+
* Default limits when `chartLimits` is not set:
|
|
760
|
+
* - Except for scatterplots, limits are enforced by rejecting chart creation or updates. No maximum category count is set by default.
|
|
761
|
+
* - The [@arcgisBadDataWarningRaise](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisBadDataWarningRaise) event is emitted and, by default, a "Too many features" or "No data available to display" warning message is displayed in the chart container. Set [hideUIMessages](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#hideUIMessages) to `true` to hide the warning.
|
|
762
|
+
* - Specific limits for each chart type are as follows:
|
|
763
|
+
* - Bar chart, box plot: Up to 100 series. With one series, up to 10,000 elements total; with two series, up to 1,000 per series and 2,000 total; with three or more series, up to 100 per series and 2,000 total. Box plots also allow up to 10,000 outliers.
|
|
764
|
+
* - Line chart, radar chart: Up to 100 series. With one series, up to 10,000 markers total; with two series, up to 5,000 per series and 10,000 total; with three or more series, up to 1,000 per series and 10,000 total.
|
|
765
|
+
* - Histogram: Up to 64 bins, the default is 32 bins.
|
|
766
|
+
* - Pie chart: Up to 300 slices.
|
|
767
|
+
* - Heat chart: Up to 10,000 cells.
|
|
768
|
+
* - Scatterplot: Aggregation starts after 10,000 markers; displays up to 10,000 aggregated markers.
|
|
769
|
+
* - Gauge by feature: Up to 50 features.
|
|
725
770
|
*
|
|
726
771
|
* @example
|
|
727
772
|
* ```ts
|
|
773
|
+
* // Set the maximum number of categories to 15 for the bar chart (part of the serial chart).
|
|
728
774
|
* chartElement.chartLimits = {
|
|
729
|
-
* behaviorAfterLimit:
|
|
775
|
+
* behaviorAfterLimit: "renderUpToTheLimit",
|
|
730
776
|
* serialChart: { categories: 15 }
|
|
731
777
|
* };
|
|
778
|
+
*
|
|
779
|
+
* // Reject the creation or update of the pie chart when the slices count exceeds 10.
|
|
780
|
+
* chartElement.chartLimits = {
|
|
781
|
+
* behaviorAfterLimit: "reject",
|
|
782
|
+
* pieChart: { slices: 10 }
|
|
783
|
+
* };
|
|
732
784
|
* ```
|
|
733
785
|
*/
|
|
734
786
|
accessor chartLimits: ChartElementLimit | undefined;
|
|
@@ -749,14 +801,26 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
749
801
|
*/
|
|
750
802
|
accessor configurationEnabled: boolean;
|
|
751
803
|
/**
|
|
752
|
-
* Defines how the cursor selection rectangle is constrained when [actionMode](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#actionMode) is `
|
|
804
|
+
* Defines how the cursor selection rectangle is constrained when [actionMode](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#actionMode) is `multiSelection`, `multiSelectionWithCtrlKey`, or `zoom`.
|
|
753
805
|
*
|
|
754
806
|
* - `multi-axes`: Allows drawing a free rectangle across both axes.
|
|
755
807
|
* - `x-axis`: Constrains the rectangle to the x-axis direction.
|
|
756
808
|
* - `y-axis`: Constrains the rectangle to the y-axis direction.
|
|
757
809
|
* - `undefined`: Uses the default behavior for the current chart type and action mode.
|
|
758
810
|
*
|
|
759
|
-
*
|
|
811
|
+
* | `multi-axes` with selection | `x-axis` with selection | `y-axis` with selection |
|
|
812
|
+
* |-------------|---------|---------|
|
|
813
|
+
* | <video src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/cursorRange_xy.webm" aria-label="cursorRange multi-axes" width="720" autoPlay loop muted playsInline/> | <video src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/cursorRange_x.webm" aria-label="cursorRange x-axis" width="720" autoPlay loop muted playsInline/> | <video src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/cursorRange_y.webm" aria-label="cursorRange y-axis" width="720" autoPlay loop muted playsInline/> |
|
|
814
|
+
*
|
|
815
|
+
* Default behavior when [cursorRange](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#cursorRange) is `undefined`:
|
|
816
|
+
* - Bar chart: For selection, `multi-axes`. For zoom, `x-axis` (or `y-axis` when rotated).
|
|
817
|
+
* - Box plot: For selection and zoom, `multi-axes`.
|
|
818
|
+
* - Heat chart, Histogram: For selection, `multi-axes`. For zoom, `x-axis`.
|
|
819
|
+
* - Line chart: For category axes, selection and zoom use `x-axis` (or `y-axis` when rotated). For number or date axes, both use `multi-axes`.
|
|
820
|
+
* - Radar chart: For selection and zoom, `x-axis` (circular axis).
|
|
821
|
+
* - Scatterplot: For selection and zoom, `multi-axes`.
|
|
822
|
+
*
|
|
823
|
+
* **Note**: Not applicable to gauges and pie charts.
|
|
760
824
|
*/
|
|
761
825
|
accessor cursorRange: CursorRange | undefined;
|
|
762
826
|
/**
|
|
@@ -918,7 +982,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
918
982
|
*/
|
|
919
983
|
accessor hideLoaderAnimation: boolean;
|
|
920
984
|
/**
|
|
921
|
-
* When
|
|
985
|
+
* When `true`, UI messages are hidden. These messages can be no data warnings, any placeholder messages set or invalid chart configuration.
|
|
922
986
|
* By default, its value is `false`, which displays the messages on the chart.
|
|
923
987
|
*
|
|
924
988
|
* @default false
|
|
@@ -970,7 +1034,12 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
970
1034
|
accessor interactionsDisabled: boolean;
|
|
971
1035
|
/**
|
|
972
1036
|
* Used to perform queries.
|
|
973
|
-
*
|
|
1037
|
+
*
|
|
1038
|
+
* Charts supports feature-like and imagery layers. Feature-like layers must implement the properties and methods defined by [`ChartLayer`](/references/charts-components/interfaces/#ChartLayer).
|
|
1039
|
+
* - Feature-like layers: [`CatalogLayer`](/references/core/layers/CatalogLayer/), [`CSVLayer`](/references/core/layers/CSVLayer/), [`FeatureLayer`](/references/core/layers/FeatureLayer/), [`GeoJSONLayer`](/references/core/layers/GeoJSONLayer/), [`ParquetLayer`](/references/core/layers/ParquetLayer/), [`WFSLayer`](/references/core/layers/WFSLayer/)
|
|
1040
|
+
* - Imagery layers: [`ImageryLayer`](/references/core/layers/ImageryLayer/), [`ImageryTileLayer`](/references/core/layers/ImageryTileLayer/), [`OrientedImageryLayer`](/references/core/layers/OrientedImageryLayer/), [`WCSLayer`](/references/core/layers/WCSLayer/)
|
|
1041
|
+
*
|
|
1042
|
+
* **Note**: Queries run client-side when [layer](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layer) is a [`ChartLayerView`](/references/charts-components/interfaces/#ChartLayerView), or when both [layer](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layer) and [view](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#view) are provided.
|
|
974
1043
|
*/
|
|
975
1044
|
accessor layer: ChartLayerInput | undefined;
|
|
976
1045
|
/**
|
|
@@ -988,12 +1057,13 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
988
1057
|
*/
|
|
989
1058
|
accessor layerFilterChangePolicy: LayerFilterChangePolicy;
|
|
990
1059
|
/**
|
|
991
|
-
* Layer item ID associated with the chart to be rendered. Can be used in conjunction with the
|
|
1060
|
+
* Layer item ID associated with the chart to be rendered. Can be used in conjunction with the [chartIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#chartIndex) property.
|
|
1061
|
+
* If `layerItemId` is set without [chartIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#chartIndex), the first chart in the layer will be rendered.
|
|
992
1062
|
*
|
|
993
|
-
*
|
|
994
|
-
* For example, in the URL `https://www.arcgis.com/home/item.html?id=8871626e970a4f3e9d6113ec63a92f2f`, the layer item ID is `8871626e970a4f3e9d6113ec63a92f2f`.
|
|
1063
|
+
* Supported layer types include: [`FeatureLayer`](/references/core/layers/FeatureLayer), [`ParquetLayer`](/references/core/layers/ParquetLayer),[`ImageryLayer`](/references/core/layers/ImageryLayer), [`ImageryTileLayer`](/references/core/layers/ImageryTileLayer), [`WCSLayer`](/references/core/layers/WCSLayer) and [`OrientedImageryLayer`](/references/core/layers/OrientedImageryLayer).
|
|
995
1064
|
*
|
|
996
|
-
*
|
|
1065
|
+
* > The layer item ID can be found in the URL of the layer's item page on ArcGIS Online or Enterprise.
|
|
1066
|
+
* > For example, in the URL `https://www.arcgis.com/home/item.html?id=8871626e970a4f3e9d6113ec63a92f2f`, the layer item ID is `8871626e970a4f3e9d6113ec63a92f2f`.
|
|
997
1067
|
*
|
|
998
1068
|
* @example
|
|
999
1069
|
* ```html
|
|
@@ -1070,6 +1140,21 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1070
1140
|
* ```
|
|
1071
1141
|
*/
|
|
1072
1142
|
accessor loaderColors: LoaderColors | undefined;
|
|
1143
|
+
/**
|
|
1144
|
+
* The ID of the map layer containing the chart. Can be used in conjunction with the [chartIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#chartIndex) property. The [map layer ID](/references/core/layers/Layer/#id) can be found by inspecting the layer's properties.
|
|
1145
|
+
* If `mapLayerId` is set without [chartIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#chartIndex), the first chart in the layer will be rendered.
|
|
1146
|
+
*
|
|
1147
|
+
* > [!WARNING]
|
|
1148
|
+
* > Use [layer](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layer), [mapLayerId](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#mapLayerId), and [layerItemId](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layerItemId) independently; only one should be set at a time.
|
|
1149
|
+
*
|
|
1150
|
+
* @see [Tutorial: Chart and map interactions](https://developers.arcgis.com/javascript/latest/tutorials/chart-and-map-interactions/)
|
|
1151
|
+
* @example
|
|
1152
|
+
* ```ts
|
|
1153
|
+
* <arcgis-chart map-layer-id="1a116fff2bf-layer-2" chart-index="2"></arcgis-chart>
|
|
1154
|
+
* ```
|
|
1155
|
+
* @since 5.2
|
|
1156
|
+
*/
|
|
1157
|
+
accessor mapLayerId: string | undefined;
|
|
1073
1158
|
/**
|
|
1074
1159
|
* Custom messages for translated strings on the chart. If the returned string contains HTML tags they will be interpreted as such.
|
|
1075
1160
|
*
|
|
@@ -1387,8 +1472,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1387
1472
|
* When `true`, null values are considered as valid.
|
|
1388
1473
|
*
|
|
1389
1474
|
* By default, when the data contains only null values, the chart dataset is considered empty:
|
|
1390
|
-
*
|
|
1391
|
-
*
|
|
1475
|
+
* 1. The [@arcgisBadDataWarningRaise](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisBadDataWarningRaise) event will be sent.
|
|
1476
|
+
* 2. The "No data available to display" warning message will be displayed in the chart container.
|
|
1392
1477
|
*
|
|
1393
1478
|
* @default false
|
|
1394
1479
|
*/
|
|
@@ -1418,6 +1503,17 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1418
1503
|
* @default false
|
|
1419
1504
|
*/
|
|
1420
1505
|
accessor queueChartCreation: boolean | undefined;
|
|
1506
|
+
/**
|
|
1507
|
+
* By assigning the `id` attribute of the [Map component](/references/map-components/components/arcgis-map/) to this property, you can position the chart component anywhere in the DOM while still maintaining a connection to the Map.
|
|
1508
|
+
*
|
|
1509
|
+
* @example
|
|
1510
|
+
* ```html
|
|
1511
|
+
* <arcgis-map id="my-map"></arcgis-map>
|
|
1512
|
+
* <arcgis-chart reference-element="my-map"></arcgis-chart>
|
|
1513
|
+
* ```
|
|
1514
|
+
* @since 5.2
|
|
1515
|
+
*/
|
|
1516
|
+
accessor referenceElement: HTMLElement | string | undefined;
|
|
1421
1517
|
/**
|
|
1422
1518
|
* When `true`, the chart's `dataItems` associated with empty (no value) categories (from only a `Count` aggregation)
|
|
1423
1519
|
* will be populated with 0s.
|
|
@@ -1477,11 +1573,14 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1477
1573
|
/**
|
|
1478
1574
|
* Applies runtime data filters to the chart, features will be filtered based on the provided key value pairs.
|
|
1479
1575
|
*
|
|
1480
|
-
* Supported keys are `where
|
|
1576
|
+
* Supported keys are [`where`](/references/charts-components/spec/web-chart/#WebChartQuery-where), [`objectIds`](/references/charts-components/spec/web-chart/#WebChartQuery-objectIds), [`geometry`](/references/charts-components/spec/web-chart/#WebChartQuery-geometry),
|
|
1577
|
+
* [`spatialRelationship`](/references/charts-components/spec/web-chart/#WebChartQuery-spatialRelationship), [`distance`](/references/charts-components/spec/web-chart/#WebChartQuery-distance),
|
|
1578
|
+
* [`units`](/references/charts-components/spec/web-chart/#WebChartQuery-units), [`timeExtent`](/references/charts-components/spec/web-chart/#WebChartQuery-timeExtent), and [`gdbVersion`](/references/charts-components/spec/web-chart/#WebChartQuery-gdbVersion).
|
|
1481
1579
|
*
|
|
1482
1580
|
* @example
|
|
1483
1581
|
* ```ts
|
|
1484
|
-
* // This example filters the chart to show only features with the name "Katrina",
|
|
1582
|
+
* // This example filters the chart to show only features with the name "Katrina",
|
|
1583
|
+
* // object IDs 12, 19, and 27, within a specified geometry, within 10 miles and a specific time extent.
|
|
1485
1584
|
* const start = new Date(2005, 8, 23).getTime();
|
|
1486
1585
|
* const end = new Date(2005, 8, 28).getTime();
|
|
1487
1586
|
*
|
|
@@ -1525,10 +1624,11 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1525
1624
|
*/
|
|
1526
1625
|
accessor secondaryYAxisLabelFormatter: AxisLabelFormatCallback | undefined;
|
|
1527
1626
|
/**
|
|
1528
|
-
* Applies a programmatic selection to the chart. The payload can target chart elements by
|
|
1627
|
+
* Applies a programmatic selection to the chart. The payload can target chart elements by [`selectionOIDs`](/references/charts-components/utils/misc/interfaces/#SelectionData-selectionOIDs),
|
|
1628
|
+
* by [`selectionIndexes`](/references/charts-components/utils/misc/interfaces/#SelectionData-selectionIndexes), or by [`selectionItems`](/references/charts-components/utils/misc/interfaces/#SelectionData-selectionItems).
|
|
1529
1629
|
*
|
|
1530
1630
|
* ##### Selection by object IDs
|
|
1531
|
-
* When passing in a `selectionOIDs` array, the chart will match the provided object IDs with the chart's data items and apply the selection.
|
|
1631
|
+
* When passing in a [`selectionOIDs`](/references/charts-components/utils/misc/interfaces/#SelectionData-selectionOIDs) array, the chart will match the provided object IDs with the chart's data items and apply the selection.
|
|
1532
1632
|
*
|
|
1533
1633
|
* @example
|
|
1534
1634
|
* ```ts
|
|
@@ -1541,7 +1641,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1541
1641
|
* 
|
|
1542
1642
|
*
|
|
1543
1643
|
* ##### Selection by indexes
|
|
1544
|
-
* When passing in a `selectionIndexes` map, the chart will match the provided indexes with the chart's data items and apply the selection.
|
|
1644
|
+
* When passing in a [`selectionIndexes`](/references/charts-components/utils/misc/interfaces/#SelectionData-selectionIndexes) map, the chart will match the provided indexes with the chart's data items and apply the selection.
|
|
1545
1645
|
* @example
|
|
1546
1646
|
* ```ts
|
|
1547
1647
|
* // This selects the first and third chart data items.
|
|
@@ -1560,7 +1660,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1560
1660
|
* 
|
|
1561
1661
|
*
|
|
1562
1662
|
* ##### Selection by items
|
|
1563
|
-
* When passing in a `selectionItems` array, the chart will match the provided items with the chart's data items and apply the selection.
|
|
1663
|
+
* When passing in a [`selectionItems`](/references/charts-components/utils/misc/interfaces/#SelectionData-selectionItems) array, the chart will match the provided items with the chart's data items and apply the selection.
|
|
1564
1664
|
* @example
|
|
1565
1665
|
* ```ts
|
|
1566
1666
|
* // This selects the first chart data item with the matching items.
|
|
@@ -1636,9 +1736,10 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1636
1736
|
*/
|
|
1637
1737
|
accessor setTimeBinningInfoWhenNotProvided: boolean;
|
|
1638
1738
|
/**
|
|
1639
|
-
* When `true`,
|
|
1739
|
+
* When `true`, empty series are shown on the chart and in the legend. A series is empty when it has no data for its category or when data filters exclude all its data.
|
|
1740
|
+
* This property is available for bar, line, combo bar-line, and radar charts, and is most useful when the chart has multiple series.
|
|
1640
1741
|
*
|
|
1641
|
-
* By default,
|
|
1742
|
+
* By default, empty series are hidden from the chart and the legend.
|
|
1642
1743
|
*
|
|
1643
1744
|
* @default false
|
|
1644
1745
|
* @example
|
|
@@ -1717,6 +1818,19 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1717
1818
|
* When `true`, chart selections will be synchronized with the view's [SelectionManager](/references/core/views/SelectionManager/).
|
|
1718
1819
|
*
|
|
1719
1820
|
* @default false
|
|
1821
|
+
* @example
|
|
1822
|
+
* ```html
|
|
1823
|
+
* <!-- Selecting the `Asia` slice on the chart will select the corresponding features on the map. -->
|
|
1824
|
+
* <arcgis-map item-id="87936e6706144627b7c067ebd515da0c">
|
|
1825
|
+
* <arcgis-chart
|
|
1826
|
+
* map-layer-id="1a116fff2bf-layer-2"
|
|
1827
|
+
* chart-index="3"
|
|
1828
|
+
* slot="bottom-right"
|
|
1829
|
+
* sync-view-selection
|
|
1830
|
+
* ></arcgis-chart>
|
|
1831
|
+
* </arcgis-map>
|
|
1832
|
+
* ```
|
|
1833
|
+
* 
|
|
1720
1834
|
* @since 5.1
|
|
1721
1835
|
*/
|
|
1722
1836
|
accessor syncViewSelection: boolean;
|
|
@@ -1822,7 +1936,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1822
1936
|
/**
|
|
1823
1937
|
* Enable animation on the chart.
|
|
1824
1938
|
*
|
|
1825
|
-
* @deprecated since 5.1. Use [
|
|
1939
|
+
* @deprecated since 5.1. Use [animationsEnabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#animationsEnabled) instead.
|
|
1826
1940
|
* @default false
|
|
1827
1941
|
*/
|
|
1828
1942
|
accessor useAnimatedCharts: boolean;
|
|
@@ -1833,7 +1947,14 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1833
1947
|
* @default false
|
|
1834
1948
|
*/
|
|
1835
1949
|
accessor usePopupTemplateFieldsInfo: boolean;
|
|
1836
|
-
/**
|
|
1950
|
+
/**
|
|
1951
|
+
* Used to access the feature layer view instance in order to perform client side queries.
|
|
1952
|
+
*
|
|
1953
|
+
* An explicitly assigned view takes precedence over the view inferred from
|
|
1954
|
+
* [referenceElement](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#referenceElement) or an ancestor map component.
|
|
1955
|
+
* Set this property to `undefined` to resume using the inferred view.
|
|
1956
|
+
* Reading this property returns the effective view.
|
|
1957
|
+
*/
|
|
1837
1958
|
accessor view: MapView | SceneView | undefined;
|
|
1838
1959
|
/**
|
|
1839
1960
|
* Whether the chart should be refreshed when the view's time extent changes.
|
|
@@ -1878,12 +1999,11 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1878
1999
|
*/
|
|
1879
2000
|
accessor yAxisLabelFormatter: AxisLabelFormatCallback | undefined;
|
|
1880
2001
|
/**
|
|
1881
|
-
* When `true`, count=0 is considered a valid statistic.
|
|
2002
|
+
* When `true`, `count=0` is considered a valid statistic.
|
|
1882
2003
|
*
|
|
1883
|
-
* By default, when the aggregation type is "count" and the data contains only values equal to 0, the chart dataset
|
|
1884
|
-
*
|
|
1885
|
-
*
|
|
1886
|
-
* - The "No data available to display" warning message will be displayed in the chart container.
|
|
2004
|
+
* By default, when the aggregation type is "count" and the data contains only values equal to 0, the chart dataset is considered empty:
|
|
2005
|
+
* 1. The [@arcgisBadDataWarningRaise](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisBadDataWarningRaise) event will be sent.
|
|
2006
|
+
* 2. The "No data available to display" warning message will be displayed in the chart container.
|
|
1887
2007
|
*
|
|
1888
2008
|
* @default false
|
|
1889
2009
|
* @since 5.2
|
|
@@ -1930,8 +2050,8 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1930
2050
|
* });
|
|
1931
2051
|
* ```
|
|
1932
2052
|
*
|
|
2053
|
+
* The exported CSV file will contain the following data:
|
|
1933
2054
|
* ```csv
|
|
1934
|
-
* // The exported CSV file will contain the following data:
|
|
1935
2055
|
* sep=|
|
|
1936
2056
|
* "Bronx"|"Entire home/apt"|"379"
|
|
1937
2057
|
* "Bronx"|"Private room"|"652"
|
|
@@ -1958,7 +2078,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1958
2078
|
*
|
|
1959
2079
|
* @example
|
|
1960
2080
|
* ```html
|
|
1961
|
-
*
|
|
2081
|
+
* <!-- Load a chart from a layer item -->
|
|
1962
2082
|
* <arcgis-chart layer-item-id="8871626e970a4f3e9d6113ec63a92f2f" chart-index="2" />
|
|
1963
2083
|
* ```
|
|
1964
2084
|
* ```ts
|
|
@@ -1982,6 +2102,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1982
2102
|
* @param heading - The heading to display in the chart's container.
|
|
1983
2103
|
* @example
|
|
1984
2104
|
* ```html
|
|
2105
|
+
* <!-- Buttons to show and clear notifications -->
|
|
1985
2106
|
* <button id="show-notification" type="button">Show notification</button>
|
|
1986
2107
|
* <button id="clear-notification" type="button">Clear notification</button>
|
|
1987
2108
|
* ```
|