@arcgis/charts-components 5.0.0-next.15 → 5.0.0-next.16
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/{NXLUVAFE.js → 27SDYPGE.js} +2 -2
- package/dist/cdn/{ECKCFNKB.js → 2DV3UFT7.js} +2 -2
- package/dist/cdn/{7FEKKJ6O.js → 2OKLA4JI.js} +2 -2
- package/dist/cdn/{LJ3BG6G7.js → 3H73WR3H.js} +2 -2
- package/dist/cdn/3MTIIKHE.js +4 -0
- package/dist/cdn/{USMEGZQC.js → 3Q6XIK2Q.js} +2 -2
- package/dist/cdn/{BZ4U4UIO.js → 3UQJWW2I.js} +2 -2
- package/dist/cdn/{SQ4AJ7I2.js → 3WSKH4GJ.js} +2 -2
- package/dist/cdn/{2QGYZBVC.js → 44SX76W2.js} +2 -2
- package/dist/cdn/{7S5NKGVS.js → 4ECUIC6S.js} +2 -2
- package/dist/cdn/{AGN5CUWV.js → 4N6SGOLD.js} +2 -2
- package/dist/cdn/{D3S6VZYM.js → 4NJYEFRK.js} +2 -2
- package/dist/cdn/{DCWMK4AG.js → 4QCYLPL2.js} +2 -2
- package/dist/cdn/{GQBA4C22.js → 5C47DLB7.js} +2 -2
- package/dist/cdn/{IP27FNZD.js → 5EQ6WMYE.js} +2 -2
- package/dist/cdn/{NXKKC7KX.js → 5IS6PFEA.js} +1 -1
- package/dist/cdn/{L4WTVQBU.js → 5X3QBIN4.js} +2 -2
- package/dist/cdn/{BOJMT6WM.js → 5XLXJLIL.js} +2 -2
- package/dist/cdn/{OE44KX23.js → 6BE4Q5BI.js} +2 -2
- package/dist/cdn/{HHD6BMFI.js → 6DXWMCMD.js} +2 -2
- package/dist/cdn/{CCNMNFU4.js → 6IDVNPSO.js} +2 -2
- package/dist/cdn/{ZLYKKNCA.js → 6XJRABAZ.js} +2 -2
- package/dist/cdn/{NUTIVT7T.js → 6XTG73WW.js} +2 -2
- package/dist/cdn/{67ZO6F2S.js → 75LVK7OF.js} +2 -2
- package/dist/cdn/{C6XJTUW3.js → 7AOR4SZW.js} +2 -2
- package/dist/cdn/{7XO4NEYB.js → 7CDIDY6C.js} +2 -2
- package/dist/cdn/{KGZREVW2.js → 7EXQ4LPL.js} +2 -2
- package/dist/cdn/{WDNAMGNM.js → 7LILYVRO.js} +2 -2
- package/dist/cdn/{5TXDR4IW.js → 7OEJFYKW.js} +2 -2
- package/dist/cdn/{X74G76ZE.js → 7R5PVQXW.js} +2 -2
- package/dist/cdn/{LKSAJIL6.js → 7SIVCLZL.js} +2 -2
- package/dist/cdn/{WERW5R5B.js → 7YNJWFQE.js} +2 -2
- package/dist/cdn/{BN6SWWLW.js → 7ZR45N5A.js} +2 -2
- package/dist/cdn/{SBTNRJH4.js → A7GKOXAW.js} +2 -2
- package/dist/cdn/{TUGGISIT.js → AJPGZERW.js} +2 -2
- package/dist/cdn/{IMMVGOCW.js → AORW43VC.js} +1 -1
- package/dist/cdn/{E2BIA6XS.js → APYRERQ3.js} +2 -2
- package/dist/cdn/{ACIN5UVG.js → B4TQ5CQJ.js} +2 -2
- package/dist/cdn/{EEZIP3OH.js → BBOG2LS4.js} +2 -2
- package/dist/cdn/{GPCXBOIX.js → BH6ZVVUX.js} +2 -2
- package/dist/cdn/{XW3DX2TS.js → BIB2VYE7.js} +2 -2
- package/dist/cdn/{VA3OLXFX.js → BKH6RT5Y.js} +2 -2
- package/dist/cdn/{UNTE33BC.js → BV64FAHV.js} +2 -2
- package/dist/cdn/{GL4TUFQJ.js → BVHAT7QZ.js} +2 -2
- package/dist/cdn/{NXNB6OOK.js → BWIXRL6M.js} +1 -1
- package/dist/cdn/{HYSRH3IH.js → BWNGWUCO.js} +2 -2
- package/dist/cdn/{OFACCOMI.js → C63LB7WP.js} +2 -2
- package/dist/cdn/{Z2ZST7C2.js → CL3TK7I2.js} +2 -2
- package/dist/cdn/{BBDMNKC4.js → CORV6HNZ.js} +2 -2
- package/dist/cdn/{6HSQ4R6A.js → CQYNEZMR.js} +2 -2
- package/dist/cdn/{QPBIH32T.js → CXYEAQQC.js} +2 -2
- package/dist/cdn/{XIKGBRO3.js → CZVNVB6G.js} +2 -2
- package/dist/cdn/{FP2PG3PR.js → D2RUA7KZ.js} +2 -2
- package/dist/cdn/{HVQFWTR5.js → D32C4AAG.js} +2 -2
- package/dist/cdn/{OXUL6KKR.js → DCTIMCGK.js} +2 -2
- package/dist/cdn/{TUPRRUWH.js → DEXYPO2C.js} +2 -2
- package/dist/cdn/{CFEF5PED.js → DFZU2FZW.js} +2 -2
- package/dist/cdn/{XA6ZLYSX.js → DV5UADNC.js} +2 -2
- package/dist/cdn/{ULG2BR6O.js → DYQTLKLN.js} +2 -2
- package/dist/cdn/{VH7G4YIT.js → EF7HHTE6.js} +2 -2
- package/dist/cdn/{BBRHHOLU.js → EFAYM3B4.js} +2 -2
- package/dist/cdn/{O4IEPQH6.js → ESZCXS2Y.js} +2 -2
- package/dist/cdn/{MX2AFGMT.js → EWCW3DFE.js} +2 -2
- package/dist/cdn/{FJXJFOKB.js → F74YEVEL.js} +2 -2
- package/dist/cdn/{3VSMJUCU.js → FIEVTCPG.js} +2 -2
- package/dist/cdn/{Q2YGNKSP.js → FKUN6KST.js} +2 -2
- package/dist/cdn/{ZTGCTWNR.js → FS3ZTAWI.js} +2 -2
- package/dist/cdn/{2IHRS6XO.js → GBP7NAM2.js} +2 -2
- package/dist/cdn/{PLZX7KKU.js → GJZQEF6U.js} +2 -2
- package/dist/cdn/{VZ5P2GFE.js → GVHKWSR4.js} +2 -2
- package/dist/cdn/{OATQT3I4.js → GYXB5N5B.js} +2 -2
- package/dist/cdn/{N32MD2IW.js → HLMACFPF.js} +2 -2
- package/dist/cdn/{FM53MHU6.js → HVBAGLPC.js} +2 -2
- package/dist/cdn/{I2ENEH6I.js → HYJOHKO5.js} +2 -2
- package/dist/cdn/{ZSHQ5G7Y.js → I3ARLWYW.js} +2 -2
- package/dist/cdn/{UYOAOW6W.js → I3COHLTY.js} +2 -2
- package/dist/cdn/{ITEKBAP7.js → I5CUF7PR.js} +2 -2
- package/dist/cdn/{YRHF56BK.js → I6HKARB3.js} +2 -2
- package/dist/cdn/{YFDFWFSZ.js → IA2LLJIN.js} +2 -2
- package/dist/cdn/{Q3G4E6BP.js → IC5RARM3.js} +2 -2
- package/dist/cdn/{Z3TLBJKK.js → IGLDIXJ3.js} +2 -2
- package/dist/cdn/{VH7AHW3J.js → IIOLKA23.js} +2 -2
- package/dist/cdn/{ASKPQLLK.js → IL6EMBQG.js} +2 -2
- package/dist/cdn/{YBU5U7G6.js → IRCR6UVZ.js} +2 -2
- package/dist/cdn/{NXCYGG55.js → J2USM26F.js} +2 -2
- package/dist/cdn/{NLFGUCP5.js → J3QK4IL2.js} +2 -2
- package/dist/cdn/{CS2UZBIZ.js → J55JQLTY.js} +2 -2
- package/dist/cdn/{EC2DBBVI.js → JKDJKOMN.js} +2 -2
- package/dist/cdn/{UZAJV6LD.js → JP7L36ND.js} +2 -2
- package/dist/cdn/{4KDC6BC7.js → JRMS34DF.js} +2 -2
- package/dist/cdn/{RFKZEZM4.js → KBC4BEKH.js} +2 -2
- package/dist/cdn/{RKHIFJZU.js → KKUQV5KS.js} +2 -2
- package/dist/cdn/{QNA7AWUF.js → KNESTAME.js} +2 -2
- package/dist/cdn/{DFX5P352.js → KRXGU4TQ.js} +1 -1
- package/dist/cdn/{3ANPURTA.js → KYBV2YC7.js} +2 -2
- package/dist/cdn/{NKL2GWDP.js → L4YYKDNC.js} +2 -2
- package/dist/cdn/{MA76GDKJ.js → LA3QI7TJ.js} +2 -2
- package/dist/cdn/{TAZIP23C.js → LLSL4NWD.js} +2 -2
- package/dist/cdn/{WOGMJMBK.js → LSF5ORPK.js} +2 -2
- package/dist/cdn/{CPJMPYBA.js → M24FQ5RC.js} +2 -2
- package/dist/cdn/{6UN56MTN.js → M4X7JNMW.js} +2 -2
- package/dist/cdn/{GOSVLWOK.js → M5RO4CYC.js} +2 -2
- package/dist/cdn/{JGUVK274.js → M7FGDPVL.js} +2 -2
- package/dist/cdn/{BXNZWDJR.js → MGPN3CS2.js} +1 -1
- package/dist/cdn/{3TM24EQG.js → MNE54XSO.js} +2 -2
- package/dist/cdn/{FK4QG67C.js → N243ZCBV.js} +2 -2
- package/dist/cdn/{BJ26ADXK.js → N3I3TUSS.js} +1 -1
- package/dist/cdn/{J4SXB67D.js → NJFRPLWJ.js} +2 -2
- package/dist/cdn/{LKW4K6ZV.js → NXAMNUZ7.js} +2 -2
- package/dist/cdn/{V55GOYAN.js → OBNZPE6M.js} +2 -2
- package/dist/cdn/{ABHW5CE2.js → ODB5RFZC.js} +2 -2
- package/dist/cdn/{GARNQKIY.js → OF34HNGI.js} +2 -2
- package/dist/cdn/{G35MJO3E.js → OPY65BMJ.js} +2 -2
- package/dist/cdn/{EC66UVAA.js → OW3FJCI2.js} +2 -2
- package/dist/cdn/{MNIOSGYH.js → OY3LZYOM.js} +2 -2
- package/dist/cdn/{JXEKDWPB.js → OZL3G2IW.js} +2 -2
- package/dist/cdn/{VCJ7DX64.js → PAAAJHCP.js} +2 -2
- package/dist/cdn/{LIRCYPIK.js → PC5PQBAX.js} +2 -2
- package/dist/cdn/{XWBVISIK.js → PCDCS4HH.js} +2 -2
- package/dist/cdn/{OIVFQGIS.js → PG3YXBWK.js} +2 -2
- package/dist/cdn/{WD5X74MH.js → PSIDRXUC.js} +2 -2
- package/dist/cdn/{FTPOWQ2M.js → PTDQMECC.js} +2 -2
- package/dist/cdn/{4V56AR7R.js → Q44IROOV.js} +2 -2
- package/dist/cdn/{HJ4XZBJ3.js → Q7YR26WW.js} +2 -2
- package/dist/cdn/{S7QW2GIV.js → QCO36U5Z.js} +2 -2
- package/dist/cdn/{HF3PGFD4.js → QH76HY3O.js} +2 -2
- package/dist/cdn/{SGQFASRN.js → QO376ROG.js} +1 -1
- package/dist/cdn/{OGXRF57E.js → QO444EZ6.js} +2 -2
- package/dist/cdn/{V43ECDTA.js → QQSMWADC.js} +2 -2
- package/dist/cdn/{I5CJ47QO.js → R4ROQ7GO.js} +2 -2
- package/dist/cdn/{GVST4DZO.js → RD6JGNZD.js} +2 -2
- package/dist/cdn/{I52DONAE.js → RHRFASL3.js} +2 -2
- package/dist/cdn/{4ABZGR4R.js → RHXTS467.js} +2 -2
- package/dist/cdn/{MZGUXZRK.js → RKDS6OKT.js} +2 -2
- package/dist/cdn/{QCOONURH.js → RRUDD4HB.js} +2 -2
- package/dist/cdn/{AEU2HWYS.js → RUSMNHSN.js} +2 -2
- package/dist/cdn/{HX5IWCPE.js → RVJMAVVT.js} +2 -2
- package/dist/cdn/{2HFDQNUJ.js → RXZGPYSP.js} +2 -2
- package/dist/cdn/{BO52KAZU.js → S43APDMH.js} +2 -2
- package/dist/cdn/{CJNWHNUN.js → S4BOXREJ.js} +2 -2
- package/dist/cdn/{RTYRKL2Z.js → S6YUJPAX.js} +2 -2
- package/dist/cdn/{RBUKMYCI.js → SAPMX5SQ.js} +2 -2
- package/dist/cdn/{EQHZLZYP.js → SMTD66NK.js} +2 -2
- package/dist/cdn/{NYH2YOLM.js → SN3WAXIF.js} +2 -2
- package/dist/cdn/{ECTTF3BJ.js → SVHEWJGL.js} +2 -2
- package/dist/cdn/{X4HBQOFJ.js → SY6KMVCE.js} +2 -2
- package/dist/cdn/{DRSYMOLS.js → SZ4I2OAI.js} +2 -2
- package/dist/cdn/{5OZWJTGQ.js → TO3UZIFY.js} +2 -2
- package/dist/cdn/{IQIMCRWU.js → TRHJO3JP.js} +1 -1
- package/dist/cdn/{VVIXKCCI.js → TUK4EWGJ.js} +2 -2
- package/dist/cdn/{3SWCIBBB.js → U7DZ66PS.js} +2 -2
- package/dist/cdn/{MS4P4IKG.js → UAE7BA5W.js} +1 -1
- package/dist/cdn/{R4YARP3S.js → UJ3QD4FB.js} +2 -2
- package/dist/cdn/{HULKC4IF.js → UUFMSUJR.js} +2 -2
- package/dist/cdn/{XRSKTIQQ.js → UWH4JTOQ.js} +2 -2
- package/dist/cdn/{S2C5BT6G.js → UWICAXZY.js} +2 -2
- package/dist/cdn/{HP7IJBB7.js → V2WFA2N3.js} +2 -2
- package/dist/cdn/{6WUSSL77.js → V6G3HNJU.js} +2 -2
- package/dist/cdn/{TI2SXKKD.js → VAJBCCSR.js} +2 -2
- package/dist/cdn/{B5YRLKHW.js → VCOR2UW7.js} +2 -2
- package/dist/cdn/{5ONL44LQ.js → VJFW6DDZ.js} +2 -2
- package/dist/cdn/{NWE4IMRQ.js → VLWWXCDZ.js} +1 -1
- package/dist/cdn/{5OYL6L6X.js → VO243ECZ.js} +2 -2
- package/dist/cdn/{BQAEYXEP.js → VPLZQKC7.js} +2 -2
- package/dist/cdn/{T3R7X7UQ.js → VTFRRECZ.js} +2 -2
- package/dist/cdn/{FJSOMVMF.js → W7ZWNCGA.js} +2 -2
- package/dist/cdn/{GMRJBBRH.js → WDSLQZ5V.js} +2 -2
- package/dist/cdn/{Y3YARJKZ.js → WJWATVZS.js} +2 -2
- package/dist/cdn/{OKU26SYR.js → WOZ43JRA.js} +2 -2
- package/dist/cdn/{D3B5BETN.js → WR4LR34G.js} +2 -2
- package/dist/cdn/{PCC7DRKD.js → WXFPTKK4.js} +2 -2
- package/dist/cdn/{ZACH5REB.js → XKIWE3BA.js} +2 -2
- package/dist/cdn/{434U5CCN.js → XLJCRBM6.js} +2 -2
- package/dist/cdn/{7GGYLQVR.js → XPYQX2JF.js} +9 -9
- package/dist/cdn/{55RT2PVM.js → XXGITJIE.js} +2 -2
- package/dist/cdn/{DYJIU22C.js → YBZTC7D6.js} +2 -2
- package/dist/cdn/{VXAYZ72E.js → YEBMZVLE.js} +2 -2
- package/dist/cdn/{MTAFS22C.js → YETBF5YV.js} +2 -2
- package/dist/cdn/{FGGAHPDC.js → YPYW3PTC.js} +2 -2
- package/dist/cdn/{VQP3IDET.js → Z347YXVP.js} +2 -2
- package/dist/cdn/{GA62NEL6.js → ZFOZ4DLB.js} +2 -2
- package/dist/cdn/{PGGJPZLU.js → ZUJGGR4W.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/defaults/interfaces.d.ts +1 -0
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +1 -1
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +34 -34
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/heat-chart-model.js +1 -1
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/interfaces3.js +1 -1
- package/dist/chunks/interfaces4.js +3 -1
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +1 -1
- package/dist/chunks/model-with-multi-axes.js +1 -1
- package/dist/chunks/model-with-rotation.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- 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 +1 -1
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +380 -380
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/model.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/3OHMNCK2.js +0 -4
|
@@ -24,7 +24,7 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
24
24
|
import "@arcgis/core/request.js";
|
|
25
25
|
import { A as Z, C as ls } from "../../chunks/interfaces2.js";
|
|
26
26
|
import { h as Wc, l as Hc, d as kn, g as Gc, c as dg } from "../../chunks/index3.js";
|
|
27
|
-
import { i as wi, s as za, C as
|
|
27
|
+
import { i as wi, s as za, C as F, a as ft, e as In, m as Xc, g as oi, b as ug, c as ni, d as bt, f as je, n as Yc, h as si, j as Ks, k as go, l as mi, o as vt, p as Lt, q as Ot, t as Wa, u as Uc, v as To, w as Ji, x as qc, R as an, y as jc, z as $i, A as _c, B as Zc, D as Kc, E as Qc, F as Jc, G as on, H as ed, I as Qs, J as ko, K as td, L as Js, M as fg, N as cl, O as Ha, P as ea, Q as Io, S as Ga, T as mg, U as er, V as tr, W as id, X as wn, Y as ad, Z as od, _ as $n, $ as Xa, a0 as Ya, a1 as yi, a2 as ta, a3 as nd, a4 as sd, a5 as Dn, a6 as gg, a7 as rd, a8 as ld, a9 as ir, aa as hg, ab as cd, ac as ar, ad as pg, ae as bg, af as dd, ag as ud, ah as Fs, ai as On, aj as or, ak as yg, al as fd, am as Sg, an as xg, ao as Cg, ap as vg, aq as Lg, ar as Fg, as as Ag, at as Tg, au as kg, av as Ig, aw as dl, ax as wg, ay as $g, r as Dg } from "../../chunks/config-update.js";
|
|
28
28
|
import { range as Og } from "d3-array";
|
|
29
29
|
import { C as H } from "../../chunks/interfaces4.js";
|
|
30
30
|
import { d as Hi, c as it, b as dt, R as ee, i as cs, e as se, f as J, a as Rg, j as ds } from "../../chunks/rest-js-object-literals.js";
|
|
@@ -53,7 +53,7 @@ import { t as pl, b as bl, D as fh, m as mh } from "../../chunks/web-component-u
|
|
|
53
53
|
import * as gi from "@arcgis/core/core/reactiveUtils.js";
|
|
54
54
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
55
55
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
56
|
-
v5.0.0-next.
|
|
56
|
+
v5.0.0-next.16 */
|
|
57
57
|
var Wo = { exports: {} }, fs, yl;
|
|
58
58
|
function gh() {
|
|
59
59
|
if (yl) return fs;
|
|
@@ -94,7 +94,7 @@ function hh() {
|
|
|
94
94
|
idle: C,
|
|
95
95
|
length: p,
|
|
96
96
|
getQueue: S,
|
|
97
|
-
unshift:
|
|
97
|
+
unshift: A,
|
|
98
98
|
empty: i,
|
|
99
99
|
kill: I,
|
|
100
100
|
killAndDrain: D,
|
|
@@ -131,7 +131,7 @@ function hh() {
|
|
|
131
131
|
var B = l.get();
|
|
132
132
|
B.context = n, B.release = T, B.value = O, B.callback = R || i, B.errorHandler = f, d === g.concurrency || g.paused ? u ? (u.next = B, u = B) : (c = B, u = B, g.saturated()) : (d++, s.call(n, B.value, B.worked));
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function A(O, R) {
|
|
135
135
|
var B = l.get();
|
|
136
136
|
B.context = n, B.release = T, B.value = O, B.callback = R || i, d === g.concurrency || g.paused ? c ? (B.next = c, c = B) : (c = B, u = B, g.saturated()) : (d++, s.call(n, B.value, B.worked));
|
|
137
137
|
}
|
|
@@ -450,7 +450,7 @@ function wh(t, e) {
|
|
|
450
450
|
return e !== !0 || t?.includes("Dot") === !0 ? "round" : "square";
|
|
451
451
|
}
|
|
452
452
|
function $h(t, e) {
|
|
453
|
-
const i = t ?? it.Solid, a = e ??
|
|
453
|
+
const i = t ?? it.Solid, a = e ?? F.lineWidth, o = {
|
|
454
454
|
[it.Solid]: [],
|
|
455
455
|
[it.Dot]: [1, a],
|
|
456
456
|
[it.DashDotDot]: [4 * a, a, 1, a, 1, a],
|
|
@@ -464,9 +464,9 @@ function Dh(t) {
|
|
|
464
464
|
const { root: e, fill: i, rotation: a, isLinePattern: o } = t;
|
|
465
465
|
let n;
|
|
466
466
|
return o !== !1 ? n = Cc.new(e, {
|
|
467
|
-
width:
|
|
468
|
-
height:
|
|
469
|
-
strokeWidth:
|
|
467
|
+
width: F.patternLineProperties.width ?? Number.NaN,
|
|
468
|
+
height: F.patternLineProperties.height ?? Number.NaN,
|
|
469
|
+
strokeWidth: F.patternLineProperties.strokeWidth ?? Number.NaN,
|
|
470
470
|
fill: i,
|
|
471
471
|
// TODO: or is it `color`?
|
|
472
472
|
rotation: a ?? Number.NaN
|
|
@@ -518,7 +518,7 @@ function $d(t, e = 0) {
|
|
|
518
518
|
function Dd(t, e) {
|
|
519
519
|
const i = {
|
|
520
520
|
stroke: re().color,
|
|
521
|
-
strokeWidth:
|
|
521
|
+
strokeWidth: F.lineWidth,
|
|
522
522
|
strokeDasharray: [],
|
|
523
523
|
linecap: e !== !0 ? "round" : "square",
|
|
524
524
|
strokeOpacity: Fo
|
|
@@ -531,7 +531,7 @@ function Dd(t, e) {
|
|
|
531
531
|
}
|
|
532
532
|
function Od(t, e) {
|
|
533
533
|
let i = t;
|
|
534
|
-
const [a, o, n, s] = t?.color ?? e ??
|
|
534
|
+
const [a, o, n, s] = t?.color ?? e ?? F.color, r = [a, o, n, s];
|
|
535
535
|
return i == null ? i = { type: ee.SLS, color: r } : i.color === void 0 && (i.color = r), Dd(i, !1);
|
|
536
536
|
}
|
|
537
537
|
function Rh(t, e) {
|
|
@@ -613,7 +613,7 @@ function mr(t) {
|
|
|
613
613
|
l !== void 0 && (l.color = l?.color ?? ai({ colorIndex: o }), i.outline = { ...l });
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
|
-
return md(i) ? s = Dd(i, !0) : rn(i) ? (i.style ??=
|
|
616
|
+
return md(i) ? s = Dd(i, !0) : rn(i) ? (i.style ??= F.lineSeries.marker.markerStyle, i.size ??= F.lineSeries.marker.markerBigSize, s = Bh(i)) : sn(i) && (s = Rh(i, e)), s;
|
|
617
617
|
}
|
|
618
618
|
function Vh(t) {
|
|
619
619
|
const { input: e, isGuideLabel: i, defaults: a } = t, o = $d(e.angle, a?.rotation), n = Rd(e.horizontalAlignment, a?.horizontalCenter), s = Bd(e.verticalAlignment, a?.verticalCenter), { align: r, valign: l, horizontalCenter: c, verticalCenter: u } = Ph({
|
|
@@ -625,7 +625,7 @@ function Vh(t) {
|
|
|
625
625
|
return {
|
|
626
626
|
fill: re(e.color).color,
|
|
627
627
|
fontFamily: e.font?.family ?? "Arial, Helvetica, sans-serif",
|
|
628
|
-
fontSize: e.font?.size ??
|
|
628
|
+
fontSize: e.font?.size ?? F.generalFontSize,
|
|
629
629
|
fontWeight: e.font?.weight ?? "400",
|
|
630
630
|
textDecoration: Mh(e.font?.decoration),
|
|
631
631
|
align: r,
|
|
@@ -710,7 +710,7 @@ function Pt(t) {
|
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
712
|
function xi(t) {
|
|
713
|
-
const { chart: e, label: i, labelType: a } = t, { legendTitle: o } =
|
|
713
|
+
const { chart: e, label: i, labelType: a } = t, { legendTitle: o } = F.legendProperties, n = w(e.uid, "config");
|
|
714
714
|
let s = o.maxWidth ?? Number.NaN, r = Number.NaN;
|
|
715
715
|
switch (a) {
|
|
716
716
|
case ae.GuideLabel:
|
|
@@ -746,7 +746,7 @@ function yo(t) {
|
|
|
746
746
|
const { chart: e } = t;
|
|
747
747
|
xi(t), e.events.on(
|
|
748
748
|
le.BoundsChanged,
|
|
749
|
-
Ue(() => xi(t),
|
|
749
|
+
Ue(() => xi(t), F.debounceTime)
|
|
750
750
|
);
|
|
751
751
|
}
|
|
752
752
|
function Nd(t) {
|
|
@@ -851,12 +851,12 @@ function Eh(t) {
|
|
|
851
851
|
le.BoundsChanged,
|
|
852
852
|
Ue(() => {
|
|
853
853
|
un(e, i);
|
|
854
|
-
},
|
|
854
|
+
}, F.debounceTime)
|
|
855
855
|
), e.events.on(
|
|
856
856
|
le.BoundsChanged,
|
|
857
857
|
Ue(() => {
|
|
858
858
|
un(e, i);
|
|
859
|
-
},
|
|
859
|
+
}, F.debounceTime)
|
|
860
860
|
));
|
|
861
861
|
}
|
|
862
862
|
a.setAll({
|
|
@@ -884,7 +884,7 @@ function Wh(t) {
|
|
|
884
884
|
if (a.label !== void 0) {
|
|
885
885
|
const s = e.get("renderer") instanceof It;
|
|
886
886
|
let r;
|
|
887
|
-
e instanceof fi || (s ? o === ee.SFS ? r =
|
|
887
|
+
e instanceof fi || (s ? o === ee.SFS ? r = F.verticalSurfaceGuideLabels : r = F.verticalLineGuideLabels : o === ee.SFS ? r = F.horizontalSurfaceGuideLabels : r = F.horizontalLineGuideLabels), fr(n.uid, { guideLabelConfig: a.label });
|
|
888
888
|
const l = {
|
|
889
889
|
type: b.Text,
|
|
890
890
|
visible: a.visible,
|
|
@@ -1282,10 +1282,10 @@ function Zh(t) {
|
|
|
1282
1282
|
selectedMaxFieldWithOutliers: x,
|
|
1283
1283
|
selectedMinFieldWithOutliers: C,
|
|
1284
1284
|
iqrField: v
|
|
1285
|
-
} = _h({ chartSubType: s, yAxisField: n, splitBy: o, showOutliers: r }),
|
|
1285
|
+
} = _h({ chartSubType: s, yAxisField: n, splitBy: o, showOutliers: r }), A = l[g], T = d[g], I = l[y], D = l[h], $ = d[S] ?? d[C], O = d[p] ?? d[x];
|
|
1286
1286
|
let R = jh({ oneSelectedItem: d, dataContext: l, xAxisField: a });
|
|
1287
1287
|
if (R)
|
|
1288
|
-
switch (Gh(d,
|
|
1288
|
+
switch (Gh(d, A)) {
|
|
1289
1289
|
case Gi.OutlierToOutlier:
|
|
1290
1290
|
R = Xh({ oneSelectedItem: d, dataContext: l, selectedOutlierKey: g });
|
|
1291
1291
|
break;
|
|
@@ -1296,7 +1296,7 @@ function Zh(t) {
|
|
|
1296
1296
|
R = Uh({
|
|
1297
1297
|
selectedMin: $,
|
|
1298
1298
|
selectedMax: O,
|
|
1299
|
-
elementOutlierValue:
|
|
1299
|
+
elementOutlierValue: A,
|
|
1300
1300
|
oneSelectedItem: d,
|
|
1301
1301
|
iqrField: v
|
|
1302
1302
|
});
|
|
@@ -1354,12 +1354,12 @@ function Vn(t) {
|
|
|
1354
1354
|
if (o !== void 0 && o in y && o in h)
|
|
1355
1355
|
p = y[o] === h[o];
|
|
1356
1356
|
else if (H.dateBinningRange in h && typeof y[n] == "number") {
|
|
1357
|
-
const S = y[n], x = y[H.dateBinningRange], C = Array.isArray(x) && Number.isFinite(x[0]) && Number.isFinite(x[1]), [v,
|
|
1358
|
-
p = (C ? v < I && T <
|
|
1357
|
+
const S = y[n], x = y[H.dateBinningRange], C = Array.isArray(x) && Number.isFinite(x[0]) && Number.isFinite(x[1]), [v, A] = C ? x : [0, 0], [T, I] = h[H.dateBinningRange], D = h[H.lastTemporalBin] === !0 ? S <= I : S < I;
|
|
1358
|
+
p = (C ? v < I && T < A : S >= T && D) && s in y && Number.isFinite(y[s]);
|
|
1359
1359
|
} else {
|
|
1360
1360
|
const S = (v) => {
|
|
1361
|
-
let
|
|
1362
|
-
return
|
|
1361
|
+
let A = v[H.typeOrDomainIdValue];
|
|
1362
|
+
return A === void 0 && (A = v[l]), A === void 0 && (A = v[n]), A = A === null ? H.nullValue : A, A;
|
|
1363
1363
|
}, x = S(h);
|
|
1364
1364
|
p = S(y) === x && s in y;
|
|
1365
1365
|
}
|
|
@@ -1382,12 +1382,12 @@ function Vn(t) {
|
|
|
1382
1382
|
return o !== void 0 && o in h && o in y ? p = y[o] === h[o] : p = y[n] === h[n] && y[s] === h[s], p;
|
|
1383
1383
|
};
|
|
1384
1384
|
else {
|
|
1385
|
-
const { dataContextXMinField: y, dataContextXMaxField: p, dataContextYMinField: S, dataContextYMaxField: x } = H.scatterplotAggregationFields, { [y]: C, [p]: v } = h,
|
|
1385
|
+
const { dataContextXMinField: y, dataContextXMaxField: p, dataContextYMinField: S, dataContextYMaxField: x } = H.scatterplotAggregationFields, { [y]: C, [p]: v } = h, A = n !== s ? h[S] : C, T = n !== s ? h[x] : v, I = ($) => {
|
|
1386
1386
|
const O = $[n] ?? Number.NaN, R = C ?? Number.NaN, B = v ?? Number.NaN;
|
|
1387
1387
|
return C === v ? O === R : (O ?? Number.NaN) >= R && (O ?? Number.NaN) < B;
|
|
1388
1388
|
}, D = ($) => {
|
|
1389
|
-
const O = $[s] ?? Number.NaN, R =
|
|
1390
|
-
return
|
|
1389
|
+
const O = $[s] ?? Number.NaN, R = A ?? Number.NaN, B = T ?? Number.NaN;
|
|
1390
|
+
return A === T ? O === R : O >= R && O < B;
|
|
1391
1391
|
};
|
|
1392
1392
|
u = ($) => I($) && D($);
|
|
1393
1393
|
}
|
|
@@ -1522,7 +1522,7 @@ function Kh(t, e) {
|
|
|
1522
1522
|
return i === Z.MonoSelection || i === Z.MultiSelectionWithCtrlKey && !a;
|
|
1523
1523
|
}
|
|
1524
1524
|
function _t(t, e) {
|
|
1525
|
-
const { selectedElementsTheme: i, nonSelectedElementsTheme: a } = e ??
|
|
1525
|
+
const { selectedElementsTheme: i, nonSelectedElementsTheme: a } = e ?? F.selectionTheme ?? {}, o = t.states.create(nt.CustomActive, {}), n = t.states.create(nt.CustomInactive, {});
|
|
1526
1526
|
vl(o, i), vl(n, a);
|
|
1527
1527
|
}
|
|
1528
1528
|
function Qh(t) {
|
|
@@ -1600,8 +1600,8 @@ function hr(t) {
|
|
|
1600
1600
|
return (p, S, x) => {
|
|
1601
1601
|
let C = "";
|
|
1602
1602
|
if (S !== void 0 && x !== void 0) {
|
|
1603
|
-
const v = `${s ?? ""}${f.format(S)}${r ?? ""}`,
|
|
1604
|
-
Number.isFinite(S) ? o === !0 && n === !0 ? C = `${
|
|
1603
|
+
const v = `${s ?? ""}${f.format(S)}${r ?? ""}`, A = `${l ?? ""}${g.format(Math.abs(x / 100))}${c ?? ""}`;
|
|
1604
|
+
Number.isFinite(S) ? o === !0 && n === !0 ? C = `${A}${h}(${v})` : o === !0 ? C = v : n === !0 && (C = A) : C = "";
|
|
1605
1605
|
}
|
|
1606
1606
|
return C;
|
|
1607
1607
|
};
|
|
@@ -1644,7 +1644,7 @@ function Ud(t) {
|
|
|
1644
1644
|
displayPercentage: c
|
|
1645
1645
|
} = a ?? {};
|
|
1646
1646
|
if (z(i) === b.PieSeries) {
|
|
1647
|
-
const { numericValueFormat: d, percentValueFormat: f, valuePrefix: g, valueSuffix: h, percentagePrefix: y, percentageSuffix: p } = i[0], S = l ??
|
|
1647
|
+
const { numericValueFormat: d, percentValueFormat: f, valuePrefix: g, valueSuffix: h, percentagePrefix: y, percentageSuffix: p } = i[0], S = l ?? F.pieChart.displayNumericValueOnLegend, x = c ?? F.pieChart.displayPercentageOnLegend;
|
|
1648
1648
|
let C = o;
|
|
1649
1649
|
if (o === void 0) {
|
|
1650
1650
|
const $ = hr({
|
|
@@ -1663,7 +1663,7 @@ function Ud(t) {
|
|
|
1663
1663
|
Lh(e.uid, {
|
|
1664
1664
|
pieChartLegendValueLabelsFormatter: C
|
|
1665
1665
|
});
|
|
1666
|
-
const
|
|
1666
|
+
const A = w(n?.uid ?? 0, "config")?.legend?.position ?? F.legendProperties.position, T = ep(e, A), I = {
|
|
1667
1667
|
type: b.Text,
|
|
1668
1668
|
visible: s,
|
|
1669
1669
|
content: {
|
|
@@ -1678,7 +1678,7 @@ function Ud(t) {
|
|
|
1678
1678
|
Pt({
|
|
1679
1679
|
label: e.valueLabels.template,
|
|
1680
1680
|
labelConfig: I,
|
|
1681
|
-
defaults:
|
|
1681
|
+
defaults: F.legendProperties.valueLabels
|
|
1682
1682
|
});
|
|
1683
1683
|
const D = w(n?.uid ?? 0, "rtl") ?? !1;
|
|
1684
1684
|
e.valueLabels.template.setAll({
|
|
@@ -1693,9 +1693,9 @@ function Ud(t) {
|
|
|
1693
1693
|
function ap(t, e) {
|
|
1694
1694
|
t.labels.template.adapters.add("maxWidth", (i) => {
|
|
1695
1695
|
let a = i;
|
|
1696
|
-
const o = w(e.uid, "config"), n = o?.legend?.labelMaxWidth, s = o?.legend?.position ??
|
|
1696
|
+
const o = w(e.uid, "config"), n = o?.legend?.labelMaxWidth, s = o?.legend?.position ?? F.legendProperties.position;
|
|
1697
1697
|
if (s === X.Right || s === X.Left)
|
|
1698
|
-
a = n ??
|
|
1698
|
+
a = n ?? F.legendProperties.legendLabels.maxWidth;
|
|
1699
1699
|
else if (n !== void 0)
|
|
1700
1700
|
a = n;
|
|
1701
1701
|
else {
|
|
@@ -1710,8 +1710,8 @@ function ap(t, e) {
|
|
|
1710
1710
|
return a;
|
|
1711
1711
|
}), t.valueLabels.template.adapters.add("maxWidth", (i) => {
|
|
1712
1712
|
let a = i;
|
|
1713
|
-
const o = w(e.uid, "config"), n = o?.legend?.valueLabelMaxWidth, s = o?.legend?.position ??
|
|
1714
|
-
return s === X.Right || s === X.Left ? a = n ??
|
|
1713
|
+
const o = w(e.uid, "config"), n = o?.legend?.valueLabelMaxWidth, s = o?.legend?.position ?? F.legendProperties.position;
|
|
1714
|
+
return s === X.Right || s === X.Left ? a = n ?? F.legendProperties.valueLabels.maxWidth : a = n ?? Number.NaN, a;
|
|
1715
1715
|
});
|
|
1716
1716
|
}
|
|
1717
1717
|
function qd(t) {
|
|
@@ -1732,7 +1732,7 @@ function np(t, e) {
|
|
|
1732
1732
|
const o = a.get("marker")?._contentWidth ?? 0, n = a.get("valueLabel")?._contentWidth ?? 0, s = o + e + n;
|
|
1733
1733
|
i = Math.max(i, s);
|
|
1734
1734
|
}
|
|
1735
|
-
return Math.ceil(i) +
|
|
1735
|
+
return Math.ceil(i) + F.legendPadding;
|
|
1736
1736
|
}
|
|
1737
1737
|
function jd(t, e) {
|
|
1738
1738
|
qa(() => {
|
|
@@ -1744,7 +1744,7 @@ function jd(t, e) {
|
|
|
1744
1744
|
});
|
|
1745
1745
|
}
|
|
1746
1746
|
function sp(t) {
|
|
1747
|
-
const { legend: e, chart: i, seriesConfig: a, legendConfig: o } = t, { displayCategory: n } = o ?? {}, s = n ??
|
|
1747
|
+
const { legend: e, chart: i, seriesConfig: a, legendConfig: o } = t, { displayCategory: n } = o ?? {}, s = n ?? F.pieChart.displayCategoryOnLegend, r = w(i?.uid ?? 0, "rtl") ?? !1;
|
|
1748
1748
|
e.labels.template.setAll({
|
|
1749
1749
|
forceHidden: s === !1,
|
|
1750
1750
|
direction: r ? "rtl" : "ltr"
|
|
@@ -1759,7 +1759,7 @@ function sp(t) {
|
|
|
1759
1759
|
webChartLegend: o,
|
|
1760
1760
|
chart: i
|
|
1761
1761
|
});
|
|
1762
|
-
const u = o.position ??
|
|
1762
|
+
const u = o.position ?? F.legendProperties.position;
|
|
1763
1763
|
jd(e, u), e.markDirty();
|
|
1764
1764
|
});
|
|
1765
1765
|
}
|
|
@@ -1959,7 +1959,7 @@ const m = {
|
|
|
1959
1959
|
`${m.Rotated}-${m.RTL}-${m.Stacked100}-${m.LegendBottom}-${m.ValueAxis}-${m.OrderByFieldsDESC}`
|
|
1960
1960
|
]), En = "arcgis_charts_title_container", pr = "arcgis_charts_subtitle_container", zn = "arcgis_charts_footer_container", Zd = "arcgis_charts_title", Kd = "arcgis_charts_subtitle", Qd = "arcgis_charts_footer", Oi = "arcgis_charts_legend_container", ha = "arcgis_charts_legend_title", Ll = "arcgis_charts_axis_title_id", Jd = "arcgis_charts_loader_container", eu = "arcgis_charts_loader_spinner";
|
|
1961
1961
|
function tu(t) {
|
|
1962
|
-
const { root: e } = t, i = w(t.uid, "rtl") ?? !1, a = w(t.uid, "config"), o = a?.series[0], { start: n, end: s } = iu(i, o), r = a?.legend?.position ??
|
|
1962
|
+
const { root: e } = t, i = w(t.uid, "rtl") ?? !1, a = w(t.uid, "config"), o = a?.series[0], { start: n, end: s } = iu(i, o), r = a?.legend?.position ?? F.heatChart.legend.position, l = r === X.Top || r === X.Bottom;
|
|
1963
1963
|
return Lc.new(e, {
|
|
1964
1964
|
orientation: l ? "horizontal" : "vertical",
|
|
1965
1965
|
startColor: n.color,
|
|
@@ -1970,7 +1970,7 @@ function tu(t) {
|
|
|
1970
1970
|
});
|
|
1971
1971
|
}
|
|
1972
1972
|
function iu(t = !1, e) {
|
|
1973
|
-
const i =
|
|
1973
|
+
const i = F.heatChart.gradientHeatRules, a = e.gradientRules?.colorList ?? [
|
|
1974
1974
|
...t ? [i.maxColor, i.minColor] : [i.minColor, i.maxColor]
|
|
1975
1975
|
], { color: o, opacity: n } = re(a[0]), { color: s, opacity: r } = re(a[1]);
|
|
1976
1976
|
return {
|
|
@@ -1989,58 +1989,58 @@ function rp(t, e) {
|
|
|
1989
1989
|
e.setAll({ startColor: n.color, endColor: s.color });
|
|
1990
1990
|
}
|
|
1991
1991
|
function au(t, e) {
|
|
1992
|
-
const { root: i } = t, o = w(t.uid, "config")?.legend?.position ??
|
|
1992
|
+
const { root: i } = t, o = w(t.uid, "config")?.legend?.position ?? F.heatChart.legend.position;
|
|
1993
1993
|
let n, s, r, l, c, u = !1;
|
|
1994
1994
|
switch (o) {
|
|
1995
1995
|
case X.Left:
|
|
1996
|
-
s =
|
|
1996
|
+
s = F.heatChart.legend.chartPadding, u = !0, e.setAll({
|
|
1997
1997
|
layout: i.verticalLayout,
|
|
1998
1998
|
orientation: "vertical",
|
|
1999
|
-
paddingRight:
|
|
2000
|
-
width:
|
|
1999
|
+
paddingRight: F.heatChart.legend.legendPadding,
|
|
2000
|
+
width: F.heatChart.legend.size,
|
|
2001
2001
|
height: Ae
|
|
2002
2002
|
}), t.leftAxesContainer.setAll({
|
|
2003
|
-
paddingLeft:
|
|
2003
|
+
paddingLeft: F.heatChart.legend.legendPadding
|
|
2004
2004
|
}), n = t.leftAxesContainer;
|
|
2005
2005
|
break;
|
|
2006
2006
|
case X.Right:
|
|
2007
|
-
r =
|
|
2007
|
+
r = F.heatChart.legend.chartPadding, e.setAll({
|
|
2008
2008
|
layout: i.verticalLayout,
|
|
2009
2009
|
orientation: "vertical",
|
|
2010
|
-
paddingLeft:
|
|
2011
|
-
width:
|
|
2010
|
+
paddingLeft: F.heatChart.legend.legendPadding,
|
|
2011
|
+
width: F.heatChart.legend.size,
|
|
2012
2012
|
height: Ae
|
|
2013
2013
|
}), t.rightAxesContainer.setAll({
|
|
2014
|
-
paddingRight:
|
|
2014
|
+
paddingRight: F.heatChart.legend.legendPadding
|
|
2015
2015
|
}), n = t.rightAxesContainer;
|
|
2016
2016
|
break;
|
|
2017
2017
|
case X.Top:
|
|
2018
2018
|
{
|
|
2019
|
-
c =
|
|
2019
|
+
c = F.heatChart.legend.chartPadding, u = !0, e.setAll({
|
|
2020
2020
|
layout: i.horizontalLayout,
|
|
2021
2021
|
orientation: "horizontal",
|
|
2022
|
-
paddingBottom:
|
|
2023
|
-
paddingTop:
|
|
2022
|
+
paddingBottom: F.heatChart.legend.legendPadding,
|
|
2023
|
+
paddingTop: F.heatChart.legend.legendPadding,
|
|
2024
2024
|
width: Ae,
|
|
2025
|
-
height:
|
|
2025
|
+
height: F.heatChart.legend.size
|
|
2026
2026
|
});
|
|
2027
2027
|
const d = xe({ childId: En, parent: t });
|
|
2028
|
-
d instanceof Xi && d.set("paddingBottom",
|
|
2028
|
+
d instanceof Xi && d.set("paddingBottom", F.heatChart.legend.chartPadding), n = t;
|
|
2029
2029
|
}
|
|
2030
2030
|
break;
|
|
2031
2031
|
case X.Bottom:
|
|
2032
2032
|
{
|
|
2033
|
-
l =
|
|
2033
|
+
l = F.heatChart.legend.chartPadding, e.setAll({
|
|
2034
2034
|
layout: i.horizontalLayout,
|
|
2035
2035
|
orientation: "horizontal",
|
|
2036
|
-
paddingTop:
|
|
2036
|
+
paddingTop: F.heatChart.legend.legendPadding,
|
|
2037
2037
|
width: Ae,
|
|
2038
|
-
height:
|
|
2038
|
+
height: F.heatChart.legend.size
|
|
2039
2039
|
}), t.bottomAxesContainer.setAll({
|
|
2040
|
-
paddingBottom:
|
|
2040
|
+
paddingBottom: F.heatChart.legend.legendPadding
|
|
2041
2041
|
});
|
|
2042
2042
|
const d = xe({ childId: zn, parent: t });
|
|
2043
|
-
d instanceof Xi && d.set("paddingBottom",
|
|
2043
|
+
d instanceof Xi && d.set("paddingBottom", F.heatChart.legend.chartPadding), n = t.bottomAxesContainer;
|
|
2044
2044
|
}
|
|
2045
2045
|
break;
|
|
2046
2046
|
}
|
|
@@ -2107,7 +2107,7 @@ function cp(t) {
|
|
|
2107
2107
|
function dp(t) {
|
|
2108
2108
|
const { chart: e, chartConfig: i } = t, { legend: a } = i, o = a !== void 0 && a.visible !== !1;
|
|
2109
2109
|
su(e);
|
|
2110
|
-
const n = e.series.values[0], s = i?.legend?.position ??
|
|
2110
|
+
const n = e.series.values[0], s = i?.legend?.position ?? F.heatChart.legend.position;
|
|
2111
2111
|
o && n !== void 0 && n instanceof Ee && s === X.Bottom && qa(() => {
|
|
2112
2112
|
const r = tu(e);
|
|
2113
2113
|
rp(e, r), au(e, r), nu({ series: n, legend: r, chart: e });
|
|
@@ -2121,7 +2121,7 @@ function ru(t) {
|
|
|
2121
2121
|
if (o instanceof Da) {
|
|
2122
2122
|
const n = xe({ childId: Oi, parent: o });
|
|
2123
2123
|
n !== void 0 && n.dataItems?.forEach((s) => {
|
|
2124
|
-
s.get("id") === e && n.set("opacity", i ? 1 :
|
|
2124
|
+
s.get("id") === e && n.set("opacity", i ? 1 : F.legendProperties.legendLabelReducedOpacity);
|
|
2125
2125
|
});
|
|
2126
2126
|
}
|
|
2127
2127
|
}
|
|
@@ -2225,18 +2225,18 @@ function Fl(t) {
|
|
|
2225
2225
|
function ao(t, e) {
|
|
2226
2226
|
const { root: i } = t, a = xe({ childId: Oi, parent: t });
|
|
2227
2227
|
if (a !== void 0) {
|
|
2228
|
-
const o = w(t.uid, "config"), n = w(t.uid, "rtl"), s = o?.title ? o.title.visible ?? !0 : !1, r = o?.subtitle ? o.subtitle.visible ?? !0 : !1, l = o?.footer ? o.footer.visible ?? !0 : !1, c = o?.legend ? o.legend.visible ?? !0 : !1, u = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, d = xe({ childId: En, parent: t }), f = d instanceof Xi && s ? d.height() : 0, g = xe({ childId: pr, parent: t }), h = g instanceof Xi && r ? g.height() : 0, y = xe({ childId: zn, parent: t }), p = y instanceof Xi && l ? y.height() : 0, S = xe({ childId: ha, parent: a }), x = S instanceof pi && c && u ? S?.height() : 0, C = o?.legend?.position ??
|
|
2228
|
+
const o = w(t.uid, "config"), n = w(t.uid, "rtl"), s = o?.title ? o.title.visible ?? !0 : !1, r = o?.subtitle ? o.subtitle.visible ?? !0 : !1, l = o?.footer ? o.footer.visible ?? !0 : !1, c = o?.legend ? o.legend.visible ?? !0 : !1, u = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, d = xe({ childId: En, parent: t }), f = d instanceof Xi && s ? d.height() : 0, g = xe({ childId: pr, parent: t }), h = g instanceof Xi && r ? g.height() : 0, y = xe({ childId: zn, parent: t }), p = y instanceof Xi && l ? y.height() : 0, S = xe({ childId: ha, parent: a }), x = S instanceof pi && c && u ? S?.height() : 0, C = o?.legend?.position ?? F.legendProperties.position;
|
|
2229
2229
|
let v;
|
|
2230
|
-
const
|
|
2230
|
+
const A = e.get("verticalScrollbar");
|
|
2231
2231
|
let T = Fe, I = Fe, D = i.verticalLayout, $ = Fe, O = Fe, R = Fe, B = Fe, N = 0, E;
|
|
2232
2232
|
const W = e.height() + x;
|
|
2233
2233
|
let G = 0, ne = 0, te = 0, ie = 0, _, q;
|
|
2234
2234
|
switch (C) {
|
|
2235
2235
|
case X.Left:
|
|
2236
|
-
D = i.verticalLayout, $ = Ke, R = Ke, O = Ke, B = Ke, E = void 0, T = Ke, I = Ke, G = a.width(), N = f + h, W < t.seriesContainer.height() && (N += t.seriesContainer.height() / 2 - W / 2), v = Fl(e),
|
|
2236
|
+
D = i.verticalLayout, $ = Ke, R = Ke, O = Ke, B = Ke, E = void 0, T = Ke, I = Ke, G = a.width(), N = f + h, W < t.seriesContainer.height() && (N += t.seriesContainer.height() / 2 - W / 2), v = Fl(e), A?.width() !== void 0 && v && A.isVisible() && (v += A.width() + F.scrollbarPadding), n && (_ = Ae, q = v);
|
|
2237
2237
|
break;
|
|
2238
2238
|
case X.Right:
|
|
2239
|
-
D = i.verticalLayout, $ = Ae, R = Ae, O = Ke, B = Ke, E = void 0, T = Ke, I = Ke, ne = a.width(), N = f + h, W < t.seriesContainer.height() && (N += t.seriesContainer.height() / 2 - W / 2), v = Fl(e),
|
|
2239
|
+
D = i.verticalLayout, $ = Ae, R = Ae, O = Ke, B = Ke, E = void 0, T = Ke, I = Ke, ne = a.width(), N = f + h, W < t.seriesContainer.height() && (N += t.seriesContainer.height() / 2 - W / 2), v = Fl(e), A?.width() !== void 0 && v && A.isVisible() && (v += A.width() + F.scrollbarPadding), n && (_ = Ae, q = v);
|
|
2240
2240
|
break;
|
|
2241
2241
|
case X.Top:
|
|
2242
2242
|
D = i.gridLayout, $ = Fe, R = Fe, O = Ke, B = Ke, E = Ae, T = Fe, I = Fe, te += W, N += f + h, v = void 0, n && (_ = void 0);
|
|
@@ -2293,8 +2293,8 @@ function cu(t, e) {
|
|
|
2293
2293
|
}
|
|
2294
2294
|
function hp(t, e) {
|
|
2295
2295
|
e.markers.template.setAll({
|
|
2296
|
-
width:
|
|
2297
|
-
height:
|
|
2296
|
+
width: F.legendProperties.legendMarkersSize,
|
|
2297
|
+
height: F.legendProperties.legendMarkersSize
|
|
2298
2298
|
}), e.labels.template.adapters.add("text", (i, a) => {
|
|
2299
2299
|
let o = i;
|
|
2300
2300
|
const n = a.dataItem?.component;
|
|
@@ -2316,7 +2316,7 @@ function pp(t, e) {
|
|
|
2316
2316
|
l !== void 0 && n?.visible !== !1 && n?.title?.visible !== !1 && (a = l.height());
|
|
2317
2317
|
}
|
|
2318
2318
|
let r = o?.legend?.maxHeight ?? Number.NaN;
|
|
2319
|
-
Number.isFinite(r) || (o?.legend?.position === X.Top || o?.legend?.position === X.Bottom ? r =
|
|
2319
|
+
Number.isFinite(r) || (o?.legend?.position === X.Top || o?.legend?.position === X.Bottom ? r = F.legendProperties.maxHeight : typeof i == "number" && (r = i - a)), t.set("maxHeight", r);
|
|
2320
2320
|
});
|
|
2321
2321
|
}
|
|
2322
2322
|
function bp(t, e, i) {
|
|
@@ -2386,7 +2386,7 @@ function Cp(t, e) {
|
|
|
2386
2386
|
if (i !== void 0) {
|
|
2387
2387
|
const a = xe({ childId: ha, parent: i }) ?? cu(t, i);
|
|
2388
2388
|
if (e !== void 0) {
|
|
2389
|
-
const { title: o, visible: n } = e, { legendTitle: s } =
|
|
2389
|
+
const { title: o, visible: n } = e, { legendTitle: s } = F.legendProperties;
|
|
2390
2390
|
o !== void 0 ? (Pt({
|
|
2391
2391
|
label: a,
|
|
2392
2392
|
labelConfig: { ...o, visible: n !== !1 && o.visible !== !1 },
|
|
@@ -2400,7 +2400,7 @@ function Cp(t, e) {
|
|
|
2400
2400
|
}
|
|
2401
2401
|
}
|
|
2402
2402
|
function vp(t, e = !1) {
|
|
2403
|
-
const i = e ?
|
|
2403
|
+
const i = e ? F.legendProperties.roundedMarkerRadius : F.legendProperties.rectangleMarkerRadius;
|
|
2404
2404
|
t.markerRectangles.template.setAll({
|
|
2405
2405
|
cornerRadiusTL: i,
|
|
2406
2406
|
cornerRadiusTR: i,
|
|
@@ -2680,16 +2680,16 @@ function Dp(t, e) {
|
|
|
2680
2680
|
pieChart: x,
|
|
2681
2681
|
valueIntlOptions: (n ?? a)?.intlOptions,
|
|
2682
2682
|
percentageIntlOptions: (s ?? o)?.intlOptions,
|
|
2683
|
-
displayNumericValue: l ??
|
|
2684
|
-
displayPercentage: c ??
|
|
2683
|
+
displayNumericValue: l ?? F.pieChart.displayNumericValueOnTooltip,
|
|
2684
|
+
displayPercentage: c ?? F.pieChart.displayPercentageOnTooltip,
|
|
2685
2685
|
valuePrefix: u,
|
|
2686
2686
|
valueSuffix: d,
|
|
2687
2687
|
percentagePrefix: f,
|
|
2688
2688
|
percentageSuffix: g
|
|
2689
|
-
})("", y, p),
|
|
2690
|
-
if (
|
|
2689
|
+
})("", y, p), A = !be(h) && (r ?? F.pieChart.displayCategoryOnTooltip);
|
|
2690
|
+
if (A && (S = `[bold]${h}[/]`), !be(v)) {
|
|
2691
2691
|
const T = Ks(v);
|
|
2692
|
-
S =
|
|
2692
|
+
S = A ? `${S}
|
|
2693
2693
|
${T}` : T;
|
|
2694
2694
|
}
|
|
2695
2695
|
}
|
|
@@ -2764,7 +2764,7 @@ function Tl(t) {
|
|
|
2764
2764
|
label: n.dayOfWeek,
|
|
2765
2765
|
value: Pd({
|
|
2766
2766
|
weekdayNumber: e,
|
|
2767
|
-
firstDayOfWeek: "firstDayOfWeek" in o ? o.firstDayOfWeek :
|
|
2767
|
+
firstDayOfWeek: "firstDayOfWeek" in o ? o.firstDayOfWeek : F.heatChartFirstDayOfWeek,
|
|
2768
2768
|
locale: i
|
|
2769
2769
|
})
|
|
2770
2770
|
};
|
|
@@ -2835,7 +2835,7 @@ function Mp(t) {
|
|
|
2835
2835
|
c = parseFloat(x.format(n));
|
|
2836
2836
|
}
|
|
2837
2837
|
} else
|
|
2838
|
-
c = d?.series[0].emptyCells?.text ??
|
|
2838
|
+
c = d?.series[0].emptyCells?.text ?? F.heatChart.emptyCells?.text ?? "";
|
|
2839
2839
|
const f = w(e.chart?.uid ?? 0, "config"), g = bt(u ?? !1), h = br({
|
|
2840
2840
|
config: f,
|
|
2841
2841
|
fieldName: $e(o, i.query?.outStatistics?.[0].onStatisticField ?? ""),
|
|
@@ -2925,7 +2925,7 @@ function xu(t) {
|
|
|
2925
2925
|
});
|
|
2926
2926
|
}
|
|
2927
2927
|
function Cu(t, e) {
|
|
2928
|
-
const { dataTooltipStyleReversed: i, dataTooltipStyle: a } =
|
|
2928
|
+
const { dataTooltipStyleReversed: i, dataTooltipStyle: a } = F;
|
|
2929
2929
|
if (e === !0) {
|
|
2930
2930
|
const o = t.get("background")?.get("fill");
|
|
2931
2931
|
o !== void 0 && (kl(t, t.get("background")?.get("fill")?.toCSS()), i?.color !== void 0 && o.toCSSHex() !== re(i.color).color.toCSSHex() && t.get("background")?.setAll({
|
|
@@ -2957,14 +2957,14 @@ function ja(t) {
|
|
|
2957
2957
|
const { root: e, chart: i } = t, a = Pa.new(e, {});
|
|
2958
2958
|
return a.label.setAll({
|
|
2959
2959
|
oversizedBehavior: "wrap",
|
|
2960
|
-
maxWidth:
|
|
2960
|
+
maxWidth: F.tooltipWidth
|
|
2961
2961
|
}), a.adapters.add("visible", (o, n) => (o && Lu(n, t), o)), vu(a, i), a;
|
|
2962
2962
|
}
|
|
2963
2963
|
function yr(t) {
|
|
2964
2964
|
const { root: e, series: i, tooltipFormatter: a } = t, { chart: o } = i, n = Pa.new(e, {});
|
|
2965
2965
|
n.label.setAll({
|
|
2966
2966
|
oversizedBehavior: "wrap",
|
|
2967
|
-
maxWidth:
|
|
2967
|
+
maxWidth: F.tooltipWidth
|
|
2968
2968
|
}), n.adapters.add("visible", (r, l) => (r && Lu(l, i), r)), vu(n, o);
|
|
2969
2969
|
const s = a !== void 0 ? "tooltipHTML" : "tooltipText";
|
|
2970
2970
|
return n.adapters.remove(s), n.adapters.add(
|
|
@@ -3012,7 +3012,7 @@ function Vp(t) {
|
|
|
3012
3012
|
});
|
|
3013
3013
|
let S = si(g);
|
|
3014
3014
|
S === void 0 && (S = p);
|
|
3015
|
-
const x = g[
|
|
3015
|
+
const x = g[F.dateBinningRange];
|
|
3016
3016
|
if (S !== void 0 || d !== void 0 || f !== void 0 || x !== void 0)
|
|
3017
3017
|
return n({
|
|
3018
3018
|
seriesName: i.get("name") ?? e.name,
|
|
@@ -3221,10 +3221,10 @@ function Hp(t) {
|
|
|
3221
3221
|
if (g !== void 0) {
|
|
3222
3222
|
const { dataTooltipVisible: h } = n, y = o instanceof ge ? n.markerVisible : void 0;
|
|
3223
3223
|
if (h !== !1 && y !== !1) {
|
|
3224
|
-
const p = g.axes, S = p[0].valueFormat, x = p[1].valueFormat, C = Y(g.series), v = zt(g) === ke.Stacked100,
|
|
3224
|
+
const p = g.axes, S = p[0].valueFormat, x = p[1].valueFormat, C = Y(g.series), v = zt(g) === ke.Stacked100, A = pt(a)?.objectIdField, T = $e(i, n.x), I = li(T, p[0].title?.content.text), D = gu({
|
|
3225
3225
|
config: g,
|
|
3226
3226
|
fieldList: i,
|
|
3227
|
-
objectIdField:
|
|
3227
|
+
objectIdField: A,
|
|
3228
3228
|
seriesIndex: s,
|
|
3229
3229
|
utilsStrings: e,
|
|
3230
3230
|
isStacked100: v
|
|
@@ -3347,9 +3347,9 @@ function Xp(t) {
|
|
|
3347
3347
|
), C = x ? x(u) : u, v = he(
|
|
3348
3348
|
a.uid,
|
|
3349
3349
|
"tooltipValueYNumberFormatCallback"
|
|
3350
|
-
),
|
|
3350
|
+
), A = v ? v(d) : d;
|
|
3351
3351
|
let T = `[bold]${y}${c} [/]${C}
|
|
3352
|
-
[bold]${S}${c} [/]${
|
|
3352
|
+
[bold]${S}${c} [/]${A}`;
|
|
3353
3353
|
if (f !== void 0 && i.sizePolicy?.field !== void 0) {
|
|
3354
3354
|
const I = $e(o, i.sizePolicy?.field), D = v ? v(f) : f;
|
|
3355
3355
|
T += `
|
|
@@ -3447,7 +3447,7 @@ function _p(t, e) {
|
|
|
3447
3447
|
});
|
|
3448
3448
|
}
|
|
3449
3449
|
function Ri(t) {
|
|
3450
|
-
return t.get("id") ===
|
|
3450
|
+
return t.get("id") === F.overlayId.scatterplotTrendLine;
|
|
3451
3451
|
}
|
|
3452
3452
|
function Fu(t) {
|
|
3453
3453
|
return t.series.values.find((e) => !Ri(e));
|
|
@@ -3461,9 +3461,9 @@ function Zp(t) {
|
|
|
3461
3461
|
yAxis: a,
|
|
3462
3462
|
valueXField: n,
|
|
3463
3463
|
valueYField: s,
|
|
3464
|
-
layer:
|
|
3464
|
+
layer: F.zIndexes.scatterplotTrendLine
|
|
3465
3465
|
});
|
|
3466
|
-
return r.set("id",
|
|
3466
|
+
return r.set("id", F.overlayId.scatterplotTrendLine), Ve(r.uid, {
|
|
3467
3467
|
type: we.Trendline
|
|
3468
3468
|
}), r;
|
|
3469
3469
|
}
|
|
@@ -3496,7 +3496,7 @@ function Qp(t) {
|
|
|
3496
3496
|
valueField: "value",
|
|
3497
3497
|
// necessary for bubble plot / heat rules. See `updateSizePolicy()`
|
|
3498
3498
|
maskBullets: !1,
|
|
3499
|
-
layer:
|
|
3499
|
+
layer: F.zIndexes.bulletMarkers
|
|
3500
3500
|
});
|
|
3501
3501
|
d.strokes.template.set("forceHidden", !0), Kp(d, s), Ka(d, i), u.push(d);
|
|
3502
3502
|
const f = Zp({
|
|
@@ -3512,11 +3512,11 @@ function Jp(t) {
|
|
|
3512
3512
|
type: ee.SLS
|
|
3513
3513
|
}, d = c?.created === !0 && c.visible !== !1;
|
|
3514
3514
|
if (a !== void 0) {
|
|
3515
|
-
const f =
|
|
3515
|
+
const f = F.scatterplotSeries, g = r !== void 0 ? w(r.uid, "formatLocale") : void 0, { x: h, y } = l;
|
|
3516
3516
|
i.setAll({
|
|
3517
3517
|
valueXField: h,
|
|
3518
3518
|
valueYField: y
|
|
3519
|
-
}), i.data.setAll(a.trendLinePoints ??
|
|
3519
|
+
}), i.data.setAll(a.trendLinePoints ?? F.scatterplotSeries.trendLinePoints);
|
|
3520
3520
|
const p = Number.isFinite(a.r2) ? Na({
|
|
3521
3521
|
root: e,
|
|
3522
3522
|
value: a.r2 ?? f.r2,
|
|
@@ -3806,7 +3806,7 @@ function Iu(t) {
|
|
|
3806
3806
|
}
|
|
3807
3807
|
}, n = Ue((s, r) => {
|
|
3808
3808
|
r && o(r);
|
|
3809
|
-
},
|
|
3809
|
+
}, F.debounceTime);
|
|
3810
3810
|
e.on("x", n), e.on("y", n);
|
|
3811
3811
|
}
|
|
3812
3812
|
function db(t) {
|
|
@@ -3818,16 +3818,16 @@ function db(t) {
|
|
|
3818
3818
|
if (c !== void 0 && l !== void 0 && l !== null) {
|
|
3819
3819
|
const u = c?.get("valueY"), d = n.localBounds().bottom;
|
|
3820
3820
|
if (r !== !0) {
|
|
3821
|
-
const f =
|
|
3821
|
+
const f = F.dataLabelNegative?.paddingTop ?? 0;
|
|
3822
3822
|
if (e.get("stacked") || a)
|
|
3823
3823
|
if (u < 0)
|
|
3824
3824
|
l += d - f;
|
|
3825
3825
|
else {
|
|
3826
|
-
const h = a ?
|
|
3826
|
+
const h = a ? F.heatChartLabelPadding.paddingTop : 0;
|
|
3827
3827
|
l += d / 2 + h;
|
|
3828
3828
|
}
|
|
3829
3829
|
} else {
|
|
3830
|
-
const f =
|
|
3830
|
+
const f = F.rotatedChartPadding?.paddingTop ?? 0;
|
|
3831
3831
|
l += d / 2 + f;
|
|
3832
3832
|
}
|
|
3833
3833
|
}
|
|
@@ -3837,7 +3837,7 @@ function db(t) {
|
|
|
3837
3837
|
let l = typeof o == "number" ? o : o?.value;
|
|
3838
3838
|
const c = n.dataItem;
|
|
3839
3839
|
if (c !== void 0 && l !== void 0 && l !== null && r === !0) {
|
|
3840
|
-
const u = c?.get("valueX"), f = n.width() / 2, g =
|
|
3840
|
+
const u = c?.get("valueX"), f = n.width() / 2, g = F.rotatedChartPadding?.paddingRight ?? 0, h = f + g;
|
|
3841
3841
|
e.get("stacked") || (u < 0 ? l -= h : l += h);
|
|
3842
3842
|
}
|
|
3843
3843
|
return l;
|
|
@@ -3890,15 +3890,15 @@ function wu(t) {
|
|
|
3890
3890
|
g: i.g,
|
|
3891
3891
|
b: i.b,
|
|
3892
3892
|
a
|
|
3893
|
-
}) ? re(
|
|
3893
|
+
}) ? re(F.darkTextColor).color : i : o = Ko({
|
|
3894
3894
|
r: i.r,
|
|
3895
3895
|
g: i.g,
|
|
3896
3896
|
b: i.b,
|
|
3897
3897
|
a
|
|
3898
|
-
}) ? i : re(
|
|
3898
|
+
}) ? i : re(F.lightTextColor).color, o;
|
|
3899
3899
|
}
|
|
3900
3900
|
function fb(t) {
|
|
3901
|
-
const { dataLabel: e, labelConfigColor: i, seriesColor: a, backgroundColor: o, autoInverseDataLabelTextColor: n, isHeatChart: s } = t, r = o ?? re(
|
|
3901
|
+
const { dataLabel: e, labelConfigColor: i, seriesColor: a, backgroundColor: o, autoInverseDataLabelTextColor: n, isHeatChart: s } = t, r = o ?? re(F.backgroundColor).color;
|
|
3902
3902
|
n === !0 && a && e.adapters.add("fill", (l, c, u) => {
|
|
3903
3903
|
const d = i ?? c.text.get("fill"), f = (c.dataItem?.component).get("stacked");
|
|
3904
3904
|
let g = d;
|
|
@@ -3984,7 +3984,7 @@ function Hn(t) {
|
|
|
3984
3984
|
}), n !== void 0 && (c === b.HeatSeries ? n.content.text = "{value}" : n.content.text = l === !0 ? "{valueX}" : "{valueY}", n.visible = n.visible !== !1), Pt({
|
|
3985
3985
|
label: a,
|
|
3986
3986
|
labelConfig: n,
|
|
3987
|
-
defaults: o ??
|
|
3987
|
+
defaults: o ?? F.dataLabel,
|
|
3988
3988
|
skipSettingText: !0
|
|
3989
3989
|
});
|
|
3990
3990
|
const p = e.get("stacked"), S = p && c === b.BarSeries && i?.hideOversizedStackedLabels !== !1, x = !p && c === b.BarSeries && i?.hideOversizedSideBySideLabels === !0;
|
|
@@ -4131,26 +4131,26 @@ function Ru(t) {
|
|
|
4131
4131
|
}
|
|
4132
4132
|
function Do(t) {
|
|
4133
4133
|
return [
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4134
|
+
F.overlayId.histogramMean,
|
|
4135
|
+
F.overlayId.histogramMedian,
|
|
4136
|
+
F.overlayId.histogramStdDev,
|
|
4137
|
+
F.overlayId.histogramNormalDistribution
|
|
4138
4138
|
].includes(t.get("id") ?? "");
|
|
4139
4139
|
}
|
|
4140
4140
|
function yb(t) {
|
|
4141
4141
|
let e = "";
|
|
4142
4142
|
switch (t) {
|
|
4143
4143
|
case we.Mean:
|
|
4144
|
-
e =
|
|
4144
|
+
e = F.overlayId.histogramMean;
|
|
4145
4145
|
break;
|
|
4146
4146
|
case we.Median:
|
|
4147
|
-
e =
|
|
4147
|
+
e = F.overlayId.histogramMedian;
|
|
4148
4148
|
break;
|
|
4149
4149
|
case we.StdDev:
|
|
4150
|
-
e =
|
|
4150
|
+
e = F.overlayId.histogramStdDev;
|
|
4151
4151
|
break;
|
|
4152
4152
|
case we.Normal:
|
|
4153
|
-
e =
|
|
4153
|
+
e = F.overlayId.histogramNormalDistribution;
|
|
4154
4154
|
break;
|
|
4155
4155
|
}
|
|
4156
4156
|
return e;
|
|
@@ -4334,7 +4334,7 @@ function Fb(t) {
|
|
|
4334
4334
|
const { mean: u, stddev: d, min: f, max: g } = a, h = Gd(a.bins), y = Wd(
|
|
4335
4335
|
f,
|
|
4336
4336
|
g,
|
|
4337
|
-
o ??
|
|
4337
|
+
o ?? F.histogramSeries.normalDistribNumberOfPoints
|
|
4338
4338
|
).map(
|
|
4339
4339
|
(p) => ({
|
|
4340
4340
|
x: p,
|
|
@@ -4516,7 +4516,7 @@ function Bu(t, e) {
|
|
|
4516
4516
|
function Rb(t, e) {
|
|
4517
4517
|
const i = [], a = [], o = w(t.uid, "config"), n = w(t.uid, "queryObject"), s = $i(o), r = ki(o?.series ?? []), l = Y(o?.series), c = z(o?.series);
|
|
4518
4518
|
return t.series.each((u, d) => {
|
|
4519
|
-
if (o && u.get("visible") === !0 && u.get("id") !==
|
|
4519
|
+
if (o && u.get("visible") === !0 && u.get("id") !== F.overlayId.scatterplotTrendLine) {
|
|
4520
4520
|
const f = o.series[0].x, g = Oo(u), h = e.get(d);
|
|
4521
4521
|
if (h !== void 0) {
|
|
4522
4522
|
let y;
|
|
@@ -4558,9 +4558,9 @@ function Bb(t) {
|
|
|
4558
4558
|
return o.forEach((x, C) => {
|
|
4559
4559
|
const v = x instanceof uo || x instanceof Oa ? x : x.bullets?.[0]?.get("sprite");
|
|
4560
4560
|
if (v !== void 0) {
|
|
4561
|
-
let
|
|
4562
|
-
if (
|
|
4563
|
-
dataContext:
|
|
4561
|
+
let A = x instanceof uo || x instanceof Oa ? v.dataItem?.dataContext : x.dataContext;
|
|
4562
|
+
if (A !== void 0 && u === b.BoxPlotSeries && A[F.boxPlot.boxPlotOutlierId] !== !0 && (A = Ci({
|
|
4563
|
+
dataContext: A,
|
|
4564
4564
|
yAxisField: l,
|
|
4565
4565
|
yList: S,
|
|
4566
4566
|
xAxisField: r,
|
|
@@ -4570,7 +4570,7 @@ function Bb(t) {
|
|
|
4570
4570
|
showOutliers: f,
|
|
4571
4571
|
isFeatureCollectionLayer: bi(g)
|
|
4572
4572
|
})), Vn({
|
|
4573
|
-
elementDataContext:
|
|
4573
|
+
elementDataContext: A,
|
|
4574
4574
|
options: a,
|
|
4575
4575
|
selectionDataItems: n,
|
|
4576
4576
|
layerOidField: s,
|
|
@@ -4581,12 +4581,12 @@ function Bb(t) {
|
|
|
4581
4581
|
chartSubType: d,
|
|
4582
4582
|
showOutliers: f
|
|
4583
4583
|
}))
|
|
4584
|
-
if (h.push(v), y.push(C), v?.dataItem instanceof ia &&
|
|
4585
|
-
p.push(
|
|
4584
|
+
if (h.push(v), y.push(C), v?.dataItem instanceof ia && A !== void 0)
|
|
4585
|
+
p.push(A);
|
|
4586
4586
|
else {
|
|
4587
4587
|
const I = /* @__PURE__ */ new Set();
|
|
4588
|
-
u === b.PieSeries && wi(
|
|
4589
|
-
groupOfSlicesDataContext:
|
|
4588
|
+
u === b.PieSeries && wi(A) ? ($o({
|
|
4589
|
+
groupOfSlicesDataContext: A
|
|
4590
4590
|
}) ?? []).forEach(($) => {
|
|
4591
4591
|
n.forEach((O) => {
|
|
4592
4592
|
gr({
|
|
@@ -4596,7 +4596,7 @@ function Bb(t) {
|
|
|
4596
4596
|
xAxisField: r
|
|
4597
4597
|
}) && I.add($);
|
|
4598
4598
|
});
|
|
4599
|
-
}) : I.add(
|
|
4599
|
+
}) : I.add(A), Array.from(I)?.forEach((D) => {
|
|
4600
4600
|
const $ = Ci({
|
|
4601
4601
|
dataContext: D,
|
|
4602
4602
|
yAxisField: l,
|
|
@@ -4630,7 +4630,7 @@ function Mb(t) {
|
|
|
4630
4630
|
rotationChanged: u
|
|
4631
4631
|
} = t, { chart: d } = e;
|
|
4632
4632
|
if (d instanceof Da) {
|
|
4633
|
-
const f = w(d.uid, "options"), { filterBySelection: g, selectionData: h, returnSelectionIndexes: y, returnSelectionOIDs: p } = f ?? {}, { selectionIndexes: S } = h ?? {}, x = w(d.uid, "config"), C = je(x), v = z(x?.series),
|
|
4633
|
+
const f = w(d.uid, "options"), { filterBySelection: g, selectionData: h, returnSelectionIndexes: y, returnSelectionOIDs: p } = f ?? {}, { selectionIndexes: S } = h ?? {}, x = w(d.uid, "config"), C = je(x), v = z(x?.series), A = Y(x?.series), T = Ob(e);
|
|
4634
4634
|
if (g !== !0 && x !== void 0) {
|
|
4635
4635
|
let I;
|
|
4636
4636
|
a !== void 0 && (I = pt(a).objectIdField);
|
|
@@ -4649,7 +4649,7 @@ function Mb(t) {
|
|
|
4649
4649
|
B = Qc({
|
|
4650
4650
|
itemsA: R,
|
|
4651
4651
|
itemsB: D,
|
|
4652
|
-
isPieFromFields:
|
|
4652
|
+
isPieFromFields: A === P.PieFromFields,
|
|
4653
4653
|
x: r,
|
|
4654
4654
|
y: l,
|
|
4655
4655
|
outStatisticFieldName: x.series[0].query?.outStatistics?.[0]?.outStatisticFieldName
|
|
@@ -4676,7 +4676,7 @@ function Mb(t) {
|
|
|
4676
4676
|
splitBy: c
|
|
4677
4677
|
});
|
|
4678
4678
|
let V = w(d.uid, "computedSelectionDataItems") ?? [];
|
|
4679
|
-
if (V.push(...E), x.series.length > 1 &&
|
|
4679
|
+
if (V.push(...E), x.series.length > 1 && A !== P.BarAndLineNoAggregation && A !== P.BarAndLineSplitByNoAggregation && (V = Jc({
|
|
4680
4680
|
data: V,
|
|
4681
4681
|
x: x.series[0].x,
|
|
4682
4682
|
splitByField: Ai(x.series[0].query?.where)
|
|
@@ -4702,7 +4702,7 @@ function Mb(t) {
|
|
|
4702
4702
|
yAxisField: l,
|
|
4703
4703
|
chartType: v,
|
|
4704
4704
|
splitBy: c,
|
|
4705
|
-
chartSubType:
|
|
4705
|
+
chartSubType: A
|
|
4706
4706
|
});
|
|
4707
4707
|
};
|
|
4708
4708
|
T.forEach((E) => {
|
|
@@ -4772,14 +4772,14 @@ async function Cr(t, e) {
|
|
|
4772
4772
|
a !== void 0 && (y = (await jt(a)).find((S) => S.name === c)?.type);
|
|
4773
4773
|
try {
|
|
4774
4774
|
const p = /* @__PURE__ */ new Set(), S = [], x = /* @__PURE__ */ new Map(), C = [];
|
|
4775
|
-
let v = [],
|
|
4775
|
+
let v = [], A = 0;
|
|
4776
4776
|
if (t.series.each(async (T, I) => {
|
|
4777
4777
|
const { seriesConfig: D } = Gn(T, i), $ = D?.query?.where ?? "", O = D?.type === b.BoxPlotSeries ? D.y.toString() : Oo(T);
|
|
4778
4778
|
let R;
|
|
4779
4779
|
T instanceof ge ? R = T.dataItems : T instanceof Ee ? R = T.columns.values : T instanceof ht && (R = T.slices.values), R?.forEach((B, N) => {
|
|
4780
4780
|
const E = B instanceof uo || B instanceof Oa ? B : B.bullets?.[0]?.get("sprite");
|
|
4781
4781
|
if (E !== void 0 && Di(E.uid, "selected") === !0) {
|
|
4782
|
-
|
|
4782
|
+
A += 1;
|
|
4783
4783
|
let V = B instanceof uo || B instanceof Oa ? B.dataItem?.dataContext : B.dataContext;
|
|
4784
4784
|
if (V !== void 0) {
|
|
4785
4785
|
if (V = Ci({
|
|
@@ -4819,7 +4819,7 @@ async function Cr(t, e) {
|
|
|
4819
4819
|
}
|
|
4820
4820
|
}
|
|
4821
4821
|
});
|
|
4822
|
-
}),
|
|
4822
|
+
}), A === 0)
|
|
4823
4823
|
Ki({ chart: t, selectionSource: e });
|
|
4824
4824
|
else {
|
|
4825
4825
|
if (o?.returnSelectionOIDs !== !1 && a !== void 0 && C.length > 0) {
|
|
@@ -4830,7 +4830,7 @@ async function Cr(t, e) {
|
|
|
4830
4830
|
queryObject: a,
|
|
4831
4831
|
queryConfig: D
|
|
4832
4832
|
});
|
|
4833
|
-
if (C.length ===
|
|
4833
|
+
if (C.length === A)
|
|
4834
4834
|
v = $;
|
|
4835
4835
|
else
|
|
4836
4836
|
for (let O = 0; O < $.length; O += 1)
|
|
@@ -4863,7 +4863,7 @@ async function Cr(t, e) {
|
|
|
4863
4863
|
}
|
|
4864
4864
|
}
|
|
4865
4865
|
function _a(t, e) {
|
|
4866
|
-
const { y: i, query: a } = e, n = Y(t.series) === P.BarAndLineSplitByNoAggregation ? `${i.toString()}_${Qi({ where: a?.where })}` : [i].flat()[0], s =
|
|
4866
|
+
const { y: i, query: a } = e, n = Y(t.series) === P.BarAndLineSplitByNoAggregation ? `${i.toString()}_${Qi({ where: a?.where })}` : [i].flat()[0], s = F.xAxisField, r = t.rotated === !0 ? "categoryYField" : "categoryXField", l = t.rotated === !0 ? "valueYField" : "valueXField", c = t.axes?.[0]?.valueFormat.type === b.CategoryAxisFormat ? r : l, u = t.rotated === !0 ? "valueXField" : "valueYField";
|
|
4867
4867
|
return { xField: s, yField: n, xAxisField: c, yAxisField: u };
|
|
4868
4868
|
}
|
|
4869
4869
|
function Bi(t) {
|
|
@@ -4961,7 +4961,7 @@ function vr(t) {
|
|
|
4961
4961
|
baseAxis: l
|
|
4962
4962
|
}), e instanceof ge && e.set(
|
|
4963
4963
|
"stackToNegative",
|
|
4964
|
-
n.stackNegativeValuesToBaseline ??
|
|
4964
|
+
n.stackNegativeValuesToBaseline ?? F.lineSeries.stackNegativeValuesToBaseline
|
|
4965
4965
|
);
|
|
4966
4966
|
break;
|
|
4967
4967
|
}
|
|
@@ -5066,7 +5066,7 @@ function Hb(t, e) {
|
|
|
5066
5066
|
function Nu(t, e) {
|
|
5067
5067
|
const i = Ue((a, o) => {
|
|
5068
5068
|
o !== void 0 && Hb(o, e);
|
|
5069
|
-
},
|
|
5069
|
+
}, F.debounceTime);
|
|
5070
5070
|
t.on("x", i), t.on("y", i);
|
|
5071
5071
|
}
|
|
5072
5072
|
function Qa(t, e) {
|
|
@@ -5136,7 +5136,7 @@ function Yb(t) {
|
|
|
5136
5136
|
s = $e(g, s);
|
|
5137
5137
|
}
|
|
5138
5138
|
const { characterLimit: f } = i;
|
|
5139
|
-
r = s?.toString() ?? "", !be(r) && r !==
|
|
5139
|
+
r = s?.toString() ?? "", !be(r) && r !== F.htmlEmptyContent && (r = ed({ stringToTruncate: r, characterLimit: f }));
|
|
5140
5140
|
}
|
|
5141
5141
|
return r.toString();
|
|
5142
5142
|
};
|
|
@@ -5182,7 +5182,7 @@ function Ub(t) {
|
|
|
5182
5182
|
intlOptions: a.intlOptions,
|
|
5183
5183
|
formatLocale: l
|
|
5184
5184
|
}).format(r, a.intlOptions);
|
|
5185
|
-
else if (a.type === b.CategoryAxisFormat && (r = s?.toString() ?? "", !be(r) && r !==
|
|
5185
|
+
else if (a.type === b.CategoryAxisFormat && (r = s?.toString() ?? "", !be(r) && r !== F.htmlEmptyContent)) {
|
|
5186
5186
|
const { characterLimit: d } = a;
|
|
5187
5187
|
r = ed({ stringToTruncate: r, characterLimit: d });
|
|
5188
5188
|
}
|
|
@@ -5289,7 +5289,7 @@ function jb(t, e) {
|
|
|
5289
5289
|
});
|
|
5290
5290
|
}
|
|
5291
5291
|
return r;
|
|
5292
|
-
}), o === "html" && a.set("html",
|
|
5292
|
+
}), o === "html" && a.set("html", F.htmlEmptyContent);
|
|
5293
5293
|
}
|
|
5294
5294
|
}
|
|
5295
5295
|
function _b(t) {
|
|
@@ -5473,7 +5473,7 @@ function ay(t) {
|
|
|
5473
5473
|
}
|
|
5474
5474
|
function oy(t, e) {
|
|
5475
5475
|
let { buffer: i } = e ?? {};
|
|
5476
|
-
return i ??=
|
|
5476
|
+
return i ??= F.buffer, t instanceof Ie && !(t instanceof tt) && !i;
|
|
5477
5477
|
}
|
|
5478
5478
|
function ny(t, e) {
|
|
5479
5479
|
let i = !1;
|
|
@@ -5482,7 +5482,7 @@ function ny(t, e) {
|
|
|
5482
5482
|
function Ol(t, e) {
|
|
5483
5483
|
let i;
|
|
5484
5484
|
if (!t || t <= 0)
|
|
5485
|
-
i =
|
|
5485
|
+
i = F.treatZeroValueAs;
|
|
5486
5486
|
else {
|
|
5487
5487
|
const o = (e ? Math.ceil : Math.floor)(Math.log10(t));
|
|
5488
5488
|
i = Math.pow(10, o);
|
|
@@ -5501,8 +5501,8 @@ function sy(t) {
|
|
|
5501
5501
|
// using either the provided data (at creation or after a data update) or the current series data
|
|
5502
5502
|
chartData: p ?? l.series.getIndex(0)?.data.values ?? [],
|
|
5503
5503
|
filteredSeriesIds: y
|
|
5504
|
-
}), { minX: x, maxX: C, minY: v, maxY:
|
|
5505
|
-
d === b.BarSeries || d === b.HistogramSeries && !g || d === b.ComboLineAndBarSeries || (d === b.LineSeries || d === b.RadarSeries) && f === ke.Stacked && !g ? (s = Math.min(T,
|
|
5504
|
+
}), { minX: x, maxX: C, minY: v, maxY: A } = S, [T, I] = g ? [x ?? Number.NaN, C ?? Number.NaN] : [v, A];
|
|
5505
|
+
d === b.BarSeries || d === b.HistogramSeries && !g || d === b.ComboLineAndBarSeries || (d === b.LineSeries || d === b.RadarSeries) && f === ke.Stacked && !g ? (s = Math.min(T, F.treatZeroValueAs), r = Math.max(I, F.treatZeroValueAs)) : (s = T, r = I);
|
|
5506
5506
|
}
|
|
5507
5507
|
s = i ?? s, r = a ?? r;
|
|
5508
5508
|
}
|
|
@@ -5576,7 +5576,7 @@ function ly(t) {
|
|
|
5576
5576
|
t.uid,
|
|
5577
5577
|
"zeroGridLine"
|
|
5578
5578
|
), o = a?.displayZeroLine === !0;
|
|
5579
|
-
let n = a?.strokeWidth ??
|
|
5579
|
+
let n = a?.strokeWidth ?? F.lineWidth;
|
|
5580
5580
|
return i.get("themeTags")?.includes("base") && o && (n = (n === 0 ? 1 : n) * 1.5), n;
|
|
5581
5581
|
}), t.get("renderer").grid.template.adapters.add("strokeOpacity", (e, i) => {
|
|
5582
5582
|
const a = Zi(
|
|
@@ -5643,7 +5643,7 @@ function uy(t) {
|
|
|
5643
5643
|
oversizedBehavior: "wrap"
|
|
5644
5644
|
}), r.label.adapters.add(
|
|
5645
5645
|
"maxWidth",
|
|
5646
|
-
() => Math.min(
|
|
5646
|
+
() => Math.min(F.tooltipWidth, n.seriesContainer.width())
|
|
5647
5647
|
), r.get("background")?.set("fillOpacity", Ln);
|
|
5648
5648
|
const l = w(n.uid, "rtl");
|
|
5649
5649
|
r.label.set("direction", l ? "rtl" : "ltr");
|
|
@@ -5704,10 +5704,10 @@ function fy(t, e) {
|
|
|
5704
5704
|
const c = w(s.uid, "config"), u = w(s.uid, "isRotated"), f = !vi(t.get("renderer"), u) ? 1 : 0, h = c?.axes?.[f]?.guides;
|
|
5705
5705
|
let y = o, p = n;
|
|
5706
5706
|
if (t instanceof tt) {
|
|
5707
|
-
let
|
|
5707
|
+
let A;
|
|
5708
5708
|
if (s !== void 0) {
|
|
5709
5709
|
const T = w(t.chart?.uid ?? Number.NaN, "formatLocale");
|
|
5710
|
-
|
|
5710
|
+
A = wt({
|
|
5711
5711
|
root: t.root,
|
|
5712
5712
|
type: b.DateAxisFormat,
|
|
5713
5713
|
// iLocale: chart.language.locale, // TODO: iLocale
|
|
@@ -5715,10 +5715,10 @@ function fy(t, e) {
|
|
|
5715
5715
|
formatLocale: T
|
|
5716
5716
|
});
|
|
5717
5717
|
const I = c?.axes?.[0]?.valueFormat?.type === b.DateAxisFormat ? c.axes[0].valueFormat.intlOptions : void 0;
|
|
5718
|
-
y =
|
|
5718
|
+
y = A.format(o, I), n !== void 0 && (p = A.format(n, I));
|
|
5719
5719
|
}
|
|
5720
5720
|
} else if (t instanceof Ie && !(o instanceof Date) && !(n instanceof Date)) {
|
|
5721
|
-
const
|
|
5721
|
+
const A = h?.find(($) => $.name === a), { start: T, end: I } = Hu(t, A);
|
|
5722
5722
|
Number.isFinite(T) && (y = T), Number.isFinite(I) && (p = I);
|
|
5723
5723
|
const D = Zi(t.uid, "numberFormatter") ?? (($) => vc.new(r, {}).format($));
|
|
5724
5724
|
y = D(y), p !== void 0 && (p = D(p));
|
|
@@ -5780,7 +5780,7 @@ function Ar(t, e) {
|
|
|
5780
5780
|
}
|
|
5781
5781
|
function gy(t) {
|
|
5782
5782
|
const { axis: e, guideConfig: i, above: a } = t, o = i !== void 0, n = e.axisRanges.length, s = e.axisRanges.insertIndex(n, e.makeDataItem({ above: a }));
|
|
5783
|
-
o && (a === !0 && s.get("axisFill")?.setAll({ layer:
|
|
5783
|
+
o && (a === !0 && s.get("axisFill")?.setAll({ layer: F.zIndexes.guide }), zh({ guide: s, axis: e, guideLabelConfig: i?.label }));
|
|
5784
5784
|
const r = s.get("axisFill");
|
|
5785
5785
|
r !== void 0 && r.setAll({ disabled: !0, fillOpacity: 1 });
|
|
5786
5786
|
const l = s.get("grid");
|
|
@@ -5803,12 +5803,12 @@ function by(t, e) {
|
|
|
5803
5803
|
const { chart: s } = t, r = w(s?.uid ?? Number.NaN, "config");
|
|
5804
5804
|
if (r !== void 0) {
|
|
5805
5805
|
const l = Js(r), c = t.data.values, d = c.find(
|
|
5806
|
-
(f) => f[
|
|
5806
|
+
(f) => f[F.originalCategoryValue] === i
|
|
5807
5807
|
)?.[l];
|
|
5808
5808
|
if ((typeof d == "string" || typeof d == "number" || d instanceof Date) && (o = d), n !== void 0)
|
|
5809
5809
|
for (let f = c.length - 1; f >= 0; f -= 1) {
|
|
5810
5810
|
const g = c[f], h = g[l];
|
|
5811
|
-
if (g[
|
|
5811
|
+
if (g[F.originalCategoryValue] === a && (typeof h == "string" || typeof h == "number" || h instanceof Date)) {
|
|
5812
5812
|
n = h;
|
|
5813
5813
|
break;
|
|
5814
5814
|
}
|
|
@@ -5864,7 +5864,7 @@ function Sy(t) {
|
|
|
5864
5864
|
element: o,
|
|
5865
5865
|
fillSymbol: { type: ee.SFS, color: a.style?.color, outline: a.style },
|
|
5866
5866
|
visible: a.visible
|
|
5867
|
-
}) : a.style.type === ee.SFS && sa({ element: o, fillSymbol: a.style, visible: a.visible }), Wh({ axis: e, guide: i, guideConfig: a, guideType: a.style.type }), i.get("axisFill")?.setAll({ layer: a.above ?
|
|
5867
|
+
}) : a.style.type === ee.SFS && sa({ element: o, fillSymbol: a.style, visible: a.visible }), Wh({ axis: e, guide: i, guideConfig: a, guideType: a.style.type }), i.get("axisFill")?.setAll({ layer: a.above ? F.zIndexes.guide : 0 });
|
|
5868
5868
|
const { chart: s } = e;
|
|
5869
5869
|
} else
|
|
5870
5870
|
o !== void 0 && o.set("disabled", !0), n !== void 0 && n.set("disabled", !0);
|
|
@@ -5916,7 +5916,7 @@ function Ly(t, e) {
|
|
|
5916
5916
|
s.innerWidth()
|
|
5917
5917
|
));
|
|
5918
5918
|
});
|
|
5919
|
-
const n = t instanceof tt ? t.width() /
|
|
5919
|
+
const n = t instanceof tt ? t.width() / F.maxNumberOfXAxisLabelsInWrapModeForDateAxis : t.width() / F.maxNumberOfXAxisLabelsInWrapMode;
|
|
5920
5920
|
a = Math.max(o, n);
|
|
5921
5921
|
} else if (e === Te.Hide) {
|
|
5922
5922
|
let o = Number.MIN_SAFE_INTEGER;
|
|
@@ -5927,7 +5927,7 @@ function Ly(t, e) {
|
|
|
5927
5927
|
));
|
|
5928
5928
|
}), a = o + 2;
|
|
5929
5929
|
}
|
|
5930
|
-
Number.isFinite(a) && a >
|
|
5930
|
+
Number.isFinite(a) && a > F.shortestMinGridDistance && i.set("minGridDistance", a);
|
|
5931
5931
|
}
|
|
5932
5932
|
}
|
|
5933
5933
|
function Fy(t) {
|
|
@@ -5940,14 +5940,14 @@ function Fy(t) {
|
|
|
5940
5940
|
l = n;
|
|
5941
5941
|
else if (i !== b.RadarSeries)
|
|
5942
5942
|
if (r instanceof fi)
|
|
5943
|
-
l =
|
|
5943
|
+
l = F.gauge.gaugeMinGridDistance;
|
|
5944
5944
|
else if (e instanceof Ie)
|
|
5945
|
-
l = r instanceof It ?
|
|
5945
|
+
l = r instanceof It ? F.xAxisMinGridDistance : F.yAxisMinGridDistance;
|
|
5946
5946
|
else if (r instanceof It)
|
|
5947
5947
|
if (o === !0)
|
|
5948
|
-
l =
|
|
5948
|
+
l = F.secondRotatedValueAxisMinGridDistance;
|
|
5949
5949
|
else if (s === Te.Rotate) {
|
|
5950
|
-
const c = a.content.font?.size ??
|
|
5950
|
+
const c = a.content.font?.size ?? F.generalFontSize, u = e instanceof xt ? F.categoryAxisLabelPadding : F.axisLabelPadding;
|
|
5951
5951
|
l = c * u;
|
|
5952
5952
|
} else if (s === Te.Wrap || s === Te.Hide) {
|
|
5953
5953
|
let c = Zi(
|
|
@@ -5957,9 +5957,9 @@ function Fy(t) {
|
|
|
5957
5957
|
c !== void 0 && c.dispose(), c = e.events.on(le.BoundsChanged, () => {
|
|
5958
5958
|
Ly(e, s);
|
|
5959
5959
|
}), Ua(e.uid, { minGridDistanceCallbackDisposer: c });
|
|
5960
|
-
} else s === Te.Stagger ? l =
|
|
5960
|
+
} else s === Te.Stagger ? l = F.staggerMinGridDistance : l = e instanceof xt ? F.xCategoryAxisMinGridDistance : F.xAxisMinGridDistance;
|
|
5961
5961
|
else
|
|
5962
|
-
l = e instanceof xt ?
|
|
5962
|
+
l = e instanceof xt ? F.yCategoryAxisMinGridDistance : F.yAxisMinGridDistance;
|
|
5963
5963
|
r.set("minGridDistance", l);
|
|
5964
5964
|
}
|
|
5965
5965
|
function Vl(t = 1, e) {
|
|
@@ -5988,20 +5988,20 @@ function zl(t) {
|
|
|
5988
5988
|
let n = 0;
|
|
5989
5989
|
e.labels.each((l) => {
|
|
5990
5990
|
if (Ft(l.uid, "isGuide") !== !0 && l.width() > 0) {
|
|
5991
|
-
const c = o ===
|
|
5991
|
+
const c = o === F.rotatedAxisLabel.rotation ? Math.sqrt(l.innerHeight() ** 2 + l.innerWidth() ** 2) : l.innerWidth();
|
|
5992
5992
|
c > n && (n = c);
|
|
5993
5993
|
}
|
|
5994
5994
|
});
|
|
5995
5995
|
const r = Gu(t) >= n + 5;
|
|
5996
|
-
if (!r && o === 0 || r && o ===
|
|
5997
|
-
const l = r ?
|
|
5996
|
+
if (!r && o === 0 || r && o === F.rotatedAxisLabel.rotation) {
|
|
5997
|
+
const l = r ? F.axisLabel.rotation : F.rotatedAxisLabel.rotation;
|
|
5998
5998
|
e.labels.template.setAll({
|
|
5999
5999
|
rotation: l,
|
|
6000
6000
|
centerX: r ? Fe : Ae,
|
|
6001
6001
|
centerY: Ke,
|
|
6002
|
-
paddingTop: r ?
|
|
6003
|
-
paddingLeft: r ?
|
|
6004
|
-
paddingRight: r ?
|
|
6002
|
+
paddingTop: r ? F.axisLabel.paddingTop : F.rotatedAxisLabel.paddingTop,
|
|
6003
|
+
paddingLeft: r ? F.axisLabel.paddingLeft : F.rotatedAxisLabel.paddingLeft,
|
|
6004
|
+
paddingRight: r ? F.axisLabel.paddingRight : F.rotatedAxisLabel.paddingRight
|
|
6005
6005
|
}), Ua(t.uid, { rotation: l });
|
|
6006
6006
|
}
|
|
6007
6007
|
}
|
|
@@ -6022,7 +6022,7 @@ function Hl(t) {
|
|
|
6022
6022
|
return n !== void 0 && s !== void 0 && Ft(s.uid, "isGuide") !== !0 && s.getText() !== void 0 && s.width() > 0;
|
|
6023
6023
|
}).forEach((o, n) => {
|
|
6024
6024
|
const s = o.get("tick"), r = o.get("label"), l = n % 2 === 1;
|
|
6025
|
-
s && s.set("length", l ? a + 5 :
|
|
6025
|
+
s && s.set("length", l ? a + 5 : F.axisTickLength), r && r.set("dy", l ? a : 0);
|
|
6026
6026
|
}), a && t.get("renderer").labels.template.get("paddingBottom") !== a + 5 && t.get("renderer").labels.template.set("paddingBottom", a + 5));
|
|
6027
6027
|
}
|
|
6028
6028
|
}
|
|
@@ -6032,7 +6032,7 @@ function Ty(t) {
|
|
|
6032
6032
|
function ky(t) {
|
|
6033
6033
|
t.get("renderer").labels.template.setAll({
|
|
6034
6034
|
oversizedBehavior: "wrap",
|
|
6035
|
-
maxWidth:
|
|
6035
|
+
maxWidth: F.yAxisLabelMaxWidth,
|
|
6036
6036
|
textAlign: "end"
|
|
6037
6037
|
});
|
|
6038
6038
|
}
|
|
@@ -6105,7 +6105,7 @@ function Dy(t) {
|
|
|
6105
6105
|
const n = i ? "width" : "height", s = i ? ae.XAxisTitle : ae.YAxisTitle;
|
|
6106
6106
|
xi({ chart: o, label: a, labelType: s }), e.onPrivate(
|
|
6107
6107
|
n,
|
|
6108
|
-
Ue(() => xi({ chart: o, label: a, labelType: s }),
|
|
6108
|
+
Ue(() => xi({ chart: o, label: a, labelType: s }), F.debounceTime)
|
|
6109
6109
|
);
|
|
6110
6110
|
}
|
|
6111
6111
|
}
|
|
@@ -6217,7 +6217,7 @@ function My(t) {
|
|
|
6217
6217
|
function Ny(t, e) {
|
|
6218
6218
|
let i = e ?? null;
|
|
6219
6219
|
if (e != null) {
|
|
6220
|
-
const a = t.xAxes.getIndex(0), o = w(t.uid, "config"), n = a.get("min") ?? o?.axes?.[0].minimum ??
|
|
6220
|
+
const a = t.xAxes.getIndex(0), o = w(t.uid, "config"), n = a.get("min") ?? o?.axes?.[0].minimum ?? F.gauge.axisMinimum, s = a.get("max") ?? o?.axes?.[0].maximum ?? F.gauge.axisMaximum;
|
|
6221
6221
|
e < n ? i = n : e > s && (i = s);
|
|
6222
6222
|
}
|
|
6223
6223
|
return i ?? void 0;
|
|
@@ -6238,7 +6238,7 @@ function Vy(t) {
|
|
|
6238
6238
|
(r) => r.get("bullet")?.get("sprite") instanceof Cs
|
|
6239
6239
|
), s = n?.get("bullet")?.get("sprite");
|
|
6240
6240
|
if (n && s instanceof Cs) {
|
|
6241
|
-
const { startWidth: r, endWidth: l, innerRadius: c } =
|
|
6241
|
+
const { startWidth: r, endWidth: l, innerRadius: c } = F.gaugeNeedle;
|
|
6242
6242
|
sa({ element: s.hand, fillSymbol: a?.symbol }), sa({ element: s.pin, fillSymbol: a?.symbol }), n.set("value", Ny(e, o)), s.pin.set("visible", a?.displayPin === !0), s.setAll({
|
|
6243
6243
|
visible: a?.visible ?? !0,
|
|
6244
6244
|
innerRadius: gt(a?.innerRadius ?? c),
|
|
@@ -6248,11 +6248,11 @@ function Vy(t) {
|
|
|
6248
6248
|
}
|
|
6249
6249
|
}
|
|
6250
6250
|
function Ey(t, e) {
|
|
6251
|
-
const i = Number.isFinite(e?.innerRadius) ? e?.innerRadius :
|
|
6251
|
+
const i = Number.isFinite(e?.innerRadius) ? e?.innerRadius : F.gauge.innerRadius;
|
|
6252
6252
|
typeof i == "number" && Number.isFinite(i) && t.set("innerRadius", gt(i));
|
|
6253
6253
|
}
|
|
6254
6254
|
function zy(t, e) {
|
|
6255
|
-
const i = Number.isFinite(e?.startAngle) ? e?.startAngle :
|
|
6255
|
+
const i = Number.isFinite(e?.startAngle) ? e?.startAngle : F.gauge.startAngle, a = Number.isFinite(e?.endAngle) ? e?.endAngle : F.gauge.endAngle;
|
|
6256
6256
|
typeof i == "number" && Number.isFinite(i) && t.set("startAngle", i), typeof a == "number" && Number.isFinite(a) && t.set("endAngle", a);
|
|
6257
6257
|
}
|
|
6258
6258
|
async function Wy(t) {
|
|
@@ -6268,15 +6268,15 @@ async function Wy(t) {
|
|
|
6268
6268
|
queryConfig: w(e.uid, "queryConfig")
|
|
6269
6269
|
});
|
|
6270
6270
|
y.minimum = x.minimum, y.maximum = x.maximum;
|
|
6271
|
-
const { min: C, max: v } = Xu(y),
|
|
6272
|
-
Ha(p) ? (
|
|
6273
|
-
axisConfig:
|
|
6271
|
+
const { min: C, max: v } = Xu(y), A = { ...y };
|
|
6272
|
+
Ha(p) ? (A.minimum = 0, A.maximum = 1, Yu({
|
|
6273
|
+
axisConfig: A,
|
|
6274
6274
|
axisMin: y.minimum,
|
|
6275
6275
|
axisMax: y.maximum
|
|
6276
|
-
})) : (
|
|
6276
|
+
})) : (A.minimum = C, A.maximum = v), await kr({
|
|
6277
6277
|
chartConfig: i,
|
|
6278
6278
|
axis: h,
|
|
6279
|
-
axisConfig:
|
|
6279
|
+
axisConfig: A,
|
|
6280
6280
|
externalAxisLabelFormatter: n,
|
|
6281
6281
|
utilsStrings: s,
|
|
6282
6282
|
errorStrings: r
|
|
@@ -6401,12 +6401,12 @@ function Yy(t) {
|
|
|
6401
6401
|
t instanceof Ie && (t.onPrivate("min", Rl), t.onPrivate("max", Rl));
|
|
6402
6402
|
}
|
|
6403
6403
|
function Uy(t) {
|
|
6404
|
-
const { axis: e, isHorizontalAxis: i, isSecondValueAxis: a } = t, { root: o } = e, n = i ? { ...
|
|
6404
|
+
const { axis: e, isHorizontalAxis: i, isSecondValueAxis: a } = t, { root: o } = e, n = i ? { ...F.xAxisTitleLabel, verticalCenter: J.Top } : F.yAxisTitleLabel, s = bo({ root: o, id: qu(e, i), defaults: n });
|
|
6405
6405
|
return e.get("renderer") instanceof _i && a !== !0 || e.get("renderer") instanceof It && a === !0 ? e.children.unshift(s) : e.children.push(s), i && a !== !0 && e.events.on(
|
|
6406
6406
|
le.BoundsChanged,
|
|
6407
6407
|
Ue(() => {
|
|
6408
6408
|
ju(e, s);
|
|
6409
|
-
},
|
|
6409
|
+
}, F.debounceTime)
|
|
6410
6410
|
), Dy({ axis: e, isHorizontalAxis: i, label: s }), s;
|
|
6411
6411
|
}
|
|
6412
6412
|
function Yi(t) {
|
|
@@ -6435,7 +6435,7 @@ function Yi(t) {
|
|
|
6435
6435
|
d = l;
|
|
6436
6436
|
break;
|
|
6437
6437
|
default:
|
|
6438
|
-
d =
|
|
6438
|
+
d = F.xAxisField;
|
|
6439
6439
|
break;
|
|
6440
6440
|
}
|
|
6441
6441
|
d && (u = i.push(xt.new(e, { categoryField: d, renderer: n })));
|
|
@@ -6450,10 +6450,10 @@ function Yi(t) {
|
|
|
6450
6450
|
const d = r === b.HistogramSeries || r === b.HeatSeries ? 0 : 0.1, f = r === b.HistogramSeries || r === b.HeatSeries ? 1 : 0.9;
|
|
6451
6451
|
u.get("renderer").setAll({ cellStartLocation: d, cellEndLocation: f }), Wu(u), Yy(u), Xn(u.get("renderer")) ? u.get("renderer").labels.template.set(
|
|
6452
6452
|
s ? "paddingBottom" : "paddingTop",
|
|
6453
|
-
|
|
6453
|
+
F.axisLabelSpacing.horizontalAxisLabelPaddingTop
|
|
6454
6454
|
) : n instanceof _i && u.get("renderer").labels.template.set(
|
|
6455
6455
|
s ? "paddingLeft" : "paddingRight",
|
|
6456
|
-
|
|
6456
|
+
F.axisLabelSpacing.verticalAxisLabelSidePadding
|
|
6457
6457
|
);
|
|
6458
6458
|
}
|
|
6459
6459
|
return u;
|
|
@@ -6478,7 +6478,7 @@ function qy(t) {
|
|
|
6478
6478
|
function jy(t) {
|
|
6479
6479
|
const { axis: e, axisTitleConfig: i, isSecondValueAxis: a } = t, o = e.get("renderer"), { chart: n } = e, s = Xn(o), r = xe({ childId: qu(e, s), parent: e, useChildId: !0 }) ?? Uy({ axis: e, isHorizontalAxis: s, isSecondValueAxis: a });
|
|
6480
6480
|
if (r instanceof pi) {
|
|
6481
|
-
const l = s ? { ...
|
|
6481
|
+
const l = s ? { ...F.xAxisTitleLabel, verticalCenter: J.Top } : F.yAxisTitleLabel;
|
|
6482
6482
|
if (Pt({ label: r, labelConfig: i, defaults: l }), s && a !== !0 && ju(e, r), n) {
|
|
6483
6483
|
const c = { chart: n, label: r, labelType: s ? ae.XAxisTitle : ae.YAxisTitle };
|
|
6484
6484
|
xi(c);
|
|
@@ -6508,7 +6508,7 @@ async function kr(t) {
|
|
|
6508
6508
|
title: x,
|
|
6509
6509
|
labels: C,
|
|
6510
6510
|
isLogarithmic: v,
|
|
6511
|
-
grid:
|
|
6511
|
+
grid: A,
|
|
6512
6512
|
displayCursorTooltip: T,
|
|
6513
6513
|
displayZeroLine: I,
|
|
6514
6514
|
valueFormat: D,
|
|
@@ -6517,7 +6517,7 @@ async function kr(t) {
|
|
|
6517
6517
|
dateBaseInterval: R
|
|
6518
6518
|
} = a, { root: B } = e, N = z(d.series), E = zt(d), V = d.rotated, W = e.get("renderer");
|
|
6519
6519
|
Ua(e.uid, {
|
|
6520
|
-
zeroGridLine: { displayZeroLine: I, strokeWidth:
|
|
6520
|
+
zeroGridLine: { displayZeroLine: I, strokeWidth: A?.width ?? F.lineWidth, visible: A !== void 0 }
|
|
6521
6521
|
}), ey({ axis: e, isLogarithmic: v, isSecondValueAxis: u }), await Zb({
|
|
6522
6522
|
axis: e,
|
|
6523
6523
|
isXAxis: vi(e.get("renderer"), V),
|
|
@@ -6529,9 +6529,9 @@ async function kr(t) {
|
|
|
6529
6529
|
errorStrings: y
|
|
6530
6530
|
}), _b({ axis: e, isRotated: V, chartConfig: d }), ay({ axis: e, timeIntervalInfo: o, dateBaseInterval: R }), Yt({
|
|
6531
6531
|
element: W,
|
|
6532
|
-
lineSymbol: { color: [...
|
|
6532
|
+
lineSymbol: { color: [...F.color], ...S ?? Ao() },
|
|
6533
6533
|
visible: p
|
|
6534
|
-
}), Yt({ element: W.ticks.template, lineSymbol: S, visible: p }), Yt({ element: W.grid.template, lineSymbol:
|
|
6534
|
+
}), Yt({ element: W.ticks.template, lineSymbol: S, visible: p }), Yt({ element: W.grid.template, lineSymbol: A, visible: p }), A === void 0 && (e.get("renderer").grid.template.set("strokeWidth", F.lineWidth), e.markDirtyValues()), $y({
|
|
6535
6535
|
axis: e,
|
|
6536
6536
|
axisConfig: a,
|
|
6537
6537
|
chartType: N,
|
|
@@ -6643,7 +6643,7 @@ async function Ky(t) {
|
|
|
6643
6643
|
verticalAxisLabelsBehavior: h,
|
|
6644
6644
|
axes: y,
|
|
6645
6645
|
rotated: p
|
|
6646
|
-
} = i, S = z(i.series), x = w(e.uid, "isNonAggregatedChart"), C = e.xAxes.getIndex(0), v = e.yAxes.getIndex(0),
|
|
6646
|
+
} = i, S = z(i.series), x = w(e.uid, "isNonAggregatedChart"), C = e.xAxes.getIndex(0), v = e.yAxes.getIndex(0), A = e.xAxes.getIndex(1) ?? e.yAxes.getIndex(1);
|
|
6647
6647
|
await ea({ chartType: S, axesConfig: y, errorStrings: f });
|
|
6648
6648
|
const T = y?.[p === !0 ? 1 : 0], I = y?.[p === !0 ? 0 : 1];
|
|
6649
6649
|
[
|
|
@@ -6658,7 +6658,7 @@ async function Ky(t) {
|
|
|
6658
6658
|
externalAxisLabelFormatter: p !== !0 ? l : r
|
|
6659
6659
|
},
|
|
6660
6660
|
{
|
|
6661
|
-
axis:
|
|
6661
|
+
axis: A,
|
|
6662
6662
|
axisConfig: y?.[2],
|
|
6663
6663
|
axisLabelFormatter: c,
|
|
6664
6664
|
isSecondValueAxis: !0
|
|
@@ -6689,7 +6689,7 @@ async function Zu(t) {
|
|
|
6689
6689
|
a === b.GaugeSeries && e instanceof ji ? await Wy(t) : a === b.HistogramSeries ? await Gy(t) : await Ky(t);
|
|
6690
6690
|
}
|
|
6691
6691
|
function Qy(t, e) {
|
|
6692
|
-
const i = re(
|
|
6692
|
+
const i = re(F.backgroundColor);
|
|
6693
6693
|
e.set(
|
|
6694
6694
|
"background",
|
|
6695
6695
|
Vs.new(t, {
|
|
@@ -6699,7 +6699,7 @@ function Qy(t, e) {
|
|
|
6699
6699
|
);
|
|
6700
6700
|
}
|
|
6701
6701
|
function Ku(t, e) {
|
|
6702
|
-
const i = re(e ??
|
|
6702
|
+
const i = re(e ?? F.backgroundColor);
|
|
6703
6703
|
t.get("background")?.setAll({ fill: i.color, fillOpacity: i.opacity });
|
|
6704
6704
|
}
|
|
6705
6705
|
const fe = {
|
|
@@ -6732,7 +6732,7 @@ function Ju(t, e) {
|
|
|
6732
6732
|
return t instanceof ye && i !== b.GaugeSeries;
|
|
6733
6733
|
}
|
|
6734
6734
|
function Jy(t, e) {
|
|
6735
|
-
const i =
|
|
6735
|
+
const i = F.cursorCrosshair.style, a = {
|
|
6736
6736
|
type: ee.SLS,
|
|
6737
6737
|
style: e?.style ?? i.style,
|
|
6738
6738
|
color: e?.color ?? i.color,
|
|
@@ -6755,10 +6755,10 @@ function tf(t) {
|
|
|
6755
6755
|
const n = i.get("cursor") ?? ef({ root: e, chart: i, config: o });
|
|
6756
6756
|
n && (Jy(i, a?.style), n.lineX.set(
|
|
6757
6757
|
"visible",
|
|
6758
|
-
a?.verticalLineVisible ??
|
|
6758
|
+
a?.verticalLineVisible ?? F.cursorCrosshair.verticalLineVisible
|
|
6759
6759
|
), n.lineY.set(
|
|
6760
6760
|
"visible",
|
|
6761
|
-
a?.horizontalLineVisible ??
|
|
6761
|
+
a?.horizontalLineVisible ?? F.cursorCrosshair.horizontalLineVisible
|
|
6762
6762
|
));
|
|
6763
6763
|
}
|
|
6764
6764
|
}
|
|
@@ -6782,7 +6782,7 @@ function eS(t) {
|
|
|
6782
6782
|
function tS(t) {
|
|
6783
6783
|
const { chart: e, actionMode: i, cursorRange: a } = t, o = w(e.uid, "isRotated"), n = w(e.uid, "config"), s = z(n?.series), r = s === b.ScatterSeries, l = (s === b.LineSeries || s === b.RadarSeries) && vt(n?.axes?.[0]?.valueFormat), c = (s === b.LineSeries || s === b.RadarSeries) && Io(n?.axes?.[0]?.valueFormat), u = (s === b.LineSeries || s === b.RadarSeries) && mi(n?.axes?.[0]?.valueFormat);
|
|
6784
6784
|
let d, f = !1;
|
|
6785
|
-
const g = i ?? w(e.uid, "actionMode") ??
|
|
6785
|
+
const g = i ?? w(e.uid, "actionMode") ?? F.actionMode;
|
|
6786
6786
|
if (w(e.uid, "filterBySelection") === !0)
|
|
6787
6787
|
d = fe.None, f = !1;
|
|
6788
6788
|
else if (a !== void 0)
|
|
@@ -6818,25 +6818,25 @@ function Is(t, e) {
|
|
|
6818
6818
|
function aS(t, e) {
|
|
6819
6819
|
const i = ks({
|
|
6820
6820
|
root: t,
|
|
6821
|
-
defaults:
|
|
6821
|
+
defaults: F.headerContainer,
|
|
6822
6822
|
parent: e,
|
|
6823
6823
|
id: Xt(En, e.uid),
|
|
6824
6824
|
index: 0
|
|
6825
6825
|
}), a = ks({
|
|
6826
6826
|
root: t,
|
|
6827
|
-
defaults:
|
|
6827
|
+
defaults: F.headerContainer,
|
|
6828
6828
|
parent: e,
|
|
6829
6829
|
id: Xt(pr, e.uid),
|
|
6830
6830
|
index: 1
|
|
6831
6831
|
}), o = bo({
|
|
6832
6832
|
root: t,
|
|
6833
6833
|
parent: i,
|
|
6834
|
-
defaults:
|
|
6834
|
+
defaults: F.titleLabel,
|
|
6835
6835
|
id: Xt(Zd, i.uid)
|
|
6836
6836
|
}), n = bo({
|
|
6837
6837
|
root: t,
|
|
6838
6838
|
parent: a,
|
|
6839
|
-
defaults:
|
|
6839
|
+
defaults: F.subtitleLabel,
|
|
6840
6840
|
id: Xt(Kd, a.uid)
|
|
6841
6841
|
});
|
|
6842
6842
|
yo({
|
|
@@ -6856,7 +6856,7 @@ function af(t, e) {
|
|
|
6856
6856
|
s !== void 0 && (Pt({
|
|
6857
6857
|
label: s,
|
|
6858
6858
|
labelConfig: i,
|
|
6859
|
-
defaults:
|
|
6859
|
+
defaults: F.titleLabel
|
|
6860
6860
|
}), xi({
|
|
6861
6861
|
chart: t,
|
|
6862
6862
|
label: s,
|
|
@@ -6869,7 +6869,7 @@ function af(t, e) {
|
|
|
6869
6869
|
s !== void 0 && (Pt({
|
|
6870
6870
|
label: s,
|
|
6871
6871
|
labelConfig: a,
|
|
6872
|
-
defaults:
|
|
6872
|
+
defaults: F.subtitleLabel
|
|
6873
6873
|
}), xi({
|
|
6874
6874
|
chart: t,
|
|
6875
6875
|
label: s,
|
|
@@ -6883,7 +6883,7 @@ function af(t, e) {
|
|
|
6883
6883
|
function oS(t) {
|
|
6884
6884
|
const { root: e } = t, i = ks({
|
|
6885
6885
|
root: e,
|
|
6886
|
-
defaults:
|
|
6886
|
+
defaults: F.footerContainer,
|
|
6887
6887
|
parent: t,
|
|
6888
6888
|
id: Xt(zn, t.uid)
|
|
6889
6889
|
}), a = bo({
|
|
@@ -6904,7 +6904,7 @@ function of(t, e) {
|
|
|
6904
6904
|
a !== void 0 && (Pt({
|
|
6905
6905
|
label: a,
|
|
6906
6906
|
labelConfig: e,
|
|
6907
|
-
defaults:
|
|
6907
|
+
defaults: F.footer
|
|
6908
6908
|
}), xi({
|
|
6909
6909
|
chart: t,
|
|
6910
6910
|
label: a,
|
|
@@ -6913,11 +6913,11 @@ function of(t, e) {
|
|
|
6913
6913
|
}
|
|
6914
6914
|
}
|
|
6915
6915
|
function nf(t) {
|
|
6916
|
-
const e = t?.curtainColor ??
|
|
6916
|
+
const e = t?.curtainColor ?? F.backgroundColor, i = `rgba(${e[0]}, ${e[1]}, ${e[2]}, ${e[3] / 255})`, a = Ug({ r: e[0], g: e[1], b: e[2] }) ? F.darkTextColor : F.lightTextColor, o = `rgba(${a[0]}, ${a[1]}, ${a[2]}, ${a[3] / 255})`;
|
|
6917
6917
|
return { backgroundCSSColor: i, textCSSColor: o };
|
|
6918
6918
|
}
|
|
6919
6919
|
function nS(t) {
|
|
6920
|
-
const { root: e, parent: i, curtainColor: a } = t, o = re(a ??
|
|
6920
|
+
const { root: e, parent: i, curtainColor: a } = t, o = re(a ?? F.backgroundColor), n = Xi.new(e, {
|
|
6921
6921
|
id: Xt(Jd, i.uid),
|
|
6922
6922
|
width: Ae,
|
|
6923
6923
|
height: Ae,
|
|
@@ -6933,7 +6933,7 @@ function nS(t) {
|
|
|
6933
6933
|
return i.children.push(n), n;
|
|
6934
6934
|
}
|
|
6935
6935
|
function sS(t) {
|
|
6936
|
-
const { root: e, parent: i, spinnerColor: a } = t, o = re(a ??
|
|
6936
|
+
const { root: e, parent: i, spinnerColor: a } = t, o = re(a ?? F.loaderSpinnerColor), n = ui.new(e, {
|
|
6937
6937
|
id: Xt(eu, i.uid),
|
|
6938
6938
|
centerX: Fe,
|
|
6939
6939
|
centerY: Fe,
|
|
@@ -6951,7 +6951,7 @@ function rS(t) {
|
|
|
6951
6951
|
to: 360,
|
|
6952
6952
|
key: "rotation",
|
|
6953
6953
|
loops: Number.MAX_SAFE_INTEGER,
|
|
6954
|
-
duration:
|
|
6954
|
+
duration: F.loaderRotationSpeed
|
|
6955
6955
|
});
|
|
6956
6956
|
}
|
|
6957
6957
|
function lS(t, e) {
|
|
@@ -6981,11 +6981,11 @@ function dS(t) {
|
|
|
6981
6981
|
const { chart: e, updateOptions: i, chartModal: a } = t, { root: o } = e, n = xe({ childId: Jd, parent: o.container });
|
|
6982
6982
|
if (n) {
|
|
6983
6983
|
const s = re(
|
|
6984
|
-
i?.loaderColors?.curtainColor ??
|
|
6984
|
+
i?.loaderColors?.curtainColor ?? F.backgroundColor
|
|
6985
6985
|
);
|
|
6986
6986
|
n.get("background")?.setAll({ fill: s.color, fillOpacity: s.opacity });
|
|
6987
6987
|
const r = re(
|
|
6988
|
-
i?.loaderColors?.spinnerColor ??
|
|
6988
|
+
i?.loaderColors?.spinnerColor ?? F.loaderSpinnerColor
|
|
6989
6989
|
);
|
|
6990
6990
|
xe({ childId: eu, parent: n })?.set("stroke", r.color);
|
|
6991
6991
|
}
|
|
@@ -7066,7 +7066,7 @@ function rf(t) {
|
|
|
7066
7066
|
const l = r.get("orientation") === "horizontal" && o !== !0 || r.get("orientation") === "vertical" && o === !0 ? i : a, c = l?.visible !== !0;
|
|
7067
7067
|
if (Re(r, !c), l !== void 0 && !c) {
|
|
7068
7068
|
const { width: u, color: d, gripSize: f, margin: g } = l;
|
|
7069
|
-
Gl(r, g ?? u ??
|
|
7069
|
+
Gl(r, g ?? u ?? F.scrollbarPadding), fS(r, d), gS(r, f), mS(r, u);
|
|
7070
7070
|
} else
|
|
7071
7071
|
Gl(r, 0);
|
|
7072
7072
|
}
|
|
@@ -7133,7 +7133,7 @@ function yS(t) {
|
|
|
7133
7133
|
colorMatch: s,
|
|
7134
7134
|
rendererType: r
|
|
7135
7135
|
});
|
|
7136
|
-
const C = i.nullCategory ??
|
|
7136
|
+
const C = i.nullCategory ?? F.nullCategory, v = x[F.xAxisField] === F.nullValue;
|
|
7137
7137
|
y = mt({
|
|
7138
7138
|
...h,
|
|
7139
7139
|
seriesSymbol: (v ? C?.symbol : g) ?? p,
|
|
@@ -7473,7 +7473,7 @@ function RS(t) {
|
|
|
7473
7473
|
(a === !0 || n === !0 || o === !0 || s === !0) && e.data.setAll(i?.outliers ?? []);
|
|
7474
7474
|
}
|
|
7475
7475
|
function BS(t, e) {
|
|
7476
|
-
return (t ??
|
|
7476
|
+
return (t ?? F.boxPlot.boxPlotOutliersVisibility) && e !== !1;
|
|
7477
7477
|
}
|
|
7478
7478
|
function MS(t) {
|
|
7479
7479
|
const { outlierSeries: e, chartSubType: i, seriesConfig: a, colorMatch: o, showOutliers: n } = t;
|
|
@@ -7482,7 +7482,7 @@ function MS(t) {
|
|
|
7482
7482
|
type: ee.SMS,
|
|
7483
7483
|
style: Hi.Circle,
|
|
7484
7484
|
color: l?.color,
|
|
7485
|
-
size:
|
|
7485
|
+
size: F.boxPlot.boxPlotOutliersSize
|
|
7486
7486
|
};
|
|
7487
7487
|
e.dataItems.forEach((u) => {
|
|
7488
7488
|
const d = u.bullets?.[0]?.get("sprite");
|
|
@@ -7592,8 +7592,8 @@ function zS(t) {
|
|
|
7592
7592
|
rendererType: r
|
|
7593
7593
|
}), u = (a.fillSymbol ?? Zs(o)).color, d = {
|
|
7594
7594
|
type: ee.SLS,
|
|
7595
|
-
width:
|
|
7596
|
-
color: c ?
|
|
7595
|
+
width: F.boxPlot.boxPlotLineWidth,
|
|
7596
|
+
color: c ? F.boxPlot.boxPlotWhiskersColor : u
|
|
7597
7597
|
};
|
|
7598
7598
|
mt({
|
|
7599
7599
|
root: l,
|
|
@@ -7793,7 +7793,7 @@ function US(t) {
|
|
|
7793
7793
|
function ff(t) {
|
|
7794
7794
|
const { chart: e, chartData: i, chartConfig: a } = t;
|
|
7795
7795
|
if (e && i?.length > 1 && a?.showMean === !0) {
|
|
7796
|
-
const o = a.series[0].x ??
|
|
7796
|
+
const o = a.series[0].x ?? F.originalCategoryValue, n = w(e.uid, "boxPlotMeanLinesData");
|
|
7797
7797
|
if (n !== void 0 && n.length > 1) {
|
|
7798
7798
|
const s = [];
|
|
7799
7799
|
for (const r of i) {
|
|
@@ -7818,7 +7818,7 @@ function qS(t) {
|
|
|
7818
7818
|
), u = w(i.chart?.uid ?? NaN, "config");
|
|
7819
7819
|
if (c !== void 0 && l) {
|
|
7820
7820
|
const d = l.get("value"), f = l.get("categoryX"), g = l.get("categoryY");
|
|
7821
|
-
d === null ? r = u?.series[0].emptyCells?.text ??
|
|
7821
|
+
d === null ? r = u?.series[0].emptyCells?.text ?? F.heatChart.emptyCells?.text ?? "" : d !== void 0 && (r = c(d, f, g));
|
|
7822
7822
|
}
|
|
7823
7823
|
return o === "html" ? Be(r) : r;
|
|
7824
7824
|
});
|
|
@@ -7876,7 +7876,7 @@ function ZS(t) {
|
|
|
7876
7876
|
function KS(t) {
|
|
7877
7877
|
const { root: e, xAxis: i, yAxis: a, options: o, chartConfig: n } = t, s = Ee.new(e, {
|
|
7878
7878
|
calculateAggregates: !0,
|
|
7879
|
-
stroke: re(
|
|
7879
|
+
stroke: re(F.backgroundColor).color,
|
|
7880
7880
|
clustered: !1,
|
|
7881
7881
|
xAxis: i,
|
|
7882
7882
|
yAxis: a,
|
|
@@ -7901,16 +7901,16 @@ function QS(t) {
|
|
|
7901
7901
|
}), e.data.setAll(i.dataItems));
|
|
7902
7902
|
}
|
|
7903
7903
|
function JS(t) {
|
|
7904
|
-
const { columnSeries: e, seriesConfig: i } = t, { gradientHeatRules: a } =
|
|
7904
|
+
const { columnSeries: e, seriesConfig: i } = t, { gradientHeatRules: a } = F.heatChart, { gradientRules: o } = i, n = i.emptyCells?.symbol ?? F.heatChart.emptyCells?.symbol, s = o?.colorList?.[0] ?? a.minColor, r = o?.colorList?.[1] ?? a.maxColor, l = o?.outsideRangeLowerColor ?? a.outsideRangeLowerColor, c = o?.outsideRangeUpperColor ?? a.outsideRangeUpperColor, { minValue: u, maxValue: d } = o ?? {}, { color: f, opacity: g } = re(s), { color: h, opacity: y } = re(r), p = re(l), S = re(c);
|
|
7905
7905
|
e.set("heatRules", [
|
|
7906
7906
|
{
|
|
7907
7907
|
target: e.columns.template,
|
|
7908
7908
|
dataField: "value",
|
|
7909
7909
|
key: "fill",
|
|
7910
|
-
customFunction: (x, C, v,
|
|
7910
|
+
customFunction: (x, C, v, A) => {
|
|
7911
7911
|
if (x instanceof ui) {
|
|
7912
7912
|
let T, I;
|
|
7913
|
-
Number.isFinite(
|
|
7913
|
+
Number.isFinite(A) ? typeof u == "number" && A < u ? { color: T, opacity: I } = p : typeof d == "number" && A > d ? { color: T, opacity: I } = S : (T = Wm.interpolate((A - C) / (v - C), f, h, "rgb"), I = g + (A - C) / (v - C) * (y - g)) : sa({ element: x, fillSymbol: n }), T && x.set("fill", T), I !== void 0 && x.set("fillOpacity", I);
|
|
7914
7914
|
}
|
|
7915
7915
|
}
|
|
7916
7916
|
}
|
|
@@ -8045,7 +8045,7 @@ function sx(t, e) {
|
|
|
8045
8045
|
e.set("fill", i), e.fills.template.setAll({ fillOpacity: a, visible: !0 });
|
|
8046
8046
|
} else
|
|
8047
8047
|
e.set("fill", e.get("stroke")), e.fills.template.setAll({
|
|
8048
|
-
fillOpacity:
|
|
8048
|
+
fillOpacity: F.lineSeries.areaOpacity,
|
|
8049
8049
|
visible: !0
|
|
8050
8050
|
});
|
|
8051
8051
|
else
|
|
@@ -8122,14 +8122,14 @@ function rx(t) {
|
|
|
8122
8122
|
{
|
|
8123
8123
|
focusable: !0,
|
|
8124
8124
|
// necessary for accessibility on bullets
|
|
8125
|
-
role:
|
|
8125
|
+
role: F.aria.defaultChartItemRole,
|
|
8126
8126
|
// assigning role to bullets
|
|
8127
8127
|
ariaLabel: on(),
|
|
8128
8128
|
// adding aria label to bullets
|
|
8129
8129
|
hoverOnFocus: !0,
|
|
8130
8130
|
// necessary for tooltip to show on focus
|
|
8131
8131
|
tooltip: yr({ root: y, series: g, tooltipFormatter: s?.tooltipFormatter }),
|
|
8132
|
-
layer:
|
|
8132
|
+
layer: F.zIndexes.bulletMarkers
|
|
8133
8133
|
},
|
|
8134
8134
|
h
|
|
8135
8135
|
);
|
|
@@ -8267,7 +8267,7 @@ function mx(t) {
|
|
|
8267
8267
|
if (e instanceof ht) {
|
|
8268
8268
|
const a = w(e.chart?.uid ?? Number.NaN, "config");
|
|
8269
8269
|
if (a !== void 0 && a.series[0].type === b.PieSeries) {
|
|
8270
|
-
const o = a.series[0].dataLabelsInside ??
|
|
8270
|
+
const o = a.series[0].dataLabelsInside ?? F.pieChart.dataLabelsInside, n = re(a?.series[0].dataLabels?.content?.color).color, s = e.chart?.get("background")?.get("fill") ?? re(F.backgroundColor).color, l = w(e.chart?.uid ?? Number.NaN, "options")?.autoInverseDataLabelTextColor ?? H.options.autoInverseDataLabelTextColor, u = t.dataItem?.dataContext?.[H.pieChart.technicalFieldSliceId], f = e.slices.values.find(
|
|
8271
8271
|
(h) => (h.dataItem?.dataContext)[H.pieChart.technicalFieldSliceId] === u
|
|
8272
8272
|
)?.get("fill") ?? re(a.series[0].fillSymbol?.color).color, g = n ?? t.text.get("fill");
|
|
8273
8273
|
i = g, g && f && l && o && (i = wu({ textBackgroundColor: f, chartBackgroundColor: s }));
|
|
@@ -8279,8 +8279,8 @@ function gx(t, e) {
|
|
|
8279
8279
|
const i = t.labels.template;
|
|
8280
8280
|
i.set("cursorOverStyle", "pointer"), i.setAll({
|
|
8281
8281
|
cursorOverStyle: "pointer",
|
|
8282
|
-
maxWidth:
|
|
8283
|
-
oversizedBehavior:
|
|
8282
|
+
maxWidth: F.pieChart.dataLabels.maxWidth ?? Number.NaN,
|
|
8283
|
+
oversizedBehavior: F.pieChart.dataLabels.wrap ?? !0 ? "wrap" : "none",
|
|
8284
8284
|
centerX: Fe,
|
|
8285
8285
|
centerY: Fe
|
|
8286
8286
|
}), fx(t, e), i.adapters.add(
|
|
@@ -8307,8 +8307,8 @@ function hx(t, e) {
|
|
|
8307
8307
|
pieChart: f,
|
|
8308
8308
|
valueIntlOptions: i?.intlOptions,
|
|
8309
8309
|
percentageIntlOptions: a?.intlOptions,
|
|
8310
|
-
displayNumericValue: o ??
|
|
8311
|
-
displayPercentage: s ??
|
|
8310
|
+
displayNumericValue: o ?? F.pieChart.displayNumericValueOnDataLabel,
|
|
8311
|
+
displayPercentage: s ?? F.pieChart.displayPercentageOnDataLabel,
|
|
8312
8312
|
valuePrefix: r,
|
|
8313
8313
|
valueSuffix: l,
|
|
8314
8314
|
percentagePrefix: c,
|
|
@@ -8318,14 +8318,14 @@ function hx(t, e) {
|
|
|
8318
8318
|
" "
|
|
8319
8319
|
);
|
|
8320
8320
|
g = (S, x, C) => {
|
|
8321
|
-
const v = h(S, x, C), T = n ??
|
|
8321
|
+
const v = h(S, x, C), T = n ?? F.pieChart.displayCategoryOnDataLabel ? y(S) : "";
|
|
8322
8322
|
let I = be(T) ? "" : `${T}${p}`;
|
|
8323
8323
|
return I = `${I}${v}`, e.dataLabels?.content !== void 0 && (I = ft({
|
|
8324
8324
|
textSymbol: { ...e.dataLabels.content, text: I },
|
|
8325
8325
|
format: "amChartsV5",
|
|
8326
8326
|
defaults: {
|
|
8327
|
-
...
|
|
8328
|
-
wrap: e.optimizeDataLabelsOverlapping ??
|
|
8327
|
+
...F.pieChart.dataLabels,
|
|
8328
|
+
wrap: e.optimizeDataLabelsOverlapping ?? F.pieChart.dataLabels.wrap
|
|
8329
8329
|
}
|
|
8330
8330
|
})), I;
|
|
8331
8331
|
};
|
|
@@ -8333,19 +8333,19 @@ function hx(t, e) {
|
|
|
8333
8333
|
return g;
|
|
8334
8334
|
}
|
|
8335
8335
|
function px(t) {
|
|
8336
|
-
const { pieSeries: e, seriesConfig: i, dataLabelFormatter: a } = t, { dataLabels: o } = i, n = i.dataLabelsOffset ??
|
|
8336
|
+
const { pieSeries: e, seriesConfig: i, dataLabelFormatter: a } = t, { dataLabels: o } = i, n = i.dataLabelsOffset ?? F.pieChart.dataLabelsOffset, s = i.dataLabelsInside ?? F.pieChart.dataLabelsInside;
|
|
8337
8337
|
Ve(e.uid, {
|
|
8338
8338
|
pieChartDataLabelFormatter: a ?? hx(e, i)
|
|
8339
8339
|
}), Pt({
|
|
8340
8340
|
label: e.labels.template,
|
|
8341
8341
|
labelConfig: o,
|
|
8342
8342
|
defaults: {
|
|
8343
|
-
...
|
|
8344
|
-
wrap: i.optimizeDataLabelsOverlapping ??
|
|
8343
|
+
...F.pieChart.dataLabels,
|
|
8344
|
+
wrap: i.optimizeDataLabelsOverlapping ?? F.pieChart.alignDataLabels
|
|
8345
8345
|
}
|
|
8346
8346
|
}), e.set(
|
|
8347
8347
|
"alignLabels",
|
|
8348
|
-
!s && (i.alignDataLabels ??
|
|
8348
|
+
!s && (i.alignDataLabels ?? F.pieChart.alignDataLabels)
|
|
8349
8349
|
), e.labels.template.set("forceHidden", !o?.visible);
|
|
8350
8350
|
const r = e.labels.template.get("radius"), l = e.labels.template.get("baseRadius");
|
|
8351
8351
|
s && l !== gt(60) ? e.labels.template.setAll({
|
|
@@ -8361,7 +8361,7 @@ function bx(t) {
|
|
|
8361
8361
|
dataContext: i
|
|
8362
8362
|
};
|
|
8363
8363
|
const u = n?.fillSymbol, d = o ? {
|
|
8364
|
-
...
|
|
8364
|
+
...F.pieChart.sliceGrouping.fillSymbol,
|
|
8365
8365
|
...a.sliceGrouping?.fillSymbol
|
|
8366
8366
|
} : Xe(u ?? a.fillSymbol), f = Lt({
|
|
8367
8367
|
dataItem: i,
|
|
@@ -8402,7 +8402,7 @@ function Yl(t, e) {
|
|
|
8402
8402
|
objectIdField: n,
|
|
8403
8403
|
isPieFromFields: s
|
|
8404
8404
|
});
|
|
8405
|
-
y[
|
|
8405
|
+
y[F.pieChart.technicalFieldSliceId] = S;
|
|
8406
8406
|
const x = dn(r.slices, S), C = wi(y), v = bx({
|
|
8407
8407
|
root: i,
|
|
8408
8408
|
dataContext: y,
|
|
@@ -8411,7 +8411,7 @@ function Yl(t, e) {
|
|
|
8411
8411
|
sliceFromConfig: x,
|
|
8412
8412
|
dataIndex: p,
|
|
8413
8413
|
colorMatch: u
|
|
8414
|
-
}),
|
|
8414
|
+
}), A = Td({
|
|
8415
8415
|
dataContext: y,
|
|
8416
8416
|
sliceFromConfig: x,
|
|
8417
8417
|
isGroupOfSlices: C,
|
|
@@ -8423,14 +8423,14 @@ function Yl(t, e) {
|
|
|
8423
8423
|
utilsStrings: d
|
|
8424
8424
|
}), T = {
|
|
8425
8425
|
sliceId: S,
|
|
8426
|
-
label:
|
|
8426
|
+
label: A,
|
|
8427
8427
|
fillSymbol: v
|
|
8428
8428
|
};
|
|
8429
|
-
T.originalLabel = x?.originalLabel ?? (y?.[
|
|
8429
|
+
T.originalLabel = x?.originalLabel ?? (y?.[F.originalCategoryValue] !== void 0 ? y?.[F.originalCategoryValue] : T.label), C ? (h = y[F.pieChart.technicalFieldGroupedSlices], r.sliceGrouping !== void 0 && (g = {
|
|
8430
8430
|
sliceId: r.sliceGrouping.sliceId,
|
|
8431
8431
|
percentageThreshold: r.sliceGrouping.percentageThreshold,
|
|
8432
|
-
label:
|
|
8433
|
-
originalLabel: r.sliceGrouping.originalLabel ??
|
|
8432
|
+
label: A,
|
|
8433
|
+
originalLabel: r.sliceGrouping.originalLabel ?? A,
|
|
8434
8434
|
fillSymbol: v
|
|
8435
8435
|
})) : f.push(T);
|
|
8436
8436
|
}), { slices: f, groupOfSlicesSymbols: g, groupOfSlices: h };
|
|
@@ -8450,10 +8450,10 @@ async function gf(t) {
|
|
|
8450
8450
|
}, { slices: x, groupOfSlicesSymbols: C, groupOfSlices: v } = Yl(
|
|
8451
8451
|
i,
|
|
8452
8452
|
S
|
|
8453
|
-
), { slices:
|
|
8453
|
+
), { slices: A } = Yl(v ?? [], S);
|
|
8454
8454
|
return {
|
|
8455
8455
|
slices: x,
|
|
8456
|
-
groupedSlices:
|
|
8456
|
+
groupedSlices: A,
|
|
8457
8457
|
groupOfSlices: C
|
|
8458
8458
|
};
|
|
8459
8459
|
}
|
|
@@ -8522,7 +8522,7 @@ function Cx(t, e) {
|
|
|
8522
8522
|
function vx(t, e) {
|
|
8523
8523
|
const { startAngle: i, endAngle: a } = e;
|
|
8524
8524
|
t.setAll({
|
|
8525
|
-
startAngle: i ??
|
|
8525
|
+
startAngle: i ?? F.pieChart.min,
|
|
8526
8526
|
endAngle: a ?? 360 + (t.get("startAngle") ?? 0)
|
|
8527
8527
|
});
|
|
8528
8528
|
}
|
|
@@ -8584,7 +8584,7 @@ function Ax(t, e) {
|
|
|
8584
8584
|
de(t.uid, { pieChartRadius: i });
|
|
8585
8585
|
const a = () => {
|
|
8586
8586
|
const o = gt(
|
|
8587
|
-
w(t.uid, "pieChartRadius") ??
|
|
8587
|
+
w(t.uid, "pieChartRadius") ?? F.pieChart.chartOptimizedRadius
|
|
8588
8588
|
);
|
|
8589
8589
|
let n = o;
|
|
8590
8590
|
const r = t.series?.values?.[0] ?? e, l = w(t.uid, "config");
|
|
@@ -8592,21 +8592,21 @@ function Ax(t, e) {
|
|
|
8592
8592
|
const { series: c } = l, {
|
|
8593
8593
|
optimizeDataLabelsOverlapping: u,
|
|
8594
8594
|
alignDataLabels: d,
|
|
8595
|
-
dataLabelsOffset: f =
|
|
8595
|
+
dataLabelsOffset: f = F.pieChart.dataLabelsOffset,
|
|
8596
8596
|
dataLabels: g,
|
|
8597
8597
|
dataLabelsInside: h
|
|
8598
8598
|
} = c[0];
|
|
8599
8599
|
if (g?.visible === !0 && d === !0 && u === !0 && h !== !0) {
|
|
8600
|
-
const S =
|
|
8600
|
+
const S = F.pieChart.chartOptimizedRadius / 100, x = 500, C = 150, v = 0.6, A = 0.5, T = 1, I = t.chartContainer.width() - f * 2, D = Math.max(I - C, 0) / (x - C), $ = D < 1 ? (
|
|
8601
8601
|
// case 1: the container width is less than the radiusContainerWidthBreakpoint - we want to scale the radius down.
|
|
8602
8602
|
Math.max(D ** T * v, 0.4)
|
|
8603
8603
|
) : (
|
|
8604
8604
|
// case 2: the container width is at or more than the radiusContainerWidthBreakpoint - ramp up radius to the max radius
|
|
8605
|
-
Math.min(D **
|
|
8605
|
+
Math.min(D ** A * v, S)
|
|
8606
8606
|
);
|
|
8607
8607
|
n = gt($ * 100);
|
|
8608
8608
|
} else
|
|
8609
|
-
n = gt(
|
|
8609
|
+
n = gt(F.pieChart.chartRadius);
|
|
8610
8610
|
o.value.toFixed(1) !== n.value.toFixed(1) && (de(t.uid, { pieChartRadius: n.percent }), gs && clearTimeout(gs), gs = qa(() => {
|
|
8611
8611
|
const p = t.chartContainer.height();
|
|
8612
8612
|
t.chartContainer.set("height", p + 0.1), t.set("radius", n), t.markDirty(), r.markDirty(), t.root.resize(), t.root.events.off("frameended", a), Tx(t);
|
|
@@ -8626,11 +8626,11 @@ function Tx(t) {
|
|
|
8626
8626
|
});
|
|
8627
8627
|
}
|
|
8628
8628
|
function kx(t, e) {
|
|
8629
|
-
let i =
|
|
8629
|
+
let i = F.pieChart.dataLabels.maxWidth ?? 100;
|
|
8630
8630
|
if (t != null) {
|
|
8631
8631
|
const {
|
|
8632
8632
|
alignDataLabels: a,
|
|
8633
|
-
dataLabelsOffset: o =
|
|
8633
|
+
dataLabelsOffset: o = F.pieChart.dataLabelsOffset,
|
|
8634
8634
|
optimizeDataLabelsOverlapping: n,
|
|
8635
8635
|
dataLabels: s,
|
|
8636
8636
|
dataLabelsInside: r
|
|
@@ -8657,7 +8657,7 @@ function Ix(t) {
|
|
|
8657
8657
|
isLineSmoothed: n.lineSmoothed,
|
|
8658
8658
|
isRotated: i.rotated
|
|
8659
8659
|
}),
|
|
8660
|
-
layer:
|
|
8660
|
+
layer: F.zIndexes.bulletMarkers
|
|
8661
8661
|
});
|
|
8662
8662
|
g.appear();
|
|
8663
8663
|
const h = Va.new({});
|
|
@@ -8882,8 +8882,8 @@ async function Un(t) {
|
|
|
8882
8882
|
errorStrings: S,
|
|
8883
8883
|
groupOfSlicesUpdateNeeded: x,
|
|
8884
8884
|
labelUpdateNeeded: C
|
|
8885
|
-
} = t, { chartRenderer: v } = i, { root:
|
|
8886
|
-
root:
|
|
8885
|
+
} = t, { chartRenderer: v } = i, { root: A } = e, { series: T } = i, I = z(i.series), D = Y(i.series), $ = e.series.values, O = Ti(i), R = i.series.length, B = /* @__PURE__ */ new Map(), N = Pc(h), E = await jt(h, a?.usePopupTemplateFieldsInfo), V = pt(h), W = To(v, V.renderer), G = l || s || r || c, ne = {
|
|
8886
|
+
root: A,
|
|
8887
8887
|
chartConfig: i,
|
|
8888
8888
|
queryObject: h,
|
|
8889
8889
|
options: a,
|
|
@@ -8898,7 +8898,7 @@ async function Un(t) {
|
|
|
8898
8898
|
utilsStrings: p,
|
|
8899
8899
|
chartSubType: D,
|
|
8900
8900
|
loaderHandle: y,
|
|
8901
|
-
autoInverseDataLabelTextColor: a?.autoInverseDataLabelTextColor ??
|
|
8901
|
+
autoInverseDataLabelTextColor: a?.autoInverseDataLabelTextColor ?? F.options.autoInverseDataLabelTextColor
|
|
8902
8902
|
}, te = {
|
|
8903
8903
|
...ne,
|
|
8904
8904
|
numberOfSeries: R,
|
|
@@ -9270,7 +9270,7 @@ function zx(t, e) {
|
|
|
9270
9270
|
(d) => d.type === b.LineSeries || d.type === b.RadarSeries
|
|
9271
9271
|
).some((d) => {
|
|
9272
9272
|
const f = a.find((g) => g.id === d.id);
|
|
9273
|
-
return (d.showArea ??
|
|
9273
|
+
return (d.showArea ?? F.lineSeries.showArea) !== (f?.showArea ?? F.lineSeries.showArea) || (d.lineSmoothed ?? F.lineSeries.lineSmoothed) !== (f?.lineSmoothed ?? F.lineSeries.lineSmoothed) || (d.markerVisible ?? F.lineSeries.markerVisible) !== (f?.markerVisible ?? F.lineSeries.markerVisible) || d.showArea && !lo(d.areaColor, f?.areaColor);
|
|
9274
9274
|
});
|
|
9275
9275
|
break;
|
|
9276
9276
|
}
|
|
@@ -9299,7 +9299,7 @@ async function Xx(t, e) {
|
|
|
9299
9299
|
function ws(t) {
|
|
9300
9300
|
const { chart: e, actionMode: i, cursorRange: a } = t;
|
|
9301
9301
|
if (Wn(e)) {
|
|
9302
|
-
const o = i ?? w(e.uid, "actionMode") ??
|
|
9302
|
+
const o = i ?? w(e.uid, "actionMode") ?? F.actionMode;
|
|
9303
9303
|
de(e.uid, { actionMode: o }), o === Z.None && Ki({ chart: e, selectionSource: Pe.ClearSelection }), tS({ chart: e, actionMode: o, cursorRange: a });
|
|
9304
9304
|
}
|
|
9305
9305
|
}
|
|
@@ -9326,10 +9326,10 @@ function Ux(t, e) {
|
|
|
9326
9326
|
a.new(t, {
|
|
9327
9327
|
id: `${e?.id}`,
|
|
9328
9328
|
layout: t.verticalLayout,
|
|
9329
|
-
paddingBottom:
|
|
9330
|
-
paddingTop:
|
|
9331
|
-
paddingRight:
|
|
9332
|
-
paddingLeft:
|
|
9329
|
+
paddingBottom: F.chartPadding,
|
|
9330
|
+
paddingTop: F.chartPadding,
|
|
9331
|
+
paddingRight: F.chartPadding,
|
|
9332
|
+
paddingLeft: F.chartPadding
|
|
9333
9333
|
})
|
|
9334
9334
|
);
|
|
9335
9335
|
}
|
|
@@ -9370,8 +9370,8 @@ async function qx(t) {
|
|
|
9370
9370
|
labelUpdateNeeded: C,
|
|
9371
9371
|
usePopupTemplateFieldsInfo: c?.usePopupTemplateFieldsInfo,
|
|
9372
9372
|
utilsStrings: f
|
|
9373
|
-
}),
|
|
9374
|
-
Pn({ data:
|
|
9373
|
+
}), A = S && "dataItems" in S ? S.dataItems : [];
|
|
9374
|
+
Pn({ data: A, newChartConfig: i, pieSlicesSymbols: v }), await Un({
|
|
9375
9375
|
chart: e,
|
|
9376
9376
|
chartConfig: i,
|
|
9377
9377
|
options: c,
|
|
@@ -9421,14 +9421,14 @@ async function jx(t) {
|
|
|
9421
9421
|
errorStrings: C
|
|
9422
9422
|
} = t;
|
|
9423
9423
|
let { axisLabelsBehaviorChanged: v } = t;
|
|
9424
|
-
const
|
|
9424
|
+
const A = Kb({
|
|
9425
9425
|
chart: e,
|
|
9426
9426
|
chartConfig: i,
|
|
9427
9427
|
rotationChanged: f,
|
|
9428
9428
|
axisLabelsBehaviorChanged: v,
|
|
9429
9429
|
timeIntervalInfoWasReset: p
|
|
9430
|
-
}), T =
|
|
9431
|
-
|
|
9430
|
+
}), T = A || Wb({ chart: e, chartConfig: i, updateNeededDetails: s, seriesFilteredOut: l });
|
|
9431
|
+
A && (await _u({ chart: e, chartConfig: i, errorStrings: C }), v = [!0, !0]), T && (e.series.clear(), await wr({ chart: e, chartConfig: i, options: u, utilsStrings: x })), await Zu({
|
|
9432
9432
|
chart: e,
|
|
9433
9433
|
chartConfig: i,
|
|
9434
9434
|
queryObject: d,
|
|
@@ -9477,7 +9477,7 @@ async function _x(t) {
|
|
|
9477
9477
|
const C = S === void 0;
|
|
9478
9478
|
if (S ??= p, de(e.uid, { queryObject: u }), s.valid) {
|
|
9479
9479
|
S !== void 0 && sd(S, p) && (p = $n(p, g.dom));
|
|
9480
|
-
const v = Y(p.series),
|
|
9480
|
+
const v = Y(p.series), A = z(p.series), T = tn(w(e.uid, "queryObject")), I = qt(p), D = w(e.uid, "filterBySelection"), $ = w(e.uid, "seriesFilteredOut"), O = w(e.uid, "unfilteredConfig");
|
|
9481
9481
|
de(e.uid, {
|
|
9482
9482
|
config: Xe(p),
|
|
9483
9483
|
options: l,
|
|
@@ -9562,7 +9562,7 @@ async function _x(t) {
|
|
|
9562
9562
|
xAxisValueFormatType: wn(r),
|
|
9563
9563
|
setTimeBinningInfoWhenNotProvided: l?.setTimeBinningInfoWhenNotProvided
|
|
9564
9564
|
})
|
|
9565
|
-
}),
|
|
9565
|
+
}), A === b.BoxPlotSeries && ff({
|
|
9566
9566
|
chart: e,
|
|
9567
9567
|
chartData: B ? Oe : Me,
|
|
9568
9568
|
chartConfig: p
|
|
@@ -9575,7 +9575,7 @@ async function _x(t) {
|
|
|
9575
9575
|
chart: e,
|
|
9576
9576
|
data: Ei ? Me : Oe,
|
|
9577
9577
|
config: p,
|
|
9578
|
-
hideEmptySeries: l?.hideEmptySeries ??
|
|
9578
|
+
hideEmptySeries: l?.hideEmptySeries ?? F.options.hideEmptySeries
|
|
9579
9579
|
});
|
|
9580
9580
|
if (p = La.updatedConfig, Me && "dataItems" in Me && (B || te)) {
|
|
9581
9581
|
const ct = await Ya({
|
|
@@ -9785,8 +9785,8 @@ async function Qx(t) {
|
|
|
9785
9785
|
cursorCrosshair: d.cursorCrosshair,
|
|
9786
9786
|
config: d
|
|
9787
9787
|
});
|
|
9788
|
-
const { title:
|
|
9789
|
-
aS(f, g), af(g, { title:
|
|
9788
|
+
const { title: A, subtitle: T, footer: I } = d;
|
|
9789
|
+
aS(f, g), af(g, { title: A, subtitle: T }), oS(g), of(g, I), Qy(f, g), Ku(g, d.background);
|
|
9790
9790
|
const D = await jt(r, o?.usePopupTemplateFieldsInfo);
|
|
9791
9791
|
de(g.uid, { fieldList: D });
|
|
9792
9792
|
const {
|
|
@@ -9829,7 +9829,7 @@ async function Qx(t) {
|
|
|
9829
9829
|
const V = Ii($), W = je(d);
|
|
9830
9830
|
if (d = Sf({
|
|
9831
9831
|
chart: g,
|
|
9832
|
-
hideEmptySeries: o?.hideEmptySeries ??
|
|
9832
|
+
hideEmptySeries: o?.hideEmptySeries ?? F.options.hideEmptySeries,
|
|
9833
9833
|
data: W ? $ : V,
|
|
9834
9834
|
config: d
|
|
9835
9835
|
}).updatedConfig, $ && "dataItems" in $) {
|
|
@@ -11450,7 +11450,7 @@ async function Hf(t) {
|
|
|
11450
11450
|
chartConfig: s
|
|
11451
11451
|
};
|
|
11452
11452
|
let C;
|
|
11453
|
-
f instanceof Ye || f instanceof _e ? (C = f.columns?.values, y === b.HistogramSeries && (x.xAxisField = S)) : f instanceof Ct ? C = f.segments.values : f instanceof ue && (C = De(f)?.clones?.values, x.uniqueFeature = !0), C !== void 0 && (c = [...c, ...C], C.forEach((v,
|
|
11453
|
+
f instanceof Ye || f instanceof _e ? (C = f.columns?.values, y === b.HistogramSeries && (x.xAxisField = S)) : f instanceof Ct ? C = f.segments.values : f instanceof ue && (C = De(f)?.clones?.values, x.uniqueFeature = !0), C !== void 0 && (c = [...c, ...C], C.forEach((v, A) => {
|
|
11454
11454
|
if (!(v.dataItem instanceof aa)) {
|
|
11455
11455
|
const T = v.isActive, I = v === n || GC(v, i);
|
|
11456
11456
|
I && (u = !1);
|
|
@@ -11459,7 +11459,7 @@ async function Hf(t) {
|
|
|
11459
11459
|
...x,
|
|
11460
11460
|
element: v,
|
|
11461
11461
|
elementDataContext: v.dataItem?.dataContext,
|
|
11462
|
-
elementIndex:
|
|
11462
|
+
elementIndex: A
|
|
11463
11463
|
}), Et({ element: v, selected: D });
|
|
11464
11464
|
}
|
|
11465
11465
|
}));
|
|
@@ -11841,10 +11841,10 @@ function rv(t) {
|
|
|
11841
11841
|
if (h === !1 || y === !1)
|
|
11842
11842
|
d = () => "";
|
|
11843
11843
|
else {
|
|
11844
|
-
const p = g.axes, S = p[0].valueFormat, x = p[1].valueFormat, C = Y(g.series), v = zt(g) === ke.Stacked100,
|
|
11844
|
+
const p = g.axes, S = p[0].valueFormat, x = p[1].valueFormat, C = Y(g.series), v = zt(g) === ke.Stacked100, A = pt(a)?.objectIdField, T = $e(i, s.x), I = li(T, p[0].title?.content.text), D = gu({
|
|
11845
11845
|
config: g,
|
|
11846
11846
|
fieldList: i,
|
|
11847
|
-
objectIdField:
|
|
11847
|
+
objectIdField: A,
|
|
11848
11848
|
seriesIndex: n,
|
|
11849
11849
|
utilsStrings: r,
|
|
11850
11850
|
isStacked100: v
|
|
@@ -12127,11 +12127,11 @@ function hv(t) {
|
|
|
12127
12127
|
a.x !== js && (S = li(p, c?.[0].title?.content.text));
|
|
12128
12128
|
const x = bt(r.rtl);
|
|
12129
12129
|
s = (C) => {
|
|
12130
|
-
const { dataContext: v, xValue:
|
|
12130
|
+
const { dataContext: v, xValue: A } = C, T = Yf({
|
|
12131
12131
|
seriesConfig: a,
|
|
12132
12132
|
xAxisValueFormat: u,
|
|
12133
12133
|
series: e,
|
|
12134
|
-
xValue:
|
|
12134
|
+
xValue: A
|
|
12135
12135
|
}), I = [], D = T !== void 0 && !Aa(T) ? $e(i, T) : "", $ = d === !0 ? [l.series[0].y].flat()[0] : [a.y].flat()[0], O = $e(i, $);
|
|
12136
12136
|
switch (f) {
|
|
12137
12137
|
case P.BoxPlotMonoField:
|
|
@@ -12307,8 +12307,8 @@ function Wr(t) {
|
|
|
12307
12307
|
return (p, S, x) => {
|
|
12308
12308
|
let C = "";
|
|
12309
12309
|
if (S !== void 0 && x !== void 0) {
|
|
12310
|
-
const v = `${r ?? ""}${f.format(S)}${l ?? ""}`,
|
|
12311
|
-
Number.isFinite(S) ? n === !0 && s === !0 ? C = `${
|
|
12310
|
+
const v = `${r ?? ""}${f.format(S)}${l ?? ""}`, A = `${c ?? ""}${g.format(Math.abs(x / 100))}${u ?? ""}`;
|
|
12311
|
+
Number.isFinite(S) ? n === !0 && s === !0 ? C = `${A}${h}(${v})` : n === !0 ? C = v : s === !0 && (C = A) : C = "";
|
|
12312
12312
|
}
|
|
12313
12313
|
return C;
|
|
12314
12314
|
};
|
|
@@ -12388,7 +12388,7 @@ function kv(t) {
|
|
|
12388
12388
|
iC(e.uid, {
|
|
12389
12389
|
pieChartLegendValueLabelsFormatter: v
|
|
12390
12390
|
});
|
|
12391
|
-
const
|
|
12391
|
+
const A = _f(e), T = {
|
|
12392
12392
|
type: b.Text,
|
|
12393
12393
|
visible: n,
|
|
12394
12394
|
content: {
|
|
@@ -12397,7 +12397,7 @@ function kv(t) {
|
|
|
12397
12397
|
text: ".",
|
|
12398
12398
|
verticalAlignment: J.Middle,
|
|
12399
12399
|
// The horizontalAlignment value needs to be consistent with the one set by `handleValueLabelsRightAlignment()`. It avoids flickering the labels.
|
|
12400
|
-
horizontalAlignment:
|
|
12400
|
+
horizontalAlignment: A ? se.Right : se.Center
|
|
12401
12401
|
}
|
|
12402
12402
|
};
|
|
12403
12403
|
At({
|
|
@@ -12791,8 +12791,8 @@ function Zv(t) {
|
|
|
12791
12791
|
p.id = h, Qt(p, s), Kt(p, g);
|
|
12792
12792
|
let S, x;
|
|
12793
12793
|
u !== !0 ? (S = o[0], x = y === !0 && o[2] ? o[2] : o[1]) : (S = y === !0 && o[2] ? o[2] : o[0], x = o[1]), S !== void 0 && (p.xAxis = S), x !== void 0 && (p.yAxis = x);
|
|
12794
|
-
const C = Dt({ chart: e }), v = Y(i.series),
|
|
12795
|
-
C ? p.dataFields.valueX =
|
|
12794
|
+
const C = Dt({ chart: e }), v = Y(i.series), A = v === P.BarAndLineSplitByNoAggregation ? `${f.toString()}_${Qi({ where: d.query?.where })}` : [f].flat()[0];
|
|
12795
|
+
C ? p.dataFields.valueX = A : p.dataFields.valueY = A;
|
|
12796
12796
|
const T = C ? o[1] : o[0];
|
|
12797
12797
|
if (T !== void 0) {
|
|
12798
12798
|
const $ = Nf(T, C);
|
|
@@ -13025,7 +13025,7 @@ function Ja(t) {
|
|
|
13025
13025
|
standardizeValuesVisibilityChanged: f
|
|
13026
13026
|
} = t, { x: g, y: h } = i, y = c || u === !0 || f === !0, p = y || d === !0, S = y, x = y;
|
|
13027
13027
|
if (e !== void 0) {
|
|
13028
|
-
const { showOutliers: C, standardizeValues: v, showMean:
|
|
13028
|
+
const { showOutliers: C, standardizeValues: v, showMean: A } = e, T = Dt({ config: e });
|
|
13029
13029
|
if (a instanceof ue && x) {
|
|
13030
13030
|
const B = Y(e.series), N = i?.query?.where, E = pe({
|
|
13031
13031
|
y: B === P.BoxPlotMultiFieldsAndCategory ? h : void 0,
|
|
@@ -13037,7 +13037,7 @@ function Ja(t) {
|
|
|
13037
13037
|
});
|
|
13038
13038
|
T ? (a.dataFields.valueX = E, a.dataFields.categoryY = g) : (a.dataFields.valueY = E, a.dataFields.categoryX = g), a.dataFields.customValue = N;
|
|
13039
13039
|
}
|
|
13040
|
-
const I = er(e), D = Y(I.series), $ =
|
|
13040
|
+
const I = er(e), D = Y(I.series), $ = A === !0 ? void 0 : i?.query?.where, O = {
|
|
13041
13041
|
y: D === P.BoxPlotMultiFieldsAndCategory ? h : void 0,
|
|
13042
13042
|
chartSubType: D,
|
|
13043
13043
|
splitBy: $,
|
|
@@ -13769,7 +13769,7 @@ function AL(t) {
|
|
|
13769
13769
|
rotationChanged: u
|
|
13770
13770
|
} = t, { filterBySelection: d, selectionData: f, returnSelectionIndexes: g, returnSelectionOIDs: h } = o ?? {}, { selectionIndexes: y } = f ?? {}, { chart: p } = e, S = k(p.uid, "config"), x = S && "showOutliers" in S && typeof S.showOutliers == "boolean" ? S.showOutliers : !1, C = je(S), v = z(S?.series);
|
|
13771
13771
|
if (d !== !0 && S !== void 0) {
|
|
13772
|
-
const
|
|
13772
|
+
const A = FL({
|
|
13773
13773
|
series: e,
|
|
13774
13774
|
chartType: v,
|
|
13775
13775
|
showMean: C
|
|
@@ -13781,7 +13781,7 @@ function AL(t) {
|
|
|
13781
13781
|
"currentSelectionDataItems"
|
|
13782
13782
|
);
|
|
13783
13783
|
let $ = !1, O = !1, R, B = !1;
|
|
13784
|
-
if (
|
|
13784
|
+
if (A?.[0] !== void 0) {
|
|
13785
13785
|
if (o?.viewExtentUpdated !== !0) {
|
|
13786
13786
|
R = o?.selectionData?.selectionItems ?? D;
|
|
13787
13787
|
const N = k(
|
|
@@ -13808,7 +13808,7 @@ function AL(t) {
|
|
|
13808
13808
|
chartConfig: S,
|
|
13809
13809
|
options: o,
|
|
13810
13810
|
series: e,
|
|
13811
|
-
elementsToApplySelectionTo:
|
|
13811
|
+
elementsToApplySelectionTo: A,
|
|
13812
13812
|
selectionDataItems: R,
|
|
13813
13813
|
layerOidField: I,
|
|
13814
13814
|
xAxisField: l,
|
|
@@ -13825,7 +13825,7 @@ function AL(t) {
|
|
|
13825
13825
|
p.uid,
|
|
13826
13826
|
"computedSelectionIndexes"
|
|
13827
13827
|
);
|
|
13828
|
-
G === void 0 && (G = /* @__PURE__ */ new Map()), W.length ===
|
|
13828
|
+
G === void 0 && (G = /* @__PURE__ */ new Map()), W.length === A.length ? G.set(i ?? 0, {}) : G.set(i ?? 0, {
|
|
13829
13829
|
indexesToSelect: W
|
|
13830
13830
|
}), U(p.uid, { computedSelectionIndexes: G });
|
|
13831
13831
|
}
|
|
@@ -13857,7 +13857,7 @@ function AL(t) {
|
|
|
13857
13857
|
showOutliers: x
|
|
13858
13858
|
});
|
|
13859
13859
|
};
|
|
13860
|
-
|
|
13860
|
+
A.forEach((W) => {
|
|
13861
13861
|
const G = W.isActive || V(W);
|
|
13862
13862
|
Et({
|
|
13863
13863
|
element: W,
|
|
@@ -13961,12 +13961,12 @@ async function Po(t) {
|
|
|
13961
13961
|
const d = /* @__PURE__ */ new Map(), { xAxisField: f } = i[0] ?? {}, g = z(n?.series), h = Y(n?.series), y = ki(n?.series ?? []);
|
|
13962
13962
|
let p;
|
|
13963
13963
|
if (s !== void 0 && (p = (await jt(s)).find((C) => C.name === f)?.type), i.forEach((x) => {
|
|
13964
|
-
const { elementDataContext: C, yAxisField: v, splitBy:
|
|
13964
|
+
const { elementDataContext: C, yAxisField: v, splitBy: A } = x, T = Ci({
|
|
13965
13965
|
dataContext: C,
|
|
13966
13966
|
yAxisField: v,
|
|
13967
13967
|
yList: y,
|
|
13968
13968
|
xAxisField: f,
|
|
13969
|
-
splitBy:
|
|
13969
|
+
splitBy: A,
|
|
13970
13970
|
chartType: g,
|
|
13971
13971
|
chartSubType: h,
|
|
13972
13972
|
showOutliers: r,
|
|
@@ -13990,7 +13990,7 @@ async function Po(t) {
|
|
|
13990
13990
|
options: o,
|
|
13991
13991
|
xAxisField: f,
|
|
13992
13992
|
yAxisField: v ?? "",
|
|
13993
|
-
splitBy:
|
|
13993
|
+
splitBy: A,
|
|
13994
13994
|
xAxisFieldType: p,
|
|
13995
13995
|
chartConfig: n
|
|
13996
13996
|
});
|
|
@@ -14008,8 +14008,8 @@ async function Po(t) {
|
|
|
14008
14008
|
if (l.length === i.length)
|
|
14009
14009
|
u = v;
|
|
14010
14010
|
else
|
|
14011
|
-
for (let
|
|
14012
|
-
u.push(v[
|
|
14011
|
+
for (let A = 0; A < v.length; A += 1)
|
|
14012
|
+
u.push(v[A]);
|
|
14013
14013
|
}
|
|
14014
14014
|
U(e.uid, {
|
|
14015
14015
|
currentSelectionDataItems: c,
|
|
@@ -14193,19 +14193,19 @@ function BL(t, e) {
|
|
|
14193
14193
|
const c = k(r.uid, "config"), u = k(r.uid, "isRotated"), f = !Ca(t.renderer, u) ? 1 : 0, h = c?.axes?.[f]?.guides;
|
|
14194
14194
|
let y = o, p = n;
|
|
14195
14195
|
if (t instanceof ze) {
|
|
14196
|
-
let v = new bd(),
|
|
14196
|
+
let v = new bd(), A;
|
|
14197
14197
|
if (r !== void 0) {
|
|
14198
14198
|
const T = k(t.chart.uid, "formatLocale");
|
|
14199
14199
|
v = $t({
|
|
14200
14200
|
type: b.DateAxisFormat,
|
|
14201
14201
|
iLocale: r.language.locale,
|
|
14202
14202
|
formatLocale: T
|
|
14203
|
-
}),
|
|
14203
|
+
}), A = c?.axes?.[0]?.valueFormat?.intlOptions;
|
|
14204
14204
|
}
|
|
14205
|
-
y = v.format(o,
|
|
14205
|
+
y = v.format(o, A), n !== void 0 && (p = v.format(n, A));
|
|
14206
14206
|
} else if (t instanceof Ce && !(o instanceof Date) && !(n instanceof Date)) {
|
|
14207
|
-
const { start: v, end:
|
|
14208
|
-
Number.isFinite(v) && (y = v), Number.isFinite(
|
|
14207
|
+
const { start: v, end: A } = Xr(t, h?.[s]);
|
|
14208
|
+
Number.isFinite(v) && (y = v), Number.isFinite(A) && (p = A);
|
|
14209
14209
|
const T = ot(t.uid, "numberFormatter") ?? ((I) => new yd().format(I));
|
|
14210
14210
|
y = T(y), p !== void 0 && (p = T(p));
|
|
14211
14211
|
} else t instanceof rt && (y = o, p = n);
|
|
@@ -14859,7 +14859,7 @@ function rc(t) {
|
|
|
14859
14859
|
const g = n[f], { value: h, endValue: y, axisFill: p, grid: S, label: x } = g;
|
|
14860
14860
|
if (qe(x?.uid, "isGuide") === !0) {
|
|
14861
14861
|
if (o = g.visible, o && g instanceof rr) {
|
|
14862
|
-
const { start: v, end:
|
|
14862
|
+
const { start: v, end: A } = Xr(e, d?.[f]), T = Math.min(h, y, v ?? h, A ?? y), I = Math.max(h, y, v ?? h, A ?? y);
|
|
14863
14863
|
T < i && I < i || T > a && I > a ? o = !1 : (g.value = T < i ? i : T, g.endValue = I > a ? a : I);
|
|
14864
14864
|
}
|
|
14865
14865
|
K(p, o), K(S, o), K(x, o);
|
|
@@ -14982,8 +14982,8 @@ function k0(t) {
|
|
|
14982
14982
|
chartConfig: f,
|
|
14983
14983
|
chartData: u.data,
|
|
14984
14984
|
filteredSeriesIds: S
|
|
14985
|
-
}), { minX: C, maxX: v, minY:
|
|
14986
|
-
g = I, a === b.BarSeries || a === b.HistogramSeries || a === b.ComboLineAndBarSeries || a === b.LineSeries && h === ke.Stacked && !y ? (l = Math.min(I,
|
|
14985
|
+
}), { minX: C, maxX: v, minY: A, maxY: T } = x, [I, D] = y ? [C ?? Number.NaN, v ?? Number.NaN] : [A, T];
|
|
14986
|
+
g = I, a === b.BarSeries || a === b.HistogramSeries || a === b.ComboLineAndBarSeries || a === b.LineSeries && h === ke.Stacked && !y ? (l = Math.min(I, L.treatZeroValueAs), c = Math.max(D, L.treatZeroValueAs)) : (l = I, c = D);
|
|
14987
14987
|
}
|
|
14988
14988
|
return l = n ?? l, c = s ?? c, r && l !== void 0 && l !== null && l <= 0 && (l = T0(g)), { min: l, max: c };
|
|
14989
14989
|
}
|
|
@@ -15101,8 +15101,8 @@ function fm(t) {
|
|
|
15101
15101
|
axisConfig: x,
|
|
15102
15102
|
isSecondValueAxis: v
|
|
15103
15103
|
}), C !== void 0 && S.events.once(M.Validated, () => {
|
|
15104
|
-
const { labelToRender:
|
|
15105
|
-
|
|
15104
|
+
const { labelToRender: A } = cm(t, s);
|
|
15105
|
+
A && (A.html = n === !0 ? "{valueX}" : "{valueY}");
|
|
15106
15106
|
}));
|
|
15107
15107
|
});
|
|
15108
15108
|
}
|
|
@@ -15139,7 +15139,7 @@ async function Qo(t) {
|
|
|
15139
15139
|
grid: x,
|
|
15140
15140
|
lineSymbol: C,
|
|
15141
15141
|
labels: v,
|
|
15142
|
-
guides:
|
|
15142
|
+
guides: A,
|
|
15143
15143
|
valueFormat: T,
|
|
15144
15144
|
displayZeroLine: I,
|
|
15145
15145
|
displayCursorTooltip: D,
|
|
@@ -15189,7 +15189,7 @@ async function Qo(t) {
|
|
|
15189
15189
|
axisConfig: i,
|
|
15190
15190
|
chartType: o,
|
|
15191
15191
|
isSecondValueAxis: d
|
|
15192
|
-
}), L0({ axis: e, isLogarithmic: p, isSecondValueAxis: d }), D0(e, S), $0(e, D), d !== !0 && (YL({ axis: e, guides:
|
|
15192
|
+
}), L0({ axis: e, isLogarithmic: p, isSecondValueAxis: d }), D0(e, S), $0(e, D), d !== !0 && (YL({ axis: e, guides: A, guideTooltipFormatter: l, utilsStrings: g }), w0(e, I));
|
|
15193
15193
|
}
|
|
15194
15194
|
async function qr(t) {
|
|
15195
15195
|
const {
|
|
@@ -15208,7 +15208,7 @@ async function qr(t) {
|
|
|
15208
15208
|
errorStrings: g
|
|
15209
15209
|
} = t;
|
|
15210
15210
|
let { axisLabelsBehaviorChanged: h } = t;
|
|
15211
|
-
const y = k(e.uid, "config"), { horizontalAxisLabelsBehavior: p, verticalAxisLabelsBehavior: S } = y, x = z(y.series), C = zt(y), v = o === !0 ? 1 : 0,
|
|
15211
|
+
const y = k(e.uid, "config"), { horizontalAxisLabelsBehavior: p, verticalAxisLabelsBehavior: S } = y, x = z(y.series), C = zt(y), v = o === !0 ? 1 : 0, A = o === !0 ? 0 : 1, T = i?.[v], I = i?.[A];
|
|
15212
15212
|
let D = e.xAxes.getIndex(0);
|
|
15213
15213
|
mm({
|
|
15214
15214
|
chart: e,
|
|
@@ -15243,7 +15243,7 @@ async function qr(t) {
|
|
|
15243
15243
|
...G,
|
|
15244
15244
|
axis: $,
|
|
15245
15245
|
axisConfig: I,
|
|
15246
|
-
axisValueFormatter:
|
|
15246
|
+
axisValueFormatter: A === 1 ? u : c
|
|
15247
15247
|
}), O !== void 0 && i?.[2] !== void 0 && await Qo({
|
|
15248
15248
|
...G,
|
|
15249
15249
|
axis: O,
|
|
@@ -15312,8 +15312,8 @@ async function M0(t) {
|
|
|
15312
15312
|
const S = n === !0 ? e.yAxes.getIndex(0) : e.xAxes.getIndex(0);
|
|
15313
15313
|
if (S !== void 0) {
|
|
15314
15314
|
S instanceof rt && (S.dataFields.category = Js(i));
|
|
15315
|
-
const v = S.renderer,
|
|
15316
|
-
|
|
15315
|
+
const v = S.renderer, A = v.grid.template;
|
|
15316
|
+
A.location = 0, v.cellStartLocation = 0.1, v.cellEndLocation = 0.9;
|
|
15317
15317
|
const T = i.orderOptions?.data?.orderBy === Sn.Descending;
|
|
15318
15318
|
let I = n === !0;
|
|
15319
15319
|
T && S instanceof ze && (I = !I), v.inversed = I;
|
|
@@ -15535,7 +15535,7 @@ function Ns(t, e) {
|
|
|
15535
15535
|
const c = (s.bbox.width + 5) * s.scale, u = (r.bbox.height + 5) * r.scale, d = typeof i.renderer.labels.template.radius == "number" ? i.renderer.labels.template.radius : i.renderer.labels.template.radius.value, f = (c + d) * 2 + t.radarContainer.measuredWidth + Go(t.paddingLeft) + Go(t.paddingRight), g = 80, h = 170, y = t.htmlContainer?.clientHeight ?? 0, p = Math.max(
|
|
15536
15536
|
0,
|
|
15537
15537
|
Math.min(1, (y - g) / (h - g))
|
|
15538
|
-
), S = t.radarContainer.measuredHeight + (u + d * p) * 2 + Go(t.paddingTop) + Go(t.paddingBottom), x = t.measuredWidth, C = t.measuredHeight, v = x / f,
|
|
15538
|
+
), S = t.radarContainer.measuredHeight + (u + d * p) * 2 + Go(t.paddingTop) + Go(t.paddingBottom), x = t.measuredWidth, C = t.measuredHeight, v = x / f, A = C / S, T = (typeof t.radius == "number" ? t.radius : t.radius.value) * 100, I = Number((T * v).toFixed(2)), D = Number((T * A).toFixed(2)), $ = I / T, O = D / T, R = t.radarContainer.measuredWidth * $, B = t.radarContainer.measuredWidth * O, [N, E] = R < B ? [I, $] : [D, O];
|
|
15539
15539
|
Number.isFinite(N) && N >= 10 && N <= L.gauge.radius && (E < 0.98 || E > 1.02) && (t.radius = new cn(N));
|
|
15540
15540
|
}
|
|
15541
15541
|
}
|
|
@@ -15786,7 +15786,7 @@ async function aF(t) {
|
|
|
15786
15786
|
errorStrings: l
|
|
15787
15787
|
} = t, { axes: c, series: u } = i, d = _s(i), f = z(i.series), { featureIndex: g, x: h } = u[0], y = c?.[0], p = e.xAxes.getIndex(0), S = { ...y };
|
|
15788
15788
|
if (p !== void 0 && S !== void 0) {
|
|
15789
|
-
const { valueFormat: x, needle: C, innerLabel: v, onlyShowFirstAndLastLabels:
|
|
15789
|
+
const { valueFormat: x, needle: C, innerLabel: v, onlyShowFirstAndLastLabels: A } = S;
|
|
15790
15790
|
$s({ axis: p, valueFormat: x, chartType: f }) && ro({ isXAxis: !0, axes: e.xAxes, valueFormat: x });
|
|
15791
15791
|
const T = await Uu({
|
|
15792
15792
|
featureIndex: g,
|
|
@@ -15836,14 +15836,14 @@ async function aF(t) {
|
|
|
15836
15836
|
}), Z0(p, S), _0({
|
|
15837
15837
|
chart: e,
|
|
15838
15838
|
axis: p,
|
|
15839
|
-
onlyShowFirstAndLastLabels:
|
|
15839
|
+
onlyShowFirstAndLastLabels: A ?? !1,
|
|
15840
15840
|
valueFormat: x,
|
|
15841
15841
|
axisLabelConfigContent: S.labels,
|
|
15842
15842
|
axisValueFormatter: n
|
|
15843
15843
|
}), eF({
|
|
15844
15844
|
chart: e,
|
|
15845
15845
|
axis: p,
|
|
15846
|
-
onlyShowFirstAndLastLabels:
|
|
15846
|
+
onlyShowFirstAndLastLabels: A ?? !1,
|
|
15847
15847
|
valueFormat: x,
|
|
15848
15848
|
gaugeLabelConfigContent: S.labels,
|
|
15849
15849
|
axisValueFormatter: n
|
|
@@ -16385,20 +16385,20 @@ function BF(t) {
|
|
|
16385
16385
|
visible: c
|
|
16386
16386
|
}), e.hiddenInLegend = r !== !0 || d === !0, o && "bins" in o) {
|
|
16387
16387
|
const g = o.bins.map((I) => I.count), h = Math.max(...g), { mean: y, stddev: p, median: S } = o, x = y - p, C = y + p;
|
|
16388
|
-
let v = { x: Number.NaN, y: Number.NaN },
|
|
16388
|
+
let v = { x: Number.NaN, y: Number.NaN }, A = { x: Number.NaN, y: Number.NaN };
|
|
16389
16389
|
switch (u) {
|
|
16390
16390
|
case Qe.Mean:
|
|
16391
|
-
v = { x: y, y: 0 },
|
|
16391
|
+
v = { x: y, y: 0 }, A = { x: y, y: h };
|
|
16392
16392
|
break;
|
|
16393
16393
|
case Qe.Median:
|
|
16394
|
-
v = { x: S, y: 0 },
|
|
16394
|
+
v = { x: S, y: 0 }, A = { x: S, y: h };
|
|
16395
16395
|
break;
|
|
16396
16396
|
case Qe.StdDev:
|
|
16397
|
-
d === !0 ? (v = { x: C, y: 0 },
|
|
16397
|
+
d === !0 ? (v = { x: C, y: 0 }, A = { x: C, y: h }) : (v = { x, y: 0 }, A = { x, y: h });
|
|
16398
16398
|
break;
|
|
16399
16399
|
}
|
|
16400
16400
|
const T = {
|
|
16401
|
-
data: [v,
|
|
16401
|
+
data: [v, A]
|
|
16402
16402
|
};
|
|
16403
16403
|
e.data = T.data;
|
|
16404
16404
|
}
|
|
@@ -16614,7 +16614,7 @@ async function EF(t) {
|
|
|
16614
16614
|
chartRenderer: c,
|
|
16615
16615
|
queryObject: l
|
|
16616
16616
|
}), C = c ?? S?.renderer, v = To(c, S?.renderer);
|
|
16617
|
-
let
|
|
16617
|
+
let A;
|
|
16618
16618
|
if (Ji({
|
|
16619
16619
|
chartConfig: e,
|
|
16620
16620
|
queryObject: l
|
|
@@ -16628,12 +16628,12 @@ async function EF(t) {
|
|
|
16628
16628
|
chartSubType: P.NonSpecific,
|
|
16629
16629
|
graphicTemplate: x
|
|
16630
16630
|
});
|
|
16631
|
-
|
|
16631
|
+
A = T.rendererSymbol, U(p.chart.uid, { colorMatchApplied: T.colorMatchApplied });
|
|
16632
16632
|
}
|
|
16633
16633
|
ca({
|
|
16634
16634
|
// TODO: Remove the type assertion and correct the typings
|
|
16635
16635
|
styleCallback: VF,
|
|
16636
|
-
callbackProps: { ...t, rendererSymbol:
|
|
16636
|
+
callbackProps: { ...t, rendererSymbol: A },
|
|
16637
16637
|
series: p,
|
|
16638
16638
|
seriesConfig: i
|
|
16639
16639
|
}), $F({
|
|
@@ -16713,15 +16713,15 @@ function HF(t, e) {
|
|
|
16713
16713
|
}), g = tr(d), h = bt(t.rtl, " ");
|
|
16714
16714
|
return (y, p, S) => {
|
|
16715
16715
|
const x = f(y, p, S), v = o ?? L.pieChart.displayCategoryOnDataLabel ? g(y) : "";
|
|
16716
|
-
let
|
|
16717
|
-
return
|
|
16718
|
-
textSymbol: { ...e.dataLabels.content, text:
|
|
16716
|
+
let A = be(v) ? "" : `${v}${h}`;
|
|
16717
|
+
return A = `${A}${x}`, e.dataLabels?.content !== void 0 && (A = ft({
|
|
16718
|
+
textSymbol: { ...e.dataLabels.content, text: A },
|
|
16719
16719
|
format: "html",
|
|
16720
16720
|
defaults: {
|
|
16721
16721
|
...L.pieChart.dataLabels,
|
|
16722
16722
|
wrap: e.optimizeDataLabelsOverlapping ?? L.pieChart.dataLabels.wrap
|
|
16723
16723
|
}
|
|
16724
|
-
})),
|
|
16724
|
+
})), A;
|
|
16725
16725
|
};
|
|
16726
16726
|
}
|
|
16727
16727
|
function GF(t) {
|
|
@@ -16770,8 +16770,8 @@ function XF(t, e) {
|
|
|
16770
16770
|
percentageSuffix: g
|
|
16771
16771
|
})("", y, p), v = !be(h) && (r ?? L.pieChart.displayCategoryOnTooltip);
|
|
16772
16772
|
if (v && (S = `<b>${h}</b>`), !be(C)) {
|
|
16773
|
-
const
|
|
16774
|
-
S = v ? `${S}<br />${
|
|
16773
|
+
const A = Ks(C);
|
|
16774
|
+
S = v ? `${S}<br />${A}` : A;
|
|
16775
16775
|
}
|
|
16776
16776
|
return S;
|
|
16777
16777
|
}, i;
|
|
@@ -16963,7 +16963,7 @@ function cc(t, e) {
|
|
|
16963
16963
|
const C = dn(s.slices, x);
|
|
16964
16964
|
C?.fillSymbol?.color !== void 0 && y.add(C.fillSymbol.color);
|
|
16965
16965
|
}), t.forEach((p, S) => {
|
|
16966
|
-
const x = p[L.pieChart.technicalFieldSliceId], C = dn(s.slices, x), v = wi(p),
|
|
16966
|
+
const x = p[L.pieChart.technicalFieldSliceId], C = dn(s.slices, x), v = wi(p), A = eA({
|
|
16967
16967
|
dataContext: p,
|
|
16968
16968
|
seriesConfig: s,
|
|
16969
16969
|
existingSlicesColors: y,
|
|
@@ -16973,7 +16973,7 @@ function cc(t, e) {
|
|
|
16973
16973
|
colorMatch: c,
|
|
16974
16974
|
chartSubType: u
|
|
16975
16975
|
});
|
|
16976
|
-
|
|
16976
|
+
A.color && y.add(A.color);
|
|
16977
16977
|
const T = Td({
|
|
16978
16978
|
dataContext: p,
|
|
16979
16979
|
sliceFromConfig: C,
|
|
@@ -16987,14 +16987,14 @@ function cc(t, e) {
|
|
|
16987
16987
|
}), I = {
|
|
16988
16988
|
sliceId: x,
|
|
16989
16989
|
label: T,
|
|
16990
|
-
fillSymbol:
|
|
16990
|
+
fillSymbol: A
|
|
16991
16991
|
};
|
|
16992
16992
|
I.originalLabel = C?.originalLabel ?? (p?.[L.originalCategoryValue] !== void 0 ? p?.[L.originalCategoryValue] : I.label), v ? (h = p[L.pieChart.technicalFieldGroupedSlices], s.sliceGrouping !== void 0 && (g = {
|
|
16993
16993
|
sliceId: s.sliceGrouping.sliceId,
|
|
16994
16994
|
percentageThreshold: s.sliceGrouping.percentageThreshold,
|
|
16995
16995
|
label: T,
|
|
16996
16996
|
originalLabel: s.sliceGrouping.originalLabel ?? T,
|
|
16997
|
-
fillSymbol:
|
|
16997
|
+
fillSymbol: A
|
|
16998
16998
|
})) : f.push(I);
|
|
16999
16999
|
}), { slices: f, groupOfSlicesSymbols: g, groupOfSlices: h };
|
|
17000
17000
|
}
|
|
@@ -17449,9 +17449,9 @@ function xm(t) {
|
|
|
17449
17449
|
dataLabelsInside: f
|
|
17450
17450
|
} = s[0];
|
|
17451
17451
|
if (d?.visible === !0 && c === !0 && l === !0 && f !== !0) {
|
|
17452
|
-
const p = L.pieChart.chartOptimizedRadius / 100, S = 500, x = 150, C = 0.6, v = 0.5,
|
|
17452
|
+
const p = L.pieChart.chartOptimizedRadius / 100, S = 500, x = 150, C = 0.6, v = 0.5, A = 1, T = t.chartContainer.measuredWidth - u * 2, I = Math.max(T - x, 0) / (S - x), D = I < 1 ? (
|
|
17453
17453
|
// case 1: the container width is less than the radiusContainerWidthBreakpoint - we want to scale the radius down.
|
|
17454
|
-
Math.max(I **
|
|
17454
|
+
Math.max(I ** A * C, 0.4)
|
|
17455
17455
|
) : (
|
|
17456
17456
|
// case 2: the container width is at or more than the radiusContainerWidthBreakpoint - ramp up radius to the max radius
|
|
17457
17457
|
Math.min(I ** v * C, p)
|
|
@@ -17931,8 +17931,8 @@ async function Lm(t) {
|
|
|
17931
17931
|
}
|
|
17932
17932
|
const S = kg({ chartConfig: i, queryObject: s, chartData: e.data });
|
|
17933
17933
|
if (S.length > 0 && (e.colors.list = S.map((x) => {
|
|
17934
|
-
const [C, v,
|
|
17935
|
-
return new ln({ r: C, g: v, b:
|
|
17934
|
+
const [C, v, A, T] = x;
|
|
17935
|
+
return new ln({ r: C, g: v, b: A, a: T });
|
|
17936
17936
|
})), f.length > 0) {
|
|
17937
17937
|
const x = await Promise.all(f);
|
|
17938
17938
|
e.series.pushAll(x.flat());
|
|
@@ -17958,7 +17958,7 @@ async function el(t) {
|
|
|
17958
17958
|
pieSlicesSymbols: S,
|
|
17959
17959
|
utilsStrings: x,
|
|
17960
17960
|
errorStrings: C
|
|
17961
|
-
} = t, v = e.series.values,
|
|
17961
|
+
} = t, v = e.series.values, A = /* @__PURE__ */ new Map(), T = i.series.length, I = z(a), D = Ti(i), $ = zt(i), O = Pc(f), R = await jt(f, g?.usePopupTemplateFieldsInfo), B = pt(f), N = To(n, B.renderer);
|
|
17962
17962
|
for (const [E, V] of a.entries()) {
|
|
17963
17963
|
const W = z([V]), G = v[E], ne = {
|
|
17964
17964
|
numberOfSeries: T,
|
|
@@ -17988,7 +17988,7 @@ async function el(t) {
|
|
|
17988
17988
|
chart: e,
|
|
17989
17989
|
series: ie,
|
|
17990
17990
|
seriesIndexMapper: s,
|
|
17991
|
-
seriesSymbolMapForEvent:
|
|
17991
|
+
seriesSymbolMapForEvent: A,
|
|
17992
17992
|
chartData: d,
|
|
17993
17993
|
showOutliers: i.showOutliers,
|
|
17994
17994
|
showMean: _,
|
|
@@ -18005,7 +18005,7 @@ async function el(t) {
|
|
|
18005
18005
|
TF({
|
|
18006
18006
|
...te,
|
|
18007
18007
|
stackedType: $,
|
|
18008
|
-
seriesSymbolMapForEvent:
|
|
18008
|
+
seriesSymbolMapForEvent: A,
|
|
18009
18009
|
rotationChanged: r
|
|
18010
18010
|
});
|
|
18011
18011
|
break;
|
|
@@ -18013,7 +18013,7 @@ async function el(t) {
|
|
|
18013
18013
|
eL({
|
|
18014
18014
|
...te,
|
|
18015
18015
|
stackedType: $,
|
|
18016
|
-
seriesSymbolMapForEvent:
|
|
18016
|
+
seriesSymbolMapForEvent: A,
|
|
18017
18017
|
rotationChanged: r
|
|
18018
18018
|
});
|
|
18019
18019
|
break;
|
|
@@ -18072,7 +18072,7 @@ async function tl(t) {
|
|
|
18072
18072
|
gaugeInnerLabelFormatter: S,
|
|
18073
18073
|
usePopupTemplateFieldsInfo: x
|
|
18074
18074
|
} = a ?? {};
|
|
18075
|
-
let C, v,
|
|
18075
|
+
let C, v, A, T;
|
|
18076
18076
|
const { loaderElements: I, loaderHandle: D } = tv(i, a);
|
|
18077
18077
|
D.showLoader(l !== !0);
|
|
18078
18078
|
const $ = z(e.series), O = await jt(n, x);
|
|
@@ -18189,7 +18189,7 @@ async function tl(t) {
|
|
|
18189
18189
|
colorMatchApplied: Sa(i, He)
|
|
18190
18190
|
}), fd({ data: i.data, chartConfig: He, htmlContainer: i.htmlContainer })), T?.valid !== !1) {
|
|
18191
18191
|
const { title: Me, subtitle: Oe, footer: Ge, series: Rt, background: lt } = He;
|
|
18192
|
-
C = mF(i), os(C, { title: Me, subtitle: Oe }), v = gF(i), ns(v, Ge),
|
|
18192
|
+
C = mF(i), os(C, { title: Me, subtitle: Oe }), v = gF(i), ns(v, Ge), A = _v(i, Rt), vv(i);
|
|
18193
18193
|
const Bt = Dt({ config: He }), Ei = Y(Rt);
|
|
18194
18194
|
U(i.uid, {
|
|
18195
18195
|
config: He,
|
|
@@ -18230,7 +18230,7 @@ async function tl(t) {
|
|
|
18230
18230
|
utilsStrings: s,
|
|
18231
18231
|
errorStrings: r
|
|
18232
18232
|
}), Hr({
|
|
18233
|
-
legendElements:
|
|
18233
|
+
legendElements: A,
|
|
18234
18234
|
seriesConfig: Rt,
|
|
18235
18235
|
webChartLegend: He.legend,
|
|
18236
18236
|
pieChartLegendValueLabelFormatter: f
|
|
@@ -18243,7 +18243,7 @@ async function tl(t) {
|
|
|
18243
18243
|
i.dateFormatter.intlLocales = La, kA(i, o?.enableResponsiveFeatures), (i instanceof yt || Bo(i.series)) && (D.hideLoader(), Ga(i.htmlContainer)), Cm(i);
|
|
18244
18244
|
}
|
|
18245
18245
|
}
|
|
18246
|
-
return { chartElements: C !== void 0 && v !== void 0 &&
|
|
18246
|
+
return { chartElements: C !== void 0 && v !== void 0 && A !== void 0 && I !== void 0 ? { headerElements: C, footerElements: v, legendElements: A, loaderHandle: D, loaderElements: I } : void 0, configValidationStatus: T };
|
|
18247
18247
|
}
|
|
18248
18248
|
function Fm(t) {
|
|
18249
18249
|
t.series.each((e) => {
|
|
@@ -18373,7 +18373,7 @@ async function OA(t) {
|
|
|
18373
18373
|
a.loaderHandle.showLoader(n?.hideLoaderAnimation !== !0);
|
|
18374
18374
|
const h = k(i.uid, "seriesFilteredOut"), y = k(i.uid, "unfilteredConfig"), p = k(i.uid, "config"), S = p?.series, x = e.series, C = z(x), v = Dt({ config: e });
|
|
18375
18375
|
U(i.uid, { config: Xe(e), isRotated: v });
|
|
18376
|
-
const { dataUpdateNeeded:
|
|
18376
|
+
const { dataUpdateNeeded: A, updateNeededDetails: T } = Dn({
|
|
18377
18377
|
options: n,
|
|
18378
18378
|
forceDataUpdate: r,
|
|
18379
18379
|
oldConfig: h ? y : p,
|
|
@@ -18391,7 +18391,7 @@ async function OA(t) {
|
|
|
18391
18391
|
const $ = cd(p, e), O = rd(p, e), R = xg(p, e), B = Cg(p, e), N = JSON.stringify(ll(S)) !== JSON.stringify(ll(x)), E = vg(p, e), V = Lg(p, e), W = ir(p, e), G = ar({
|
|
18392
18392
|
oldConfig: h ? y : p,
|
|
18393
18393
|
newConfig: e,
|
|
18394
|
-
dataUpdateNeeded:
|
|
18394
|
+
dataUpdateNeeded: A
|
|
18395
18395
|
}), ne = dd({
|
|
18396
18396
|
oldConfig: p,
|
|
18397
18397
|
newConfig: e,
|
|
@@ -18405,7 +18405,7 @@ async function OA(t) {
|
|
|
18405
18405
|
});
|
|
18406
18406
|
let ie = !1, _, q, Le = C !== b.BarSeries && C !== b.LineSeries && C !== b.ComboLineAndBarSeries && C !== b.HistogramSeries;
|
|
18407
18407
|
const Jt = Y(x);
|
|
18408
|
-
if (U(i.uid, { isNonAggregatedChart: !On(Jt) }),
|
|
18408
|
+
if (U(i.uid, { isNonAggregatedChart: !On(Jt) }), A) {
|
|
18409
18409
|
(r === !0 || Fg(T)) && U(i.uid, { binnedServerData: void 0 });
|
|
18410
18410
|
const {
|
|
18411
18411
|
count: Oe,
|
|
@@ -18482,7 +18482,7 @@ async function OA(t) {
|
|
|
18482
18482
|
}
|
|
18483
18483
|
}
|
|
18484
18484
|
G && (za({
|
|
18485
|
-
arrayToSort:
|
|
18485
|
+
arrayToSort: A ? q ?? i.data : i.data,
|
|
18486
18486
|
chartConfig: e,
|
|
18487
18487
|
fieldList: k(i.uid, "fieldList"),
|
|
18488
18488
|
isTimeBinningSeries: Ea({
|
|
@@ -18492,35 +18492,35 @@ async function OA(t) {
|
|
|
18492
18492
|
})
|
|
18493
18493
|
}), C === b.BoxPlotSeries && im({
|
|
18494
18494
|
chart: i,
|
|
18495
|
-
chartData:
|
|
18495
|
+
chartData: A ? q ?? i.data : i.data,
|
|
18496
18496
|
chartConfig: e
|
|
18497
|
-
}),
|
|
18497
|
+
}), A || (i.validateData(), C === b.BoxPlotSeries && i.series.each((Oe) => {
|
|
18498
18498
|
Oe instanceof ue && !(Oe instanceof Ct) && Oe.id.includes(me.Outliers) && Oe.validateData();
|
|
18499
18499
|
})));
|
|
18500
|
-
const na =
|
|
18500
|
+
const na = A && _ && "bins" in _ ? _ : void 0, He = _ && "trendLinePoints" in _ ? _ : k(i.uid, "trendLineData");
|
|
18501
18501
|
_ = {
|
|
18502
|
-
dataItems:
|
|
18502
|
+
dataItems: A ? q ?? i.data : i.data,
|
|
18503
18503
|
timeIntervalInfo: k(i.uid, "timeIntervalInfo"),
|
|
18504
18504
|
serverLimitReached: k(i.uid, "serverLimitReached"),
|
|
18505
18505
|
meanLines: k(i.uid, "boxPlotMeanLinesData"),
|
|
18506
|
-
outliers:
|
|
18506
|
+
outliers: A ? _?.outliers : i.series.values.find((Oe) => !(Oe instanceof Ct) && Oe instanceof ue)?.data,
|
|
18507
18507
|
trendLinePoints: He?.trendLinePoints,
|
|
18508
18508
|
r2: He?.r2,
|
|
18509
18509
|
...na
|
|
18510
|
-
}, (
|
|
18510
|
+
}, (A || G) && yi({ data: _, seriesConfig: e.series, htmlContainer: i.htmlContainer });
|
|
18511
18511
|
const Vi = /* @__PURE__ */ new Map();
|
|
18512
18512
|
e.series.forEach((Oe, Ge) => {
|
|
18513
18513
|
Vi.set(Oe.id, Ge);
|
|
18514
18514
|
});
|
|
18515
18515
|
const Me = Ji({ chartConfig: e, queryObject: s });
|
|
18516
|
-
if (!
|
|
18516
|
+
if (!A || Le) {
|
|
18517
18517
|
const Oe = je(e), Ge = vm({
|
|
18518
18518
|
chart: i,
|
|
18519
18519
|
data: Oe ? _ : q,
|
|
18520
18520
|
config: e,
|
|
18521
18521
|
hideEmptySeries: n?.hideEmptySeries ?? L.options.hideEmptySeries
|
|
18522
18522
|
});
|
|
18523
|
-
if (e = Ge.updatedConfig, D = Ge.seriesFilteredOut, (
|
|
18523
|
+
if (e = Ge.updatedConfig, D = Ge.seriesFilteredOut, (A || W) && C !== b.HistogramSeries) {
|
|
18524
18524
|
const lt = je(e), Bt = _ && lt && "meanLines" in _ ? _.meanLines : q ?? i.data, { colorMatchApplied: Ei, rendererFieldNames: La } = await Ya({
|
|
18525
18525
|
data: Bt,
|
|
18526
18526
|
queryObject: s,
|
|
@@ -18548,7 +18548,7 @@ async function OA(t) {
|
|
|
18548
18548
|
const Rt = C === b.BoxPlotSeries && (Ag(x, S) || Tg(x, S));
|
|
18549
18549
|
(i.series === void 0 || i.series.length === 0 || I || D || Ge.seriesFilteredOut || N || (C === b.BarSeries || C === b.LineSeries || C === b.RadarSeries || C === b.ComboLineAndBarSeries) && i.series.length !== e.series.length || C !== b.HistogramSeries && te || B || // NOTE: This fix is here to resolve the issue: https://devtopia.esri.com/webgis/arcgis-charts/issues/6537
|
|
18550
18550
|
// TODO: find a better way to order legends for box plot with split by field rather than re-initializing the series in the future.
|
|
18551
|
-
Rt || T.boxPlot.showMeanChanged) && (!
|
|
18551
|
+
Rt || T.boxPlot.showMeanChanged) && (!A && (O || Rt || te) && i.invalidateData(), await Lm({
|
|
18552
18552
|
chart: i,
|
|
18553
18553
|
chartConfig: e,
|
|
18554
18554
|
hideLoaderHandle: a.loaderHandle.hideLoader,
|
|
@@ -18566,7 +18566,7 @@ async function OA(t) {
|
|
|
18566
18566
|
queryObject: s,
|
|
18567
18567
|
chartData: _,
|
|
18568
18568
|
options: n,
|
|
18569
|
-
dataWasUpdated:
|
|
18569
|
+
dataWasUpdated: A,
|
|
18570
18570
|
sortChanged: G,
|
|
18571
18571
|
utilsStrings: l,
|
|
18572
18572
|
errorStrings: c
|
|
@@ -18622,7 +18622,7 @@ async function RA(t) {
|
|
|
18622
18622
|
let S = !0, x, C, v = !1;
|
|
18623
18623
|
if (h) {
|
|
18624
18624
|
const {
|
|
18625
|
-
count:
|
|
18625
|
+
count: A,
|
|
18626
18626
|
valid: T,
|
|
18627
18627
|
invalidType: I,
|
|
18628
18628
|
data: D,
|
|
@@ -18636,10 +18636,10 @@ async function RA(t) {
|
|
|
18636
18636
|
abortKey: Ro(e),
|
|
18637
18637
|
errorStrings: c
|
|
18638
18638
|
});
|
|
18639
|
-
x = D, U(e.uid, { elementCount:
|
|
18639
|
+
x = D, U(e.uid, { elementCount: A, queryConfig: $, initialized: T }), S = T, C = Ii(x), S ? C !== void 0 && Sg(e.data, C) && (e.data = C, v = !0) : (await ua({
|
|
18640
18640
|
chart: e,
|
|
18641
18641
|
invalidType: I,
|
|
18642
|
-
elementCount:
|
|
18642
|
+
elementCount: A,
|
|
18643
18643
|
seriesCount: g.length,
|
|
18644
18644
|
errorStrings: c
|
|
18645
18645
|
}), i.loaderHandle.hideLoader());
|
|
@@ -18657,8 +18657,8 @@ async function RA(t) {
|
|
|
18657
18657
|
rendererFieldNames: N.rendererFieldNames
|
|
18658
18658
|
});
|
|
18659
18659
|
}
|
|
18660
|
-
const
|
|
18661
|
-
(v ||
|
|
18660
|
+
const A = kd(f, g);
|
|
18661
|
+
(v || A) && Sm({ chart: e, seriesConfig: g, utilsStrings: l }), (p || A) && (za({
|
|
18662
18662
|
arrayToSort: C ?? e.data,
|
|
18663
18663
|
chartConfig: o,
|
|
18664
18664
|
fieldList: k(e.uid, "fieldList")
|
|
@@ -18715,7 +18715,7 @@ async function RA(t) {
|
|
|
18715
18715
|
dataWasUpdated: v,
|
|
18716
18716
|
sortChanged: p,
|
|
18717
18717
|
chartData: x,
|
|
18718
|
-
groupOfSlicesWasUpdated:
|
|
18718
|
+
groupOfSlicesWasUpdated: A,
|
|
18719
18719
|
pieSlicesSymbols: D,
|
|
18720
18720
|
utilsStrings: l,
|
|
18721
18721
|
errorStrings: c
|
|
@@ -18784,7 +18784,7 @@ async function BA(t) {
|
|
|
18784
18784
|
errorStrings: c
|
|
18785
18785
|
}), i.loaderHandle.hideLoader());
|
|
18786
18786
|
}
|
|
18787
|
-
const
|
|
18787
|
+
const A = await Kr({
|
|
18788
18788
|
chart: e,
|
|
18789
18789
|
data: { dataItems: e.data },
|
|
18790
18790
|
chartConfig: o,
|
|
@@ -18794,8 +18794,8 @@ async function BA(t) {
|
|
|
18794
18794
|
utilsStrings: l,
|
|
18795
18795
|
errorStrings: c
|
|
18796
18796
|
});
|
|
18797
|
-
u =
|
|
18798
|
-
const T =
|
|
18797
|
+
u = A.newValidationStatus ?? a;
|
|
18798
|
+
const T = A.alteredConfig;
|
|
18799
18799
|
if (u.valid) {
|
|
18800
18800
|
T.axes !== void 0 && await Jr({
|
|
18801
18801
|
chart: e,
|
|
@@ -18890,14 +18890,14 @@ async function NA(t) {
|
|
|
18890
18890
|
}
|
|
18891
18891
|
async function y(v) {
|
|
18892
18892
|
const {
|
|
18893
|
-
newConfig:
|
|
18893
|
+
newConfig: A,
|
|
18894
18894
|
queryObject: T,
|
|
18895
18895
|
forceDataUpdate: I,
|
|
18896
18896
|
updateOptions: D,
|
|
18897
18897
|
utilsStrings: $,
|
|
18898
18898
|
configValidationStatus: O
|
|
18899
|
-
} = v, R = k(f.uid, "initialized"), B = k(f.uid, "config"), N =
|
|
18900
|
-
if (f.isDisposed() || g === void 0 || R === !1 || !nd(B,
|
|
18899
|
+
} = v, R = k(f.uid, "initialized"), B = k(f.uid, "config"), N = A?.series, E = N !== void 0 ? z(N) : void 0;
|
|
18900
|
+
if (f.isDisposed() || g === void 0 || R === !1 || !nd(B, A))
|
|
18901
18901
|
throw new An(oo.ChartDisposed);
|
|
18902
18902
|
switch (E) {
|
|
18903
18903
|
case b.BoxPlotSeries:
|
|
@@ -18911,7 +18911,7 @@ async function NA(t) {
|
|
|
18911
18911
|
chartElements: g,
|
|
18912
18912
|
queryObject: T,
|
|
18913
18913
|
configValidationStatus: O,
|
|
18914
|
-
newConfig:
|
|
18914
|
+
newConfig: A,
|
|
18915
18915
|
forceDataUpdate: I,
|
|
18916
18916
|
options: D,
|
|
18917
18917
|
utilsStrings: $,
|
|
@@ -18925,7 +18925,7 @@ async function NA(t) {
|
|
|
18925
18925
|
queryObject: T,
|
|
18926
18926
|
configValidationStatus: O,
|
|
18927
18927
|
forceDataUpdate: I,
|
|
18928
|
-
newConfig:
|
|
18928
|
+
newConfig: A,
|
|
18929
18929
|
options: D,
|
|
18930
18930
|
utilsStrings: $,
|
|
18931
18931
|
errorStrings: l
|
|
@@ -18935,7 +18935,7 @@ async function NA(t) {
|
|
|
18935
18935
|
await BA({
|
|
18936
18936
|
chart: f,
|
|
18937
18937
|
chartElements: g,
|
|
18938
|
-
newConfig:
|
|
18938
|
+
newConfig: A,
|
|
18939
18939
|
queryObject: T,
|
|
18940
18940
|
configValidationStatus: O,
|
|
18941
18941
|
forceDataUpdate: I,
|
|
@@ -18948,7 +18948,7 @@ async function NA(t) {
|
|
|
18948
18948
|
}
|
|
18949
18949
|
async function p(v) {
|
|
18950
18950
|
const {
|
|
18951
|
-
newChartConfig:
|
|
18951
|
+
newChartConfig: A,
|
|
18952
18952
|
updateOptions: T,
|
|
18953
18953
|
updateGlobalOptions: I,
|
|
18954
18954
|
queryObject: D,
|
|
@@ -18961,7 +18961,7 @@ async function NA(t) {
|
|
|
18961
18961
|
fieldList: V,
|
|
18962
18962
|
queryObject: D
|
|
18963
18963
|
});
|
|
18964
|
-
let W =
|
|
18964
|
+
let W = A;
|
|
18965
18965
|
const G = tn(D), ne = k(f.uid, "config");
|
|
18966
18966
|
W && ne && sd(ne, W) && (W = $n(W, f.htmlContainer));
|
|
18967
18967
|
const te = tn(D);
|
|
@@ -18980,11 +18980,11 @@ async function NA(t) {
|
|
|
18980
18980
|
v !== Z.MonoSelection && v !== Z.None && await jC(f);
|
|
18981
18981
|
}
|
|
18982
18982
|
}
|
|
18983
|
-
function x(v,
|
|
18983
|
+
function x(v, A, T) {
|
|
18984
18984
|
f.modal !== void 0 && !f.isDisposed() && (f.modal.closable = T?.closable ?? !1, v !== void 0 ? (f.modal.events.once(M.Opened, () => {
|
|
18985
18985
|
const I = f.modal?.elements?.title?.parentElement;
|
|
18986
18986
|
I instanceof HTMLElement && f.modal?.elements?.title?.innerText.length === 0 && (I.style.visibility = "hidden");
|
|
18987
|
-
}), f.openModal(v,
|
|
18987
|
+
}), f.openModal(v, A)) : f.closeModal());
|
|
18988
18988
|
}
|
|
18989
18989
|
function C() {
|
|
18990
18990
|
Ur(f);
|
|
@@ -18997,7 +18997,7 @@ async function NA(t) {
|
|
|
18997
18997
|
clearSelection: () => eo({ chart: f }),
|
|
18998
18998
|
switchSelection: S,
|
|
18999
18999
|
exportImage: async (v) => await OC({ chart: f, exportOptions: v }),
|
|
19000
|
-
setActionMode: (v,
|
|
19000
|
+
setActionMode: (v, A) => ss({ chart: f, actionMode: v, cursorRange: A })
|
|
19001
19001
|
};
|
|
19002
19002
|
}
|
|
19003
19003
|
function PA(t, e) {
|