@arcgis/charts-components 5.0.0-next.4 → 5.0.0-next.41
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/2DWG5F7P.js +4 -0
- package/dist/cdn/{6OOD4LGL.js → 2NCFS5ZN.js} +2 -2
- package/dist/cdn/2NJCAPMH.js +4 -0
- package/dist/cdn/{IRZKAIIT.js → 2XFEFQKQ.js} +2 -2
- package/dist/cdn/33EHRBHE.js +4 -0
- package/dist/cdn/{QTKLPYRG.js → 35FIE3ZA.js} +2 -2
- package/dist/cdn/{AISJHTWW.js → 3I2FRHRE.js} +2 -2
- package/dist/cdn/3LRW6N7X.js +4 -0
- package/dist/cdn/3VO3FB5K.js +4 -0
- package/dist/cdn/44FUKRXB.js +4 -0
- package/dist/cdn/4HOXIBQ7.js +4 -0
- package/dist/cdn/4JW2DAGO.js +4 -0
- package/dist/cdn/4Z3FVTXX.js +4 -0
- package/dist/cdn/4ZK4IFBK.js +4 -0
- package/dist/cdn/4ZTQ3GJN.js +4 -0
- package/dist/cdn/56B3WXPT.js +4 -0
- package/dist/cdn/{JFSAPOGV.js → 5FRQWVHW.js} +2 -2
- package/dist/cdn/5K4P5FF5.js +4 -0
- package/dist/cdn/5TF3MXYM.js +4 -0
- package/dist/cdn/{4HN3TSXU.js → 5VDGROMO.js} +2 -2
- package/dist/cdn/5ZDORFC4.js +4 -0
- package/dist/cdn/65N2B6VE.js +4 -0
- package/dist/cdn/{YDAIHWZS.js → 6GFXDSYI.js} +2 -2
- package/dist/cdn/6HNO5F3T.js +4 -0
- package/dist/cdn/{G2YNALPI.js → 6IUHMHFW.js} +2 -2
- package/dist/cdn/{EYJ7E6M7.js → 6LVFNC6B.js} +2 -2
- package/dist/cdn/6MD7JHRH.js +4 -0
- package/dist/cdn/6QGNPX4U.js +4 -0
- package/dist/cdn/6TBJX27P.js +4 -0
- package/dist/cdn/6WWTY4I2.js +4 -0
- package/dist/cdn/6ZEHRGF3.js +58 -0
- package/dist/cdn/{RH5OUTAK.js → 73W26EEK.js} +2 -2
- package/dist/cdn/73ZVWIZK.js +4 -0
- package/dist/cdn/{QJARG3WZ.js → 75WQFN3N.js} +2 -2
- package/dist/cdn/7E5UC22R.js +4 -0
- package/dist/cdn/{JI4UNOYW.js → 7FSXM4QJ.js} +2 -2
- package/dist/cdn/{WTLGREJQ.js → 7IE6GICS.js} +2 -2
- package/dist/cdn/7K5YUJRY.js +4 -0
- package/dist/cdn/{B4OGLXF4.js → 7MFFL5MF.js} +2 -2
- package/dist/cdn/7MV4RWYI.js +4 -0
- package/dist/cdn/{GWMAIDFR.js → 7OSG3ZVC.js} +2 -2
- package/dist/cdn/{Y3L2K7EC.js → 7QYRKF3J.js} +2 -2
- package/dist/cdn/{DWBQZV5P.js → 7QZ27WVK.js} +2 -2
- package/dist/cdn/AJTK66CY.js +4 -0
- package/dist/cdn/{4MH6EDOJ.js → AQ7Y35MR.js} +2 -2
- package/dist/cdn/ASKXQFDV.js +6 -0
- package/dist/cdn/{6Y2WTGYS.js → AZ34HLMK.js} +1 -1
- package/dist/cdn/{X36VPED7.js → B2YZY55Z.js} +2 -2
- package/dist/cdn/BD3AJJ6H.js +4 -0
- package/dist/cdn/BDMBE5K2.js +4 -0
- package/dist/cdn/BOBGZQQ7.js +4 -0
- package/dist/cdn/BPKDFRF7.js +42 -0
- package/dist/cdn/{B6YQ4QEG.js → BPQSRV7P.js} +2 -2
- package/dist/cdn/BRE7XB7D.js +4 -0
- package/dist/cdn/CCJM3DSD.js +4 -0
- package/dist/cdn/CQOLPMPI.js +4 -0
- package/dist/cdn/{I37V2JO3.js → CZKXRUDD.js} +2 -2
- package/dist/cdn/{4Y76B53C.js → CZU6FIXV.js} +1 -1
- package/dist/cdn/D7DLBDTJ.js +4 -0
- package/dist/cdn/{ENFYCO6Y.js → DBMRQCOW.js} +2 -2
- package/dist/cdn/DCI2UGKH.js +4 -0
- package/dist/cdn/{42JULKHJ.js → DDY722Y3.js} +2 -2
- package/dist/cdn/DEALJAMC.js +4 -0
- package/dist/cdn/DGZCL3VC.js +4 -0
- package/dist/cdn/DLNTXUAG.js +4 -0
- package/dist/cdn/{R42W4J6D.js → DO5KFXTU.js} +2 -2
- package/dist/cdn/{FQBAURSX.js → E3ROT73N.js} +2 -2
- package/dist/cdn/EB223YOT.js +4 -0
- package/dist/cdn/EMCVTVV2.js +4 -0
- package/dist/cdn/{O46V6LSJ.js → EOR7U3GM.js} +2 -2
- package/dist/cdn/EPYQSE3E.js +4 -0
- package/dist/cdn/{UJIV2GMU.js → ESPPAZSC.js} +2 -2
- package/dist/cdn/EUNHUD4T.js +4 -0
- package/dist/cdn/EWEOCSGF.js +4 -0
- package/dist/cdn/{BX2R4UF4.js → FBL3GCBZ.js} +2 -2
- package/dist/cdn/FE4TGIGQ.js +4 -0
- package/dist/cdn/FOTHNKVL.js +4 -0
- package/dist/cdn/GGLUK743.js +4 -0
- package/dist/cdn/{L7Q66XTZ.js → GNLQASHI.js} +2 -2
- package/dist/cdn/GUNE3WAD.js +4 -0
- package/dist/cdn/HBQL2EMD.js +4 -0
- package/dist/cdn/{SS2WV4YY.js → HKGMOLRD.js} +2 -2
- package/dist/cdn/{GSQPRROD.js → HOVVFC6L.js} +1 -1
- package/dist/cdn/{XUDQTQ2B.js → HUFUYBXQ.js} +2 -2
- package/dist/cdn/IE2CSYBS.js +4 -0
- package/dist/cdn/IFR6ALG3.js +4 -0
- package/dist/cdn/{VZFHCTN6.js → ITSZ4YD4.js} +2 -2
- package/dist/cdn/{KLVSGHXQ.js → ITUN2QII.js} +1 -1
- package/dist/cdn/JGROWYBR.js +4 -0
- package/dist/cdn/JXQSYJVI.js +4 -0
- package/dist/cdn/K7F4PSI5.js +4 -0
- package/dist/cdn/KM6SKHS4.js +4 -0
- package/dist/cdn/KQQ5VAE6.js +4 -0
- package/dist/cdn/KSCQFK6O.js +4 -0
- package/dist/cdn/{6RITOQRE.js → KUPA4NYH.js} +2 -2
- package/dist/cdn/KX7LDT5U.js +4 -0
- package/dist/cdn/KYDE5BGL.js +4 -0
- package/dist/cdn/LF7AMLBG.js +4 -0
- package/dist/cdn/LI2AXX7D.js +4 -0
- package/dist/cdn/{VHG2HOUR.js → LJ5H3EO5.js} +1 -1
- package/dist/cdn/LQGZWMRT.js +4 -0
- package/dist/cdn/LTSZFIWS.js +4 -0
- package/dist/cdn/{7TE6OUWS.js → M54E6TIX.js} +2 -2
- package/dist/cdn/MBLT3A4I.js +4 -0
- package/dist/cdn/MCKPYCTD.js +4 -0
- package/dist/cdn/MCV3E2I2.js +4 -0
- package/dist/cdn/MGMDX2EP.js +4 -0
- package/dist/cdn/MNKDT6BW.js +4 -0
- package/dist/cdn/{ZEDBVEQU.js → MON3GOYU.js} +2 -2
- package/dist/cdn/MONZXQFL.js +4 -0
- package/dist/cdn/{DH6JYYIL.js → MRWATTMH.js} +2 -2
- package/dist/cdn/MSBQUANQ.js +4 -0
- package/dist/cdn/{S4T5AQ4M.js → MUYWWUUH.js} +2 -2
- package/dist/cdn/MX5QEBH7.js +4 -0
- package/dist/cdn/{YBCMFT4P.js → N2WUJDMX.js} +2 -2
- package/dist/cdn/{BPIKEEVZ.js → N5V6KSCF.js} +1 -1
- package/dist/cdn/N6GCNUV6.js +4 -0
- package/dist/cdn/NDVKLOWQ.js +4 -0
- package/dist/cdn/{J6LD6RWO.js → NTEKAWBR.js} +2 -2
- package/dist/cdn/NUHER3TV.js +4 -0
- package/dist/cdn/O7A3JPG3.js +4 -0
- package/dist/cdn/OBKNESYE.js +4 -0
- package/dist/cdn/OC27INJI.js +4 -0
- package/dist/cdn/{DVQHHAGO.js → OEGM43I2.js} +2 -2
- package/dist/cdn/OMLXUVQV.js +4 -0
- package/dist/cdn/{3MBGYMFR.js → OPET2ZL3.js} +2 -2
- package/dist/cdn/{VE4GUPP2.js → ORQTLQWG.js} +2 -2
- package/dist/cdn/{JAT727M4.js → P2KYKGKC.js} +2 -2
- package/dist/cdn/PSC2QJ6V.js +4 -0
- package/dist/cdn/PZTCT3O6.js +4 -0
- package/dist/cdn/{MCECYQEL.js → Q7J4XVHV.js} +1 -1
- package/dist/cdn/QJOY6R6C.js +4 -0
- package/dist/cdn/QJZ5HSKO.js +4 -0
- package/dist/cdn/{XV3PGOV6.js → QOC5F655.js} +2 -2
- package/dist/cdn/{I5BOKXFX.js → QPYCZS2J.js} +2 -2
- package/dist/cdn/QPYJ2BQR.js +4 -0
- package/dist/cdn/{4EAY23CO.js → QXJGNOKP.js} +2 -2
- package/dist/cdn/{S7PVBK5H.js → RACOQRIM.js} +2 -2
- package/dist/cdn/RBFJQGQW.js +4 -0
- package/dist/cdn/RKJ2VOJT.js +4 -0
- package/dist/cdn/ROSZCBTB.js +4 -0
- package/dist/cdn/SDSLJEJ3.js +4 -0
- package/dist/cdn/SDZKVQF4.js +4 -0
- package/dist/cdn/{5VHSBJY5.js → SLQYOCWK.js} +2 -2
- package/dist/cdn/SLWEYPSF.js +4 -0
- package/dist/cdn/{4LXKAKH2.js → SRUPTSGZ.js} +2 -2
- package/dist/cdn/SWMCPMFU.js +4 -0
- package/dist/cdn/SYMM6Y5F.js +4 -0
- package/dist/cdn/TFAT2LHV.js +4 -0
- package/dist/cdn/THCEHAJB.js +4 -0
- package/dist/cdn/TSSW2P5M.js +4 -0
- package/dist/cdn/U3KXGGKE.js +4 -0
- package/dist/cdn/UEZW2QWD.js +4 -0
- package/dist/cdn/UT6CHOS4.js +4 -0
- package/dist/cdn/VG5CREWQ.js +4 -0
- package/dist/cdn/{DQK7BSUW.js → VZJEGMXW.js} +2 -2
- package/dist/cdn/{CJ275XU4.js → W6HTSCIB.js} +2 -2
- package/dist/cdn/WA3GMUXR.js +4 -0
- package/dist/cdn/{XGDUULNK.js → WALBJMWU.js} +2 -2
- package/dist/cdn/{EEA6D5WP.js → WDZPULCA.js} +2 -2
- package/dist/cdn/{7JODQO5M.js → WNALF6OP.js} +2 -2
- package/dist/cdn/{ETWNVAK6.js → WZG3AOTR.js} +2 -2
- package/dist/cdn/{RQWOQMQU.js → XAKIME6A.js} +2 -2
- package/dist/cdn/{JYOVFITP.js → XJDELVYY.js} +2 -2
- package/dist/cdn/XLEFOCQT.js +4 -0
- package/dist/cdn/{J4MDZ7ET.js → XP4SMLNF.js} +2 -2
- package/dist/cdn/{J5NQV6XX.js → XR4OO6TX.js} +2 -2
- package/dist/cdn/XWKXBW5I.js +4 -0
- package/dist/cdn/{CFG6BWHU.js → YDQLSLAN.js} +2 -2
- package/dist/cdn/YIPSJCGP.js +4 -0
- package/dist/cdn/YOZVYD52.js +4 -0
- package/dist/cdn/{JX5UB5EC.js → YSG32BWE.js} +2 -2
- package/dist/cdn/{3RWMBH3I.js → YVFMU5VS.js} +2 -2
- package/dist/cdn/YYLXLY3J.js +4 -0
- package/dist/cdn/Z47QQ7A2.js +4 -0
- package/dist/cdn/ZJE37JES.js +4 -0
- package/dist/cdn/ZKDHTCI2.js +4 -0
- package/dist/cdn/{X22T3KKM.js → ZNMGTGUY.js} +2 -2
- package/dist/cdn/ZXS6CTZI.js +4 -0
- package/dist/cdn/ZXVDYSGV.js +4 -0
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/axes/index.d.ts +1 -1
- package/dist/chart-rendering/common/color-match/renderer-color-match/index.d.ts +0 -1
- package/dist/chart-rendering/common/config-utils/index.d.ts +13 -120
- package/dist/chart-rendering/common/data/index.d.ts +9 -6
- package/dist/chart-rendering/common/data/selection/filter/index.d.ts +9 -0
- package/dist/chart-rendering/common/data/selection/filter/interfaces.d.ts +3 -0
- package/dist/chart-rendering/common/data/utils/misc/index.d.ts +3 -166
- package/dist/chart-rendering/common/data/utils/query-parser/time-binning/index.d.ts +13 -0
- package/dist/chart-rendering/common/data/utils/selection/index.d.ts +2 -2
- package/dist/chart-rendering/common/data/utils/summarize-data/index.d.ts +2 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/time-binning/index.d.ts +2 -2
- package/dist/chart-rendering/common/defaults/interfaces.d.ts +6 -8
- package/dist/chart-rendering/common/error-utils/index.d.ts +2 -2
- package/dist/chart-rendering/common/events/index.d.ts +2 -4
- package/dist/chart-rendering/common/interfaces.d.ts +22 -8
- package/dist/chart-rendering/common/loading-indicator/index.d.ts +4 -0
- package/dist/chart-rendering/common/memory-storage/interfaces.d.ts +2 -3
- package/dist/chart-rendering/common/series/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/common/symbols/utils/index.d.ts +9 -0
- package/dist/chart-rendering/common/t9n/errors/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/axes/gauge/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/axes/histogram/index.d.ts +8 -2
- package/dist/chart-rendering/next/chart-library-elements/axes/index.d.ts +9 -2
- package/dist/chart-rendering/next/chart-library-elements/axes/utils/axis-format/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/labels/data-label/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/labels/data-label/utils.d.ts +6 -1
- package/dist/chart-rendering/next/chart-library-elements/legend/heat-legend/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
- package/dist/chart-rendering/next/chart-library-elements/loading-indicator/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
- package/dist/chart-rendering/next/chart-library-elements/series/bar-chart/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/interfaces.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/scatter-plot/interfaces.d.ts +1 -0
- package/dist/chart-rendering/next/chart-library-elements/series/utils/index.d.ts +3 -4
- package/dist/chart-rendering/next/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
- package/dist/chart-rendering/next/chart-library-elements/tooltips/bar-chart/index.d.ts +2 -1
- package/dist/chart-rendering/next/chart-library-elements/tooltips/heat-chart/index.d.ts +4 -4
- package/dist/chart-rendering/next/chart-library-elements/tooltips/histogram/index.d.ts +3 -2
- package/dist/chart-rendering/next/chart-library-elements/tooltips/pie-chart/index.d.ts +2 -2
- package/dist/chart-rendering/next/chart-library-elements/tooltips/scatter-plot/index.d.ts +6 -1
- package/dist/chart-rendering/next/chart-library-elements/tooltips/utils/index.d.ts +22 -4
- package/dist/chart-rendering/next/defaults/index.d.ts +3 -0
- package/dist/chart-rendering/next/index.d.ts +2 -2
- package/dist/chart-rendering/next/interfaces.d.ts +3 -0
- package/dist/chart-rendering/next/utils/chart-modal/index.d.ts +4 -4
- package/dist/chart-rendering/next/utils/index.d.ts +15 -7
- package/dist/chart-rendering/stable/chart-library-elements/axes/histogram/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/axes/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/axes/scatter-plot/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-format/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-renderer/index.d.ts +2 -2
- package/dist/chart-rendering/stable/chart-library-elements/label/utils/gauge/index.d.ts +5 -0
- package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
- package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/index.d.ts +2 -1
- package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
- package/dist/chart-rendering/stable/chart-library-elements/series/histogram/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/histogram/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
- package/dist/chart-rendering/stable/index.d.ts +8 -4
- package/dist/chart-rendering/stable/interfaces.d.ts +2 -1
- package/dist/chart-rendering/stable/utils/error-modal/index.d.ts +8 -10
- package/dist/chart-rendering/stable/utils/memory-storage/interfaces.d.ts +1 -0
- package/dist/chart-rendering/stable/utils/misc/index.d.ts +2 -8
- package/dist/chunks/action-bar-utils.js +32 -24
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +22 -13
- package/dist/chunks/bar-chart-series.js +21 -12
- package/dist/chunks/baseline-stacking.js +49 -40
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +231 -207
- package/dist/chunks/box-plot-model.js +57 -51
- package/dist/chunks/chart-ui-utils.js +17 -23
- package/dist/chunks/chart-ui-utils2.js +58 -50
- package/dist/chunks/combo-bar-line-chart-model.js +52 -57
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +146 -5393
- package/dist/chunks/data.js +61 -924
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +31 -23
- package/dist/chunks/heat-chart-model.js +176 -51
- package/dist/chunks/histogram-data.js +55 -47
- package/dist/chunks/histogram-model.js +19 -11
- package/dist/chunks/index.js +23743 -2182
- package/dist/chunks/index2.js +670 -36
- package/dist/chunks/index3.js +90 -63
- package/dist/chunks/index4.js +62 -91
- package/dist/chunks/interfaces.js +90 -16256
- package/dist/chunks/line-chart-model.js +17 -9
- package/dist/chunks/model-with-baseline-stacking.js +18 -28
- package/dist/chunks/model-with-data-labels.js +30 -21
- package/dist/chunks/model-with-multi-axes.js +166 -203
- package/dist/chunks/model-with-rotation.js +14 -5
- package/dist/chunks/pie-chart-data.js +144 -128
- package/dist/chunks/pie-chart-model.js +81 -73
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +15 -7
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +44 -36
- package/dist/chunks/serial-chart-data.js +912 -0
- package/dist/chunks/serial-chart-model.js +60 -46
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +18 -9
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +22 -13
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +204 -189
- package/dist/components/arcgis-chart/customElement.d.ts +21 -16
- package/dist/components/arcgis-chart/customElement.js +8032 -7814
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +2 -3
- package/dist/components/arcgis-charts-action-bar/customElement.js +24 -16
- package/dist/components/arcgis-charts-config-axes/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-axis/customElement.js +24 -24
- package/dist/components/arcgis-charts-config-axis/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +45 -41
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +116 -109
- package/dist/components/arcgis-charts-config-bar-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +34 -27
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +25 -15
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +19 -10
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +34 -30
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +36 -23
- package/dist/components/arcgis-charts-config-box-plot-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +31 -24
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +13 -4
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +24 -15
- package/dist/components/arcgis-charts-config-category-format/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +27 -24
- package/dist/components/arcgis-charts-config-color-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-colors/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +143 -148
- package/dist/components/arcgis-charts-config-field-select/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-font-style/customElement.js +24 -15
- package/dist/components/arcgis-charts-config-format/customElement.js +34 -25
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +13 -4
- package/dist/components/arcgis-charts-config-general/customElement.js +27 -18
- package/dist/components/arcgis-charts-config-guide/customElement.js +23 -24
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +17 -8
- package/dist/components/arcgis-charts-config-guides/customElement.js +32 -36
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +21 -12
- package/dist/components/arcgis-charts-config-histogram/customElement.js +37 -33
- package/dist/components/arcgis-charts-config-histogram-data/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +29 -20
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +17 -8
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +37 -33
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +69 -52
- package/dist/components/arcgis-charts-config-line-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +24 -15
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +36 -27
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +19 -10
- package/dist/components/arcgis-charts-config-line-style/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-line-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-number-format/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +48 -44
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +48 -35
- package/dist/components/arcgis-charts-config-pie-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +45 -36
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +31 -22
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +15 -6
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +33 -29
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +60 -45
- package/dist/components/arcgis-charts-config-scatter-plot-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +22 -13
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +24 -11
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +22 -13
- package/dist/docs/api.json +28 -95
- package/dist/docs/docs.json +116 -100
- package/dist/docs/vscode.html-custom-data.json +6 -2
- package/dist/docs/web-types.json +13 -8
- package/dist/index.js +426 -406
- package/dist/json-schema/index.d.ts +13 -2
- package/dist/loader.js +2 -2
- package/dist/model/box-plot-model/box-plot-model.d.ts +2 -4
- package/dist/model/box-plot-model/utils/box-plot-data.d.ts +2 -0
- package/dist/model/chart-model/chart-model.d.ts +8 -23
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +30 -43
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +75 -10
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +61 -6
- package/dist/model/mixins/model-with-baseline-stacking.d.ts +4 -10
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +13 -17
- package/dist/model/mixins/model-with-multi-axes.d.ts +24 -50
- package/dist/model/mixins/utils/baseline-stacking.d.ts +5 -11
- package/dist/model/mixins/utils/line-marker-styling.d.ts +18 -23
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -4
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +6 -4
- package/dist/model/shared/axes.d.ts +0 -3
- package/dist/model/shared/data.d.ts +44 -2
- package/dist/model.js +1 -1
- package/dist/spec/data-source.d.ts +11 -0
- package/dist/spec/web-chart.d.ts +6 -4
- package/dist/store.d.ts +24 -3
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/preact10.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.d.ts +27 -3
- package/dist/utils/chart-config/utils/index.d.ts +260 -1
- package/dist/utils/chart-config/validator/index.d.ts +10 -10
- package/dist/utils/components/config-update.d.ts +21 -8
- package/dist/utils/components/data-update.d.ts +36 -0
- package/dist/utils/components/watch-handlers.d.ts +12 -12
- package/dist/utils/components/web-component-utils.d.ts +8 -2
- package/dist/utils/data/interfaces.d.ts +30 -2
- package/dist/utils/data/time-binning/interfaces.d.ts +0 -4
- package/dist/utils/defaults/index.d.ts +1 -1
- package/dist/utils/defaults/interfaces.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +44 -1
- package/dist/utils/layer/interfaces.d.ts +1 -0
- package/dist/utils/layer/query-features/index.d.ts +3 -3
- package/dist/utils/layer/query-parser/index.d.ts +8 -0
- package/dist/utils/layer/utils/index.d.ts +3 -3
- package/dist/utils/misc/index.d.ts +1 -1
- package/dist/utils/misc/interfaces.d.ts +1 -1
- package/dist/utils/ui/chart-ui-utils.d.ts +2 -1
- package/package.json +5 -5
- package/dist/cdn/2HIESHCK.js +0 -4
- package/dist/cdn/2JOGVVDJ.js +0 -4
- package/dist/cdn/2OR3NHGS.js +0 -4
- package/dist/cdn/2T3FKIKD.js +0 -4
- package/dist/cdn/3FPVN4WA.js +0 -4
- package/dist/cdn/3VT6VDXV.js +0 -6
- package/dist/cdn/3XDQPIZW.js +0 -4
- package/dist/cdn/4LFWDONF.js +0 -4
- package/dist/cdn/4QX45F5S.js +0 -4
- package/dist/cdn/4UCYNEJJ.js +0 -4
- package/dist/cdn/4XMAIN2E.js +0 -4
- package/dist/cdn/5O5PYF2D.js +0 -4
- package/dist/cdn/5PBT5VWS.js +0 -4
- package/dist/cdn/5V3CXHDL.js +0 -4
- package/dist/cdn/5YIO2GLZ.js +0 -4
- package/dist/cdn/6354Q7NB.js +0 -4
- package/dist/cdn/6CCMPHJI.js +0 -4
- package/dist/cdn/6MIYMT56.js +0 -4
- package/dist/cdn/73GA5EXO.js +0 -4
- package/dist/cdn/76CEXLKL.js +0 -4
- package/dist/cdn/7PMS3DYX.js +0 -4
- package/dist/cdn/A7F3IPBY.js +0 -4
- package/dist/cdn/ALNWHMNW.js +0 -4
- package/dist/cdn/AVER3U52.js +0 -4
- package/dist/cdn/AXPN4FNV.js +0 -4
- package/dist/cdn/BBT33245.js +0 -4
- package/dist/cdn/BO6GDR27.js +0 -4
- package/dist/cdn/BP7HF2AD.js +0 -4
- package/dist/cdn/CF277RPC.js +0 -4
- package/dist/cdn/CFKF5LDT.js +0 -4
- package/dist/cdn/CK5IM3GO.js +0 -4
- package/dist/cdn/CRP2AMFE.js +0 -4
- package/dist/cdn/DCYBICHJ.css +0 -1
- package/dist/cdn/DTVGPIJ3.js +0 -4
- package/dist/cdn/E3QCVPG4.js +0 -4
- package/dist/cdn/E6O5I55W.js +0 -4
- package/dist/cdn/EKB3B7EF.js +0 -4
- package/dist/cdn/FBWO7D6S.js +0 -4
- package/dist/cdn/FN6TDQYA.js +0 -4
- package/dist/cdn/FRJUF57I.js +0 -4
- package/dist/cdn/FXQUU3E2.js +0 -4
- package/dist/cdn/GMBZEXQX.js +0 -42
- package/dist/cdn/GVRKARMU.js +0 -4
- package/dist/cdn/H4KX74BW.js +0 -4
- package/dist/cdn/H5E32YO2.js +0 -4
- package/dist/cdn/H6M72SCY.js +0 -4
- package/dist/cdn/HAJ3HITN.js +0 -4
- package/dist/cdn/HCZAZ5NC.js +0 -4
- package/dist/cdn/HMCSR3Q5.js +0 -4
- package/dist/cdn/I6SMUBK4.js +0 -4
- package/dist/cdn/IBJ3ADC7.js +0 -4
- package/dist/cdn/II4CG7JE.js +0 -4
- package/dist/cdn/IIGVC6UH.js +0 -4
- package/dist/cdn/IMXTIBFY.js +0 -4
- package/dist/cdn/IPIPBPC6.js +0 -4
- package/dist/cdn/IRT42ZDF.js +0 -4
- package/dist/cdn/ITJI4AFT.js +0 -4
- package/dist/cdn/IVQM662J.js +0 -4
- package/dist/cdn/J7BOL2US.js +0 -4
- package/dist/cdn/J7XKLSKH.js +0 -4
- package/dist/cdn/J7YWPXDD.js +0 -4
- package/dist/cdn/JM4VWVPS.js +0 -4
- package/dist/cdn/JMDCNX7N.js +0 -4
- package/dist/cdn/JNE4Z6G5.js +0 -4
- package/dist/cdn/KC2RQX4R.js +0 -4
- package/dist/cdn/KEEA57RQ.js +0 -4
- package/dist/cdn/KHMU6HLZ.js +0 -58
- package/dist/cdn/L6KF75O5.js +0 -4
- package/dist/cdn/MCWQHEPF.js +0 -4
- package/dist/cdn/MQX4DPA6.js +0 -4
- package/dist/cdn/NAQM6RP7.js +0 -4
- package/dist/cdn/NDW2U7KB.js +0 -4
- package/dist/cdn/NPMQQH4S.js +0 -4
- package/dist/cdn/NRHWX6SR.js +0 -4
- package/dist/cdn/O73SAQIW.js +0 -4
- package/dist/cdn/OQTZ7B6W.js +0 -4
- package/dist/cdn/OWMDCQRI.js +0 -4
- package/dist/cdn/P5U4M276.js +0 -4
- package/dist/cdn/P7NTKSG6.js +0 -4
- package/dist/cdn/P7PPAJGS.js +0 -4
- package/dist/cdn/PPV5OKLH.js +0 -4
- package/dist/cdn/QFMSUZRQ.js +0 -4
- package/dist/cdn/QGLIMHMS.js +0 -4
- package/dist/cdn/QY3ZJ6XT.js +0 -4
- package/dist/cdn/QZ4B6KQZ.js +0 -4
- package/dist/cdn/R4JF6H5G.js +0 -4
- package/dist/cdn/RJLDFLMS.js +0 -4
- package/dist/cdn/RW73AOAV.js +0 -4
- package/dist/cdn/RX3WGJ2K.js +0 -4
- package/dist/cdn/SE3Q7IDB.js +0 -4
- package/dist/cdn/SE4OMJXM.js +0 -4
- package/dist/cdn/SZI274L4.js +0 -4
- package/dist/cdn/T27DWGVP.js +0 -4
- package/dist/cdn/TJTV5KU7.js +0 -4
- package/dist/cdn/U6CGXT4H.js +0 -4
- package/dist/cdn/UF7XCMGM.js +0 -4
- package/dist/cdn/V3MCTZ24.js +0 -4
- package/dist/cdn/W6WZHJCR.js +0 -4
- package/dist/cdn/WCRIFKUU.js +0 -4
- package/dist/cdn/WMYPI52V.js +0 -4
- package/dist/cdn/WQIZBBZX.js +0 -4
- package/dist/cdn/XY5HKZ4D.js +0 -4
- package/dist/cdn/YTTML4TM.js +0 -4
- package/dist/cdn/Z4SHW63D.js +0 -4
- package/dist/cdn/ZDIZOBJS.js +0 -4
- package/dist/cdn/ZFXICCAR.js +0 -4
- package/dist/cdn/ZGSSASAI.js +0 -4
- package/dist/cdn/ZHNY5GNR.js +0 -4
- package/dist/cdn/ZIJTOWYD.js +0 -4
- package/dist/cdn/ZK74JJQQ.js +0 -4
- package/dist/cdn/ZNXJXIA6.js +0 -4
- package/dist/cdn/ZVHDD22N.js +0 -4
- package/dist/cdn/ZVSUDJHS.js +0 -4
- package/dist/cdn/stdin.css +0 -1
- package/dist/chart-rendering/common/data/utils/misc/interfaces.d.ts +0 -30
- package/dist/chunks/index5.js +0 -66
- package/dist/chunks/interfaces2.js +0 -18
- package/dist/chunks/interfaces3.js +0 -96
- package/dist/chunks/interfaces4.js +0 -491
- package/dist/test/chart-rendering/test-utils/utils.d.ts +0 -15
- package/dist/test/utils/test-utils/utils.d.ts +0 -13
|
@@ -74,8 +74,8 @@ export declare abstract class ModelWithLineMarkerStyling extends ChartModel {
|
|
|
74
74
|
isLineSmoothed(seriesIndex: number): boolean;
|
|
75
75
|
/**
|
|
76
76
|
* Specify whether line segments of the series should be smoothed.
|
|
77
|
-
* @param {boolean}
|
|
78
|
-
* @param {number}
|
|
77
|
+
* @param {boolean} smoothed - `true` if line segment of the series should be smoothed, `false` otherwise.
|
|
78
|
+
* @param {number} seriesIndex - The index of the series.
|
|
79
79
|
*/
|
|
80
80
|
setLineSmoothed(smoothed: boolean, seriesIndex: number): void;
|
|
81
81
|
/**
|
|
@@ -86,12 +86,10 @@ export declare abstract class ModelWithLineMarkerStyling extends ChartModel {
|
|
|
86
86
|
*/
|
|
87
87
|
getConnectLines(seriesIndex: number): boolean | undefined;
|
|
88
88
|
/**
|
|
89
|
-
* Specify
|
|
90
|
-
*
|
|
91
|
-
* @param {
|
|
92
|
-
*
|
|
93
|
-
* NOTE: Can be overridden by the temporal data setting `nullPolicy`.
|
|
94
|
-
*
|
|
89
|
+
* Specify whether to connect the lines when there's a gap in the data.
|
|
90
|
+
* **Note:** Can be overridden by the temporal data setting `nullPolicy`.
|
|
91
|
+
* @param {boolean | undefined} connect - Whether to connect the gap in the data
|
|
92
|
+
* @param {number} seriesIndex - The index of the series.
|
|
95
93
|
*/
|
|
96
94
|
setConnectLines(connect: boolean | undefined, seriesIndex: number): void;
|
|
97
95
|
/**
|
|
@@ -104,8 +102,8 @@ export declare abstract class ModelWithLineMarkerStyling extends ChartModel {
|
|
|
104
102
|
isAreaVisible(seriesIndex: number): boolean;
|
|
105
103
|
/**
|
|
106
104
|
* Specify whether the line series should show area.
|
|
107
|
-
* @param {boolean}
|
|
108
|
-
* @param {number}
|
|
105
|
+
* @param {boolean} visible - `true` if the line series should show area, `false` otherwise.
|
|
106
|
+
* @param {number} seriesIndex - The index of the series.
|
|
109
107
|
*/
|
|
110
108
|
setAreaVisible(visible: boolean, seriesIndex: number): void;
|
|
111
109
|
/**
|
|
@@ -118,23 +116,21 @@ export declare abstract class ModelWithLineMarkerStyling extends ChartModel {
|
|
|
118
116
|
isMarkerVisible(seriesIndex: number): boolean;
|
|
119
117
|
/**
|
|
120
118
|
* Indicate whether to show or hide the markers/bullets of the line series.
|
|
121
|
-
* @param {boolean}
|
|
122
|
-
* @param {number}
|
|
119
|
+
* @param {boolean} visible - `true` if the markers/bullets of the line series should be shown, `false` otherwise.
|
|
120
|
+
* @param {number} seriesIndex - The index of the series.
|
|
123
121
|
*/
|
|
124
122
|
setMarkerVisible(visible: boolean, seriesIndex: number): void;
|
|
125
123
|
/**
|
|
126
124
|
* Specify the color of the filled area for line chart.
|
|
125
|
+
* **Note:** `areaColor` will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
127
126
|
* @param {number} seriesIndex - The index of the series.
|
|
128
|
-
*
|
|
129
|
-
* NOTE: areaColor will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
130
|
-
*
|
|
131
127
|
* @returns {Color | undefined}
|
|
132
128
|
*/
|
|
133
129
|
getAreaColor(seriesIndex: number): Color | undefined;
|
|
134
130
|
/**
|
|
135
131
|
* Specify the color of the filled area for line chart.
|
|
136
|
-
* @param {Color | undefined}
|
|
137
|
-
* @param {number}
|
|
132
|
+
* @param {Color | undefined} color - The color of the filled area for line chart.
|
|
133
|
+
* @param {number} seriesIndex - The index of the series.
|
|
138
134
|
*/
|
|
139
135
|
setAreaColor(color: Color | undefined, seriesIndex: number): void;
|
|
140
136
|
}
|
|
@@ -11,11 +11,9 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
11
11
|
getAxisTitleText(axisIndex: number): string;
|
|
12
12
|
/**
|
|
13
13
|
* Sets the title text for the specified axis.
|
|
14
|
+
* **Note:** The title text for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
14
15
|
* @param {string} titleText The title text for the axis.
|
|
15
16
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
16
|
-
*
|
|
17
|
-
* **NOTE**: The title text for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
18
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
19
17
|
*/
|
|
20
18
|
setAxisTitleText(titleText: string, axisIndex: number): void;
|
|
21
19
|
/**
|
|
@@ -26,11 +24,9 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
26
24
|
getAxisTitleVisibility(axisIndex: number): boolean;
|
|
27
25
|
/**
|
|
28
26
|
* Sets the visibility of the specified axis title.
|
|
27
|
+
* **Note:** The title visibility for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
29
28
|
* @param {boolean} isVisible The visibility state for the axis title.
|
|
30
29
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
31
|
-
*
|
|
32
|
-
* **NOTE**: The title visibility for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
33
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
34
30
|
*/
|
|
35
31
|
setAxisTitleVisibility(isVisible: boolean, axisIndex: number): void;
|
|
36
32
|
/**
|
|
@@ -41,11 +37,9 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
41
37
|
getMaxBound(axisIndex: number): number;
|
|
42
38
|
/**
|
|
43
39
|
* Sets the maximum bound for the specified axis.
|
|
40
|
+
* **Note:** The maximum bound for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
44
41
|
* @param {number | null} newMaxBound The value to set as the maximum bound.
|
|
45
42
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
46
|
-
*
|
|
47
|
-
* **NOTE**: The maximum bound for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
48
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
49
43
|
*/
|
|
50
44
|
setMaxBound(newMaxBound: number | null, axisIndex: number): void;
|
|
51
45
|
/**
|
|
@@ -56,11 +50,9 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
56
50
|
getMinBound(axisIndex: number): number;
|
|
57
51
|
/**
|
|
58
52
|
* Sets the minimum bound for the specified axis.
|
|
53
|
+
* **Note:** The minimum bound for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
59
54
|
* @param {number | null} newMinBound The value to set as the minimum bound.
|
|
60
55
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
61
|
-
*
|
|
62
|
-
* **NOTE**: The minimum bound for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
63
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
64
56
|
*/
|
|
65
57
|
setMinBound(newMinBound: number | null, axisIndex: number): void;
|
|
66
58
|
/**
|
|
@@ -71,11 +63,9 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
71
63
|
getAxisValueFormat(axisIndex: number): CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions | undefined;
|
|
72
64
|
/**
|
|
73
65
|
* Sets the value format for the specified axis.
|
|
66
|
+
* **Note:** The value format for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
74
67
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
75
68
|
* @param {CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions} valueFormat The value format to set.
|
|
76
|
-
*
|
|
77
|
-
* **NOTE**: The value format for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
78
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
79
69
|
*/
|
|
80
70
|
setAxisValueFormat(axisIndex: number, valueFormat?: CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions): void;
|
|
81
71
|
/**
|
|
@@ -91,16 +81,11 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
91
81
|
getLogarithmic(axisIndex: number): boolean;
|
|
92
82
|
/**
|
|
93
83
|
* Sets whether logarithmic scale is enabled for the specified axis.
|
|
94
|
-
*
|
|
95
84
|
* `true`: Enable logarithmic scale for the specified axis.
|
|
96
|
-
*
|
|
97
85
|
* `false`: Disable logarithmic scale for the specified axis.
|
|
98
|
-
*
|
|
86
|
+
* **Note:** The logarithmic scale for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
99
87
|
* @param {boolean} isLogarithmic Whether to enable logarithmic scale for the specified axis.
|
|
100
88
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
101
|
-
*
|
|
102
|
-
* **NOTE**: The logarithmic scale for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
103
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
104
89
|
*/
|
|
105
90
|
setLogarithmic(isLogarithmic: boolean, axisIndex: number): void;
|
|
106
91
|
/**
|
|
@@ -111,25 +96,22 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
111
96
|
getAxisScrollbar(axisIndex: number): WebChartAxisScrollBar | undefined;
|
|
112
97
|
/**
|
|
113
98
|
* Sets the scrollbar configuration for the specified axis.
|
|
99
|
+
* **Note:** The scrollbar configuration for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
114
100
|
* @param {WebChartAxisScrollBar} scrollbar The scrollbar configuration to set.
|
|
115
101
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
116
|
-
*
|
|
117
|
-
* **NOTE**: The scrollbar configuration for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
118
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
119
102
|
*/
|
|
120
103
|
setAxisScrollbar(scrollbar: WebChartAxisScrollBar, axisIndex: number): void;
|
|
121
104
|
/**
|
|
122
105
|
* Gets the specified title text symbol. Contains styling information such as font, color, and symbol style.
|
|
106
|
+
* @param {number} axisIndex The index of the axis to get the title symbol for
|
|
123
107
|
* @returns {WebChartTextSymbol | undefined}
|
|
124
108
|
*/
|
|
125
109
|
getAxisTitleSymbol(axisIndex: number): WebChartTextSymbol | undefined;
|
|
126
110
|
/**
|
|
127
111
|
* Sets the title text symbol for the specified axis. Contains styling information such as font, color, and symbol style.
|
|
112
|
+
* **Note:** The title text symbol for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
128
113
|
* @param {WebChartTextSymbol | undefined} titleSymbol The title text symbol to set.
|
|
129
114
|
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
130
|
-
*
|
|
131
|
-
* **NOTE**: The title text symbol for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
132
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
133
115
|
*/
|
|
134
116
|
setAxisTitleSymbol(titleSymbol: WebChartTextSymbol | undefined, axisIndex: number): void;
|
|
135
117
|
/**
|
|
@@ -139,11 +121,8 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
139
121
|
getHorizontalAxisLabelsBehavior(): WebChartLabelBehavior;
|
|
140
122
|
/**
|
|
141
123
|
* Sets the horizontal axis labels behavior for the chart.
|
|
124
|
+
* **Note:** The horizontal axis labels behavior for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
142
125
|
* @param horizontalBehavior The behavior for the horizontal axis labels.
|
|
143
|
-
*
|
|
144
|
-
* **NOTE**: The horizontal axis labels behavior for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
145
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
146
|
-
*
|
|
147
126
|
*/
|
|
148
127
|
setHorizontalAxisLabelsBehavior(horizontalBehavior: WebChartLabelBehavior): void;
|
|
149
128
|
/**
|
|
@@ -153,10 +132,8 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
153
132
|
getVerticalAxisLabelsBehavior(): WebChartLabelBehavior;
|
|
154
133
|
/**
|
|
155
134
|
* Sets the vertical axis labels behavior for the chart.
|
|
135
|
+
* **Note:** The vertical axis labels behavior for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
156
136
|
* @param verticalBehavior The behavior for the vertical axis labels.
|
|
157
|
-
*
|
|
158
|
-
* **NOTE**: The vertical axis labels behavior for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart.
|
|
159
|
-
* To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
160
137
|
*/
|
|
161
138
|
setVerticalAxisLabelsBehavior(verticalBehavior: WebChartLabelBehavior): void;
|
|
162
139
|
/**
|
|
@@ -166,17 +143,16 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
166
143
|
getGridLinesSymbol(): ISimpleLineSymbol | undefined;
|
|
167
144
|
/**
|
|
168
145
|
* Sets the grid lines symbol. Contains styling information such as line width, line style, and line color.
|
|
146
|
+
* **Note:** To set the grid lines symbol for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
169
147
|
* @param {ISimpleLineSymbol | undefined} linesSymbol The grid lines symbol.
|
|
170
148
|
* @param {number[]} axisIndices The indices of the axes to set the grid lines symbol for.
|
|
171
|
-
*
|
|
172
|
-
* **NOTE**: To set the grid lines symbol for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
173
149
|
*/
|
|
174
150
|
setGridLinesSymbol(linesSymbol: ISimpleLineSymbol | undefined, axisIndices?: number[]): void;
|
|
175
151
|
/**
|
|
176
152
|
* Get the default x-axis title text.
|
|
177
|
-
* @returns {
|
|
153
|
+
* @returns {string}
|
|
178
154
|
*/
|
|
179
|
-
getDefaultXAxisTitleText():
|
|
155
|
+
getDefaultXAxisTitleText(): string;
|
|
180
156
|
/**
|
|
181
157
|
* Gets the display zero line setting for the specified axis.
|
|
182
158
|
* @param axisIndex The index of the axis to get the display zero line for.
|
|
@@ -195,7 +171,7 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
195
171
|
* a. This setting is only applicable to the axis of type ValueAxis.
|
|
196
172
|
* b. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
197
173
|
*
|
|
198
|
-
* **
|
|
174
|
+
* **Note:** To set the display zero line for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
199
175
|
*/
|
|
200
176
|
setDisplayZeroLine(displayZeroLine: boolean, axisIndex: number): void;
|
|
201
177
|
/**
|
|
@@ -214,7 +190,7 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
214
190
|
* @remarks
|
|
215
191
|
* a. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
216
192
|
*
|
|
217
|
-
* **
|
|
193
|
+
* **Note:** To set the display cursor tooltip for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
218
194
|
*/
|
|
219
195
|
setDisplayCursorTooltip(displayCursorTooltip: boolean, axisIndex: number): void;
|
|
220
196
|
/**
|
|
@@ -235,7 +211,7 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
235
211
|
* a. This setting is only applicable to the axis of type ValueAxis.
|
|
236
212
|
* b. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
237
213
|
*
|
|
238
|
-
* **
|
|
214
|
+
* **Note:** To set the buffer for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
239
215
|
*/
|
|
240
216
|
setBuffer(buffer: boolean, axisIndex: number): void;
|
|
241
217
|
/**
|
|
@@ -253,7 +229,7 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
253
229
|
* @remarks
|
|
254
230
|
* a. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
255
231
|
*
|
|
256
|
-
* **
|
|
232
|
+
* **Note:** To set the tick spacing for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
257
233
|
*/
|
|
258
234
|
setTickSpacing(tickSpacing: number, axisIndex: number): void;
|
|
259
235
|
/**
|
|
@@ -274,14 +250,14 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
274
250
|
* a. This setting is only applicable to the axis of type ValueAxis.
|
|
275
251
|
* b. To set the setting for the x-axis, the axisIndex should be `0`. For the y-axis, the axisIndex should be `1`.
|
|
276
252
|
*
|
|
277
|
-
* **
|
|
253
|
+
* **Note:** To set the integer only values for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
278
254
|
*/
|
|
279
255
|
setIntegerOnlyValues(integerOnlyValues: boolean, axisIndex: number): void;
|
|
280
256
|
/**
|
|
281
257
|
* Visibility of the horizontal line of the cursor's crosshair.
|
|
282
258
|
* @remarks if the cursor crosshair or its horizontal line visibility is not set, the default value of `false` will be returned.
|
|
283
259
|
*
|
|
284
|
-
* **
|
|
260
|
+
* **Note:** To set the cursor crosshair horizontal line visibility for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
285
261
|
*/
|
|
286
262
|
get cursorCrosshairHorizontalLineVisibility(): boolean;
|
|
287
263
|
set cursorCrosshairHorizontalLineVisibility(visibility: boolean);
|
|
@@ -289,21 +265,19 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
289
265
|
* Visibility of the vertical line of the cursor's crosshair.
|
|
290
266
|
* @remarks if the cursor crosshair or its vertical line visibility is not set, the default value of `false` will be returned.
|
|
291
267
|
*
|
|
292
|
-
* **
|
|
268
|
+
* **Note:** To set the cursor crosshair vertical line visibility for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
293
269
|
*/
|
|
294
270
|
get cursorCrosshairVerticalLineVisibility(): boolean;
|
|
295
271
|
set cursorCrosshairVerticalLineVisibility(visibility: boolean);
|
|
296
272
|
/**
|
|
297
273
|
* Style of the cursor's crosshair from the chart config.
|
|
298
|
-
*
|
|
299
|
-
* **NOTE**: To set the cursor crosshair style for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
274
|
+
* **Note:** To set the cursor crosshair style for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
300
275
|
*/
|
|
301
276
|
get cursorCrosshairStyle(): ISimpleLineSymbol | undefined;
|
|
302
277
|
set cursorCrosshairStyle(style: ISimpleLineSymbol | undefined);
|
|
303
278
|
/**
|
|
304
279
|
* Cursor crosshair from the chart config.
|
|
305
|
-
*
|
|
306
|
-
* **NOTE**: To set the cursor crosshair for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
280
|
+
* **Note:** To set the cursor crosshair for the second Y-axis (axisIndex 2), ensure there is a second Y-axis in the chart by using the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
307
281
|
*/
|
|
308
282
|
get cursorCrosshair(): WebChartCursorCrosshair | undefined;
|
|
309
283
|
set cursorCrosshair(cursorCrosshair: WebChartCursorCrosshair | undefined);
|
|
@@ -312,5 +286,5 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
312
286
|
*
|
|
313
287
|
* @returns {string}
|
|
314
288
|
*/
|
|
315
|
-
abstract generateYAxisTitle():
|
|
289
|
+
abstract generateYAxisTitle(): string;
|
|
316
290
|
}
|
|
@@ -2,25 +2,19 @@ import { ChartConfig } from '../../../utils';
|
|
|
2
2
|
import { ModelTypes } from '../../interfaces/common';
|
|
3
3
|
/**
|
|
4
4
|
* Specify how negative values are treated in stacked series.
|
|
5
|
+
* * **Note:** If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.
|
|
5
6
|
* @param {number} seriesIndex - The index of the series.
|
|
6
7
|
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
7
|
-
*
|
|
8
|
-
* NOTE: If true, negative values will be stacked on the base line.
|
|
9
|
-
* If false, negative values will be stacked in relation to their previous values in the stack.
|
|
10
|
-
*
|
|
11
8
|
* @default true
|
|
12
9
|
* @returns {boolean}
|
|
13
10
|
*/
|
|
14
11
|
export declare const isNegativeValuesStackedToBaseline: (seriesIndex: number, config: ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>) => boolean;
|
|
15
12
|
/**
|
|
16
13
|
* Specify how negative values are treated in stacked series.
|
|
17
|
-
*
|
|
18
|
-
* @param {
|
|
19
|
-
* @param {
|
|
20
|
-
*
|
|
21
|
-
* NOTE: If true, negative values will be stacked on the base line.
|
|
22
|
-
* If false, negative values will be stacked in relation to their previous values in the stack.
|
|
23
|
-
*
|
|
14
|
+
* **Note:** If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.
|
|
15
|
+
* @param {boolean} stackNegativeValuesToBaseline - `true` if negative values should be stacked on the base line, `false` otherwise.
|
|
16
|
+
* @param {number} seriesIndex - The index of the series.
|
|
17
|
+
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
24
18
|
*/
|
|
25
19
|
export declare const setNegativeValuesStackedToBaseline: (props: {
|
|
26
20
|
stackNegativeValuesToBaseline: boolean;
|
|
@@ -22,9 +22,9 @@ export declare const setMarkerSize: (newSize: number | undefined, seriesIndex: n
|
|
|
22
22
|
export declare const isLineSmoothed: (seriesIndex: number, config: ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.RadarChart>) => boolean;
|
|
23
23
|
/**
|
|
24
24
|
* Specify whether line segments of the series should be smoothed.
|
|
25
|
-
* @param {boolean}
|
|
26
|
-
* @param {number}
|
|
27
|
-
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>}
|
|
25
|
+
* @param {boolean} smoothed - `true` if line segment of the series should be smoothed, `false` otherwise.
|
|
26
|
+
* @param {number} seriesIndex - The index of the series.
|
|
27
|
+
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
28
28
|
*/
|
|
29
29
|
export declare const setLineSmoothed: (props: {
|
|
30
30
|
smoothed: boolean;
|
|
@@ -42,9 +42,9 @@ export declare const setLineSmoothed: (props: {
|
|
|
42
42
|
export declare const isAreaVisible: (seriesIndex: number, config: ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.RadarChart>) => boolean;
|
|
43
43
|
/**
|
|
44
44
|
* Specify whether the line series should show area.
|
|
45
|
-
* @param {boolean}
|
|
46
|
-
* @param {number}
|
|
47
|
-
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>}
|
|
45
|
+
* @param {boolean} visible - `true` if the line series should show area, `false` otherwise.
|
|
46
|
+
* @param {number} seriesIndex - The index of the series.
|
|
47
|
+
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
48
48
|
*/
|
|
49
49
|
export declare const setAreaVisible: (props: {
|
|
50
50
|
visible: boolean;
|
|
@@ -62,9 +62,9 @@ export declare const setAreaVisible: (props: {
|
|
|
62
62
|
export declare const isMarkerVisible: (seriesIndex: number, config: ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.RadarChart>) => boolean;
|
|
63
63
|
/**
|
|
64
64
|
* Indicate whether to show or hide the markers/bullets of the line series.
|
|
65
|
-
* @param {boolean}
|
|
66
|
-
* @param {number}
|
|
67
|
-
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>}
|
|
65
|
+
* @param {boolean} visible - `true` if the markers/bullets of the line series should be shown, `false` otherwise.
|
|
66
|
+
* @param {number} seriesIndex - The index of the series.
|
|
67
|
+
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
68
68
|
*/
|
|
69
69
|
export declare const setMarkerVisible: (props: {
|
|
70
70
|
visible: boolean;
|
|
@@ -73,21 +73,18 @@ export declare const setMarkerVisible: (props: {
|
|
|
73
73
|
}) => void;
|
|
74
74
|
/**
|
|
75
75
|
* Specify the color of the filled area for line chart.
|
|
76
|
+
* **Note:** areaColor will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
76
77
|
* @param {number} seriesIndex - The index of the series.
|
|
77
78
|
* @param {ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
78
|
-
*
|
|
79
|
-
* NOTE: areaColor will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
80
|
-
*
|
|
81
79
|
* @returns {Color | undefined}
|
|
82
80
|
*/
|
|
83
81
|
export declare const getAreaColor: (seriesIndex: number, config: ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.RadarChart>) => Color | undefined;
|
|
84
82
|
/**
|
|
85
83
|
* Specify the color of the filled area for line chart.
|
|
86
|
-
*
|
|
87
|
-
* @param {
|
|
88
|
-
* @param {
|
|
89
|
-
*
|
|
90
|
-
* NOTE: areaColor will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
84
|
+
* **Note:** areaColor will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
85
|
+
* @param {Color | undefined} color - The color of the filled area for line chart.
|
|
86
|
+
* @param {number} seriesIndex - The index of the series.
|
|
87
|
+
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
91
88
|
*/
|
|
92
89
|
export declare const setAreaColor: (props: {
|
|
93
90
|
color: Color | undefined;
|
|
@@ -98,17 +95,15 @@ export declare const setAreaColor: (props: {
|
|
|
98
95
|
* Specify whether to connect the lines when there's a gap in the data.
|
|
99
96
|
* @param {number} seriesIndex - The index of the series.
|
|
100
97
|
* @param {ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
101
|
-
*
|
|
102
98
|
* @returns {boolean | undefined}
|
|
103
99
|
*/
|
|
104
100
|
export declare const getConnectLines: (seriesIndex: number, config: ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.RadarChart>) => boolean | undefined;
|
|
105
101
|
/**
|
|
106
102
|
* Specify whether to connect the lines when there's a gap in the data.
|
|
107
|
-
*
|
|
108
|
-
* @param {
|
|
109
|
-
* @param {
|
|
110
|
-
*
|
|
111
|
-
* NOTE: Can be overridden by the temporal data setting `nullPolicy`.
|
|
103
|
+
* **Note:** Can be overridden by the temporal data setting `nullPolicy`.
|
|
104
|
+
* @param {boolean | undefined} connect - Whether to connect the gap in the data
|
|
105
|
+
* @param {number} seriesIndex - The index of the series.
|
|
106
|
+
* @param {ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
112
107
|
*/
|
|
113
108
|
export declare const setConnectLines: (props: {
|
|
114
109
|
connect: boolean | undefined;
|
|
@@ -51,15 +51,17 @@ export declare class PieChartModel extends ChartModel {
|
|
|
51
51
|
/**
|
|
52
52
|
* Sets the sort order for the pie chart.
|
|
53
53
|
* @param {PieChartDataSortingKinds} sortOrder The sort order.
|
|
54
|
+
* @param {string[]} orderByList The list of category values.
|
|
54
55
|
*/
|
|
55
56
|
setSortOrder(sortOrder: PieChartDataSortingKinds, orderByList?: string[]): void;
|
|
57
|
+
/**
|
|
58
|
+
* List of category's values for custom sort
|
|
59
|
+
*/
|
|
56
60
|
get orderByList(): string[];
|
|
57
61
|
set orderByList(orderByList: string[]);
|
|
58
62
|
/**
|
|
59
63
|
* The pie chart data mode (Category or Fields).
|
|
60
|
-
*
|
|
61
64
|
* `category` - The chart is using values from the category field to determine each slice.
|
|
62
|
-
*
|
|
63
65
|
* `fields` - The chart is using aggregated values from the numeric fields to determine each slice.
|
|
64
66
|
*/
|
|
65
67
|
get mode(): PieChartDataModes;
|
|
@@ -71,8 +73,7 @@ export declare class PieChartModel extends ChartModel {
|
|
|
71
73
|
getCustomSortValues(): Promise<string[]>;
|
|
72
74
|
/**
|
|
73
75
|
* Moves the custom sort values in-place for the order by list in the config.
|
|
74
|
-
*
|
|
75
|
-
* NOTE: This method should be only used when the sort order is set to `customSort`.
|
|
76
|
+
* **Note:** This method should be only used when the sort order is set to `customSort`.
|
|
76
77
|
* @param {number} fromIndex The index to move the custom sort item from.
|
|
77
78
|
* @param {number} toIndex The index to move the category item to.
|
|
78
79
|
*/
|
|
@@ -125,6 +126,7 @@ export declare class PieChartModel extends ChartModel {
|
|
|
125
126
|
protected generateDefaultConfig(): Omit<typeof this._config, "iLayer">;
|
|
126
127
|
/**
|
|
127
128
|
* Gets the original name of the slice based on the slice index.
|
|
129
|
+
* @param {number} sliceIndex - The index of the slice.
|
|
128
130
|
* @returns {Date | number | string | null | undefined}
|
|
129
131
|
*/
|
|
130
132
|
getOriginalSliceName(sliceIndex: number): Date | number | string | null | undefined;
|
|
@@ -99,8 +99,7 @@ export declare abstract class SerialChartModel extends ChartModel {
|
|
|
99
99
|
updateSeriesFromLayerFilter(): Promise<void>;
|
|
100
100
|
/**
|
|
101
101
|
* Whether temporal binning is enabled for all series in the config.
|
|
102
|
-
*
|
|
103
|
-
* **NOTE** Setting this prop removes any existing temporal binning settings if `value` is set to `false`.
|
|
102
|
+
* **Note:** Setting this prop removes any existing temporal binning settings if `value` is set to `false`.
|
|
104
103
|
*/
|
|
105
104
|
get binTemporalData(): boolean;
|
|
106
105
|
set binTemporalData(value: boolean);
|
|
@@ -159,14 +158,17 @@ export declare abstract class SerialChartModel extends ChartModel {
|
|
|
159
158
|
moveSeries(fromIndex: number, toIndex: number): void;
|
|
160
159
|
/**
|
|
161
160
|
* Moves the custom sort values in-place for the order by list in the config.
|
|
162
|
-
*
|
|
163
|
-
* NOTE: This method should be only used when the sort order is set to `SerialChartDataSortingKinds.customSort`.
|
|
161
|
+
* **Note:** This method should be only used when the sort order is set to `SerialChartDataSortingKinds.customSort`.
|
|
164
162
|
* @param {number} fromIndex The index to move the custom sort value from.
|
|
165
163
|
* @param {number} toIndex The index to move the custom sort value to.
|
|
166
164
|
*/
|
|
167
165
|
moveCustomSortValuesInOrderByList(fromIndex: number, toIndex: number): void;
|
|
168
166
|
/**
|
|
169
167
|
* The null category configuration of the bar chart.
|
|
168
|
+
*
|
|
169
|
+
* @requires the following to be set on the model for the null category to be applied:
|
|
170
|
+
* - `fetchNULLValues` to be set to `true` on the model.
|
|
171
|
+
* - `colorMatch` to be set to `false` on the model
|
|
170
172
|
*/
|
|
171
173
|
get nullCategory(): WebChartNullCategory | undefined;
|
|
172
174
|
set nullCategory(nullCategory: WebChartNullCategory | undefined);
|
|
@@ -144,11 +144,8 @@ export declare const setAxisValueFormat: (props: {
|
|
|
144
144
|
export declare const getAxisLogarithmic: (config: WebChart, axisIndex: number) => boolean;
|
|
145
145
|
/**
|
|
146
146
|
* Sets whether logarithmic scale is enabled for the specified axis.
|
|
147
|
-
*
|
|
148
147
|
* `true`: Enable logarithmic scale for the specified axis.
|
|
149
|
-
*
|
|
150
148
|
* `false`: Disable logarithmic scale for the specified axis.
|
|
151
|
-
*
|
|
152
149
|
* @param {WebChart} props.config The chart configuration object.
|
|
153
150
|
* @param {boolean} props.isLogarithmic Whether to enable logarithmic scale for the specified axis.
|
|
154
151
|
* @param {number} props.axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChartConfig } from '../../utils';
|
|
2
|
-
import { SupportedLayer, WebChartStatisticType } from '../../spec';
|
|
2
|
+
import { IField, SupportedLayer, WebChartStatisticType } from '../../spec';
|
|
3
3
|
import { PieChartDataModes, SerialChartDataSortingKinds } from '../interfaces/common';
|
|
4
4
|
import { SerialChartConfig } from '../interfaces/chart-interfaces';
|
|
5
5
|
import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView.js';
|
|
@@ -47,6 +47,10 @@ export declare const getXAxisField: (config: ChartConfig) => string;
|
|
|
47
47
|
* @param {WebChartStatisticType} props.aggregationType - The type of aggregation to apply to the numeric fields.
|
|
48
48
|
* @param {PieChartDataModes} [props.mode] - [Optional] The mode for pie chart data, if applicable.
|
|
49
49
|
* @param {FeatureLayerView | SupportedLayer} [props.layer] - [Optional] The layer from which the data is being queried.
|
|
50
|
+
* @param {number} [props.numericFieldIndex] - [Optional] The index of the numeric field to use when multiple fields are available.
|
|
51
|
+
* @param {number} [props.seriesIndex] - [Optional] The index of the series being configured, useful when multiple series exist.
|
|
52
|
+
* @param {string} [props.splitByField] - [Optional] The field used to split the data into multiple series.
|
|
53
|
+
* @param {IField[]} [props.fieldList] - [Optional] List of fields to use instead of fetching them from the layer.
|
|
50
54
|
*
|
|
51
55
|
* @returns {Object} An object containing the name and description for the series.y field.
|
|
52
56
|
*/
|
|
@@ -60,11 +64,49 @@ export declare const getYForNewSeries: (props: {
|
|
|
60
64
|
numericFieldIndex?: number;
|
|
61
65
|
seriesIndex?: number;
|
|
62
66
|
splitByField?: string;
|
|
67
|
+
fieldList?: IField[];
|
|
63
68
|
}) => {
|
|
64
69
|
name: string;
|
|
65
70
|
description: string;
|
|
66
71
|
};
|
|
72
|
+
/**
|
|
73
|
+
* Determines if the x-axis field is considered "empty" for chart from fields scenarios.
|
|
74
|
+
*
|
|
75
|
+
* An x-axis field is considered empty when:
|
|
76
|
+
* - the x-axis field is not defined, or
|
|
77
|
+
* - the x-axis field is an empty string, or
|
|
78
|
+
* - the x-axis field does not match any of the layer fields
|
|
79
|
+
* - the x-axis field is set to the default "from fields" variation name
|
|
80
|
+
*
|
|
81
|
+
* @param {string} props.fieldName - The field used for the x-axis.
|
|
82
|
+
* @param {IField[]} props.fieldList - list of fields to use instead of fetching them from the layer
|
|
83
|
+
*
|
|
84
|
+
* @returns {boolean} True if the x-axis field is empty, otherwise false.
|
|
85
|
+
*/
|
|
86
|
+
export declare function xAxisFieldIsEmpty(props: {
|
|
87
|
+
fieldName: string;
|
|
88
|
+
fieldList: IField[];
|
|
89
|
+
}): boolean;
|
|
67
90
|
/**
|
|
68
91
|
* Determines if the chart should be built as a "chart from fields" based on the x-axis field and numeric fields.
|
|
92
|
+
*
|
|
93
|
+
* This is true when `xAxisFieldIsEmpty` returns true, meaning:
|
|
94
|
+
* - the x-axis field is not defined, or
|
|
95
|
+
* - the x-axis field is an empty string, or
|
|
96
|
+
* - the x-axis field does not match any of the layer fields
|
|
97
|
+
* - the x-axis field is set to the default "from fields" variation name
|
|
98
|
+
*
|
|
99
|
+
* AND
|
|
100
|
+
*
|
|
101
|
+
* - there is at least one numeric field available (excluding objectId field)
|
|
102
|
+
*
|
|
103
|
+
* @param {string} props.fieldName - The field used for the x-axis.
|
|
104
|
+
* @param {string[]} props.numericFields - The list of numeric fields.
|
|
105
|
+
* @param {QueryObject} props.queryObject - the query object (feature layer or feature layer view)
|
|
106
|
+
* @param {IField[]} [props.fieldList] - list of fields to use instead of fetching them from the layer
|
|
69
107
|
*/
|
|
70
|
-
export declare function shouldUseChartFromFields(
|
|
108
|
+
export declare function shouldUseChartFromFields(props: {
|
|
109
|
+
fieldName: string;
|
|
110
|
+
numericFields: string[];
|
|
111
|
+
fieldList: IField[];
|
|
112
|
+
}): boolean;
|
package/dist/model.js
CHANGED
|
@@ -4,7 +4,7 @@ import { s as r, t as s, u as n } from "./chunks/type-guards.js";
|
|
|
4
4
|
import { a as B, e as P, i as S, g as x, b as W, r as v, h as G, l as K, m as D, p as F, j as H, k as O, q as R, n as A, o as E, d as X, f as Y, c as $ } from "./chunks/type-guards.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.41 */
|
|
8
8
|
async function c(t) {
|
|
9
9
|
const o = "config" in t ? r(t.config) : t.chartType;
|
|
10
10
|
let a;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
1
2
|
import { default as FeatureLayer } from '@arcgis/core/layers/FeatureLayer';
|
|
2
3
|
import { default as SubtypeSublayer } from '@arcgis/core/layers/support/SubtypeSublayer';
|
|
3
4
|
import { WebChartTemporalBinningUnits } from './chart-object-literals';
|
|
@@ -6,6 +7,11 @@ import { Color, IExtent, ISimpleLineSymbol, ISymbol, SimpleFillSymbolStyle, Simp
|
|
|
6
7
|
* Supported layer type for ArcGIS charts.
|
|
7
8
|
*/
|
|
8
9
|
export type SupportedLayer = FeatureLayer | SubtypeSublayer;
|
|
10
|
+
/**
|
|
11
|
+
* Esri Layer type
|
|
12
|
+
* @see {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html
|
|
13
|
+
*/
|
|
14
|
+
export type Layer = __esri.Layer;
|
|
9
15
|
/**
|
|
10
16
|
* JSON representation of the color object
|
|
11
17
|
*/
|
|
@@ -67,6 +73,11 @@ export interface WebChartGenericDataItem {
|
|
|
67
73
|
* Time interval information, only for line charts
|
|
68
74
|
*/
|
|
69
75
|
timeIntervalInfo?: TimeIntervalInfo;
|
|
76
|
+
/**
|
|
77
|
+
* Indicates whether the server limit has been reached when fetching data.
|
|
78
|
+
* Currently applies only to the queries leveraging the /queryBins operation.
|
|
79
|
+
*/
|
|
80
|
+
serverLimitReached?: boolean;
|
|
70
81
|
}
|
|
71
82
|
/**
|
|
72
83
|
* JSON representation of a Histogram bin
|