@arcgis/charts-components 5.0.0-next.5 → 5.0.0-next.51
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/2FFIX2UZ.js +4 -0
- package/dist/cdn/2O3KE45T.js +4 -0
- package/dist/cdn/3724OAQD.js +4 -0
- package/dist/cdn/{TETZB6TG.js → 3CWBUXCF.js} +2 -2
- package/dist/cdn/{6XICP4O2.js → 3DIKD6LL.js} +2 -2
- package/dist/cdn/3GSG5A4P.js +4 -0
- package/dist/cdn/3HFCTYVJ.js +4 -0
- package/dist/cdn/3X2PUY3Z.js +4 -0
- package/dist/cdn/4CFJ7WM7.js +4 -0
- package/dist/cdn/{CV6THL4H.js → 4RBINONO.js} +2 -2
- package/dist/cdn/54M2LS4C.js +4 -0
- package/dist/cdn/5CMEKYG2.js +4 -0
- package/dist/cdn/5IT3DNJM.js +4 -0
- package/dist/cdn/5STK5WG7.js +4 -0
- package/dist/cdn/5WU5MG6R.js +4 -0
- package/dist/cdn/{ZV2FCWVF.js → 6SPUGQG4.js} +2 -2
- package/dist/cdn/6ST76NPJ.js +4 -0
- package/dist/cdn/{6RJ54FTE.js → 6SZCLOJV.js} +2 -2
- package/dist/cdn/6VOAZOMP.js +4 -0
- package/dist/cdn/74ZE52UP.js +4 -0
- package/dist/cdn/{W6JDJ6CI.js → AA43CFU7.js} +2 -2
- package/dist/cdn/AHGMA4MA.js +4 -0
- package/dist/cdn/{AS4BM6KR.js → AKBINYLB.js} +2 -2
- package/dist/cdn/ANVE7IP7.js +4 -0
- package/dist/cdn/AQ7MA75N.js +4 -0
- package/dist/cdn/{Z6IXB3E5.js → AQMC3HBD.js} +2 -2
- package/dist/cdn/AU4OCCCR.js +4 -0
- package/dist/cdn/AV666V52.js +4 -0
- package/dist/cdn/{ESYIBBDW.js → AWCQUNZE.js} +2 -2
- package/dist/cdn/AWJIP5SC.js +4 -0
- package/dist/cdn/BB23SUT3.js +4 -0
- package/dist/cdn/BDQRKBQJ.js +6 -0
- package/dist/cdn/BIE445NL.js +4 -0
- package/dist/cdn/{HREWUP6X.js → BROOW6ZG.js} +2 -2
- package/dist/cdn/BUZQSBDL.js +4 -0
- package/dist/cdn/BWF232OP.js +4 -0
- package/dist/cdn/BY2IOI6P.js +4 -0
- package/dist/cdn/C5RBVHQK.js +4 -0
- package/dist/cdn/CDKHTPGB.js +4 -0
- package/dist/cdn/{WTH425VI.js → CEGRP5PX.js} +1 -1
- package/dist/cdn/{ULD7JICH.js → CN3THIJA.js} +2 -2
- package/dist/cdn/COKG2QN7.js +4 -0
- package/dist/cdn/COYMZGHI.js +4 -0
- package/dist/cdn/{73AZHLP7.js → CQ5PTW3D.js} +2 -2
- package/dist/cdn/{CFTAWZ77.js → CTQ2SXIJ.js} +2 -2
- package/dist/cdn/CYQNPKG2.js +4 -0
- package/dist/cdn/{A2XWPGD2.js → DAYOKYDA.js} +2 -2
- package/dist/cdn/DD5QV2AB.js +4 -0
- package/dist/cdn/{LAGE62S7.js → DDPDZAFM.js} +1 -1
- package/dist/cdn/DF6EGSHT.js +4 -0
- package/dist/cdn/DFRMI7OU.js +4 -0
- package/dist/cdn/{5HRJVYD3.js → DL4FPPQS.js} +2 -2
- package/dist/cdn/DPGLTVXD.js +4 -0
- package/dist/cdn/{AXYMSHID.js → DS6NX7MU.js} +2 -2
- package/dist/cdn/DWTTCDLX.js +4 -0
- package/dist/cdn/E7J3XVE5.js +4 -0
- package/dist/cdn/{3H5R54P6.js → EQHNGPEU.js} +2 -2
- package/dist/cdn/F2ZJALSA.js +4 -0
- package/dist/cdn/F4VY4N6L.js +4 -0
- package/dist/cdn/{4IJR7EHI.js → F5FVJ5KN.js} +2 -2
- package/dist/cdn/FABFSBPK.js +4 -0
- package/dist/cdn/FDYMLFEA.js +4 -0
- package/dist/cdn/{DONAR2FZ.js → FSYKVNJ3.js} +2 -2
- package/dist/cdn/GCWZR5S3.js +4 -0
- package/dist/cdn/GH57K2DD.js +4 -0
- package/dist/cdn/{OX37U5FL.js → GL7DYCIY.js} +2 -2
- package/dist/cdn/GN4PWMLK.js +4 -0
- package/dist/cdn/GNQYXO2A.js +4 -0
- package/dist/cdn/GP6WVWMP.js +4 -0
- package/dist/cdn/{Q6LEDMBZ.js → GQ5UYMZ5.js} +1 -1
- package/dist/cdn/{D6KEJTTL.js → GRKP7BFO.js} +2 -2
- package/dist/cdn/GTCDCUYC.js +4 -0
- package/dist/cdn/GTDK7IDR.js +4 -0
- package/dist/cdn/{G2METNMC.js → GVYDJSRQ.js} +2 -2
- package/dist/cdn/GYL522GH.js +4 -0
- package/dist/cdn/{7XE7ZIHN.js → H2K4DW6T.js} +2 -2
- package/dist/cdn/{VTWEX57C.js → H2RWX3DS.js} +2 -2
- package/dist/cdn/H4WARRAC.js +58 -0
- package/dist/cdn/H6BINBNX.js +4 -0
- package/dist/cdn/{IAH4FEMB.js → HDPN7SOH.js} +2 -2
- package/dist/cdn/{K4VUPLRS.js → HJWO74BA.js} +1 -1
- package/dist/cdn/{4JOT7RYS.js → HTZD3B4O.js} +2 -2
- package/dist/cdn/I4ZQSKBQ.js +4 -0
- package/dist/cdn/{B22PSOMV.js → II2R3DSC.js} +2 -2
- package/dist/cdn/{VLY5ZFJB.js → IL5S5CW5.js} +2 -2
- package/dist/cdn/{H4QOQNQX.js → IOUPMTLG.js} +2 -2
- package/dist/cdn/IPIB5PCL.js +4 -0
- package/dist/cdn/IQ4BYS4D.js +4 -0
- package/dist/cdn/{TROAL5VH.js → IQSSKC6N.js} +2 -2
- package/dist/cdn/{PRUOLLXX.js → J2QDUXJE.js} +2 -2
- package/dist/cdn/JF434MRT.js +4 -0
- package/dist/cdn/{XWMI6JSB.js → JNVPCZNK.js} +2 -2
- package/dist/cdn/{O3HVGYZS.js → JOO7NCD3.js} +2 -2
- package/dist/cdn/{WZO6BPV2.js → JP7EO6BR.js} +2 -2
- package/dist/cdn/{EQRBT4RS.js → JQ3JBBOB.js} +2 -2
- package/dist/cdn/K44JZRLF.js +4 -0
- package/dist/cdn/{G6IPNEE3.js → K6NSRQ6V.js} +2 -2
- package/dist/cdn/K6NXEBG6.js +4 -0
- package/dist/cdn/{H355OUXG.js → KCRNKETG.js} +2 -2
- package/dist/cdn/KFAXAEHT.js +4 -0
- package/dist/cdn/{OSGGRDHY.js → KW6MJD4T.js} +2 -2
- package/dist/cdn/{PCGSJWVC.js → L2HTZCD6.js} +2 -2
- package/dist/cdn/L3BQ5TWO.js +4 -0
- package/dist/cdn/{UUFUCAD3.js → L4ZMM5YJ.js} +1 -1
- package/dist/cdn/{KOZIVKMW.js → L6Y3LN4B.js} +1 -1
- package/dist/cdn/LJKU5DOQ.js +4 -0
- package/dist/cdn/{PX4P6EVU.js → LQTZDVTL.js} +2 -2
- package/dist/cdn/{5GCX3ASK.js → LSWDE26H.js} +2 -2
- package/dist/cdn/{TXAGJJ7V.js → LWCVLRHQ.js} +2 -2
- package/dist/cdn/M2KOHO26.js +4 -0
- package/dist/cdn/{NFXRX2K2.js → M6HSAZI7.js} +2 -2
- package/dist/cdn/{TFR2XJOG.js → MGSTGM2O.js} +2 -2
- package/dist/cdn/{RR2GRLN4.js → MQWIEP63.js} +2 -2
- package/dist/cdn/{MUTK62YG.js → MXTVONY2.js} +2 -2
- package/dist/cdn/{7LJXG2EB.js → N5SAD3IN.js} +2 -2
- package/dist/cdn/N6HOODDF.js +4 -0
- package/dist/cdn/{HDBIXSWC.js → NDBN3CYG.js} +2 -2
- package/dist/cdn/{4MEZ4HKS.js → NHBOJSGE.js} +2 -2
- package/dist/cdn/NJP4TOWP.js +4 -0
- package/dist/cdn/NS6ESVWF.js +4 -0
- package/dist/cdn/{RFHU6X2B.js → NSAWUEOY.js} +2 -2
- package/dist/cdn/{DDGMIWZC.js → NVEWHE6O.js} +2 -2
- package/dist/cdn/NXTIHJ2P.js +4 -0
- package/dist/cdn/O2NYFQCL.js +4 -0
- package/dist/cdn/{FSB6NTEU.js → O33DW7ZZ.js} +2 -2
- package/dist/cdn/{FSLY4LNC.js → O7JUKN2Q.js} +2 -2
- package/dist/cdn/OSQESB3E.js +4 -0
- package/dist/cdn/OW2XQCBR.js +4 -0
- package/dist/cdn/{4D4W6UVF.js → PNGCP7KC.js} +2 -2
- package/dist/cdn/PROYNBFN.js +4 -0
- package/dist/cdn/PXPLGJRU.js +4 -0
- package/dist/cdn/{VIGBYFUK.js → Q7I345O4.js} +2 -2
- package/dist/cdn/QJOOCYFA.js +4 -0
- package/dist/cdn/QNM5RCZY.js +4 -0
- package/dist/cdn/RIWIFFMV.js +4 -0
- package/dist/cdn/RK7VELRG.js +4 -0
- package/dist/cdn/RLHL6HHH.js +4 -0
- package/dist/cdn/RMREODR3.js +4 -0
- package/dist/cdn/RSAVWV6P.js +4 -0
- package/dist/cdn/RWWWFCKQ.js +4 -0
- package/dist/cdn/S4ZKKCVF.js +4 -0
- package/dist/cdn/SBVMIBUY.js +4 -0
- package/dist/cdn/{635XSSNH.js → SLS4K5UK.js} +2 -2
- package/dist/cdn/{KBDI5BIF.js → SQZQQKJZ.js} +2 -2
- package/dist/cdn/TDILUAGE.js +4 -0
- package/dist/cdn/TETD6QHI.js +4 -0
- package/dist/cdn/TI3G5ABA.js +4 -0
- package/dist/cdn/TJH3I3LD.js +4 -0
- package/dist/cdn/TNF2MVZI.js +4 -0
- package/dist/cdn/{Y4BOOI43.js → TOOYVIAU.js} +2 -2
- package/dist/cdn/TUFE5B5M.js +4 -0
- package/dist/cdn/{I5HVQQ3Q.js → TUOORNZN.js} +2 -2
- package/dist/cdn/UAFOQ3XQ.js +4 -0
- package/dist/cdn/UMSXJEYX.js +4 -0
- package/dist/cdn/USX3GUS7.js +4 -0
- package/dist/cdn/{JCJDTWWY.js → UUW55D6Y.js} +2 -2
- package/dist/cdn/V72HAW3A.js +42 -0
- package/dist/cdn/VAVNAMP2.js +4 -0
- package/dist/cdn/{XREL2EGV.js → VVGO57XM.js} +2 -2
- package/dist/cdn/W5HCONSX.js +4 -0
- package/dist/cdn/WBTRPWQM.js +4 -0
- package/dist/cdn/WGA4QOON.js +4 -0
- package/dist/cdn/{VEUR3MYM.js → WHHOEHEE.js} +2 -2
- package/dist/cdn/WLE7CQD4.js +4 -0
- package/dist/cdn/WNCAET2Z.js +4 -0
- package/dist/cdn/WOBVOJFL.js +4 -0
- package/dist/cdn/XBC6GHB3.js +4 -0
- package/dist/cdn/XC6MMICH.js +4 -0
- package/dist/cdn/{RIATOUFB.js → XJYGPXHP.js} +2 -2
- package/dist/cdn/XREVRW6Y.js +4 -0
- package/dist/cdn/Y6FYKIS7.js +4 -0
- package/dist/cdn/YKIBACTO.js +4 -0
- package/dist/cdn/YSZYWYQW.js +4 -0
- package/dist/cdn/{ZTCVGEDC.js → YVH4TYHT.js} +2 -2
- package/dist/cdn/YWU6XQ2J.js +4 -0
- package/dist/cdn/YYRTXFKJ.js +4 -0
- package/dist/cdn/{JUDN6TYO.js → Z6EEQTA7.js} +2 -2
- package/dist/cdn/ZGKD3DQA.js +4 -0
- package/dist/cdn/ZROF5BBD.js +4 -0
- package/dist/cdn/ZYKH466J.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 +5 -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 +3 -0
- package/dist/chart-rendering/next/chart-library-elements/series/scatter-plot/size-policy/index.d.ts +8 -17
- package/dist/chart-rendering/next/chart-library-elements/series/utils/index.d.ts +7 -18
- 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 +216 -194
- package/dist/chunks/box-plot-model.js +35 -27
- 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 +64 -927
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +24 -16
- package/dist/chunks/heat-chart-model.js +177 -52
- package/dist/chunks/histogram-data.js +57 -49
- package/dist/chunks/histogram-model.js +19 -11
- package/dist/chunks/index.js +23765 -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 +145 -146
- 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 +62 -53
- 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 +52 -36
- 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 +208 -193
- package/dist/components/arcgis-chart/customElement.d.ts +529 -56
- package/dist/components/arcgis-chart/customElement.js +7969 -7806
- 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 +21 -14
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +27 -17
- 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 +52 -45
- 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 +31 -32
- 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 +30 -21
- 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 +22 -13
- 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 +49 -36
- 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 +46 -37
- 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 +426 -405
- 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 +272 -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,7 +1,5 @@
|
|
|
1
|
-
import { IExtent, IField,
|
|
2
|
-
import { ChartElementLimit
|
|
3
|
-
import { ChartOptions } from '../../../interfaces';
|
|
4
|
-
import { DataUpdateNeededDetails } from './interfaces';
|
|
1
|
+
import { IExtent, IField, ValueConversion, WebChart, WebChartBin, WebChartDataItem, WebChartDataItemValue, WebChartDataTypes, WebChartSeriesType, WebGaugeChart, WebChartDataTransformations, WebChartSortOrderKinds } from '../../../../../spec';
|
|
2
|
+
import { ChartElementLimit } from '../../../../../utils';
|
|
5
3
|
/**
|
|
6
4
|
* Merges an array of IExtent into one IExtent
|
|
7
5
|
*
|
|
@@ -177,164 +175,11 @@ export declare function transformDateToQueryFormat(date: Date | number): number
|
|
|
177
175
|
* @param fieldList The field list
|
|
178
176
|
*/
|
|
179
177
|
export declare function convertMultipleNumericFieldsData(props: {
|
|
180
|
-
dataToConvert: WebChartDataItem;
|
|
178
|
+
dataToConvert: WebChartDataItem | undefined;
|
|
181
179
|
x: string;
|
|
182
180
|
y: string;
|
|
183
181
|
fieldList?: IField[];
|
|
184
182
|
}): WebChartDataItem[];
|
|
185
|
-
/**
|
|
186
|
-
* Compares two gauge configs and indicates whether the series value conversion changed
|
|
187
|
-
*
|
|
188
|
-
* @param oldConfig The previous config
|
|
189
|
-
* @param newConfig The updated config
|
|
190
|
-
*/
|
|
191
|
-
declare function hasGaugeValueConversionChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
|
|
192
|
-
/**
|
|
193
|
-
* Compares two heat chart configs to see if binning has changed
|
|
194
|
-
*
|
|
195
|
-
* @param oldConfig The previous config
|
|
196
|
-
* @param newConfig The updated config
|
|
197
|
-
*/
|
|
198
|
-
declare function hasHeatChartBinningChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
|
|
199
|
-
/**
|
|
200
|
-
* Compares two configs and indicates whether additional tooltip fields (only non-numeric) changed
|
|
201
|
-
*
|
|
202
|
-
* **NOTE**: (only for scatterplot)
|
|
203
|
-
*
|
|
204
|
-
* @param {WebChart} props.oldConfig The previous config
|
|
205
|
-
* @param {WebChart} props.newConfig The updated config
|
|
206
|
-
* @param {IField[]|undefined} props.fieldList The layer field list
|
|
207
|
-
*/
|
|
208
|
-
export declare function hasAdditionalTooltipFieldsChanged(props: {
|
|
209
|
-
oldConfig: WebChart;
|
|
210
|
-
newConfig: WebChart;
|
|
211
|
-
fieldList?: IField[];
|
|
212
|
-
}): boolean;
|
|
213
|
-
/**
|
|
214
|
-
* Compares two configs and indicates whether the color type change
|
|
215
|
-
*
|
|
216
|
-
* @param oldConfig The previous config
|
|
217
|
-
* @param newConfig The updated config
|
|
218
|
-
*/
|
|
219
|
-
export declare function hasColorMatchChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
|
|
220
|
-
/**
|
|
221
|
-
* Compares two configs and indicates whether the legend visibilty changed
|
|
222
|
-
*
|
|
223
|
-
* @param oldConfig The previous config
|
|
224
|
-
* @param newConfig The updated config
|
|
225
|
-
*/
|
|
226
|
-
export declare function hasHeatLegendConfigChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
|
|
227
|
-
/**
|
|
228
|
-
* Compares two configs and indicates whether the gradient rules changed
|
|
229
|
-
*
|
|
230
|
-
* @param oldConfig The previous config
|
|
231
|
-
* @param newConfig The updated config
|
|
232
|
-
*/
|
|
233
|
-
export declare function hasGradientRulesChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
|
|
234
|
-
/**
|
|
235
|
-
* Compares the 'slices' array from the pie series, and indicates whether they are different.
|
|
236
|
-
* Compare only the slices id and label to avoid false positives.
|
|
237
|
-
*
|
|
238
|
-
* @param props.oldConfig The previous chart config
|
|
239
|
-
* @param props.newConfig The newest chart config
|
|
240
|
-
*/
|
|
241
|
-
export declare function hasSlicesConfigChanged(props: {
|
|
242
|
-
oldConfig: WebChart;
|
|
243
|
-
newConfig: WebChart;
|
|
244
|
-
}): boolean;
|
|
245
|
-
/**
|
|
246
|
-
* Compares the queries from two configs and indicates whether a query changed. Noted that the query comparison
|
|
247
|
-
* includes the orderByFields from the orderOptions.
|
|
248
|
-
*
|
|
249
|
-
* A sort on the series is made before comparing to prevent a false positive on query reorder.
|
|
250
|
-
*
|
|
251
|
-
* @param props.oldConfig The former chart config
|
|
252
|
-
* @param props.newConfig The new chart config
|
|
253
|
-
* @param props.behaviorAfterLimit The chart's behavior once the data limit is reached
|
|
254
|
-
*/
|
|
255
|
-
declare function hasQueryChanged(props: {
|
|
256
|
-
oldConfig: WebChart;
|
|
257
|
-
newConfig: WebChart;
|
|
258
|
-
behaviorAfterLimit?: LimitBehavior;
|
|
259
|
-
}): boolean;
|
|
260
|
-
declare function hasFilterBySelectionChanged(filterBySelection?: boolean, options?: ChartOptions): boolean;
|
|
261
|
-
export declare function hasDataForFilterBySelectionChanged(props: {
|
|
262
|
-
currentSelectionOIDs?: number[];
|
|
263
|
-
options?: ChartOptions;
|
|
264
|
-
}): boolean;
|
|
265
|
-
/**
|
|
266
|
-
* Compares two config data filters and returns true if they are identical, false otherwise
|
|
267
|
-
*
|
|
268
|
-
* @param oldConfig
|
|
269
|
-
* @param newConfig
|
|
270
|
-
*/
|
|
271
|
-
declare function hasConfigFilterChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
|
|
272
|
-
/**
|
|
273
|
-
* Compares the `binTemporalData` property from two configs and returns true if they are identical, false otherwise
|
|
274
|
-
*
|
|
275
|
-
* @param oldConfig
|
|
276
|
-
* @param newConfig
|
|
277
|
-
*/
|
|
278
|
-
declare function hasBinTemporalDataChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
|
|
279
|
-
/**
|
|
280
|
-
* Compares the split by value for each series element in the box plot config and returns true if the series has different split by value between new and old box plot config, false otherwise.
|
|
281
|
-
*
|
|
282
|
-
* @param oldSeries The former series config
|
|
283
|
-
* @param newSeries The new series config
|
|
284
|
-
*/
|
|
285
|
-
export declare function hasSplitByValueChanged(oldSeries: WebChart["series"], newSeries: WebChart["series"]): boolean;
|
|
286
|
-
/**
|
|
287
|
-
* Verify if the order of the numeric fields has changed
|
|
288
|
-
*
|
|
289
|
-
* @param oldSeries - The previous series config
|
|
290
|
-
* @param newSeries - The new series config
|
|
291
|
-
*/
|
|
292
|
-
export declare function hasNumericFieldsChanged(oldSeries: WebChart["series"], newSeries: WebChart["series"]): boolean;
|
|
293
|
-
/**
|
|
294
|
-
* Compares the `showMean` from two configs and indicates whether they are different
|
|
295
|
-
*
|
|
296
|
-
* @param oldConfig The former chart config
|
|
297
|
-
* @param newConfig The new chart config
|
|
298
|
-
*/
|
|
299
|
-
declare function hasShowMeanChanged(oldConfig: WebBoxPlot | WebChart, newConfig: WebBoxPlot | WebChart): boolean;
|
|
300
|
-
/**
|
|
301
|
-
* Indicates whether a change of value format type requires new data. Two cases require it:
|
|
302
|
-
* - change from date format to numeric format
|
|
303
|
-
* - specific to non aggregated charts: change from category format to value format
|
|
304
|
-
*
|
|
305
|
-
* @param oldConfig The former chart config
|
|
306
|
-
* @param newConfig The new chart config
|
|
307
|
-
*/
|
|
308
|
-
declare function isNewDataRequiredForValueFormatChange(oldConfig: WebBoxPlot | WebChart, newConfig: WebBoxPlot | WebChart): boolean;
|
|
309
|
-
/**
|
|
310
|
-
* Function saying if a data update is needed. We compare different properties from the former config and the new one
|
|
311
|
-
* in order to decide if the update is needed.
|
|
312
|
-
*
|
|
313
|
-
* @param props
|
|
314
|
-
*/
|
|
315
|
-
export declare function isDataUpdateNeeded(props: {
|
|
316
|
-
forceDataUpdate?: boolean;
|
|
317
|
-
oldConfig: WebBoxPlot | WebChart;
|
|
318
|
-
newConfig: WebBoxPlot | WebChart;
|
|
319
|
-
options?: ChartOptions;
|
|
320
|
-
formerFilterBySelection?: boolean;
|
|
321
|
-
timeIntervalInfo?: TimeIntervalInfo;
|
|
322
|
-
currentSelectionDataItems?: WebChartDataItem[];
|
|
323
|
-
currentSelectionOIDs?: number[];
|
|
324
|
-
currentSelectionIndexes?: SelectionIndexes;
|
|
325
|
-
fieldList?: IField[];
|
|
326
|
-
}): {
|
|
327
|
-
dataUpdateNeeded: boolean;
|
|
328
|
-
updateNeededDetails: DataUpdateNeededDetails;
|
|
329
|
-
};
|
|
330
|
-
/**
|
|
331
|
-
* Function used on temporal charts.
|
|
332
|
-
* Indicates whether resetting the previously fetched binned data is necessary.
|
|
333
|
-
* It is necessary when the time interval unit or any common data property changes.
|
|
334
|
-
*
|
|
335
|
-
* @param dataUpdateNeededDetails
|
|
336
|
-
*/
|
|
337
|
-
export declare function isBinnedServerDataResetNeeded(dataUpdateNeededDetails: DataUpdateNeededDetails): boolean;
|
|
338
183
|
/**
|
|
339
184
|
* Check if the Pie chart data has slices with all positive or all negative values.
|
|
340
185
|
*
|
|
@@ -401,14 +246,6 @@ declare function isValidPercentValue(inputValue: string): boolean;
|
|
|
401
246
|
export declare function extractPercentValue(inputValue: string): number | undefined;
|
|
402
247
|
export declare const commonUtilsMiscPrivateFunctions: {
|
|
403
248
|
getMultiSeriesLimit: typeof getMultiSeriesLimit;
|
|
404
|
-
hasFilterBySelectionChanged: typeof hasFilterBySelectionChanged;
|
|
405
|
-
hasConfigFilterChanged: typeof hasConfigFilterChanged;
|
|
406
|
-
hasBinTemporalDataChanged: typeof hasBinTemporalDataChanged;
|
|
407
|
-
hasGaugeValueConversionChanged: typeof hasGaugeValueConversionChanged;
|
|
408
|
-
isNewDataRequiredForValueFormatChange: typeof isNewDataRequiredForValueFormatChange;
|
|
409
|
-
hasShowMeanChanged: typeof hasShowMeanChanged;
|
|
410
|
-
hasHeatChartBinningChanged: typeof hasHeatChartBinningChanged;
|
|
411
|
-
hasQueryChanged: typeof hasQueryChanged;
|
|
412
249
|
isValidPercentValue: typeof isValidPercentValue;
|
|
413
250
|
};
|
|
414
251
|
export {};
|
|
@@ -1,2 +1,15 @@
|
|
|
1
1
|
import { WebChartTemporalBinningUnits } from '../../../../../../spec';
|
|
2
|
+
/**
|
|
3
|
+
* Generates the INTERVAL SQL instruction to shift date values from the data time zone to the output time zone.
|
|
4
|
+
* This is inspired by the Dashboards implementation currently found here:
|
|
5
|
+
* https://devtopia.esri.com/WebGIS/arcgis-dashboards/blob/develop-4/packages/dashboard-view-models/addon/-private/service-dataset.js.
|
|
6
|
+
* @param props.outTimeZone The output time zone (typically the user locale)
|
|
7
|
+
* @param props.dataTimeZone The data time zone (usually UTC but can be set differently on the layer)
|
|
8
|
+
* @param props.runsOnClientQueryEngine Whether the query will be executed on the client query engine (FeatureLayerView) or on the server
|
|
9
|
+
*/
|
|
10
|
+
export declare function getIntervalStatement(props: {
|
|
11
|
+
outTimeZone?: string;
|
|
12
|
+
dataTimeZone?: string | null;
|
|
13
|
+
runsOnClientQueryEngine?: boolean;
|
|
14
|
+
}): string;
|
|
2
15
|
export declare function getTimeBinGroupByFieldsForStatistics(dateFieldName: string, unit: WebChartTemporalBinningUnits): string[];
|
|
@@ -20,7 +20,7 @@ export declare function getSelectionItemsFromOIDs(props: {
|
|
|
20
20
|
queryConfig?: WebChartQuery;
|
|
21
21
|
queryObject: QueryObject;
|
|
22
22
|
dataWasUpdated?: boolean;
|
|
23
|
-
currentSelectionOIDs?: number[];
|
|
23
|
+
currentSelectionOIDs?: (number | string)[];
|
|
24
24
|
options?: ChartOptions;
|
|
25
25
|
errorStrings: ErrorStrings;
|
|
26
26
|
}): Promise<WebChartDataItem[] | undefined>;
|
|
@@ -36,4 +36,4 @@ export declare function fetchOIDsFromWhereClause(props: {
|
|
|
36
36
|
queryObject: QueryObject;
|
|
37
37
|
queryFilter?: string;
|
|
38
38
|
queryConfig: WebChartQuery;
|
|
39
|
-
}): Promise<number[]>;
|
|
39
|
+
}): Promise<(number | string)[]>;
|
|
@@ -101,11 +101,13 @@ declare function swapStatFieldNamesToStatisticFields(dataItem: WebChartDataItem,
|
|
|
101
101
|
* @param props.dataItem The dataItem of which properties are to be manipulated.
|
|
102
102
|
* @param props.splitByField The split-by-field
|
|
103
103
|
* @param props.y The y property for all series.
|
|
104
|
+
* @param props.fieldOID The layer's object id field.
|
|
104
105
|
*/
|
|
105
106
|
declare function renameYFieldForSplitByNoAggregation(props: {
|
|
106
107
|
dataItem: WebChartDataItem;
|
|
107
108
|
splitByField: string;
|
|
108
109
|
y: string;
|
|
110
|
+
fieldOID: string;
|
|
109
111
|
}): void;
|
|
110
112
|
/**
|
|
111
113
|
* Removes a prefix added to the box plot out statistic field names by `buildUniqueBoxPlotOutStatistics()`.
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { default as Graphic } from '@arcgis/core/Graphic.js';
|
|
1
2
|
import { WebChartDataItemValue, WebChartDataItem, WebChartQuery, WebChart, IStatisticDefinition } from '../../../../../spec';
|
|
2
|
-
import { QueryObject, AbortControllerKeyType, ChartElementLimit
|
|
3
|
+
import { QueryObject, AbortControllerKeyType, ChartElementLimit } from '../../../../../utils';
|
|
4
|
+
import { ChartSubType } from '../../../../../utils/misc/interfaces';
|
|
3
5
|
export interface SummarizeDataProps {
|
|
4
6
|
data: [WebChartDataItemValue, WebChartDataItem[]][];
|
|
5
7
|
statType: IStatisticDefinition["statisticType"];
|
|
@@ -18,7 +20,9 @@ export interface ProcessUniqueQueryProps {
|
|
|
18
20
|
chartLimits?: ChartElementLimit;
|
|
19
21
|
abortKey?: AbortControllerKeyType;
|
|
20
22
|
usePopupTemplateFieldsInfo?: boolean;
|
|
23
|
+
preFetchedQueryResponse?: Graphic[];
|
|
21
24
|
}
|
|
22
25
|
/** List of chart subtypes that support direct category trimming. */
|
|
23
26
|
export declare const supportedSubTypesForCategoryTrimming: ChartSubType[];
|
|
24
27
|
export declare const totalFeatureCount = "arcgis_charts_total_feature_count";
|
|
28
|
+
export declare const queryBinsServerLimit = 8000;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as AttributeBinsGraphic } from '@arcgis/core/AttributeBinsGraphic.js';
|
|
2
2
|
import { TimeIntervalInfo, WebChart, WebChartDataItem, WebChartQuery, WebChartSeriesType, WebChartNullPolicyTypes, WebChartTemporalBinningUnits } from '../../../../../../spec';
|
|
3
3
|
import { DateRange, QueryObject, TimeBinningStatistics, WebChartSeriesSupportingTemporalBinning } from '../../../../../../utils';
|
|
4
4
|
/**
|
|
@@ -36,7 +36,7 @@ export declare function getTimeBinningStatistics(props: {
|
|
|
36
36
|
*/
|
|
37
37
|
export declare function mapTemporalBinningQueryAttributeBinsResults(props: {
|
|
38
38
|
chartConfig: WebChart;
|
|
39
|
-
queryResults:
|
|
39
|
+
queryResults: AttributeBinsGraphic[];
|
|
40
40
|
mapToStatField: Map<number | string | null, string>;
|
|
41
41
|
splitByField?: string;
|
|
42
42
|
nullPolicy?: WebChartNullPolicyTypes;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Color, ISimpleFillSymbol, WebChartCursorCrosshair, WebChartDataItem, WebChartNullCategory, WebChartPieChartGroupSlice, RESTHorizontalAlignment, RESTSimpleMarkerSymbolStyle, RESTVerticalAlignment, WebChartLegendPositions, WebChartLineSmoothedKinds, WebChartSortOrderKinds, WebChartStackedKinds } from '../../../spec';
|
|
2
|
-
import { SelectionTheme
|
|
2
|
+
import { SelectionTheme } from '../../../utils';
|
|
3
|
+
import { ActionModes } from '../../../utils/cursor/interfaces';
|
|
3
4
|
import { EsriColor } from '../types';
|
|
4
5
|
export interface GaugeNeedleDefaults {
|
|
5
6
|
startWidth: number;
|
|
@@ -75,14 +76,11 @@ interface LineSeriesDefaults {
|
|
|
75
76
|
stackedType: WebChartStackedKinds;
|
|
76
77
|
stackNegativeValuesToBaseline: boolean;
|
|
77
78
|
marker: {
|
|
78
|
-
|
|
79
|
-
|
|
79
|
+
markerBigSize: number;
|
|
80
|
+
markerSizeThresholdForTooltipDisplay: number;
|
|
81
|
+
markerStyle: RESTSimpleMarkerSymbolStyle;
|
|
80
82
|
};
|
|
81
83
|
}
|
|
82
|
-
interface LineMarkerDefaults {
|
|
83
|
-
markerSize: number;
|
|
84
|
-
markerStyle: RESTSimpleMarkerSymbolStyle;
|
|
85
|
-
}
|
|
86
84
|
export interface LabelProperties {
|
|
87
85
|
wrap?: boolean;
|
|
88
86
|
paddingLeft?: number;
|
|
@@ -151,7 +149,6 @@ export interface CommonChartDefaults {
|
|
|
151
149
|
scatterplotSeries: Readonly<ScatterplotSeriesDefaults>;
|
|
152
150
|
histogramSeries: Readonly<HistogramSeriesDefaults>;
|
|
153
151
|
lineSeries: Readonly<LineSeriesDefaults>;
|
|
154
|
-
lineMarker: Readonly<LineMarkerDefaults>;
|
|
155
152
|
xAxisLabelMaxWidth: number;
|
|
156
153
|
yAxisLabelMaxWidth: number;
|
|
157
154
|
axisLabelPadding: number;
|
|
@@ -166,6 +163,7 @@ export interface CommonChartDefaults {
|
|
|
166
163
|
dataTooltipStyleReversed?: Readonly<Partial<ISimpleFillSymbol>>;
|
|
167
164
|
cursorCrosshair: Readonly<Required<Omit<WebChartCursorCrosshair, "type">>>;
|
|
168
165
|
buffer: boolean;
|
|
166
|
+
treatZeroValueAs: number;
|
|
169
167
|
elementLimitForSmoothRendering: number;
|
|
170
168
|
headerContainer: Readonly<ContainerProperties>;
|
|
171
169
|
footerContainer: Readonly<ContainerProperties>;
|
|
@@ -35,7 +35,7 @@ export declare function getDataWarningObject(props: {
|
|
|
35
35
|
filterBySelection?: boolean;
|
|
36
36
|
queryObject?: QueryObject;
|
|
37
37
|
formatLocale?: string;
|
|
38
|
-
|
|
38
|
+
isTemporalChart?: boolean;
|
|
39
39
|
errorStrings: ErrorStrings;
|
|
40
|
-
}):
|
|
40
|
+
}): DataWarningObject;
|
|
41
41
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CalculatedMinMaxBoundsPayload, LegendItemVisibility, WebChart,
|
|
1
|
+
import { CalculatedMinMaxBoundsPayload, LegendItemVisibility, WebChart, WebChartDataTypes, WebChartSeriesType } from '../../../spec';
|
|
2
2
|
import { DataWarningObject, PieSlicesSymbols, SelectionData, SeriesSymbolsMap, ValidationStatus } from '../../../utils';
|
|
3
3
|
/**
|
|
4
4
|
* Sending an event carrying the chart processed data at any data update.
|
|
@@ -23,7 +23,7 @@ export declare function notifyDataProcessed(props: {
|
|
|
23
23
|
* @param props.htmlContainer The chart's HTML container
|
|
24
24
|
*/
|
|
25
25
|
export declare function notifyDataFetched(props: {
|
|
26
|
-
data:
|
|
26
|
+
data: WebChartDataTypes;
|
|
27
27
|
chartConfig: WebChart;
|
|
28
28
|
htmlContainer?: HTMLElement;
|
|
29
29
|
}): void;
|
|
@@ -51,12 +51,10 @@ export declare function notifyRenderingCompleted(htmlContainer?: HTMLElement): v
|
|
|
51
51
|
* Sending selectionEvent on range select
|
|
52
52
|
*
|
|
53
53
|
* @param props.data The selection data
|
|
54
|
-
* @param props.seriesConfig The array of series config
|
|
55
54
|
* @param props.htmlContainer The chart's HTML container
|
|
56
55
|
*/
|
|
57
56
|
export declare function notifySelectionCompleted(props: {
|
|
58
57
|
data: SelectionData;
|
|
59
|
-
seriesConfig?: WebChartSeriesType[];
|
|
60
58
|
htmlContainer?: HTMLElement;
|
|
61
59
|
}): void;
|
|
62
60
|
/**
|
|
@@ -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;
|