@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
|
@@ -52,8 +52,12 @@ export declare function initializeAxis(props: {
|
|
|
52
52
|
* Updates an axis
|
|
53
53
|
* props.chartConfig The chart's config
|
|
54
54
|
*
|
|
55
|
+
* @param props.chartConfig The chart's config
|
|
55
56
|
* @param props.axis The axis to update
|
|
56
57
|
* @param props.data The data to assign to the axis
|
|
58
|
+
* @param props.dataWasUpdated Whether the data was updated
|
|
59
|
+
* @param props.axesInitializationNeeded Whether the axis was reinitialized during the update cycle
|
|
60
|
+
* @param props.sortChanged Whether the sort order changed
|
|
57
61
|
* @param props.axisConfig The axis's config
|
|
58
62
|
* @param props.timeIntervalInfo The time interval info
|
|
59
63
|
* @param props.horizontalAxisLabelsBehavior The horizontal axis labels behavior
|
|
@@ -71,6 +75,9 @@ export declare function updateAxis(props: {
|
|
|
71
75
|
chartConfig: WebChart;
|
|
72
76
|
axis: Axis<AxisRenderer>;
|
|
73
77
|
data?: WebChartDataTypes;
|
|
78
|
+
dataWasUpdated?: boolean;
|
|
79
|
+
axesInitializationNeeded?: boolean;
|
|
80
|
+
sortChanged?: boolean;
|
|
74
81
|
axisConfig: WebChartAxis;
|
|
75
82
|
timeIntervalInfo?: TimeIntervalInfo;
|
|
76
83
|
horizontalAxisLabelsBehavior?: WebChartLabelBehavior;
|
|
@@ -83,7 +90,7 @@ export declare function updateAxis(props: {
|
|
|
83
90
|
guideTooltipFormatter?: GuideTooltipFormatCallback;
|
|
84
91
|
utilsStrings: UtilsStrings;
|
|
85
92
|
errorStrings: ErrorStrings;
|
|
86
|
-
}):
|
|
93
|
+
}): void;
|
|
87
94
|
/**
|
|
88
95
|
* Initializes the chart's axes
|
|
89
96
|
* props.chart The chart
|
|
@@ -95,7 +102,7 @@ export declare function initializeAxes(props: {
|
|
|
95
102
|
chart: XYChart;
|
|
96
103
|
chartConfig: WebChart;
|
|
97
104
|
errorStrings: ErrorStrings;
|
|
98
|
-
}):
|
|
105
|
+
}): void;
|
|
99
106
|
/**
|
|
100
107
|
* Updates the chart axes
|
|
101
108
|
*
|
package/dist/chart-rendering/next/chart-library-elements/labels/data-label/pie-chart/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { PieChartLabelFormatCallback } from '../../../../../common/interfaces';
|
|
|
6
6
|
*
|
|
7
7
|
* @param pieSeries The series on which to initialize the data labels
|
|
8
8
|
*/
|
|
9
|
-
export declare function initializePieChartDataLabel(pieSeries: PieSeries): void;
|
|
9
|
+
export declare function initializePieChartDataLabel(pieSeries: PieSeries, externalDataLabelFormatter: PieChartLabelFormatCallback | undefined): void;
|
|
10
10
|
/**
|
|
11
11
|
* Handles how the data labels are rendered on a pie chart.
|
|
12
12
|
* Uses from the configuration:
|
|
@@ -39,9 +39,14 @@ export declare function removeSeriesDataLabel(series: XYSeries, index?: number):
|
|
|
39
39
|
*
|
|
40
40
|
* @param textBackgroundColor The background color of the data label, it can be the color of the column or the series.
|
|
41
41
|
* @param chartBackgroundColor The background color of the chart.
|
|
42
|
+
* @param fillOpacity The fill opactiy of the background of the data label
|
|
42
43
|
* @returns The best inverse color to use for the data label text
|
|
43
44
|
*/
|
|
44
|
-
export declare function getContrastTextColor(
|
|
45
|
+
export declare function getContrastTextColor(props: {
|
|
46
|
+
textBackgroundColor: AmChartsColor;
|
|
47
|
+
chartBackgroundColor: AmChartsColor;
|
|
48
|
+
fillOpacity?: number;
|
|
49
|
+
}): AmChartsColor;
|
|
45
50
|
/**
|
|
46
51
|
* Adds a color adapter to the data label to inverse the text color based on the series color and the chart background color.
|
|
47
52
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HeatLegend } from '@amcharts/amcharts5';
|
|
2
|
-
import { WebChartSeriesType, WebChart } from '../../../../../spec';
|
|
3
2
|
import { XYChart } from '@amcharts/amcharts5/xy.js';
|
|
3
|
+
import { WebChartSeriesType, WebChart } from '../../../../../spec';
|
|
4
4
|
/**
|
|
5
5
|
* Initializes the legend
|
|
6
6
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Graphics, RoundedRectangle, Sprite, Template } from '@amcharts/amcharts5';
|
|
2
2
|
import { State } from '@amcharts/amcharts5/.internal/core/util/States.js';
|
|
3
3
|
import { TemplateState } from '@amcharts/amcharts5/.internal/core/util/Template.js';
|
|
4
|
-
import { SelectionThemeProperties } from '../../../../utils';
|
|
5
4
|
import { ISimpleFillSymbol, ISimpleLineSymbol, ISimpleMarkerSymbol } from '../../../../spec';
|
|
5
|
+
import { SelectionThemeProperties } from '../../../../utils';
|
|
6
6
|
import { MappedFillSymbol, MappedLineSymbol, MappedMarkerSymbol } from '../symbols/interfaces';
|
|
7
7
|
import { FillElementsProps, LineElementsProps, MarkerElementsProps, UpdateSymbolProps } from './interfaces';
|
|
8
8
|
export declare function setOutlineProperties(element: Graphics | Sprite | Template<Graphics>, outline: MappedLineSymbol): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Chart, Modal, Root, SerialChart } from '@amcharts/amcharts5';
|
|
2
2
|
import { ChartOptions } from '../../../common/interfaces';
|
|
3
|
-
import { LoaderHandle } from '
|
|
3
|
+
import { LoaderHandle } from '../../../common/loading-indicator';
|
|
4
4
|
/**
|
|
5
5
|
* Initialize the loader and defines the nested functions
|
|
6
6
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ColumnSeries } from '@amcharts/amcharts5/xy.js';
|
|
2
2
|
import { WebChart, WebChartGenericDataItem } from '../../../../../spec';
|
|
3
|
-
import { LoaderHandle } from '../../loading-indicator/interfaces';
|
|
4
3
|
import { InitializeBarChartSeriesProps, UpdateBarChartSeriesProps } from './interfaces';
|
|
4
|
+
import { LoaderHandle } from '../../../../common/loading-indicator';
|
|
5
5
|
/**
|
|
6
6
|
* Initialize a bar chart series
|
|
7
7
|
*
|
|
@@ -2,7 +2,7 @@ import { SerialChart } from '@amcharts/amcharts5';
|
|
|
2
2
|
import { WebChart, WebChartDataTypes, WebGaugeChart } from '../../../../spec';
|
|
3
3
|
import { ErrorStrings, PieSlicesSymbols, QueryObject, UtilsStrings } from '../../../../utils';
|
|
4
4
|
import { ChartOptions } from '../../../common/interfaces';
|
|
5
|
-
import { LoaderHandle } from '
|
|
5
|
+
import { LoaderHandle } from '../../../common/loading-indicator';
|
|
6
6
|
/**
|
|
7
7
|
* Initializes the chart series and sets default properties.
|
|
8
8
|
*
|
|
@@ -5,7 +5,6 @@ import { IField, RESTRendererType, WebBoxPlot, WebChart, WebChartBarChartSeries,
|
|
|
5
5
|
import { ChartSubType, QueryObject, SeriesSymbolsMap, SubtypeInfo, UtilsStrings } from '../../../../utils';
|
|
6
6
|
import { ChartOptions } from '../../../common/interfaces';
|
|
7
7
|
import { ApplySelectionOnSeriesProps } from '../../selection/apply/interfaces';
|
|
8
|
-
import { LoaderHandle } from '../loading-indicator/interfaces';
|
|
9
8
|
import { UpdateBarChartSeriesStyleProps } from './bar-chart/interfaces';
|
|
10
9
|
import { UpdateBoxPlotCandleStickSeriesProps } from './box-plot/candle-stick/interfaces';
|
|
11
10
|
import { UpdateBoxPlotMeanLineSeriesProps } from './box-plot/mean-line/interfaces';
|
|
@@ -16,6 +15,7 @@ import { UpdateLineChartSeriesProps } from './line-chart/interfaces';
|
|
|
16
15
|
import { UpdatePieChartSeriesProps } from './pie-chart/interfaces';
|
|
17
16
|
import { UpdateRadarChartSeriesProps } from './radar-chart/interfaces';
|
|
18
17
|
import { UpdateScatterplotMarkersStyleProps, UpdateTrendLineProps } from './scatter-plot/interfaces';
|
|
18
|
+
import { LoaderHandle } from '../../../common/loading-indicator';
|
|
19
19
|
export interface InitializeSeriesProps<SeriesType extends WebChartBarChartSeries | WebChartBoxPlotSeries | WebChartHeatChartSeries | WebChartHistogramSeries | WebChartLineChartSeries | WebChartPieChartSeries | WebChartRadarChartSeries | WebChartScatterplotSeries> {
|
|
20
20
|
chartConfig: WebChart;
|
|
21
21
|
root: Root;
|
package/dist/chart-rendering/next/chart-library-elements/series/scatter-plot/interfaces.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export interface InitializeScatterplotSeriesProps extends InitializeXYSeriesProp
|
|
|
17
17
|
export interface UpdateTrendLineProps {
|
|
18
18
|
root: Root;
|
|
19
19
|
trendLineSeries: LineSeries;
|
|
20
|
+
dataWasUpdated?: boolean;
|
|
20
21
|
chartConfig: WebChart;
|
|
21
22
|
data?: WebChartScatterplotDataItem;
|
|
22
23
|
valueFormat: NumberFormatOptions;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Chart, Graphics, Series } from '@amcharts/amcharts5';
|
|
2
2
|
import { Axis, AxisRenderer, ColumnSeries, LineSeries, XYChart } from '@amcharts/amcharts5/xy.js';
|
|
3
3
|
import { IField, WebChart, WebChartBarChartSeries, WebChartDataTypes, WebChartLineChartSeries, WebChartRadarChartSeries, WebChartSeriesType, WebChartTypes } from '../../../../../spec';
|
|
4
|
-
import { SubtypeInfo } from '../../../../../utils';
|
|
5
|
-
import { DataUpdateNeededDetails } from '../../../../common/data/utils/misc/interfaces';
|
|
4
|
+
import { DataUpdateDetails, SubtypeInfo } from '../../../../../utils';
|
|
6
5
|
import { ApplySelectionOnSeriesProps } from '../../../selection/apply/interfaces';
|
|
7
6
|
import { StyleCallbackProps, UpdateSeriesProps } from '../interfaces';
|
|
8
7
|
/**
|
|
@@ -123,13 +122,13 @@ declare function isInitializingScatterplotSeriesNeeded(chart: XYChart, chartConf
|
|
|
123
122
|
*
|
|
124
123
|
* @param props.chart The chart
|
|
125
124
|
* @param props.chartConfig The chart's config
|
|
126
|
-
* @param props.
|
|
125
|
+
* @param props.dataUpdateDetails The details of why the update was needed
|
|
127
126
|
* @param props.seriesFilteredOut Whether any series was filtered out
|
|
128
127
|
*/
|
|
129
128
|
export declare function isInitializingSeriesNeeded(props: {
|
|
130
129
|
chart: XYChart;
|
|
131
130
|
chartConfig: WebChart;
|
|
132
|
-
|
|
131
|
+
dataUpdateDetails?: DataUpdateDetails;
|
|
133
132
|
seriesFilteredOut?: boolean;
|
|
134
133
|
}): boolean;
|
|
135
134
|
/**
|
package/dist/chart-rendering/next/chart-library-elements/symbols/utils/property-map/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Pattern, Percent, Root } from '@amcharts/amcharts5';
|
|
2
|
-
import {
|
|
2
|
+
import { SimpleFillSymbolStyle, WebChartTextSymbol, RESTHorizontalAlignment, RESTSimpleLineSymbolStyle } from '../../../../../../spec';
|
|
3
3
|
import { AmChartsColor } from '../../../../types';
|
|
4
4
|
/**
|
|
5
5
|
* Maps a width defined as a number or a string following the pattern 'xxx%' into
|
|
@@ -42,14 +42,6 @@ export declare function mapFillSymbolStyle(props: {
|
|
|
42
42
|
* @param defaultAngle
|
|
43
43
|
*/
|
|
44
44
|
export declare function mapAngle(angle?: number, defaultAngle?: number): number;
|
|
45
|
-
/**
|
|
46
|
-
* Generates SVG path for marker style and size
|
|
47
|
-
* The SVG paths are adopted from [JSAPI 3.x](https://devtopia.esri.com/WebGIS/arcgis-js-api/blob/master/esri/symbols/SimpleMarkerSymbol.js#L133)
|
|
48
|
-
*
|
|
49
|
-
* @param style
|
|
50
|
-
* @param size
|
|
51
|
-
*/
|
|
52
|
-
export declare function mapPath(style: ISimpleMarkerSymbol["style"], size?: number): string;
|
|
53
45
|
/**
|
|
54
46
|
* Horizontal alignment
|
|
55
47
|
*
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ColumnSeries } from '@amcharts/amcharts5/xy.js';
|
|
2
|
+
import { TooltipFormatters } from '../../../../common/interfaces';
|
|
2
3
|
/**
|
|
3
4
|
* Initializes the tooltip associated to bar/column charts
|
|
4
5
|
*
|
|
5
6
|
* @param columnSeries The series on which to initialize the tooltip
|
|
6
7
|
*/
|
|
7
|
-
export declare function initializeBarChartTooltip(columnSeries: ColumnSeries): void;
|
|
8
|
+
export declare function initializeBarChartTooltip(columnSeries: ColumnSeries, tooltipFormatter?: TooltipFormatters): void;
|
|
@@ -2,8 +2,8 @@ import { Series, Sprite, Tooltip } from '@amcharts/amcharts5';
|
|
|
2
2
|
import { ColumnSeries } from '@amcharts/amcharts5/xy.js';
|
|
3
3
|
import { IField, WebHeatChart, WebChartCalendarDatePartsUnits, WebChartHeatChartSeries } from '../../../../../spec';
|
|
4
4
|
import { UtilsStrings } from '../../../../../utils';
|
|
5
|
-
import { HeatChartLabelFormatCallback } from '../../../../common/interfaces';
|
|
6
|
-
import {
|
|
5
|
+
import { HeatChartLabelFormatCallback, TooltipFormatters } from '../../../../common/interfaces';
|
|
6
|
+
import { UpdateHeatChartSeriesProps } from '../../series/heat-chart/interfaces';
|
|
7
7
|
/**
|
|
8
8
|
* Util method to generate date parts object for tooltip to create it's content
|
|
9
9
|
* @param props.value number that we are checking
|
|
@@ -52,10 +52,10 @@ export declare function heatChartTooltipContentCallback(props: {
|
|
|
52
52
|
* Initializes the tooltip associated to the slices on a heat chart
|
|
53
53
|
* @param columnSeries The series containing the slices on which to add a tooltip text adapter
|
|
54
54
|
*/
|
|
55
|
-
export declare function initializeHeatChartTooltip(columnSeries: ColumnSeries): void;
|
|
55
|
+
export declare function initializeHeatChartTooltip(columnSeries: ColumnSeries, tooltipFormatter?: TooltipFormatters): void;
|
|
56
56
|
/**
|
|
57
57
|
* Handles how the tooltip is rendered on a heat chart.
|
|
58
58
|
* If a format callback is passed, we'll use it over the default tooltip formatting.
|
|
59
59
|
* @param props Necessary information to update the tooltip
|
|
60
60
|
*/
|
|
61
|
-
export declare function updateHeatChartTooltip(props:
|
|
61
|
+
export declare function updateHeatChartTooltip(props: UpdateHeatChartSeriesProps): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Series, Sprite, Tooltip } from '@amcharts/amcharts5';
|
|
2
2
|
import { ColumnSeries } from '@amcharts/amcharts5/xy.js';
|
|
3
3
|
import { WebChartHistogramSeries } from '../../../../../spec';
|
|
4
|
-
import { HistogramLabelFormatCallback } from '../../../../common/interfaces';
|
|
4
|
+
import { HistogramLabelFormatCallback, TooltipFormatters } from '../../../../common/interfaces';
|
|
5
5
|
import { HistogramTooltipProps } from './interfaces';
|
|
6
6
|
/**
|
|
7
7
|
* Creates an adapter callback that uses the formatter stored in the series memory storage
|
|
@@ -25,8 +25,9 @@ export declare function histogramTooltipContentCallback(props: {
|
|
|
25
25
|
* Initializes the tooltip associated to the columns on a histogram
|
|
26
26
|
*
|
|
27
27
|
* @param series The Series containing the columns template on which to add the tooltip text adapter
|
|
28
|
+
* @param tooltipFormatter the external tooltip formatter
|
|
28
29
|
*/
|
|
29
|
-
export declare function initializeHistogramTooltip(series: ColumnSeries): void;
|
|
30
|
+
export declare function initializeHistogramTooltip(series: ColumnSeries, tooltipFormatter?: TooltipFormatters): void;
|
|
30
31
|
/**
|
|
31
32
|
* Updates the histogram tooltip formatter, by using the custom formatter provided through the chart options
|
|
32
33
|
* or generating a default one.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tooltip } from '@amcharts/amcharts5';
|
|
2
2
|
import { PieSeries } from '@amcharts/amcharts5/percent.js';
|
|
3
3
|
import { WebChartPieChartSeries } from '../../../../../spec';
|
|
4
|
-
import { PieChartLabelFormatCallback } from '../../../../common/interfaces';
|
|
4
|
+
import { PieChartLabelFormatCallback, TooltipFormatters } from '../../../../common/interfaces';
|
|
5
5
|
import { PieChartTooltipProps } from './interfaces';
|
|
6
6
|
export declare function generateDefaultPieChartTooltipContentFormatter(pieSeries: PieSeries, seriesConfig: WebChartPieChartSeries): PieChartLabelFormatCallback;
|
|
7
7
|
/**
|
|
@@ -19,7 +19,7 @@ export declare function pieChartTooltipContentCallback(props: {
|
|
|
19
19
|
* Initializes the tooltip associated to the slices on a pie chart
|
|
20
20
|
* @param pieSeries The series containing the slices on which to add a tooltip text adapter
|
|
21
21
|
*/
|
|
22
|
-
export declare function initializePieChartTooltip(pieSeries: PieSeries): void;
|
|
22
|
+
export declare function initializePieChartTooltip(pieSeries: PieSeries, tooltipFormatter?: TooltipFormatters): void;
|
|
23
23
|
/**
|
|
24
24
|
* Handles how the tooltip is rendered on a pie chart.
|
|
25
25
|
* Uses from the configuration:
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Graphics, Sprite, Template, Tooltip } from '@amcharts/amcharts5';
|
|
2
2
|
import { LineSeries } from '@amcharts/amcharts5/xy.js';
|
|
3
3
|
import { WebChartScatterplotSeries } from '../../../../../spec';
|
|
4
|
+
import { TooltipFormatters } from '../../../../common/interfaces';
|
|
4
5
|
import { ScatterplotTooltipProps } from './interfaces';
|
|
5
6
|
/**
|
|
6
7
|
* Adds the html code to the tooltip associated to the scatterplot bullets
|
|
@@ -20,7 +21,11 @@ export declare function scatterplotTooltipContentCallback(props: {
|
|
|
20
21
|
* @param element The bullet element which has the tooltip on it
|
|
21
22
|
* @param markerSeries The series on which to initialize the tooltip
|
|
22
23
|
*/
|
|
23
|
-
export declare function initializeScatterplotTooltip(
|
|
24
|
+
export declare function initializeScatterplotTooltip(props: {
|
|
25
|
+
element: Template<Graphics>;
|
|
26
|
+
markerSeries: LineSeries;
|
|
27
|
+
tooltipFormatter?: TooltipFormatters;
|
|
28
|
+
}): void;
|
|
24
29
|
/**
|
|
25
30
|
* Updates/initializes the tooltip for a Sprite marker in scatterplot.
|
|
26
31
|
*
|
|
@@ -4,6 +4,7 @@ import { RadarLineSeries } from '@amcharts/amcharts5/radar.js';
|
|
|
4
4
|
import { XYSeries, ColumnSeries, LineSeries } from '@amcharts/amcharts5/xy.js';
|
|
5
5
|
import { DateTimeFormatOptions, NumberFormatOptions, WebChartAxis, WebChartBarChartSeries, WebChartBoxPlotSeries, WebChartDataItemValue, WebChartLineChartSeries, WebChartRadarChartSeries } from '../../../../../spec';
|
|
6
6
|
import { ChartTypes } from '../../../../../utils';
|
|
7
|
+
import { TooltipFormatters } from '../../../../common/interfaces';
|
|
7
8
|
import { BarAndLineChartTooltipProps } from '../interfaces';
|
|
8
9
|
/**
|
|
9
10
|
* Adding an extra padding on the tooltip's label to avoid its scrollbar to show up.
|
|
@@ -26,7 +27,11 @@ export declare function reverseTooltipColor(tooltip: Tooltip, reverseColor?: boo
|
|
|
26
27
|
* @param element The bullet element which has the tooltip on it
|
|
27
28
|
* @param series The series on which to initialize the tooltip
|
|
28
29
|
*/
|
|
29
|
-
export declare function initializeLineAndRadarChartTooltip(
|
|
30
|
+
export declare function initializeLineAndRadarChartTooltip(props: {
|
|
31
|
+
element: Template<Graphics>;
|
|
32
|
+
series: LineSeries | RadarLineSeries;
|
|
33
|
+
tooltipFormatter?: TooltipFormatters;
|
|
34
|
+
}): void;
|
|
30
35
|
/**
|
|
31
36
|
* Initializes the tooltip associated to the markers on a series
|
|
32
37
|
*
|
|
@@ -37,8 +42,13 @@ export declare function initializeSeriesTooltip(series: PieSeries | XYSeries): T
|
|
|
37
42
|
* Initializes the tooltip associated to the markers on a series
|
|
38
43
|
* @param root The root of the bullet
|
|
39
44
|
* @param series The series on what the bullet is associated with
|
|
45
|
+
* @param tooltipFormatter The external tooltip formatter
|
|
40
46
|
*/
|
|
41
|
-
export declare function initializeBulletTooltip(
|
|
47
|
+
export declare function initializeBulletTooltip(props: {
|
|
48
|
+
root: Root;
|
|
49
|
+
series: PieSeries | XYSeries;
|
|
50
|
+
tooltipFormatter?: TooltipFormatters;
|
|
51
|
+
}): Tooltip;
|
|
42
52
|
/**
|
|
43
53
|
* A callback to check if tooltip needs to be reversed
|
|
44
54
|
*
|
|
@@ -52,7 +62,11 @@ export declare function tooltipReverseColorCallback(tooltip: Tooltip, series: Se
|
|
|
52
62
|
* @param element The element on which we are adding the html
|
|
53
63
|
* @param series the series parent of the element
|
|
54
64
|
*/
|
|
55
|
-
export declare function seriesTooltipContentCallback(
|
|
65
|
+
export declare function seriesTooltipContentCallback(props: {
|
|
66
|
+
element: Sprite | Tooltip;
|
|
67
|
+
series: Series;
|
|
68
|
+
isHTML: boolean;
|
|
69
|
+
}): string;
|
|
56
70
|
/**
|
|
57
71
|
* The tooltip x value is the value associated to the x-axis. It can be a category name, a date,
|
|
58
72
|
* a date range, etc.
|
|
@@ -75,4 +89,8 @@ export declare function updateBarAndLineChartTooltip(props: BarAndLineChartToolt
|
|
|
75
89
|
* @param chartType The chart type of the series
|
|
76
90
|
* @param series the series of the tooltip
|
|
77
91
|
*/
|
|
78
|
-
export declare function reInitializeSeriesTooltips(
|
|
92
|
+
export declare function reInitializeSeriesTooltips(props: {
|
|
93
|
+
chartType: ChartTypes;
|
|
94
|
+
series: Series;
|
|
95
|
+
tooltipFormatter?: TooltipFormatters;
|
|
96
|
+
}): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChartInstance, ConfigWithILayer, CreateChartProps } from '../common/interfaces';
|
|
2
2
|
/**
|
|
3
3
|
* Creates a chart
|
|
4
4
|
*
|
|
@@ -8,4 +8,4 @@ import { AnyConfigType, ChartInstance, CreateChartProps } from '../common/interf
|
|
|
8
8
|
* @param createChartProps.globalOptions The global options
|
|
9
9
|
* @param createChartProps.t9nStrings The t9n strings
|
|
10
10
|
*/
|
|
11
|
-
export declare function createChart(createChartProps: CreateChartProps<
|
|
11
|
+
export declare function createChart(createChartProps: CreateChartProps<ConfigWithILayer>): Promise<ChartInstance>;
|
|
@@ -52,6 +52,9 @@ export interface UpdateAxesCommonProps<ChartType extends RadarChart | XYChart, C
|
|
|
52
52
|
chart: ChartType;
|
|
53
53
|
chartConfig: ChartConfigType;
|
|
54
54
|
data?: WebChartDataTypes;
|
|
55
|
+
dataWasUpdated?: boolean;
|
|
56
|
+
axesInitializationNeeded?: boolean;
|
|
57
|
+
sortChanged?: boolean;
|
|
55
58
|
queryObject: QueryObject;
|
|
56
59
|
xAxisLabelFormatter?: AxisLabelFormatCallback;
|
|
57
60
|
utilsStrings: UtilsStrings;
|
|
@@ -26,7 +26,7 @@ export declare function displayInvalidConfigMessage(props: {
|
|
|
26
26
|
createMessage?: string;
|
|
27
27
|
status: ValidationStatus;
|
|
28
28
|
errorStrings: ErrorStrings;
|
|
29
|
-
}):
|
|
29
|
+
}): void;
|
|
30
30
|
/**
|
|
31
31
|
* Setting a message for the chart to raise and display, if prefer, when it fails to create the chart due to bad data.
|
|
32
32
|
*
|
|
@@ -46,7 +46,7 @@ export declare function raiseInvalidDataWarning(props: {
|
|
|
46
46
|
elementCount?: number;
|
|
47
47
|
seriesCount?: number;
|
|
48
48
|
errorStrings: ErrorStrings;
|
|
49
|
-
}):
|
|
49
|
+
}): void;
|
|
50
50
|
/**
|
|
51
51
|
* Checks whether the logarithmic scale can be applied to the chart's axes when the option is enabled.
|
|
52
52
|
* If not:
|
|
@@ -63,7 +63,7 @@ export declare function raiseLogScaleNotCompatibleWarning(props: {
|
|
|
63
63
|
chartModal?: Modal;
|
|
64
64
|
data?: WebChartDataTypes;
|
|
65
65
|
errorStrings: ErrorStrings;
|
|
66
|
-
}):
|
|
66
|
+
}): void;
|
|
67
67
|
/**
|
|
68
68
|
* Checks whether the chart's data is empty and if so:
|
|
69
69
|
* - sends an event
|
|
@@ -81,7 +81,7 @@ export declare function raiseNoDataWarning(props: {
|
|
|
81
81
|
chartConfig?: WebChart | WebGaugeChart;
|
|
82
82
|
data?: WebChartDataTypes;
|
|
83
83
|
errorStrings: ErrorStrings;
|
|
84
|
-
}):
|
|
84
|
+
}): void;
|
|
85
85
|
/**
|
|
86
86
|
* Notifies the uses with any message we want to display on the chart modal.
|
|
87
87
|
*
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
/**
|
|
3
|
-
* Returns a unique ID associated to a chart
|
|
4
|
-
*
|
|
5
|
-
* @param chart
|
|
6
|
-
*/
|
|
7
|
-
export declare function getChartUniqueInternalID(chart: Chart): string;
|
|
1
|
+
import { Sprite } from '@amcharts/amcharts5';
|
|
8
2
|
/**
|
|
9
3
|
* Indicates whether an amCharts element is still available (non null, non undefined, non disposed)
|
|
10
4
|
*
|
|
@@ -22,3 +16,17 @@ export declare function hexColorToRGB(input: string): {
|
|
|
22
16
|
b: number;
|
|
23
17
|
a?: number;
|
|
24
18
|
} | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Determines if an RGBA color is light or dark, considering opacity.
|
|
21
|
+
* @param {number} props.r - Red (0-255)
|
|
22
|
+
* @param {number} props.g - Green (0-255)
|
|
23
|
+
* @param {number} props.b - Blue (0-255)
|
|
24
|
+
* @param {number} props.a - Alpha (0-1)
|
|
25
|
+
* @returns boolean
|
|
26
|
+
*/
|
|
27
|
+
export declare function isColorLight(props: {
|
|
28
|
+
r: number;
|
|
29
|
+
g: number;
|
|
30
|
+
b: number;
|
|
31
|
+
a?: number;
|
|
32
|
+
}): boolean;
|
|
@@ -16,7 +16,7 @@ export declare function initializeHistogramAxes(props: InitializeHistogramAxesPr
|
|
|
16
16
|
*
|
|
17
17
|
* @param props
|
|
18
18
|
*/
|
|
19
|
-
export declare function updateHistogramAxes(props: UpdateHistogramAxesProps):
|
|
19
|
+
export declare function updateHistogramAxes(props: UpdateHistogramAxesProps): void;
|
|
20
20
|
export declare const axesHistogramPrivateFunctions: {
|
|
21
21
|
getLongestLabelWidth: typeof getLongestLabelWidth;
|
|
22
22
|
};
|
|
@@ -39,4 +39,4 @@ export declare function initializeBarAndLineChartAxes(props: InitializeBarAndLin
|
|
|
39
39
|
* @param props.commonStrings The common t9n strings
|
|
40
40
|
* @param props.errorStrings The t9n error strings
|
|
41
41
|
*/
|
|
42
|
-
export declare function updateBarAndLineChartAxes(props: UpdateBarAndLineChartProps):
|
|
42
|
+
export declare function updateBarAndLineChartAxes(props: UpdateBarAndLineChartProps): void;
|
package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-format/index.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ export declare function updateAxisFormat(props: {
|
|
|
81
81
|
overridePercentMultiplication?: boolean;
|
|
82
82
|
axisValueFormatter?: AxisLabelFormatCallback;
|
|
83
83
|
errorStrings: ErrorStrings;
|
|
84
|
-
}):
|
|
84
|
+
}): void;
|
|
85
85
|
export declare const utilsAxisformatPrivateFunctions: {
|
|
86
86
|
updateDateAxisFormatter: typeof updateDateAxisFormatter;
|
|
87
87
|
};
|
package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-renderer/index.d.ts
CHANGED
|
@@ -176,7 +176,7 @@ export declare function updateAxis(props: {
|
|
|
176
176
|
isRotated?: boolean;
|
|
177
177
|
utilsStrings: UtilsStrings;
|
|
178
178
|
errorStrings: ErrorStrings;
|
|
179
|
-
}):
|
|
179
|
+
}): void;
|
|
180
180
|
/**
|
|
181
181
|
* Updates the axes of an XYChart
|
|
182
182
|
*
|
|
@@ -210,7 +210,7 @@ export declare function updateXYChartAxes(props: {
|
|
|
210
210
|
secondaryYAxisLabelFormatter?: AxisLabelFormatCallback;
|
|
211
211
|
utilsStrings: UtilsStrings;
|
|
212
212
|
errorStrings: ErrorStrings;
|
|
213
|
-
}):
|
|
213
|
+
}): void;
|
|
214
214
|
export declare const utilsAxisrendererPrivateFunctions: {
|
|
215
215
|
getBestMinValueForAxisLogarithmic: typeof getBestMinValueForAxisLogarithmic;
|
|
216
216
|
shouldApplyStrictMinMax: typeof shouldApplyStrictMinMax;
|
|
@@ -55,6 +55,11 @@ export declare function handleAxisLabelsAutoResizing(props: {
|
|
|
55
55
|
* @param props.innerLabel The inner label
|
|
56
56
|
*/
|
|
57
57
|
export declare function handleInnerLabelAutoResizing(chart: GaugeChart, innerLabel: Label): void;
|
|
58
|
+
/**
|
|
59
|
+
* Indicates whether the gauge first and last labels need to be auto-resized.
|
|
60
|
+
* @param axisConfig The axis config
|
|
61
|
+
*/
|
|
62
|
+
export declare function doFirstAndLastLabelsNeedAutoResizing(axisConfig?: WebChartGaugeAxis): boolean;
|
|
58
63
|
/**
|
|
59
64
|
* Handles the auto-resize feature on the first&last labels. It is enabled when no font size is provided by the config and
|
|
60
65
|
* the `onlyShowFirstAndLastLabels` option is `true`.
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { SerialChart, Series } from '@amcharts/amcharts4/charts.js';
|
|
2
2
|
import { ListTemplate } from '@amcharts/amcharts4/core.js';
|
|
3
3
|
import { ChartOptions } from '../../../common/interfaces';
|
|
4
|
-
import { LoaderElements
|
|
4
|
+
import { LoaderElements } from './interfaces';
|
|
5
|
+
import { LoaderHandle } from '../../../common/loading-indicator';
|
|
5
6
|
/** Initialize the loader and defines the nested functions
|
|
6
7
|
*
|
|
7
8
|
* @param chart The chart to which the loader is attached
|
|
@@ -5,7 +5,7 @@ import { InitializeHistogramSeriesProps, UpdateHistogramSeriesProps } from './in
|
|
|
5
5
|
*
|
|
6
6
|
* @param props
|
|
7
7
|
*/
|
|
8
|
-
export declare function initializeHistogramSeries(props: InitializeHistogramSeriesProps):
|
|
8
|
+
export declare function initializeHistogramSeries(props: InitializeHistogramSeriesProps): (ColumnSeries | LineSeries)[];
|
|
9
9
|
/**
|
|
10
10
|
* Updates the chart series
|
|
11
11
|
*
|
|
@@ -2,8 +2,8 @@ import { Axis, AxisRendererX, AxisRendererY, ColumnSeries, LineSeries, XYChart }
|
|
|
2
2
|
import { UtilsStrings } from '../../../../../utils';
|
|
3
3
|
import { IRendererSymbol, NumberFormatOptions, WebChart, WebChartHistogramDataItem, WebChartHistogramSeries, WebChartOverlay } from '../../../../../spec';
|
|
4
4
|
import { ChartOptions } from '../../../../common/interfaces';
|
|
5
|
-
import { LoaderHandle } from '../../loading-indicator/interfaces';
|
|
6
5
|
import { InitializeSeriesProps, UpdateXYSeriesProps } from '../interfaces';
|
|
6
|
+
import { LoaderHandle } from '../../../../common/loading-indicator';
|
|
7
7
|
export interface TwoDimPoint {
|
|
8
8
|
x: number;
|
|
9
9
|
y: number;
|
|
@@ -4,13 +4,13 @@ import { IField, RESTRendererType, WebChartAxis, WebChartBarChartSeries, WebChar
|
|
|
4
4
|
import { ChartOptions } from '../../../common/interfaces';
|
|
5
5
|
import { ApplySelectionOnSeriesProps } from '../../selection/apply/interfaces';
|
|
6
6
|
import { AxisList } from '../axes/utils/axis-renderer/interfaces';
|
|
7
|
-
import { LoaderHandle } from '../loading-indicator/interfaces';
|
|
8
7
|
import { UpdateBarSeriesProps } from './bar-chart/interfaces';
|
|
9
8
|
import { UpdateBoxPlotSeriesStyleProps } from './box-plot/interfaces';
|
|
10
9
|
import { UpdateHistogramSeriesProps } from './histogram/interfaces';
|
|
11
10
|
import { UpdateLineSeriesProps } from './line-chart/interfaces';
|
|
12
11
|
import { UpdatePieChartSeriesProps } from './pie-chart/interfaces';
|
|
13
12
|
import { UpdateScatterplotSeriesProps, UpdateTrendLineProps } from './scatter-plot/interfaces';
|
|
13
|
+
import { LoaderHandle } from '../../../common/loading-indicator';
|
|
14
14
|
export interface InitializeSeriesProps<ChartType extends GaugeChart | PieChart | XYChart> {
|
|
15
15
|
chart: ChartType;
|
|
16
16
|
axisList?: AxisList;
|
|
@@ -2,8 +2,8 @@ import { PieChart, PieSeries } from '@amcharts/amcharts4/charts.js';
|
|
|
2
2
|
import { PieSlicesSymbols, QueryObject, SelectionTheme, UtilsStrings } from '../../../../../utils';
|
|
3
3
|
import { WebChart, WebChartDataItem, WebChartPieChartSeries } from '../../../../../spec';
|
|
4
4
|
import { getSliceSymbol } from '../../../../common/series/pie-chart';
|
|
5
|
-
import { LoaderHandle } from '../../loading-indicator/interfaces';
|
|
6
5
|
import { UpdatePieChartSeriesProps } from './interfaces';
|
|
6
|
+
import { LoaderHandle } from '../../../../common/loading-indicator';
|
|
7
7
|
/**
|
|
8
8
|
* This function sets the series default colors, overriding the default amCharts theme.
|
|
9
9
|
* This is made to prevent color glitches making the default theme appear momentarily when updating the
|
|
@@ -5,7 +5,7 @@ import { InitializeScatterplotProps, UpdateScatterplotSeriesProps } from './inte
|
|
|
5
5
|
*
|
|
6
6
|
* @param props
|
|
7
7
|
*/
|
|
8
|
-
export declare function initializeScatterplotSeries(props: InitializeScatterplotProps):
|
|
8
|
+
export declare function initializeScatterplotSeries(props: InitializeScatterplotProps): LineSeries[];
|
|
9
9
|
/**
|
|
10
10
|
* Function updating the chart series and assigning its data.
|
|
11
11
|
*
|