@arcgis/charts-components 5.0.0-next.5 → 5.0.0-next.50
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/{4MEZ4HKS.js → 26O4C2SO.js} +2 -2
- package/dist/cdn/2FE3CP67.js +4 -0
- package/dist/cdn/2LAOCG4N.js +4 -0
- package/dist/cdn/{ZTCVGEDC.js → 2ODVQ2TW.js} +2 -2
- package/dist/cdn/2SKE46H5.js +4 -0
- package/dist/cdn/2UF7W2T3.js +4 -0
- package/dist/cdn/36TKGWFT.js +4 -0
- package/dist/cdn/{7XE7ZIHN.js → 3ECNP5BW.js} +2 -2
- package/dist/cdn/3JW7C2KJ.js +4 -0
- package/dist/cdn/{B22PSOMV.js → 3KDD376T.js} +2 -2
- package/dist/cdn/3NS77WJE.js +4 -0
- package/dist/cdn/{NFXRX2K2.js → 3P55YTJS.js} +2 -2
- package/dist/cdn/3SJCXTQK.js +4 -0
- package/dist/cdn/3XISGM2S.js +4 -0
- package/dist/cdn/{I5HVQQ3Q.js → 4FRYL5DA.js} +2 -2
- package/dist/cdn/4FV6KG4R.js +4 -0
- package/dist/cdn/{4D4W6UVF.js → 4GSGKAK7.js} +2 -2
- package/dist/cdn/{DDGMIWZC.js → 4ISZVQHR.js} +2 -2
- package/dist/cdn/5A5MDDRN.js +4 -0
- package/dist/cdn/5MD76I6Q.js +4 -0
- package/dist/cdn/5NG7VBHF.js +4 -0
- package/dist/cdn/5X5UWROJ.js +4 -0
- package/dist/cdn/{ESYIBBDW.js → 5XFQLBWZ.js} +2 -2
- package/dist/cdn/{OSGGRDHY.js → 6AOOCWYY.js} +2 -2
- package/dist/cdn/{KBDI5BIF.js → 6CKIKBY5.js} +2 -2
- package/dist/cdn/{PX4P6EVU.js → 6DJROXGW.js} +2 -2
- package/dist/cdn/6LFBGWK7.js +4 -0
- package/dist/cdn/6QWPIUYA.js +4 -0
- package/dist/cdn/6ZHAZO7H.js +4 -0
- package/dist/cdn/{4JOT7RYS.js → 76RU34IE.js} +2 -2
- package/dist/cdn/7KSA32K2.js +4 -0
- package/dist/cdn/7MG3HYCG.js +4 -0
- package/dist/cdn/7NCXWQXT.js +4 -0
- package/dist/cdn/{DONAR2FZ.js → 7OCEHGAB.js} +2 -2
- package/dist/cdn/{WZO6BPV2.js → 7PRYAUGL.js} +2 -2
- package/dist/cdn/{WTH425VI.js → 7SFWISKR.js} +1 -1
- package/dist/cdn/7YJCBZVH.js +4 -0
- package/dist/cdn/7YON7NDZ.js +4 -0
- package/dist/cdn/{6XICP4O2.js → A27QZJUY.js} +2 -2
- package/dist/cdn/AJS6JW3K.js +4 -0
- package/dist/cdn/AMKUDXZY.js +4 -0
- package/dist/cdn/AN5SQLHN.js +4 -0
- package/dist/cdn/{O3HVGYZS.js → AOFBOMXC.js} +2 -2
- package/dist/cdn/{W6JDJ6CI.js → AOO6GDEC.js} +2 -2
- package/dist/cdn/{A2XWPGD2.js → AXRVOVBF.js} +2 -2
- package/dist/cdn/AZDA3Q2L.js +4 -0
- package/dist/cdn/BD7IJWF7.js +4 -0
- package/dist/cdn/BIH53AYJ.js +4 -0
- package/dist/cdn/{AS4BM6KR.js → BOTWZKUQ.js} +2 -2
- package/dist/cdn/BTHTBV5A.js +6 -0
- package/dist/cdn/BVJI3LIY.js +4 -0
- package/dist/cdn/C45XVNR2.js +4 -0
- package/dist/cdn/C5IRQG7G.js +4 -0
- package/dist/cdn/{XREL2EGV.js → C5S2ZIN3.js} +2 -2
- package/dist/cdn/CCP7ZN73.js +4 -0
- package/dist/cdn/{XWMI6JSB.js → CQULMEMV.js} +2 -2
- package/dist/cdn/{VLY5ZFJB.js → CSFHHFSM.js} +2 -2
- package/dist/cdn/{VEUR3MYM.js → D4ZMBCJK.js} +2 -2
- package/dist/cdn/{CFTAWZ77.js → D544FYGH.js} +2 -2
- package/dist/cdn/DBSN6SJG.js +42 -0
- package/dist/cdn/DFZCEOPG.js +4 -0
- package/dist/cdn/DKXEMIHS.js +4 -0
- package/dist/cdn/DOFYJLXE.js +4 -0
- package/dist/cdn/{5GCX3ASK.js → DUFXKWI7.js} +2 -2
- package/dist/cdn/E7BSRTNI.js +4 -0
- package/dist/cdn/EBR2XG3M.js +4 -0
- package/dist/cdn/EMC4KVH3.js +4 -0
- package/dist/cdn/{CV6THL4H.js → ET5OYNFV.js} +2 -2
- package/dist/cdn/EXG3NG37.js +4 -0
- package/dist/cdn/F2EHEE5T.js +4 -0
- package/dist/cdn/FH3K3YGY.js +4 -0
- package/dist/cdn/{ULD7JICH.js → FQCCQHYM.js} +2 -2
- package/dist/cdn/{Y4BOOI43.js → G6WMNXMR.js} +2 -2
- package/dist/cdn/GDZI66P7.js +4 -0
- package/dist/cdn/{FSLY4LNC.js → GIAD4DDM.js} +2 -2
- package/dist/cdn/{LAGE62S7.js → GN4S6TFX.js} +1 -1
- package/dist/cdn/GOAOMN4Q.js +4 -0
- package/dist/cdn/{6RJ54FTE.js → HCAPGUEP.js} +2 -2
- package/dist/cdn/{H4QOQNQX.js → HDBLEFJX.js} +2 -2
- package/dist/cdn/{JUDN6TYO.js → HITL5LVQ.js} +2 -2
- package/dist/cdn/HJY4LABK.js +4 -0
- package/dist/cdn/{RR2GRLN4.js → HT4B4H7L.js} +2 -2
- package/dist/cdn/{ZV2FCWVF.js → HTZ6HUE7.js} +2 -2
- package/dist/cdn/{7LJXG2EB.js → HV5MTLXN.js} +2 -2
- package/dist/cdn/{PRUOLLXX.js → HZDHFDAV.js} +2 -2
- package/dist/cdn/I6RRJ5CJ.js +4 -0
- package/dist/cdn/IJVHVDJA.js +4 -0
- package/dist/cdn/{D6KEJTTL.js → J2JD62SN.js} +2 -2
- package/dist/cdn/J3MGLAAR.js +4 -0
- package/dist/cdn/JDMFTBMI.js +4 -0
- package/dist/cdn/{VTWEX57C.js → JQNYKK6B.js} +2 -2
- package/dist/cdn/JU2I4345.js +4 -0
- package/dist/cdn/JUFMUQ4P.js +4 -0
- package/dist/cdn/K2I7YI56.js +4 -0
- package/dist/cdn/K74PJ4WB.js +4 -0
- package/dist/cdn/KCWJIC4Q.js +4 -0
- package/dist/cdn/KHDU2R4A.js +4 -0
- package/dist/cdn/{HDBIXSWC.js → KK5H47SG.js} +2 -2
- package/dist/cdn/{4IJR7EHI.js → KOCUEKJS.js} +2 -2
- package/dist/cdn/KWSBNUGE.js +4 -0
- package/dist/cdn/{G6IPNEE3.js → LMUCXDI6.js} +2 -2
- package/dist/cdn/LRSCMZ3N.js +4 -0
- package/dist/cdn/LTULSJDN.js +4 -0
- package/dist/cdn/M3IZDP6V.js +4 -0
- package/dist/cdn/M6LOBOBS.js +4 -0
- package/dist/cdn/MCOJRSYJ.js +4 -0
- package/dist/cdn/MGBNPUZA.js +4 -0
- package/dist/cdn/MHAYB3PH.js +4 -0
- package/dist/cdn/MIWUKL6J.js +4 -0
- package/dist/cdn/{OX37U5FL.js → N7KTRJ45.js} +2 -2
- package/dist/cdn/NARPXZA3.js +4 -0
- package/dist/cdn/{KOZIVKMW.js → NBX37BVN.js} +1 -1
- package/dist/cdn/NDO7DPFW.js +4 -0
- package/dist/cdn/{K4VUPLRS.js → NEKBCXVV.js} +1 -1
- package/dist/cdn/{VIGBYFUK.js → NHJESRHO.js} +2 -2
- package/dist/cdn/NUBOWP55.js +58 -0
- package/dist/cdn/{RFHU6X2B.js → OI7F6IK6.js} +2 -2
- package/dist/cdn/{73AZHLP7.js → OIDFNHHC.js} +2 -2
- package/dist/cdn/{TROAL5VH.js → OSV2I4IK.js} +2 -2
- package/dist/cdn/{FSB6NTEU.js → P25EJVKO.js} +2 -2
- package/dist/cdn/P3PTEKXY.js +4 -0
- package/dist/cdn/{3H5R54P6.js → P7NG5ZCK.js} +2 -2
- package/dist/cdn/PBFPIYFR.js +4 -0
- package/dist/cdn/PJDJY6QO.js +4 -0
- package/dist/cdn/{H355OUXG.js → PKU63745.js} +2 -2
- package/dist/cdn/{IAH4FEMB.js → PKUDLYDH.js} +2 -2
- package/dist/cdn/PRFA2BDM.js +4 -0
- package/dist/cdn/PU7XJKMM.js +4 -0
- package/dist/cdn/QB2ZPNI4.js +4 -0
- package/dist/cdn/{EQRBT4RS.js → QEAILQVT.js} +2 -2
- package/dist/cdn/{AXYMSHID.js → QEITA5KF.js} +2 -2
- package/dist/cdn/QFX2SGPL.js +4 -0
- package/dist/cdn/{635XSSNH.js → QHMU4PPD.js} +2 -2
- package/dist/cdn/{TFR2XJOG.js → QPBSNNTL.js} +2 -2
- package/dist/cdn/{TXAGJJ7V.js → QSJ5TL3F.js} +2 -2
- package/dist/cdn/RAUJYZVX.js +4 -0
- package/dist/cdn/RI66GGYU.js +4 -0
- package/dist/cdn/S5JPO4P5.js +4 -0
- package/dist/cdn/S6A6FEOD.js +4 -0
- package/dist/cdn/{MUTK62YG.js → S6CRYKAL.js} +2 -2
- package/dist/cdn/SGFDMYNP.js +4 -0
- package/dist/cdn/SN4QWSTF.js +4 -0
- package/dist/cdn/SNEW25J3.js +4 -0
- package/dist/cdn/{RIATOUFB.js → SNQHYAG3.js} +2 -2
- package/dist/cdn/SRVZNUFX.js +4 -0
- package/dist/cdn/{Q6LEDMBZ.js → SXD252OF.js} +1 -1
- package/dist/cdn/TBD3E63C.js +4 -0
- package/dist/cdn/TC3FQIMZ.js +4 -0
- package/dist/cdn/TOUJIM3U.js +4 -0
- package/dist/cdn/TQKLOLSZ.js +4 -0
- package/dist/cdn/TWNGAOG7.js +4 -0
- package/dist/cdn/TY5UH5KL.js +4 -0
- package/dist/cdn/U22LBSRH.js +4 -0
- package/dist/cdn/U3JCE5EV.js +4 -0
- package/dist/cdn/UCSCW4TP.js +4 -0
- package/dist/cdn/UDV5BQ27.js +4 -0
- package/dist/cdn/UESZUDON.js +4 -0
- package/dist/cdn/UGMLNPIU.js +4 -0
- package/dist/cdn/{TETZB6TG.js → UJOCZ6ZC.js} +2 -2
- package/dist/cdn/UQAFLBKM.js +4 -0
- package/dist/cdn/VAUIOWOR.js +4 -0
- package/dist/cdn/VBHLUHLE.js +4 -0
- package/dist/cdn/{UUFUCAD3.js → VH3JYV73.js} +1 -1
- package/dist/cdn/{PCGSJWVC.js → VKBB4QVJ.js} +2 -2
- package/dist/cdn/{5HRJVYD3.js → VMNQXSMJ.js} +2 -2
- package/dist/cdn/VYV5RLAJ.js +4 -0
- package/dist/cdn/WDE7QD7R.js +4 -0
- package/dist/cdn/WIMVMWPQ.js +4 -0
- package/dist/cdn/WYOKKG3C.js +4 -0
- package/dist/cdn/WYQLU6FO.js +4 -0
- package/dist/cdn/XOJUQ6ZN.js +4 -0
- package/dist/cdn/XOYESNHD.js +4 -0
- package/dist/cdn/{G2METNMC.js → XVVLJOIO.js} +2 -2
- package/dist/cdn/{JCJDTWWY.js → Y57PLYO3.js} +2 -2
- package/dist/cdn/{Z6IXB3E5.js → YCFOY7IW.js} +2 -2
- package/dist/cdn/YDXWEUMD.js +4 -0
- package/dist/cdn/{HREWUP6X.js → YIZOHZ5W.js} +2 -2
- package/dist/cdn/YPB6ZOPZ.js +4 -0
- package/dist/cdn/YWWSLYQZ.js +4 -0
- package/dist/cdn/ZQS57AFK.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 +2 -3
- 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 +20 -7
- 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/utils.d.ts +6 -1
- package/dist/chart-rendering/next/chart-library-elements/legend/heat-legend/index.d.ts +2 -2
- package/dist/chart-rendering/next/chart-library-elements/legend/index.d.ts +8 -6
- package/dist/chart-rendering/next/chart-library-elements/legend/interfaces.d.ts +15 -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/pie-chart/index.d.ts +2 -0
- 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/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/next/utils/misc/index.d.ts +9 -3
- 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 +52 -39
- 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 +215 -193
- package/dist/chunks/box-plot-model.js +34 -26
- 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 +144 -5401
- 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 +23745 -2184
- 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 +143 -144
- package/dist/chunks/model-with-rotation.js +15 -6
- package/dist/chunks/pie-chart-data.js +144 -128
- package/dist/chunks/pie-chart-model.js +80 -71
- 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 +58 -42
- package/dist/chunks/series-types.js +3 -2
- 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 +214 -199
- package/dist/components/arcgis-chart/customElement.d.ts +529 -56
- package/dist/components/arcgis-chart/customElement.js +7843 -7687
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +2 -3
- package/dist/components/arcgis-charts-action-bar/customElement.js +57 -48
- 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 +32 -25
- 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 +18 -9
- 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 +56 -49
- 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 +2 -2
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +26 -23
- package/dist/components/arcgis-charts-config-color-style/customElement.js +3 -3
- 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 +21 -12
- 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 +26 -17
- package/dist/components/arcgis-charts-config-guide/customElement.js +30 -31
- 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 +26 -17
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +16 -7
- 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 +68 -51
- 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 +21 -12
- 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 +16 -7
- package/dist/components/arcgis-charts-config-line-style/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-line-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-number-format/customElement.js +5 -5
- 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 +42 -33
- 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 +14 -5
- 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 +21 -12
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +23 -10
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +22 -13
- package/dist/docs/api.json +27 -288
- package/dist/docs/docs.json +111 -244
- package/dist/docs/vscode.html-custom-data.json +6 -35
- package/dist/docs/web-types.json +12 -64
- package/dist/index.js +425 -406
- package/dist/json-schema/index.d.ts +14 -3
- package/dist/loader.js +2 -2
- package/dist/model/chart-model/chart-model.d.ts +4 -9
- 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 +63 -8
- 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 +4 -3
- 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 +5 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +4 -0
- package/dist/model/shared/data.d.ts +44 -2
- package/dist/model.js +1 -1
- package/dist/spec/chart-object-literals.d.ts +1 -0
- 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 +22 -25
- 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/index.d.ts +1 -1
- 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 +46 -3
- 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 -8
- 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/2CQCJUK3.js +0 -4
- package/dist/cdn/2NTY7DVX.js +0 -4
- package/dist/cdn/2YMGZECH.js +0 -4
- package/dist/cdn/2YQYGHQO.js +0 -4
- package/dist/cdn/3RZX4TOQ.js +0 -6
- package/dist/cdn/3T5QJ3UH.js +0 -4
- package/dist/cdn/3YDBKBBR.js +0 -4
- package/dist/cdn/4T53OXS6.js +0 -4
- package/dist/cdn/52ZJWBJT.js +0 -4
- package/dist/cdn/573TNYY5.js +0 -4
- package/dist/cdn/5AALQ6RZ.js +0 -4
- package/dist/cdn/5KMNAURG.js +0 -4
- package/dist/cdn/5VTYZVJH.js +0 -4
- package/dist/cdn/62ZVQ3ZH.js +0 -4
- package/dist/cdn/6CQPTE3E.js +0 -4
- package/dist/cdn/6HWUT7L4.js +0 -4
- package/dist/cdn/6NZ5234Z.js +0 -4
- package/dist/cdn/6OJCTSQD.js +0 -4
- package/dist/cdn/6SVM5HRB.js +0 -4
- package/dist/cdn/7DM5FB6A.js +0 -4
- package/dist/cdn/7XU3S5AU.js +0 -42
- package/dist/cdn/AD3SQBUO.js +0 -4
- package/dist/cdn/AIGJFWPO.js +0 -4
- package/dist/cdn/BR5RSKQJ.js +0 -4
- package/dist/cdn/BRYCQYEF.js +0 -4
- package/dist/cdn/BUZQFX4X.js +0 -4
- package/dist/cdn/CB7O2PE3.js +0 -4
- package/dist/cdn/CFJM4T24.js +0 -4
- package/dist/cdn/DCPP2A6R.js +0 -4
- package/dist/cdn/DCYBICHJ.css +0 -1
- package/dist/cdn/DI74HOSV.js +0 -4
- package/dist/cdn/DIQKH37P.js +0 -4
- package/dist/cdn/DRJ4SKBY.js +0 -4
- package/dist/cdn/DW3KTB7W.js +0 -4
- package/dist/cdn/EHWOH3AS.js +0 -4
- package/dist/cdn/EQIVGIV5.js +0 -4
- package/dist/cdn/ETWCEC6I.js +0 -4
- package/dist/cdn/EV7NZIDI.js +0 -4
- package/dist/cdn/G34MOD6Z.js +0 -4
- package/dist/cdn/GCWYVEAM.js +0 -4
- package/dist/cdn/H7YSSKNX.js +0 -4
- package/dist/cdn/HO66RCKA.js +0 -58
- package/dist/cdn/HTCGNGWS.js +0 -4
- package/dist/cdn/I4W5SN2C.js +0 -4
- package/dist/cdn/IDYONL6G.js +0 -4
- package/dist/cdn/IMF6T5KA.js +0 -4
- package/dist/cdn/IXZG7BYH.js +0 -4
- package/dist/cdn/IYCGVT6M.js +0 -4
- package/dist/cdn/JBINPRLV.js +0 -4
- package/dist/cdn/JFBDHWTH.js +0 -4
- package/dist/cdn/KREPFU54.js +0 -4
- package/dist/cdn/KSO4FH7T.js +0 -4
- package/dist/cdn/KV7MQRID.js +0 -4
- package/dist/cdn/KVQGRGTX.js +0 -4
- package/dist/cdn/KZ2PASIL.js +0 -4
- package/dist/cdn/L7XBIHO4.js +0 -4
- package/dist/cdn/LHKTIOAS.js +0 -4
- package/dist/cdn/LKQSJH6O.js +0 -4
- package/dist/cdn/LO3BV66U.js +0 -4
- package/dist/cdn/LU4QMMFH.js +0 -4
- package/dist/cdn/MFCXPRPK.js +0 -4
- package/dist/cdn/MG2HFVH3.js +0 -4
- package/dist/cdn/MJMLISNQ.js +0 -4
- package/dist/cdn/NFFCP5DA.js +0 -4
- package/dist/cdn/NFFRB4BR.js +0 -4
- package/dist/cdn/NG4OYKF4.js +0 -4
- package/dist/cdn/NGDMHV44.js +0 -4
- package/dist/cdn/NMZIP2MC.js +0 -4
- package/dist/cdn/OI5MJGAM.js +0 -4
- package/dist/cdn/OIQ4EV4L.js +0 -4
- package/dist/cdn/OMKUZSPX.js +0 -4
- package/dist/cdn/P2L45OHX.js +0 -4
- package/dist/cdn/PUVURJEA.js +0 -4
- package/dist/cdn/PYJJGJD5.js +0 -4
- package/dist/cdn/Q2IJF3UD.js +0 -4
- package/dist/cdn/QGB6IYXA.js +0 -4
- package/dist/cdn/QUP7LRZB.js +0 -4
- package/dist/cdn/QVM2XZGE.js +0 -4
- package/dist/cdn/RKVGZGMT.js +0 -4
- package/dist/cdn/RYGSUHPL.js +0 -4
- package/dist/cdn/S26GJIZW.js +0 -4
- package/dist/cdn/S57HESNZ.js +0 -4
- package/dist/cdn/SUSSWOBP.js +0 -4
- package/dist/cdn/T3HLSENK.js +0 -4
- package/dist/cdn/T4OLCB57.js +0 -4
- package/dist/cdn/TC4K2IBN.js +0 -4
- package/dist/cdn/TEKM44UI.js +0 -4
- package/dist/cdn/THFW5BGS.js +0 -4
- package/dist/cdn/TP24LJTV.js +0 -4
- package/dist/cdn/TQ6TYM53.js +0 -4
- package/dist/cdn/TUSAPA3B.js +0 -4
- package/dist/cdn/TZOUXYMP.js +0 -4
- package/dist/cdn/UP5YHRAT.js +0 -4
- package/dist/cdn/USDDCXSD.js +0 -4
- package/dist/cdn/VANVPL7B.js +0 -4
- package/dist/cdn/VE7L4QD3.js +0 -4
- package/dist/cdn/VUG3AMJW.js +0 -4
- package/dist/cdn/VZHZP3WS.js +0 -4
- package/dist/cdn/VZOYYSMT.js +0 -4
- package/dist/cdn/W3PPNJUI.js +0 -4
- package/dist/cdn/W5D44LNY.js +0 -4
- package/dist/cdn/WB3AED73.js +0 -4
- package/dist/cdn/WFODK6LM.js +0 -4
- package/dist/cdn/XATS2GRO.js +0 -4
- package/dist/cdn/XIBVZCXM.js +0 -4
- package/dist/cdn/XLRLWYNY.js +0 -4
- package/dist/cdn/XQ7LOQ6A.js +0 -4
- package/dist/cdn/XTYW4JSU.js +0 -4
- package/dist/cdn/Y54PXKNX.js +0 -4
- package/dist/cdn/YRXQVP63.js +0 -4
- package/dist/cdn/ZIRCERSI.js +0 -4
- package/dist/cdn/ZM7CB4BA.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
|
@@ -1,33 +1,41 @@
|
|
|
1
|
+
import { default as AttributeBinsGraphic } from '@arcgis/core/AttributeBinsGraphic.js';
|
|
2
|
+
import { default as Graphic } from '@arcgis/core/Graphic.js';
|
|
1
3
|
import { default as MapView } from '@arcgis/core/views/MapView';
|
|
2
4
|
import { default as SceneView } from '@arcgis/core/views/SceneView';
|
|
3
5
|
import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView';
|
|
4
|
-
import { IField, SupportedLayer, WebBoxPlot, WebChart, WebChartDataFilters, WebChartDataItem, WebChartDataItemValue, WebChartDataTypes, WebChartPieChartSlice, WebChartQuery, WebGaugeChart } from '../../spec';
|
|
5
|
-
import { AbortControllerKeyType, ActionModes,
|
|
6
|
+
import { IField, SupportedLayer, WebBoxPlot, WebChart, WebChartDataFilters, WebChartDataItem, WebChartDataItemValue, WebChartDataTypes, WebChartPieChartSlice, WebChartQuery, WebGaugeChart, WebHeatChart, WebRadarChart } from '../../spec';
|
|
7
|
+
import { AbortControllerKeyType, ActionModes, ChartElementLimit, CursorRange, DataInfo, DataUpdateDetails, ErrorStrings, LoaderColors, QueryObject, SelectionData, SelectionTheme, UtilsStrings, ValidationStatus } from '../../utils';
|
|
6
8
|
export declare const uuidNamespace: string;
|
|
7
9
|
export interface NotifyOptions {
|
|
8
10
|
closable?: boolean;
|
|
9
11
|
}
|
|
10
|
-
export type
|
|
11
|
-
export type ConfigWithILayer = WebBoxPlot | WebChart | WebGaugeChart;
|
|
12
|
+
export type ConfigWithILayer = WebBoxPlot | WebChart | WebGaugeChart | WebHeatChart | WebRadarChart;
|
|
12
13
|
export type XYConfigWithILayer = WebBoxPlot | WebChart;
|
|
13
14
|
export interface T9NStrings {
|
|
14
15
|
utilsStrings: UtilsStrings;
|
|
15
16
|
errorStrings: ErrorStrings;
|
|
16
17
|
}
|
|
17
|
-
export interface CreateChartProps<ConfigType extends
|
|
18
|
+
export interface CreateChartProps<ConfigType extends ConfigWithILayer> {
|
|
18
19
|
chartContainer?: HTMLElement;
|
|
20
|
+
configValidationStatus: ValidationStatus;
|
|
19
21
|
chartConfig?: ConfigType;
|
|
20
22
|
queryObject?: QueryObject;
|
|
21
23
|
options?: ChartOptions;
|
|
22
24
|
globalOptions?: GlobalOptions;
|
|
23
|
-
|
|
25
|
+
dataInfo?: DataInfo;
|
|
24
26
|
t9nStrings: T9NStrings;
|
|
27
|
+
uniqueInternalID?: string;
|
|
25
28
|
}
|
|
26
29
|
export interface UpdateChartProps {
|
|
27
30
|
newChartConfig?: WebChart | WebGaugeChart;
|
|
31
|
+
configValidationStatus: ValidationStatus;
|
|
28
32
|
updateOptions?: ChartOptions;
|
|
29
33
|
updateGlobalOptions?: GlobalOptions;
|
|
34
|
+
dataWasUpdated: boolean;
|
|
35
|
+
dataUpdateDetails?: DataUpdateDetails;
|
|
30
36
|
t9nStrings: T9NStrings;
|
|
37
|
+
queryObject: QueryObject;
|
|
38
|
+
dataInfo?: DataInfo;
|
|
31
39
|
}
|
|
32
40
|
export interface FetchDataProps {
|
|
33
41
|
queryObject?: QueryObject;
|
|
@@ -35,7 +43,6 @@ export interface FetchDataProps {
|
|
|
35
43
|
queryConfig: WebChartQuery;
|
|
36
44
|
filterBySelectionChanged?: boolean;
|
|
37
45
|
options?: ChartOptions;
|
|
38
|
-
binnedServerData?: BinnedServerData;
|
|
39
46
|
abortKey?: AbortControllerKeyType;
|
|
40
47
|
errorStrings: ErrorStrings;
|
|
41
48
|
/** indicates whether to calculate z-score or not for the box plots. */
|
|
@@ -47,13 +54,19 @@ export interface FetchDataProps {
|
|
|
47
54
|
fetchFullBoxPlotData?: boolean;
|
|
48
55
|
completeHeatChartDataset?: boolean;
|
|
49
56
|
fieldList?: IField[];
|
|
57
|
+
preFetchedQueryResponse?: AttributeBinsGraphic[] | Graphic[];
|
|
50
58
|
}
|
|
51
59
|
export interface UpdateChartElementsProps {
|
|
52
60
|
newConfig?: WebChart | WebGaugeChart;
|
|
61
|
+
queryObject: QueryObject;
|
|
53
62
|
forceDataUpdate?: boolean;
|
|
54
63
|
updateOptions?: ChartOptions;
|
|
55
64
|
updateGlobalOptions?: GlobalOptions;
|
|
65
|
+
dataWasUpdated: boolean;
|
|
66
|
+
dataUpdateDetails?: DataUpdateDetails;
|
|
56
67
|
utilsStrings: UtilsStrings;
|
|
68
|
+
configValidationStatus: ValidationStatus;
|
|
69
|
+
dataInfo?: DataInfo;
|
|
57
70
|
}
|
|
58
71
|
export interface ExportChartImageOptions {
|
|
59
72
|
format: "jpg" | "png";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActionModes,
|
|
1
|
+
import { ActionModes, QueryObject, SelectionIndexes } from '../../../utils';
|
|
2
2
|
import { IField, OverlayTerms, ScatterplotTrendLineData, TimeIntervalInfo, WebChart, WebChartDataItem, WebChartLabelBehavior, WebChartQuery, WebChartStackedKinds, WebChartTypes } from '../../../spec';
|
|
3
3
|
import { AxisLabelFormatCallback, BarAndLineDataLabelFormatCallback, BarAndLineTooltipFormatCallback, BoxPlotTooltipFormatCallback, ChartOptions, GuideTooltipFormatCallback, HeatChartDataLabelFormatCallback, HeatChartLabelFormatCallback, HistogramLabelFormatCallback, PieChartLabelFormatCallback, PieChartLegendValueLabelFormatCallback, ScatterplotLabelFormatCallback } from '../interfaces';
|
|
4
4
|
export interface CommonStorageType {
|
|
@@ -17,7 +17,7 @@ export interface CommonStorageType {
|
|
|
17
17
|
filterBySelection?: boolean;
|
|
18
18
|
seriesFilteredOut?: boolean;
|
|
19
19
|
currentSelectionDataItems?: WebChartDataItem[];
|
|
20
|
-
currentSelectionOIDs?: number[];
|
|
20
|
+
currentSelectionOIDs?: (number | string)[];
|
|
21
21
|
currentSelectionIndexes?: SelectionIndexes;
|
|
22
22
|
computedSelectionIndexes?: SelectionIndexes;
|
|
23
23
|
computedSelectionDataItems?: WebChartDataItem[];
|
|
@@ -26,7 +26,6 @@ export interface CommonStorageType {
|
|
|
26
26
|
chartWasUpdatedWhileHidden?: boolean;
|
|
27
27
|
pendingSelectionQueries?: boolean;
|
|
28
28
|
actionMode?: ActionModes;
|
|
29
|
-
binnedServerData?: BinnedServerData;
|
|
30
29
|
gaugeData?: number;
|
|
31
30
|
options?: ChartOptions;
|
|
32
31
|
formatLocale?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PieSlicesSymbols, UtilsStrings } from '../../../../utils';
|
|
2
1
|
import { IField, ISimpleFillSymbol, WebChart, WebChartDataItem, WebChartPieChartSeries, WebChartPieChartSlice } from '../../../../spec';
|
|
2
|
+
import { PieSlicesSymbols, UtilsStrings } from '../../../../utils';
|
|
3
3
|
/**
|
|
4
4
|
* Generates an id for a slice from a non aggregated slice.
|
|
5
5
|
* it will generate `arcgis-charts-slice-id-<object id>` or `arcgis-charts-slice-id-<slice index>`
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ISimpleMarkerSymbol } from '../../../../spec';
|
|
2
|
+
/**
|
|
3
|
+
* Generates SVG path for marker style and size
|
|
4
|
+
* The SVG paths are adopted from [JSAPI 3.x](https://devtopia.esri.com/WebGIS/arcgis-js-api/blob/master/esri/symbols/SimpleMarkerSymbol.js#L133)
|
|
5
|
+
*
|
|
6
|
+
* @param style
|
|
7
|
+
* @param size
|
|
8
|
+
*/
|
|
9
|
+
export declare function mapPath(style: ISimpleMarkerSymbol["style"], size?: number): string;
|
|
@@ -7,4 +7,4 @@ import { ErrorStrings } from '../../../../utils';
|
|
|
7
7
|
* @param errorStrings The list of error strings in which to pick the error message
|
|
8
8
|
* @throws {Error}
|
|
9
9
|
*/
|
|
10
|
-
export declare function throwError(errorKey: keyof ErrorStrings["errors"], errorStrings: ErrorStrings):
|
|
10
|
+
export declare function throwError(errorKey: keyof ErrorStrings["errors"], errorStrings: ErrorStrings): never;
|
|
@@ -9,6 +9,9 @@ import { AxisLabelFormatCallback, GuideTooltipFormatCallback } from '../../../..
|
|
|
9
9
|
* @param props.chartConfig The chart's config
|
|
10
10
|
* @param props.axisLabelsBehaviorChanged Whether the axis labels behavior changed
|
|
11
11
|
* @param props.data The data to feed the axis
|
|
12
|
+
* @param props.dataWasUpdated Whether the data was updated
|
|
13
|
+
* @param props.axesInitializationNeeded Whether the axes were reinitialized during the update cycle
|
|
14
|
+
* @param props.sortChanged Whether the sort order changed
|
|
12
15
|
* @param props.yAxisLabelFormatter The y-axis label formatter
|
|
13
16
|
* @param props.guideTooltipFormatter The guide's tooltip formatter
|
|
14
17
|
* @param props.utilsStrings List of t9n strings
|
|
@@ -19,11 +22,14 @@ export declare function updateHistogramAxes(props: {
|
|
|
19
22
|
chartConfig: WebChart;
|
|
20
23
|
axisLabelsBehaviorChanged?: [boolean, boolean];
|
|
21
24
|
data?: WebChartDataTypes;
|
|
25
|
+
dataWasUpdated?: boolean;
|
|
26
|
+
axesInitializationNeeded?: boolean;
|
|
27
|
+
sortChanged?: boolean;
|
|
22
28
|
yAxisLabelFormatter?: AxisLabelFormatCallback;
|
|
23
29
|
guideTooltipFormatter?: GuideTooltipFormatCallback;
|
|
24
30
|
utilsStrings: UtilsStrings;
|
|
25
31
|
errorStrings: ErrorStrings;
|
|
26
|
-
}):
|
|
32
|
+
}): void;
|
|
27
33
|
/**
|
|
28
34
|
* Initializes the axes for an XYChart
|
|
29
35
|
*
|
|
@@ -37,4 +43,4 @@ export declare function initializeHistogramAxes(props: {
|
|
|
37
43
|
x: string;
|
|
38
44
|
axesConfig: WebChart["axes"];
|
|
39
45
|
errorStrings: ErrorStrings;
|
|
40
|
-
}):
|
|
46
|
+
}): void;
|
|
@@ -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
|
*
|
|
@@ -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
|
*
|
|
@@ -16,7 +16,7 @@ export declare function initializeHeatLegend(chart: XYChart): HeatLegend;
|
|
|
16
16
|
* @param hideEmptySeries if we should hide empty series
|
|
17
17
|
* @param seriesConfig The series config
|
|
18
18
|
*/
|
|
19
|
-
export declare function
|
|
19
|
+
export declare function updateHeatLegend(props: {
|
|
20
20
|
chart: XYChart;
|
|
21
21
|
chartConfig: WebChart;
|
|
22
22
|
legend?: HeatLegend;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HeatLegend, Legend, SerialChart, Series } from '@amcharts/amcharts5';
|
|
2
2
|
import { WebChart, WebChartSeriesType } from '../../../../spec';
|
|
3
|
+
import { QueryObject } from '../../../../utils';
|
|
3
4
|
/**
|
|
4
5
|
* Assigns the appropriate label opacity to a chart's legend when there is a chart update
|
|
5
6
|
*
|
|
@@ -13,23 +14,22 @@ export declare function handleLegendLabelsOpacity(series: Series): void;
|
|
|
13
14
|
* @param props.legend The legend
|
|
14
15
|
* @param props.chartConfig The chart configuration
|
|
15
16
|
* @param props.hideEmptySeries Whether to hide the series in the legend if the data item is empty or invalid
|
|
17
|
+
* @param props.queryObject The query object (layer or feature layer view)
|
|
16
18
|
*/
|
|
17
19
|
export declare function updateLegendData(props: {
|
|
18
20
|
chart: SerialChart;
|
|
19
21
|
legend: Legend;
|
|
20
22
|
chartConfig: WebChart;
|
|
21
23
|
hideEmptySeries?: boolean;
|
|
24
|
+
queryObject?: QueryObject;
|
|
22
25
|
}): void;
|
|
23
26
|
/**
|
|
24
27
|
* Initializes the legend
|
|
25
28
|
*
|
|
26
29
|
* @param chart The chart
|
|
30
|
+
* @param seriesConfig The series config
|
|
27
31
|
*/
|
|
28
|
-
export declare function initializeLegend(
|
|
29
|
-
chart: SerialChart;
|
|
30
|
-
seriesConfig?: WebChartSeriesType[];
|
|
31
|
-
isHeatChart?: boolean;
|
|
32
|
-
}): HeatLegend | Legend;
|
|
32
|
+
export declare function initializeLegend(chart: SerialChart, seriesConfig?: WebChartSeriesType[]): HeatLegend | Legend;
|
|
33
33
|
/**
|
|
34
34
|
* Sets the legend visibility
|
|
35
35
|
*
|
|
@@ -46,17 +46,19 @@ export declare function setLegendVisibility(props: {
|
|
|
46
46
|
* Updates the legend
|
|
47
47
|
*
|
|
48
48
|
* @param props.chart The chart
|
|
49
|
+
* @param props.queryObject The query object (layer or feature layer view)
|
|
49
50
|
* @param props.chartConfig The chart config
|
|
50
51
|
* @param props.legend The legend
|
|
51
52
|
* @param props.hideEmptySeries Whether to hide the series in the legend if the data item is empty or invalid
|
|
52
53
|
* @param props.seriesConfig The series config
|
|
54
|
+
* @param props.heatChartLegendUpdatedNeeded Whether the heat chart legend needs to be updated
|
|
53
55
|
*/
|
|
54
56
|
export declare function updateLegend(props: {
|
|
55
57
|
chart: SerialChart;
|
|
58
|
+
queryObject: QueryObject;
|
|
56
59
|
chartConfig: WebChart;
|
|
57
60
|
legend?: HeatLegend | Legend;
|
|
58
61
|
hideEmptySeries?: boolean;
|
|
59
62
|
seriesConfig: WebChartSeriesType[];
|
|
60
|
-
isHeatChart?: boolean;
|
|
61
63
|
heatChartLegendUpdatedNeeded?: boolean;
|
|
62
64
|
}): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Legend, SerialChart } from '@amcharts/amcharts5';
|
|
1
2
|
import { WebChart, WebChartLegend } from '../../../../spec';
|
|
2
3
|
import { PieChartLegendValueLabelFormatCallback } from '../../../common/interfaces';
|
|
3
|
-
import { Legend, SerialChart } from '@amcharts/amcharts5';
|
|
4
4
|
export interface UpdateLegendProps {
|
|
5
5
|
legend: Legend;
|
|
6
6
|
chart?: SerialChart;
|
|
@@ -9,3 +9,17 @@ export interface UpdateLegendProps {
|
|
|
9
9
|
disableTogglingLegendItems?: boolean;
|
|
10
10
|
pieChartLegendValueLabelFormatter?: PieChartLegendValueLabelFormatCallback;
|
|
11
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* List of the technical fields used to store the legend markers name, color and outline color.
|
|
14
|
+
* This is used when creating a standalone legend for the heat chart with class-breaks.
|
|
15
|
+
*/
|
|
16
|
+
export declare const legendHeatChartClassBreaksFields: {
|
|
17
|
+
nameField: string;
|
|
18
|
+
fillField: string;
|
|
19
|
+
strokeField: string;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Interface describing a legend data item used by the heat chart legend with class-breaks.
|
|
23
|
+
*/
|
|
24
|
+
export interface HeatChartLegendDataItem {
|
|
25
|
+
}
|
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
import { ColumnSeries } from '@amcharts/amcharts5/xy.js';
|
|
2
2
|
import { WebChart, WebChartGenericDataItem } from '../../../../../spec';
|
|
3
|
-
import { LoaderHandle } from '
|
|
3
|
+
import { LoaderHandle } from '../../../../common/loading-indicator';
|
|
4
4
|
import { InitializeBarChartSeriesProps, UpdateBarChartSeriesProps } from './interfaces';
|
|
5
5
|
/**
|
|
6
6
|
* Initialize a bar chart series
|
|
@@ -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;
|
|
@@ -43,6 +43,8 @@ export declare function initializePieChartSeries(props: InitializePieChartSeries
|
|
|
43
43
|
* @param props.options The runtime chart options
|
|
44
44
|
* @param props.loaderHandle The loader handle
|
|
45
45
|
* @param props.labelUpdateNeeded If the label needs updating
|
|
46
|
+
* @param props.utilsStrings An object of strings used
|
|
47
|
+
* @param props.groupOfSlicesUpdateNeeded If the group of slices update was needed
|
|
46
48
|
*/
|
|
47
49
|
export declare function updatePieChartSeries(props: UpdatePieChartSeriesProps): void;
|
|
48
50
|
/**
|
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,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;
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { Series } from '@amcharts/amcharts5';
|
|
2
2
|
import { ListAutoDispose } from '@amcharts/amcharts5/.internal/core/util/List.js';
|
|
3
|
+
import { WebChartSeries } from '../../../../spec/web-chart';
|
|
3
4
|
/**
|
|
4
5
|
* Function swapping the series following the position changes array.
|
|
5
6
|
* Ignores individually the swap request if the indexes are invalid.
|
|
6
|
-
* @param
|
|
7
|
-
* @param
|
|
7
|
+
* @param chartSeries The chart series
|
|
8
|
+
* @param oldSeries The old series configuration
|
|
9
|
+
* @param newSeries The new series configuration
|
|
8
10
|
*/
|
|
9
|
-
export declare function swapSeries(
|
|
11
|
+
export declare function swapSeries(props: {
|
|
12
|
+
chartSeries: ListAutoDispose<Series>;
|
|
13
|
+
oldSeries: WebChartSeries[];
|
|
14
|
+
newSeries: WebChartSeries[];
|
|
15
|
+
}): void;
|
|
@@ -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
|
};
|