@arcgis/charts-components 5.0.0-next.43 → 5.0.0-next.44
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/{WO6ELTU4.js → 2KYOEF45.js} +1 -1
- package/dist/cdn/{ACAESHDK.js → 2WDVYZE5.js} +2 -2
- package/dist/cdn/{6OUSJQAL.js → 357QX2XH.js} +2 -2
- package/dist/cdn/{SDDX5WZI.js → 36SXIVH6.js} +2 -2
- package/dist/cdn/{2TQROQFT.js → 3CRENBGS.js} +2 -2
- package/dist/cdn/{URNJYQXR.js → 3F7ZZJ2S.js} +2 -2
- package/dist/cdn/{J6357ATR.js → 3FG4Z7EM.js} +2 -2
- package/dist/cdn/{YFFVRNO4.js → 3WDDLP6T.js} +2 -2
- package/dist/cdn/{Z4CR7P3P.js → 3Z2SJSBF.js} +1 -1
- package/dist/cdn/{TXTQRIQ7.js → 47H6V3YR.js} +2 -2
- package/dist/cdn/{V47W2C5U.js → 4ALEFM4L.js} +2 -2
- package/dist/cdn/{3XO2ZXCR.js → 4FL2TFT7.js} +2 -2
- package/dist/cdn/{G2NEX5QP.js → 4SBNB2SQ.js} +2 -2
- package/dist/cdn/{FLY3KZWY.js → 4SEBWMPK.js} +2 -2
- package/dist/cdn/{RILFJYWB.js → 5EYCGTYZ.js} +2 -2
- package/dist/cdn/{TQGBKJEW.js → 5IUEDURG.js} +2 -2
- package/dist/cdn/{SSXVRHL6.js → 5OWXQVIJ.js} +2 -2
- package/dist/cdn/{YTJBBE3H.js → 5PO3SAD4.js} +2 -2
- package/dist/cdn/{W4JQBQUE.js → 5VWRCQCK.js} +2 -2
- package/dist/cdn/{DPCRD44D.js → 6444OFOI.js} +2 -2
- package/dist/cdn/{NAZIRD54.js → 64L3NC7I.js} +2 -2
- package/dist/cdn/{U3DYTFRH.js → 6A2NQ3TQ.js} +2 -2
- package/dist/cdn/{T42SPU7R.js → 6BV5PZR6.js} +2 -2
- package/dist/cdn/{6POATKH6.js → 6C2GHTU6.js} +2 -2
- package/dist/cdn/{SVPUVFKP.js → 6QDTEXUV.js} +2 -2
- package/dist/cdn/{FSK6IXXJ.js → 76XQYSST.js} +2 -2
- package/dist/cdn/{XFN5ZOV5.js → 7IWXVA2T.js} +2 -2
- package/dist/cdn/{DO4WLZTW.js → 7PSBB3XJ.js} +8 -8
- package/dist/cdn/{525LAOEZ.js → 7Z6R4VV7.js} +2 -2
- package/dist/cdn/{2WNPEW4F.js → A3LMZBQU.js} +2 -2
- package/dist/cdn/{3K3OQWMY.js → A7YNPNSO.js} +2 -2
- package/dist/cdn/{H34HOQPZ.js → AF63TJEB.js} +2 -2
- package/dist/cdn/{2C3BXEOQ.js → AH53A6BH.js} +2 -2
- package/dist/cdn/{3JJJ6MWA.js → AJDSV3IV.js} +2 -2
- package/dist/cdn/{67KISLHV.js → AUPPAIYF.js} +1 -1
- package/dist/cdn/{JV3NWW2W.js → AYHRVE6Z.js} +2 -2
- package/dist/cdn/{HUXH3R5F.js → AZEFCPVR.js} +2 -2
- package/dist/cdn/{B3R3CIHA.js → B3PUF7C5.js} +2 -2
- package/dist/cdn/{TLEWKMR7.js → B3TEGP6T.js} +2 -2
- package/dist/cdn/{MX5MYFVA.js → B4PGPPM5.js} +2 -2
- package/dist/cdn/{PR57EZPC.js → B762DLZJ.js} +2 -2
- package/dist/cdn/{G6TQECH5.js → BA4THHFA.js} +2 -2
- package/dist/cdn/{2YXDC6MM.js → BPFHE6LA.js} +2 -2
- package/dist/cdn/{L5MNEI2B.js → BQBMJBPA.js} +2 -2
- package/dist/cdn/{DEVQ3LLI.js → BRVHEJY7.js} +2 -2
- package/dist/cdn/{BHYLHXVL.js → BTU27ATU.js} +2 -2
- package/dist/cdn/{2YIUERBI.js → BYJOZ6TG.js} +1 -1
- package/dist/cdn/{MKZAMUPS.js → C7IOPGYT.js} +2 -2
- package/dist/cdn/{CLFEREQL.js → CDTSDTY5.js} +2 -2
- package/dist/cdn/{SNRZUTTZ.js → CQ5MNQGI.js} +2 -2
- package/dist/cdn/{HXAPB26G.js → CQC23CUM.js} +2 -2
- package/dist/cdn/{CHN4S7QL.js → CR44JICN.js} +2 -2
- package/dist/cdn/{ZJEGNCRJ.js → CX7KAQEC.js} +2 -2
- package/dist/cdn/{IAIULDPX.js → D2CB2DMF.js} +2 -2
- package/dist/cdn/{GWAQJ2GF.js → D3FH7ER2.js} +2 -2
- package/dist/cdn/{MIGDKAJV.js → D6V467V3.js} +2 -2
- package/dist/cdn/{7FAAPCCQ.js → DA4SYBHI.js} +2 -2
- package/dist/cdn/{PCMDC5D4.js → DAEEZHQU.js} +2 -2
- package/dist/cdn/{M7TLDDXL.js → DDHKCPL2.js} +2 -2
- package/dist/cdn/{SOOMKDH4.js → DF7VTWZJ.js} +2 -2
- package/dist/cdn/{DGJLU7PZ.js → DUCJW7ID.js} +2 -2
- package/dist/cdn/{KEX6VMQI.js → DXMBV7SW.js} +2 -2
- package/dist/cdn/{3KAXHJ4V.js → E3MGBBIE.js} +2 -2
- package/dist/cdn/{FVWC7GO5.js → EASP7BF2.js} +2 -2
- package/dist/cdn/{GUMHTTVW.js → EH3J7T4D.js} +2 -2
- package/dist/cdn/{UOHHLTSC.js → EHJ4GHWX.js} +2 -2
- package/dist/cdn/{SEKBBL22.js → EPNP5SPW.js} +2 -2
- package/dist/cdn/{XK3B3L72.js → EUFRRP2A.js} +2 -2
- package/dist/cdn/{FNOPOXYO.js → EVC5UHGB.js} +2 -2
- package/dist/cdn/{YDWXM66H.js → EXXR2ZCR.js} +2 -2
- package/dist/cdn/{HKHW47OZ.js → F2LB3AR7.js} +2 -2
- package/dist/cdn/{UYVB2ETF.js → FEZXTBXN.js} +2 -2
- package/dist/cdn/{5Q2VT6JH.js → FGSCBQV2.js} +1 -1
- package/dist/cdn/{6XX4MMZS.js → FPINXNLD.js} +2 -2
- package/dist/cdn/{IPJSZDYC.js → FUPB76D5.js} +2 -2
- package/dist/cdn/{QTIBDJ5G.js → FXYG36KV.js} +2 -2
- package/dist/cdn/{LVTAJCFQ.js → GBUGYEOB.js} +2 -2
- package/dist/cdn/{OELNLVVQ.js → GLSMUUOP.js} +2 -2
- package/dist/cdn/{HME5MF3Y.js → GM45QBXL.js} +2 -2
- package/dist/cdn/{F77DF3NE.js → GPFMJZXP.js} +2 -2
- package/dist/cdn/{OD5UPZYV.js → GQ3XWARK.js} +2 -2
- package/dist/cdn/{4AOHBO5L.js → GUKLCCCA.js} +2 -2
- package/dist/cdn/{JGMB4PC4.js → GVSTSI2E.js} +2 -2
- package/dist/cdn/{JPWTPLSO.js → GXC7KPMN.js} +1 -1
- package/dist/cdn/{OFD3KTJJ.js → H2VFEGDH.js} +2 -2
- package/dist/cdn/{5OEN4VNG.js → H3KAALSG.js} +2 -2
- package/dist/cdn/{KCFAVLL6.js → HINMML2Q.js} +2 -2
- package/dist/cdn/{Q5NQ6F5L.js → HLADDAOW.js} +2 -2
- package/dist/cdn/{OXDMTCAX.js → I3FP3GLY.js} +2 -2
- package/dist/cdn/{V6EIZJDG.js → I6ELWVJE.js} +2 -2
- package/dist/cdn/{UBTJXGGB.js → ILOLPABD.js} +2 -2
- package/dist/cdn/{WUIRLCPI.js → INSLT3AQ.js} +2 -2
- package/dist/cdn/{5AHCVMDZ.js → IOGHBXWO.js} +2 -2
- package/dist/cdn/{XIP7VN3N.js → IOX3KOVT.js} +2 -2
- package/dist/cdn/{72QMGTTD.js → ISSD4HBK.js} +2 -2
- package/dist/cdn/{SAHU4FFS.js → J63WWNKP.js} +2 -2
- package/dist/cdn/{5VCBAOBI.js → JNRBRHSP.js} +2 -2
- package/dist/cdn/{YD4EDWEY.js → JQRY7WXD.js} +2 -2
- package/dist/cdn/{CAVUVWFC.js → JSCCP6LB.js} +2 -2
- package/dist/cdn/{VI75LPVP.js → JV3U2DOX.js} +2 -2
- package/dist/cdn/{734DQKAV.js → K6L4A4Q3.js} +2 -2
- package/dist/cdn/{DZNYZS74.js → KE337G4G.js} +2 -2
- package/dist/cdn/{DXFSBCRO.js → KEMUJHW6.js} +2 -2
- package/dist/cdn/{JFNCXXRR.js → KI7KJZCJ.js} +2 -2
- package/dist/cdn/{UFNUYKNL.js → KJS25OAG.js} +2 -2
- package/dist/cdn/{A47TXIKG.js → KSHZMRQG.js} +2 -2
- package/dist/cdn/{EQJWKPJT.js → KYBQAYQA.js} +1 -1
- package/dist/cdn/{GL6M37FA.js → L2JD2LSH.js} +2 -2
- package/dist/cdn/{BHF34543.js → LJNDVCBF.js} +2 -2
- package/dist/cdn/{QJKCZ3CA.js → LTUMIL6S.js} +2 -2
- package/dist/cdn/{UDINZZ6W.js → LVST57TO.js} +2 -2
- package/dist/cdn/{LYPM24MR.js → LZF2STSA.js} +2 -2
- package/dist/cdn/{X44X6QK2.js → MDTMHG2W.js} +2 -2
- package/dist/cdn/{MSM7YSTK.js → MHB7OHRK.js} +2 -2
- package/dist/cdn/{TLMM5FH4.js → MHDA2QRN.js} +2 -2
- package/dist/cdn/{MMZX2L6E.js → MMLHNWUY.js} +2 -2
- package/dist/cdn/{BRR5W6EP.js → MZMXFAPC.js} +2 -2
- package/dist/cdn/{D6GO7LD7.js → N23GLT2B.js} +2 -2
- package/dist/cdn/{GBSXFQBW.js → N3LKXP4V.js} +2 -2
- package/dist/cdn/{L36B4TN5.js → N6QJEUC2.js} +2 -2
- package/dist/cdn/{IKNL3FGX.js → NBGMFZNE.js} +2 -2
- package/dist/cdn/{32C6E7YD.js → NWITXGI6.js} +2 -2
- package/dist/cdn/{MJ42WY2I.js → O4QTNREG.js} +2 -2
- package/dist/cdn/{VLZJVTEI.js → OAGELGRV.js} +2 -2
- package/dist/cdn/{3PN7EWIL.js → OBNISBMG.js} +2 -2
- package/dist/cdn/{HGLJTVEX.js → OD5TI34G.js} +2 -2
- package/dist/cdn/{ZSYYQTDB.js → OGT4ZPTB.js} +2 -2
- package/dist/cdn/{UC44DOG4.js → OL4V2LCJ.js} +1 -1
- package/dist/cdn/{UWVEBAAX.js → OZ5OSRWG.js} +2 -2
- package/dist/cdn/{65YO5VM2.js → OZRMXKKB.js} +2 -2
- package/dist/cdn/{MXAZHZJF.js → P3S66S5G.js} +2 -2
- package/dist/cdn/{TUFD2HGC.js → P5742A56.js} +2 -2
- package/dist/cdn/{5NH3VUIG.js → P5HB3LA7.js} +2 -2
- package/dist/cdn/{DO4I67GB.js → PEWZ2HVV.js} +2 -2
- package/dist/cdn/{2HCTVR7O.js → PMTBLUP7.js} +2 -2
- package/dist/cdn/{X5TXSQZR.js → PYN5CSOS.js} +2 -2
- package/dist/cdn/{BREMZN66.js → Q3NHTBWD.js} +2 -2
- package/dist/cdn/{OIXL46GU.js → QBWC7LAR.js} +2 -2
- package/dist/cdn/{XYEMMMVK.js → QC2ZWGRB.js} +2 -2
- package/dist/cdn/{XTBQKUDL.js → QLQVBBQK.js} +2 -2
- package/dist/cdn/{YTOEWNJD.js → QRDXM5EF.js} +2 -2
- package/dist/cdn/{VFRALMEA.js → QUJ7QGV4.js} +2 -2
- package/dist/cdn/{MJUDIAOM.js → REC7DSRW.js} +2 -2
- package/dist/cdn/{JGTSIH2J.js → ROV53TVX.js} +2 -2
- package/dist/cdn/{QBDFJFOU.js → RQZHSMGM.js} +2 -2
- package/dist/cdn/{HVYXMUC7.js → RRJ7Z2UR.js} +2 -2
- package/dist/cdn/{TMPUTF7Q.js → SGZNOKU7.js} +2 -2
- package/dist/cdn/{NBYFDYMQ.js → SHANXIVW.js} +2 -2
- package/dist/cdn/{NDCDFMBB.js → SL46PPY3.js} +2 -2
- package/dist/cdn/{XXB2IVVN.js → T5JCE5W6.js} +2 -2
- package/dist/cdn/{7OHMTKL7.js → T7J3QZ5E.js} +1 -1
- package/dist/cdn/{QYY72YTP.js → TF5E6CEO.js} +2 -2
- package/dist/cdn/{DAARMUCX.js → TPPBBROF.js} +2 -2
- package/dist/cdn/{HW37QZVH.js → TTVI5H3R.js} +2 -2
- package/dist/cdn/{RD2JZQTV.js → TVP5AIVR.js} +2 -2
- package/dist/cdn/{PORSRTJ5.js → TYRRU7YN.js} +2 -2
- package/dist/cdn/{VEGCQRNR.js → UKW6KIMA.js} +2 -2
- package/dist/cdn/{FBWCXDCN.js → V2R6YWWK.js} +2 -2
- package/dist/cdn/{LWYXK5MV.js → VDPCKCJN.js} +2 -2
- package/dist/cdn/{SVYL2K77.js → VFAT6LAT.js} +2 -2
- package/dist/cdn/{WIDSTKM3.js → VIS2LGAH.js} +2 -2
- package/dist/cdn/{EQL7GXPL.js → VPDVS7VG.js} +2 -2
- package/dist/cdn/{7KF7NAKI.js → W66GSQB2.js} +2 -2
- package/dist/cdn/{YSEZCOK4.js → WT4T26J6.js} +2 -2
- package/dist/cdn/{RJCQB7XJ.js → WTUJRVZ5.js} +2 -2
- package/dist/cdn/{5TRDG54O.js → WX2YEXLE.js} +2 -2
- package/dist/cdn/{PZAAMFVD.js → WZQRA6H6.js} +2 -2
- package/dist/cdn/{Z5ZFLSF5.js → X35DT766.js} +2 -2
- package/dist/cdn/{VLNUREQL.js → X6ARQSHP.js} +2 -2
- package/dist/cdn/{FI5OY7BV.js → XHZSDDVO.js} +2 -2
- package/dist/cdn/{XVOWJBAJ.js → XIKFZQDF.js} +2 -2
- package/dist/cdn/{UJLCJ6DP.js → XJC6YRZY.js} +2 -2
- package/dist/cdn/{QWVU6BGL.js → XRPPBT6M.js} +2 -2
- package/dist/cdn/{6HEVULDA.js → XXDWHSZX.js} +2 -2
- package/dist/cdn/{VORL544V.js → XYA34TE7.js} +2 -2
- package/dist/cdn/{XN6YEDDR.js → Y4KID2XJ.js} +2 -2
- package/dist/cdn/{DAIAZFTI.js → Y7REB537.js} +2 -2
- package/dist/cdn/{Q7T6FNTE.js → YESNSM4K.js} +2 -2
- package/dist/cdn/{AUB3EKZU.js → YMAODPRK.js} +2 -2
- package/dist/cdn/{LCTS6HPV.js → YQLBMTOE.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/next/chart-library-elements/series/bar-chart/index.d.ts +1 -1
- 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 +1 -1
- 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/interfaces.js +1 -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-data.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.d.ts +510 -2
- package/dist/components/arcgis-chart/customElement.js +426 -425
- 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
|
@@ -56,7 +56,7 @@ import { n as bl } from "../../chunks/chart-ui-utils2.js";
|
|
|
56
56
|
import { p as yl, i as Sl, u as nh, a as sh, r as rh } from "../../chunks/config-update.js";
|
|
57
57
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
58
58
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
59
|
-
v5.0.0-next.
|
|
59
|
+
v5.0.0-next.44 */
|
|
60
60
|
var Eo = { exports: {} }, is, xl;
|
|
61
61
|
function lh() {
|
|
62
62
|
if (xl) return is;
|
|
@@ -97,7 +97,7 @@ function dh() {
|
|
|
97
97
|
idle: C,
|
|
98
98
|
length: p,
|
|
99
99
|
getQueue: S,
|
|
100
|
-
unshift:
|
|
100
|
+
unshift: L,
|
|
101
101
|
empty: i,
|
|
102
102
|
kill: k,
|
|
103
103
|
killAndDrain: I,
|
|
@@ -134,7 +134,7 @@ function dh() {
|
|
|
134
134
|
var B = l.get();
|
|
135
135
|
B.context = n, B.release = T, B.value = w, B.callback = R || i, B.errorHandler = f, u === g.concurrency || g.paused ? c ? (c.next = B, c = B) : (d = B, c = B, g.saturated()) : (u++, s.call(n, B.value, B.worked));
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function L(w, R) {
|
|
138
138
|
var B = l.get();
|
|
139
139
|
B.context = n, B.release = T, B.value = w, B.callback = R || i, u === g.concurrency || g.paused ? d ? (B.next = d, d = B) : (d = B, c = B, g.saturated()) : (u++, s.call(n, B.value, B.worked));
|
|
140
140
|
}
|
|
@@ -1283,10 +1283,10 @@ function Gh(t) {
|
|
|
1283
1283
|
selectedMaxFieldWithOutliers: x,
|
|
1284
1284
|
selectedMinFieldWithOutliers: C,
|
|
1285
1285
|
iqrField: v
|
|
1286
|
-
} = Hh({ chartSubType: s, yAxisField: n, splitBy: o, showOutliers: r }),
|
|
1286
|
+
} = Hh({ chartSubType: s, yAxisField: n, splitBy: o, showOutliers: r }), L = l[g], T = u[g], k = l[y], I = l[h], O = u[S] ?? u[C], w = u[p] ?? u[x];
|
|
1287
1287
|
let R = zh({ oneSelectedItem: u, dataContext: l, xAxisField: a });
|
|
1288
1288
|
if (R)
|
|
1289
|
-
switch (Nh(u,
|
|
1289
|
+
switch (Nh(u, L)) {
|
|
1290
1290
|
case Hi.OutlierToOutlier:
|
|
1291
1291
|
R = Ph({ oneSelectedItem: u, dataContext: l, selectedOutlierKey: g });
|
|
1292
1292
|
break;
|
|
@@ -1297,7 +1297,7 @@ function Gh(t) {
|
|
|
1297
1297
|
R = Wh({
|
|
1298
1298
|
selectedMin: O,
|
|
1299
1299
|
selectedMax: w,
|
|
1300
|
-
elementOutlierValue:
|
|
1300
|
+
elementOutlierValue: L,
|
|
1301
1301
|
oneSelectedItem: u,
|
|
1302
1302
|
iqrField: v
|
|
1303
1303
|
});
|
|
@@ -1371,14 +1371,14 @@ function In(t) {
|
|
|
1371
1371
|
else if (C !== void 0 && C in S && C in p)
|
|
1372
1372
|
x = S[C] === p[C];
|
|
1373
1373
|
else if (G.dateBinningRange in p && typeof S[n] == "number") {
|
|
1374
|
-
const v = S[n],
|
|
1374
|
+
const v = S[n], L = S[G.dateBinningRange], T = Array.isArray(L) && Number.isFinite(L[0]) && Number.isFinite(L[1]), [k, I] = T ? L : [0, 0], [O, w] = p[G.dateBinningRange], R = p[G.lastTemporalBin] === !0 ? v <= w : v < w;
|
|
1375
1375
|
x = (T ? k < w && O < I : v >= O && R) && s in S && Number.isFinite(S[s]);
|
|
1376
1376
|
} else {
|
|
1377
1377
|
const v = (k) => {
|
|
1378
1378
|
let I = k[G.typeOrDomainIdValue];
|
|
1379
1379
|
return I === void 0 && (I = k[c]), I === void 0 && (I = k[n]), I = I === null ? G.nullValue : I, I;
|
|
1380
|
-
},
|
|
1381
|
-
x = v(S) ===
|
|
1380
|
+
}, L = v(p);
|
|
1381
|
+
x = v(S) === L && s in S;
|
|
1382
1382
|
}
|
|
1383
1383
|
return x;
|
|
1384
1384
|
};
|
|
@@ -1399,9 +1399,9 @@ function In(t) {
|
|
|
1399
1399
|
return o !== void 0 && o in p && o in S ? x = S[o] === p[o] : x = S[n] === p[n] && S[s] === p[s], x;
|
|
1400
1400
|
};
|
|
1401
1401
|
else {
|
|
1402
|
-
const { dataContextXMinField: S, dataContextXMaxField: x, dataContextYMinField: C, dataContextYMaxField: v } = G.scatterplotAggregationFields, { [S]:
|
|
1403
|
-
const B = R[n] ?? Number.NaN, N =
|
|
1404
|
-
return
|
|
1402
|
+
const { dataContextXMinField: S, dataContextXMaxField: x, dataContextYMinField: C, dataContextYMaxField: v } = G.scatterplotAggregationFields, { [S]: L, [x]: T } = p, k = n !== s ? p[C] : L, I = n !== s ? p[v] : T, O = (R) => {
|
|
1403
|
+
const B = R[n] ?? Number.NaN, N = L ?? Number.NaN, V = T ?? Number.NaN;
|
|
1404
|
+
return L === T ? B === N : (B ?? Number.NaN) >= N && (B ?? Number.NaN) < V;
|
|
1405
1405
|
}, w = (R) => {
|
|
1406
1406
|
const B = R[s] ?? Number.NaN, N = k ?? Number.NaN, V = I ?? Number.NaN;
|
|
1407
1407
|
return k === I ? B === N : B >= N && B < V;
|
|
@@ -1415,11 +1415,11 @@ function In(t) {
|
|
|
1415
1415
|
let S = !1;
|
|
1416
1416
|
const { minValue: x, maxValue: C } = i, { isLastBin: v } = i;
|
|
1417
1417
|
if (n !== void 0 && n in p) {
|
|
1418
|
-
const
|
|
1419
|
-
S = typeof
|
|
1418
|
+
const L = p[n];
|
|
1419
|
+
S = typeof L == "number" && L >= x && (v && L <= C || !v && L < C);
|
|
1420
1420
|
} else if ("minValue" in p && "maxValue" in p) {
|
|
1421
|
-
const { minValue:
|
|
1422
|
-
S = !(x >= T || C <=
|
|
1421
|
+
const { minValue: L, maxValue: T } = p;
|
|
1422
|
+
S = !(x >= T || C <= L);
|
|
1423
1423
|
}
|
|
1424
1424
|
return S;
|
|
1425
1425
|
};
|
|
@@ -1428,8 +1428,8 @@ function In(t) {
|
|
|
1428
1428
|
n !== void 0 && (f = (p) => {
|
|
1429
1429
|
const S = i, x = Ti(S), C = [S];
|
|
1430
1430
|
return x && C.push(...wo({ groupOfSlicesDataContext: S }) ?? []), C.some(
|
|
1431
|
-
(
|
|
1432
|
-
sliceDataContext:
|
|
1431
|
+
(L) => fr({
|
|
1432
|
+
sliceDataContext: L,
|
|
1433
1433
|
selectionDataContext: p,
|
|
1434
1434
|
layerOidField: o,
|
|
1435
1435
|
xAxisField: n
|
|
@@ -1972,8 +1972,8 @@ function gr(t) {
|
|
|
1972
1972
|
return (p, S, x) => {
|
|
1973
1973
|
let C = "";
|
|
1974
1974
|
if (S !== void 0 && x !== void 0) {
|
|
1975
|
-
const v = `${s ?? ""}${f.format(S)}${r ?? ""}`,
|
|
1976
|
-
Number.isFinite(S) ? o === !0 && n === !0 ? C = `${
|
|
1975
|
+
const v = `${s ?? ""}${f.format(S)}${r ?? ""}`, L = `${l ?? ""}${g.format(Math.abs(x / 100))}${d ?? ""}`;
|
|
1976
|
+
Number.isFinite(S) ? o === !0 && n === !0 ? C = `${L}${h}(${v})` : o === !0 ? C = v : n === !0 && (C = L) : C = "";
|
|
1977
1977
|
}
|
|
1978
1978
|
return C;
|
|
1979
1979
|
};
|
|
@@ -2035,7 +2035,7 @@ function iu(t) {
|
|
|
2035
2035
|
ph(e.uid, {
|
|
2036
2036
|
pieChartLegendValueLabelsFormatter: C
|
|
2037
2037
|
});
|
|
2038
|
-
const
|
|
2038
|
+
const L = D(n?.uid ?? 0, "config")?.legend?.position ?? A.legendProperties.position, T = a?.valueLabelMaxWidth, k = Kh(e, L), I = {
|
|
2039
2039
|
type: b.Text,
|
|
2040
2040
|
visible: s,
|
|
2041
2041
|
content: {
|
|
@@ -2269,16 +2269,16 @@ function ao(t, e) {
|
|
|
2269
2269
|
if (a !== void 0) {
|
|
2270
2270
|
const o = D(t.uid, "config"), n = D(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, d = o?.legend ? o.legend.visible ?? !0 : !1, c = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, u = ve({ childId: $n, parent: t }), f = u instanceof Gi && s ? u.height() : 0, g = ve({ childId: mr, parent: t }), h = g instanceof Gi && r ? g.height() : 0, y = ve({ childId: Dn, parent: t }), p = y instanceof Gi && l ? y.height() : 0, S = ve({ childId: ga, parent: a }), x = S instanceof xi && d && c ? S?.height() : 0, C = o?.legend?.position ?? A.legendProperties.position;
|
|
2271
2271
|
let v;
|
|
2272
|
-
const
|
|
2272
|
+
const L = e.get("verticalScrollbar");
|
|
2273
2273
|
let T = Te, k = Te, I = i.verticalLayout, O = Te, w = Te, R = Te, B = Te, N = 0, V;
|
|
2274
2274
|
const z = e.height() + x;
|
|
2275
2275
|
let H = 0, J = 0, ee = 0, te = 0, _, q;
|
|
2276
2276
|
switch (C) {
|
|
2277
2277
|
case X.Left:
|
|
2278
|
-
I = i.verticalLayout, O = Je, R = Je, w = Je, B = Je, V = void 0, T = Je, k = Je, H = a.width(), N = f + h, z < t.seriesContainer.height() && (N += t.seriesContainer.height() / 2 - z / 2), v = Tl(e),
|
|
2278
|
+
I = i.verticalLayout, O = Je, R = Je, w = Je, B = Je, V = void 0, T = Je, k = Je, H = a.width(), N = f + h, z < t.seriesContainer.height() && (N += t.seriesContainer.height() / 2 - z / 2), v = Tl(e), L?.width() !== void 0 && v && L.isVisible() && (v += L.width() + A.scrollbarPadding), n && (_ = ke, q = v);
|
|
2279
2279
|
break;
|
|
2280
2280
|
case X.Right:
|
|
2281
|
-
I = i.verticalLayout, O = ke, R = ke, w = Je, B = Je, V = void 0, T = Je, k = Je, J = a.width(), N = f + h, z < t.seriesContainer.height() && (N += t.seriesContainer.height() / 2 - z / 2), v = Tl(e),
|
|
2281
|
+
I = i.verticalLayout, O = ke, R = ke, w = Je, B = Je, V = void 0, T = Je, k = Je, J = a.width(), N = f + h, z < t.seriesContainer.height() && (N += t.seriesContainer.height() / 2 - z / 2), v = Tl(e), L?.width() !== void 0 && v && L.isVisible() && (v += L.width() + A.scrollbarPadding), n && (_ = ke, q = v);
|
|
2282
2282
|
break;
|
|
2283
2283
|
case X.Top:
|
|
2284
2284
|
I = i.gridLayout, O = Te, R = Te, w = Je, B = Je, V = ke, T = Te, k = Te, ee += z, N += f + h, v = void 0, n && (_ = void 0);
|
|
@@ -2731,10 +2731,10 @@ function Ap(t, e) {
|
|
|
2731
2731
|
valueSuffix: u,
|
|
2732
2732
|
percentagePrefix: f,
|
|
2733
2733
|
percentageSuffix: g
|
|
2734
|
-
})("", y, p),
|
|
2735
|
-
if (
|
|
2734
|
+
})("", y, p), L = !pe(h) && (r ?? A.pieChart.displayCategoryOnTooltip);
|
|
2735
|
+
if (L && (S = `[bold]${h}[/]`), !pe(v)) {
|
|
2736
2736
|
const T = Ms(v);
|
|
2737
|
-
S =
|
|
2737
|
+
S = L ? `${S}
|
|
2738
2738
|
${T}` : T;
|
|
2739
2739
|
}
|
|
2740
2740
|
}
|
|
@@ -3266,10 +3266,10 @@ function Np(t) {
|
|
|
3266
3266
|
if (g !== void 0) {
|
|
3267
3267
|
const { dataTooltipVisible: h } = n, y = o instanceof ye ? n.markerVisible : void 0;
|
|
3268
3268
|
if (h !== !1 && y !== !1) {
|
|
3269
|
-
const p = g.axes, S = p[0].valueFormat, x = p[1].valueFormat, C = Y(g.series), v = Et(g) === $e.Stacked100,
|
|
3269
|
+
const p = g.axes, S = p[0].valueFormat, x = p[1].valueFormat, C = Y(g.series), v = Et(g) === $e.Stacked100, L = mt(a)?.objectIdField, T = we(i, n.x), k = di(T, p[0].title?.content.text), I = fu({
|
|
3270
3270
|
config: g,
|
|
3271
3271
|
fieldList: i,
|
|
3272
|
-
objectIdField:
|
|
3272
|
+
objectIdField: L,
|
|
3273
3273
|
seriesIndex: s,
|
|
3274
3274
|
utilsStrings: e,
|
|
3275
3275
|
isStacked100: v
|
|
@@ -3392,9 +3392,9 @@ function Vp(t) {
|
|
|
3392
3392
|
), C = x ? x(c) : c, v = ge(
|
|
3393
3393
|
a.uid,
|
|
3394
3394
|
"tooltipValueYNumberFormatCallback"
|
|
3395
|
-
),
|
|
3395
|
+
), L = v ? v(u) : u;
|
|
3396
3396
|
let T = `[bold]${y}${d} [/]${C}
|
|
3397
|
-
[bold]${S}${d} [/]${
|
|
3397
|
+
[bold]${S}${d} [/]${L}`;
|
|
3398
3398
|
if (f !== void 0 && i.sizePolicy?.field !== void 0) {
|
|
3399
3399
|
const k = we(o, i.sizePolicy?.field), I = v ? v(f) : f;
|
|
3400
3400
|
T += `
|
|
@@ -4640,9 +4640,9 @@ function $b(t) {
|
|
|
4640
4640
|
return o.forEach((x, C) => {
|
|
4641
4641
|
const v = x instanceof go || x instanceof Ma ? x : x.bullets?.[0]?.get("sprite");
|
|
4642
4642
|
if (v !== void 0) {
|
|
4643
|
-
let
|
|
4644
|
-
if (
|
|
4645
|
-
dataContext:
|
|
4643
|
+
let L = x instanceof go || x instanceof Ma ? v.dataItem?.dataContext : x.dataContext;
|
|
4644
|
+
if (L !== void 0 && c === b.BoxPlotSeries && L[A.boxPlot.boxPlotOutlierId] !== !0 && (L = Li({
|
|
4645
|
+
dataContext: L,
|
|
4646
4646
|
yAxisField: l,
|
|
4647
4647
|
yList: S,
|
|
4648
4648
|
xAxisField: r,
|
|
@@ -4652,7 +4652,7 @@ function $b(t) {
|
|
|
4652
4652
|
showOutliers: f,
|
|
4653
4653
|
isFeatureCollectionLayer: yi(g)
|
|
4654
4654
|
})), In({
|
|
4655
|
-
elementDataContext:
|
|
4655
|
+
elementDataContext: L,
|
|
4656
4656
|
options: a,
|
|
4657
4657
|
selectionDataItems: n,
|
|
4658
4658
|
layerOidField: s,
|
|
@@ -4663,12 +4663,12 @@ function $b(t) {
|
|
|
4663
4663
|
chartSubType: u,
|
|
4664
4664
|
showOutliers: f
|
|
4665
4665
|
}))
|
|
4666
|
-
if (h.push(v), y.push(C), v?.dataItem instanceof ea &&
|
|
4667
|
-
p.push(
|
|
4666
|
+
if (h.push(v), y.push(C), v?.dataItem instanceof ea && L !== void 0)
|
|
4667
|
+
p.push(L);
|
|
4668
4668
|
else {
|
|
4669
4669
|
const k = /* @__PURE__ */ new Set();
|
|
4670
|
-
c === b.PieSeries && Ti(
|
|
4671
|
-
groupOfSlicesDataContext:
|
|
4670
|
+
c === b.PieSeries && Ti(L) ? (wo({
|
|
4671
|
+
groupOfSlicesDataContext: L
|
|
4672
4672
|
}) ?? []).forEach((O) => {
|
|
4673
4673
|
n.forEach((w) => {
|
|
4674
4674
|
fr({
|
|
@@ -4678,7 +4678,7 @@ function $b(t) {
|
|
|
4678
4678
|
xAxisField: r
|
|
4679
4679
|
}) && k.add(O);
|
|
4680
4680
|
});
|
|
4681
|
-
}) : k.add(
|
|
4681
|
+
}) : k.add(L), Array.from(k)?.forEach((I) => {
|
|
4682
4682
|
const O = Li({
|
|
4683
4683
|
dataContext: I,
|
|
4684
4684
|
yAxisField: l,
|
|
@@ -4712,7 +4712,7 @@ function Db(t) {
|
|
|
4712
4712
|
rotationChanged: c
|
|
4713
4713
|
} = t, { chart: u } = e;
|
|
4714
4714
|
if (u instanceof Ba) {
|
|
4715
|
-
const f = D(u.uid, "options"), { filterBySelection: g, selectionData: h, returnSelectionIndexes: y, returnSelectionOIDs: p } = f ?? {}, { selectionIndexes: S } = h ?? {}, x = D(u.uid, "config"), C = qe(x), v = E(x?.series),
|
|
4715
|
+
const f = D(u.uid, "options"), { filterBySelection: g, selectionData: h, returnSelectionIndexes: y, returnSelectionOIDs: p } = f ?? {}, { selectionIndexes: S } = h ?? {}, x = D(u.uid, "config"), C = qe(x), v = E(x?.series), L = Y(x?.series), T = kb(e);
|
|
4716
4716
|
if (g !== !0 && x !== void 0) {
|
|
4717
4717
|
let k;
|
|
4718
4718
|
a !== void 0 && (k = mt(a).objectIdField);
|
|
@@ -4731,7 +4731,7 @@ function Db(t) {
|
|
|
4731
4731
|
B = Md({
|
|
4732
4732
|
itemsA: R,
|
|
4733
4733
|
itemsB: I,
|
|
4734
|
-
isPieFromFields:
|
|
4734
|
+
isPieFromFields: L === P.PieFromFields,
|
|
4735
4735
|
x: r,
|
|
4736
4736
|
y: l,
|
|
4737
4737
|
outStatisticFieldName: x.series[0].query?.outStatistics?.[0]?.outStatisticFieldName
|
|
@@ -4758,7 +4758,7 @@ function Db(t) {
|
|
|
4758
4758
|
splitBy: d
|
|
4759
4759
|
});
|
|
4760
4760
|
let W = D(u.uid, "computedSelectionDataItems") ?? [];
|
|
4761
|
-
if (W.push(...V), x.series.length > 1 &&
|
|
4761
|
+
if (W.push(...V), x.series.length > 1 && L !== P.BarAndLineNoAggregation && L !== P.BarAndLineSplitByNoAggregation && (W = Nd({
|
|
4762
4762
|
data: W,
|
|
4763
4763
|
x: x.series[0].x,
|
|
4764
4764
|
splitByField: Ii(x.series[0].query?.where)
|
|
@@ -4784,7 +4784,7 @@ function Db(t) {
|
|
|
4784
4784
|
yAxisField: l,
|
|
4785
4785
|
chartType: v,
|
|
4786
4786
|
splitBy: d,
|
|
4787
|
-
chartSubType:
|
|
4787
|
+
chartSubType: L
|
|
4788
4788
|
});
|
|
4789
4789
|
};
|
|
4790
4790
|
T.forEach((V) => {
|
|
@@ -4853,14 +4853,14 @@ async function Sr(t, e) {
|
|
|
4853
4853
|
a !== void 0 && (y = (await It(a)).find((S) => S.name === d)?.type);
|
|
4854
4854
|
try {
|
|
4855
4855
|
const p = /* @__PURE__ */ new Set(), S = [], x = /* @__PURE__ */ new Map(), C = [];
|
|
4856
|
-
let v = [],
|
|
4856
|
+
let v = [], L = 0;
|
|
4857
4857
|
if (t.series.each((T, k) => {
|
|
4858
4858
|
const { seriesConfig: I } = Rn(T, i), O = I?.query?.where ?? "", w = I?.type === b.BoxPlotSeries ? I.y.toString() : Ro(T);
|
|
4859
4859
|
let R;
|
|
4860
4860
|
T instanceof ye ? R = T.dataItems : T instanceof Ue ? R = T.columns.values : T instanceof bt && (R = T.slices.values), R?.forEach((B, N) => {
|
|
4861
4861
|
const V = B instanceof go || B instanceof Ma ? B : B.bullets?.[0]?.get("sprite");
|
|
4862
4862
|
if (V !== void 0 && gi(V.uid, "selected") === !0) {
|
|
4863
|
-
|
|
4863
|
+
L += 1;
|
|
4864
4864
|
let W = B instanceof go || B instanceof Ma ? B.dataItem?.dataContext : B.dataContext;
|
|
4865
4865
|
if (W !== void 0) {
|
|
4866
4866
|
if (W = Li({
|
|
@@ -4900,7 +4900,7 @@ async function Sr(t, e) {
|
|
|
4900
4900
|
}
|
|
4901
4901
|
}
|
|
4902
4902
|
});
|
|
4903
|
-
}),
|
|
4903
|
+
}), L === 0)
|
|
4904
4904
|
Zi({ chart: t, selectionSource: e });
|
|
4905
4905
|
else {
|
|
4906
4906
|
if (o?.returnSelectionOIDs !== !1 && a !== void 0 && C.length > 0) {
|
|
@@ -4911,7 +4911,7 @@ async function Sr(t, e) {
|
|
|
4911
4911
|
queryObject: a,
|
|
4912
4912
|
queryConfig: I
|
|
4913
4913
|
});
|
|
4914
|
-
if (C.length ===
|
|
4914
|
+
if (C.length === L)
|
|
4915
4915
|
v = O;
|
|
4916
4916
|
else
|
|
4917
4917
|
for (let w = 0; w < O.length; w += 1)
|
|
@@ -5581,7 +5581,7 @@ function ty(t) {
|
|
|
5581
5581
|
// using either the provided data (at creation or after a data update) or the current series data
|
|
5582
5582
|
chartData: p ?? l.series.getIndex(0)?.data.values ?? [],
|
|
5583
5583
|
filteredSeriesIds: y
|
|
5584
|
-
}), { minX: x, maxX: C, minY: v, maxY:
|
|
5584
|
+
}), { minX: x, maxX: C, minY: v, maxY: L } = S, [T, k] = g ? [x ?? Number.NaN, C ?? Number.NaN] : [v, L];
|
|
5585
5585
|
u === b.BarSeries || u === b.HistogramSeries && !g || u === b.ComboLineAndBarSeries || (u === b.LineSeries || u === b.RadarSeries) && f === $e.Stacked && !g ? (s = Math.min(T, A.treatZeroValueAs), r = Math.max(k, A.treatZeroValueAs)) : (s = T, r = k);
|
|
5586
5586
|
}
|
|
5587
5587
|
s = i ?? s, r = a ?? r;
|
|
@@ -5784,10 +5784,10 @@ function ry(t, e) {
|
|
|
5784
5784
|
const d = D(s.uid, "config"), c = D(s.uid, "isRotated"), f = !Fi(t.get("renderer"), c) ? 1 : 0, h = d?.axes?.[f]?.guides;
|
|
5785
5785
|
let y = o, p = n;
|
|
5786
5786
|
if (t instanceof Ze) {
|
|
5787
|
-
let
|
|
5787
|
+
let L;
|
|
5788
5788
|
if (s !== void 0) {
|
|
5789
5789
|
const T = D(t.chart?.uid ?? Number.NaN, "formatLocale");
|
|
5790
|
-
|
|
5790
|
+
L = wt({
|
|
5791
5791
|
root: t.root,
|
|
5792
5792
|
type: b.DateAxisFormat,
|
|
5793
5793
|
// iLocale: chart.language.locale, // TODO: iLocale
|
|
@@ -5795,10 +5795,10 @@ function ry(t, e) {
|
|
|
5795
5795
|
formatLocale: T
|
|
5796
5796
|
});
|
|
5797
5797
|
const k = d?.axes?.[0]?.valueFormat?.type === b.DateAxisFormat ? d.axes[0].valueFormat.intlOptions : void 0;
|
|
5798
|
-
y =
|
|
5798
|
+
y = L.format(o, k), n !== void 0 && (p = L.format(n, k));
|
|
5799
5799
|
}
|
|
5800
5800
|
} else if (t instanceof Fe && !(o instanceof Date) && !(n instanceof Date)) {
|
|
5801
|
-
const
|
|
5801
|
+
const L = h?.find((O) => O.name === a), { start: T, end: k } = Wu(t, L);
|
|
5802
5802
|
Number.isFinite(T) && (y = T), Number.isFinite(k) && (p = k);
|
|
5803
5803
|
const I = qi(t.uid, "numberFormatter") ?? ((O) => sc.new(r, {}).format(O));
|
|
5804
5804
|
y = I(y), p !== void 0 && (p = I(p));
|
|
@@ -6348,15 +6348,15 @@ async function Ny(t) {
|
|
|
6348
6348
|
queryConfig: D(e.uid, "queryConfig")
|
|
6349
6349
|
});
|
|
6350
6350
|
y.minimum = x.minimum, y.maximum = x.maximum;
|
|
6351
|
-
const { min: C, max: v } = zu(y),
|
|
6352
|
-
Ha(p) ? (
|
|
6353
|
-
axisConfig:
|
|
6351
|
+
const { min: C, max: v } = zu(y), L = { ...y };
|
|
6352
|
+
Ha(p) ? (L.minimum = 0, L.maximum = 1, Hu({
|
|
6353
|
+
axisConfig: L,
|
|
6354
6354
|
axisMin: y.minimum,
|
|
6355
6355
|
axisMax: y.maximum
|
|
6356
|
-
})) : (
|
|
6356
|
+
})) : (L.minimum = C, L.maximum = v), Ar({
|
|
6357
6357
|
chartConfig: i,
|
|
6358
6358
|
axis: h,
|
|
6359
|
-
axisConfig:
|
|
6359
|
+
axisConfig: L,
|
|
6360
6360
|
externalAxisLabelFormatter: n,
|
|
6361
6361
|
utilsStrings: s,
|
|
6362
6362
|
errorStrings: r
|
|
@@ -6603,7 +6603,7 @@ function Ar(t) {
|
|
|
6603
6603
|
} = t, {
|
|
6604
6604
|
visible: C,
|
|
6605
6605
|
lineSymbol: v,
|
|
6606
|
-
title:
|
|
6606
|
+
title: L,
|
|
6607
6607
|
labels: T,
|
|
6608
6608
|
isLogarithmic: k,
|
|
6609
6609
|
grid: I,
|
|
@@ -6636,7 +6636,7 @@ function Ar(t) {
|
|
|
6636
6636
|
horizontalAxisLabelsBehavior: l,
|
|
6637
6637
|
verticalAxisLabelsBehavior: d,
|
|
6638
6638
|
axisLabelsBehaviorChanged: c
|
|
6639
|
-
}), Gy({ axis: e, axisTitleConfig:
|
|
6639
|
+
}), Gy({ axis: e, axisTitleConfig: L, isSecondValueAxis: g }), Zb(e, s), Sy({
|
|
6640
6640
|
axis: e,
|
|
6641
6641
|
chartType: z,
|
|
6642
6642
|
labelConfig: T,
|
|
@@ -6744,7 +6744,7 @@ function Uy(t) {
|
|
|
6744
6744
|
verticalAxisLabelsBehavior: S,
|
|
6745
6745
|
axes: x,
|
|
6746
6746
|
rotated: C
|
|
6747
|
-
} = i, v = E(i.series),
|
|
6747
|
+
} = i, v = E(i.series), L = D(e.uid, "isNonAggregatedChart"), T = e.xAxes.getIndex(0), k = e.yAxes.getIndex(0), I = e.xAxes.getIndex(1) ?? e.yAxes.getIndex(1);
|
|
6748
6748
|
Qi({ chartType: v, axesConfig: x, errorStrings: y });
|
|
6749
6749
|
const O = x?.[C === !0 ? 1 : 0], w = x?.[C === !0 ? 0 : 1];
|
|
6750
6750
|
[
|
|
@@ -6778,7 +6778,7 @@ function Uy(t) {
|
|
|
6778
6778
|
verticalAxisLabelsBehavior: S,
|
|
6779
6779
|
axisLabelsBehaviorChanged: a,
|
|
6780
6780
|
anyGuideAboveChanged: n,
|
|
6781
|
-
isNonAggregatedChart:
|
|
6781
|
+
isNonAggregatedChart: L,
|
|
6782
6782
|
isSecondValueAxis: W,
|
|
6783
6783
|
utilsStrings: h,
|
|
6784
6784
|
chartConfig: i,
|
|
@@ -7218,53 +7218,53 @@ function mS(t) {
|
|
|
7218
7218
|
seriesSymbol: g,
|
|
7219
7219
|
isChartFillSymbol: !0
|
|
7220
7220
|
};
|
|
7221
|
-
let y = {};
|
|
7222
|
-
const
|
|
7221
|
+
let y = {}, p = {};
|
|
7222
|
+
const S = Ed(a);
|
|
7223
7223
|
if (e.columns.length === 0 ? y = gt({
|
|
7224
7224
|
root: l,
|
|
7225
7225
|
seriesIndex: a,
|
|
7226
7226
|
colorMatch: s,
|
|
7227
|
-
seriesSymbol: g ??
|
|
7227
|
+
seriesSymbol: g ?? S,
|
|
7228
7228
|
element: mi.new(l, {}),
|
|
7229
7229
|
isChartFillSymbol: !0
|
|
7230
|
-
}) : e.columns.each((
|
|
7231
|
-
const
|
|
7232
|
-
if (Number.isFinite(
|
|
7230
|
+
}) : e.columns.each((x) => {
|
|
7231
|
+
const C = x.dataItem?.dataContext;
|
|
7232
|
+
if (Number.isFinite(C?.[d])) {
|
|
7233
7233
|
f = Lt({
|
|
7234
|
-
dataItem:
|
|
7234
|
+
dataItem: C,
|
|
7235
7235
|
seriesConfig: i,
|
|
7236
7236
|
chartSubType: n,
|
|
7237
7237
|
colorMatch: s,
|
|
7238
7238
|
rendererType: r
|
|
7239
7239
|
});
|
|
7240
|
-
const v =
|
|
7240
|
+
const v = C[A.xAxisField] === A.nullValue, L = (v && i.nullCategory?.symbol !== void 0 ? i.nullCategory.symbol : g) ?? S;
|
|
7241
7241
|
y = gt({
|
|
7242
7242
|
...h,
|
|
7243
|
-
seriesSymbol:
|
|
7244
|
-
element:
|
|
7243
|
+
seriesSymbol: L,
|
|
7244
|
+
element: x,
|
|
7245
7245
|
colorMatch: s,
|
|
7246
7246
|
rendererSymbol: f
|
|
7247
|
-
}), so(
|
|
7247
|
+
}), so(x, y.stylingInfo), v || (c.add(JSON.stringify(y.symbolWithColorInfo)), p = y);
|
|
7248
7248
|
}
|
|
7249
7249
|
}), o > 1) {
|
|
7250
|
-
const
|
|
7251
|
-
if (
|
|
7250
|
+
const x = Yl(e);
|
|
7251
|
+
if (x !== void 0)
|
|
7252
7252
|
gt({
|
|
7253
7253
|
...h,
|
|
7254
|
-
seriesSymbol: g ??
|
|
7255
|
-
element:
|
|
7254
|
+
seriesSymbol: g ?? S,
|
|
7255
|
+
element: x,
|
|
7256
7256
|
colorMatch: s,
|
|
7257
7257
|
rendererSymbol: f
|
|
7258
|
-
}), so(
|
|
7258
|
+
}), so(x, p.stylingInfo);
|
|
7259
7259
|
else if (e.chart instanceof be) {
|
|
7260
|
-
const
|
|
7261
|
-
|
|
7262
|
-
so(Yl(e),
|
|
7260
|
+
const C = e.chart.children.values.find((v) => v instanceof Qs);
|
|
7261
|
+
C !== void 0 && C.events.once(re.BoundsChanged, () => {
|
|
7262
|
+
so(Yl(e), p.stylingInfo);
|
|
7263
7263
|
});
|
|
7264
7264
|
}
|
|
7265
7265
|
gt({
|
|
7266
7266
|
...h,
|
|
7267
|
-
seriesSymbol:
|
|
7267
|
+
seriesSymbol: p.symbolWithColorInfo ?? g ?? S,
|
|
7268
7268
|
element: e,
|
|
7269
7269
|
colorMatch: s,
|
|
7270
7270
|
rendererSymbol: f,
|
|
@@ -7272,13 +7272,13 @@ function mS(t) {
|
|
|
7272
7272
|
// we prevent the series visibility to be reset, for instance when the series has been hidden from the legend
|
|
7273
7273
|
}), gt({
|
|
7274
7274
|
...h,
|
|
7275
|
-
seriesSymbol:
|
|
7275
|
+
seriesSymbol: p.symbolWithColorInfo ?? g ?? S,
|
|
7276
7276
|
element: e.columns.template,
|
|
7277
7277
|
colorMatch: s,
|
|
7278
7278
|
rendererSymbol: f
|
|
7279
7279
|
});
|
|
7280
7280
|
}
|
|
7281
|
-
return c.size <= 1 && (u =
|
|
7281
|
+
return c.size <= 1 && (u = p.symbolWithColorInfo ?? g), uS(e, d), u;
|
|
7282
7282
|
}
|
|
7283
7283
|
function gS(t) {
|
|
7284
7284
|
const { series: e, seriesSymbolMapForEvent: i, seriesIndexMapper: a, seriesIndex: o, colorMatch: n, rendererType: s } = t, r = t.seriesConfig, l = e.chart;
|
|
@@ -8010,7 +8010,7 @@ function jS(t) {
|
|
|
8010
8010
|
target: e.columns.template,
|
|
8011
8011
|
dataField: "value",
|
|
8012
8012
|
key: "fill",
|
|
8013
|
-
customFunction: (v,
|
|
8013
|
+
customFunction: (v, L, T, k) => {
|
|
8014
8014
|
const I = v.dataItem?.dataContext;
|
|
8015
8015
|
if (v instanceof mi) {
|
|
8016
8016
|
let O, w, R;
|
|
@@ -8023,7 +8023,7 @@ function jS(t) {
|
|
|
8023
8023
|
R ? na({
|
|
8024
8024
|
element: v,
|
|
8025
8025
|
fillSymbol: R
|
|
8026
|
-
}) : (typeof f == "number" && k < f ? { color: O, opacity: w } = x : typeof g == "number" && k > g ? { color: O, opacity: w } = C : (O = pg.interpolate((k -
|
|
8026
|
+
}) : (typeof f == "number" && k < f ? { color: O, opacity: w } = x : typeof g == "number" && k > g ? { color: O, opacity: w } = C : (O = pg.interpolate((k - L) / (T - L), h, p, "rgb"), w = y + (k - L) / (T - L) * (S - y)), O && v.set("fill", O), w !== void 0 && v.set("fillOpacity", w));
|
|
8027
8027
|
}
|
|
8028
8028
|
}
|
|
8029
8029
|
}
|
|
@@ -8527,7 +8527,7 @@ function Ul(t, e) {
|
|
|
8527
8527
|
sliceFromConfig: x,
|
|
8528
8528
|
dataIndex: p,
|
|
8529
8529
|
colorMatch: c
|
|
8530
|
-
}),
|
|
8530
|
+
}), L = Ac({
|
|
8531
8531
|
dataContext: y,
|
|
8532
8532
|
sliceFromConfig: x,
|
|
8533
8533
|
isGroupOfSlices: C,
|
|
@@ -8539,14 +8539,14 @@ function Ul(t, e) {
|
|
|
8539
8539
|
utilsStrings: u
|
|
8540
8540
|
}), T = {
|
|
8541
8541
|
sliceId: S,
|
|
8542
|
-
label:
|
|
8542
|
+
label: L,
|
|
8543
8543
|
fillSymbol: v
|
|
8544
8544
|
};
|
|
8545
8545
|
T.originalLabel = x?.originalLabel ?? (y?.[A.originalCategoryValue] !== void 0 ? y?.[A.originalCategoryValue] : T.label), C ? (h = y[A.pieChart.technicalFieldGroupedSlices], r.sliceGrouping !== void 0 && (g = {
|
|
8546
8546
|
sliceId: r.sliceGrouping.sliceId,
|
|
8547
8547
|
percentageThreshold: r.sliceGrouping.percentageThreshold,
|
|
8548
|
-
label:
|
|
8549
|
-
originalLabel: r.sliceGrouping.originalLabel ??
|
|
8548
|
+
label: L,
|
|
8549
|
+
originalLabel: r.sliceGrouping.originalLabel ?? L,
|
|
8550
8550
|
fillSymbol: v
|
|
8551
8551
|
})) : f.push(T);
|
|
8552
8552
|
}), { slices: f, groupOfSlicesSymbols: g, groupOfSlices: h };
|
|
@@ -8566,10 +8566,10 @@ async function cf(t) {
|
|
|
8566
8566
|
}, { slices: x, groupOfSlicesSymbols: C, groupOfSlices: v } = Ul(
|
|
8567
8567
|
i,
|
|
8568
8568
|
S
|
|
8569
|
-
), { slices:
|
|
8569
|
+
), { slices: L } = Ul(v ?? [], S);
|
|
8570
8570
|
return {
|
|
8571
8571
|
slices: x,
|
|
8572
|
-
groupedSlices:
|
|
8572
|
+
groupedSlices: L,
|
|
8573
8573
|
groupOfSlices: C
|
|
8574
8574
|
};
|
|
8575
8575
|
}
|
|
@@ -8715,12 +8715,12 @@ function uf(t, e) {
|
|
|
8715
8715
|
dataLabelsInside: h
|
|
8716
8716
|
} = d[0];
|
|
8717
8717
|
if (g?.visible === !0 && u === !0 && c === !0 && h !== !0) {
|
|
8718
|
-
const S = A.pieChart.chartOptimizedRadius / 100, x = 500, C = 150, v = 0.6,
|
|
8718
|
+
const S = A.pieChart.chartOptimizedRadius / 100, x = 500, C = 150, v = 0.6, L = 0.5, T = 1, k = t.seriesContainer.width() - f * 2, I = Math.max(k - C, 0) / (x - C), O = I < 1 ? (
|
|
8719
8719
|
// case 1: the container width is less than the radiusContainerWidthBreakpoint - we want to scale the radius down.
|
|
8720
8720
|
Math.max(I ** T * v, 0.4)
|
|
8721
8721
|
) : (
|
|
8722
8722
|
// case 2: the container width is at or more than the radiusContainerWidthBreakpoint - ramp up radius to the max radius
|
|
8723
|
-
Math.min(I **
|
|
8723
|
+
Math.min(I ** L * v, S)
|
|
8724
8724
|
);
|
|
8725
8725
|
n = ht(O * 100);
|
|
8726
8726
|
} else
|
|
@@ -9004,8 +9004,8 @@ async function Nn(t) {
|
|
|
9004
9004
|
errorStrings: S,
|
|
9005
9005
|
groupOfSlicesUpdateNeeded: x,
|
|
9006
9006
|
labelUpdateNeeded: C
|
|
9007
|
-
} = t, { chartRenderer: v } = i, { root:
|
|
9008
|
-
root:
|
|
9007
|
+
} = t, { chartRenderer: v } = i, { root: L } = e, { series: T } = i, k = E(i.series), I = Y(i.series), O = e.series.values, w = $i(i), R = i.series.length, B = /* @__PURE__ */ new Map(), N = Yd(h), V = await It(h, a?.usePopupTemplateFieldsInfo), W = mt(h), z = To(v, W.renderer), H = l || s || r || d, J = {
|
|
9008
|
+
root: L,
|
|
9009
9009
|
chartConfig: i,
|
|
9010
9010
|
queryObject: h,
|
|
9011
9011
|
options: a,
|
|
@@ -9491,8 +9491,8 @@ async function zx(t) {
|
|
|
9491
9491
|
labelUpdateNeeded: C,
|
|
9492
9492
|
usePopupTemplateFieldsInfo: d?.usePopupTemplateFieldsInfo,
|
|
9493
9493
|
utilsStrings: f
|
|
9494
|
-
}),
|
|
9495
|
-
kn({ data:
|
|
9494
|
+
}), L = S && "dataItems" in S ? S.dataItems : [];
|
|
9495
|
+
kn({ data: L, newChartConfig: i, pieSlicesSymbols: v }), await Nn({
|
|
9496
9496
|
chart: e,
|
|
9497
9497
|
chartConfig: i,
|
|
9498
9498
|
options: d,
|
|
@@ -9542,20 +9542,20 @@ async function Hx(t) {
|
|
|
9542
9542
|
errorStrings: C
|
|
9543
9543
|
} = t;
|
|
9544
9544
|
let { axisLabelsBehaviorChanged: v } = t;
|
|
9545
|
-
const
|
|
9545
|
+
const L = Ub({
|
|
9546
9546
|
chart: e,
|
|
9547
9547
|
chartConfig: i,
|
|
9548
9548
|
rotationChanged: f,
|
|
9549
9549
|
axisLabelsBehaviorChanged: v,
|
|
9550
9550
|
timeIntervalInfoWasReset: p
|
|
9551
|
-
}), T =
|
|
9552
|
-
|
|
9551
|
+
}), T = L || Nb({ chart: e, chartConfig: i, dataUpdateDetails: s, seriesFilteredOut: l });
|
|
9552
|
+
L && (Yu({ chart: e, chartConfig: i, errorStrings: C }), v = [!0, !0]), T && (e.series.clear(), await kr({ chart: e, chartConfig: i, options: c, utilsStrings: x })), await Uu({
|
|
9553
9553
|
chart: e,
|
|
9554
9554
|
chartConfig: i,
|
|
9555
9555
|
queryObject: u,
|
|
9556
9556
|
data: a,
|
|
9557
9557
|
dataWasUpdated: n,
|
|
9558
|
-
axesInitializationNeeded:
|
|
9558
|
+
axesInitializationNeeded: L,
|
|
9559
9559
|
sortChanged: d,
|
|
9560
9560
|
timeIntervalInfo: a?.timeIntervalInfo ?? D(e.uid, "timeIntervalInfo"),
|
|
9561
9561
|
axisLabelsBehaviorChanged: v,
|
|
@@ -9604,8 +9604,8 @@ async function Gx(t) {
|
|
|
9604
9604
|
if (r === void 0)
|
|
9605
9605
|
throw new Error();
|
|
9606
9606
|
let C = r, v = D(e.uid, "config");
|
|
9607
|
-
const
|
|
9608
|
-
if (e.isDisposed() ||
|
|
9607
|
+
const L = D(e.uid, "initialized");
|
|
9608
|
+
if (e.isDisposed() || L === !1 || !Zd(v, C))
|
|
9609
9609
|
throw new pi(oo.ChartDisposed);
|
|
9610
9610
|
if (v ??= C, ce(e.uid, { queryObject: f }), s.valid) {
|
|
9611
9611
|
const T = Y(C.series), k = E(C.series), I = jt(C), O = D(e.uid, "seriesFilteredOut"), w = D(e.uid, "unfilteredConfig");
|
|
@@ -9871,10 +9871,10 @@ async function Ux(t) {
|
|
|
9871
9871
|
const C = Ex(x, S);
|
|
9872
9872
|
await Vx(C, e);
|
|
9873
9873
|
let v;
|
|
9874
|
-
const
|
|
9874
|
+
const L = oS({ root: x, chart: C, options: o }), T = Ox(x);
|
|
9875
9875
|
if (Ch(x, n?.useAnimatedCharts), i.valid && S && !C.isDisposed()) {
|
|
9876
|
-
|
|
9877
|
-
const I =
|
|
9876
|
+
L.showLoader(o?.hideLoaderAnimation !== !0);
|
|
9877
|
+
const I = L.hideLoader, O = Y(S.series), w = jt(S);
|
|
9878
9878
|
ce(C.uid, {
|
|
9879
9879
|
options: o,
|
|
9880
9880
|
filterBySelection: o?.filterBySelection,
|
|
@@ -9900,7 +9900,7 @@ async function Ux(t) {
|
|
|
9900
9900
|
seriesCount: S.series.length,
|
|
9901
9901
|
chartConfig: a,
|
|
9902
9902
|
errorStrings: d
|
|
9903
|
-
}),
|
|
9903
|
+
}), L.hideLoader();
|
|
9904
9904
|
else {
|
|
9905
9905
|
ce(C.uid, {
|
|
9906
9906
|
options: o,
|
|
@@ -9949,7 +9949,7 @@ async function Ux(t) {
|
|
|
9949
9949
|
chartConfig: S,
|
|
9950
9950
|
options: o,
|
|
9951
9951
|
queryObject: r,
|
|
9952
|
-
loaderHandle:
|
|
9952
|
+
loaderHandle: L,
|
|
9953
9953
|
utilsStrings: c,
|
|
9954
9954
|
errorStrings: d
|
|
9955
9955
|
}) : C instanceof _t && await Xx({
|
|
@@ -9958,7 +9958,7 @@ async function Ux(t) {
|
|
|
9958
9958
|
chartConfig: S,
|
|
9959
9959
|
options: o,
|
|
9960
9960
|
queryObject: r,
|
|
9961
|
-
loaderHandle:
|
|
9961
|
+
loaderHandle: L,
|
|
9962
9962
|
utilsStrings: c,
|
|
9963
9963
|
errorStrings: d
|
|
9964
9964
|
}), C instanceof Ba && (v = kl(C, S.series), du({
|
|
@@ -9985,7 +9985,7 @@ async function Ux(t) {
|
|
|
9985
9985
|
}
|
|
9986
9986
|
return {
|
|
9987
9987
|
update: async (I) => {
|
|
9988
|
-
v === void 0 && (v = kl(C, I.newChartConfig.series)), await Gx({ chart: C, legend: v, chartModal: T, loaderHandle:
|
|
9988
|
+
v === void 0 && (v = kl(C, I.newChartConfig.series)), await Gx({ chart: C, legend: v, chartModal: T, loaderHandle: L, updateProps: I });
|
|
9989
9989
|
},
|
|
9990
9990
|
dispose: () => Px(x),
|
|
9991
9991
|
notify: (I, O, w) => Rx({ chartModal: T, chart: C, message: I, heading: O, options: w }),
|
|
@@ -10049,7 +10049,7 @@ function je(t, e) {
|
|
|
10049
10049
|
function ci(t, e) {
|
|
10050
10050
|
pa(t, e);
|
|
10051
10051
|
}
|
|
10052
|
-
const
|
|
10052
|
+
const F = {
|
|
10053
10053
|
...G
|
|
10054
10054
|
};
|
|
10055
10055
|
async function Jx(t = Cn(document.documentElement).t9nLocale) {
|
|
@@ -10199,10 +10199,10 @@ function As(t) {
|
|
|
10199
10199
|
function Dr(t, e) {
|
|
10200
10200
|
let i = typeof e == "number" ? `${e}` : e;
|
|
10201
10201
|
const a = nt(t.uid, "numberFormatter");
|
|
10202
|
-
return a !== void 0 && (i = a(e)), pe(i) && (i =
|
|
10202
|
+
return a !== void 0 && (i = a(e)), pe(i) && (i = F.htmlEmptyContent), Ne(i);
|
|
10203
10203
|
}
|
|
10204
10204
|
function eC(t) {
|
|
10205
|
-
t.renderer.labels.template.html =
|
|
10205
|
+
t.renderer.labels.template.html = F.htmlEmptyContent, t.renderer.labels.template.adapter.add(
|
|
10206
10206
|
"htmlOutput",
|
|
10207
10207
|
(i, a) => Dr(t, a?.dataItem?.value ?? i),
|
|
10208
10208
|
0
|
|
@@ -10238,10 +10238,10 @@ function bf(t) {
|
|
|
10238
10238
|
f === void 0 && (f = d), o = n(d, f);
|
|
10239
10239
|
}
|
|
10240
10240
|
}
|
|
10241
|
-
return pe(o) && (o =
|
|
10241
|
+
return pe(o) && (o = F.htmlEmptyContent), Ne(o);
|
|
10242
10242
|
}
|
|
10243
10243
|
function tC(t) {
|
|
10244
|
-
t.renderer.labels.template.html =
|
|
10244
|
+
t.renderer.labels.template.html = F.htmlEmptyContent, t.renderer.labels.template.adapter.add(
|
|
10245
10245
|
"htmlOutput",
|
|
10246
10246
|
(i, a) => bf({
|
|
10247
10247
|
axis: t,
|
|
@@ -10255,7 +10255,7 @@ function iC(t) {
|
|
|
10255
10255
|
const { axis: e, defaultOutput: i, dataItem: a } = t;
|
|
10256
10256
|
let o = i;
|
|
10257
10257
|
const n = nt(e.uid, "dateFormatter");
|
|
10258
|
-
return n !== void 0 && a instanceof Fn && (o = n(a.value ?? i)), pe(o) && (o =
|
|
10258
|
+
return n !== void 0 && a instanceof Fn && (o = n(a.value ?? i)), pe(o) && (o = F.htmlEmptyContent), Ne(o);
|
|
10259
10259
|
}
|
|
10260
10260
|
function aC(t) {
|
|
10261
10261
|
t.renderer.labels.template.adapter.add(
|
|
@@ -10301,12 +10301,12 @@ function sC(t) {
|
|
|
10301
10301
|
const r = n[s], l = s === 0 ? r : n[s - 1], d = i?.formatPerDateTimeUnit?.[r] ?? o, c = i?.formatPerDateTimeUnit?.[l];
|
|
10302
10302
|
Aa(d) || (e.dateFormats.setKey(r, d), e.periodChangeDateFormats.setKey(r, c ?? d));
|
|
10303
10303
|
}
|
|
10304
|
-
e.dateFormats.getKey("day") || e.dateFormats.setKey("day",
|
|
10304
|
+
e.dateFormats.getKey("day") || e.dateFormats.setKey("day", F.dayDefaultFormat), e.periodChangeDateFormats.getKey("day") || e.periodChangeDateFormats.setKey("day", F.dayDefaultFormat), e.dateFormats.getKey("week") || e.dateFormats.setKey("week", e.dateFormats.getKey("day") ?? F.weekDefaultFormat), e.periodChangeDateFormats.getKey("week") || e.periodChangeDateFormats.setKey(
|
|
10305
10305
|
"week",
|
|
10306
|
-
e.periodChangeDateFormats.getKey("day") ??
|
|
10306
|
+
e.periodChangeDateFormats.getKey("day") ?? F.weekDefaultFormat
|
|
10307
10307
|
), e.invalidateLabels();
|
|
10308
10308
|
} else
|
|
10309
|
-
e.renderer.labels.template.html =
|
|
10309
|
+
e.renderer.labels.template.html = F.htmlEmptyContent, e.renderer.labels.template.adapter.enableKey("htmlOutput");
|
|
10310
10310
|
}
|
|
10311
10311
|
function rC(t, e, i, a) {
|
|
10312
10312
|
const o = Ot({
|
|
@@ -10463,7 +10463,7 @@ function mC(t) {
|
|
|
10463
10463
|
function gC(t) {
|
|
10464
10464
|
const { fill: e, rotation: i, isLinePattern: a, chartBackgroundColor: o } = t;
|
|
10465
10465
|
let n;
|
|
10466
|
-
return a !== !1 ? (n = new yc(), n.width =
|
|
10466
|
+
return a !== !1 ? (n = new yc(), n.width = F.patternLineProperties.width ?? Number.NaN, n.height = F.patternLineProperties.height ?? Number.NaN, n.strokeWidth = F.patternLineProperties.strokeWidth ?? Number.NaN, n.stroke = e, n.rotation = i ?? Number.NaN) : (n = new Sc(), n.rectWidth = F.patternRectProperties.rectWidth ?? Number.NaN, n.rectHeight = F.patternRectProperties.rectHeight ?? Number.NaN, n.width = F.patternRectProperties.width ?? Number.NaN, n.height = F.patternRectProperties.height ?? Number.NaN, n.fillOpacity = F.patternRectProperties.fillOpacity ?? Number.NaN, n.strokeWidth = F.patternRectProperties.strokeWidth ?? Number.NaN, n.fill = sa(o), n.stroke = e, n.rotation = i ?? Number.NaN), n;
|
|
10467
10467
|
}
|
|
10468
10468
|
function ql(t) {
|
|
10469
10469
|
let e = Number.NaN;
|
|
@@ -10584,7 +10584,7 @@ function vf(t, e) {
|
|
|
10584
10584
|
return i;
|
|
10585
10585
|
}
|
|
10586
10586
|
function yC(t, e) {
|
|
10587
|
-
const i = t ?? et.Solid, a = e ??
|
|
10587
|
+
const i = t ?? et.Solid, a = e ?? F.lineWidth, o = {
|
|
10588
10588
|
[et.Solid]: "none",
|
|
10589
10589
|
[et.Dot]: [1, a],
|
|
10590
10590
|
[et.DashDotDot]: [4 * a, a, 1, a, 1, a],
|
|
@@ -10597,7 +10597,7 @@ function yC(t, e) {
|
|
|
10597
10597
|
function Lf(t, e) {
|
|
10598
10598
|
const i = {
|
|
10599
10599
|
stroke: lt(),
|
|
10600
|
-
strokeWidth:
|
|
10600
|
+
strokeWidth: F.lineWidth,
|
|
10601
10601
|
strokeDasharray: "",
|
|
10602
10602
|
strokeLinecap: e !== !0 ? "round" : "square",
|
|
10603
10603
|
strokeOpacity: Ao
|
|
@@ -10606,7 +10606,7 @@ function Lf(t, e) {
|
|
|
10606
10606
|
}
|
|
10607
10607
|
function Ff(t, e) {
|
|
10608
10608
|
let i = t;
|
|
10609
|
-
const [a, o, n, s] = t?.color ?? e ??
|
|
10609
|
+
const [a, o, n, s] = t?.color ?? e ?? F.color, r = [a, o, n, s];
|
|
10610
10610
|
return i == null ? i = { type: Q.SLS, color: r } : i.color === void 0 && (i.color = r), Lf(i, !1);
|
|
10611
10611
|
}
|
|
10612
10612
|
function SC(t, e) {
|
|
@@ -10638,14 +10638,14 @@ function Or(t) {
|
|
|
10638
10638
|
l !== void 0 && (l.color = l?.color ?? oi({ colorIndex: a }), e.outline = { ...l });
|
|
10639
10639
|
}
|
|
10640
10640
|
}
|
|
10641
|
-
return fc(e) ? s = Lf(e, !0) : en(e) ? (e.style ??=
|
|
10641
|
+
return fc(e) ? s = Lf(e, !0) : en(e) ? (e.style ??= F.lineSeries.marker.markerStyle, e.size ??= F.lineSeries.marker.markerBigSize, s = xC(e)) : ho(e) && (s = SC(e, n)), s;
|
|
10642
10642
|
}
|
|
10643
10643
|
function dn(t, e, i) {
|
|
10644
10644
|
const a = wr(t.horizontalAlignment, i?.horizontalCenter), o = Cf(t.horizontalAlignment, i?.align), n = vf(t.verticalAlignment, i?.verticalCenter), s = bC(t.verticalAlignment, i?.valign);
|
|
10645
10645
|
return {
|
|
10646
|
-
fill: lt(t.color,
|
|
10646
|
+
fill: lt(t.color, F.color),
|
|
10647
10647
|
fontFamily: t.font?.family ?? "Arial, Helvetica, sans-serif",
|
|
10648
|
-
fontSize: t.font?.size ??
|
|
10648
|
+
fontSize: t.font?.size ?? F.generalFontSize,
|
|
10649
10649
|
fontWeight: t.font?.weight ?? "400",
|
|
10650
10650
|
textDecoration: t.font?.decoration ?? "none",
|
|
10651
10651
|
align: o,
|
|
@@ -10753,7 +10753,7 @@ function Zl(t, e) {
|
|
|
10753
10753
|
}
|
|
10754
10754
|
}
|
|
10755
10755
|
function CC(t, e) {
|
|
10756
|
-
const i =
|
|
10756
|
+
const i = F.cursorCrosshair.style, a = {
|
|
10757
10757
|
type: Q.SLS,
|
|
10758
10758
|
style: e.style ?? i.style,
|
|
10759
10759
|
color: e.color ?? i.color,
|
|
@@ -10768,7 +10768,7 @@ function kf(t, e) {
|
|
|
10768
10768
|
if (!(t instanceof yt) && !(t instanceof Ae)) {
|
|
10769
10769
|
const i = t, a = i.cursor ?? new gc();
|
|
10770
10770
|
e?.style !== void 0 && CC(i, e.style);
|
|
10771
|
-
const o =
|
|
10771
|
+
const o = F.cursorCrosshair;
|
|
10772
10772
|
a.lineX.disabled = o.verticalLineVisible ? e?.verticalLineVisible === !1 : e?.verticalLineVisible !== !0, a.lineY.disabled = o.horizontalLineVisible ? e?.horizontalLineVisible === !1 : e?.horizontalLineVisible !== !0, i.cursor = a;
|
|
10773
10773
|
}
|
|
10774
10774
|
}
|
|
@@ -10821,7 +10821,7 @@ function LC(t) {
|
|
|
10821
10821
|
function FC(t) {
|
|
10822
10822
|
const { chart: e, actionMode: i, cursorRange: a } = t, o = $(e.uid, "isRotated"), n = $(e.uid, "config"), s = qe(n), r = E(n?.series), l = r === b.ScatterSeries, d = r === b.LineSeries && vt(n?.axes?.[0]?.valueFormat), c = r === b.LineSeries && $o(n?.axes?.[0]?.valueFormat), u = r === b.LineSeries && fi(n?.axes?.[0]?.valueFormat);
|
|
10823
10823
|
let f, g = !1;
|
|
10824
|
-
const h = i ?? $(e.uid, "actionMode") ??
|
|
10824
|
+
const h = i ?? $(e.uid, "actionMode") ?? F.actionMode;
|
|
10825
10825
|
if ($(e.uid, "filterBySelection") === !0)
|
|
10826
10826
|
f = fe.None, g = !1;
|
|
10827
10827
|
else if (a !== void 0)
|
|
@@ -10962,11 +10962,11 @@ function wf(t, e) {
|
|
|
10962
10962
|
e !== void 0 && (t === b.BarSeries && e.adapter.add("dx", (i, a) => {
|
|
10963
10963
|
let o = i ?? 0;
|
|
10964
10964
|
const n = a.dataItem, { chart: s } = n?.component ?? {};
|
|
10965
|
-
return (s !== void 0 ? $(s.uid, "isRotated") : !1) === !0 && (n.valueX ?? n.valueY) < 0 && (o -= a.measuredWidth +
|
|
10965
|
+
return (s !== void 0 ? $(s.uid, "isRotated") : !1) === !0 && (n.valueX ?? n.valueY) < 0 && (o -= a.measuredWidth + F.dataLabelNegative.paddingRight), o;
|
|
10966
10966
|
}), (t === b.BarSeries || t === b.LineSeries) && e.adapter.add("dy", (i, a) => {
|
|
10967
10967
|
let o = i ?? 0;
|
|
10968
10968
|
const n = a.dataItem, { chart: s } = n?.component ?? {};
|
|
10969
|
-
return (s !== void 0 ? $(s.uid, "isRotated") : !1) !== !0 && (n.valueX ?? n.valueY) < 0 && (o += a.measuredHeight +
|
|
10969
|
+
return (s !== void 0 ? $(s.uid, "isRotated") : !1) !== !0 && (n.valueX ?? n.valueY) < 0 && (o += a.measuredHeight + F.dataLabelNegative.paddingTop), o;
|
|
10970
10970
|
}));
|
|
10971
10971
|
}
|
|
10972
10972
|
function ks(t) {
|
|
@@ -11074,7 +11074,7 @@ function En(t) {
|
|
|
11074
11074
|
}), n !== void 0 && (n.content.text = l === !0 ? "{valueX}" : "{valueY}", n.visible = n.visible !== !1), At({
|
|
11075
11075
|
label: a,
|
|
11076
11076
|
labelConfig: n,
|
|
11077
|
-
defaults: o ??
|
|
11077
|
+
defaults: o ?? F.dataLabel
|
|
11078
11078
|
}), ks(e);
|
|
11079
11079
|
}
|
|
11080
11080
|
}
|
|
@@ -11122,7 +11122,7 @@ function Nr(t) {
|
|
|
11122
11122
|
const { series: e, seriesConfig: i, rotationChanged: a, stackedType: o, isRotated: n } = t;
|
|
11123
11123
|
switch (o) {
|
|
11124
11124
|
case $e.Stacked: {
|
|
11125
|
-
e.stacked = !0, e instanceof ue && (e.stackToNegative = i.stackNegativeValuesToBaseline ??
|
|
11125
|
+
e.stacked = !0, e instanceof ue && (e.stackToNegative = i.stackNegativeValuesToBaseline ?? F.lineSeries.stackNegativeValuesToBaseline), a === n ? e.dataFields.valueYShow = void 0 : e.dataFields.valueXShow = void 0, e.updateStacking();
|
|
11126
11126
|
break;
|
|
11127
11127
|
}
|
|
11128
11128
|
case $e.Stacked100: {
|
|
@@ -11148,7 +11148,7 @@ function Mf(t) {
|
|
|
11148
11148
|
const { chart: e, series: i, seriesType: a, marker: o, numberOfChartSeries: n, ignoreSmoothRenderingLimit: s } = t;
|
|
11149
11149
|
let r = DC({ marker: o, chart: e });
|
|
11150
11150
|
const l = n ?? 1, d = e.data.length * l + l;
|
|
11151
|
-
s !== !0 && d >
|
|
11151
|
+
s !== !0 && d > F.elementLimitForSmoothRendering && (r = We(r, F.debounceTime)), e.xAxes.getIndex(0)?.events.on(M.Validated, r), e.yAxes.getIndex(0)?.events.on(M.Validated, r), a === b.LineSeries && (e.xAxes.getIndex(0)?.events.on(M.Validated, () => {
|
|
11152
11152
|
ks(i);
|
|
11153
11153
|
}), e.yAxes.getIndex(0)?.events.on(M.Validated, () => {
|
|
11154
11154
|
ks(i);
|
|
@@ -11324,7 +11324,7 @@ function MC(t) {
|
|
|
11324
11324
|
});
|
|
11325
11325
|
}
|
|
11326
11326
|
function Vi(t) {
|
|
11327
|
-
const { defaultChartItemRole: e } =
|
|
11327
|
+
const { defaultChartItemRole: e } = F.aria;
|
|
11328
11328
|
t instanceof Ke || t instanceof _e ? (t.columns.template.properties.role = e, t.columns.template.focusable = !0, t.columns.template.hoverOnFocus = !0, t.itemReaderText = Jo()) : t instanceof Ct ? t.segments.template.properties.role = e : t instanceof ue ? t.bullets.values.forEach((i) => {
|
|
11329
11329
|
i.focusable = !0, i.properties.role = e, i.readerTitle = Jo(), i.hoverOnFocus = !0;
|
|
11330
11330
|
}) : t instanceof Nt && (t.slices.template.properties.role = e, t.slices.template.hoverOnFocus = !0, t.itemReaderText = "{category} {value.formatNumber('#.#')} {value.percent.formatNumber('#.#')}%");
|
|
@@ -11352,7 +11352,7 @@ function PC(t, e) {
|
|
|
11352
11352
|
return i;
|
|
11353
11353
|
}
|
|
11354
11354
|
function Wi(t) {
|
|
11355
|
-
const { element: e, customSelectionTheme: i, useNativeState: a } = t, o = a === !0 ? st.Active : st.CustomActive, n = e.states.getKey(o) ?? e.states.create(o), s = e.states.getKey(st.CustomInactive) ?? e.states.create(st.CustomInactive), { selectedElementsTheme: r, nonSelectedElementsTheme: l } = i ??
|
|
11355
|
+
const { element: e, customSelectionTheme: i, useNativeState: a } = t, o = a === !0 ? st.Active : st.CustomActive, n = e.states.getKey(o) ?? e.states.create(o), s = e.states.getKey(st.CustomInactive) ?? e.states.create(st.CustomInactive), { selectedElementsTheme: r, nonSelectedElementsTheme: l } = i ?? F.selectionTheme ?? {};
|
|
11356
11356
|
Zl(n, r), Zl(s, l);
|
|
11357
11357
|
}
|
|
11358
11358
|
function Wt(t) {
|
|
@@ -11522,7 +11522,7 @@ async function Wf(t) {
|
|
|
11522
11522
|
chartConfig: s
|
|
11523
11523
|
};
|
|
11524
11524
|
let C;
|
|
11525
|
-
f instanceof _e || f instanceof Ke ? (C = f.columns?.values, y === b.HistogramSeries && (x.xAxisField = S)) : f instanceof Ct ? C = f.segments.values : f instanceof ue && (C = Oe(f)?.clones?.values, x.uniqueFeature = !0), C !== void 0 && (d = [...d, ...C], C.forEach((v,
|
|
11525
|
+
f instanceof _e || f instanceof Ke ? (C = f.columns?.values, y === b.HistogramSeries && (x.xAxisField = S)) : f instanceof Ct ? C = f.segments.values : f instanceof ue && (C = Oe(f)?.clones?.values, x.uniqueFeature = !0), C !== void 0 && (d = [...d, ...C], C.forEach((v, L) => {
|
|
11526
11526
|
if (!(v.dataItem instanceof ta)) {
|
|
11527
11527
|
const T = v.isActive, k = v === n || PC(v, i);
|
|
11528
11528
|
k && (c = !1);
|
|
@@ -11531,7 +11531,7 @@ async function Wf(t) {
|
|
|
11531
11531
|
...x,
|
|
11532
11532
|
element: v,
|
|
11533
11533
|
elementDataContext: v.dataItem?.dataContext,
|
|
11534
|
-
elementIndex:
|
|
11534
|
+
elementIndex: L
|
|
11535
11535
|
}), Wt({ element: v, selected: I });
|
|
11536
11536
|
}
|
|
11537
11537
|
}));
|
|
@@ -11643,20 +11643,20 @@ function ui(t) {
|
|
|
11643
11643
|
}
|
|
11644
11644
|
function XC(t, e) {
|
|
11645
11645
|
const i = new rr();
|
|
11646
|
-
return i.width = ot(100), i.height = ot(100), i.background.fill = lt(e ??
|
|
11646
|
+
return i.width = ot(100), i.height = ot(100), i.background.fill = lt(e ?? F.loaderBackground), i.parent = t, i;
|
|
11647
11647
|
}
|
|
11648
11648
|
function YC(t) {
|
|
11649
11649
|
const e = new po();
|
|
11650
|
-
return e.valign = ae.Middle, e.align = le.Center, e.fontSize =
|
|
11650
|
+
return e.valign = ae.Middle, e.align = le.Center, e.fontSize = F.loaderLabelFontSize, e.dy = 40, e.text = "", e.parent = t, e;
|
|
11651
11651
|
}
|
|
11652
11652
|
function UC(t, e) {
|
|
11653
11653
|
const i = new Cc();
|
|
11654
|
-
return i.parent = t, i.align = le.Center, i.valign = ae.Middle, i.path = "M2.2 16A13.81 13.81 0 0 1 14 2.362v1.01a12.8 12.8 0 1 0 4 0v-1.01A13.792 13.792 0 1 1 2.2 16z", i.stroke = lt(e ??
|
|
11654
|
+
return i.parent = t, i.align = le.Center, i.valign = ae.Middle, i.path = "M2.2 16A13.81 13.81 0 0 1 14 2.362v1.01a12.8 12.8 0 1 0 4 0v-1.01A13.792 13.792 0 1 1 2.2 16z", i.stroke = lt(e ?? F.loaderSpinnerColor), i.strokeWidth = 2, i;
|
|
11655
11655
|
}
|
|
11656
11656
|
function _C(t) {
|
|
11657
11657
|
return window.setInterval(() => {
|
|
11658
|
-
t.animate({ from: 0, to: 360, property: "rotation" },
|
|
11659
|
-
},
|
|
11658
|
+
t.animate({ from: 0, to: 360, property: "rotation" }, F.loaderRotationSpeed);
|
|
11659
|
+
}, F.loaderIntervalTimeout);
|
|
11660
11660
|
}
|
|
11661
11661
|
function jC(t, e) {
|
|
11662
11662
|
const i = XC(t, e?.loaderColors?.curtainColor);
|
|
@@ -11686,8 +11686,8 @@ function qC(t, e) {
|
|
|
11686
11686
|
function ZC(t, e) {
|
|
11687
11687
|
const { loaderContainer: i, loaderPolygon: a } = t;
|
|
11688
11688
|
i !== void 0 && (i.background.fill = lt(
|
|
11689
|
-
e?.loaderColors?.curtainColor ??
|
|
11690
|
-
)), a !== void 0 && (a.stroke = lt(e?.loaderColors?.spinnerColor ??
|
|
11689
|
+
e?.loaderColors?.curtainColor ?? F.loaderBackground
|
|
11690
|
+
)), a !== void 0 && (a.stroke = lt(e?.loaderColors?.spinnerColor ?? F.loaderSpinnerColor));
|
|
11691
11691
|
}
|
|
11692
11692
|
function Bo(t) {
|
|
11693
11693
|
return t.values.every((i) => i.isReady());
|
|
@@ -11699,7 +11699,7 @@ function Jt(t, e) {
|
|
|
11699
11699
|
});
|
|
11700
11700
|
}
|
|
11701
11701
|
function Ef(t, e) {
|
|
11702
|
-
const { dataTooltipStyle: i, dataTooltipStyleReversed: a } =
|
|
11702
|
+
const { dataTooltipStyle: i, dataTooltipStyleReversed: a } = F;
|
|
11703
11703
|
if (e === !0) {
|
|
11704
11704
|
const o = t.background.fill;
|
|
11705
11705
|
if (o !== void 0) {
|
|
@@ -11719,7 +11719,7 @@ function Da(t) {
|
|
|
11719
11719
|
}
|
|
11720
11720
|
function KC(t) {
|
|
11721
11721
|
const e = t.tooltip ?? new vc();
|
|
11722
|
-
e.pointerOrientation = "vertical", t instanceof Ke || t instanceof Ct ? e.label.maxWidth =
|
|
11722
|
+
e.pointerOrientation = "vertical", t instanceof Ke || t instanceof Ct ? e.label.maxWidth = F.boxPlot.boxPlotTooltipLabelWidth : e.label.maxWidth = F.tooltipWidth, e.label.wrap = !0, e.events.on(M.Shown, (i) => {
|
|
11723
11723
|
const a = $(t.chart.uid, "config");
|
|
11724
11724
|
if (a !== void 0) {
|
|
11725
11725
|
const o = Hn(t, a), { dataTooltipReverseColor: n } = o ?? {};
|
|
@@ -11733,7 +11733,7 @@ function QC(t) {
|
|
|
11733
11733
|
});
|
|
11734
11734
|
}
|
|
11735
11735
|
function zf(t, e) {
|
|
11736
|
-
t.tooltipHTML =
|
|
11736
|
+
t.tooltipHTML = F.htmlEmptyContent, t.adapter.add("tooltipHTML", (i, a) => {
|
|
11737
11737
|
let o = i ?? "";
|
|
11738
11738
|
const { chart: n } = e;
|
|
11739
11739
|
if (n !== void 0) {
|
|
@@ -11759,7 +11759,7 @@ function zf(t, e) {
|
|
|
11759
11759
|
});
|
|
11760
11760
|
let S = ri(h);
|
|
11761
11761
|
S === void 0 && (S = p);
|
|
11762
|
-
const x = h[
|
|
11762
|
+
const x = h[F.dateBinningRange];
|
|
11763
11763
|
o = l({
|
|
11764
11764
|
seriesName: e.name,
|
|
11765
11765
|
xValue: p,
|
|
@@ -11775,7 +11775,7 @@ function zf(t, e) {
|
|
|
11775
11775
|
}
|
|
11776
11776
|
}
|
|
11777
11777
|
return Ne(o);
|
|
11778
|
-
}), t.tooltipPosition = e instanceof ue ?
|
|
11778
|
+
}), t.tooltipPosition = e instanceof ue ? F.markerTooltipPosition : F.columnTooltipPosition, e.cursorTooltipEnabled = !1;
|
|
11779
11779
|
}
|
|
11780
11780
|
function JC(t) {
|
|
11781
11781
|
const {
|
|
@@ -11913,10 +11913,10 @@ function tv(t) {
|
|
|
11913
11913
|
if (h === !1 || y === !1)
|
|
11914
11914
|
u = () => "";
|
|
11915
11915
|
else {
|
|
11916
|
-
const p = g.axes, S = p[0].valueFormat, x = p[1].valueFormat, C = Y(g.series), v = Et(g) === $e.Stacked100,
|
|
11916
|
+
const p = g.axes, S = p[0].valueFormat, x = p[1].valueFormat, C = Y(g.series), v = Et(g) === $e.Stacked100, L = mt(a)?.objectIdField, T = we(i, s.x), k = di(T, p[0].title?.content.text), I = fu({
|
|
11917
11917
|
config: g,
|
|
11918
11918
|
fieldList: i,
|
|
11919
|
-
objectIdField:
|
|
11919
|
+
objectIdField: L,
|
|
11920
11920
|
seriesIndex: n,
|
|
11921
11921
|
utilsStrings: r,
|
|
11922
11922
|
isStacked100: v
|
|
@@ -12098,7 +12098,7 @@ function ov(t) {
|
|
|
12098
12098
|
return s;
|
|
12099
12099
|
}
|
|
12100
12100
|
function nv(t) {
|
|
12101
|
-
t.cursorTooltipEnabled = !1, t.tooltipPosition =
|
|
12101
|
+
t.cursorTooltipEnabled = !1, t.tooltipPosition = F.columnTooltipPosition, t.columns.template.tooltipHTML = F.htmlEmptyContent, t.columns.template.adapter.add(
|
|
12102
12102
|
"tooltipHTML",
|
|
12103
12103
|
(e, i) => Vr({
|
|
12104
12104
|
target: i,
|
|
@@ -12110,7 +12110,7 @@ function nv(t) {
|
|
|
12110
12110
|
}
|
|
12111
12111
|
function sv(t, e) {
|
|
12112
12112
|
const i = Oe(t);
|
|
12113
|
-
i !== void 0 && (i.tooltipPosition =
|
|
12113
|
+
i !== void 0 && (i.tooltipPosition = F.markerTooltipPosition, i.tooltipHTML = F.htmlEmptyContent, t.cursorTooltipEnabled = !1, i.adapter.add(
|
|
12114
12114
|
"tooltipHTML",
|
|
12115
12115
|
(a, o) => Vr({
|
|
12116
12116
|
target: o,
|
|
@@ -12123,7 +12123,7 @@ function sv(t, e) {
|
|
|
12123
12123
|
}
|
|
12124
12124
|
function rv(t) {
|
|
12125
12125
|
const e = Oe(t);
|
|
12126
|
-
e !== void 0 && (t.cursorTooltipEnabled = !1, e.tooltipPosition =
|
|
12126
|
+
e !== void 0 && (t.cursorTooltipEnabled = !1, e.tooltipPosition = F.markerTooltipPosition, e.tooltipHTML = F.htmlEmptyContent, e.adapter.add(
|
|
12127
12127
|
"tooltipHTML",
|
|
12128
12128
|
(i, a) => Vr({
|
|
12129
12129
|
target: a,
|
|
@@ -12199,11 +12199,11 @@ function dv(t) {
|
|
|
12199
12199
|
a.x !== zs && (S = di(p, d?.[0].title?.content.text));
|
|
12200
12200
|
const x = pt(r.rtl);
|
|
12201
12201
|
s = (C) => {
|
|
12202
|
-
const { dataContext: v, xValue:
|
|
12202
|
+
const { dataContext: v, xValue: L } = C, T = Hf({
|
|
12203
12203
|
seriesConfig: a,
|
|
12204
12204
|
xAxisValueFormat: c,
|
|
12205
12205
|
series: e,
|
|
12206
|
-
xValue:
|
|
12206
|
+
xValue: L
|
|
12207
12207
|
}), k = [], I = T !== void 0 && !Aa(T) ? we(i, T) : "", O = u === !0 ? [l.series[0].y].flat()[0] : [a.y].flat()[0], w = we(i, O);
|
|
12208
12208
|
switch (f) {
|
|
12209
12209
|
case P.BoxPlotMonoField:
|
|
@@ -12268,7 +12268,7 @@ function dv(t) {
|
|
|
12268
12268
|
);
|
|
12269
12269
|
break;
|
|
12270
12270
|
}
|
|
12271
|
-
const R = [P.BoxPlotMultiFieldsAndCategory], B = v[
|
|
12271
|
+
const R = [P.BoxPlotMultiFieldsAndCategory], B = v[F.boxPlot.boxPlotMeanLineMarkerId] !== void 0, N = k.length > 0 && !B, V = lv({
|
|
12272
12272
|
dataContext: v,
|
|
12273
12273
|
series: e,
|
|
12274
12274
|
dataTooltipValueFormat: n,
|
|
@@ -12290,7 +12290,7 @@ function cv(t) {
|
|
|
12290
12290
|
});
|
|
12291
12291
|
}
|
|
12292
12292
|
function uv(t) {
|
|
12293
|
-
const e = Vt(
|
|
12293
|
+
const e = Vt(F.dataLabelInitialize);
|
|
12294
12294
|
return ci(e.uid, { isDataLabel: !0 }), t.bullets.push(e), Mr(e), Br(b.LineSeries, e), wf(b.LineSeries, e), $s(e, t), e.html = "{valueX}", e;
|
|
12295
12295
|
}
|
|
12296
12296
|
function fv(t) {
|
|
@@ -12321,16 +12321,16 @@ function hv(t, e) {
|
|
|
12321
12321
|
}
|
|
12322
12322
|
function pv(t) {
|
|
12323
12323
|
if (t instanceof yt) {
|
|
12324
|
-
const { paddingTop: e, paddingRight: i, paddingBottom: a, paddingLeft: o } =
|
|
12324
|
+
const { paddingTop: e, paddingRight: i, paddingBottom: a, paddingLeft: o } = F.gauge;
|
|
12325
12325
|
t.padding(e, i, a, o);
|
|
12326
12326
|
} else {
|
|
12327
|
-
const { paddingMinSize: e, marginMinSize: i, chartPaddingMinSize: a, chartContainer: o } =
|
|
12327
|
+
const { paddingMinSize: e, marginMinSize: i, chartPaddingMinSize: a, chartContainer: o } = F;
|
|
12328
12328
|
t.padding(a, a, a, a), t.chartAndLegendContainer.margin(i, i, i, i), t.chartAndLegendContainer.padding(e, e, e, e), t.chartContainer.margin(i, i, i, i), t.chartContainer.padding(o.paddingTop, e, e, e);
|
|
12329
12329
|
}
|
|
12330
12330
|
}
|
|
12331
12331
|
function bv(t, e) {
|
|
12332
12332
|
const i = (a, o) => {
|
|
12333
|
-
const { chartContainer: n, chartAndLegendContainer: s } =
|
|
12333
|
+
const { chartContainer: n, chartAndLegendContainer: s } = F, r = $(a.uid, "config");
|
|
12334
12334
|
if (r !== void 0) {
|
|
12335
12335
|
const l = gv(r), d = r.legend?.position;
|
|
12336
12336
|
if (l)
|
|
@@ -12379,8 +12379,8 @@ function Wr(t) {
|
|
|
12379
12379
|
return (p, S, x) => {
|
|
12380
12380
|
let C = "";
|
|
12381
12381
|
if (S !== void 0 && x !== void 0) {
|
|
12382
|
-
const v = `${r ?? ""}${f.format(S)}${l ?? ""}`,
|
|
12383
|
-
Number.isFinite(S) ? n === !0 && s === !0 ? C = `${
|
|
12382
|
+
const v = `${r ?? ""}${f.format(S)}${l ?? ""}`, L = `${d ?? ""}${g.format(Math.abs(x / 100))}${c ?? ""}`;
|
|
12383
|
+
Number.isFinite(S) ? n === !0 && s === !0 ? C = `${L}${h}(${v})` : n === !0 ? C = v : s === !0 && (C = L) : C = "";
|
|
12384
12384
|
}
|
|
12385
12385
|
return C;
|
|
12386
12386
|
};
|
|
@@ -12416,7 +12416,7 @@ function xv(t) {
|
|
|
12416
12416
|
if (o !== void 0 && (a = o(
|
|
12417
12417
|
i.dataItem?.values?.value?.value ?? 0,
|
|
12418
12418
|
i.dataItem?.values?.value?.percent ?? 0
|
|
12419
|
-
)), pe(a) && (a =
|
|
12419
|
+
)), pe(a) && (a = F.htmlEmptyContent), t.baseSprite instanceof hc) {
|
|
12420
12420
|
const n = $(t.baseSprite.uid, "config");
|
|
12421
12421
|
n?.legend?.body !== void 0 && (a = ft({
|
|
12422
12422
|
textSymbol: { ...n.legend.body, text: a },
|
|
@@ -12424,7 +12424,7 @@ function xv(t) {
|
|
|
12424
12424
|
}));
|
|
12425
12425
|
}
|
|
12426
12426
|
return Ne(a);
|
|
12427
|
-
}), t.valueLabels.template.html =
|
|
12427
|
+
}), t.valueLabels.template.html = F.htmlEmptyContent, Sv(t);
|
|
12428
12428
|
}
|
|
12429
12429
|
function Cv(t) {
|
|
12430
12430
|
const {
|
|
@@ -12440,7 +12440,7 @@ function Cv(t) {
|
|
|
12440
12440
|
displayCategory: d
|
|
12441
12441
|
} = a ?? {};
|
|
12442
12442
|
if (E(i) === b.PieSeries) {
|
|
12443
|
-
const { numericValueFormat: u, percentValueFormat: f, valuePrefix: g, valueSuffix: h, percentagePrefix: y, percentageSuffix: p } = i[0], S = d ??
|
|
12443
|
+
const { numericValueFormat: u, percentValueFormat: f, valuePrefix: g, valueSuffix: h, percentagePrefix: y, percentageSuffix: p } = i[0], S = d ?? F.pieChart.displayCategoryOnLegend, x = r ?? F.pieChart.displayNumericValueOnLegend, C = l ?? F.pieChart.displayPercentageOnLegend;
|
|
12444
12444
|
let v = o;
|
|
12445
12445
|
if (o === void 0) {
|
|
12446
12446
|
const k = Wr({
|
|
@@ -12460,7 +12460,7 @@ function Cv(t) {
|
|
|
12460
12460
|
Zx(e.uid, {
|
|
12461
12461
|
pieChartLegendValueLabelsFormatter: v
|
|
12462
12462
|
});
|
|
12463
|
-
const
|
|
12463
|
+
const L = Uf(e), T = {
|
|
12464
12464
|
type: b.Text,
|
|
12465
12465
|
visible: n,
|
|
12466
12466
|
content: {
|
|
@@ -12469,13 +12469,13 @@ function Cv(t) {
|
|
|
12469
12469
|
text: ".",
|
|
12470
12470
|
verticalAlignment: ae.Middle,
|
|
12471
12471
|
// The horizontalAlignment value needs to be consistent with the one set by `handleValueLabelsRightAlignment()`. It avoids flickering the labels.
|
|
12472
|
-
horizontalAlignment:
|
|
12472
|
+
horizontalAlignment: L ? le.Right : le.Center
|
|
12473
12473
|
}
|
|
12474
12474
|
};
|
|
12475
12475
|
At({
|
|
12476
12476
|
label: e.valueLabels.template,
|
|
12477
12477
|
labelConfig: T,
|
|
12478
|
-
defaults:
|
|
12478
|
+
defaults: F.legendProperties.valueLabels
|
|
12479
12479
|
}), e.labels.template.disabled = S === !1, e.valueLabels.template.disabled = x === !1 && C === !1;
|
|
12480
12480
|
}
|
|
12481
12481
|
}
|
|
@@ -12504,7 +12504,7 @@ function Lv(t) {
|
|
|
12504
12504
|
t.events.on(M.Validated, e), e();
|
|
12505
12505
|
}
|
|
12506
12506
|
function td(t, e) {
|
|
12507
|
-
const { legendLabelReducedOpacity: i } =
|
|
12507
|
+
const { legendLabelReducedOpacity: i } = F.legendProperties;
|
|
12508
12508
|
t !== void 0 && (t.fillOpacity = e === !1 ? i : 1);
|
|
12509
12509
|
}
|
|
12510
12510
|
function Fa(t) {
|
|
@@ -12542,13 +12542,13 @@ function _f(t) {
|
|
|
12542
12542
|
return e !== void 0 && i !== !1 && e?.visible !== !1;
|
|
12543
12543
|
}
|
|
12544
12544
|
function Fv(t, e) {
|
|
12545
|
-
const { legendProperties: i } =
|
|
12545
|
+
const { legendProperties: i } = F;
|
|
12546
12546
|
if (t.position === X.Bottom)
|
|
12547
12547
|
t.marginTop = i.marginTop ?? 0, t.marginBottom = 0, t.dy = 0;
|
|
12548
12548
|
else if (t.position === X.Top)
|
|
12549
12549
|
t.marginBottom = i.marginBottom ?? 0, t.marginTop = 0, t.dy = 0;
|
|
12550
12550
|
else if (t.marginTop = 0, t.marginBottom = 0, !(t.baseSprite instanceof Ae)) {
|
|
12551
|
-
const a = _f(e), o = e.title?.content?.font?.size ??
|
|
12551
|
+
const a = _f(e), o = e.title?.content?.font?.size ?? F.generalFontSize;
|
|
12552
12552
|
t.dy = -(a ? o : 15);
|
|
12553
12553
|
}
|
|
12554
12554
|
}
|
|
@@ -12654,7 +12654,7 @@ function $v(t, e) {
|
|
|
12654
12654
|
const r = s instanceof Nt, l = $(
|
|
12655
12655
|
e.uid,
|
|
12656
12656
|
"currentSelectionDataItems"
|
|
12657
|
-
), d = l !== void 0 && l.length > 0, c = $(e.uid, "actionMode") ??
|
|
12657
|
+
), d = l !== void 0 && l.length > 0, c = $(e.uid, "actionMode") ?? F.actionMode;
|
|
12658
12658
|
let u;
|
|
12659
12659
|
s instanceof _e ? u = s.columns : r ? u = s.slices : s instanceof ue && (Iv(s), u = Oe(s)?.clones), u?.each((f) => {
|
|
12660
12660
|
f.dataItem instanceof ta || (Wt({
|
|
@@ -12669,7 +12669,7 @@ function $v(t, e) {
|
|
|
12669
12669
|
}
|
|
12670
12670
|
}
|
|
12671
12671
|
function Dv(t) {
|
|
12672
|
-
const { legendProperties: e, legendProperties: i } =
|
|
12672
|
+
const { legendProperties: e, legendProperties: i } = F;
|
|
12673
12673
|
t.adapter.add(
|
|
12674
12674
|
"paddingRight",
|
|
12675
12675
|
() => t.scrollbar.visible ? i.legendPaddingRightWithScrollbarVisible : e.paddingRight
|
|
@@ -12686,7 +12686,7 @@ function Ov(t) {
|
|
|
12686
12686
|
return o > 0 && (a = -o), a;
|
|
12687
12687
|
}), e.adapter.add("x", (i) => {
|
|
12688
12688
|
let a = i;
|
|
12689
|
-
const { marginLeft: o, marginRight: n } =
|
|
12689
|
+
const { marginLeft: o, marginRight: n } = F.legendProperties.legendTitle;
|
|
12690
12690
|
switch ($(t.baseSprite.uid, "config")?.legend?.title?.content?.horizontalAlignment) {
|
|
12691
12691
|
case le.Left:
|
|
12692
12692
|
a = e.measuredWidth + (o ?? 0);
|
|
@@ -12704,7 +12704,7 @@ function Ov(t) {
|
|
|
12704
12704
|
}), e.adapter.add("disabled", (i) => (i === !1 && e.validate(), i)), e;
|
|
12705
12705
|
}
|
|
12706
12706
|
function Rv(t) {
|
|
12707
|
-
const { legendConfig: e, legendTitle: i } = t, { title: a, position: o } = e, { legendTitle: n } =
|
|
12707
|
+
const { legendConfig: e, legendTitle: i } = t, { title: a, position: o } = e, { legendTitle: n } = F.legendProperties, s = _f(e);
|
|
12708
12708
|
if (a !== void 0) {
|
|
12709
12709
|
const r = {
|
|
12710
12710
|
...a,
|
|
@@ -12712,14 +12712,14 @@ function Rv(t) {
|
|
|
12712
12712
|
};
|
|
12713
12713
|
At({ label: i, labelConfig: r, defaults: n }), i.marginLeft = n.marginLeft ?? 0;
|
|
12714
12714
|
}
|
|
12715
|
-
o === X.Top || o === X.Bottom ? (i.maxWidth = Number.NaN, i.isMeasured = !1) : (i.maxWidth = n.maxWidth ?? Number.NaN, i.marginTop = s ? i.bbox?.height ?? a?.content?.font?.size ??
|
|
12715
|
+
o === X.Top || o === X.Bottom ? (i.maxWidth = Number.NaN, i.isMeasured = !1) : (i.maxWidth = n.maxWidth ?? Number.NaN, i.marginTop = s ? i.bbox?.height ?? a?.content?.font?.size ?? F.generalFontSize : 0, i.isMeasured = !0);
|
|
12716
12716
|
}
|
|
12717
12717
|
function Bv(t) {
|
|
12718
|
-
const e =
|
|
12718
|
+
const e = F.legendProperties;
|
|
12719
12719
|
t.labels.template = Vt(e.legendLabels), t.valueLabels.template = Vt(e.legendLabels), t.markers.template.width = e.legendMarkersSize, t.markers.template.height = e.legendMarkersSize, t.labels.template.adapter.add("wrap", () => !0), t.labels.template.adapter.add("maxWidth", (i) => {
|
|
12720
12720
|
let a = i, o;
|
|
12721
12721
|
if (t.baseSprite instanceof Ae && (o = $(t.baseSprite.uid, "config")?.legend?.labelMaxWidth), t.position === X.Right || t.position === X.Left)
|
|
12722
|
-
a = o ??
|
|
12722
|
+
a = o ?? F.legendProperties.legendLabels.maxWidth;
|
|
12723
12723
|
else if (o !== void 0)
|
|
12724
12724
|
a = o;
|
|
12725
12725
|
else {
|
|
@@ -12743,7 +12743,7 @@ function Bv(t) {
|
|
|
12743
12743
|
return (n !== void 0 && !pe(n) ? Ms(n) : n) ?? o;
|
|
12744
12744
|
}), t.valueLabels.template.adapter.add("maxWidth", (i) => {
|
|
12745
12745
|
let a = i, o;
|
|
12746
|
-
return t.baseSprite instanceof Ae && (o = $(t.baseSprite.uid, "config")?.legend?.valueLabelMaxWidth), t.position === X.Right || t.position === X.Left ? a = o ??
|
|
12746
|
+
return t.baseSprite instanceof Ae && (o = $(t.baseSprite.uid, "config")?.legend?.valueLabelMaxWidth), t.position === X.Right || t.position === X.Left ? a = o ?? F.legendProperties.valueLabels.maxWidth : a = o ?? Number.NaN, a;
|
|
12747
12747
|
});
|
|
12748
12748
|
}
|
|
12749
12749
|
function Mv(t, e) {
|
|
@@ -12759,7 +12759,7 @@ function Go(t, e) {
|
|
|
12759
12759
|
if (o !== void 0) {
|
|
12760
12760
|
const n = o instanceof li ? o.component?.chart : o.chart;
|
|
12761
12761
|
if (n !== void 0) {
|
|
12762
|
-
const s = $(n.uid, "config"), { rectangleMarkerRadius: r, roundedMarkerRadius: l } =
|
|
12762
|
+
const s = $(n.uid, "config"), { rectangleMarkerRadius: r, roundedMarkerRadius: l } = F.legendProperties;
|
|
12763
12763
|
a = s?.legend?.roundMarkers === !0 ? l : r;
|
|
12764
12764
|
}
|
|
12765
12765
|
}
|
|
@@ -12794,16 +12794,16 @@ function Vv(t) {
|
|
|
12794
12794
|
// using a non empty string to kick in the adapter on `textOutput`
|
|
12795
12795
|
}
|
|
12796
12796
|
};
|
|
12797
|
-
At({ label: e.labels.template, labelConfig: r, defaults:
|
|
12797
|
+
At({ label: e.labels.template, labelConfig: r, defaults: F.legendProperties.legendLabels }), e.labels.template.valign = ae.Middle, e.valueLabels.template.valign = ae.Middle, s === b.PieSeries && Cv(t), e.valueLabels.template.width = Number.NaN;
|
|
12798
12798
|
}
|
|
12799
12799
|
function Wv(t, e) {
|
|
12800
12800
|
e.chartContainer.events.on(
|
|
12801
12801
|
M.SizeChanged,
|
|
12802
12802
|
We(() => {
|
|
12803
12803
|
let a = $(e.uid, "config")?.legend?.maxHeight ?? Number.NaN;
|
|
12804
|
-
Number.isFinite(a) || (t.position === X.Top || t.position === X.Bottom ? a =
|
|
12804
|
+
Number.isFinite(a) || (t.position === X.Top || t.position === X.Bottom ? a = F.legendProperties.maxHeight : a = e instanceof Ae ? e.chartContainer.measuredHeight : e.seriesContainer.measuredHeight), t.maxHeight = a, t.invalidateLayout();
|
|
12805
12805
|
}),
|
|
12806
|
-
|
|
12806
|
+
F.debounceTime
|
|
12807
12807
|
);
|
|
12808
12808
|
}
|
|
12809
12809
|
function Ev(t, e) {
|
|
@@ -12837,7 +12837,7 @@ function Gv(t, e) {
|
|
|
12837
12837
|
function Er(t) {
|
|
12838
12838
|
const { legendElements: e, seriesConfig: i, webChartLegend: a } = t, { legend: o, legendTitle: n } = e, s = o.baseSprite, l = (s === void 0 ? !0 : vd(i)) && a?.visible !== !1;
|
|
12839
12839
|
if (s !== void 0 && a !== void 0 && l) {
|
|
12840
|
-
const { position: d =
|
|
12840
|
+
const { position: d = F.legendProperties.position } = a;
|
|
12841
12841
|
K(o, !0), Rv({
|
|
12842
12842
|
legendConfig: a,
|
|
12843
12843
|
legendTitle: n
|
|
@@ -12863,12 +12863,12 @@ function Xv(t) {
|
|
|
12863
12863
|
p.id = h, Jt(p, s), Qt(p, g);
|
|
12864
12864
|
let S, x;
|
|
12865
12865
|
c !== !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);
|
|
12866
|
-
const C = Rt({ chart: e }), v = Y(i.series),
|
|
12867
|
-
C ? p.dataFields.valueX =
|
|
12866
|
+
const C = Rt({ chart: e }), v = Y(i.series), L = v === P.BarAndLineSplitByNoAggregation ? `${f.toString()}_${ki({ where: u.query?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [f].flat()[0];
|
|
12867
|
+
C ? p.dataFields.valueX = L : p.dataFields.valueY = L;
|
|
12868
12868
|
const T = C ? o[1] : o[0];
|
|
12869
12869
|
if (T !== void 0) {
|
|
12870
12870
|
const O = Rf(T, C);
|
|
12871
|
-
p.dataFields[O] =
|
|
12871
|
+
p.dataFields[O] = F.xAxisField;
|
|
12872
12872
|
}
|
|
12873
12873
|
p.dataFields.customValue = u?.query?.where;
|
|
12874
12874
|
const k = mt(n);
|
|
@@ -12956,7 +12956,7 @@ function Zf(t) {
|
|
|
12956
12956
|
return K(r, a.visible), d.symbolWithColorInfo;
|
|
12957
12957
|
}
|
|
12958
12958
|
function Kf(t, e) {
|
|
12959
|
-
t.showArea === !0 ? t.areaColor !== void 0 ? (e.fill = lt(t.areaColor), e.fillOpacity = e.fill.alpha === 0 ? 0 : 1) : (e.fill = Tn(e.stroke.hex, 1), e.fillOpacity =
|
|
12959
|
+
t.showArea === !0 ? t.areaColor !== void 0 ? (e.fill = lt(t.areaColor), e.fillOpacity = e.fill.alpha === 0 ? 0 : 1) : (e.fill = Tn(e.stroke.hex, 1), e.fillOpacity = F.lineSeries.areaOpacity) : e.fillOpacity = 0;
|
|
12960
12960
|
}
|
|
12961
12961
|
function Qf(t) {
|
|
12962
12962
|
const { series: e, seriesIndexMapper: i, seriesSymbolMapForEvent: a, seriesIndex: o, colorMatch: n, rendererType: s } = t, r = t.seriesConfig, l = $(e.chart.uid, "config"), d = l?.series.length ?? 0, c = Y(l?.series);
|
|
@@ -12989,7 +12989,7 @@ function Qf(t) {
|
|
|
12989
12989
|
}
|
|
12990
12990
|
function _v(t) {
|
|
12991
12991
|
const { seriesConfig: e, lineSeries: i, isRotated: a } = t;
|
|
12992
|
-
e.lineSmoothed === !0 ? i.smoothing = a ? dl.MonotoneY : dl.MonotoneX : i.smoothing =
|
|
12992
|
+
e.lineSmoothed === !0 ? i.smoothing = a ? dl.MonotoneY : dl.MonotoneX : i.smoothing = F.lineSeries.lineSmoothedKind;
|
|
12993
12993
|
}
|
|
12994
12994
|
function ad(t, e) {
|
|
12995
12995
|
const { connectLines: i, temporalBinning: a } = e, o = a?.nullPolicy;
|
|
@@ -13056,7 +13056,7 @@ function No(t, e) {
|
|
|
13056
13056
|
return t.series.values.find((i) => i.id === `${e}_${me.Outliers}`);
|
|
13057
13057
|
}
|
|
13058
13058
|
function zr(t, e) {
|
|
13059
|
-
return (t ??
|
|
13059
|
+
return (t ?? F.boxPlot.boxPlotOutliersVisibility) && e !== !1;
|
|
13060
13060
|
}
|
|
13061
13061
|
function qv(t) {
|
|
13062
13062
|
const { chart: e, axisList: i = [], chartConfig: a, seriesIndex: o, hideLoaderHandle: n, selectionTheme: s } = t, r = qe(a), l = a.series[o], [d, c] = i, u = new Ke();
|
|
@@ -13097,7 +13097,7 @@ function eo(t) {
|
|
|
13097
13097
|
standardizeValuesVisibilityChanged: f
|
|
13098
13098
|
} = t, { x: g, y: h } = i, y = d || c === !0 || f === !0, p = y || u === !0, S = y, x = y;
|
|
13099
13099
|
if (e !== void 0) {
|
|
13100
|
-
const { showOutliers: C, standardizeValues: v, showMean:
|
|
13100
|
+
const { showOutliers: C, standardizeValues: v, showMean: L } = e, T = Rt({ config: e });
|
|
13101
13101
|
if (a instanceof ue && x) {
|
|
13102
13102
|
const B = Y(e.series), N = i?.query?.where, V = he({
|
|
13103
13103
|
y: B === P.BoxPlotMultiFieldsAndCategory ? h : void 0,
|
|
@@ -13109,7 +13109,7 @@ function eo(t) {
|
|
|
13109
13109
|
});
|
|
13110
13110
|
T ? (a.dataFields.valueX = V, a.dataFields.categoryY = g) : (a.dataFields.valueY = V, a.dataFields.categoryX = g), a.dataFields.customValue = N;
|
|
13111
13111
|
}
|
|
13112
|
-
const k = Xs(e), I = Y(k.series), O =
|
|
13112
|
+
const k = Xs(e), I = Y(k.series), O = L === !0 ? void 0 : i?.query?.where, w = {
|
|
13113
13113
|
y: I === P.BoxPlotMultiFieldsAndCategory ? h : void 0,
|
|
13114
13114
|
chartSubType: I,
|
|
13115
13115
|
splitBy: O,
|
|
@@ -13207,7 +13207,7 @@ function Qv(t) {
|
|
|
13207
13207
|
function Jf(t) {
|
|
13208
13208
|
const { chart: e, chartData: i, chartConfig: a } = t;
|
|
13209
13209
|
if (e && i?.length > 1 && a?.showMean === !0) {
|
|
13210
|
-
const o = a.series[0].x ??
|
|
13210
|
+
const o = a.series[0].x ?? F.originalCategoryValue, n = $(e.uid, "boxPlotMeanLinesData");
|
|
13211
13211
|
if (n !== void 0 && n.length > 1) {
|
|
13212
13212
|
const s = [];
|
|
13213
13213
|
for (const r of i) {
|
|
@@ -13229,13 +13229,13 @@ function Jv(t) {
|
|
|
13229
13229
|
chartSubType: o,
|
|
13230
13230
|
rendererType: s
|
|
13231
13231
|
});
|
|
13232
|
-
a?.outline !== void 0 && l && (r.outline.stroke = sa(
|
|
13232
|
+
a?.outline !== void 0 && l && (r.outline.stroke = sa(F.boxPlot.boxPlotWhiskersColor));
|
|
13233
13233
|
const { topStepLineSeries: d, medianStepLineSeries: c, bottomStepLineSeries: u } = Xn(
|
|
13234
13234
|
e.chart,
|
|
13235
13235
|
e.id
|
|
13236
13236
|
);
|
|
13237
13237
|
if (d !== void 0 && c !== void 0 && u !== void 0 && r.outline !== void 0) {
|
|
13238
|
-
r.outline.strokeWidth =
|
|
13238
|
+
r.outline.strokeWidth = F.boxPlot.boxPlotLineWidth, $a(d, r.outline), $a(c, r.outline), $a(u, r.outline);
|
|
13239
13239
|
const f = i.visible !== !1;
|
|
13240
13240
|
K(d, f), K(c, f), K(u, f);
|
|
13241
13241
|
}
|
|
@@ -13252,7 +13252,7 @@ function eL(t) {
|
|
|
13252
13252
|
type: Q.SMS,
|
|
13253
13253
|
style: ei.Circle,
|
|
13254
13254
|
color: o.color,
|
|
13255
|
-
size:
|
|
13255
|
+
size: F.boxPlot.boxPlotOutliersSize
|
|
13256
13256
|
};
|
|
13257
13257
|
s.clones.each((d) => {
|
|
13258
13258
|
const c = e.dataItems.values.find(
|
|
@@ -13687,7 +13687,7 @@ function pL(t) {
|
|
|
13687
13687
|
return n.forEach((C) => {
|
|
13688
13688
|
if (!(C instanceof ta)) {
|
|
13689
13689
|
let v = C.dataItem?.dataContext;
|
|
13690
|
-
if (v !== void 0 && (c === b.BoxPlotSeries && v[
|
|
13690
|
+
if (v !== void 0 && (c === b.BoxPlotSeries && v[F.boxPlot.boxPlotOutlierId] !== !0 || u === P.BarAndLineMultiFields) && (v = Li({
|
|
13691
13691
|
dataContext: v,
|
|
13692
13692
|
yAxisField: d,
|
|
13693
13693
|
yList: S,
|
|
@@ -13841,7 +13841,7 @@ function SL(t) {
|
|
|
13841
13841
|
rotationChanged: c
|
|
13842
13842
|
} = t, { filterBySelection: u, selectionData: f, returnSelectionIndexes: g, returnSelectionOIDs: h } = o ?? {}, { selectionIndexes: y } = f ?? {}, { chart: p } = e, S = $(p.uid, "config"), x = S && "showOutliers" in S && typeof S.showOutliers == "boolean" ? S.showOutliers : !1, C = qe(S), v = E(S?.series);
|
|
13843
13843
|
if (u !== !0 && S !== void 0) {
|
|
13844
|
-
const
|
|
13844
|
+
const L = yL({
|
|
13845
13845
|
series: e,
|
|
13846
13846
|
chartType: v,
|
|
13847
13847
|
showMean: C
|
|
@@ -13853,7 +13853,7 @@ function SL(t) {
|
|
|
13853
13853
|
"currentSelectionDataItems"
|
|
13854
13854
|
);
|
|
13855
13855
|
let O = !1, w = !1, R, B = !1;
|
|
13856
|
-
if (
|
|
13856
|
+
if (L?.[0] !== void 0) {
|
|
13857
13857
|
if (o?.viewExtentUpdated !== !0) {
|
|
13858
13858
|
R = o?.selectionData?.selectionItems ?? I;
|
|
13859
13859
|
const N = $(
|
|
@@ -13880,7 +13880,7 @@ function SL(t) {
|
|
|
13880
13880
|
chartConfig: S,
|
|
13881
13881
|
options: o,
|
|
13882
13882
|
series: e,
|
|
13883
|
-
elementsToApplySelectionTo:
|
|
13883
|
+
elementsToApplySelectionTo: L,
|
|
13884
13884
|
selectionDataItems: R,
|
|
13885
13885
|
layerOidField: k,
|
|
13886
13886
|
xAxisField: l,
|
|
@@ -13897,7 +13897,7 @@ function SL(t) {
|
|
|
13897
13897
|
p.uid,
|
|
13898
13898
|
"computedSelectionIndexes"
|
|
13899
13899
|
);
|
|
13900
|
-
H === void 0 && (H = /* @__PURE__ */ new Map()), z.length ===
|
|
13900
|
+
H === void 0 && (H = /* @__PURE__ */ new Map()), z.length === L.length ? H.set(i ?? 0, {}) : H.set(i ?? 0, {
|
|
13901
13901
|
indexesToSelect: z
|
|
13902
13902
|
}), U(p.uid, { computedSelectionIndexes: H });
|
|
13903
13903
|
}
|
|
@@ -13906,7 +13906,7 @@ function SL(t) {
|
|
|
13906
13906
|
else {
|
|
13907
13907
|
const N = R === void 0 || R.length === 0, V = e instanceof Ci ? e.dataFields?.customValue ?? "" : "", W = (z) => {
|
|
13908
13908
|
let H = z.dataItem?.dataContext;
|
|
13909
|
-
return H !== void 0 && v === b.BoxPlotSeries && H[
|
|
13909
|
+
return H !== void 0 && v === b.BoxPlotSeries && H[F.boxPlot.boxPlotOutlierId] !== !0 && (H = Li({
|
|
13910
13910
|
dataContext: H,
|
|
13911
13911
|
yAxisField: d,
|
|
13912
13912
|
yList: wi(S.series),
|
|
@@ -13929,7 +13929,7 @@ function SL(t) {
|
|
|
13929
13929
|
showOutliers: x
|
|
13930
13930
|
});
|
|
13931
13931
|
};
|
|
13932
|
-
|
|
13932
|
+
L.forEach((z) => {
|
|
13933
13933
|
const H = z.isActive || W(z);
|
|
13934
13934
|
Wt({
|
|
13935
13935
|
element: z,
|
|
@@ -14032,12 +14032,12 @@ async function Po(t) {
|
|
|
14032
14032
|
const u = /* @__PURE__ */ new Map(), { xAxisField: f } = i[0] ?? {}, g = E(n?.series), h = Y(n?.series), y = wi(n?.series ?? []);
|
|
14033
14033
|
let p;
|
|
14034
14034
|
if (s !== void 0 && (p = (await It(s)).find((C) => C.name === f)?.type), i.forEach((x) => {
|
|
14035
|
-
const { elementDataContext: C, yAxisField: v, splitBy:
|
|
14035
|
+
const { elementDataContext: C, yAxisField: v, splitBy: L } = x, T = Li({
|
|
14036
14036
|
dataContext: C,
|
|
14037
14037
|
yAxisField: v,
|
|
14038
14038
|
yList: y,
|
|
14039
14039
|
xAxisField: f,
|
|
14040
|
-
splitBy:
|
|
14040
|
+
splitBy: L,
|
|
14041
14041
|
chartType: g,
|
|
14042
14042
|
chartSubType: h,
|
|
14043
14043
|
showOutliers: r,
|
|
@@ -14061,7 +14061,7 @@ async function Po(t) {
|
|
|
14061
14061
|
options: o,
|
|
14062
14062
|
xAxisField: f,
|
|
14063
14063
|
yAxisField: v ?? "",
|
|
14064
|
-
splitBy:
|
|
14064
|
+
splitBy: L,
|
|
14065
14065
|
xAxisFieldType: p,
|
|
14066
14066
|
chartConfig: n
|
|
14067
14067
|
});
|
|
@@ -14079,8 +14079,8 @@ async function Po(t) {
|
|
|
14079
14079
|
if (l.length === i.length)
|
|
14080
14080
|
c = v;
|
|
14081
14081
|
else
|
|
14082
|
-
for (let
|
|
14083
|
-
c.push(v[
|
|
14082
|
+
for (let L = 0; L < v.length; L += 1)
|
|
14083
|
+
c.push(v[L]);
|
|
14084
14084
|
}
|
|
14085
14085
|
U(e.uid, {
|
|
14086
14086
|
currentSelectionDataItems: d,
|
|
@@ -14202,7 +14202,7 @@ function Fo(t) {
|
|
|
14202
14202
|
const a = i === oe.YAxisTitle ? 1 : 0;
|
|
14203
14203
|
e.events.on(
|
|
14204
14204
|
M.Validated,
|
|
14205
|
-
We(() => da(t),
|
|
14205
|
+
We(() => da(t), F.debounceTime),
|
|
14206
14206
|
a
|
|
14207
14207
|
);
|
|
14208
14208
|
}
|
|
@@ -14219,15 +14219,15 @@ function AL(t, e) {
|
|
|
14219
14219
|
function TL(t) {
|
|
14220
14220
|
const { label: e, labelConfig: i, guideType: a } = t, o = e.axis.renderer instanceof $t;
|
|
14221
14221
|
let n;
|
|
14222
|
-
e instanceof or || (o ? a === Q.SFS ? n =
|
|
14222
|
+
e instanceof or || (o ? a === Q.SFS ? n = F.verticalSurfaceGuideLabels : n = F.verticalLineGuideLabels : a === Q.SFS ? n = F.horizontalSurfaceGuideLabels : n = F.horizontalLineGuideLabels);
|
|
14223
14223
|
const s = { ...i };
|
|
14224
14224
|
s.content.rightToLeft = e.axis.rtl, At({ label: e, labelConfig: s, defaults: n }), e.axis.invalidateLabels();
|
|
14225
14225
|
}
|
|
14226
14226
|
function kL(t, e, i) {
|
|
14227
14227
|
const a = i.chart;
|
|
14228
|
-
t.axisFill.tooltip = new vc(), t.axisFill.interactionsEnabled = !0, t.axisFill.tooltipPosition =
|
|
14228
|
+
t.axisFill.tooltip = new vc(), t.axisFill.interactionsEnabled = !0, t.axisFill.tooltipPosition = F.columnTooltipPosition, t.axisFill.tooltip.label.wrap = !0, t.axisFill.tooltip.adapter.add(
|
|
14229
14229
|
"maxWidth",
|
|
14230
|
-
() => Math.min(
|
|
14230
|
+
() => Math.min(F.tooltipWidth, a.seriesContainer.maxWidth)
|
|
14231
14231
|
), t.axisFill.tooltip.boundingContainer = a.chartAndLegendContainer, t.axisFill.adapter.add("tooltipHTML", (o, n) => {
|
|
14232
14232
|
let s = o;
|
|
14233
14233
|
const { dataItem: r, axis: l } = n;
|
|
@@ -14263,19 +14263,19 @@ function IL(t, e) {
|
|
|
14263
14263
|
const d = $(r.uid, "config"), c = $(r.uid, "isRotated"), f = !xa(t.renderer, c) ? 1 : 0, h = d?.axes?.[f]?.guides;
|
|
14264
14264
|
let y = o, p = n;
|
|
14265
14265
|
if (t instanceof He) {
|
|
14266
|
-
let v = new pc(),
|
|
14266
|
+
let v = new pc(), L;
|
|
14267
14267
|
if (r !== void 0) {
|
|
14268
14268
|
const T = $(t.chart.uid, "formatLocale");
|
|
14269
14269
|
v = Ot({
|
|
14270
14270
|
type: b.DateAxisFormat,
|
|
14271
14271
|
iLocale: r.language.locale,
|
|
14272
14272
|
formatLocale: T
|
|
14273
|
-
}),
|
|
14273
|
+
}), L = d?.axes?.[0]?.valueFormat?.intlOptions;
|
|
14274
14274
|
}
|
|
14275
|
-
y = v.format(o,
|
|
14275
|
+
y = v.format(o, L), n !== void 0 && (p = v.format(n, L));
|
|
14276
14276
|
} else if (t instanceof Le && !(o instanceof Date) && !(n instanceof Date)) {
|
|
14277
|
-
const { start: v, end:
|
|
14278
|
-
Number.isFinite(v) && (y = v), Number.isFinite(
|
|
14277
|
+
const { start: v, end: L } = Hr(t, h?.[s]);
|
|
14278
|
+
Number.isFinite(v) && (y = v), Number.isFinite(L) && (p = L);
|
|
14279
14279
|
const T = nt(t.uid, "numberFormatter") ?? ((k) => new bc().format(k));
|
|
14280
14280
|
y = T(y), p !== void 0 && (p = T(p));
|
|
14281
14281
|
} else t instanceof dt && (y = o, p = n);
|
|
@@ -14373,7 +14373,7 @@ function Qe(t, e) {
|
|
|
14373
14373
|
s = n === !0 && a.value !== void 0;
|
|
14374
14374
|
break;
|
|
14375
14375
|
case de.GaugeFirstAndLastGuides:
|
|
14376
|
-
s = o === !0 && (a.id ===
|
|
14376
|
+
s = o === !0 && (a.id === F.gaugeFirstLabelId || a.id === F.gaugeLastLabelId);
|
|
14377
14377
|
break;
|
|
14378
14378
|
}
|
|
14379
14379
|
return s;
|
|
@@ -14383,7 +14383,7 @@ function im(t, e) {
|
|
|
14383
14383
|
let i = t.axisRanges.length;
|
|
14384
14384
|
if (e) {
|
|
14385
14385
|
const o = t.axisRanges.values.findIndex(
|
|
14386
|
-
(n) => n.id ===
|
|
14386
|
+
(n) => n.id === F.gaugeFirstLabelId
|
|
14387
14387
|
);
|
|
14388
14388
|
o !== -1 && (i = o);
|
|
14389
14389
|
}
|
|
@@ -14397,12 +14397,12 @@ function wL(t, e) {
|
|
|
14397
14397
|
function OL(t, e) {
|
|
14398
14398
|
const { start: i, end: a } = e, o = $(t.uid, "config"), n = Hs(o);
|
|
14399
14399
|
let s = i !== null ? i : void 0;
|
|
14400
|
-
s = t.data.find((d) => d[
|
|
14400
|
+
s = t.data.find((d) => d[F.originalCategoryValue] === i)?.[n] ?? s;
|
|
14401
14401
|
let l = a !== null ? a : void 0;
|
|
14402
14402
|
if (l !== void 0)
|
|
14403
14403
|
for (let d = t.data.length - 1; d >= 0; d -= 1) {
|
|
14404
14404
|
const c = t.data[d];
|
|
14405
|
-
if (c[
|
|
14405
|
+
if (c[F.originalCategoryValue] === a) {
|
|
14406
14406
|
l = c[n];
|
|
14407
14407
|
break;
|
|
14408
14408
|
}
|
|
@@ -14427,7 +14427,7 @@ function RL(t, e) {
|
|
|
14427
14427
|
}
|
|
14428
14428
|
}
|
|
14429
14429
|
function BL(t, e) {
|
|
14430
|
-
t.axisFill.above = e ??
|
|
14430
|
+
t.axisFill.above = e ?? F.guideAbove, t.grid.above = e ?? F.guideAbove;
|
|
14431
14431
|
}
|
|
14432
14432
|
function ML(t, e) {
|
|
14433
14433
|
const { axisFill: i, label: a } = t;
|
|
@@ -14494,7 +14494,7 @@ function WL(t) {
|
|
|
14494
14494
|
}
|
|
14495
14495
|
function EL(t) {
|
|
14496
14496
|
const e = im(t, !1);
|
|
14497
|
-
e.label.inside = !1, e.grid.disabled = !0, e.label.html =
|
|
14497
|
+
e.label.inside = !1, e.grid.disabled = !0, e.label.html = F.htmlEmptyContent, e.label.adapter.add(
|
|
14498
14498
|
"htmlOutput",
|
|
14499
14499
|
(i, a) => Dr(t, a?.dataItem?.value ?? i)
|
|
14500
14500
|
);
|
|
@@ -14571,7 +14571,7 @@ function UL(t) {
|
|
|
14571
14571
|
s.bbox.width
|
|
14572
14572
|
));
|
|
14573
14573
|
});
|
|
14574
|
-
const n = e instanceof He ? e.pixelWidth /
|
|
14574
|
+
const n = e instanceof He ? e.pixelWidth / F.maxNumberOfXAxisLabelsInWrapModeForDateAxis : e.pixelWidth / F.maxNumberOfXAxisLabelsInWrapMode;
|
|
14575
14575
|
e.renderer.minGridDistance = Math.max(o + 1, n);
|
|
14576
14576
|
}
|
|
14577
14577
|
}
|
|
@@ -14581,26 +14581,26 @@ function _L(t) {
|
|
|
14581
14581
|
if (typeof n == "number" && Number.isFinite(n))
|
|
14582
14582
|
s = n;
|
|
14583
14583
|
else if (e.renderer instanceof An)
|
|
14584
|
-
s =
|
|
14584
|
+
s = F.gauge.gaugeMinGridDistance;
|
|
14585
14585
|
else if (e instanceof Le)
|
|
14586
|
-
s = e.renderer instanceof $t ?
|
|
14586
|
+
s = e.renderer instanceof $t ? F.xAxisMinGridDistance : F.yAxisMinGridDistance;
|
|
14587
14587
|
else if (e.renderer instanceof $t)
|
|
14588
14588
|
if (o === !0)
|
|
14589
|
-
s =
|
|
14589
|
+
s = F.secondRotatedValueAxisMinGridDistance;
|
|
14590
14590
|
else if (a === void 0 || a === Ie.Rotate) {
|
|
14591
|
-
const r = i.content.font?.size ??
|
|
14591
|
+
const r = i.content.font?.size ?? F.generalFontSize, l = e instanceof dt ? F.categoryAxisLabelPadding : F.axisLabelPadding;
|
|
14592
14592
|
s = r * l;
|
|
14593
14593
|
} else if (a === Ie.Wrap) {
|
|
14594
14594
|
const r = We(
|
|
14595
14595
|
UL,
|
|
14596
|
-
|
|
14596
|
+
F.debounceTime
|
|
14597
14597
|
);
|
|
14598
14598
|
at(e.uid, {
|
|
14599
14599
|
debouncedUpdateMinGridDistanceForWrapBehavior: r
|
|
14600
14600
|
}), e.events.on(M.SizeChanged, r), e.dispatchImmediately(M.SizeChanged);
|
|
14601
|
-
} else a === Ie.Stagger ? s =
|
|
14601
|
+
} else a === Ie.Stagger ? s = F.staggerMinGridDistance : s = e instanceof dt ? F.xCategoryAxisMinGridDistance : F.xAxisMinGridDistance;
|
|
14602
14602
|
else
|
|
14603
|
-
s = e instanceof dt ?
|
|
14603
|
+
s = e instanceof dt ? F.yCategoryAxisMinGridDistance : F.yAxisMinGridDistance;
|
|
14604
14604
|
e.renderer.minGridDistance = s;
|
|
14605
14605
|
}
|
|
14606
14606
|
function jL(t) {
|
|
@@ -14615,8 +14615,8 @@ function jL(t) {
|
|
|
14615
14615
|
"horizontalCenter",
|
|
14616
14616
|
(i, a) => je(a.uid, "isGuide") !== !0 ? nt(t.uid, "labelsSymbol")?.horizontalCenter ?? i : i
|
|
14617
14617
|
), e.adapter.add("dy", (i, a) => {
|
|
14618
|
-
let o =
|
|
14619
|
-
return a.dataItem?.tick?.length >
|
|
14618
|
+
let o = F.axisLabel.dy ?? i ?? 0;
|
|
14619
|
+
return a.dataItem?.tick?.length > F.axisTickLength ? o = i ?? 0 : o = Number(
|
|
14620
14620
|
je(a.uid, "isGuide") !== !0 ? nt(t.uid, "labelsSymbol")?.yOffset ?? o : o
|
|
14621
14621
|
), o;
|
|
14622
14622
|
}));
|
|
@@ -14634,8 +14634,8 @@ function qL(t) {
|
|
|
14634
14634
|
}
|
|
14635
14635
|
});
|
|
14636
14636
|
const s = nt(e.uid, "labelsSymbol")?.angle ?? 0, l = om(e) >= n + 5;
|
|
14637
|
-
if (!l && s === 0 || l && s ===
|
|
14638
|
-
const d = l ? dn(a.content, e.rtl,
|
|
14637
|
+
if (!l && s === 0 || l && s === F.rotatedAxisLabel.rotation) {
|
|
14638
|
+
const d = l ? dn(a.content, e.rtl, F.axisLabel) : dn({ type: Q.TS }, e.rtl, F.rotatedAxisLabel);
|
|
14639
14639
|
at(e.uid, { labelsSymbol: d }), e.renderer.invalidateLabels();
|
|
14640
14640
|
}
|
|
14641
14641
|
}
|
|
@@ -14656,7 +14656,7 @@ function KL(t) {
|
|
|
14656
14656
|
const { tick: s, label: r, itemIndex: l } = n;
|
|
14657
14657
|
if (je(r.uid, "isGuide") !== !0 && r.currentText !== void 0 && r.measuredWidth > 0) {
|
|
14658
14658
|
const d = l % 2 === 1;
|
|
14659
|
-
s.length = d ? o + 5 :
|
|
14659
|
+
s.length = d ? o + 5 : F.axisTickLength, s.dataItem.label.dy = F.axisLabel.dy + (d ? o : 0);
|
|
14660
14660
|
}
|
|
14661
14661
|
}), o !== void 0 && (e.renderer.labels.template.paddingBottom = o + 5), e.validate();
|
|
14662
14662
|
}
|
|
@@ -14670,7 +14670,7 @@ function QL(t) {
|
|
|
14670
14670
|
})), e !== void 0) {
|
|
14671
14671
|
const o = $(e.uid, "config")?.axes?.[0].labels;
|
|
14672
14672
|
if (o !== void 0) {
|
|
14673
|
-
const n = dn(o.content, e.rtl,
|
|
14673
|
+
const n = dn(o.content, e.rtl, F.axisLabel), s = t.renderer.labels.template;
|
|
14674
14674
|
s.rotation = n.angle, s.verticalCenter = n.verticalCenter, s.horizontalCenter = n.horizontalCenter, Number.isFinite(n.yOffset) && (s.dy = n.yOffset);
|
|
14675
14675
|
}
|
|
14676
14676
|
at(t.uid, { labelsSymbol: void 0 });
|
|
@@ -14699,7 +14699,7 @@ function t0(t) {
|
|
|
14699
14699
|
e !== void 0 && (t.events.off(M.DataRangeChanged, e), at(t.uid, {
|
|
14700
14700
|
debouncedAxisLabelStaggerCallback: void 0
|
|
14701
14701
|
})), t.renderer.ticks.each((i) => {
|
|
14702
|
-
i.length =
|
|
14702
|
+
i.length = F.axisTickLength, i.dataItem?.label && (i.dataItem.label.dy = F.axisLabel.dy ?? 0);
|
|
14703
14703
|
});
|
|
14704
14704
|
}
|
|
14705
14705
|
function i0(t) {
|
|
@@ -14707,21 +14707,21 @@ function i0(t) {
|
|
|
14707
14707
|
}
|
|
14708
14708
|
function nd(t) {
|
|
14709
14709
|
jL(t), t.renderer.labels.template.paddingLeft = 0, t.renderer.labels.template.paddingRight = 0, t.renderer.labels.template.maxWidth = Number.NaN;
|
|
14710
|
-
const e = We(qL,
|
|
14710
|
+
const e = We(qL, F.debounceTime, {
|
|
14711
14711
|
leading: !0
|
|
14712
14712
|
});
|
|
14713
14713
|
at(t.uid, { debouncedAxisLabelRotationCallback: e }), t.events.on(M.Validated, e), t.dispatchImmediately(M.Validated);
|
|
14714
14714
|
}
|
|
14715
14715
|
function sd(t, e = 1) {
|
|
14716
14716
|
t.renderer.labels.template.wrap = !0, t.renderer.labels.template.paddingLeft = 0.5, t.renderer.labels.template.paddingRight = 0.5, t.renderer.labels.template.textAlign = "middle";
|
|
14717
|
-
const i = We((a) => ZL(a, e),
|
|
14717
|
+
const i = We((a) => ZL(a, e), F.debounceTime);
|
|
14718
14718
|
at(t.uid, { debouncedAxisLabelWrapCallback: i }), t.events.on(M.DataRangeChanged, i);
|
|
14719
14719
|
}
|
|
14720
14720
|
function a0(t) {
|
|
14721
|
-
t.renderer.labels.template.maxWidth =
|
|
14721
|
+
t.renderer.labels.template.maxWidth = F.yAxisLabelMaxWidth, t.renderer.labels.template.wrap = !0, t.renderer.labels.template.textAlign = "end";
|
|
14722
14722
|
}
|
|
14723
14723
|
function o0(t) {
|
|
14724
|
-
const e = We(KL,
|
|
14724
|
+
const e = We(KL, F.debounceTime);
|
|
14725
14725
|
at(t.uid, { debouncedAxisLabelStaggerCallback: e }), t.events.on(M.DataRangeChanged, e);
|
|
14726
14726
|
}
|
|
14727
14727
|
function n0(t) {
|
|
@@ -14766,9 +14766,9 @@ function s0(t) {
|
|
|
14766
14766
|
if (e.renderer instanceof Pa || a !== b.HistogramSeries) {
|
|
14767
14767
|
const l = e.renderer.labels.template;
|
|
14768
14768
|
l.axis = e;
|
|
14769
|
-
const { labels: d } = i, c = e.renderer instanceof $t && l.rotation ===
|
|
14769
|
+
const { labels: d } = i, c = e.renderer instanceof $t && l.rotation === F.rotatedAxisLabel.rotation, u = d;
|
|
14770
14770
|
let f;
|
|
14771
|
-
c ? (u.content.angle = void 0, u.content.horizontalAlignment = void 0, u.content.verticalAlignment = void 0, u.content.yoffset = void 0, f =
|
|
14771
|
+
c ? (u.content.angle = void 0, u.content.horizontalAlignment = void 0, u.content.verticalAlignment = void 0, u.content.yoffset = void 0, f = F.rotatedAxisLabel) : e.renderer instanceof $t && (o === Ie.Stagger || o === Ie.Wrap) && (f = { wrap: !0, dy: F.axisLabel.dy }), e.renderer instanceof Pa && n !== Ie.Hide && (f = { wrap: !0 }), At({ label: l, labelConfig: u, defaults: f }), e.renderer.labels.template.paddingTop = e.renderer instanceof $t ? 0 : F.axisLabel.dy, l.align = "none", l.valign = "none", n0({
|
|
14772
14772
|
axis: e,
|
|
14773
14773
|
horizontalAxisLabelsBehavior: o,
|
|
14774
14774
|
verticalAxisLabelsBehavior: n,
|
|
@@ -14791,16 +14791,16 @@ function r0(t, e = !0) {
|
|
|
14791
14791
|
}
|
|
14792
14792
|
function l0(t, e) {
|
|
14793
14793
|
let i, a;
|
|
14794
|
-
const o = Vt(
|
|
14794
|
+
const o = Vt(F.dataLabelInitialize);
|
|
14795
14795
|
ci(o.uid, { isDataLabel: !0 }), t.bullets.push(o);
|
|
14796
|
-
const n = Vt(
|
|
14796
|
+
const n = Vt(F.dataLabelInitialize, t.columns.template);
|
|
14797
14797
|
return ci(n.uid, { isDataLabel: !0 }), $s(n, t), $s(o, t), t.events.on(
|
|
14798
14798
|
M.Validated,
|
|
14799
14799
|
We(() => {
|
|
14800
14800
|
Co(n) && n.clones.each((s) => {
|
|
14801
14801
|
Co(s) && s.validate();
|
|
14802
14802
|
});
|
|
14803
|
-
},
|
|
14803
|
+
}, F.debounceTime)
|
|
14804
14804
|
), n.html = "{valueX}", o.html = "{valueX}", Mr(o), Gr(e) ? (i = o, a = n) : (i = n, a = o), Br(b.BarSeries, o), wf(b.BarSeries, i), { newLabelToRender: i, newLabelToHide: a };
|
|
14805
14805
|
}
|
|
14806
14806
|
function d0(t) {
|
|
@@ -14810,8 +14810,8 @@ function d0(t) {
|
|
|
14810
14810
|
const { newLabelToRender: c, newLabelToHide: u } = l0(e, i);
|
|
14811
14811
|
s = c, r = u;
|
|
14812
14812
|
}
|
|
14813
|
-
let l =
|
|
14814
|
-
Gr(i) ? (l = a === !0 ?
|
|
14813
|
+
let l = F.dataLabel, d = !0;
|
|
14814
|
+
Gr(i) ? (l = a === !0 ? F.dataLabelRotated : F.dataLabel, d = n === !0) : (l = a === !0 ? F.dataLabelStackedRotated : F.dataLabelStackedNonRotated, d = o !== !1), r0(s, d), r !== void 0 && (r.visible = !1, r.disabled = !0), s.html = "{valueX}", En({
|
|
14815
14815
|
...t,
|
|
14816
14816
|
dataLabel: s,
|
|
14817
14817
|
labelDefaults: l,
|
|
@@ -14827,7 +14827,7 @@ function c0(t) {
|
|
|
14827
14827
|
defaultOutput: i ?? "",
|
|
14828
14828
|
dataItem: e.dataItem
|
|
14829
14829
|
})), Ne(o);
|
|
14830
|
-
}), e.label.html =
|
|
14830
|
+
}), e.label.html = F.htmlEmptyContent);
|
|
14831
14831
|
}
|
|
14832
14832
|
function Ds(t) {
|
|
14833
14833
|
const { axis: e, start: i, end: a } = t;
|
|
@@ -14844,16 +14844,16 @@ function xa(t, e) {
|
|
|
14844
14844
|
}
|
|
14845
14845
|
function u0(t) {
|
|
14846
14846
|
Tt(t.labels.template) && (t.labels.template.events.on(M.Over, (e) => {
|
|
14847
|
-
const { axisLabelOveredOpacity: i } =
|
|
14847
|
+
const { axisLabelOveredOpacity: i } = F;
|
|
14848
14848
|
e.target.fillOpacity = (e.target.fillOpacity ?? 1) * i;
|
|
14849
14849
|
}), t.labels.template.events.on(M.Out, (e) => {
|
|
14850
|
-
const { axisLabelOveredOpacity: i } =
|
|
14850
|
+
const { axisLabelOveredOpacity: i } = F;
|
|
14851
14851
|
e.target.fillOpacity = (e.target.fillOpacity ?? 0.5) / i;
|
|
14852
14852
|
}));
|
|
14853
14853
|
}
|
|
14854
14854
|
function f0(t) {
|
|
14855
14855
|
const { axis: e, valueFormat: i, axisRenderer: a, chartType: o } = t;
|
|
14856
|
-
a.grid.template.applyOnClones = !0, a.ticks.template.applyOnClones = !0, a.labels.template.applyOnClones = !0, a.hoverable = !0, a.line.strokeOpacity = 1, a.grid.template.strokeOpacity = 1, a.ticks.template.strokeOpacity = 1, Wn(a.labels.template,
|
|
14856
|
+
a.grid.template.applyOnClones = !0, a.ticks.template.applyOnClones = !0, a.labels.template.applyOnClones = !0, a.hoverable = !0, a.line.strokeOpacity = 1, a.grid.template.strokeOpacity = 1, a.ticks.template.strokeOpacity = 1, Wn(a.labels.template, F.axisLabel), a.ticks.template.disabled = !1, a.labels.template.disabled = !0, c0(e), $o(i) && (u0(a), LL(e)), Fo({
|
|
14857
14857
|
chart: e.chart,
|
|
14858
14858
|
label: e.title,
|
|
14859
14859
|
labelType: e.renderer instanceof $t ? oe.XAxisTitle : oe.YAxisTitle
|
|
@@ -14861,7 +14861,7 @@ function f0(t) {
|
|
|
14861
14861
|
M.Validated,
|
|
14862
14862
|
We(() => {
|
|
14863
14863
|
am({ axis: e, restoreLabelsVisibility: !0 });
|
|
14864
|
-
},
|
|
14864
|
+
}, F.debounceTime)
|
|
14865
14865
|
);
|
|
14866
14866
|
}
|
|
14867
14867
|
function m0(t) {
|
|
@@ -14899,7 +14899,7 @@ function m0(t) {
|
|
|
14899
14899
|
}
|
|
14900
14900
|
}
|
|
14901
14901
|
function g0(t) {
|
|
14902
|
-
t.events.on(M.Validated, We(m0,
|
|
14902
|
+
t.events.on(M.Validated, We(m0, F.debounceTime));
|
|
14903
14903
|
}
|
|
14904
14904
|
function h0(t) {
|
|
14905
14905
|
const { axis: e, isNonAggregatedChart: i } = t;
|
|
@@ -14929,7 +14929,7 @@ function ld(t) {
|
|
|
14929
14929
|
const g = n[f], { value: h, endValue: y, axisFill: p, grid: S, label: x } = g;
|
|
14930
14930
|
if (je(x?.uid, "isGuide") === !0) {
|
|
14931
14931
|
if (o = g.visible, o && g instanceof nr) {
|
|
14932
|
-
const { start: v, end:
|
|
14932
|
+
const { start: v, end: L } = Hr(e, u?.[f]), T = Math.min(h, y, v ?? h, L ?? y), k = Math.max(h, y, v ?? h, L ?? y);
|
|
14933
14933
|
T < i && k < i || T > a && k > a ? o = !1 : (g.value = T < i ? i : T, g.endValue = k > a ? a : k);
|
|
14934
14934
|
}
|
|
14935
14935
|
K(p, o), K(S, o), K(x, o);
|
|
@@ -15023,12 +15023,12 @@ function rm(t, e) {
|
|
|
15023
15023
|
}
|
|
15024
15024
|
function b0(t) {
|
|
15025
15025
|
const { axis: e, isLogarithmic: i, isSecondValueAxis: a } = t;
|
|
15026
|
-
(e instanceof He || e instanceof Le) && (e.logarithmic = i === !0 && rm(e, a), e.treatZeroAs = i === !0 ?
|
|
15026
|
+
(e instanceof He || e instanceof Le) && (e.logarithmic = i === !0 && rm(e, a), e.treatZeroAs = i === !0 ? F.treatZeroValueAs : 0);
|
|
15027
15027
|
}
|
|
15028
15028
|
function y0(t, e) {
|
|
15029
15029
|
const { minimum: i, maximum: a, isLogarithmic: o } = e ?? {};
|
|
15030
15030
|
let { buffer: n } = e ?? {};
|
|
15031
|
-
return n ??=
|
|
15031
|
+
return n ??= F.buffer, t instanceof Le && !(t instanceof He) && !n && (o !== !0 || a != null || i != null);
|
|
15032
15032
|
}
|
|
15033
15033
|
function S0(t, e) {
|
|
15034
15034
|
let i = !1;
|
|
@@ -15052,8 +15052,8 @@ function C0(t) {
|
|
|
15052
15052
|
chartConfig: f,
|
|
15053
15053
|
chartData: c.data,
|
|
15054
15054
|
filteredSeriesIds: S
|
|
15055
|
-
}), { minX: C, maxX: v, minY:
|
|
15056
|
-
g = k, a === b.BarSeries || a === b.HistogramSeries || a === b.ComboLineAndBarSeries || a === b.LineSeries && h === $e.Stacked && !y ? (l = Math.min(k,
|
|
15055
|
+
}), { minX: C, maxX: v, minY: L, maxY: T } = x, [k, I] = y ? [C ?? Number.NaN, v ?? Number.NaN] : [L, T];
|
|
15056
|
+
g = k, a === b.BarSeries || a === b.HistogramSeries || a === b.ComboLineAndBarSeries || a === b.LineSeries && h === $e.Stacked && !y ? (l = Math.min(k, F.treatZeroValueAs), d = Math.max(I, F.treatZeroValueAs)) : (l = k, d = I);
|
|
15057
15057
|
}
|
|
15058
15058
|
return l = n ?? l, d = s ?? d, r && l !== void 0 && l !== null && l <= 0 && (l = x0(g)), { min: l, max: d };
|
|
15059
15059
|
}
|
|
@@ -15124,7 +15124,7 @@ function F0(t, e) {
|
|
|
15124
15124
|
function A0(t, e) {
|
|
15125
15125
|
const i = t.renderer instanceof $t;
|
|
15126
15126
|
t.events.once(M.Validated, () => {
|
|
15127
|
-
let a = t.renderer instanceof Pa ?
|
|
15127
|
+
let a = t.renderer instanceof Pa ? F.yAxisTitleLabel : F.xAxisTitleLabel;
|
|
15128
15128
|
i && (a = { ...a, dy: a.dy ?? 0 }), At({ label: t.title, labelConfig: e, defaults: a }), da({
|
|
15129
15129
|
chart: t.chart,
|
|
15130
15130
|
label: t.title,
|
|
@@ -15171,13 +15171,13 @@ function dm(t) {
|
|
|
15171
15171
|
axisConfig: x,
|
|
15172
15172
|
isSecondValueAxis: v
|
|
15173
15173
|
}), C !== void 0 && S.events.once(M.Validated, () => {
|
|
15174
|
-
const { labelToRender:
|
|
15175
|
-
|
|
15174
|
+
const { labelToRender: L } = sm(t, s);
|
|
15175
|
+
L && (L.html = n === !0 ? "{valueX}" : "{valueY}");
|
|
15176
15176
|
}));
|
|
15177
15177
|
});
|
|
15178
15178
|
}
|
|
15179
15179
|
}
|
|
15180
|
-
},
|
|
15180
|
+
}, F.debounceTime);
|
|
15181
15181
|
t.events.once(M.Validated, e);
|
|
15182
15182
|
}
|
|
15183
15183
|
function k0(t, e) {
|
|
@@ -15209,7 +15209,7 @@ function qo(t) {
|
|
|
15209
15209
|
grid: x,
|
|
15210
15210
|
lineSymbol: C,
|
|
15211
15211
|
labels: v,
|
|
15212
|
-
guides:
|
|
15212
|
+
guides: L,
|
|
15213
15213
|
valueFormat: T,
|
|
15214
15214
|
displayZeroLine: k,
|
|
15215
15215
|
displayCursorTooltip: I,
|
|
@@ -15223,7 +15223,7 @@ function qo(t) {
|
|
|
15223
15223
|
}), Ut({
|
|
15224
15224
|
element: e.renderer.line,
|
|
15225
15225
|
lineSymbol: {
|
|
15226
|
-
color: [...
|
|
15226
|
+
color: [...F.color],
|
|
15227
15227
|
...C ?? Io()
|
|
15228
15228
|
},
|
|
15229
15229
|
visible: y
|
|
@@ -15259,7 +15259,7 @@ function qo(t) {
|
|
|
15259
15259
|
axisConfig: i,
|
|
15260
15260
|
chartType: o,
|
|
15261
15261
|
isSecondValueAxis: u
|
|
15262
|
-
}), b0({ axis: e, isLogarithmic: p, isSecondValueAxis: u }), A0(e, S), F0(e, I), u !== !0 && (WL({ axis: e, guides:
|
|
15262
|
+
}), b0({ axis: e, isLogarithmic: p, isSecondValueAxis: u }), A0(e, S), F0(e, I), u !== !0 && (WL({ axis: e, guides: L, guideTooltipFormatter: l, utilsStrings: g }), L0(e, k));
|
|
15263
15263
|
}
|
|
15264
15264
|
function Yr(t) {
|
|
15265
15265
|
const {
|
|
@@ -15278,7 +15278,7 @@ function Yr(t) {
|
|
|
15278
15278
|
errorStrings: g
|
|
15279
15279
|
} = t;
|
|
15280
15280
|
let { axisLabelsBehaviorChanged: h } = t;
|
|
15281
|
-
const y = $(e.uid, "config"), { horizontalAxisLabelsBehavior: p, verticalAxisLabelsBehavior: S } = y, x = E(y.series), C = Et(y), v = o === !0 ? 1 : 0,
|
|
15281
|
+
const y = $(e.uid, "config"), { horizontalAxisLabelsBehavior: p, verticalAxisLabelsBehavior: S } = y, x = E(y.series), C = Et(y), v = o === !0 ? 1 : 0, L = o === !0 ? 0 : 1, T = i?.[v], k = i?.[L];
|
|
15282
15282
|
let I = e.xAxes.getIndex(0);
|
|
15283
15283
|
cm({
|
|
15284
15284
|
chart: e,
|
|
@@ -15313,7 +15313,7 @@ function Yr(t) {
|
|
|
15313
15313
|
...H,
|
|
15314
15314
|
axis: O,
|
|
15315
15315
|
axisConfig: k,
|
|
15316
|
-
axisValueFormatter:
|
|
15316
|
+
axisValueFormatter: L === 1 ? c : d
|
|
15317
15317
|
}), w !== void 0 && i?.[2] !== void 0 && qo({
|
|
15318
15318
|
...H,
|
|
15319
15319
|
axis: w,
|
|
@@ -15382,8 +15382,8 @@ function $0(t) {
|
|
|
15382
15382
|
const S = n === !0 ? e.yAxes.getIndex(0) : e.xAxes.getIndex(0);
|
|
15383
15383
|
if (S !== void 0) {
|
|
15384
15384
|
S instanceof dt && (S.dataFields.category = Hs(i));
|
|
15385
|
-
const v = S.renderer,
|
|
15386
|
-
|
|
15385
|
+
const v = S.renderer, L = v.grid.template;
|
|
15386
|
+
L.location = 0, v.cellStartLocation = 0.1, v.cellEndLocation = 0.9;
|
|
15387
15387
|
const T = i.orderOptions?.data?.orderBy === vn.Descending;
|
|
15388
15388
|
let k = n === !0;
|
|
15389
15389
|
T && S instanceof He && (k = !k), v.inversed = k;
|
|
@@ -15436,9 +15436,9 @@ function D0(t) {
|
|
|
15436
15436
|
p = y * 0.5;
|
|
15437
15437
|
break;
|
|
15438
15438
|
}
|
|
15439
|
-
p > h && (d = a * (h / p)), r =
|
|
15439
|
+
p > h && (d = a * (h / p)), r = F.gauge.innerLabelAutoMinFontSize, l = F.gauge.innerLabelAutoMaxFontSize;
|
|
15440
15440
|
} else
|
|
15441
|
-
r =
|
|
15441
|
+
r = F.gauge.axisLabelAutoMinFontSize, l = F.gauge.axisLabelAutoMaxFontSize;
|
|
15442
15442
|
const c = o * d;
|
|
15443
15443
|
return c < r ? d *= r / c : c > l && (d *= l / c), d;
|
|
15444
15444
|
}
|
|
@@ -15455,7 +15455,7 @@ function Ur(t) {
|
|
|
15455
15455
|
if (d > 0) {
|
|
15456
15456
|
const c = d / l;
|
|
15457
15457
|
if (c > 0) {
|
|
15458
|
-
const { axisLabelToInnerChartRatio: u, innerLabelToInnerChartRatio: f } =
|
|
15458
|
+
const { axisLabelToInnerChartRatio: u, innerLabelToInnerChartRatio: f } = F.gauge, g = i === it.InnerLabel ? f : u;
|
|
15459
15459
|
r = o * (g / c), r = D0({
|
|
15460
15460
|
chart: e,
|
|
15461
15461
|
labelList: a,
|
|
@@ -15574,7 +15574,7 @@ function Os(t, e) {
|
|
|
15574
15574
|
if (i !== void 0) {
|
|
15575
15575
|
const a = e ?? $(t.uid, "config"), { onlyShowFirstAndLastLabels: o } = a?.axes?.[0] ?? {};
|
|
15576
15576
|
if (!i.renderer.labels.template.visible || o === !0)
|
|
15577
|
-
t.radius = new an(
|
|
15577
|
+
t.radius = new an(F.gauge.radius);
|
|
15578
15578
|
else {
|
|
15579
15579
|
const n = Qe(i, de.GaugeTicksWithLabels), { furthestLabelX: s, furthestLabelY: r } = n.reduce(
|
|
15580
15580
|
({ furthestLabelX: l, furthestLabelY: d, furthestPixelX: c, furthestPixelY: u }, { label: f }) => {
|
|
@@ -15608,8 +15608,8 @@ function Os(t, e) {
|
|
|
15608
15608
|
const d = (s.bbox.width + 5) * s.scale, c = (r.bbox.height + 5) * r.scale, u = typeof i.renderer.labels.template.radius == "number" ? i.renderer.labels.template.radius : i.renderer.labels.template.radius.value, f = (d + u) * 2 + t.radarContainer.measuredWidth + Ho(t.paddingLeft) + Ho(t.paddingRight), g = 80, h = 170, y = t.htmlContainer?.clientHeight ?? 0, p = Math.max(
|
|
15609
15609
|
0,
|
|
15610
15610
|
Math.min(1, (y - g) / (h - g))
|
|
15611
|
-
), S = t.radarContainer.measuredHeight + (c + u * p) * 2 + Ho(t.paddingTop) + Ho(t.paddingBottom), x = t.measuredWidth, C = t.measuredHeight, v = x / f,
|
|
15612
|
-
Number.isFinite(N) && N >= 10 && N <=
|
|
15611
|
+
), S = t.radarContainer.measuredHeight + (c + u * p) * 2 + Ho(t.paddingTop) + Ho(t.paddingBottom), x = t.measuredWidth, C = t.measuredHeight, v = x / f, L = C / S, T = (typeof t.radius == "number" ? t.radius : t.radius.value) * 100, k = Number((T * v).toFixed(2)), I = Number((T * L).toFixed(2)), O = k / T, w = I / T, R = t.radarContainer.measuredWidth * O, B = t.radarContainer.measuredWidth * w, [N, V] = R < B ? [k, O] : [I, w];
|
|
15612
|
+
Number.isFinite(N) && N >= 10 && N <= F.gauge.radius && (V < 0.98 || V > 1.02) && (t.radius = new an(N));
|
|
15613
15613
|
}
|
|
15614
15614
|
}
|
|
15615
15615
|
}
|
|
@@ -15618,11 +15618,11 @@ function B0(t) {
|
|
|
15618
15618
|
const e = t.xAxes.getIndex(0);
|
|
15619
15619
|
e !== void 0 && (e.events.on(M.SizeChanged, () => Os(t)), e.events.on(
|
|
15620
15620
|
M.Validated,
|
|
15621
|
-
We(() => Os(t),
|
|
15621
|
+
We(() => Os(t), F.debounceTime)
|
|
15622
15622
|
));
|
|
15623
15623
|
}
|
|
15624
15624
|
function um(t) {
|
|
15625
|
-
const e = t.hands.push(new Wg()), i =
|
|
15625
|
+
const e = t.hands.push(new Wg()), i = F.gaugeNeedle, { startWidth: a, endWidth: o, innerRadius: n } = i;
|
|
15626
15626
|
e.pin.disabled = !0, e.startWidth = a ?? Number.NaN, e.endWidth = o ?? Number.NaN, e.innerRadius = ot(n ?? Number.NaN);
|
|
15627
15627
|
const s = t.xAxes.getIndex(0);
|
|
15628
15628
|
return s !== void 0 && (e.axis = s), e;
|
|
@@ -15646,7 +15646,7 @@ function M0(t) {
|
|
|
15646
15646
|
function N0(t, e) {
|
|
15647
15647
|
let i = e ?? null;
|
|
15648
15648
|
if (e != null) {
|
|
15649
|
-
const a = t.xAxes.getIndex(0), o = $(t.uid, "config"), n = a.min ?? o?.axes?.[0].minimum ??
|
|
15649
|
+
const a = t.xAxes.getIndex(0), o = $(t.uid, "config"), n = a.min ?? o?.axes?.[0].minimum ?? F.gauge.axisMinimum, s = a.max ?? o?.axes?.[0].maximum ?? F.gauge.axisMaximum;
|
|
15650
15650
|
e < n ? i = n : e > s && (i = s);
|
|
15651
15651
|
}
|
|
15652
15652
|
return i;
|
|
@@ -15655,7 +15655,7 @@ function P0(t) {
|
|
|
15655
15655
|
const { chart: e, needle: i, gaugeValue: a } = t, o = e.hands.getIndex(0) ?? um(e);
|
|
15656
15656
|
if (o !== void 0) {
|
|
15657
15657
|
vo({ element: o, fillSymbol: i?.symbol });
|
|
15658
|
-
const { startWidth: n, endWidth: s, innerRadius: r } =
|
|
15658
|
+
const { startWidth: n, endWidth: s, innerRadius: r } = F.gaugeNeedle;
|
|
15659
15659
|
o.value = N0(e, a), o.pin.disabled = i?.displayPin !== !0, o.visible = i?.visible ?? !0, o.startWidth = i?.startWidth ?? n, o.endWidth = i?.endWidth ?? s, o.innerRadius = ot(i?.innerRadius ?? r);
|
|
15660
15660
|
}
|
|
15661
15661
|
}
|
|
@@ -15668,7 +15668,7 @@ function W0(t) {
|
|
|
15668
15668
|
(r) => je(r.uid, "isGaugeAxisInnerLabel") === !0
|
|
15669
15669
|
);
|
|
15670
15670
|
if (s !== void 0) {
|
|
15671
|
-
At({ label: s, labelConfig: i, defaults:
|
|
15671
|
+
At({ label: s, labelConfig: i, defaults: F.gaugeInnerLabel });
|
|
15672
15672
|
const r = $(e.uid, "formatLocale");
|
|
15673
15673
|
s.html = Z0({
|
|
15674
15674
|
valueFormat: a,
|
|
@@ -15682,7 +15682,7 @@ function W0(t) {
|
|
|
15682
15682
|
}
|
|
15683
15683
|
function E0(t) {
|
|
15684
15684
|
const e = t.axisRanges.create();
|
|
15685
|
-
return e.axisFill.fillOpacity = 1, e.axisFill.disabled = !0, e.grid.strokeOpacity = 1, e.grid.disabled = !1, e.tick.length =
|
|
15685
|
+
return e.axisFill.fillOpacity = 1, e.axisFill.disabled = !0, e.grid.strokeOpacity = 1, e.grid.disabled = !1, e.tick.length = F.gaugeTicksLength, e;
|
|
15686
15686
|
}
|
|
15687
15687
|
function z0(t) {
|
|
15688
15688
|
const e = new or();
|
|
@@ -15698,7 +15698,7 @@ function H0(t) {
|
|
|
15698
15698
|
g >= 0 && e.axisRanges.removeIndex(g);
|
|
15699
15699
|
}
|
|
15700
15700
|
}));
|
|
15701
|
-
const c =
|
|
15701
|
+
const c = F.gauge.numberOfTicksBetweenTwoLabels + 1, u = n * c + 1;
|
|
15702
15702
|
for (let f = 0; f < u; f += 1) {
|
|
15703
15703
|
const g = f === u - 1, h = E0(e), y = g ? a : i + f / c * o;
|
|
15704
15704
|
h.value = r ? xo({ value: y, axisMin: i, axisMax: a }) : y, f % c === 0 && (h.label = z0(e), h.label.text = String(y), h.grid.disabled = !0, Number.isFinite(l) && (h.label.scale = l));
|
|
@@ -15756,13 +15756,13 @@ function U0(t) {
|
|
|
15756
15756
|
{
|
|
15757
15757
|
...n,
|
|
15758
15758
|
start: t.minimum ?? Number.NaN,
|
|
15759
|
-
name:
|
|
15759
|
+
name: F.gaugeFirstLabelId,
|
|
15760
15760
|
label: { ...e.content, text: `${t.minimum}` }
|
|
15761
15761
|
},
|
|
15762
15762
|
{
|
|
15763
15763
|
...n,
|
|
15764
15764
|
start: t.maximum ?? Number.NaN,
|
|
15765
|
-
name:
|
|
15765
|
+
name: F.gaugeLastLabelId,
|
|
15766
15766
|
label: { ...e.content, text: `${t.maximum}` }
|
|
15767
15767
|
}
|
|
15768
15768
|
);
|
|
@@ -15777,7 +15777,7 @@ function _0(t) {
|
|
|
15777
15777
|
const n = $(t.chart.uid, "config")?.axes?.[0], s = je(i.label.uid, "originalWidth"), r = ws(n) && s !== void 0 && s > 0;
|
|
15778
15778
|
o = Math.round(
|
|
15779
15779
|
(r ? s * i.label.scale : i.label.measuredWidth) / 2
|
|
15780
|
-
), i.id ===
|
|
15780
|
+
), i.id === F.gaugeLastLabelId && (o *= -1);
|
|
15781
15781
|
}
|
|
15782
15782
|
return o;
|
|
15783
15783
|
}), i.label.adapter.keys().includes("dy") || i.label.adapter.add("dy", (a) => {
|
|
@@ -15871,7 +15871,7 @@ async function K0(t) {
|
|
|
15871
15871
|
errorStrings: l
|
|
15872
15872
|
} = t, { axes: d, series: c } = i, u = Gs(i), f = E(i.series), { featureIndex: g, x: h } = c[0], y = d?.[0], p = e.xAxes.getIndex(0), S = { ...y };
|
|
15873
15873
|
if (p !== void 0 && S !== void 0) {
|
|
15874
|
-
const { valueFormat: x, needle: C, innerLabel: v, onlyShowFirstAndLastLabels:
|
|
15874
|
+
const { valueFormat: x, needle: C, innerLabel: v, onlyShowFirstAndLastLabels: L } = S;
|
|
15875
15875
|
As({ axis: p, valueFormat: x, chartType: f }) && ro({ isXAxis: !0, axes: e.xAxes, valueFormat: x });
|
|
15876
15876
|
const T = await Gu({
|
|
15877
15877
|
featureIndex: g,
|
|
@@ -15921,14 +15921,14 @@ async function K0(t) {
|
|
|
15921
15921
|
}), X0(p, S), G0({
|
|
15922
15922
|
chart: e,
|
|
15923
15923
|
axis: p,
|
|
15924
|
-
onlyShowFirstAndLastLabels:
|
|
15924
|
+
onlyShowFirstAndLastLabels: L ?? !1,
|
|
15925
15925
|
valueFormat: x,
|
|
15926
15926
|
axisLabelConfigContent: S.labels,
|
|
15927
15927
|
axisValueFormatter: n
|
|
15928
15928
|
}), j0({
|
|
15929
15929
|
chart: e,
|
|
15930
15930
|
axis: p,
|
|
15931
|
-
onlyShowFirstAndLastLabels:
|
|
15931
|
+
onlyShowFirstAndLastLabels: L ?? !1,
|
|
15932
15932
|
valueFormat: x,
|
|
15933
15933
|
gaugeLabelConfigContent: S.labels,
|
|
15934
15934
|
axisValueFormatter: n
|
|
@@ -15975,7 +15975,7 @@ function eF(t) {
|
|
|
15975
15975
|
if (t.isReady()) {
|
|
15976
15976
|
const i = Qe(t, de.Ticks), a = i[0]?.point?.x ?? 0, n = (i[1]?.point?.x ?? 0) - a, s = J0(i);
|
|
15977
15977
|
if (s !== 0) {
|
|
15978
|
-
const r =
|
|
15978
|
+
const r = F.histogramAxisLabel.paddingRight ?? 0;
|
|
15979
15979
|
for (let l = 0; l < i.length; l += 1)
|
|
15980
15980
|
if (l * n - s - r > 0) {
|
|
15981
15981
|
e = l;
|
|
@@ -15991,7 +15991,7 @@ function Rs(t) {
|
|
|
15991
15991
|
const { visible: o, labels: n, guides: s } = a, { visible: r } = n, l = eF(t), d = Qe(t, de.Ticks);
|
|
15992
15992
|
for (let u = 0; u < d.length; u += 1) {
|
|
15993
15993
|
const { tick: f, label: g } = d[u], h = u % l === 0 && o === !0, y = u % l === 0 && r === !0, p = { ...a.labels };
|
|
15994
|
-
p.content.angle = void 0, p.content.yoffset = void 0, p.content.horizontalAlignment = void 0, p.content.verticalAlignment = void 0, At({ label: g, labelConfig: p, defaults:
|
|
15994
|
+
p.content.angle = void 0, p.content.yoffset = void 0, p.content.horizontalAlignment = void 0, p.content.verticalAlignment = void 0, At({ label: g, labelConfig: p, defaults: F.histogramAxisLabel }), K(f, h), K(g, y);
|
|
15995
15995
|
}
|
|
15996
15996
|
am({
|
|
15997
15997
|
axis: t,
|
|
@@ -16013,7 +16013,7 @@ function tF(t) {
|
|
|
16013
16013
|
if (a !== void 0) {
|
|
16014
16014
|
a.renderer.ticks.template.disabled = !0;
|
|
16015
16015
|
const o = () => Rs(a);
|
|
16016
|
-
a.events.once(M.DataItemsValidated, o), e.chartContainer.events.on(M.SizeChanged, We(o,
|
|
16016
|
+
a.events.once(M.DataItemsValidated, o), e.chartContainer.events.on(M.SizeChanged, We(o, F.debounceTime));
|
|
16017
16017
|
}
|
|
16018
16018
|
}
|
|
16019
16019
|
function iF(t, e) {
|
|
@@ -16061,18 +16061,18 @@ function nF(t) {
|
|
|
16061
16061
|
Yr(t);
|
|
16062
16062
|
}
|
|
16063
16063
|
function sF(t) {
|
|
16064
|
-
t.background.fill = lt(
|
|
16064
|
+
t.background.fill = lt(F.backgroundColor);
|
|
16065
16065
|
}
|
|
16066
16066
|
function _n(t, e) {
|
|
16067
|
-
t.background.fill = lt(e ??
|
|
16067
|
+
t.background.fill = lt(e ?? F.backgroundColor);
|
|
16068
16068
|
}
|
|
16069
16069
|
function rF(t) {
|
|
16070
|
-
const e = Xf(
|
|
16070
|
+
const e = Xf(F.headerContainer, t), i = Vt(F.title, e), a = Vt(F.subtitle, e);
|
|
16071
16071
|
return Fo({ chart: t, label: i, labelType: oe.ChartTitle }), Fo({ chart: t, label: a, labelType: oe.ChartSubTitle }), hv(e), { headerContainer: e, title: i, subtitle: a };
|
|
16072
16072
|
}
|
|
16073
16073
|
function jn(t, e) {
|
|
16074
16074
|
const { title: i, subtitle: a, headerContainer: o } = t;
|
|
16075
|
-
At({ label: i, labelConfig: e?.title, defaults:
|
|
16075
|
+
At({ label: i, labelConfig: e?.title, defaults: F.titleLabel }), At({ label: a, labelConfig: e?.subtitle, defaults: F.titleLabel }), Yf(o, i.disabled && a.disabled), da({
|
|
16076
16076
|
chart: i.parent,
|
|
16077
16077
|
label: i,
|
|
16078
16078
|
labelType: oe.ChartTitle
|
|
@@ -16083,12 +16083,12 @@ function jn(t, e) {
|
|
|
16083
16083
|
});
|
|
16084
16084
|
}
|
|
16085
16085
|
function lF(t) {
|
|
16086
|
-
const e = Xf(
|
|
16086
|
+
const e = Xf(F.footerContainer, t), i = Vt(F.footer, e);
|
|
16087
16087
|
return Fo({ chart: t, label: i, labelType: oe.ChartFooter }), { footerContainer: e, footer: i };
|
|
16088
16088
|
}
|
|
16089
16089
|
function qn(t, e) {
|
|
16090
16090
|
const { footer: i, footerContainer: a } = t;
|
|
16091
|
-
At({ label: i, labelConfig: e, defaults:
|
|
16091
|
+
At({ label: i, labelConfig: e, defaults: F.footer }), Yf(a, i.disabled || e?.content.text === ""), da({
|
|
16092
16092
|
chart: i.parent,
|
|
16093
16093
|
label: i,
|
|
16094
16094
|
labelType: oe.ChartFooter
|
|
@@ -16181,45 +16181,45 @@ function pF(t) {
|
|
|
16181
16181
|
colorMatch: s,
|
|
16182
16182
|
isChartFillSymbol: !0
|
|
16183
16183
|
};
|
|
16184
|
-
let h = {};
|
|
16185
|
-
const
|
|
16184
|
+
let h = {}, y = {};
|
|
16185
|
+
const p = Ed(a);
|
|
16186
16186
|
if (e.columns.length === 0 ? h = Ai({
|
|
16187
16187
|
seriesConfig: i,
|
|
16188
16188
|
seriesIndex: a,
|
|
16189
|
-
seriesSymbol: f ??
|
|
16189
|
+
seriesSymbol: f ?? p,
|
|
16190
16190
|
element: new sr(),
|
|
16191
16191
|
colorMatch: s,
|
|
16192
16192
|
isChartFillSymbol: !0
|
|
16193
|
-
}) : e.columns.each((
|
|
16194
|
-
const
|
|
16195
|
-
if (Number.isFinite(
|
|
16196
|
-
const
|
|
16197
|
-
dataItem:
|
|
16193
|
+
}) : e.columns.each((S) => {
|
|
16194
|
+
const x = S.dataItem?.dataContext;
|
|
16195
|
+
if (Number.isFinite(x?.[l])) {
|
|
16196
|
+
const C = Lt({
|
|
16197
|
+
dataItem: x,
|
|
16198
16198
|
seriesConfig: i,
|
|
16199
16199
|
chartSubType: n,
|
|
16200
16200
|
colorMatch: s,
|
|
16201
16201
|
rendererType: r
|
|
16202
|
-
}), v =
|
|
16202
|
+
}), v = x[F.xAxisField] === F.nullValue, L = (v && i.nullCategory?.symbol !== void 0 ? i.nullCategory.symbol : f) ?? p;
|
|
16203
16203
|
h = Ai({
|
|
16204
16204
|
...g,
|
|
16205
|
-
seriesSymbol:
|
|
16206
|
-
element:
|
|
16207
|
-
rendererSymbol:
|
|
16208
|
-
}), ui({ element:
|
|
16205
|
+
seriesSymbol: L,
|
|
16206
|
+
element: S,
|
|
16207
|
+
rendererSymbol: C
|
|
16208
|
+
}), ui({ element: S, stylingInfo: h.stylingInfo }), v || (c.add(JSON.stringify(h.symbolWithColorInfo)), y = h);
|
|
16209
16209
|
}
|
|
16210
16210
|
}), o > 1) {
|
|
16211
|
-
const
|
|
16212
|
-
|
|
16213
|
-
if (
|
|
16214
|
-
const
|
|
16215
|
-
|
|
16216
|
-
element:
|
|
16217
|
-
stylingInfo:
|
|
16211
|
+
const S = e.chart.legend.markers.values;
|
|
16212
|
+
S.length !== 0 ? S.forEach((x) => {
|
|
16213
|
+
if (x.dataItem instanceof ta) {
|
|
16214
|
+
const C = x.dataItem.marker.children.getIndex(0);
|
|
16215
|
+
C !== void 0 && C.baseSprite?.parent instanceof _e ? ui({
|
|
16216
|
+
element: C,
|
|
16217
|
+
stylingInfo: y.stylingInfo
|
|
16218
16218
|
}) : d = !0;
|
|
16219
16219
|
}
|
|
16220
16220
|
}) : d = !0;
|
|
16221
16221
|
}
|
|
16222
|
-
return d && hF(e,
|
|
16222
|
+
return d && hF(e, y.stylingInfo), c.size <= 1 && (u = y.symbolWithColorInfo ?? f), gF(e, l), u;
|
|
16223
16223
|
}
|
|
16224
16224
|
function bF(t) {
|
|
16225
16225
|
const { series: e, seriesSymbolMapForEvent: i, seriesIndexMapper: a, seriesIndex: o, colorMatch: n, rendererType: s } = t, r = t.seriesConfig, l = $(e.chart.uid, "config"), d = l?.series.length ?? 0, c = Y(l?.series), u = pF({
|
|
@@ -16303,7 +16303,7 @@ function SF(t) {
|
|
|
16303
16303
|
const S = h ? o[1] : o[0];
|
|
16304
16304
|
if (S !== void 0) {
|
|
16305
16305
|
const x = Rf(S, h);
|
|
16306
|
-
u.dataFields[x] =
|
|
16306
|
+
u.dataFields[x] = F.xAxisField, u.baseAxis = S;
|
|
16307
16307
|
}
|
|
16308
16308
|
return Nr({
|
|
16309
16309
|
series: u,
|
|
@@ -16367,7 +16367,7 @@ function CF(t, e) {
|
|
|
16367
16367
|
);
|
|
16368
16368
|
}
|
|
16369
16369
|
function vF(t) {
|
|
16370
|
-
const e = Vt(
|
|
16370
|
+
const e = Vt(F.dataLabelInitialize);
|
|
16371
16371
|
return ci(e.uid, { isDataLabel: !0 }), t.bullets.push(e), Mr(e), Br(b.HistogramSeries, e), CF(e, t), e.html = "{valueX}", e;
|
|
16372
16372
|
}
|
|
16373
16373
|
function LF(t) {
|
|
@@ -16412,7 +16412,7 @@ function AF(t) {
|
|
|
16412
16412
|
}
|
|
16413
16413
|
function TF(t) {
|
|
16414
16414
|
const e = t.columns.template;
|
|
16415
|
-
e.tooltipPosition =
|
|
16415
|
+
e.tooltipPosition = F.columnTooltipPosition, e.tooltipHTML = F.htmlEmptyContent, e.adapter.add("tooltipHTML", (i, a) => {
|
|
16416
16416
|
let o = i ?? "";
|
|
16417
16417
|
const { chart: n } = t;
|
|
16418
16418
|
if (n !== void 0) {
|
|
@@ -16469,20 +16469,20 @@ function IF(t) {
|
|
|
16469
16469
|
visible: d
|
|
16470
16470
|
}), e.hiddenInLegend = r !== !0 || u === !0, o && "bins" in o) {
|
|
16471
16471
|
const g = o.bins.map((k) => k.count), h = Math.max(...g), { mean: y, stddev: p, median: S } = o, x = y - p, C = y + p;
|
|
16472
|
-
let v = { x: Number.NaN, y: Number.NaN },
|
|
16472
|
+
let v = { x: Number.NaN, y: Number.NaN }, L = { x: Number.NaN, y: Number.NaN };
|
|
16473
16473
|
switch (c) {
|
|
16474
16474
|
case tt.Mean:
|
|
16475
|
-
v = { x: y, y: 0 },
|
|
16475
|
+
v = { x: y, y: 0 }, L = { x: y, y: h };
|
|
16476
16476
|
break;
|
|
16477
16477
|
case tt.Median:
|
|
16478
|
-
v = { x: S, y: 0 },
|
|
16478
|
+
v = { x: S, y: 0 }, L = { x: S, y: h };
|
|
16479
16479
|
break;
|
|
16480
16480
|
case tt.StdDev:
|
|
16481
|
-
u === !0 ? (v = { x: C, y: 0 },
|
|
16481
|
+
u === !0 ? (v = { x: C, y: 0 }, L = { x: C, y: h }) : (v = { x, y: 0 }, L = { x, y: h });
|
|
16482
16482
|
break;
|
|
16483
16483
|
}
|
|
16484
16484
|
const T = {
|
|
16485
|
-
data: [v,
|
|
16485
|
+
data: [v, L]
|
|
16486
16486
|
};
|
|
16487
16487
|
e.data = T.data;
|
|
16488
16488
|
}
|
|
@@ -16534,7 +16534,7 @@ function DF(t) {
|
|
|
16534
16534
|
lineSymbol: n,
|
|
16535
16535
|
visible: s === !0 && r !== !1
|
|
16536
16536
|
}), e.hiddenInLegend = s !== !0, a && "bins" in a) {
|
|
16537
|
-
const { mean: d, stddev: c, min: u, max: f } = a, g = zc(a.bins), h = Wc(u, f, o ??
|
|
16537
|
+
const { mean: d, stddev: c, min: u, max: f } = a, g = zc(a.bins), h = Wc(u, f, o ?? F.histogramSeries.normalDistribNumberOfPoints).map(
|
|
16538
16538
|
(y) => ({
|
|
16539
16539
|
x: y,
|
|
16540
16540
|
y: Ec({
|
|
@@ -16698,7 +16698,7 @@ async function RF(t) {
|
|
|
16698
16698
|
chartRenderer: d,
|
|
16699
16699
|
queryObject: l
|
|
16700
16700
|
}), C = d ?? S?.renderer, v = To(d, S?.renderer);
|
|
16701
|
-
let
|
|
16701
|
+
let L;
|
|
16702
16702
|
if (Ki({
|
|
16703
16703
|
chartConfig: e,
|
|
16704
16704
|
queryObject: l
|
|
@@ -16712,12 +16712,12 @@ async function RF(t) {
|
|
|
16712
16712
|
chartSubType: P.NonSpecific,
|
|
16713
16713
|
graphicTemplate: x
|
|
16714
16714
|
});
|
|
16715
|
-
|
|
16715
|
+
L = T.rendererSymbol, U(p.chart.uid, { colorMatchApplied: T.colorMatchApplied });
|
|
16716
16716
|
}
|
|
16717
16717
|
la({
|
|
16718
16718
|
// TODO: Remove the type assertion and correct the typings
|
|
16719
16719
|
styleCallback: OF,
|
|
16720
|
-
callbackProps: { ...t, rendererSymbol:
|
|
16720
|
+
callbackProps: { ...t, rendererSymbol: L },
|
|
16721
16721
|
series: p,
|
|
16722
16722
|
seriesConfig: i
|
|
16723
16723
|
}), FF({
|
|
@@ -16761,12 +16761,12 @@ function BF(t) {
|
|
|
16761
16761
|
}
|
|
16762
16762
|
}
|
|
16763
16763
|
}
|
|
16764
|
-
return pe(o) && (o =
|
|
16764
|
+
return pe(o) && (o = F.htmlEmptyContent), Ne(o);
|
|
16765
16765
|
});
|
|
16766
16766
|
}
|
|
16767
16767
|
function MF(t) {
|
|
16768
16768
|
const e = t.labels.template;
|
|
16769
|
-
e.maxWidth =
|
|
16769
|
+
e.maxWidth = F.pieChart.dataLabels.maxWidth ?? Number.NaN, e.wrap = F.pieChart.dataLabels.wrap ?? !0, e.events.on(M.Over, (i) => {
|
|
16770
16770
|
const { dataItem: a } = i.target ?? {};
|
|
16771
16771
|
a instanceof li && a.slice.showTooltip();
|
|
16772
16772
|
}), BF(t);
|
|
@@ -16788,44 +16788,44 @@ function NF(t, e) {
|
|
|
16788
16788
|
pieChart: t.chart,
|
|
16789
16789
|
valueIntlOptions: i?.intlOptions,
|
|
16790
16790
|
percentageIntlOptions: a?.intlOptions,
|
|
16791
|
-
displayNumericValue: n ??
|
|
16792
|
-
displayPercentage: s ??
|
|
16791
|
+
displayNumericValue: n ?? F.pieChart.displayNumericValueOnDataLabel,
|
|
16792
|
+
displayPercentage: s ?? F.pieChart.displayPercentageOnDataLabel,
|
|
16793
16793
|
valuePrefix: r,
|
|
16794
16794
|
valueSuffix: l,
|
|
16795
16795
|
percentagePrefix: d,
|
|
16796
16796
|
percentageSuffix: c
|
|
16797
16797
|
}), g = Us(u), h = pt(t.rtl, " ");
|
|
16798
16798
|
return (y, p, S) => {
|
|
16799
|
-
const x = f(y, p, S), v = o ??
|
|
16800
|
-
let
|
|
16801
|
-
return
|
|
16802
|
-
textSymbol: { ...e.dataLabels.content, text:
|
|
16799
|
+
const x = f(y, p, S), v = o ?? F.pieChart.displayCategoryOnDataLabel ? g(y) : "";
|
|
16800
|
+
let L = pe(v) ? "" : `${v}${h}`;
|
|
16801
|
+
return L = `${L}${x}`, e.dataLabels?.content !== void 0 && (L = ft({
|
|
16802
|
+
textSymbol: { ...e.dataLabels.content, text: L },
|
|
16803
16803
|
format: "html",
|
|
16804
16804
|
defaults: {
|
|
16805
|
-
...
|
|
16806
|
-
wrap: e.optimizeDataLabelsOverlapping ??
|
|
16805
|
+
...F.pieChart.dataLabels,
|
|
16806
|
+
wrap: e.optimizeDataLabelsOverlapping ?? F.pieChart.dataLabels.wrap
|
|
16807
16807
|
}
|
|
16808
|
-
})),
|
|
16808
|
+
})), L;
|
|
16809
16809
|
};
|
|
16810
16810
|
}
|
|
16811
16811
|
function PF(t) {
|
|
16812
|
-
const { pieSeries: e, seriesConfig: i, dataLabelFormatter: a } = t, { dataLabels: o } = i, n = i.dataLabelsOffset ??
|
|
16812
|
+
const { pieSeries: e, seriesConfig: i, dataLabelFormatter: a } = t, { dataLabels: o } = i, n = i.dataLabelsOffset ?? F.pieChart.dataLabelsOffset, s = i.dataLabelsInside ?? F.pieChart.dataLabelsInside;
|
|
16813
16813
|
Ge(e.uid, {
|
|
16814
16814
|
pieChartDataLabelFormatter: a ?? NF(e, i)
|
|
16815
16815
|
}), At({
|
|
16816
16816
|
label: e.labels.template,
|
|
16817
16817
|
labelConfig: o,
|
|
16818
16818
|
defaults: {
|
|
16819
|
-
...
|
|
16820
|
-
wrap: i.optimizeDataLabelsOverlapping ??
|
|
16819
|
+
...F.pieChart.dataLabels,
|
|
16820
|
+
wrap: i.optimizeDataLabelsOverlapping ?? F.pieChart.alignDataLabels
|
|
16821
16821
|
},
|
|
16822
16822
|
skipSettingText: !0
|
|
16823
|
-
}), e.alignLabels = !s && (i.alignDataLabels ??
|
|
16823
|
+
}), e.alignLabels = !s && (i.alignDataLabels ?? F.pieChart.alignDataLabels);
|
|
16824
16824
|
const r = e.labels.template.radius;
|
|
16825
16825
|
e.chart.invalidateData(), (s && r !== ot(-40) || !s && r === ot(-40) || n !== void 0 && Number.isFinite(n) && r !== n) && (e.labels.template.radius = s ? ot(-40) : n, e.invalidate());
|
|
16826
16826
|
}
|
|
16827
16827
|
function VF(t, e) {
|
|
16828
|
-
let i = (h, y, p) =>
|
|
16828
|
+
let i = (h, y, p) => F.htmlEmptyContent;
|
|
16829
16829
|
const {
|
|
16830
16830
|
numericValueFormat: a,
|
|
16831
16831
|
percentValueFormat: o,
|
|
@@ -16840,22 +16840,22 @@ function VF(t, e) {
|
|
|
16840
16840
|
percentageSuffix: g
|
|
16841
16841
|
} = e;
|
|
16842
16842
|
return i = (h, y, p) => {
|
|
16843
|
-
let S =
|
|
16843
|
+
let S = F.htmlEmptyContent;
|
|
16844
16844
|
const C = Wr({
|
|
16845
16845
|
iLocale: t.chart.language.locale,
|
|
16846
16846
|
pieChart: t.chart,
|
|
16847
16847
|
valueIntlOptions: (n ?? a)?.intlOptions,
|
|
16848
16848
|
percentageIntlOptions: (s ?? o)?.intlOptions,
|
|
16849
|
-
displayNumericValue: l ??
|
|
16850
|
-
displayPercentage: d ??
|
|
16849
|
+
displayNumericValue: l ?? F.pieChart.displayNumericValueOnTooltip,
|
|
16850
|
+
displayPercentage: d ?? F.pieChart.displayPercentageOnTooltip,
|
|
16851
16851
|
valuePrefix: c,
|
|
16852
16852
|
valueSuffix: u,
|
|
16853
16853
|
percentagePrefix: f,
|
|
16854
16854
|
percentageSuffix: g
|
|
16855
|
-
})("", y, p), v = !pe(h) && (r ??
|
|
16855
|
+
})("", y, p), v = !pe(h) && (r ?? F.pieChart.displayCategoryOnTooltip);
|
|
16856
16856
|
if (v && (S = `<b>${h}</b>`), !pe(C)) {
|
|
16857
|
-
const
|
|
16858
|
-
S = v ? `${S}<br />${
|
|
16857
|
+
const L = Ms(C);
|
|
16858
|
+
S = v ? `${S}<br />${L}` : L;
|
|
16859
16859
|
}
|
|
16860
16860
|
return S;
|
|
16861
16861
|
}, i;
|
|
@@ -16868,7 +16868,7 @@ function WF(t) {
|
|
|
16868
16868
|
}
|
|
16869
16869
|
function EF(t) {
|
|
16870
16870
|
const e = t.slices.template;
|
|
16871
|
-
e.tooltipHTML =
|
|
16871
|
+
e.tooltipHTML = F.htmlEmptyContent, e.adapter.add("tooltipHTML", (i, a) => {
|
|
16872
16872
|
let o = i ?? "";
|
|
16873
16873
|
const { chart: n } = t;
|
|
16874
16874
|
if (n !== void 0 && a.tooltip !== void 0) {
|
|
@@ -16921,7 +16921,7 @@ function GF(t) {
|
|
|
16921
16921
|
function XF(t) {
|
|
16922
16922
|
const { seriesConfig: e, hideLoaderHandle: i, selectionTheme: a } = t, { x: o, y: n, id: s, visible: r } = e, l = new Nt();
|
|
16923
16923
|
l.id = s, Jt(l, i), l.dataFields.value = n, l.dataFields.category = o;
|
|
16924
|
-
const d =
|
|
16924
|
+
const d = F.pieChart;
|
|
16925
16925
|
l.startAngle = d.min, l.endAngle = 360 + l.startAngle, HF(l), EF(l), MF(l);
|
|
16926
16926
|
const c = a !== void 0 && a.selectedElementsTheme?.transformation?.opacity === void 0 ? {
|
|
16927
16927
|
...a,
|
|
@@ -16993,7 +16993,7 @@ function jF(t) {
|
|
|
16993
16993
|
colorMatch: r,
|
|
16994
16994
|
chartSubType: l
|
|
16995
16995
|
} = t, d = o ? {
|
|
16996
|
-
...
|
|
16996
|
+
...F.pieChart.sliceGrouping.fillSymbol,
|
|
16997
16997
|
...i.sliceGrouping?.fillSymbol
|
|
16998
16998
|
} : Me(n?.fillSymbol ?? i.fillSymbol), c = Lt({
|
|
16999
16999
|
dataItem: e,
|
|
@@ -17043,11 +17043,11 @@ function cd(t, e) {
|
|
|
17043
17043
|
objectIdField: o,
|
|
17044
17044
|
isPieFromFields: n
|
|
17045
17045
|
});
|
|
17046
|
-
p[
|
|
17046
|
+
p[F.pieChart.technicalFieldSliceId] = x;
|
|
17047
17047
|
const C = on(s.slices, x);
|
|
17048
17048
|
C?.fillSymbol?.color !== void 0 && y.add(C.fillSymbol.color);
|
|
17049
17049
|
}), t.forEach((p, S) => {
|
|
17050
|
-
const x = p[
|
|
17050
|
+
const x = p[F.pieChart.technicalFieldSliceId], C = on(s.slices, x), v = Ti(p), L = jF({
|
|
17051
17051
|
dataContext: p,
|
|
17052
17052
|
seriesConfig: s,
|
|
17053
17053
|
existingSlicesColors: y,
|
|
@@ -17057,7 +17057,7 @@ function cd(t, e) {
|
|
|
17057
17057
|
colorMatch: d,
|
|
17058
17058
|
chartSubType: c
|
|
17059
17059
|
});
|
|
17060
|
-
|
|
17060
|
+
L.color && y.add(L.color);
|
|
17061
17061
|
const T = Ac({
|
|
17062
17062
|
dataContext: p,
|
|
17063
17063
|
sliceFromConfig: C,
|
|
@@ -17071,14 +17071,14 @@ function cd(t, e) {
|
|
|
17071
17071
|
}), k = {
|
|
17072
17072
|
sliceId: x,
|
|
17073
17073
|
label: T,
|
|
17074
|
-
fillSymbol:
|
|
17074
|
+
fillSymbol: L
|
|
17075
17075
|
};
|
|
17076
|
-
k.originalLabel = C?.originalLabel ?? (p?.[
|
|
17076
|
+
k.originalLabel = C?.originalLabel ?? (p?.[F.originalCategoryValue] !== void 0 ? p?.[F.originalCategoryValue] : k.label), v ? (h = p[F.pieChart.technicalFieldGroupedSlices], s.sliceGrouping !== void 0 && (g = {
|
|
17077
17077
|
sliceId: s.sliceGrouping.sliceId,
|
|
17078
17078
|
percentageThreshold: s.sliceGrouping.percentageThreshold,
|
|
17079
17079
|
label: T,
|
|
17080
17080
|
originalLabel: s.sliceGrouping.originalLabel ?? T,
|
|
17081
|
-
fillSymbol:
|
|
17081
|
+
fillSymbol: L
|
|
17082
17082
|
})) : f.push(k);
|
|
17083
17083
|
}), { slices: f, groupOfSlicesSymbols: g, groupOfSlices: h };
|
|
17084
17084
|
}
|
|
@@ -17095,7 +17095,7 @@ async function _r(t) {
|
|
|
17095
17095
|
}
|
|
17096
17096
|
function qF(t, e) {
|
|
17097
17097
|
const { ticks: i } = e, a = i?.visible === !1 || e.dataLabelsInside === !0 || e.dataLabels === void 0 || e.dataLabels?.visible === !1 || e.dataLabelsOffset !== void 0 && e.dataLabelsOffset <= 0;
|
|
17098
|
-
t.ticks.template.disabled = a, t.ticks.template.strokeOpacity =
|
|
17098
|
+
t.ticks.template.disabled = a, t.ticks.template.strokeOpacity = F.pieChart.ticksOpacity;
|
|
17099
17099
|
const o = i?.lineSymbol ?? Io({ color: Xd });
|
|
17100
17100
|
a && (o.width = 0), Ut({
|
|
17101
17101
|
element: t.ticks.template,
|
|
@@ -17106,7 +17106,7 @@ function qF(t, e) {
|
|
|
17106
17106
|
function ZF(t) {
|
|
17107
17107
|
const { chart: e, seriesConfig: i, series: a, pieSlicesSymbols: o, options: n, utilsStrings: s } = t, { tooltipFormatter: r, dataLabelFormatter: l } = n ?? {}, { x: d, y: c, id: u, innerRadius: f, startAngle: g, endAngle: h } = i;
|
|
17108
17108
|
a.id = u;
|
|
17109
|
-
const y = Y([i]), p =
|
|
17109
|
+
const y = Y([i]), p = F.pieChart;
|
|
17110
17110
|
a.dataFields.value = y !== P.PieFromFields ? c : Ta, a.dataFields.category = y !== P.PieFromFields ? d : ai;
|
|
17111
17111
|
const S = e.radius instanceof an ? e.radius.value : e.radius;
|
|
17112
17112
|
e.innerRadius = ot((f ?? p.innerRadius) * S), a.startAngle = g ?? p.min, a.endAngle = h ?? 360 + a.startAngle, PF({
|
|
@@ -17164,7 +17164,7 @@ function KF(t, e) {
|
|
|
17164
17164
|
);
|
|
17165
17165
|
}
|
|
17166
17166
|
function QF(t) {
|
|
17167
|
-
const e = Vt(
|
|
17167
|
+
const e = Vt(F.dataLabelInitialize);
|
|
17168
17168
|
return ci(e.uid, { isDataLabel: !0 }), t.bullets.push(e), KF(e, t), e.html = "{valueX} - {valueY}", e;
|
|
17169
17169
|
}
|
|
17170
17170
|
function JF(t) {
|
|
@@ -17213,7 +17213,7 @@ function tA(t) {
|
|
|
17213
17213
|
}, s;
|
|
17214
17214
|
}
|
|
17215
17215
|
function iA(t, e) {
|
|
17216
|
-
t.tooltipHTML =
|
|
17216
|
+
t.tooltipHTML = F.htmlEmptyContent, t.adapter.add("tooltipHTML", (i, a) => {
|
|
17217
17217
|
let o = i ?? "";
|
|
17218
17218
|
const { chart: n } = e;
|
|
17219
17219
|
if (n !== void 0) {
|
|
@@ -17285,7 +17285,7 @@ function rA(t) {
|
|
|
17285
17285
|
}), r.dataFields.valueX = a, r.dataFields.valueY = o, r.xAxis = e, r.yAxis = i, r.hidden = !0, r;
|
|
17286
17286
|
}
|
|
17287
17287
|
function lA(t) {
|
|
17288
|
-
const { trendLine: e, seriesConfig: i, valueFormat: a, chartData: o, defaultR2Value: n } = t, s =
|
|
17288
|
+
const { trendLine: e, seriesConfig: i, valueFormat: a, chartData: o, defaultR2Value: n } = t, s = F.scatterplotSeries;
|
|
17289
17289
|
if (o?.trendLinePoints) {
|
|
17290
17290
|
e.data = o.trendLinePoints;
|
|
17291
17291
|
const d = $(e.chart.uid, "formatLocale"), c = Number.isFinite(o.r2) ? ra({
|
|
@@ -17307,7 +17307,7 @@ function lA(t) {
|
|
|
17307
17307
|
});
|
|
17308
17308
|
}
|
|
17309
17309
|
function dA(t) {
|
|
17310
|
-
const { chart: e, seriesConfig: i, axisList: a = [], hideLoaderHandle: o, selectionTheme: n, ignoreSmoothRenderingLimit: s } = t, r =
|
|
17310
|
+
const { chart: e, seriesConfig: i, axisList: a = [], hideLoaderHandle: o, selectionTheme: n, ignoreSmoothRenderingLimit: s } = t, r = F.scatterplotSeries, [l, d] = a, { x: c, y: u, overlays: f, name: g, id: h } = i, y = [], p = new ue();
|
|
17311
17311
|
Ge(p.uid, { type: b.ScatterSeries }), p.id = h, Jt(p, o), p.hiddenInLegend = !0, p.dataFields.valueX = c, p.dataFields.valueY = u, l !== void 0 && (p.xAxis = l), d !== void 0 && (p.yAxis = d);
|
|
17312
17312
|
const S = zn({ chart: e, lineSeries: p });
|
|
17313
17313
|
iA(S, p), QF(p), p.strokeOpacity = r.strokeOpacity, p.minDistance *= Math.ceil(p.data.length / 1e4), p.hidden = !0, Wi({ element: S, customSelectionTheme: n }), Sa(e, S), Mf({
|
|
@@ -17495,11 +17495,11 @@ function hA(t, e) {
|
|
|
17495
17495
|
).observe(e);
|
|
17496
17496
|
}
|
|
17497
17497
|
function pA(t, e) {
|
|
17498
|
-
let i =
|
|
17498
|
+
let i = F.pieChart.dataLabels.maxWidth ?? 100;
|
|
17499
17499
|
if (t != null) {
|
|
17500
17500
|
const {
|
|
17501
17501
|
alignDataLabels: a,
|
|
17502
|
-
dataLabelsOffset: o =
|
|
17502
|
+
dataLabelsOffset: o = F.pieChart.dataLabelsOffset,
|
|
17503
17503
|
optimizeDataLabelsOverlapping: n,
|
|
17504
17504
|
dataLabels: s,
|
|
17505
17505
|
dataLabelsInside: r
|
|
@@ -17519,7 +17519,7 @@ function bm(t) {
|
|
|
17519
17519
|
U(t.uid, { pieChartRadius: e });
|
|
17520
17520
|
const i = () => {
|
|
17521
17521
|
const a = ot(
|
|
17522
|
-
$(t.uid, "pieChartRadius") ??
|
|
17522
|
+
$(t.uid, "pieChartRadius") ?? F.pieChart.chartOptimizedRadius
|
|
17523
17523
|
);
|
|
17524
17524
|
let o = a;
|
|
17525
17525
|
const n = $(t.uid, "config");
|
|
@@ -17528,22 +17528,22 @@ function bm(t) {
|
|
|
17528
17528
|
innerRadius: r,
|
|
17529
17529
|
optimizeDataLabelsOverlapping: l,
|
|
17530
17530
|
alignDataLabels: d,
|
|
17531
|
-
dataLabelsOffset: c =
|
|
17531
|
+
dataLabelsOffset: c = F.pieChart.dataLabelsOffset,
|
|
17532
17532
|
dataLabels: u,
|
|
17533
17533
|
dataLabelsInside: f
|
|
17534
17534
|
} = s[0];
|
|
17535
17535
|
if (u?.visible === !0 && d === !0 && l === !0 && f !== !0) {
|
|
17536
|
-
const p =
|
|
17536
|
+
const p = F.pieChart.chartOptimizedRadius / 100, S = 500, x = 150, C = 0.6, v = 0.5, L = 1, T = t.chartContainer.measuredWidth - c * 2, k = Math.max(T - x, 0) / (S - x), I = k < 1 ? (
|
|
17537
17537
|
// case 1: the container width is less than the radiusContainerWidthBreakpoint - we want to scale the radius down.
|
|
17538
|
-
Math.max(k **
|
|
17538
|
+
Math.max(k ** L * C, 0.4)
|
|
17539
17539
|
) : (
|
|
17540
17540
|
// case 2: the container width is at or more than the radiusContainerWidthBreakpoint - ramp up radius to the max radius
|
|
17541
17541
|
Math.min(k ** v * C, p)
|
|
17542
17542
|
);
|
|
17543
17543
|
o = ot(I * 100);
|
|
17544
17544
|
} else
|
|
17545
|
-
o = ot(
|
|
17546
|
-
a.value.toFixed(1) !== o.value.toFixed(1) && (U(t.uid, { pieChartRadius: o.percent }), t.radius = o, t.innerRadius = ot((r ??
|
|
17545
|
+
o = ot(F.pieChart.chartRadius);
|
|
17546
|
+
a.value.toFixed(1) !== o.value.toFixed(1) && (U(t.uid, { pieChartRadius: o.percent }), t.radius = o, t.innerRadius = ot((r ?? F.pieChart.innerRadius) * o.value));
|
|
17547
17547
|
const h = t.series?.values?.[0];
|
|
17548
17548
|
h instanceof Nt && (h.labels.template.maxWidth = pA(
|
|
17549
17549
|
n?.series[0],
|
|
@@ -17552,7 +17552,7 @@ function bm(t) {
|
|
|
17552
17552
|
}
|
|
17553
17553
|
return o;
|
|
17554
17554
|
};
|
|
17555
|
-
t.events.on(M.SizeChanged, We(i,
|
|
17555
|
+
t.events.on(M.SizeChanged, We(i, F.debounceTime)), i(), t.validate();
|
|
17556
17556
|
}
|
|
17557
17557
|
}
|
|
17558
17558
|
function ym(t) {
|
|
@@ -17565,8 +17565,8 @@ function ym(t) {
|
|
|
17565
17565
|
chartPaddingRightWhenLegendNotOnRight: n,
|
|
17566
17566
|
chartContainerPaddingTopWhenRotated: s,
|
|
17567
17567
|
chartContainer: r
|
|
17568
|
-
} =
|
|
17569
|
-
let f =
|
|
17568
|
+
} = F, l = a?.series, d = E(l), c = Rt({ config: a }), u = l?.[0]?.dataLabels?.visible ?? !0;
|
|
17569
|
+
let f = F.chartDefaultPaddingRight;
|
|
17570
17570
|
if (c && u && (d === b.LineSeries || d === b.ComboLineAndBarSeries || d === b.BarSeries && (a?.stackedType ?? ic()) === $e.Side)) {
|
|
17571
17571
|
let h = 0;
|
|
17572
17572
|
const y = (p) => je(p.uid, "isDataLabel") ?? !1;
|
|
@@ -17817,7 +17817,7 @@ async function Zr(t, e) {
|
|
|
17817
17817
|
function Zn(t) {
|
|
17818
17818
|
const { chart: e, actionMode: i, cursorRange: a } = t;
|
|
17819
17819
|
if (Tt(e)) {
|
|
17820
|
-
const o = i ?? $(e.uid, "actionMode") ??
|
|
17820
|
+
const o = i ?? $(e.uid, "actionMode") ?? F.actionMode;
|
|
17821
17821
|
U(e.uid, { actionMode: o });
|
|
17822
17822
|
const n = $(e.uid, "filterBySelection");
|
|
17823
17823
|
switch (o) {
|
|
@@ -18011,8 +18011,8 @@ function xm(t) {
|
|
|
18011
18011
|
}
|
|
18012
18012
|
const p = Jm({ chartConfig: i, queryObject: s, chartData: e.data });
|
|
18013
18013
|
p.length > 0 && (e.colors.list = p.map((S) => {
|
|
18014
|
-
const [x, C, v,
|
|
18015
|
-
return new tn({ r: x, g: C, b: v, a:
|
|
18014
|
+
const [x, C, v, L] = S;
|
|
18015
|
+
return new tn({ r: x, g: C, b: v, a: L });
|
|
18016
18016
|
})), f.length > 0 && e.series.pushAll(f), QC(e);
|
|
18017
18017
|
}
|
|
18018
18018
|
async function Qr(t) {
|
|
@@ -18034,7 +18034,7 @@ async function Qr(t) {
|
|
|
18034
18034
|
pieSlicesSymbols: S,
|
|
18035
18035
|
utilsStrings: x,
|
|
18036
18036
|
errorStrings: C
|
|
18037
|
-
} = t, v = e.series.values,
|
|
18037
|
+
} = t, v = e.series.values, L = /* @__PURE__ */ new Map(), T = i.series.length, k = E(a), I = $i(i), O = Et(i), w = Yd(f), R = await It(f, g?.usePopupTemplateFieldsInfo), B = mt(f), N = To(n, B.renderer);
|
|
18038
18038
|
for (const [V, W] of a.entries()) {
|
|
18039
18039
|
const z = E([W]), H = v[V], J = {
|
|
18040
18040
|
numberOfSeries: T,
|
|
@@ -18064,7 +18064,7 @@ async function Qr(t) {
|
|
|
18064
18064
|
chart: e,
|
|
18065
18065
|
series: te,
|
|
18066
18066
|
seriesIndexMapper: s,
|
|
18067
|
-
seriesSymbolMapForEvent:
|
|
18067
|
+
seriesSymbolMapForEvent: L,
|
|
18068
18068
|
chartData: u,
|
|
18069
18069
|
showOutliers: i.showOutliers,
|
|
18070
18070
|
showMean: _,
|
|
@@ -18081,7 +18081,7 @@ async function Qr(t) {
|
|
|
18081
18081
|
xF({
|
|
18082
18082
|
...ee,
|
|
18083
18083
|
stackedType: O,
|
|
18084
|
-
seriesSymbolMapForEvent:
|
|
18084
|
+
seriesSymbolMapForEvent: L,
|
|
18085
18085
|
rotationChanged: r
|
|
18086
18086
|
});
|
|
18087
18087
|
break;
|
|
@@ -18089,7 +18089,7 @@ async function Qr(t) {
|
|
|
18089
18089
|
jv({
|
|
18090
18090
|
...ee,
|
|
18091
18091
|
stackedType: O,
|
|
18092
|
-
seriesSymbolMapForEvent:
|
|
18092
|
+
seriesSymbolMapForEvent: L,
|
|
18093
18093
|
rotationChanged: r
|
|
18094
18094
|
});
|
|
18095
18095
|
break;
|
|
@@ -18147,7 +18147,7 @@ async function Jr(t) {
|
|
|
18147
18147
|
secondaryYAxisLabelFormatter: S,
|
|
18148
18148
|
gaugeInnerLabelFormatter: x,
|
|
18149
18149
|
usePopupTemplateFieldsInfo: C
|
|
18150
|
-
} = a ?? {}, { valid: v, invalidType:
|
|
18150
|
+
} = a ?? {}, { valid: v, invalidType: L, data: T, count: k, queryConfig: I } = l ?? {};
|
|
18151
18151
|
let O, w, R, B;
|
|
18152
18152
|
const { loaderElements: N, loaderHandle: V } = qC(i, a);
|
|
18153
18153
|
V.showLoader(d !== !0);
|
|
@@ -18172,7 +18172,7 @@ async function Jr(t) {
|
|
|
18172
18172
|
const J = Oi(T), ee = qe(e);
|
|
18173
18173
|
e = Sm({
|
|
18174
18174
|
chart: i,
|
|
18175
|
-
hideEmptySeries: a?.hideEmptySeries ??
|
|
18175
|
+
hideEmptySeries: a?.hideEmptySeries ?? F.options.hideEmptySeries,
|
|
18176
18176
|
data: ee ? T : J,
|
|
18177
18177
|
config: e
|
|
18178
18178
|
}).updatedConfig;
|
|
@@ -18189,7 +18189,7 @@ async function Jr(t) {
|
|
|
18189
18189
|
if (!v)
|
|
18190
18190
|
ca({
|
|
18191
18191
|
chart: i,
|
|
18192
|
-
invalidType:
|
|
18192
|
+
invalidType: L,
|
|
18193
18193
|
elementCount: k,
|
|
18194
18194
|
seriesCount: e.series.length,
|
|
18195
18195
|
chartConfig: e,
|
|
@@ -18362,7 +18362,7 @@ async function FA(t) {
|
|
|
18362
18362
|
} = t, c = lr(e, Ae);
|
|
18363
18363
|
c.id = i?.id ?? c.uid;
|
|
18364
18364
|
const u = ac(c.htmlContainer);
|
|
18365
|
-
await Zr(c, u), c.radius = ot(
|
|
18365
|
+
await Zr(c, u), c.radius = ot(F.pieChart.chartRadius), jr(c), Ca({
|
|
18366
18366
|
chart: c,
|
|
18367
18367
|
chartConfig: i,
|
|
18368
18368
|
configValidationStatus: a,
|
|
@@ -18404,7 +18404,7 @@ async function AA(t) {
|
|
|
18404
18404
|
});
|
|
18405
18405
|
let f = a, g;
|
|
18406
18406
|
if (a.valid) {
|
|
18407
|
-
const h =
|
|
18407
|
+
const h = F.gauge, y = Number.isFinite(i?.innerRadius) ? i?.innerRadius : h.innerRadius, p = Number.isFinite(i?.startAngle) ? i?.startAngle : h.startAngle, S = Number.isFinite(i?.endAngle) ? i?.endAngle : h.endAngle;
|
|
18408
18408
|
c.radius = ot(h.radius), typeof y == "number" && (c.innerRadius = ot(y)), typeof p == "number" && (c.startAngle = p), typeof S == "number" && (c.endAngle = S);
|
|
18409
18409
|
const x = await Jr({
|
|
18410
18410
|
chartConfig: i,
|
|
@@ -18442,7 +18442,7 @@ async function TA(t) {
|
|
|
18442
18442
|
errorStrings: u
|
|
18443
18443
|
}), ZC(a.loaderElements, l), o.valid && e !== void 0) {
|
|
18444
18444
|
a.loaderHandle.showLoader(l?.hideLoaderAnimation !== !0);
|
|
18445
|
-
const p = $(i.uid, "seriesFilteredOut"), S = $(i.uid, "unfilteredConfig"), x = $(i.uid, "config"), C = x?.series, v = e.series,
|
|
18445
|
+
const p = $(i.uid, "seriesFilteredOut"), S = $(i.uid, "unfilteredConfig"), x = $(i.uid, "config"), C = x?.series, v = e.series, L = E(v), T = Rt({ config: e });
|
|
18446
18446
|
U(i.uid, { config: Me(e), isRotated: T }), U(i.uid, { filterBySelection: l?.filterBySelection }), Zn({ chart: i, actionMode: l?.actionMode, cursorRange: l?.cursorRange });
|
|
18447
18447
|
const { xOrYChanged: k } = s?.common ?? {};
|
|
18448
18448
|
let { numberOfSeriesChanged: I } = s?.common ?? {};
|
|
@@ -18461,7 +18461,7 @@ async function TA(t) {
|
|
|
18461
18461
|
timeIntervalInfoWasReset: O,
|
|
18462
18462
|
axisLabelsBehaviorChanged: J
|
|
18463
18463
|
});
|
|
18464
|
-
let te = !1, _, q, Se =
|
|
18464
|
+
let te = !1, _, q, Se = L !== b.BarSeries && L !== b.LineSeries && L !== b.ComboLineAndBarSeries && L !== b.HistogramSeries;
|
|
18465
18465
|
const xe = Y(v);
|
|
18466
18466
|
if (U(i.uid, { isNonAggregatedChart: !Sn(xe) }), n) {
|
|
18467
18467
|
const { count: ze, valid: Ye, invalidType: kt, data: St, queryConfig: Be } = r ?? {};
|
|
@@ -18484,12 +18484,12 @@ async function TA(t) {
|
|
|
18484
18484
|
chartConfig: e,
|
|
18485
18485
|
errorStrings: u
|
|
18486
18486
|
}), a.loaderHandle.hideLoader());
|
|
18487
|
-
} else if (
|
|
18487
|
+
} else if (L === b.BarSeries || L === b.LineSeries || L === b.RadarSeries || L === b.ComboLineAndBarSeries || L === b.BoxPlotSeries) {
|
|
18488
18488
|
const ze = $(i.uid, "elementCount");
|
|
18489
18489
|
if (ze !== void 0 && (Se = qm({
|
|
18490
18490
|
count: ze,
|
|
18491
18491
|
seriesCount: v.length,
|
|
18492
|
-
chartType:
|
|
18492
|
+
chartType: L,
|
|
18493
18493
|
chartLimits: g
|
|
18494
18494
|
})), Se) {
|
|
18495
18495
|
const Ye = qd(C, v);
|
|
@@ -18499,7 +18499,7 @@ async function TA(t) {
|
|
|
18499
18499
|
}
|
|
18500
18500
|
} else {
|
|
18501
18501
|
let Ye;
|
|
18502
|
-
switch (
|
|
18502
|
+
switch (L) {
|
|
18503
18503
|
case b.BarSeries:
|
|
18504
18504
|
case b.ComboLineAndBarSeries:
|
|
18505
18505
|
Ye = bi.BarElementExceedsLimit;
|
|
@@ -18530,11 +18530,11 @@ async function TA(t) {
|
|
|
18530
18530
|
xAxisValueFormatType: bn(e),
|
|
18531
18531
|
setTimeBinningInfoWhenNotProvided: l?.setTimeBinningInfoWhenNotProvided
|
|
18532
18532
|
})
|
|
18533
|
-
}),
|
|
18533
|
+
}), L === b.BoxPlotSeries && Jf({
|
|
18534
18534
|
chart: i,
|
|
18535
18535
|
chartData: n ? q ?? i.data : i.data,
|
|
18536
18536
|
chartConfig: e
|
|
18537
|
-
}), n || (i.validateData(),
|
|
18537
|
+
}), n || (i.validateData(), L === b.BoxPlotSeries && i.series.each((ze) => {
|
|
18538
18538
|
ze instanceof ue && !(ze instanceof Ct) && ze.id.includes(me.Outliers) && ze.validateData();
|
|
18539
18539
|
})));
|
|
18540
18540
|
const hi = n && _ && "bins" in _ ? _ : void 0, Xe = _ && "trendLinePoints" in _ ? _ : $(i.uid, "trendLineData");
|
|
@@ -18558,9 +18558,9 @@ async function TA(t) {
|
|
|
18558
18558
|
chart: i,
|
|
18559
18559
|
data: ze ? _ : q,
|
|
18560
18560
|
config: e,
|
|
18561
|
-
hideEmptySeries: l?.hideEmptySeries ??
|
|
18561
|
+
hideEmptySeries: l?.hideEmptySeries ?? F.options.hideEmptySeries
|
|
18562
18562
|
});
|
|
18563
|
-
if (e = Ye.updatedConfig, I = Ye.seriesFilteredOut, (n || z) &&
|
|
18563
|
+
if (e = Ye.updatedConfig, I = Ye.seriesFilteredOut, (n || z) && L !== b.HistogramSeries) {
|
|
18564
18564
|
const St = qe(e), Be = _ && St && "meanLines" in _ ? _.meanLines : q ?? i.data, { colorMatchApplied: aa, rendererFieldNames: io } = await Xa({
|
|
18565
18565
|
data: Be,
|
|
18566
18566
|
queryObject: d,
|
|
@@ -18575,7 +18575,7 @@ async function TA(t) {
|
|
|
18575
18575
|
rotationChanged: w,
|
|
18576
18576
|
timeIntervalInfoWasReset: O,
|
|
18577
18577
|
axisLabelsBehaviorChanged: J,
|
|
18578
|
-
chartType:
|
|
18578
|
+
chartType: L,
|
|
18579
18579
|
isRotated: T,
|
|
18580
18580
|
dualAxisChanged: R,
|
|
18581
18581
|
guideTooltipFormatter: h,
|
|
@@ -18585,8 +18585,8 @@ async function TA(t) {
|
|
|
18585
18585
|
utilsStrings: c,
|
|
18586
18586
|
errorStrings: u
|
|
18587
18587
|
});
|
|
18588
|
-
const kt =
|
|
18589
|
-
(i.series === void 0 || i.series.length === 0 || k || I || Ye.seriesFilteredOut || N || (
|
|
18588
|
+
const kt = L === b.BoxPlotSeries && (Km(v, C) || Qm(v, C));
|
|
18589
|
+
(i.series === void 0 || i.series.length === 0 || k || I || Ye.seriesFilteredOut || N || (L === b.BarSeries || L === b.LineSeries || L === b.RadarSeries || L === b.ComboLineAndBarSeries) && i.series.length !== e.series.length || L !== b.HistogramSeries && ee || B || // NOTE: This fix is here to resolve the issue: https://devtopia.esri.com/webgis/arcgis-charts/issues/6537
|
|
18590
18590
|
// TODO: find a better way to order legends for box plot with split by field rather than re-initializing the series in the future.
|
|
18591
18591
|
kt || s?.boxPlot.showMeanChanged) && (!n && (w || kt || ee) && i.invalidateData(), xm({
|
|
18592
18592
|
chart: i,
|
|
@@ -18653,11 +18653,11 @@ async function kA(t) {
|
|
|
18653
18653
|
U(e.uid, { filterBySelection: r?.filterBySelection, config: Me(n) });
|
|
18654
18654
|
let S = !0, x, C, v = !1;
|
|
18655
18655
|
if (o) {
|
|
18656
|
-
const { count:
|
|
18657
|
-
x = I, U(e.uid, { elementCount:
|
|
18656
|
+
const { count: L, valid: T, invalidType: k, data: I, queryConfig: O } = l ?? {};
|
|
18657
|
+
x = I, U(e.uid, { elementCount: L, queryConfig: O, initialized: T }), S = T === !0, C = Oi(x), S ? C !== void 0 && Xm(e.data, C) && (e.data = C, v = !0) : (ca({
|
|
18658
18658
|
chart: e,
|
|
18659
18659
|
invalidType: k,
|
|
18660
|
-
elementCount:
|
|
18660
|
+
elementCount: L,
|
|
18661
18661
|
seriesCount: h.length,
|
|
18662
18662
|
errorStrings: c
|
|
18663
18663
|
}), i.loaderHandle.hideLoader());
|
|
@@ -18675,8 +18675,8 @@ async function kA(t) {
|
|
|
18675
18675
|
rendererFieldNames: N.rendererFieldNames
|
|
18676
18676
|
});
|
|
18677
18677
|
}
|
|
18678
|
-
const
|
|
18679
|
-
(v ||
|
|
18678
|
+
const L = Tc(g, h);
|
|
18679
|
+
(v || L) && pm({ chart: e, seriesConfig: h, utilsStrings: d }), (p || L) && (Wa({
|
|
18680
18680
|
arrayToSort: C ?? e.data,
|
|
18681
18681
|
chartConfig: n,
|
|
18682
18682
|
fieldList: $(e.uid, "fieldList")
|
|
@@ -18737,7 +18737,7 @@ async function kA(t) {
|
|
|
18737
18737
|
dataWasUpdated: v,
|
|
18738
18738
|
sortChanged: p,
|
|
18739
18739
|
chartData: x,
|
|
18740
|
-
groupOfSlicesWasUpdated:
|
|
18740
|
+
groupOfSlicesWasUpdated: L,
|
|
18741
18741
|
pieSlicesSymbols: I,
|
|
18742
18742
|
utilsStrings: d,
|
|
18743
18743
|
errorStrings: c
|
|
@@ -18806,11 +18806,11 @@ async function IA(t) {
|
|
|
18806
18806
|
errorStrings: c
|
|
18807
18807
|
});
|
|
18808
18808
|
u = v.newValidationStatus ?? a;
|
|
18809
|
-
const
|
|
18809
|
+
const L = v.alteredConfig;
|
|
18810
18810
|
if (u.valid) {
|
|
18811
|
-
|
|
18811
|
+
L.axes !== void 0 && await Kr({
|
|
18812
18812
|
chart: e,
|
|
18813
|
-
chartConfig:
|
|
18813
|
+
chartConfig: L,
|
|
18814
18814
|
chartType: x,
|
|
18815
18815
|
data: C,
|
|
18816
18816
|
queryObject: n,
|
|
@@ -18820,11 +18820,11 @@ async function IA(t) {
|
|
|
18820
18820
|
utilsStrings: d,
|
|
18821
18821
|
errorStrings: c
|
|
18822
18822
|
});
|
|
18823
|
-
const T =
|
|
18823
|
+
const T = F.gauge, k = Number.isFinite(L?.innerRadius) ? L.innerRadius : T.innerRadius, I = Number.isFinite(L?.startAngle) ? L.startAngle : T.startAngle, O = Number.isFinite(L?.endAngle) ? L.endAngle : T.endAngle;
|
|
18824
18824
|
e.innerRadius = ot(k), e.startAngle = I, e.endAngle = O, jn(i.headerElements, {
|
|
18825
|
-
title:
|
|
18826
|
-
subtitle:
|
|
18827
|
-
}), qn(i.footerElements,
|
|
18825
|
+
title: L.title,
|
|
18826
|
+
subtitle: L.subtitle
|
|
18827
|
+
}), qn(i.footerElements, L.footer), _n(e, L.background), U(e.uid, { config: Me(L) }), i.loaderHandle.hideLoader(), Ga(e.htmlContainer);
|
|
18828
18828
|
}
|
|
18829
18829
|
}
|
|
18830
18830
|
Ji(u, e.htmlContainer);
|
|
@@ -19018,14 +19018,14 @@ async function DA(t) {
|
|
|
19018
19018
|
O instanceof HTMLElement && h.modal?.elements?.title?.innerText.length === 0 && (O.style.visibility = "hidden");
|
|
19019
19019
|
}), h.openModal(T, k)) : h.closeModal());
|
|
19020
19020
|
}
|
|
19021
|
-
function
|
|
19021
|
+
function L() {
|
|
19022
19022
|
Xr(h);
|
|
19023
19023
|
}
|
|
19024
19024
|
return {
|
|
19025
19025
|
update: x,
|
|
19026
19026
|
dispose: p,
|
|
19027
19027
|
notify: v,
|
|
19028
|
-
resetZoom:
|
|
19028
|
+
resetZoom: L,
|
|
19029
19029
|
clearSelection: () => to({ chart: h }),
|
|
19030
19030
|
switchSelection: C,
|
|
19031
19031
|
exportImage: async (T) => await TC({ chart: h, exportOptions: T }),
|
|
@@ -19265,11 +19265,12 @@ class VA extends Fm {
|
|
|
19265
19265
|
return this._filterByExtent;
|
|
19266
19266
|
}
|
|
19267
19267
|
set filterByExtent(e) {
|
|
19268
|
-
|
|
19268
|
+
const i = this._filterByExtent;
|
|
19269
|
+
this._filterByExtent = e, this.filterByExtentChanged(e), this.handleNoRenderPropChange({
|
|
19269
19270
|
propName: "filterByExtent",
|
|
19270
|
-
oldValue:
|
|
19271
|
+
oldValue: i,
|
|
19271
19272
|
newValue: e
|
|
19272
|
-
})
|
|
19273
|
+
});
|
|
19273
19274
|
}
|
|
19274
19275
|
get disableInteractions() {
|
|
19275
19276
|
return this._disableInteractions ?? !1;
|