@arcgis/charts-components 5.2.0-next.9 → 5.2.0-next.91
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/LICENSE.md +4 -2
- package/README.md +2 -2
- package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/2B4DKL3R.js +2 -0
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/{VY3KBD6N.js → 2YDNWOWT.js} +1 -1
- package/dist/cdn/3HG6OEAW.js +2 -0
- package/dist/cdn/3K7H52Y5.js +2 -0
- package/dist/cdn/{Y7HBWU3M.js → 3ZKNY2GI.js} +1 -1
- package/dist/cdn/{IYA7HQMS.js → 3ZNZH5XV.js} +1 -1
- package/dist/cdn/44ICH2UX.js +2 -0
- package/dist/cdn/4A42J7HF.js +2 -0
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/{3TZEMBXR.js → 4EWMZYXM.js} +1 -1
- package/dist/cdn/{TFPQDMER.js → 4JBUJYUG.js} +1 -1
- package/dist/cdn/4JMHK7HK.js +2 -0
- package/dist/cdn/{WASEMNYV.js → 4JWNKQ22.js} +1 -1
- package/dist/cdn/4O4L6CM3.js +2 -0
- package/dist/cdn/4QQRIMTI.js +2 -0
- package/dist/cdn/4VW736DF.js +2 -0
- package/dist/cdn/54LUEUIT.js +2 -0
- package/dist/cdn/57PMXO2G.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/{XY4TRZCG.js → 5JV6PU34.js} +1 -1
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/5YBMIR4F.js +2 -0
- package/dist/cdn/62EUOXR7.js +45 -0
- package/dist/cdn/62GSQDTE.js +2 -0
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/65HVRSR6.js +2 -0
- package/dist/cdn/6K6Z6CQE.js +2 -0
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/73DFT5MR.js +2 -0
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/7HANUCEA.js +2 -0
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/{5SIAOUPO.js → AI2WUG3K.js} +1 -1
- package/dist/cdn/{XYKXBWIT.js → AKEVK6VK.js} +1 -1
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{AASL4RKT.js → B4HOQOHS.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/{MK5ZYSOD.js → BG4CYK7C.js} +1 -1
- package/dist/cdn/BHJHX65O.js +2 -0
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/BZEYWH2F.js +2 -0
- package/dist/cdn/BZIGQJAH.js +2 -0
- package/dist/cdn/{S3ZSZXYG.js → C6UUBWI2.js} +1 -1
- package/dist/cdn/CDWFPVYG.js +2 -0
- package/dist/cdn/{FWAXKDYV.js → CHHARRJP.js} +1 -1
- package/dist/cdn/{2GJX5OO6.js → CKRZTUGB.js} +1 -1
- package/dist/cdn/COSE26XR.js +2 -0
- package/dist/cdn/CPDE3ZSY.js +2 -0
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/{FOYOG3G7.js → D3ZXHZRV.js} +1 -1
- package/dist/cdn/D5O2M65G.js +2 -0
- package/dist/cdn/D7LBGWWL.js +2 -0
- package/dist/cdn/{ULWJ57VT.js → DF2SKHUD.js} +1 -1
- package/dist/cdn/DLCJMSYG.js +2 -0
- package/dist/cdn/DOE5S7EP.js +2 -0
- package/dist/cdn/{WAINRCCJ.js → E45CPXW6.js} +1 -1
- package/dist/cdn/EFXNPF4V.js +2 -0
- package/dist/cdn/ELNZ7PTF.js +2 -0
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/{N5ZUO6F3.js → ESBQKSZF.js} +1 -1
- package/dist/cdn/F66W272X.js +2 -0
- package/dist/cdn/F6VXAPTT.js +2 -0
- package/dist/cdn/{3JYZJUOM.js → FPM6WDQ4.js} +1 -1
- package/dist/cdn/{SSQ3VCZ2.js → FXBSBXWY.js} +1 -1
- package/dist/cdn/{H3EXGCE7.js → G7W2RL4I.js} +1 -1
- package/dist/cdn/GK6IJBRW.js +2 -0
- package/dist/cdn/GUMN6KPP.js +2 -0
- package/dist/cdn/{73BVFUAA.js → GUWBPR2H.js} +1 -1
- package/dist/cdn/GVJF3VFV.js +2 -0
- package/dist/cdn/{CHQDKVVQ.js → H2NVXIPH.js} +2 -2
- package/dist/cdn/H4R2P2BO.js +2 -0
- package/dist/cdn/HIVJRWLF.js +2 -0
- package/dist/cdn/{UYXCGSXU.js → HPNWQANQ.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → HSIYQNVK.js} +1 -1
- package/dist/cdn/{ANN3O54W.js → HVWOLFLT.js} +1 -1
- package/dist/cdn/HZEGDF6W.js +2 -0
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/{7QXRWMUN.js → IBLGAXGT.js} +1 -1
- package/dist/cdn/{LROW4Y6O.js → IC7XUYKD.js} +1 -1
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/IGE2Z7GO.js +2 -0
- package/dist/cdn/IHDWXIBS.js +3 -0
- package/dist/cdn/IIV6X3KV.js +2 -0
- package/dist/cdn/{RSNZMJ6I.js → IUZFB3JE.js} +1 -1
- package/dist/cdn/JSPNXGH3.js +2 -0
- package/dist/cdn/JXAPOWHG.js +2 -0
- package/dist/cdn/{RCK5VONL.js → KAUOH4F3.js} +1 -1
- package/dist/cdn/KHC2DMSU.js +2 -0
- package/dist/cdn/{PRFJNHPS.js → KHWZ54IX.js} +1 -1
- package/dist/cdn/{N4L5KE23.js → KIIS7OLN.js} +1 -1
- package/dist/cdn/KJAMXKR3.js +2 -0
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/KPEBWOLJ.js +2 -0
- package/dist/cdn/KQUI4CT6.js +2 -0
- package/dist/cdn/KVWM73YN.js +2 -0
- package/dist/cdn/KYCNUCTQ.js +2 -0
- package/dist/cdn/KZ4SCRQT.js +2 -0
- package/dist/cdn/KZSCAJDG.js +2 -0
- package/dist/cdn/L5JZ5COY.js +2 -0
- package/dist/cdn/L6IM34J7.js +2 -0
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/LCJVASMQ.js +2 -0
- package/dist/cdn/{QR2OOC4D.js → LCRLYOX6.js} +1 -1
- package/dist/cdn/LJJPOUVA.js +2 -0
- package/dist/cdn/LKC6J4IQ.js +2 -0
- package/dist/cdn/LU7UO6PR.js +2 -0
- package/dist/cdn/LZ3ZRY2F.js +2 -0
- package/dist/cdn/{YKDW7ZW3.js → MCWIIGOW.js} +1 -1
- package/dist/cdn/MF2ZBHWI.js +2 -0
- package/dist/cdn/MTFWTSTG.js +2 -0
- package/dist/cdn/{BDGHBTPU.js → MW6VSJEF.js} +1 -1
- package/dist/cdn/{JRN2TZSV.js → N4XXKTCN.js} +1 -1
- package/dist/cdn/NGGJIQHT.js +2 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/NYR4K242.js +2 -0
- package/dist/cdn/OCT2KA4Q.js +2 -0
- 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/OPMACXLA.js +2 -0
- package/dist/cdn/{VRZ2SY6M.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/OQQIDPDH.js +2 -0
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{KDJ5RVHA.js → P3AYFJRV.js} +1 -1
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/{4OH4NSIW.js → PSQDO4QK.js} +1 -1
- package/dist/cdn/PWJBGZPW.js +2 -0
- package/dist/cdn/{2OHFSVV5.js → PWSEK3XV.js} +1 -1
- package/dist/cdn/QBBUOEKF.js +4 -0
- package/dist/cdn/QFXCVZYG.js +2 -0
- package/dist/cdn/QIBUTVUN.js +2 -0
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/{X2LW7GTR.js → QOQ5QNZV.js} +1 -1
- package/dist/cdn/QVLDIB2N.js +2 -0
- package/dist/cdn/QYRHZJH3.js +2 -0
- package/dist/cdn/RAJO727X.js +2 -0
- package/dist/cdn/RCAJJ24P.js +2 -0
- package/dist/cdn/RPUEIRTH.js +2 -0
- package/dist/cdn/SBJGOYJL.js +2 -0
- package/dist/cdn/SBZKGQBV.js +2 -0
- package/dist/cdn/SJBJ2N5C.js +104 -0
- package/dist/cdn/{OXYJKZEP.js → SLQPIX6X.js} +1 -1
- package/dist/cdn/SMTDJE55.js +2 -0
- package/dist/cdn/SOR4DYKA.js +2 -0
- package/dist/cdn/SQHEWY2J.js +2 -0
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/SZNZAD56.js +2 -0
- package/dist/cdn/{ZBIVDGNH.js → SZXVQMQV.js} +1 -1
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/{AK7X7SGI.js → TENIFMA5.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/{VDKFC44J.js → TVKP2GAI.js} +1 -1
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/ULF3LG3W.js +2 -0
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/UZHQF5CV.js +2 -0
- package/dist/cdn/VBDLVCPP.js +2 -0
- package/dist/cdn/VCBFPEET.js +2 -0
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/{I6UPUSLQ.js → VQLXOQMY.js} +1 -1
- package/dist/cdn/VQU2TVX7.js +3 -0
- package/dist/cdn/VVOQ4Q2X.js +2 -0
- package/dist/cdn/{Y6ZCTPJW.js → WJY4AWHX.js} +1 -1
- package/dist/cdn/{L47EGLUH.js → WNDLNCF7.js} +1 -1
- package/dist/cdn/WOGALV3T.js +2 -0
- package/dist/cdn/{ZAHVBXAQ.js → WPLJ5BXE.js} +1 -1
- package/dist/cdn/WTABMFFY.js +2 -0
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/XW5I2M45.js +2 -0
- package/dist/cdn/XYJJ2PIL.js +2 -0
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/{SERX6V5M.js → YNED6356.js} +1 -1
- package/dist/cdn/YOUTTWJN.js +2 -0
- package/dist/cdn/YQL5A2WS.js +2 -0
- package/dist/cdn/YX7WAUQZ.js +2 -0
- package/dist/cdn/{XDMGH7YU.js → YZCWFNPW.js} +1 -1
- package/dist/cdn/{2XXW3WF3.js → ZEQF2W7Y.js} +1 -1
- package/dist/cdn/ZFHU5I2O.js +2 -0
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/{GQ3TDTO5.js → ZO4GRLG6.js} +1 -1
- package/dist/cdn/{OFWEHJDH.js → ZYK4DWCN.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/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +46 -20
- package/dist/chunks/{type-guards3.js → action-bar-utils.js} +37 -45
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +46 -38
- package/dist/chunks/box-plot-data.js +291 -274
- package/dist/chunks/box-plot-model.js +143 -130
- package/dist/chunks/chart-model.js +194 -153
- package/dist/chunks/chart-object-literals.js +26 -25
- package/dist/chunks/chart-ui-utils.js +148 -66
- package/dist/chunks/chart-ui-utils2.js +68 -149
- package/dist/chunks/class-breaks.js +30 -30
- package/dist/chunks/combo-bar-line-chart-model.js +122 -101
- package/dist/chunks/data-labels-symbol.js +39 -24
- package/dist/chunks/data-labels-visibility.js +8 -8
- package/dist/chunks/data.js +68 -68
- package/dist/chunks/default.js +6 -6
- package/dist/chunks/gauge-model.js +61 -61
- package/dist/chunks/generate-x-axis-title.js +15 -15
- package/dist/chunks/heat-chart-model.js +95 -66
- package/dist/chunks/histogram-data.js +23 -23
- package/dist/chunks/histogram-model.js +9 -9
- package/dist/chunks/index.js +9401 -1079
- package/dist/chunks/index2.js +851 -8751
- package/dist/chunks/index3.js +1169 -847
- package/dist/chunks/index4.js +467 -250
- package/dist/chunks/index5.js +63 -100
- package/dist/chunks/interfaces.js +9 -9
- package/dist/chunks/line-chart-model.js +40 -24
- package/dist/chunks/model-setter.js +59 -64
- package/dist/chunks/model-types.js +1 -1
- package/dist/chunks/model-with-line-marker-styling.js +72 -47
- package/dist/chunks/model-with-y-guides.js +52 -67
- package/dist/chunks/negative-values-stacked-to-baseline.js +122 -71
- package/dist/chunks/pie-chart-data.js +175 -193
- package/dist/chunks/pie-chart-model.js +388 -320
- package/dist/chunks/radar-chart-model.js +413 -46
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +10 -10
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +90 -0
- package/dist/chunks/scatterplot-model.js +12 -12
- package/dist/chunks/serial-chart-data.js +869 -746
- package/dist/chunks/serial-chart-model.js +145 -123
- package/dist/chunks/series-length.js +17 -17
- package/dist/chunks/series-types.js +22 -18
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +49 -23
- package/dist/chunks/type-guards2.js +61 -52
- package/dist/chunks/utils.js +101 -91
- package/dist/chunks/utils2.js +9 -9
- package/dist/chunks/web-component-utils.js +591 -540
- package/dist/chunks/x-bounds.js +98 -97
- package/dist/components/arcgis-chart/customElement.d.ts +611 -234
- package/dist/components/arcgis-chart/customElement.js +10433 -10078
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +8 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +34 -31
- package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +39 -33
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +29 -29
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +44 -43
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -15
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +31 -39
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +16 -16
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +26 -28
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- 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-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +243 -229
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
- package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-format/customElement.js +94 -87
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +23 -24
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +10 -13
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +65 -77
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +57 -58
- package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +28 -28
- package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +35 -36
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +42 -44
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -8
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -6
- 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 +56 -57
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +66 -67
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +15 -15
- 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 +7 -7
- 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 +1 -1
- package/dist/index.js +488 -466
- package/dist/interfaces.d.ts +57 -14
- package/dist/json-schema/index.d.ts +211 -6
- package/dist/loader.js +2 -2
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +6 -4
- package/dist/model/box-plot-model/box-plot-model.d.ts +11 -5
- package/dist/model/chart-model/chart-model-base.d.ts +10 -0
- package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
- 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 +33 -21
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
- package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/mixins/model-with-guides.d.ts +1 -1
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +28 -19
- package/dist/model/mixins/model-with-multi-axes.d.ts +62 -99
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +61 -2
- 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/rounded-corners.d.ts +18 -0
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
- package/dist/model/shared/setup-utils.d.ts +3 -3
- package/dist/model/shared/type-guards.d.ts +38 -22
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/data-source.d.ts +17 -3
- package/dist/spec/rest-js-types.d.ts +22 -8
- package/dist/spec/web-chart.d.ts +42 -6
- 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 +3 -3
- package/dist/utils/chart-config/converter/index.js +210 -191
- package/dist/utils/chart-config/utils/index.d.ts +30 -9
- package/dist/utils/chart-config/validator/index.d.ts +2 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +4 -3
- package/dist/utils/components/interfaces.d.ts +2 -0
- package/dist/utils/cursor/interfaces.d.ts +21 -0
- package/dist/utils/data/categorical-data/index.d.ts +1 -1
- package/dist/utils/data/index.d.ts +28 -22
- package/dist/utils/data/interfaces.d.ts +4 -3
- package/dist/utils/defaults/index.d.ts +31 -5
- package/dist/utils/defaults/interfaces.d.ts +73 -4
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +26 -8
- package/dist/utils/layer/inline-conversion/index.d.ts +0 -3
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
- package/dist/utils/layer/interfaces.d.ts +0 -12
- package/dist/utils/layer/query-features/index.d.ts +8 -3
- package/dist/utils/layer/query-parser/index.d.ts +13 -9
- package/dist/utils/layer/utils/index.d.ts +22 -5
- package/dist/utils/localization/interfaces.d.ts +9 -1
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/misc/interfaces.d.ts +1 -0
- package/dist/utils/type-guards/chart-types.d.ts +10 -0
- package/dist/utils/type-guards/series-types.d.ts +9 -2
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +8 -9
- package/dist/cdn/2B4S6PH2.js +0 -2
- package/dist/cdn/3EIVHDDK.js +0 -2
- package/dist/cdn/3X5JIVJJ.js +0 -3
- package/dist/cdn/44GWFKSR.js +0 -2
- package/dist/cdn/4LLOMGO7.js +0 -2
- package/dist/cdn/4P7S3KIY.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/55UVN4AF.js +0 -4
- package/dist/cdn/5F54SB3S.js +0 -2
- package/dist/cdn/667DYS3D.js +0 -2
- package/dist/cdn/7DD3FFI5.js +0 -2
- package/dist/cdn/7LXWQH6J.js +0 -2
- package/dist/cdn/7TRRNFTL.js +0 -2
- package/dist/cdn/7XLZ42N6.js +0 -2
- package/dist/cdn/A5GIBV5W.js +0 -2
- package/dist/cdn/ADGMA3ST.js +0 -3
- package/dist/cdn/BBURKBKE.js +0 -2
- package/dist/cdn/BSP7U5YN.js +0 -58
- package/dist/cdn/CAGJKKOW.js +0 -2
- package/dist/cdn/CG6PLENK.js +0 -2
- package/dist/cdn/CKRMYU2S.js +0 -2
- package/dist/cdn/CQTLTJ52.js +0 -2
- package/dist/cdn/CY7GY33F.js +0 -2
- package/dist/cdn/CZ5XRXCE.js +0 -2
- package/dist/cdn/D57ESYPO.js +0 -2
- package/dist/cdn/DJACBOFO.js +0 -2
- package/dist/cdn/DKXRIXFG.js +0 -2
- package/dist/cdn/EDSF5KGV.js +0 -233
- package/dist/cdn/EPUNY3VI.js +0 -2
- package/dist/cdn/EZD3FBJU.js +0 -2
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/FATECLIQ.js +0 -2
- package/dist/cdn/FFS73X36.js +0 -142
- package/dist/cdn/FGNRWY57.js +0 -2
- package/dist/cdn/FJ4UGRMY.js +0 -2
- package/dist/cdn/G7YZE67F.js +0 -2
- package/dist/cdn/GGHRYV36.js +0 -2
- package/dist/cdn/GOP2GNGE.js +0 -2
- package/dist/cdn/H2DP7HXE.js +0 -2
- package/dist/cdn/H42V247N.js +0 -2
- package/dist/cdn/H7TZ42RW.js +0 -2
- package/dist/cdn/HZR4NSZV.js +0 -2
- package/dist/cdn/I5B6REVT.js +0 -2
- package/dist/cdn/IXKYQBM7.js +0 -2
- package/dist/cdn/J7XXIAQJ.js +0 -2
- package/dist/cdn/JNNB2DIA.js +0 -2
- package/dist/cdn/JRUIUNQA.js +0 -2
- package/dist/cdn/KI2YCXW6.js +0 -2
- package/dist/cdn/KPPNRDOP.js +0 -2
- package/dist/cdn/LB6EF2UN.js +0 -2
- package/dist/cdn/M7QVV7WC.js +0 -2
- package/dist/cdn/MICVGPGC.js +0 -2
- package/dist/cdn/MRTKZZTF.js +0 -2
- package/dist/cdn/MZHOWTY3.js +0 -2
- package/dist/cdn/NALKWY43.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/OCE4FAJ4.js +0 -2
- package/dist/cdn/P4HSSZRL.js +0 -2
- package/dist/cdn/PAIRUVLU.js +0 -2
- package/dist/cdn/PQHVQQSI.js +0 -2
- package/dist/cdn/QJC3FDWG.js +0 -2
- package/dist/cdn/QNUCPXBU.js +0 -2
- package/dist/cdn/QW5KML7L.js +0 -2
- package/dist/cdn/QXUR76TF.js +0 -2
- package/dist/cdn/RJW2DOIR.js +0 -102
- package/dist/cdn/RR63Q3C2.js +0 -2
- package/dist/cdn/RRC5ESYH.js +0 -2
- package/dist/cdn/SS42OW45.js +0 -2
- package/dist/cdn/STM26XZG.js +0 -2
- package/dist/cdn/THTYR6IL.js +0 -2
- package/dist/cdn/TX43YOVC.js +0 -2
- package/dist/cdn/TYAN5HWQ.js +0 -2
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/UAGGYOZB.js +0 -2
- package/dist/cdn/UDKG7LGN.js +0 -2
- package/dist/cdn/UHQGJR3U.js +0 -2
- package/dist/cdn/UYOCWLLG.js +0 -2
- package/dist/cdn/UYTPOUP7.js +0 -2
- package/dist/cdn/VKYQGU2R.js +0 -2
- package/dist/cdn/VOSE67U2.js +0 -2
- package/dist/cdn/VOTZAPI3.js +0 -2
- package/dist/cdn/W3OA4MKU.js +0 -2
- package/dist/cdn/W6KE6F3T.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/WCJ5W5TE.js +0 -2
- package/dist/cdn/WHYRYWPW.js +0 -2
- package/dist/cdn/WNKDEOFZ.js +0 -2
- package/dist/cdn/WOJQ6BTB.js +0 -2
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/cdn/XJFVSX2E.js +0 -2
- package/dist/cdn/XP6RGZ2N.js +0 -2
- package/dist/cdn/XRUOXTHH.js +0 -2
- package/dist/cdn/XTNDUDWE.js +0 -2
- package/dist/cdn/XUERYUEG.js +0 -2
- package/dist/cdn/Y3CXVO2M.js +0 -2
- package/dist/cdn/YAR2TF55.js +0 -2
- package/dist/cdn/YEZL5KRS.js +0 -2
- package/dist/cdn/YRFSWIDQ.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/cdn/ZG7SUAGR.js +0 -2
- package/dist/cdn/ZTX2ULE6.js +0 -2
- package/dist/cdn/ZY44M3QZ.js +0 -2
- package/dist/chunks/bar-chart-series.js +0 -15
- package/dist/chunks/index6.js +0 -66
- package/dist/chunks/time-zone.js +0 -38
- package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
- /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
- /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
|
@@ -3,18 +3,208 @@ import type { SerialChartModel } from "../serial-chart-model/serial-chart-model.
|
|
|
3
3
|
import type { ModelParams } from "../interfaces/chart-interfaces.js";
|
|
4
4
|
import type { ModelTypes } from "../interfaces/common.js";
|
|
5
5
|
import type { WithNegativeValuesStackedToBaseline } from "../properties/series/negative-values-stacked-to-baseline.js";
|
|
6
|
+
import type { WebChartTextSymbol } from "../../spec/web-chart.js";
|
|
7
|
+
import type { WebChartRadarChartAxisLabelsOrientation, WebChartLabelBehavior } from "../../spec/chart-object-literals.js";
|
|
6
8
|
import type { ModelWithLineMarkerStyling } from "../mixins/model-with-line-marker-styling.js";
|
|
7
9
|
|
|
8
10
|
export class RadarChartModel extends RadarChartModelSuperclass {
|
|
11
|
+
/** The radar axis labels orientation. */
|
|
12
|
+
accessor axisLabelsOrientation: WebChartRadarChartAxisLabelsOrientation;
|
|
13
|
+
/** The circular-axis field for the radar chart. */
|
|
14
|
+
accessor circularAxisField: string;
|
|
15
|
+
/** Whether the circular-axis labels are visible. */
|
|
16
|
+
accessor circularAxisLabelsVisibility: boolean;
|
|
17
|
+
/** Circular-axis title text symbol (font, color, style). */
|
|
18
|
+
accessor circularAxisTitleSymbol: WebChartTextSymbol | undefined;
|
|
19
|
+
/** The circular-axis title text. */
|
|
20
|
+
accessor circularAxisTitleText: string;
|
|
21
|
+
/** Whether the circular-axis title is visible. */
|
|
22
|
+
accessor circularAxisTitleVisibility: boolean;
|
|
23
|
+
/** Visibility of the circular line of the cursor's crosshair. */
|
|
24
|
+
accessor cursorCrosshairCircularLineVisibility: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Visibility of the horizontal line of the cursor's crosshair.
|
|
27
|
+
*
|
|
28
|
+
* @deprecated since 5.2. Use [cursorCrosshairCircularLineVisibility](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#cursorCrosshairCircularLineVisibility) instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
29
|
+
*/
|
|
30
|
+
accessor cursorCrosshairHorizontalLineVisibility: boolean;
|
|
31
|
+
/** Visibility of the radial line of the cursor's crosshair. */
|
|
32
|
+
accessor cursorCrosshairRadialLineVisibility: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Visibility of the vertical line of the cursor's crosshair.
|
|
35
|
+
*
|
|
36
|
+
* @deprecated since 5.2. Use [cursorCrosshairRadialLineVisibility](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#cursorCrosshairRadialLineVisibility) instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
37
|
+
*/
|
|
38
|
+
accessor cursorCrosshairVerticalLineVisibility: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Maximum bound set for the circular axis.
|
|
41
|
+
*
|
|
42
|
+
* `null` indicates no explicit maximum.
|
|
43
|
+
*/
|
|
44
|
+
accessor maxCircularBound: number | null;
|
|
45
|
+
/**
|
|
46
|
+
* Maximum bound set for the x-axis.
|
|
47
|
+
*
|
|
48
|
+
* @deprecated since 5.2. Use [maxCircularBound](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#maxCircularBound) instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
49
|
+
*/
|
|
50
|
+
accessor maxXBound: number | null;
|
|
51
|
+
/**
|
|
52
|
+
* Minimum bound set for the circular axis.
|
|
53
|
+
*
|
|
54
|
+
* `null` indicates no explicit minimum.
|
|
55
|
+
*/
|
|
56
|
+
accessor minCircularBound: number | null;
|
|
57
|
+
/**
|
|
58
|
+
* Minimum bound set for the x-axis.
|
|
59
|
+
*
|
|
60
|
+
* @deprecated since 5.2. Use [minCircularBound](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#minCircularBound) instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
61
|
+
*/
|
|
62
|
+
accessor minXBound: number | null;
|
|
63
|
+
/**
|
|
64
|
+
* The x-axis field for the chart.
|
|
65
|
+
*
|
|
66
|
+
* @deprecated since 5.2. Use [circularAxisField](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#circularAxisField) instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
67
|
+
*/
|
|
68
|
+
accessor xAxisField: string;
|
|
69
|
+
/**
|
|
70
|
+
* Whether the x-axis labels are visible.
|
|
71
|
+
*
|
|
72
|
+
* @deprecated since 5.2. Use [circularAxisLabelsVisibility](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#circularAxisLabelsVisibility) instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
73
|
+
*/
|
|
74
|
+
accessor xAxisLabelsVisibility: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* X-axis title text symbol (font, color, style).
|
|
77
|
+
*
|
|
78
|
+
* @deprecated since 5.2. Use [circularAxisTitleSymbol](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#circularAxisTitleSymbol) instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
79
|
+
*/
|
|
80
|
+
accessor xAxisTitleSymbol: WebChartTextSymbol | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* The x-axis title text.
|
|
83
|
+
*
|
|
84
|
+
* @deprecated since 5.2. Use [circularAxisTitleText](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#circularAxisTitleText) instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
85
|
+
*/
|
|
86
|
+
accessor xAxisTitleText: string;
|
|
87
|
+
/**
|
|
88
|
+
* Whether the x-axis title is visible.
|
|
89
|
+
*
|
|
90
|
+
* @deprecated since 5.2. Use [circularAxisTitleVisibility](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#circularAxisTitleVisibility) instead. This property will be removed from `RadarChartModel` in 6.0.
|
|
91
|
+
*/
|
|
92
|
+
accessor xAxisTitleVisibility: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Adds a circular-axis guide.
|
|
95
|
+
*
|
|
96
|
+
* @param name - The name of the guide.
|
|
97
|
+
* @param index - The index to insert the new guide in the list of circular-axis guides. If left `undefined`, the guide is appended to the end of the list.
|
|
98
|
+
*/
|
|
99
|
+
addCircularAxisGuide(name: string, index?: number): void;
|
|
100
|
+
/**
|
|
101
|
+
* Adds a radial-axis guide.
|
|
102
|
+
*
|
|
103
|
+
* @param name - The name of the guide.
|
|
104
|
+
* @param index - The index to insert the new guide in the list of radial-axis guides. If left `undefined`, the guide is appended to the end of the list.
|
|
105
|
+
*/
|
|
106
|
+
addRadialAxisGuide(name: string, index?: number): void;
|
|
107
|
+
/**
|
|
108
|
+
* Adds an X-axis guide.
|
|
109
|
+
*
|
|
110
|
+
* @deprecated since 5.2. Use [addCircularAxisGuide](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#addCircularAxisGuide) instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
111
|
+
* @param name - The name of the guide.
|
|
112
|
+
* @param index - The index to insert the new guide in the list of X-axis guides. If left `undefined`, the guide is appended to the end of the list.
|
|
113
|
+
*/
|
|
114
|
+
addXAxisGuide(name: string, index?: number): void;
|
|
115
|
+
/**
|
|
116
|
+
* Adds a Y-axis guide.
|
|
117
|
+
*
|
|
118
|
+
* @deprecated since 5.2. Use [addRadialAxisGuide](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#addRadialAxisGuide) instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
119
|
+
* @param name - The name of the guide.
|
|
120
|
+
* @param index - The index to insert the new guide in the list of Y-axis guides. If left `undefined`, the guide is appended to the end of the list.
|
|
121
|
+
*/
|
|
122
|
+
addYAxisGuide(name: string, index?: number): void;
|
|
123
|
+
/**
|
|
124
|
+
* Deletes a circular-axis guide.
|
|
125
|
+
*
|
|
126
|
+
* @param index - The index of the guide to delete in the list of circular-axis guides. If left `undefined`, the last guide in the list is deleted.
|
|
127
|
+
*/
|
|
128
|
+
deleteCircularAxisGuide(index?: number): void;
|
|
129
|
+
/**
|
|
130
|
+
* Deletes a radial-axis guide.
|
|
131
|
+
*
|
|
132
|
+
* @param index - The index of the guide to delete in the list of radial-axis guides. If left `undefined`, the last guide in the list is deleted.
|
|
133
|
+
*/
|
|
134
|
+
deleteRadialAxisGuide(index?: number): void;
|
|
135
|
+
/**
|
|
136
|
+
* Deletes an X-axis guide.
|
|
137
|
+
*
|
|
138
|
+
* @deprecated since 5.2. Use [deleteCircularAxisGuide](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#deleteCircularAxisGuide) instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
139
|
+
* @param index - The index of the guide to delete in the list of X-axis guides. If left `undefined`, the last guide in the list is deleted.
|
|
140
|
+
*/
|
|
141
|
+
deleteXAxisGuide(index?: number): void;
|
|
142
|
+
/**
|
|
143
|
+
* Deletes a Y-axis guide.
|
|
144
|
+
*
|
|
145
|
+
* @deprecated since 5.2. Use [deleteRadialAxisGuide](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#deleteRadialAxisGuide) instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
146
|
+
* @param index - The index of the guide to delete in the list of Y-axis guides. If left `undefined`, the last guide in the list is deleted.
|
|
147
|
+
*/
|
|
148
|
+
deleteYAxisGuide(index?: number): void;
|
|
149
|
+
/** Generate the proper circular-axis title from the current config. */
|
|
150
|
+
generateCircularAxisTitle(): string;
|
|
151
|
+
/** Generate the proper radial-axis title given the current config. */
|
|
152
|
+
generateRadialAxisTitle(): string;
|
|
153
|
+
/**
|
|
154
|
+
* Generate the proper x-axis title from the current config.
|
|
155
|
+
*
|
|
156
|
+
* @deprecated since 5.2. Use [generateCircularAxisTitle](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#generateCircularAxisTitle) instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
157
|
+
*/
|
|
158
|
+
generateXAxisTitle(): string;
|
|
159
|
+
/**
|
|
160
|
+
* Generate the proper y-axis title given the current config.
|
|
161
|
+
*
|
|
162
|
+
* @deprecated since 5.2. Use [generateRadialAxisTitle](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#generateRadialAxisTitle) instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
163
|
+
*/
|
|
164
|
+
generateYAxisTitle(): string;
|
|
165
|
+
/** Get the default circular-axis title text. */
|
|
166
|
+
getDefaultCircularAxisTitleText(): string;
|
|
167
|
+
/**
|
|
168
|
+
* Get the default x-axis title text.
|
|
169
|
+
*
|
|
170
|
+
* @deprecated since 5.2. Use [getDefaultCircularAxisTitleText](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#getDefaultCircularAxisTitleText) instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
171
|
+
*/
|
|
172
|
+
getDefaultXAxisTitleText(): string;
|
|
173
|
+
/**
|
|
174
|
+
* Gets the horizontal axis labels behavior for the chart.
|
|
175
|
+
*
|
|
176
|
+
* @deprecated since 5.2. This method has no effect on the radar-axis labels Use [axisLabelsOrientation](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#axisLabelsOrientation) instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
177
|
+
*/
|
|
178
|
+
getHorizontalAxisLabelsBehavior(): WebChartLabelBehavior;
|
|
179
|
+
/**
|
|
180
|
+
* Gets the vertical axis labels behavior for the chart.
|
|
181
|
+
*
|
|
182
|
+
* @deprecated since 5.2. This method does not configure radar-axis labels and has no replacement. It will be removed from `RadarChartModel` in 6.0.
|
|
183
|
+
*/
|
|
184
|
+
getVerticalAxisLabelsBehavior(): WebChartLabelBehavior;
|
|
9
185
|
/** Returns whether the series styling is able to be reset. */
|
|
10
186
|
resetAvailable(): boolean;
|
|
11
187
|
/** Resets the series styling to the default styling. */
|
|
12
188
|
resetSeriesStyling(): void;
|
|
189
|
+
/**
|
|
190
|
+
* Sets the horizontal axis labels behavior for the chart.
|
|
191
|
+
*
|
|
192
|
+
* @deprecated since 5.2. This method has no effect on the radar-axis labels Use [axisLabelsOrientation](https://developers.arcgis.com/javascript/latest/references/charts-components/model/radar-chart-model/radar-chart-model/#axisLabelsOrientation) instead. This method will be removed from `RadarChartModel` in 6.0.
|
|
193
|
+
* @param horizontalBehavior - The behavior for the horizontal axis labels.
|
|
194
|
+
*/
|
|
195
|
+
setHorizontalAxisLabelsBehavior(horizontalBehavior: WebChartLabelBehavior): void;
|
|
13
196
|
/**
|
|
14
197
|
* Completes the async setup process for the chart model. Must be called before using the model.
|
|
15
198
|
*
|
|
16
199
|
* @param params
|
|
17
200
|
*/
|
|
18
201
|
setup(params: ModelParams<ChartConfig<typeof ModelTypes.RadarChart>>): Promise<void>;
|
|
202
|
+
/**
|
|
203
|
+
* Sets the vertical axis labels behavior for the chart.
|
|
204
|
+
*
|
|
205
|
+
* @deprecated since 5.2. This method does not configure radar-axis labels and has no replacement. It will be removed from `RadarChartModel` in 6.0.
|
|
206
|
+
* @param verticalBehavior - The behavior for the vertical axis labels.
|
|
207
|
+
*/
|
|
208
|
+
setVerticalAxisLabelsBehavior(verticalBehavior: WebChartLabelBehavior): void;
|
|
19
209
|
}
|
|
20
210
|
declare const RadarChartModelSuperclass: typeof SerialChartModel & typeof ModelWithLineMarkerStyling & typeof WithNegativeValuesStackedToBaseline
|
|
@@ -63,6 +63,7 @@ export abstract class SerialChartModel extends SerialChartModelSuperclass {
|
|
|
63
63
|
/**
|
|
64
64
|
* Gets whether the series should be assigned to the second value axis.
|
|
65
65
|
*
|
|
66
|
+
* @deprecated since 5.2. Use [getSeriesToSecondaryYAxis](https://developers.arcgis.com/javascript/latest/references/charts-components/model/serial-chart-model/serial-chart-model/#getSeriesToSecondaryYAxis) instead.
|
|
66
67
|
* @param seriesIndex - The index of the series.
|
|
67
68
|
*/
|
|
68
69
|
getAssignToSecondValueAxis(seriesIndex: number): boolean;
|
|
@@ -83,6 +84,12 @@ export abstract class SerialChartModel extends SerialChartModelSuperclass {
|
|
|
83
84
|
* @param seriesIndex - The index of the series.
|
|
84
85
|
*/
|
|
85
86
|
getSeriesName(seriesIndex: number): string | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* Gets whether the series should be assigned to the secondary y-axis.
|
|
89
|
+
*
|
|
90
|
+
* @param seriesIndex - The index of the series.
|
|
91
|
+
*/
|
|
92
|
+
getSeriesToSecondaryYAxis(seriesIndex: number): boolean;
|
|
86
93
|
/** Gets the sort order for the bar chart. */
|
|
87
94
|
getSortOrder(): HeatChartDataSortingKinds | SerialChartDataSortingKinds;
|
|
88
95
|
/**
|
|
@@ -100,9 +107,12 @@ export abstract class SerialChartModel extends SerialChartModelSuperclass {
|
|
|
100
107
|
* @param toIndex - Index to move the series to.
|
|
101
108
|
*/
|
|
102
109
|
moveSeries(fromIndex: number, toIndex: number): void;
|
|
110
|
+
/** Rebuilds the series based on the current configuration. */
|
|
111
|
+
rebuildSeries(): Promise<void>;
|
|
103
112
|
/**
|
|
104
113
|
* Sets whether the series should be assigned to the second value axis.
|
|
105
114
|
*
|
|
115
|
+
* @deprecated since 5.2. Use [setSeriesToSecondaryYAxis](https://developers.arcgis.com/javascript/latest/references/charts-components/model/serial-chart-model/serial-chart-model/#setSeriesToSecondaryYAxis) instead.
|
|
106
116
|
* @param assign - The value for the setting.
|
|
107
117
|
* @param seriesIndex - The index of the series.
|
|
108
118
|
*/
|
|
@@ -133,6 +143,18 @@ export abstract class SerialChartModel extends SerialChartModelSuperclass {
|
|
|
133
143
|
* @param seriesIndex - The index of the series.
|
|
134
144
|
*/
|
|
135
145
|
setSeriesName(name: string, seriesIndex: number): void;
|
|
146
|
+
/**
|
|
147
|
+
* Sets whether the series should be assigned to the secondary y-axis.
|
|
148
|
+
*
|
|
149
|
+
* @param assign - The value for the setting.
|
|
150
|
+
* @param seriesIndex - The index of the series.
|
|
151
|
+
* @example
|
|
152
|
+
* ```ts
|
|
153
|
+
* chartModel.setSeriesToSecondaryYAxis(true, 0); // Assigns the first series to the secondary y-axis
|
|
154
|
+
* chartModel.setSeriesToSecondaryYAxis(false, 1); // Removes the second series from the secondary y-axis
|
|
155
|
+
* ```
|
|
156
|
+
*/
|
|
157
|
+
setSeriesToSecondaryYAxis(assign: boolean, seriesIndex: number): void;
|
|
136
158
|
/**
|
|
137
159
|
* Sets the sort order for the bar chart.
|
|
138
160
|
*
|
|
@@ -140,7 +162,11 @@ export abstract class SerialChartModel extends SerialChartModelSuperclass {
|
|
|
140
162
|
* @param orderByList - The list of category's values to order by.
|
|
141
163
|
*/
|
|
142
164
|
setSortOrder(newSortOrder: HeatChartDataSortingKinds | SerialChartDataSortingKinds, orderByList?: string[]): void;
|
|
143
|
-
/**
|
|
165
|
+
/**
|
|
166
|
+
* Updates the series based on the layer filter.
|
|
167
|
+
*
|
|
168
|
+
* @deprecated since 5.2. Use [rebuildSeries](https://developers.arcgis.com/javascript/latest/references/charts-components/model/serial-chart-model/serial-chart-model/#rebuildSeries) instead.
|
|
169
|
+
*/
|
|
144
170
|
updateSeriesFromLayerFilter(): void;
|
|
145
171
|
}
|
|
146
172
|
declare const SerialChartModelSuperclass: typeof ChartModel & typeof WithTimeZone & typeof WithGenerateXAxisTitle & typeof WithAxisLinesSymbol & typeof WithAxisLabelsSymbol & typeof WithXAxisTitleSymbol & typeof WithXBounds & typeof WithXAxisTitleVisibility & typeof WithXAxisLabelsVisibility & typeof WithXAxisTitleText & typeof ModelWithTemporalBinning & typeof ModelWithYGuides & typeof ModelWithXGuides & typeof WithDataLabelsSymbol & typeof WithDataLabelsVisibility & typeof WithRotatedState & typeof WithColorMatch & typeof ModelWithTooltips & typeof ModelWithLegend & typeof ModelWithMultiAxes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ChartLayerInput } from "../../interfaces.js";
|
|
2
2
|
import type { IFeatureLayer, IImageServiceLayer, ITiledImageServiceLayer } from "../../spec/rest-js-types.js";
|
|
3
3
|
import type { CommonStrings } from "../../utils/localization/interfaces.js";
|
|
4
4
|
import type { ChartConfig } from "../../utils/types/index.js";
|
|
@@ -33,7 +33,7 @@ export type CreateModelProps<T extends ModelTypes> = (ILayerAndSourcelessConfig<
|
|
|
33
33
|
* A new model of the specified type will be created using default values.
|
|
34
34
|
*/
|
|
35
35
|
export type LayerAndType<T extends ModelTypes> = {
|
|
36
|
-
layer:
|
|
36
|
+
layer: ChartLayerInput;
|
|
37
37
|
chartType: T;
|
|
38
38
|
};
|
|
39
39
|
|
|
@@ -53,7 +53,7 @@ export type ILayerAndType<T extends ModelTypes> = {
|
|
|
53
53
|
* The `config` is considered "sourceless" since its `iLayer` property is not required.
|
|
54
54
|
*/
|
|
55
55
|
export type LayerAndSourcelessConfig<T extends ModelTypes> = {
|
|
56
|
-
layer:
|
|
56
|
+
layer: ChartLayerInput;
|
|
57
57
|
config: ChartConfig<T>;
|
|
58
58
|
};
|
|
59
59
|
|
|
@@ -12,7 +12,7 @@ import type { PieChartLegendModel } from "../pie-chart-model/pie-chart-legend-mo
|
|
|
12
12
|
import type { PieChartModel } from "../pie-chart-model/pie-chart-model.js";
|
|
13
13
|
import type { ScatterplotModel } from "../scatterplot-model/scatterplot-model.js";
|
|
14
14
|
import type { SerialChartModel } from "../serial-chart-model/serial-chart-model.js";
|
|
15
|
-
import type { WebChart } from "../../spec/web-chart.js";
|
|
15
|
+
import type { WebChart, WebChartNullCategory } from "../../spec/web-chart.js";
|
|
16
16
|
import type { ModelWithMultiAxes } from "../mixins/model-with-multi-axes.js";
|
|
17
17
|
import type { ModelWithLineMarkerStyling } from "../mixins/model-with-line-marker-styling.js";
|
|
18
18
|
import type { ModelWithTooltips } from "../mixins/model-with-tooltips.js";
|
|
@@ -22,41 +22,42 @@ import type { ModelWithYGuides } from "../mixins/model-with-y-guides.js";
|
|
|
22
22
|
import type { ModelWithLegend } from "../mixins/model-with-legend.js";
|
|
23
23
|
import type { ModelWithTemporalBinning } from "../mixins/model-with-temporal-binning.js";
|
|
24
24
|
import type { RadarChartModel } from "../radar-chart-model/radar-chart-model.js";
|
|
25
|
+
import type { ChartModelWrapper } from "../chart-model/chart-model-wrapper.js";
|
|
25
26
|
|
|
26
27
|
/**
|
|
27
28
|
* Determines if the provided model or config is a `ChartModel`.
|
|
28
29
|
*
|
|
29
30
|
* @param model - The model to check.
|
|
30
31
|
*/
|
|
31
|
-
export function isChartModel(model:
|
|
32
|
+
export function isChartModel(model: ChartModelBase | ChartModelWrapper | WebChart | undefined): model is ChartModel;
|
|
32
33
|
|
|
33
34
|
/**
|
|
34
35
|
* Determines if the provided `model` is of type `BarChartModel`.
|
|
35
36
|
*
|
|
36
37
|
* @param model - The model to check.
|
|
37
38
|
*/
|
|
38
|
-
export function isBarChartModel(model: ChartModelBase | undefined): model is BarChartModel;
|
|
39
|
+
export function isBarChartModel(model: ChartModelBase | ChartModelWrapper | undefined): model is BarChartModel;
|
|
39
40
|
|
|
40
41
|
/**
|
|
41
42
|
* Determines if the provided `model` is of type `LineChartModel`.
|
|
42
43
|
*
|
|
43
44
|
* @param model - The model to check.
|
|
44
45
|
*/
|
|
45
|
-
export function isLineChartModel(model: ChartModelBase | undefined): model is LineChartModel;
|
|
46
|
+
export function isLineChartModel(model: ChartModelBase | ChartModelWrapper | undefined): model is LineChartModel;
|
|
46
47
|
|
|
47
48
|
/**
|
|
48
49
|
* Determines if the provided `model` is of type `RadarChartModel`.
|
|
49
50
|
*
|
|
50
51
|
* @param model - The model to check.
|
|
51
52
|
*/
|
|
52
|
-
export function isRadarChartModel(model: ChartModelBase | undefined): model is RadarChartModel;
|
|
53
|
+
export function isRadarChartModel(model: ChartModelBase | ChartModelWrapper | undefined): model is RadarChartModel;
|
|
53
54
|
|
|
54
55
|
/**
|
|
55
56
|
* Determines if the provided `model` is of type `ComboBarLineChartModel`.
|
|
56
57
|
*
|
|
57
58
|
* @param model - The model to check.
|
|
58
59
|
*/
|
|
59
|
-
export function isComboBarLineChartModel(model: ChartModelBase | undefined): model is ComboBarLineChartModel;
|
|
60
|
+
export function isComboBarLineChartModel(model: ChartModelBase | ChartModelWrapper | undefined): model is ComboBarLineChartModel;
|
|
60
61
|
|
|
61
62
|
/**
|
|
62
63
|
* Determines if the provided `model` is of type `SerialChartModel`.
|
|
@@ -64,102 +65,103 @@ export function isComboBarLineChartModel(model: ChartModelBase | undefined): mod
|
|
|
64
65
|
*
|
|
65
66
|
* @param model - The model to check.
|
|
66
67
|
*/
|
|
67
|
-
export function isSerialChartModel(model: ChartModelBase | undefined): model is SerialChartModel;
|
|
68
|
+
export function isSerialChartModel(model: ChartModelBase | ChartModelWrapper | undefined): model is SerialChartModel;
|
|
68
69
|
|
|
69
70
|
/**
|
|
70
71
|
* Determines if the provided `model` is of type `PieChartModel`.
|
|
71
72
|
*
|
|
72
73
|
* @param model - The model to check.
|
|
73
74
|
*/
|
|
74
|
-
export function isPieChartModel(model: ChartModelBase | undefined): model is PieChartModel;
|
|
75
|
+
export function isPieChartModel(model: ChartModelBase | ChartModelWrapper | undefined): model is PieChartModel;
|
|
75
76
|
|
|
76
77
|
/**
|
|
77
78
|
* Determines if the provided `model` is of type `BoxPlotModel`.
|
|
78
79
|
*
|
|
79
80
|
* @param model - The model to check.
|
|
80
81
|
*/
|
|
81
|
-
export function isBoxPlotModel(model: ChartModelBase | undefined): model is BoxPlotModel;
|
|
82
|
+
export function isBoxPlotModel(model: ChartModelBase | ChartModelWrapper | undefined): model is BoxPlotModel;
|
|
82
83
|
|
|
83
84
|
/**
|
|
84
85
|
* Determines if the provided `model` is of type `ScatterplotModel`.
|
|
85
86
|
*
|
|
86
87
|
* @param model - The model to check.
|
|
87
88
|
*/
|
|
88
|
-
export function isScatterplotModel(model: ChartModelBase | undefined): model is ScatterplotModel;
|
|
89
|
+
export function isScatterplotModel(model: ChartModelBase | ChartModelWrapper | undefined): model is ScatterplotModel;
|
|
89
90
|
|
|
90
91
|
/**
|
|
91
92
|
* Determines if the provided `model` is of type `HistogramModel`.
|
|
92
93
|
*
|
|
93
94
|
* @param model - The model to check.
|
|
94
95
|
*/
|
|
95
|
-
export function isHistogramModel(model: ChartModelBase | undefined): model is HistogramModel;
|
|
96
|
+
export function isHistogramModel(model: ChartModelBase | ChartModelWrapper | undefined): model is HistogramModel;
|
|
96
97
|
|
|
97
98
|
/**
|
|
98
99
|
* Determines if the provided `model` is of type `HeatChartModel`.
|
|
99
100
|
*
|
|
100
101
|
* @param model - The model to check.
|
|
101
102
|
*/
|
|
102
|
-
export function isHeatChartModel(model: ChartModelBase | undefined): model is HeatChartModel;
|
|
103
|
+
export function isHeatChartModel(model: ChartModelBase | ChartModelWrapper | undefined): model is HeatChartModel;
|
|
103
104
|
|
|
104
105
|
/**
|
|
105
106
|
* Determines if the provided `model` is of type `GaugeModel`.
|
|
106
107
|
*
|
|
107
108
|
* @param model - The model to check.
|
|
108
109
|
*/
|
|
109
|
-
export function isGaugeModel(model: ChartModelBase | undefined): model is GaugeModel;
|
|
110
|
+
export function isGaugeModel(model: ChartModelBase | ChartModelWrapper | undefined): model is GaugeModel;
|
|
110
111
|
|
|
111
112
|
/**
|
|
112
113
|
* Type guard for ModelWithMultiAxes
|
|
113
114
|
*
|
|
114
115
|
* @param model
|
|
115
116
|
*/
|
|
116
|
-
export function isModelWithMultiAxes(model: ChartModel | undefined): model is ModelWithMultiAxes;
|
|
117
|
+
export function isModelWithMultiAxes(model: ChartModel | ChartModelWrapper | undefined): model is ModelWithMultiAxes;
|
|
117
118
|
|
|
118
119
|
/**
|
|
119
120
|
* Type guard for ModelWithLineMarkerStyling
|
|
120
121
|
*
|
|
121
122
|
* @param model
|
|
122
123
|
*/
|
|
123
|
-
export function isModelWithLineMarkerStyling(model: ChartModel | undefined): model is ModelWithLineMarkerStyling;
|
|
124
|
+
export function isModelWithLineMarkerStyling(model: ChartModel | ChartModelWrapper | undefined): model is ModelWithLineMarkerStyling;
|
|
124
125
|
|
|
125
126
|
/**
|
|
126
127
|
* Type guard for ModelWithTooltips
|
|
127
128
|
*
|
|
128
129
|
* @param model
|
|
129
130
|
*/
|
|
130
|
-
export function isModelWithTooltips(model: ChartModel | undefined): model is ModelWithTooltips;
|
|
131
|
+
export function isModelWithTooltips(model: ChartModel | ChartModelWrapper | undefined): model is ModelWithTooltips;
|
|
131
132
|
|
|
132
133
|
/**
|
|
133
134
|
* Determines if the provided `model` is of type `ModelWithGuides`.
|
|
134
135
|
*
|
|
135
136
|
* @param model - The model to check.
|
|
136
137
|
*/
|
|
137
|
-
export function isModelWithGuides(model: ChartModel | undefined): model is ModelWithGuides;
|
|
138
|
+
export function isModelWithGuides(model: ChartModel | ChartModelWrapper | undefined): model is ModelWithGuides;
|
|
138
139
|
|
|
139
140
|
/**
|
|
140
141
|
* Determines if the provided `model` is of type `ModelWithXGuides`.
|
|
141
142
|
*
|
|
142
143
|
* @param model - The model to check.
|
|
143
144
|
*/
|
|
144
|
-
export function isModelWithXGuides(model: ChartModel | undefined): model is ModelWithXGuides;
|
|
145
|
+
export function isModelWithXGuides(model: ChartModel | ChartModelWrapper | undefined): model is ModelWithXGuides;
|
|
145
146
|
|
|
146
147
|
/**
|
|
147
148
|
* Determines if the provided `model` is of type `ModelWithYGuides`.
|
|
148
149
|
*
|
|
149
150
|
* @param model - The model to check.
|
|
150
151
|
*/
|
|
151
|
-
export function isModelWithYGuides(model: ChartModel | undefined): model is ModelWithYGuides;
|
|
152
|
+
export function isModelWithYGuides(model: ChartModel | ChartModelWrapper | undefined): model is ModelWithYGuides;
|
|
152
153
|
|
|
153
154
|
/**
|
|
154
155
|
* Determines if the provided `model` is of type `ModelWithLegend`.
|
|
155
156
|
*
|
|
156
157
|
* @param model - The model to check.
|
|
157
158
|
*/
|
|
158
|
-
export function isModelWithLegend(model: ChartModel | undefined): model is ModelWithLegend;
|
|
159
|
+
export function isModelWithLegend(model: ChartModel | ChartModelWrapper | undefined): model is ModelWithLegend;
|
|
159
160
|
|
|
160
161
|
/**
|
|
161
162
|
* Determines if the provided `model` is of type `PieChartLegendModel`.
|
|
162
163
|
*
|
|
164
|
+
* @deprecated since 5.2. Use [isPieChartModel](https://developers.arcgis.com/javascript/latest/references/charts-components/model/shared/type-guards/#isPieChartModel) instead. This function will be removed in 6.0.
|
|
163
165
|
* @param model - The model to check.
|
|
164
166
|
*/
|
|
165
167
|
export function isPieChartLegendModel(model: ChartModel | undefined): model is PieChartLegendModel;
|
|
@@ -169,7 +171,14 @@ export function isPieChartLegendModel(model: ChartModel | undefined): model is P
|
|
|
169
171
|
*
|
|
170
172
|
* @param model - The model to check.
|
|
171
173
|
*/
|
|
172
|
-
export function isModelWithTemporalBinning(model: ChartModel | undefined): model is ModelWithTemporalBinning;
|
|
174
|
+
export function isModelWithTemporalBinning(model: ChartModel | ChartModelWrapper | undefined): model is ModelWithTemporalBinning;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Determines if the provided `model` supports rounded corners.
|
|
178
|
+
*
|
|
179
|
+
* @param model - The model to check.
|
|
180
|
+
*/
|
|
181
|
+
export function isModelWithRoundCorners(model: ChartModelBase | ChartModelWrapper | undefined): model is BarChartModel | ComboBarLineChartModel;
|
|
173
182
|
|
|
174
183
|
/**
|
|
175
184
|
* Determines if the provided model's type matches the `type` argument.
|
|
@@ -177,4 +186,11 @@ export function isModelWithTemporalBinning(model: ChartModel | undefined): model
|
|
|
177
186
|
* @param model - The model to check.
|
|
178
187
|
* @param type
|
|
179
188
|
*/
|
|
180
|
-
export function isModelOfType<T extends ModelTypes | undefined>(model: ChartModel | undefined, type: T): model is ModelOfType<T>;
|
|
189
|
+
export function isModelOfType<T extends ModelTypes | undefined>(model: ChartModel | undefined, type: T): model is ModelOfType<T>;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Determines if the provided model has a `nullCategory` property,
|
|
193
|
+
*
|
|
194
|
+
* @param model - | undefined} model The model to check.
|
|
195
|
+
*/
|
|
196
|
+
export function isModelWithNullCategory(model: ChartModel | undefined): model is SerialChartModel & { nullCategory: WebChartNullCategory; };
|
|
@@ -27,6 +27,7 @@ export const WebChartTypes: {
|
|
|
27
27
|
readonly Buffer: "buffer";
|
|
28
28
|
readonly SizePolicy: "sizeScale";
|
|
29
29
|
readonly CalendarDateParts: "calendarDateParts";
|
|
30
|
+
readonly HistogramBin: "histogramBin";
|
|
30
31
|
};
|
|
31
32
|
|
|
32
33
|
export type WebChartTypes = (typeof WebChartTypes)[keyof typeof WebChartTypes];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { WebChartTemporalBinningUnits } from "./chart-object-literals.js";
|
|
1
|
+
import type { WebChartTemporalBinningUnits, WebChartTypes } from "./chart-object-literals.js";
|
|
2
2
|
import type { Color, IExtent, ISimpleLineSymbol, ISymbol, SimpleFillSymbolStyle, SimpleLineSymbolStyle, SimpleMarkerSymbolStyle } from "./rest-js-types.js";
|
|
3
3
|
|
|
4
4
|
/** JSON representation of the color object. */
|
|
@@ -28,7 +28,7 @@ export type IRendererSymbol = ISymbol
|
|
|
28
28
|
|
|
29
29
|
export type WebChartDataItemColor = Color | RGBArray | RGBObject | string;
|
|
30
30
|
|
|
31
|
-
export type WebChartDataItemValue = Date | IExtent | IRendererSymbol | number[] | string[] | WebChartDataItem[] | WebChartDataItemColor | boolean | number | string | null | undefined;
|
|
31
|
+
export type WebChartDataItemValue = (number | string)[] | Date | IExtent | IRendererSymbol | number[] | string[] | WebChartDataItem[] | WebChartDataItemColor | boolean | number | string | null | undefined;
|
|
32
32
|
|
|
33
33
|
/** JSON representation of a typical data item. */
|
|
34
34
|
export type WebChartDataItem = Record<string, WebChartDataItemValue>;
|
|
@@ -47,6 +47,13 @@ export interface WebChartHeatChartDataItem {
|
|
|
47
47
|
heatChartAxesData?: WebHeatChartAxesData;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
export interface WebChartGaugeChartDataItem {
|
|
51
|
+
dataItems: WebChartDataItem[];
|
|
52
|
+
calculatedAxisMinimum?: number;
|
|
53
|
+
calculatedAxisMaximum?: number;
|
|
54
|
+
gaugeValue?: number;
|
|
55
|
+
}
|
|
56
|
+
|
|
50
57
|
/** JSON representation of the processed data for a scatterplot trend line. */
|
|
51
58
|
export interface ScatterplotTrendLineData {
|
|
52
59
|
r2?: number;
|
|
@@ -81,10 +88,15 @@ export interface WebChartGenericDataItem {
|
|
|
81
88
|
timeIntervalInfo?: TimeIntervalInfo;
|
|
82
89
|
/** Indicates whether the server limit has been reached when fetching data. */
|
|
83
90
|
serverLimitReached?: boolean;
|
|
91
|
+
/** Indicates whether the chart limit has been reached when fetching data. */
|
|
92
|
+
chartLimitsReached?: boolean;
|
|
84
93
|
}
|
|
85
94
|
|
|
86
95
|
/** JSON representation of a histogram bin. */
|
|
87
96
|
export interface WebChartBin {
|
|
97
|
+
/** Identifier of a bin to simplify distinction between a WebChartBin and a WebChartDataItem */
|
|
98
|
+
type: typeof WebChartTypes.HistogramBin;
|
|
99
|
+
/** The bin count */
|
|
88
100
|
count: number;
|
|
89
101
|
/** Minimum value in the bin. */
|
|
90
102
|
minValue: number;
|
|
@@ -94,6 +106,8 @@ export interface WebChartBin {
|
|
|
94
106
|
symbol?: WebChartDataItem;
|
|
95
107
|
/** Whether this is the last bin. */
|
|
96
108
|
isLastBin?: boolean;
|
|
109
|
+
/** Unique ids associated to each bin */
|
|
110
|
+
arcgisChartsUniqueIds?: (number | string)[];
|
|
97
111
|
}
|
|
98
112
|
|
|
99
113
|
/** JSON representation of the processed data for a histogram. */
|
|
@@ -112,6 +126,6 @@ export interface WebChartHistogramDataItem {
|
|
|
112
126
|
bins: WebChartBin[];
|
|
113
127
|
}
|
|
114
128
|
|
|
115
|
-
export type WebChartDataTypes = WebChartBoxPlotDataItem | WebChartGenericDataItem | WebChartHeatChartDataItem | WebChartHistogramDataItem | WebChartScatterplotDataItem;
|
|
129
|
+
export type WebChartDataTypes = WebChartBoxPlotDataItem | WebChartGaugeChartDataItem | WebChartGenericDataItem | WebChartHeatChartDataItem | WebChartHistogramDataItem | WebChartScatterplotDataItem;
|
|
116
130
|
|
|
117
131
|
export type RGBArray = [number, number, number];
|
|
@@ -71,7 +71,16 @@ export interface IGeometry {
|
|
|
71
71
|
spatialReference?: ISpatialReference;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
/**
|
|
74
|
+
/**
|
|
75
|
+
* A simple point geometry, with spatial reference defined.
|
|
76
|
+
*
|
|
77
|
+
* `IPoint` can also be imported from the following packages:
|
|
78
|
+
*
|
|
79
|
+
* ```js
|
|
80
|
+
* import { IPoint } from "@esri/arcgis-rest-routing";
|
|
81
|
+
* import { IPoint } from "@esri/arcgis-rest-geocoding";
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
75
84
|
export interface IPoint extends IHasZM, IGeometry {
|
|
76
85
|
x: number;
|
|
77
86
|
y: number;
|
|
@@ -90,7 +99,7 @@ export interface ILocation {
|
|
|
90
99
|
z?: number;
|
|
91
100
|
}
|
|
92
101
|
|
|
93
|
-
/**
|
|
102
|
+
/** Polyline geometry. */
|
|
94
103
|
export interface IPolyline extends IHasZM, IGeometry {
|
|
95
104
|
paths: Position[][];
|
|
96
105
|
}
|
|
@@ -103,12 +112,12 @@ export interface IPolylineWithCurves extends IHasZM, IGeometry {
|
|
|
103
112
|
curvePaths: (JsonCurve | Position)[][];
|
|
104
113
|
}
|
|
105
114
|
|
|
106
|
-
/**
|
|
115
|
+
/** Polygon geometry. */
|
|
107
116
|
export interface IPolygon extends IHasZM, IGeometry {
|
|
108
117
|
rings: Position[][];
|
|
109
118
|
}
|
|
110
119
|
|
|
111
|
-
/**
|
|
120
|
+
/** Polygon geometry with curves. */
|
|
112
121
|
export interface IPolygonWithCurves extends IHasZM, IGeometry {
|
|
113
122
|
curveRings: (JsonCurve | Position)[][];
|
|
114
123
|
}
|
|
@@ -1367,7 +1376,6 @@ export interface IBingLayer extends ILayer {
|
|
|
1367
1376
|
portalUrl?: string;
|
|
1368
1377
|
}
|
|
1369
1378
|
|
|
1370
|
-
/** @internal */
|
|
1371
1379
|
export interface IImageServiceLayer extends ILayer, ISupportsTime {
|
|
1372
1380
|
/** An array of bandIds that are visible, can specify bands to export or rearrange band order(from image service). */
|
|
1373
1381
|
bandIds?: number[];
|
|
@@ -1748,7 +1756,7 @@ export interface IOpenStreetMapLayer extends ILayer {
|
|
|
1748
1756
|
type?: "OpenStreetMap";
|
|
1749
1757
|
}
|
|
1750
1758
|
|
|
1751
|
-
/**
|
|
1759
|
+
/** Tiled image service layer definition. */
|
|
1752
1760
|
export interface ITiledImageServiceLayer extends ILayer {
|
|
1753
1761
|
/** Applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false). */
|
|
1754
1762
|
isReference?: boolean;
|
|
@@ -1758,7 +1766,7 @@ export interface ITiledImageServiceLayer extends ILayer {
|
|
|
1758
1766
|
refreshInterval?: number;
|
|
1759
1767
|
}
|
|
1760
1768
|
|
|
1761
|
-
/**
|
|
1769
|
+
/** Web Coverage Service (WCS) layer definition. */
|
|
1762
1770
|
export interface IWCSLayer extends ILayer {
|
|
1763
1771
|
/** Applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false). */
|
|
1764
1772
|
isReference?: boolean;
|
|
@@ -1935,7 +1943,13 @@ export interface ICsvLayer extends ILayer {
|
|
|
1935
1943
|
type?: "CSV";
|
|
1936
1944
|
}
|
|
1937
1945
|
|
|
1938
|
-
/**
|
|
1946
|
+
/**
|
|
1947
|
+
* Feature layers can be created by referencing a layer from either a map service or a feature service or by specifying a feature collection object.
|
|
1948
|
+
* Use a map service if you just want to retrieve geometries and attributes from the server and symbolize them yourself. Use a feature service if
|
|
1949
|
+
* you want to take advantage of symbols from the service's source map document. Also, use a feature service if you plan on doing editing with the
|
|
1950
|
+
* feature layer. Feature layers honor any feature templates configured in the source map document. Feature collection objects are used to create
|
|
1951
|
+
* a feature layer based on the supplied definition.
|
|
1952
|
+
*/
|
|
1939
1953
|
export interface IFeatureLayer extends ILayer, ISupportsTime {
|
|
1940
1954
|
/** A comma-separated string listing which editing operations are allowed on an editable feature service. */
|
|
1941
1955
|
capabilities?: string;
|