vue-data-ui 2.7.5 → 2.7.6-beta.0
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/{Arrow-CVF6YwCJ.js → Arrow-BPxXpODN.js} +1 -1
- package/dist/{Arrow-Cqs0YJpy.cjs → Arrow-DMoDyTYq.cjs} +1 -1
- package/dist/{BaseIcon-BgweA3_M.js → BaseIcon-BRjEohPB.js} +1 -1
- package/dist/{BaseIcon-Djhm7pK9.cjs → BaseIcon-Csib-bFs.cjs} +1 -1
- package/dist/{ColorPicker-Dp1Scn6A.cjs → ColorPicker--FQTMlj_.cjs} +1 -1
- package/dist/{ColorPicker-D7g7tAW9.js → ColorPicker-DKHOITuH.js} +3 -3
- package/dist/{DataTable-uo_v6Lsv.cjs → DataTable-Bg1jcIr-.cjs} +1 -1
- package/dist/{DataTable-CHYXVb7x.js → DataTable-DXHBxZCy.js} +2 -2
- package/dist/{Legend-DaxkoMfq.js → Legend-DMevrWiD.js} +2 -2
- package/dist/{Legend-DbP3f92j.cjs → Legend-UfmoJ4KO.cjs} +1 -1
- package/dist/{PackageVersion-DraICSbU.js → PackageVersion-C7x2IWLM.js} +1 -1
- package/dist/{PackageVersion-DeCFUiB-.cjs → PackageVersion-DgyGLNuh.cjs} +1 -1
- package/dist/{PenAndPaper-5RjZRtvd.js → PenAndPaper-8UX21OWr.js} +3 -3
- package/dist/{PenAndPaper-CbaM0xks.cjs → PenAndPaper-Cvmkcq22.cjs} +1 -1
- package/dist/{Shape-Bh9WhF9X.js → Shape-CTmzdRqd.js} +1 -1
- package/dist/{Shape-bMQxpWJQ.cjs → Shape-fqF-okzT.cjs} +1 -1
- package/dist/{Slicer-Cz0xo7Xl.js → Slicer-BXhvESja.js} +2 -2
- package/dist/{Slicer-BarYwls5.cjs → Slicer-DmdYZrGS.cjs} +1 -1
- package/dist/{Title-B-RSvsOL.cjs → Title-DUa01RoU.cjs} +1 -1
- package/dist/{Title-M90cFItU.js → Title-L3SvCQfU.js} +1 -1
- package/dist/{Tooltip-BBFZLNTE.cjs → Tooltip-DxTkpBZU.cjs} +1 -1
- package/dist/{Tooltip-Ch5n4L4f.js → Tooltip-DzsG-nM2.js} +1 -1
- package/dist/{dom-to-png-D2Eam6qe.cjs → dom-to-png-_Yw7_Zl2.cjs} +1 -1
- package/dist/{dom-to-png-r4yepQXo.js → dom-to-png-pcDdsfUp.js} +1 -1
- package/dist/{img-B5APHrxW.js → img-C_46LUlu.js} +1 -1
- package/dist/{img-CnVji25y.cjs → img-D4mtuxkz.cjs} +1 -1
- package/dist/index-Be2lbQel.cjs +9 -0
- package/dist/{index-C-ICcmxG.js → index-CFNGWoG-.js} +2 -1
- package/dist/{pdf-CeaEjaK9.js → pdf-BTE2gw1u.js} +1 -1
- package/dist/{pdf-CuyQmwk3.cjs → pdf-C4WYgi8l.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BPLMSXYf.cjs → useNestedProp-BVcjidN0.cjs} +1 -1
- package/dist/{useNestedProp-PLbxZ2bv.js → useNestedProp-DHVUTEIl.js} +1 -1
- package/dist/{usePrinter-Cz6ivW9o.js → usePrinter-DlDdG5QU.js} +3 -3
- package/dist/{usePrinter-DaLLwnEh.cjs → usePrinter-uMLnqx4N.cjs} +1 -1
- package/dist/{vue-data-ui-BoHviF-r.js → vue-data-ui-DWxtv62P.js} +60 -60
- package/dist/{vue-data-ui-C0DC8mo3.cjs → vue-data-ui-hYMPv0Dd.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-67xAOw1W.cjs → vue-ui-3d-bar-D82lrIe4.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-Yj9yLlSB.js → vue-ui-3d-bar-DjK5p4-V.js} +9 -9
- package/dist/{vue-ui-accordion-D8fBDKkc.cjs → vue-ui-accordion-BL55ml0w.cjs} +1 -1
- package/dist/{vue-ui-accordion-jPts3xJT.js → vue-ui-accordion-BVInR1D8.js} +3 -3
- package/dist/{vue-ui-age-pyramid-Dmnymd8E.js → vue-ui-age-pyramid-CN9pUGnI.js} +10 -10
- package/dist/{vue-ui-age-pyramid-IaXwRAds.cjs → vue-ui-age-pyramid-D5EOO0iJ.cjs} +1 -1
- package/dist/{vue-ui-annotator-Y51qCIJq.js → vue-ui-annotator-CAkIFmY8.js} +2 -2
- package/dist/{vue-ui-annotator-DOhjqN5w.cjs → vue-ui-annotator-CCXZE86s.cjs} +1 -1
- package/dist/{vue-ui-bullet-C9hNkImH.js → vue-ui-bullet-DAtNfo12.js} +8 -8
- package/dist/{vue-ui-bullet-D3Qe-3cd.cjs → vue-ui-bullet-DbVipNyo.cjs} +1 -1
- package/dist/{vue-ui-candlestick-T7CdgjDp.js → vue-ui-candlestick-C4o7KNEQ.js} +11 -11
- package/dist/{vue-ui-candlestick-Dg1e9PVy.cjs → vue-ui-candlestick-DZ8Zu1G0.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-4e9biZ3P.cjs → vue-ui-carousel-table-C2fTCZSu.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-CusD_OuB.js → vue-ui-carousel-table-GVqoqsHj.js} +4 -4
- package/dist/{vue-ui-chestnut-DI7Y_a4c.js → vue-ui-chestnut-DkcYjcFC.js} +8 -8
- package/dist/{vue-ui-chestnut-qq3eBGfI.cjs → vue-ui-chestnut-E6-YshUN.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-xNYWighC.cjs → vue-ui-circle-pack-Cydk-l4Z.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-CdenQpeO.js → vue-ui-circle-pack-bYWkKSmF.js} +9 -9
- package/dist/{vue-ui-cursor-Y5T1vCKD.cjs → vue-ui-cursor-BV90fevc.cjs} +1 -1
- package/dist/{vue-ui-cursor-CmCKuMUd.js → vue-ui-cursor-DJqRywjF.js} +2 -2
- package/dist/{vue-ui-dashboard-BXL0il9T.cjs → vue-ui-dashboard-Awb0TFLb.cjs} +1 -1
- package/dist/{vue-ui-dashboard-bPMW2OYy.js → vue-ui-dashboard-CBNKG2IX.js} +3 -3
- package/dist/{vue-ui-digits-DNpTvVe_.js → vue-ui-digits--BlLcrsp.js} +2 -2
- package/dist/{vue-ui-digits-6b0pC4O_.cjs → vue-ui-digits-Bdyd5itD.cjs} +1 -1
- package/dist/{vue-ui-donut-DMISmgL1.js → vue-ui-donut-BFaZnu4E.js} +12 -12
- package/dist/{vue-ui-donut-C9Sz2mBs.cjs → vue-ui-donut-DhyuQfTc.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-MMkktxlR.cjs → vue-ui-donut-evolution-BlTz3cM6.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-DiAv0aPS.js → vue-ui-donut-evolution-u_DgynBq.js} +11 -11
- package/dist/{vue-ui-dumbbell-DMw9c5hB.cjs → vue-ui-dumbbell-BPY5ecEW.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-B1EoJIVU.js → vue-ui-dumbbell-FTQMksov.js} +10 -10
- package/dist/{vue-ui-flow-CkIBb2yz.js → vue-ui-flow-CZZbTaKg.js} +9 -9
- package/dist/{vue-ui-flow-BMB2pRGa.cjs → vue-ui-flow-CiOLP4Bc.cjs} +1 -1
- package/dist/{vue-ui-funnel-8LsFttC7.js → vue-ui-funnel-C7emWYtP.js} +9 -9
- package/dist/{vue-ui-funnel-uRjUjMoO.cjs → vue-ui-funnel-CeKd8ZiW.cjs} +1 -1
- package/dist/{vue-ui-galaxy-kS2m_ucq.cjs → vue-ui-galaxy-C0LvpwYA.cjs} +1 -1
- package/dist/{vue-ui-galaxy-CL1SM3RN.js → vue-ui-galaxy-CbQn6Tai.js} +11 -11
- package/dist/{vue-ui-gauge-B3JDrc0y.js → vue-ui-gauge-B5t9OOfc.js} +7 -7
- package/dist/{vue-ui-gauge-BaY1OWsE.cjs → vue-ui-gauge-BlIKJvVf.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BamEruvt.cjs → vue-ui-gizmo--2ZtBKsI.cjs} +1 -1
- package/dist/{vue-ui-gizmo-sYcGzf8S.js → vue-ui-gizmo-REPSaOFz.js} +3 -3
- package/dist/{vue-ui-heatmap-Bd5t4P1x.cjs → vue-ui-heatmap-4GiW6lpZ.cjs} +1 -1
- package/dist/{vue-ui-heatmap-B4aaxkb8.js → vue-ui-heatmap-MgVipAHX.js} +10 -10
- package/dist/{vue-ui-history-plot-u9MctDP_.cjs → vue-ui-history-plot-BPBubZyO.cjs} +1 -1
- package/dist/{vue-ui-history-plot-C7Zr-ic-.js → vue-ui-history-plot-Be7z_N9m.js} +11 -11
- package/dist/{vue-ui-kpi-B5meIJwp.js → vue-ui-kpi-CIMqIIHx.js} +3 -3
- package/dist/{vue-ui-kpi-ljIEjqdh.cjs → vue-ui-kpi-liKRIunp.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-Bo-T35zT.cjs → vue-ui-mini-loader-BLlakDY7.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-B3_2vKm5.js → vue-ui-mini-loader-BzA198rf.js} +2 -2
- package/dist/{vue-ui-molecule-BzfcmBu0.cjs → vue-ui-molecule-BVJoEq_L.cjs} +1 -1
- package/dist/{vue-ui-molecule-DlD1MspS.js → vue-ui-molecule-BjxKkqRH.js} +11 -11
- package/dist/{vue-ui-mood-radar-j3CwDs5O.js → vue-ui-mood-radar-DmnVvP9o.js} +11 -11
- package/dist/{vue-ui-mood-radar-Bx66Nmsx.cjs → vue-ui-mood-radar-W0giMhIf.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-BfqUsX9W.js → vue-ui-nested-donuts-Bjg4j4if.js} +11 -11
- package/dist/{vue-ui-nested-donuts-DXgocrWm.cjs → vue-ui-nested-donuts-qdTmCQvc.cjs} +1 -1
- package/dist/{vue-ui-onion-UVtHx1wq.cjs → vue-ui-onion-6SSfocfE.cjs} +1 -1
- package/dist/{vue-ui-onion-F5W4SDM5.js → vue-ui-onion-D64W0CBD.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-htq91Aov.cjs → vue-ui-parallel-coordinate-plot-BjYktxod.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-Ce-REHJS.js → vue-ui-parallel-coordinate-plot-CkZXOICk.js} +12 -12
- package/dist/{vue-ui-quadrant-BBc7O8tT.js → vue-ui-quadrant-D-jEAMCQ.js} +12 -12
- package/dist/{vue-ui-quadrant-C4XaVZXb.cjs → vue-ui-quadrant-DjLnWBnh.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-CFUjwX9I.cjs → vue-ui-quick-chart-BcOY7AIN.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-D2sF1JQ5.js → vue-ui-quick-chart-yNuTyEgo.js} +9 -9
- package/dist/{vue-ui-radar-CFo9twQf.js → vue-ui-radar-CZlEONeD.js} +12 -12
- package/dist/{vue-ui-radar-2FTmSNAt.cjs → vue-ui-radar-DpHLHWci.cjs} +1 -1
- package/dist/{vue-ui-rating-AC8-Hf8s.js → vue-ui-rating-C1gRL1R3.js} +2 -2
- package/dist/{vue-ui-rating-cuYKssSc.cjs → vue-ui-rating-Cs3NEmEg.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-CINBPeoO.cjs → vue-ui-relation-circle-CB-YW73a.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-C6oGMGHu.js → vue-ui-relation-circle-C_FsWiuH.js} +7 -7
- package/dist/{vue-ui-rings-NepJd9nu.cjs → vue-ui-rings-CIYZbHzK.cjs} +1 -1
- package/dist/{vue-ui-rings-BKGkELVF.js → vue-ui-rings-syJFoH6E.js} +12 -12
- package/dist/{vue-ui-scatter-QzL7elkt.cjs → vue-ui-scatter-1jT9ddo6.cjs} +1 -1
- package/dist/{vue-ui-scatter-D4YofTKH.js → vue-ui-scatter-Y-bJ5R0J.js} +12 -12
- package/dist/{vue-ui-skeleton-CHy5aDUT.cjs → vue-ui-skeleton-ByGfybu8.cjs} +1 -1
- package/dist/{vue-ui-skeleton-CpIxx3VV.js → vue-ui-skeleton-Dexat5oZ.js} +3 -3
- package/dist/{vue-ui-smiley-hdUbeZnX.cjs → vue-ui-smiley-Cp1Yo8gM.cjs} +1 -1
- package/dist/{vue-ui-smiley-dhB85jY8.js → vue-ui-smiley-DPP-2K8T.js} +2 -2
- package/dist/{vue-ui-spark-trend-DP9FXphz.cjs → vue-ui-spark-trend-DXo1Lafk.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-BvuARbOi.js → vue-ui-spark-trend-DkM426ut.js} +5 -5
- package/dist/{vue-ui-sparkbar-BDNhgZLf.cjs → vue-ui-sparkbar-D7-pjVIk.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CCiELUCQ.js → vue-ui-sparkbar-F5OoZgjl.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BHgbaYnr.cjs → vue-ui-sparkgauge-BV03AxIl.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-BamOT-F1.js → vue-ui-sparkgauge-LNWcvJQm.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DKJ_BD8u.cjs → vue-ui-sparkhistogram-CPLjuhd0.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DBmHnKbf.js → vue-ui-sparkhistogram-Dp4JmEjl.js} +5 -5
- package/dist/{vue-ui-sparkline-gB40bCw2.js → vue-ui-sparkline-CUJeIh8E.js} +4 -4
- package/dist/{vue-ui-sparkline-Cc2oHHab.cjs → vue-ui-sparkline-CzaaWz1O.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DogUyA-M.js → vue-ui-sparkstackbar-BTmAuDED.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-CH_FPtpc.cjs → vue-ui-sparkstackbar-Byy98s7i.cjs} +1 -1
- package/dist/{vue-ui-stackbar-D45RsE5w.cjs → vue-ui-stackbar-CApy6xE-.cjs} +1 -1
- package/dist/{vue-ui-stackbar-BgDWL9z7.js → vue-ui-stackbar-HfGn8Itj.js} +13 -13
- package/dist/{vue-ui-strip-plot-mTP3QRGq.cjs → vue-ui-strip-plot-D8bN2jOd.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-D20--e93.js → vue-ui-strip-plot-Db5fY9l0.js} +11 -11
- package/dist/{vue-ui-table-CPHnZM--.cjs → vue-ui-table-3Pr_BJOn.cjs} +1 -1
- package/dist/{vue-ui-table-D3EJmktD.js → vue-ui-table-BiEEXfmz.js} +1 -1
- package/dist/{vue-ui-table-heatmap-DQ1bFlzE.cjs → vue-ui-table-heatmap-Dzmilz_6.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CC4Ds1xU.js → vue-ui-table-heatmap-tT43AVN1.js} +4 -4
- package/dist/{vue-ui-table-sparkline-CB0O_GYs.js → vue-ui-table-sparkline-CuG3P8Se.js} +5 -5
- package/dist/{vue-ui-table-sparkline-X8yvauaz.cjs → vue-ui-table-sparkline-r9JbPWm1.cjs} +1 -1
- package/dist/{vue-ui-thermometer-JDXOJ8hO.cjs → vue-ui-thermometer-BWakJYXX.cjs} +1 -1
- package/dist/{vue-ui-thermometer-Da4w35gh.js → vue-ui-thermometer-BypApwQR.js} +7 -7
- package/dist/{vue-ui-timer-BoM6IddW.cjs → vue-ui-timer-BY89-D5q.cjs} +1 -1
- package/dist/{vue-ui-timer-BKOQE0jx.js → vue-ui-timer-QTTOX3XU.js} +5 -5
- package/dist/{vue-ui-tiremarks-B4hOs-xZ.cjs → vue-ui-tiremarks-C6_AVUY8.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DcpwfK6V.js → vue-ui-tiremarks-DhubQXE9.js} +7 -7
- package/dist/{vue-ui-treemap-v_5BjQXX.cjs → vue-ui-treemap-ByFdbyS7.cjs} +1 -1
- package/dist/{vue-ui-treemap-CRt1eRSe.js → vue-ui-treemap-HL5rG7hw.js} +12 -12
- package/dist/{vue-ui-vertical-bar-DoR_WBGZ.cjs → vue-ui-vertical-bar-BP4MwH-K.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-BgSIP4Kr.js → vue-ui-vertical-bar-__GfqF0O.js} +12 -12
- package/dist/{vue-ui-waffle-BIrXpK2D.cjs → vue-ui-waffle-D9gfi78g.cjs} +1 -1
- package/dist/{vue-ui-waffle-CH5K6tu1.js → vue-ui-waffle-DF34x9Wg.js} +12 -12
- package/dist/{vue-ui-wheel-CJFaM2OA.cjs → vue-ui-wheel-B41qdqzo.cjs} +1 -1
- package/dist/{vue-ui-wheel-C3ShtYay.js → vue-ui-wheel-DSofgaQ1.js} +7 -7
- package/dist/{vue-ui-word-cloud-5xctr93P.cjs → vue-ui-word-cloud-CXCBnEZ8.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-CpxsXTE1.js → vue-ui-word-cloud-fFYlm6K2.js} +10 -10
- package/dist/vue-ui-xy-BXfgH7v9.cjs +3 -0
- package/dist/{vue-ui-xy-CdNQO0LT.js → vue-ui-xy-CxNv4m9O.js} +399 -398
- package/dist/{vue-ui-xy-canvas-D-YG1gQf.js → vue-ui-xy-canvas-DHn7SPRK.js} +12 -12
- package/dist/{vue-ui-xy-canvas-DYC5CQ49.cjs → vue-ui-xy-canvas-DggddiWo.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-B5i_oOe8.cjs +0 -9
- package/dist/vue-ui-xy-B2UsSMA0.cjs +0 -3
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Q as H, Y as
|
|
2
|
-
import { D as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as
|
|
5
|
-
import { U as
|
|
6
|
-
import { _ as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { S as
|
|
11
|
-
import
|
|
12
|
-
import { u as
|
|
13
|
-
import { _ as
|
|
14
|
-
import { _ as
|
|
15
|
-
import { resolveComponent as R, createElementBlock as i, openBlock as r, normalizeStyle as b, normalizeClass as
|
|
16
|
-
import { _ as
|
|
17
|
-
const
|
|
1
|
+
import { Q as H, Y as U, a7 as te, a8 as J, a9 as le, aa as ae, ab as re, ac as ie, ad as se, c as Z, A as ne, F as ce, w as oe, s as he, o as ue, $ as de, ae as ge, x as fe, C as Ie, y as Ne, a5 as me, e as xe, r as be, f as Q, af as Fe, S as _e, T as ye, q as Ae, b as Le, z as Ce, d as Se, ag as ke, v as we, ah as Oe, a3 as Ge, ai as ve, i as pe, G as ze, L as Me, u as Te, p as Pe, B as Ve, a as Re, t as He } from "./index-CFNGWoG-.js";
|
|
2
|
+
import { D as De } from "./DataTable-DXHBxZCy.js";
|
|
3
|
+
import { _ as We } from "./Title-L3SvCQfU.js";
|
|
4
|
+
import { u as Be, _ as Ee } from "./Tooltip-DzsG-nM2.js";
|
|
5
|
+
import { U as Ye } from "./usePrinter-DlDdG5QU.js";
|
|
6
|
+
import { _ as qe } from "./Shape-CTmzdRqd.js";
|
|
7
|
+
import Xe from "./BaseIcon-BRjEohPB.js";
|
|
8
|
+
import Ue from "./vue-ui-table-sparkline-CuG3P8Se.js";
|
|
9
|
+
import Ze from "./vue-ui-skeleton-Dexat5oZ.js";
|
|
10
|
+
import { S as Je } from "./Slicer-BXhvESja.js";
|
|
11
|
+
import Qe from "./vue-ui-accordion-BVInR1D8.js";
|
|
12
|
+
import { u as K } from "./useNestedProp-DHVUTEIl.js";
|
|
13
|
+
import { _ as Ke } from "./PackageVersion-C7x2IWLM.js";
|
|
14
|
+
import { _ as je } from "./PenAndPaper-8UX21OWr.js";
|
|
15
|
+
import { resolveComponent as R, createElementBlock as i, openBlock as r, normalizeStyle as b, normalizeClass as B, createBlock as W, createCommentVNode as d, createVNode as X, createSlots as $e, withCtx as V, renderSlot as S, normalizeProps as E, guardReactiveProps as Y, createElementVNode as f, createTextVNode as j, Fragment as u, renderList as I, toDisplayString as T, mergeProps as $, withDirectives as et, vModelCheckbox as tt } from "vue";
|
|
16
|
+
import { _ as lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
+
const at = Z(), rt = {
|
|
18
18
|
name: "vue-ui-xy",
|
|
19
19
|
props: {
|
|
20
20
|
config: {
|
|
@@ -31,18 +31,18 @@ const tt = X(), lt = {
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
components: {
|
|
34
|
-
DataTable:
|
|
35
|
-
Shape:
|
|
36
|
-
Title:
|
|
37
|
-
Tooltip:
|
|
38
|
-
UserOptions:
|
|
39
|
-
BaseIcon:
|
|
40
|
-
TableSparkline:
|
|
41
|
-
Skeleton:
|
|
42
|
-
Slicer:
|
|
43
|
-
Accordion:
|
|
44
|
-
PackageVersion:
|
|
45
|
-
PenAndPaper:
|
|
34
|
+
DataTable: De,
|
|
35
|
+
Shape: qe,
|
|
36
|
+
Title: We,
|
|
37
|
+
Tooltip: Ee,
|
|
38
|
+
UserOptions: Ye,
|
|
39
|
+
BaseIcon: Xe,
|
|
40
|
+
TableSparkline: Ue,
|
|
41
|
+
Skeleton: Ze,
|
|
42
|
+
Slicer: Je,
|
|
43
|
+
Accordion: Qe,
|
|
44
|
+
PackageVersion: Ke,
|
|
45
|
+
PenAndPaper: je
|
|
46
46
|
},
|
|
47
47
|
data() {
|
|
48
48
|
this.dataset.forEach((g, l) => {
|
|
@@ -58,15 +58,15 @@ const tt = X(), lt = {
|
|
|
58
58
|
end: n
|
|
59
59
|
};
|
|
60
60
|
return {
|
|
61
|
-
themePalettes:
|
|
62
|
-
themes:
|
|
61
|
+
themePalettes: He,
|
|
62
|
+
themes: Re,
|
|
63
63
|
slicerStep: 0,
|
|
64
64
|
selectedScale: null,
|
|
65
65
|
CTX: null,
|
|
66
66
|
CANVAS: null,
|
|
67
|
-
opacity:
|
|
67
|
+
opacity: Ve,
|
|
68
68
|
useSafeValues: !0,
|
|
69
|
-
palette:
|
|
69
|
+
palette: Pe,
|
|
70
70
|
height: 600,
|
|
71
71
|
width: 1e3,
|
|
72
72
|
viewBox: "0 0 1000 600",
|
|
@@ -100,7 +100,7 @@ const tt = X(), lt = {
|
|
|
100
100
|
selectedSerieIndex: null,
|
|
101
101
|
selectedRowIndex: null,
|
|
102
102
|
segregatedSeries: [],
|
|
103
|
-
uniqueId:
|
|
103
|
+
uniqueId: Z(),
|
|
104
104
|
step: 0,
|
|
105
105
|
tableStep: 0,
|
|
106
106
|
titleStep: 0,
|
|
@@ -109,7 +109,7 @@ const tt = X(), lt = {
|
|
|
109
109
|
maxX: n,
|
|
110
110
|
showSparklineTable: !0,
|
|
111
111
|
segregateStep: 0,
|
|
112
|
-
sliderId:
|
|
112
|
+
sliderId: at,
|
|
113
113
|
fontSizes: {
|
|
114
114
|
xAxis: 18,
|
|
115
115
|
yAxis: 12,
|
|
@@ -173,7 +173,7 @@ const tt = X(), lt = {
|
|
|
173
173
|
if (!this.FINAL_CONFIG.chart.zoom.minimap.show) return [];
|
|
174
174
|
const t = this.datasetWithIds.filter((l) => !this.segregatedSeries.includes(l.id)), n = Math.max(...t.map((l) => l.series.length)), o = [];
|
|
175
175
|
for (let l = 0; l < n; l += 1)
|
|
176
|
-
o.push(t.map((e) => e.series[l] || 0).reduce((e,
|
|
176
|
+
o.push(t.map((e) => e.series[l] || 0).reduce((e, A) => (e || 0) + (A || 0), 0));
|
|
177
177
|
const g = Math.min(...o);
|
|
178
178
|
return o.map((l) => l + (g < 0 ? Math.abs(g) : 0));
|
|
179
179
|
},
|
|
@@ -223,7 +223,7 @@ const tt = X(), lt = {
|
|
|
223
223
|
yOffset: e.yOffset || 0,
|
|
224
224
|
individualHeight: e.individualHeight || this.drawingArea.height
|
|
225
225
|
})), g = this.mutableConfig.useIndividualScale && !this.mutableConfig.isStacked ? Object.values(this.scaleGroups) : [...t, ...n, ...o], l = g.flatMap((e) => e).length;
|
|
226
|
-
return g.flatMap((e,
|
|
226
|
+
return g.flatMap((e, A) => ({
|
|
227
227
|
unique: e.unique,
|
|
228
228
|
id: e.id,
|
|
229
229
|
groupId: e.groupId,
|
|
@@ -233,7 +233,7 @@ const tt = X(), lt = {
|
|
|
233
233
|
scale: e.scale,
|
|
234
234
|
yOffset: e.yOffset,
|
|
235
235
|
individualHeight: e.individualHeight,
|
|
236
|
-
x: this.mutableConfig.isStacked ? this.drawingArea.left : this.drawingArea.left / l * (
|
|
236
|
+
x: this.mutableConfig.isStacked ? this.drawingArea.left : this.drawingArea.left / l * (A + 1),
|
|
237
237
|
yLabels: e.scaleYLabels || e.scale.ticks.map((x) => ({
|
|
238
238
|
y: x >= 0 ? e.zero - e.individualHeight * (x / e.max) : e.zero + e.individualHeight * Math.abs(x) / e.max,
|
|
239
239
|
value: x
|
|
@@ -378,62 +378,62 @@ const tt = X(), lt = {
|
|
|
378
378
|
return this.activeSeriesWithStackRatios.filter((t) => t.type === "bar").map((t, n) => {
|
|
379
379
|
this.checkAutoScaleError(t);
|
|
380
380
|
const o = this.scaleGroups[t.scaleLabel].min, g = this.scaleGroups[t.scaleLabel].max;
|
|
381
|
-
t.absoluteValues.filter((
|
|
381
|
+
t.absoluteValues.filter((_) => ![null, void 0].includes(_)).map((_) => (_ - o) / (g - o));
|
|
382
382
|
const l = {
|
|
383
383
|
valueMin: o,
|
|
384
384
|
valueMax: g < 0 ? 0 : g
|
|
385
385
|
}, e = {
|
|
386
386
|
max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
|
|
387
|
-
min: t.scaleMin || Math.min(...t.absoluteValues.filter((
|
|
388
|
-
},
|
|
389
|
-
const
|
|
387
|
+
min: t.scaleMin || Math.min(...t.absoluteValues.filter((_) => ![void 0, null].includes(_))) > 0 ? 0 : Math.min(...t.absoluteValues.filter((_) => ![null, void 0].includes(_)))
|
|
388
|
+
}, A = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, x = 1.0000001, N = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * x : e.max, A), L = this.calculateNiceScaleWithExactExtremes(l.valueMin, l.valueMax === l.valueMin ? l.valueMax * x : l.valueMax, A), G = N.min >= 0 ? 0 : Math.abs(N.min), k = 0, v = N.max + G, w = L.max + Math.abs(k), F = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, C = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, O = this.drawingArea.bottom - F - C * G / v, p = this.drawingArea.bottom - F - C * k / w, a = this.absoluteDataset.filter((_) => _.type === "bar").filter((_) => !this.segregatedSeries.includes(_.id)).length, c = t.series.map((_, M) => {
|
|
389
|
+
const q = this.mutableConfig.useIndividualScale ? (t.absoluteValues[M] + G) / v : this.ratioToMax(_), D = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * M : this.drawingArea.left + this.slot.bar * n + this.slot.bar * M * a - this.barSlot / 2 - n * this.barPeriodGap;
|
|
390
390
|
return {
|
|
391
391
|
yOffset: this.checkNaN(F),
|
|
392
392
|
individualHeight: this.checkNaN(C),
|
|
393
|
-
x: this.checkNaN(
|
|
394
|
-
y: this.drawingArea.bottom - F - C *
|
|
395
|
-
value: t.absoluteValues[
|
|
396
|
-
zeroPosition: this.checkNaN(
|
|
397
|
-
individualMax: this.checkNaN(
|
|
398
|
-
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[
|
|
393
|
+
x: this.checkNaN(D),
|
|
394
|
+
y: this.drawingArea.bottom - F - C * q,
|
|
395
|
+
value: t.absoluteValues[M],
|
|
396
|
+
zeroPosition: this.checkNaN(O),
|
|
397
|
+
individualMax: this.checkNaN(v),
|
|
398
|
+
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[M] || ""
|
|
399
399
|
};
|
|
400
|
-
}), s = t.absoluteValues.map((
|
|
401
|
-
const
|
|
400
|
+
}), s = t.absoluteValues.map((_) => L.min >= 0 ? (_ - Math.abs(L.min)) / (L.max - Math.abs(L.min)) : (_ + Math.abs(L.min)) / (L.max + Math.abs(L.min))), h = t.series.map((_, M) => {
|
|
401
|
+
const q = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * M : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * n + this.slot.bar * M * this.absoluteDataset.filter((D) => D.type === "bar").filter((D) => !this.segregatedSeries.includes(D.id)).length;
|
|
402
402
|
return {
|
|
403
403
|
yOffset: this.checkNaN(F),
|
|
404
404
|
individualHeight: this.checkNaN(C),
|
|
405
|
-
x: this.checkNaN(
|
|
406
|
-
y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(F) - (this.checkNaN(C) * s[
|
|
407
|
-
value: t.absoluteValues[
|
|
408
|
-
zeroPosition: this.checkNaN(
|
|
409
|
-
individualMax: this.checkNaN(
|
|
410
|
-
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[
|
|
405
|
+
x: this.checkNaN(q),
|
|
406
|
+
y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(F) - (this.checkNaN(C) * s[M] || 0)),
|
|
407
|
+
value: t.absoluteValues[M],
|
|
408
|
+
zeroPosition: this.checkNaN(O),
|
|
409
|
+
individualMax: this.checkNaN(v),
|
|
410
|
+
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[M] || ""
|
|
411
411
|
};
|
|
412
|
-
}), y =
|
|
413
|
-
y:
|
|
414
|
-
value:
|
|
412
|
+
}), y = N.ticks.map((_) => ({
|
|
413
|
+
y: _ >= 0 ? O - C * (_ / v) : O + C * Math.abs(_) / v,
|
|
414
|
+
value: _,
|
|
415
415
|
prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
416
416
|
suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
417
417
|
datapoint: t
|
|
418
|
-
})),
|
|
419
|
-
const
|
|
418
|
+
})), z = L.ticks.map((_) => {
|
|
419
|
+
const M = (_ - L.min) / (L.max - L.min);
|
|
420
420
|
return {
|
|
421
|
-
y:
|
|
422
|
-
value:
|
|
421
|
+
y: _ >= 0 ? p - C * M : p + C * M,
|
|
422
|
+
value: _,
|
|
423
423
|
prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
424
424
|
suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
425
425
|
datapoint: t
|
|
426
426
|
};
|
|
427
427
|
});
|
|
428
|
-
return this.scaleGroups[t.scaleLabel].name = t.name, this.scaleGroups[t.scaleLabel].groupName = t.scaleLabel, this.scaleGroups[t.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || t.color, this.scaleGroups[t.scaleLabel].color = t.color, this.scaleGroups[t.scaleLabel].scaleYLabels = t.autoScaling ?
|
|
428
|
+
return this.scaleGroups[t.scaleLabel].name = t.name, this.scaleGroups[t.scaleLabel].groupName = t.scaleLabel, this.scaleGroups[t.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || t.color, this.scaleGroups[t.scaleLabel].color = t.color, this.scaleGroups[t.scaleLabel].scaleYLabels = t.autoScaling ? z : y, this.scaleGroups[t.scaleLabel].zeroPosition = t.autoScaling ? p : O, this.scaleGroups[t.scaleLabel].individualMax = t.autoScaling ? w : v, this.scaleGroups[t.scaleLabel].scaleLabel = t.scaleLabel, this.scaleGroups[t.scaleLabel].id = t.id, this.scaleGroups[t.scaleLabel].yOffset = F, this.scaleGroups[t.scaleLabel].individualHeight = C, this.scaleGroups[t.scaleLabel].autoScaleYLabels = z, this.scaleGroups[t.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((_) => _.scaleLabel === t.scaleLabel).length === 1, {
|
|
429
429
|
...t,
|
|
430
430
|
yOffset: F,
|
|
431
|
-
autoScaleYLabels:
|
|
431
|
+
autoScaleYLabels: z,
|
|
432
432
|
individualHeight: C,
|
|
433
|
-
scaleYLabels: t.autoScaling ?
|
|
434
|
-
individualScale: t.autoScaling ? L :
|
|
435
|
-
individualMax: t.autoScaling ?
|
|
436
|
-
zeroPosition: t.autoScaling ?
|
|
433
|
+
scaleYLabels: t.autoScaling ? z : y,
|
|
434
|
+
individualScale: t.autoScaling ? L : N,
|
|
435
|
+
individualMax: t.autoScaling ? w : v,
|
|
436
|
+
zeroPosition: t.autoScaling ? p : O,
|
|
437
437
|
plots: t.autoScaling ? h : c,
|
|
438
438
|
groupId: this.scaleGroups[t.scaleLabel].groupId
|
|
439
439
|
};
|
|
@@ -443,71 +443,73 @@ const tt = X(), lt = {
|
|
|
443
443
|
return this.activeSeriesWithStackRatios.filter((t) => t.type === "line").map((t) => {
|
|
444
444
|
this.checkAutoScaleError(t);
|
|
445
445
|
const n = this.scaleGroups[t.scaleLabel].min, o = this.scaleGroups[t.scaleLabel].max;
|
|
446
|
-
t.absoluteValues.filter((
|
|
446
|
+
t.absoluteValues.filter((m) => ![null, void 0].includes(m)).map((m) => (m - n) / (o - n));
|
|
447
447
|
const g = {
|
|
448
448
|
valueMin: n,
|
|
449
449
|
valueMax: o
|
|
450
450
|
}, l = {
|
|
451
451
|
max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
|
|
452
452
|
min: t.scaleMin || (Math.min(...t.absoluteValues) > 0 ? 0 : Math.min(...t.absoluteValues))
|
|
453
|
-
}, e = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps,
|
|
454
|
-
const
|
|
453
|
+
}, e = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = 1.0000001, x = this.calculateNiceScaleWithExactExtremes(l.min, l.max === l.min ? l.max * A : l.max, e), N = this.calculateNiceScaleWithExactExtremes(g.valueMin, g.valueMax === g.valueMin ? g.valueMax * A : g.valueMax, e), L = x.min >= 0 ? 0 : Math.abs(x.min), G = 0, k = x.max + Math.abs(L), v = N.max + Math.abs(G), w = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, F = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - w - F * L / k, O = this.drawingArea.bottom - w - F * G / v, p = t.series.map((m, P) => {
|
|
454
|
+
const ee = this.mutableConfig.useIndividualScale ? (t.absoluteValues[P] + Math.abs(L)) / k : this.ratioToMax(m);
|
|
455
455
|
return {
|
|
456
|
-
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line *
|
|
457
|
-
y: this.checkNaN(this.drawingArea.bottom -
|
|
458
|
-
value: t.absoluteValues[
|
|
459
|
-
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[
|
|
456
|
+
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * P),
|
|
457
|
+
y: this.checkNaN(this.drawingArea.bottom - w - F * ee),
|
|
458
|
+
value: t.absoluteValues[P],
|
|
459
|
+
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[P] || ""
|
|
460
460
|
};
|
|
461
|
-
}), a = t.absoluteValues.map((
|
|
462
|
-
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line *
|
|
461
|
+
}), a = t.absoluteValues.map((m) => N.min >= 0 ? (m - Math.abs(N.min)) / (N.max - Math.abs(N.min)) : (m + Math.abs(N.min)) / (N.max + Math.abs(N.min))), c = t.series.map((m, P) => [void 0, null].includes(t.absoluteValues[P]) ? {
|
|
462
|
+
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * P),
|
|
463
463
|
y: C,
|
|
464
|
-
value: t.absoluteValues[
|
|
465
|
-
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[
|
|
464
|
+
value: t.absoluteValues[P],
|
|
465
|
+
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[P] || ""
|
|
466
466
|
} : {
|
|
467
|
-
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line *
|
|
468
|
-
y: this.checkNaN(this.drawingArea.bottom -
|
|
469
|
-
value: t.absoluteValues[
|
|
470
|
-
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[
|
|
471
|
-
}), s = this.FINAL_CONFIG.line.cutNullValues ? this.createSmoothPathWithCuts(
|
|
472
|
-
y:
|
|
473
|
-
value:
|
|
467
|
+
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * P),
|
|
468
|
+
y: this.checkNaN(this.drawingArea.bottom - w - (F * a[P] || 0)),
|
|
469
|
+
value: t.absoluteValues[P],
|
|
470
|
+
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[P] || ""
|
|
471
|
+
}), s = this.FINAL_CONFIG.line.cutNullValues ? this.createSmoothPathWithCuts(p) : this.createSmoothPath(p.filter((m) => m.value !== null)), h = this.FINAL_CONFIG.line.cutNullValues ? this.createSmoothPathWithCuts(c) : this.createSmoothPath(c.filter((m) => m.value !== null)), y = this.FINAL_CONFIG.line.cutNullValues ? this.createStraightPathWithCuts(p) : this.createStraightPath(p.filter((m) => m.value !== null)), z = this.FINAL_CONFIG.line.cutNullValues ? this.createStraightPathWithCuts(c) : this.createStraightPath(c.filter((m) => m.value !== null)), _ = x.ticks.map((m) => ({
|
|
472
|
+
y: m >= 0 ? C - F * (m / k) : C + F * Math.abs(m) / k,
|
|
473
|
+
value: m,
|
|
474
474
|
prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
475
475
|
suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
476
476
|
datapoint: t
|
|
477
|
-
})),
|
|
478
|
-
const
|
|
477
|
+
})), M = N.ticks.map((m) => {
|
|
478
|
+
const P = (m - N.min) / (N.max - N.min);
|
|
479
479
|
return {
|
|
480
|
-
y:
|
|
481
|
-
value:
|
|
480
|
+
y: m >= 0 ? O - F * P : O + F * P,
|
|
481
|
+
value: m,
|
|
482
482
|
prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
483
483
|
suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
484
484
|
datapoint: t
|
|
485
485
|
};
|
|
486
486
|
});
|
|
487
|
-
|
|
487
|
+
this.scaleGroups[t.scaleLabel].name = t.name, this.scaleGroups[t.scaleLabel].groupName = t.scaleLabel, this.scaleGroups[t.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || t.color, this.scaleGroups[t.scaleLabel].color = t.color, this.scaleGroups[t.scaleLabel].scaleYLabels = t.autoScaling ? M : _, this.scaleGroups[t.scaleLabel].zeroPosition = t.autoScaling ? O : C, this.scaleGroups[t.scaleLabel].individualMax = t.autoScaling ? v : k, this.scaleGroups[t.scaleLabel].scaleLabel = t.scaleLabel, this.scaleGroups[t.scaleLabel].id = t.id, this.scaleGroups[t.scaleLabel].yOffset = w, this.scaleGroups[t.scaleLabel].individualHeight = F, this.scaleGroups[t.scaleLabel].autoScaleYLabels = M, this.scaleGroups[t.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((m) => m.scaleLabel === t.scaleLabel).length === 1;
|
|
488
|
+
const q = this.mutableConfig.useIndividualScale ? t.autoScaling ? O : C : this.zero, D = Math.max(Math.max(t.autoScaling ? O : _.at(-1).y, this.drawingArea.top), q);
|
|
489
|
+
return {
|
|
488
490
|
...t,
|
|
489
|
-
yOffset:
|
|
490
|
-
autoScaleYLabels:
|
|
491
|
+
yOffset: w,
|
|
492
|
+
autoScaleYLabels: M,
|
|
491
493
|
individualHeight: F,
|
|
492
|
-
scaleYLabels: t.autoScaling ?
|
|
493
|
-
individualScale: t.autoScaling ?
|
|
494
|
-
individualMax: t.autoScaling ?
|
|
495
|
-
zeroPosition: t.autoScaling ?
|
|
494
|
+
scaleYLabels: t.autoScaling ? M : _,
|
|
495
|
+
individualScale: t.autoScaling ? N : x,
|
|
496
|
+
individualMax: t.autoScaling ? v : k,
|
|
497
|
+
zeroPosition: t.autoScaling ? O : C,
|
|
496
498
|
curve: t.autoScaling ? h : s,
|
|
497
|
-
plots: t.autoScaling ? c :
|
|
499
|
+
plots: t.autoScaling ? c : p,
|
|
498
500
|
area: t.useArea ? this.mutableConfig.useIndividualScale ? this.FINAL_CONFIG.line.cutNullValues ? this.createIndividualAreaWithCuts(
|
|
499
|
-
t.autoScaling ? c :
|
|
500
|
-
|
|
501
|
+
t.autoScaling ? c : p,
|
|
502
|
+
D
|
|
501
503
|
) : this.createIndividualArea(
|
|
502
|
-
t.autoScaling ? c.filter((
|
|
503
|
-
|
|
504
|
-
) : this.
|
|
505
|
-
curveAreas: t.useArea ?
|
|
506
|
-
t.autoScaling ? this.FINAL_CONFIG.line.cutNullValues ? c : c.filter((
|
|
507
|
-
|
|
504
|
+
t.autoScaling ? c.filter((m) => m.value !== null) : p.filter((m) => m.value !== null),
|
|
505
|
+
D
|
|
506
|
+
) : this.createIndividualArea(p.filter((m) => m.value !== null), D) : "",
|
|
507
|
+
curveAreas: t.useArea ? J(
|
|
508
|
+
t.autoScaling ? this.FINAL_CONFIG.line.cutNullValues ? c : c.filter((m) => m.value !== null) : this.FINAL_CONFIG.line.cutNullValues ? p : p.filter((m) => m.value !== null),
|
|
509
|
+
D,
|
|
508
510
|
this.FINAL_CONFIG.line.cutNullValues
|
|
509
511
|
) : [],
|
|
510
|
-
straight: t.autoScaling ?
|
|
512
|
+
straight: t.autoScaling ? z : y,
|
|
511
513
|
groupId: this.scaleGroups[t.scaleLabel].groupId
|
|
512
514
|
};
|
|
513
515
|
});
|
|
@@ -523,45 +525,45 @@ const tt = X(), lt = {
|
|
|
523
525
|
}, l = {
|
|
524
526
|
max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
|
|
525
527
|
min: t.scaleMin || Math.min(...t.absoluteValues) > 0 ? 0 : Math.min(...t.absoluteValues)
|
|
526
|
-
}, e = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps,
|
|
527
|
-
const
|
|
528
|
+
}, e = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = 1.0000001, x = this.calculateNiceScaleWithExactExtremes(l.min, l.max === l.min ? l.max * A : l.max, e), N = this.calculateNiceScaleWithExactExtremes(g.valueMin, g.valueMax === g.valueMin ? g.valueMax * A : g.valueMax, e), L = x.min >= 0 ? 0 : Math.abs(x.min), G = 0, k = x.max + L, v = N.max + Math.abs(G), w = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, F = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - w - F * L / k, O = this.drawingArea.bottom - w - F * G / v, p = t.series.map((y, z) => {
|
|
529
|
+
const _ = this.mutableConfig.useIndividualScale ? (t.absoluteValues[z] + Math.abs(L)) / k : this.ratioToMax(y);
|
|
528
530
|
return {
|
|
529
|
-
x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot *
|
|
530
|
-
y: this.checkNaN(this.drawingArea.bottom -
|
|
531
|
-
value: t.absoluteValues[
|
|
532
|
-
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[
|
|
531
|
+
x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * z),
|
|
532
|
+
y: this.checkNaN(this.drawingArea.bottom - w - F * _),
|
|
533
|
+
value: t.absoluteValues[z],
|
|
534
|
+
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[z] || ""
|
|
533
535
|
};
|
|
534
|
-
}), a = t.absoluteValues.map((y) =>
|
|
535
|
-
x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot *
|
|
536
|
-
y: this.checkNaN(this.drawingArea.bottom -
|
|
537
|
-
value: t.absoluteValues[
|
|
538
|
-
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[
|
|
536
|
+
}), a = t.absoluteValues.map((y) => N.min >= 0 ? (y - Math.abs(N.min)) / (N.max - Math.abs(N.min)) : (y + Math.abs(N.min)) / (N.max + Math.abs(N.min))), c = t.series.map((y, z) => ({
|
|
537
|
+
x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * z),
|
|
538
|
+
y: this.checkNaN(this.drawingArea.bottom - w - (F * a[z] || 0)),
|
|
539
|
+
value: t.absoluteValues[z],
|
|
540
|
+
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[z] || ""
|
|
539
541
|
})), s = x.ticks.map((y) => ({
|
|
540
|
-
y: y >= 0 ? C - F * (y /
|
|
542
|
+
y: y >= 0 ? C - F * (y / k) : C + F * Math.abs(y) / k,
|
|
541
543
|
value: y,
|
|
542
544
|
prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
543
545
|
suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
544
546
|
datapoint: t
|
|
545
|
-
})), h =
|
|
546
|
-
const
|
|
547
|
+
})), h = N.ticks.map((y) => {
|
|
548
|
+
const z = (y - N.min) / (N.max - N.min);
|
|
547
549
|
return {
|
|
548
|
-
y: y >= 0 ?
|
|
550
|
+
y: y >= 0 ? O - F * z : O + F * z,
|
|
549
551
|
value: y,
|
|
550
552
|
prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
551
553
|
suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
552
554
|
datapoint: t
|
|
553
555
|
};
|
|
554
556
|
});
|
|
555
|
-
return this.scaleGroups[t.scaleLabel].name = t.name, this.scaleGroups[t.scaleLabel].groupName = t.scaleLabel, this.scaleGroups[t.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || t.color, this.scaleGroups[t.scaleLabel].color = t.color, this.scaleGroups[t.scaleLabel].scaleYLabels = t.autoScaling ? h : s, this.scaleGroups[t.scaleLabel].zeroPosition = t.autoScaling ?
|
|
557
|
+
return this.scaleGroups[t.scaleLabel].name = t.name, this.scaleGroups[t.scaleLabel].groupName = t.scaleLabel, this.scaleGroups[t.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || t.color, this.scaleGroups[t.scaleLabel].color = t.color, this.scaleGroups[t.scaleLabel].scaleYLabels = t.autoScaling ? h : s, this.scaleGroups[t.scaleLabel].zeroPosition = t.autoScaling ? O : C, this.scaleGroups[t.scaleLabel].individualMax = t.autoScaling ? v : k, this.scaleGroups[t.scaleLabel].scaleLabel = t.scaleLabel, this.scaleGroups[t.scaleLabel].id = t.id, this.scaleGroups[t.scaleLabel].yOffset = w, this.scaleGroups[t.scaleLabel].individualHeight = F, this.scaleGroups[t.scaleLabel].autoScaleYLabels = h, this.scaleGroups[t.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((y) => y.scaleLabel === t.scaleLabel).length === 1, {
|
|
556
558
|
...t,
|
|
557
|
-
yOffset:
|
|
559
|
+
yOffset: w,
|
|
558
560
|
autoScaleYLabels: h,
|
|
559
561
|
individualHeight: F,
|
|
560
562
|
scaleYLabels: t.autoScaling ? h : s,
|
|
561
|
-
individualScale: t.autoScaling ?
|
|
562
|
-
individualMax: t.autoScaling ?
|
|
563
|
-
zeroPosition: t.autoScaling ?
|
|
564
|
-
plots: t.autoScaling ? c :
|
|
563
|
+
individualScale: t.autoScaling ? N : x,
|
|
564
|
+
individualMax: t.autoScaling ? v : k,
|
|
565
|
+
zeroPosition: t.autoScaling ? O : C,
|
|
566
|
+
plots: t.autoScaling ? c : p,
|
|
565
567
|
groupId: this.scaleGroups[t.scaleLabel].groupId
|
|
566
568
|
};
|
|
567
569
|
});
|
|
@@ -570,8 +572,8 @@ const tt = X(), lt = {
|
|
|
570
572
|
function t(g) {
|
|
571
573
|
const l = /* @__PURE__ */ new Set();
|
|
572
574
|
return g.forEach((e) => {
|
|
573
|
-
const
|
|
574
|
-
l.add(
|
|
575
|
+
const A = e.scaleLabel || "__noScaleLabel__";
|
|
576
|
+
l.add(A);
|
|
575
577
|
}), l.size;
|
|
576
578
|
}
|
|
577
579
|
const n = t(this.absoluteDataset.filter((g) => !this.segregatedSeries.includes(g.id))), o = this.mutableConfig.useIndividualScale && this.FINAL_CONFIG.chart.grid.labels.show ? n * (this.mutableConfig.isStacked ? 0 : this.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth) : 0;
|
|
@@ -645,7 +647,7 @@ const tt = X(), lt = {
|
|
|
645
647
|
t && (n = n.concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>'));
|
|
646
648
|
let o = [];
|
|
647
649
|
for (let e = 0; e < this.maxSeries; e += 1) {
|
|
648
|
-
const
|
|
650
|
+
const A = this.relativeDataset.map((x) => x.absoluteValues[e] ?? 0).reduce((x, N) => x + N, 0);
|
|
649
651
|
o.push(
|
|
650
652
|
[
|
|
651
653
|
this.timeLabels[e].text ?? "-"
|
|
@@ -660,7 +662,7 @@ const tt = X(), lt = {
|
|
|
660
662
|
r: this.FINAL_CONFIG.table.rounding
|
|
661
663
|
})
|
|
662
664
|
)
|
|
663
|
-
)).concat(t ? (
|
|
665
|
+
)).concat(t ? (A ?? 0).toFixed(this.FINAL_CONFIG.table.rounding) : [])
|
|
664
666
|
);
|
|
665
667
|
}
|
|
666
668
|
const g = {
|
|
@@ -723,13 +725,13 @@ const tt = X(), lt = {
|
|
|
723
725
|
config: this.FINAL_CONFIG
|
|
724
726
|
}) : (o && o.text && this.FINAL_CONFIG.chart.tooltip.showTimeLabel && (t += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${this.FINAL_CONFIG.chart.tooltip.borderColor}; width:100%">${o.text}</div>`), this.selectedSeries.forEach((l) => {
|
|
725
727
|
if (this.isSafeValue(l.value)) {
|
|
726
|
-
let e = "",
|
|
728
|
+
let e = "", A = "";
|
|
727
729
|
switch (this.icons[l.type]) {
|
|
728
730
|
case "bar":
|
|
729
731
|
e = `<svg viewBox="0 0 40 40" height="14" width="14">${this.$slots.pattern ? `<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${l.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${this.$slots.pattern ? `url(#pattern_${this.uniqueId}_${l.slotAbsoluteIndex}` : l.color}" /></svg>`;
|
|
730
732
|
break;
|
|
731
733
|
case "line":
|
|
732
|
-
!l.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(l.shape) ?
|
|
734
|
+
!l.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(l.shape) ? A = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${l.color}" />` : l.shape === "triangle" ? A = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "square" ? A = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "diamond" ? A = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "pentagon" ? A = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "hexagon" ? A = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "star" && (A = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${l.color}" points="${U({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${l.color}" />${A}</svg>`;
|
|
733
735
|
break;
|
|
734
736
|
case "plot":
|
|
735
737
|
if (!l.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(l.shape)) {
|
|
@@ -737,7 +739,7 @@ const tt = X(), lt = {
|
|
|
737
739
|
break;
|
|
738
740
|
}
|
|
739
741
|
if (l.shape === "star") {
|
|
740
|
-
e = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${l.color}" points="${
|
|
742
|
+
e = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${l.color}" points="${U({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
|
|
741
743
|
break;
|
|
742
744
|
}
|
|
743
745
|
if (l.shape === "triangle") {
|
|
@@ -771,7 +773,7 @@ const tt = X(), lt = {
|
|
|
771
773
|
r: this.FINAL_CONFIG.chart.tooltip.roundingValue
|
|
772
774
|
}),
|
|
773
775
|
{ datapoint: l }
|
|
774
|
-
) : ""}</b> ${this.FINAL_CONFIG.chart.tooltip.showPercentage ? `(${
|
|
776
|
+
) : ""}</b> ${this.FINAL_CONFIG.chart.tooltip.showPercentage ? `(${Q({
|
|
775
777
|
v: this.checkNaN(Math.abs(l.value) / n * 100),
|
|
776
778
|
s: "%",
|
|
777
779
|
r: this.FINAL_CONFIG.chart.tooltip.roundingPercentage
|
|
@@ -809,45 +811,45 @@ const tt = X(), lt = {
|
|
|
809
811
|
document.removeEventListener("scroll", this.hideTags);
|
|
810
812
|
},
|
|
811
813
|
methods: {
|
|
812
|
-
abbreviate:
|
|
813
|
-
adaptColorToBackground:
|
|
814
|
-
applyDataLabel:
|
|
815
|
-
assignStackRatios:
|
|
816
|
-
calcLinearProgression:
|
|
817
|
-
calculateNiceScaleWithExactExtremes:
|
|
818
|
-
checkNaN:
|
|
819
|
-
closestDecimal:
|
|
820
|
-
convertColorToHex:
|
|
821
|
-
convertConfigColors:
|
|
822
|
-
convertCustomPalette:
|
|
823
|
-
createCsvContent:
|
|
824
|
-
createSmoothPath:
|
|
825
|
-
createStraightPath:
|
|
826
|
-
createTSpans:
|
|
827
|
-
dataLabel:
|
|
828
|
-
downloadCsv:
|
|
829
|
-
error:
|
|
830
|
-
forceValidValue:
|
|
831
|
-
functionReturnsString:
|
|
832
|
-
hasDeepProperty:
|
|
833
|
-
isFunction:
|
|
834
|
-
isSafeValue:
|
|
835
|
-
largestTriangleThreeBucketsArray:
|
|
836
|
-
objectIsEmpty:
|
|
837
|
-
setOpacity:
|
|
838
|
-
shiftHue:
|
|
839
|
-
translateSize:
|
|
840
|
-
treeShake:
|
|
841
|
-
useMouse:
|
|
842
|
-
useNestedProp:
|
|
843
|
-
createUid:
|
|
844
|
-
placeXYTag:
|
|
845
|
-
createSmoothPathWithCuts:
|
|
846
|
-
createStraightPathWithCuts:
|
|
847
|
-
createAreaWithCuts:
|
|
848
|
-
createIndividualAreaWithCuts:
|
|
849
|
-
createSmoothAreaSegments:
|
|
850
|
-
createIndividualArea:
|
|
814
|
+
abbreviate: Me,
|
|
815
|
+
adaptColorToBackground: ze,
|
|
816
|
+
applyDataLabel: pe,
|
|
817
|
+
assignStackRatios: ve,
|
|
818
|
+
calcLinearProgression: Ge,
|
|
819
|
+
calculateNiceScaleWithExactExtremes: Oe,
|
|
820
|
+
checkNaN: we,
|
|
821
|
+
closestDecimal: ke,
|
|
822
|
+
convertColorToHex: Se,
|
|
823
|
+
convertConfigColors: Ce,
|
|
824
|
+
convertCustomPalette: Le,
|
|
825
|
+
createCsvContent: Ae,
|
|
826
|
+
createSmoothPath: ye,
|
|
827
|
+
createStraightPath: _e,
|
|
828
|
+
createTSpans: Fe,
|
|
829
|
+
dataLabel: Q,
|
|
830
|
+
downloadCsv: be,
|
|
831
|
+
error: xe,
|
|
832
|
+
forceValidValue: me,
|
|
833
|
+
functionReturnsString: Ne,
|
|
834
|
+
hasDeepProperty: Ie,
|
|
835
|
+
isFunction: fe,
|
|
836
|
+
isSafeValue: ge,
|
|
837
|
+
largestTriangleThreeBucketsArray: de,
|
|
838
|
+
objectIsEmpty: ue,
|
|
839
|
+
setOpacity: he,
|
|
840
|
+
shiftHue: oe,
|
|
841
|
+
translateSize: ce,
|
|
842
|
+
treeShake: ne,
|
|
843
|
+
useMouse: Be,
|
|
844
|
+
useNestedProp: K,
|
|
845
|
+
createUid: Z,
|
|
846
|
+
placeXYTag: se,
|
|
847
|
+
createSmoothPathWithCuts: ie,
|
|
848
|
+
createStraightPathWithCuts: re,
|
|
849
|
+
createAreaWithCuts: ae,
|
|
850
|
+
createIndividualAreaWithCuts: le,
|
|
851
|
+
createSmoothAreaSegments: J,
|
|
852
|
+
createIndividualArea: te,
|
|
851
853
|
hideTags() {
|
|
852
854
|
const t = document.querySelectorAll(".vue-ui-xy-tag");
|
|
853
855
|
t.length && Array.from(t).forEach((n) => n.style.opacity = "0");
|
|
@@ -886,7 +888,7 @@ const tt = X(), lt = {
|
|
|
886
888
|
};
|
|
887
889
|
},
|
|
888
890
|
prepareConfig() {
|
|
889
|
-
const t =
|
|
891
|
+
const t = Te().vue_ui_xy;
|
|
890
892
|
if (!Object.keys(this.config || {}).length)
|
|
891
893
|
return t;
|
|
892
894
|
const n = this.useNestedProp({
|
|
@@ -894,7 +896,7 @@ const tt = X(), lt = {
|
|
|
894
896
|
defaultConfig: t
|
|
895
897
|
});
|
|
896
898
|
return this.config && this.hasDeepProperty(this.config, "chart.highlightArea") && (Array.isArray(this.config.chart.highlightArea) ? n.chart.highlightArea = this.config.chart.highlightArea : n.chart.highlightArea = [this.config.chart.highlightArea]), this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMin") ? n.chart.grid.labels.yAxis.scaleMin = this.config.chart.grid.labels.yAxis.scaleMin : n.chart.grid.labels.yAxis.scaleMin = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMax") ? n.chart.grid.labels.yAxis.scaleMax = this.config.chart.grid.labels.yAxis.scaleMax : n.chart.grid.labels.yAxis.scaleMax = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.startIndex") ? n.chart.zoom.startIndex = this.config.chart.zoom.startIndex : n.chart.zoom.startIndex = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.endIndex") ? n.chart.zoom.endIndex = this.config.chart.zoom.endIndex : n.chart.zoom.endIndex = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.groupColor") ? n.chart.grid.labels.yAxis.groupColor = this.config.chart.grid.labels.yAxis.groupColor : n.chart.grid.labels.yAxis.groupColor = null, n.theme ? {
|
|
897
|
-
...
|
|
899
|
+
...K({
|
|
898
900
|
userConfig: this.themes.vue_ui_xy[n.theme] || this.config,
|
|
899
901
|
defaultConfig: n
|
|
900
902
|
}),
|
|
@@ -930,17 +932,17 @@ const tt = X(), lt = {
|
|
|
930
932
|
const n = this.$refs.chart.parentNode, { height: o, width: g } = n.getBoundingClientRect();
|
|
931
933
|
let l = null, e = 0;
|
|
932
934
|
this.FINAL_CONFIG.chart.title.show && (l = this.$refs.chartTitle, e = l.getBoundingClientRect().height);
|
|
933
|
-
let
|
|
934
|
-
this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (
|
|
935
|
-
let
|
|
936
|
-
this.FINAL_CONFIG.chart.legend.show && (
|
|
937
|
-
let
|
|
938
|
-
this.$refs.source && (
|
|
939
|
-
let
|
|
940
|
-
this.$refs.noTitle && (
|
|
941
|
-
for (const F of
|
|
942
|
-
this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (x = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (L = this.$refs.chartLegend.getBoundingClientRect().height), this.$refs.source && (
|
|
943
|
-
this.height = F.contentBoxSize[0].blockSize - e - L - x -
|
|
935
|
+
let A = null, x = 0;
|
|
936
|
+
this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (A = this.$refs.chartSlicer.$el, x = A.getBoundingClientRect().height);
|
|
937
|
+
let N = null, L = 0;
|
|
938
|
+
this.FINAL_CONFIG.chart.legend.show && (N = this.$refs.chartLegend, L = N.getBoundingClientRect().height);
|
|
939
|
+
let G = 0;
|
|
940
|
+
this.$refs.source && (G = this.$refs.source.getBoundingClientRect().height);
|
|
941
|
+
let k = 0;
|
|
942
|
+
this.$refs.noTitle && (k = this.$refs.noTitle.getBoundingClientRect().height), this.height = o - e - L - x - G - k, this.width = g, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((w) => {
|
|
943
|
+
for (const F of w)
|
|
944
|
+
this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (x = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (L = this.$refs.chartLegend.getBoundingClientRect().height), this.$refs.source && (G = this.$refs.source.getBoundingClientRect().height), requestAnimationFrame(() => {
|
|
945
|
+
this.height = F.contentBoxSize[0].blockSize - e - L - x - G - 24, this.width = F.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
|
|
944
946
|
});
|
|
945
947
|
}).observe(n);
|
|
946
948
|
} else
|
|
@@ -1004,14 +1006,13 @@ const tt = X(), lt = {
|
|
|
1004
1006
|
t.autoScaling && (this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale || console.warn(`VueUiXy (datapoint: ${t.name}) : autoScaling only works when config.chart.grid.labels.yAxis.useIndividualScale is set to true`), this.FINAL_CONFIG.chart.grid.labels.yAxis.stacked || console.warn(`VueUiXy (datapoint: ${t.name}) : autoScaling only works when config.chart.grid.labels.yAxis.stacked is set to true`));
|
|
1005
1007
|
},
|
|
1006
1008
|
createArea(t, n) {
|
|
1007
|
-
const o = this.mutableConfig.isStacked ? this.drawingArea.bottom - n : this.drawingArea.bottom;
|
|
1008
1009
|
if (!t[0]) return [-10, -10, "", -10, -10];
|
|
1009
|
-
const
|
|
1010
|
-
return t.forEach((
|
|
1011
|
-
|
|
1012
|
-
}), [
|
|
1010
|
+
const o = { x: t[0].x, y: n }, g = { x: t.at(-1).x, y: n }, l = [];
|
|
1011
|
+
return t.forEach((e) => {
|
|
1012
|
+
l.push(`${e.x},${e.y} `);
|
|
1013
|
+
}), [o.x, o.y, ...l, g.x, g.y].toString();
|
|
1013
1014
|
},
|
|
1014
|
-
createStar:
|
|
1015
|
+
createStar: U,
|
|
1015
1016
|
createPolygonPath: H,
|
|
1016
1017
|
fillArray(t, n) {
|
|
1017
1018
|
let o = Array(t).fill(0);
|
|
@@ -1114,7 +1115,7 @@ const tt = X(), lt = {
|
|
|
1114
1115
|
async generatePdf() {
|
|
1115
1116
|
this.showSpinnerPdf(), clearTimeout(this.__to__), this.isPrinting = !0, this.__to__ = setTimeout(async () => {
|
|
1116
1117
|
try {
|
|
1117
|
-
const { default: t } = await import("./pdf-
|
|
1118
|
+
const { default: t } = await import("./pdf-BTE2gw1u.js");
|
|
1118
1119
|
await t({
|
|
1119
1120
|
domElement: document.getElementById(`vue-ui-xy_${this.uniqueId}`),
|
|
1120
1121
|
fileName: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy",
|
|
@@ -1137,7 +1138,7 @@ const tt = X(), lt = {
|
|
|
1137
1138
|
async generateImage() {
|
|
1138
1139
|
this.showSpinnerImage(), clearTimeout(this.__to__), this.isImaging = !0, this.__to__ = setTimeout(async () => {
|
|
1139
1140
|
try {
|
|
1140
|
-
const { default: t } = await import("./img-
|
|
1141
|
+
const { default: t } = await import("./img-C_46LUlu.js");
|
|
1141
1142
|
await t({
|
|
1142
1143
|
domElement: document.getElementById(`vue-ui-xy_${this.uniqueId}`),
|
|
1143
1144
|
fileName: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy",
|
|
@@ -1152,74 +1153,74 @@ const tt = X(), lt = {
|
|
|
1152
1153
|
}, 100);
|
|
1153
1154
|
}
|
|
1154
1155
|
}
|
|
1155
|
-
},
|
|
1156
|
+
}, it = ["id"], st = {
|
|
1156
1157
|
key: 1,
|
|
1157
1158
|
ref: "noTitle",
|
|
1158
1159
|
class: "vue-data-ui-no-title-space",
|
|
1159
1160
|
style: "height:36px; width: 100%; background:transparent"
|
|
1160
|
-
},
|
|
1161
|
+
}, nt = ["viewBox", "aria-label"], ct = ["x", "y", "width", "height"], ot = { key: 1 }, ht = { class: "vue-ui-xy-grid" }, ut = ["stroke", "x1", "x2", "y1", "y2"], dt = ["stroke", "x1", "x2", "y1", "y2"], gt = { key: 1 }, ft = ["x1", "x2", "y1", "y2", "stroke"], It = ["x1", "x2", "y1", "y2", "stroke"], Nt = ["x1", "x2", "y1", "y2", "stroke"], mt = { key: 3 }, xt = ["x1", "x2", "y1", "y2", "stroke"], bt = ["id"], Ft = ["stop-color"], _t = ["stop-color"], yt = ["stop-color"], At = ["id"], Lt = ["stop-color"], Ct = ["stop-color"], St = ["stop-color"], kt = ["id"], wt = ["stop-color"], Ot = ["stop-color"], Gt = ["id"], vt = ["stop-color"], pt = ["stop-color"], zt = ["id"], Mt = ["stop-color"], Tt = ["stop-color"], Pt = ["x", "y", "height", "width", "fill"], Vt = ["x", "y", "width"], Rt = ["x", "y", "height", "width", "fill"], Ht = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Dt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Wt = ["width", "x", "y"], Bt = { key: 0 }, Et = ["id"], Yt = ["fill"], qt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Xt = ["x", "y", "font-size", "fill"], Ut = ["stroke", "x1", "x2", "y1", "y2"], Zt = { key: 2 }, Jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Qt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Kt = { key: 4 }, jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], $t = ["fill", "font-size", "transform"], el = ["x1", "x2", "y1", "y2", "stroke"], tl = ["x", "y", "font-size", "fill"], ll = ["x1", "x2", "y1", "y2", "stroke"], al = ["x", "y", "font-size", "fill"], rl = ["width", "x", "y"], il = { style: { width: "100%" } }, sl = { key: 0 }, nl = ["id"], cl = ["fill"], ol = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], hl = ["x", "y", "font-size", "fill"], ul = ["d", "stroke", "stroke-width", "stroke-dasharray"], dl = ["d", "stroke", "stroke-width", "stroke-dasharray"], gl = { key: 5 }, fl = { key: 0 }, Il = ["d", "fill"], Nl = ["d", "fill"], ml = ["d", "fill"], xl = ["d", "fill"], bl = ["d", "stroke", "stroke-width", "stroke-dasharray"], Fl = ["d", "stroke", "stroke-width", "stroke-dasharray"], _l = ["width", "x", "y"], yl = { style: { width: "100%" } }, Al = { key: 3 }, Ll = ["id"], Cl = ["fill"], Sl = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], kl = ["x", "y", "font-size", "fill"], wl = { key: 6 }, Ol = ["x", "y", "font-size", "fill"], Gl = ["x", "y", "font-size", "fill", "font-weight"], vl = { key: 7 }, pl = ["x", "y", "font-size", "fill"], zl = { key: 8 }, Ml = ["x", "y"], Tl = ["innerHTML"], Pl = ["x", "y"], Vl = ["innerHTML"], Rl = ["x1", "x2", "y1", "y2", "stroke"], Hl = { key: 9 }, Dl = ["x", "y", "font-size", "fill"], Wl = { key: 10 }, Bl = ["x", "y"], El = ["innerHTML"], Yl = ["x", "y"], ql = ["innerHTML"], Xl = ["x1", "x2", "y1", "y2", "stroke"], Ul = ["x", "y", "font-size", "fill", "innerHTML"], Zl = ["x", "y", "font-size", "fill", "innerHTML"], Jl = ["x", "y", "font-size", "fill", "innerHTML"], Ql = ["x", "y", "font-size", "fill", "innerHTML"], Kl = ["id"], jl = ["stop-color"], $l = ["stop-color"], ea = ["x", "y", "width", "height", "fill", "onMouseenter"], ta = ["font-size", "fill", "transform"], la = ["x", "y", "font-size", "fill"], aa = { key: 12 }, ra = ["text-anchor", "font-size", "fill", "transform", "onClick"], ia = ["x", "y", "height", "width", "onMouseenter", "onClick"], sa = {
|
|
1161
1162
|
key: 13,
|
|
1162
1163
|
style: { "pointer-events": "none" }
|
|
1163
|
-
},
|
|
1164
|
+
}, na = ["x", "y"], ca = ["cx", "cy", "r", "fill"], oa = {
|
|
1164
1165
|
key: 5,
|
|
1165
1166
|
class: "vue-data-ui-watermark"
|
|
1166
|
-
},
|
|
1167
|
+
}, ha = {
|
|
1167
1168
|
class: "vue-ui-xy-tag-arrow",
|
|
1168
1169
|
height: "20",
|
|
1169
1170
|
viewBox: "0 0 10 20",
|
|
1170
1171
|
style: { position: "absolute", right: "100%", top: "50%", transform: "translateY(-50%)" }
|
|
1171
|
-
},
|
|
1172
|
+
}, ua = ["fill"], da = ["innerHTML"], ga = {
|
|
1172
1173
|
class: "vue-ui-xy-tag-arrow",
|
|
1173
1174
|
height: "100%",
|
|
1174
1175
|
viewBox: "0 0 10 20",
|
|
1175
1176
|
style: { position: "absolute", left: "100%", top: "50%", transform: "translateY(-50%)" }
|
|
1176
|
-
},
|
|
1177
|
+
}, fa = ["fill"], Ia = ["innerHTML"], Na = {
|
|
1177
1178
|
class: "vue-ui-xy-tag-arrow",
|
|
1178
1179
|
height: "20",
|
|
1179
1180
|
viewBox: "0 0 10 20",
|
|
1180
1181
|
style: { position: "absolute", right: "100%", top: "50%", transform: "translateY(-50%)" }
|
|
1181
|
-
},
|
|
1182
|
+
}, ma = ["fill"], xa = ["innerHTML"], ba = {
|
|
1182
1183
|
class: "vue-ui-xy-tag-arrow",
|
|
1183
1184
|
height: "100%",
|
|
1184
1185
|
viewBox: "0 0 10 20",
|
|
1185
1186
|
style: { position: "absolute", left: "100%", top: "50%", transform: "translateY(-50%)" }
|
|
1186
|
-
},
|
|
1187
|
+
}, Fa = ["fill"], _a = ["innerHTML"], ya = ["onClick"], Aa = {
|
|
1187
1188
|
key: 0,
|
|
1188
1189
|
viewBox: "0 0 20 12",
|
|
1189
1190
|
height: "14",
|
|
1190
1191
|
width: "20"
|
|
1191
|
-
},
|
|
1192
|
+
}, La = ["stroke", "fill"], Ca = {
|
|
1192
1193
|
key: 1,
|
|
1193
1194
|
viewBox: "0 0 40 40",
|
|
1194
1195
|
height: "14",
|
|
1195
1196
|
width: "14"
|
|
1196
|
-
},
|
|
1197
|
+
}, Sa = ["fill"], ka = ["fill"], wa = {
|
|
1197
1198
|
key: 2,
|
|
1198
1199
|
viewBox: "0 0 12 12",
|
|
1199
1200
|
height: "14",
|
|
1200
1201
|
width: "14"
|
|
1201
|
-
},
|
|
1202
|
+
}, Oa = {
|
|
1202
1203
|
key: 9,
|
|
1203
1204
|
ref: "chartLegend"
|
|
1204
|
-
},
|
|
1205
|
+
}, Ga = {
|
|
1205
1206
|
key: 10,
|
|
1206
1207
|
ref: "source",
|
|
1207
1208
|
dir: "auto"
|
|
1208
|
-
},
|
|
1209
|
+
}, va = {
|
|
1209
1210
|
style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
|
|
1210
1211
|
"data-dom-to-png-ignore": ""
|
|
1211
|
-
},
|
|
1212
|
-
function
|
|
1213
|
-
const
|
|
1212
|
+
}, pa = ["innerHTML"];
|
|
1213
|
+
function za(t, n, o, g, l, e) {
|
|
1214
|
+
const A = R("PenAndPaper"), x = R("Title"), N = R("UserOptions"), L = R("PackageVersion"), G = R("Shape"), k = R("Skeleton"), v = R("Slicer"), w = R("Tooltip"), F = R("BaseIcon"), C = R("TableSparkline"), O = R("DataTable"), p = R("Accordion");
|
|
1214
1215
|
return r(), i("div", {
|
|
1215
1216
|
id: `vue-ui-xy_${l.uniqueId}`,
|
|
1216
|
-
class:
|
|
1217
|
+
class: B(`vue-ui-xy ${l.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
1217
1218
|
ref: "chart",
|
|
1218
1219
|
style: b(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color};width:100%;font-family:${e.FINAL_CONFIG.chart.fontFamily};${e.FINAL_CONFIG.responsive ? "height: 100%" : ""}`),
|
|
1219
1220
|
onMouseenter: n[7] || (n[7] = () => e.setUserOptionsVisibility(!0)),
|
|
1220
1221
|
onMouseleave: n[8] || (n[8] = () => e.setUserOptionsVisibility(!1))
|
|
1221
1222
|
}, [
|
|
1222
|
-
e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (r(),
|
|
1223
|
+
e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (r(), W(A, {
|
|
1223
1224
|
key: 0,
|
|
1224
1225
|
svgRef: l.svgRef,
|
|
1225
1226
|
backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
|
|
@@ -1227,14 +1228,14 @@ function va(t, n, o, g, l, e) {
|
|
|
1227
1228
|
active: l.isAnnotator,
|
|
1228
1229
|
onClose: e.toggleAnnotator
|
|
1229
1230
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active", "onClose"])) : d("", !0),
|
|
1230
|
-
e.hasOptionsNoTitle ? (r(), i("div",
|
|
1231
|
+
e.hasOptionsNoTitle ? (r(), i("div", st, null, 512)) : d("", !0),
|
|
1231
1232
|
e.FINAL_CONFIG.chart.title.show ? (r(), i("div", {
|
|
1232
1233
|
key: 2,
|
|
1233
1234
|
ref: "chartTitle",
|
|
1234
1235
|
class: "vue-ui-xy-title",
|
|
1235
1236
|
style: b(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
|
|
1236
1237
|
}, [
|
|
1237
|
-
(r(),
|
|
1238
|
+
(r(), W(x, {
|
|
1238
1239
|
key: `title_${l.titleStep}`,
|
|
1239
1240
|
config: {
|
|
1240
1241
|
title: {
|
|
@@ -1248,7 +1249,7 @@ function va(t, n, o, g, l, e) {
|
|
|
1248
1249
|
}
|
|
1249
1250
|
}, null, 8, ["config"]))
|
|
1250
1251
|
], 4)) : d("", !0),
|
|
1251
|
-
e.FINAL_CONFIG.chart.userOptions.show && e.isDataset && (l.keepUserOptionState || l.userOptionsVisible) ? (r(),
|
|
1252
|
+
e.FINAL_CONFIG.chart.userOptions.show && e.isDataset && (l.keepUserOptionState || l.userOptionsVisible) ? (r(), W(N, {
|
|
1252
1253
|
ref: "defails",
|
|
1253
1254
|
key: `user_options_${l.step}`,
|
|
1254
1255
|
backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
|
|
@@ -1284,11 +1285,11 @@ function va(t, n, o, g, l, e) {
|
|
|
1284
1285
|
style: b({
|
|
1285
1286
|
visibility: l.keepUserOptionState ? l.userOptionsVisible ? "visible" : "hidden" : "visible"
|
|
1286
1287
|
})
|
|
1287
|
-
},
|
|
1288
|
+
}, $e({ _: 2 }, [
|
|
1288
1289
|
t.$slots.menuIcon ? {
|
|
1289
1290
|
name: "menuIcon",
|
|
1290
1291
|
fn: V(({ isOpen: a, color: c }) => [
|
|
1291
|
-
S(t.$slots, "menuIcon",
|
|
1292
|
+
S(t.$slots, "menuIcon", E(Y({ isOpen: a, color: c })), void 0, !0)
|
|
1292
1293
|
]),
|
|
1293
1294
|
key: "0"
|
|
1294
1295
|
} : void 0,
|
|
@@ -1344,14 +1345,14 @@ function va(t, n, o, g, l, e) {
|
|
|
1344
1345
|
t.$slots.optionFullscreen ? {
|
|
1345
1346
|
name: "optionFullscreen",
|
|
1346
1347
|
fn: V(({ toggleFullscreen: a, isFullscreen: c }) => [
|
|
1347
|
-
S(t.$slots, "optionFullscreen",
|
|
1348
|
+
S(t.$slots, "optionFullscreen", E(Y({ toggleFullscreen: a, isFullscreen: c })), void 0, !0)
|
|
1348
1349
|
]),
|
|
1349
1350
|
key: "8"
|
|
1350
1351
|
} : void 0,
|
|
1351
1352
|
t.$slots.optionAnnotator ? {
|
|
1352
1353
|
name: "optionAnnotator",
|
|
1353
1354
|
fn: V(({ toggleAnnotator: a, isAnnotator: c }) => [
|
|
1354
|
-
S(t.$slots, "optionAnnotator",
|
|
1355
|
+
S(t.$slots, "optionAnnotator", E(Y({ toggleAnnotator: a, isAnnotator: c })), void 0, !0)
|
|
1355
1356
|
]),
|
|
1356
1357
|
key: "9"
|
|
1357
1358
|
} : void 0
|
|
@@ -1360,7 +1361,7 @@ function va(t, n, o, g, l, e) {
|
|
|
1360
1361
|
key: 4,
|
|
1361
1362
|
ref: "svgRef",
|
|
1362
1363
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1363
|
-
class:
|
|
1364
|
+
class: B([{ "vue-data-ui-fullscreen--on": l.isFullscreen, "vue-data-ui-fulscreen--off": !l.isFullscreen }, "vue-ui-xy-svg"]),
|
|
1364
1365
|
width: "100%",
|
|
1365
1366
|
viewBox: l.viewBox,
|
|
1366
1367
|
style: b(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`),
|
|
@@ -1368,7 +1369,7 @@ function va(t, n, o, g, l, e) {
|
|
|
1368
1369
|
role: "img",
|
|
1369
1370
|
"aria-live": "polite"
|
|
1370
1371
|
}, [
|
|
1371
|
-
|
|
1372
|
+
X(L),
|
|
1372
1373
|
t.$slots["chart-background"] ? (r(), i("foreignObject", {
|
|
1373
1374
|
key: 0,
|
|
1374
1375
|
x: e.drawingArea.left + e.xPadding < 0 ? 0 : e.drawingArea.left + e.xPadding,
|
|
@@ -1380,9 +1381,9 @@ function va(t, n, o, g, l, e) {
|
|
|
1380
1381
|
}
|
|
1381
1382
|
}, [
|
|
1382
1383
|
S(t.$slots, "chart-background", {}, void 0, !0)
|
|
1383
|
-
], 8,
|
|
1384
|
-
e.maxSeries > 0 ? (r(), i("g",
|
|
1385
|
-
f("g",
|
|
1384
|
+
], 8, ct)) : d("", !0),
|
|
1385
|
+
e.maxSeries > 0 ? (r(), i("g", ot, [
|
|
1386
|
+
f("g", ht, [
|
|
1386
1387
|
e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (r(), i("line", {
|
|
1387
1388
|
key: 0,
|
|
1388
1389
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
@@ -1392,7 +1393,7 @@ function va(t, n, o, g, l, e) {
|
|
|
1392
1393
|
y1: e.forceValidValue(e.drawingArea.bottom),
|
|
1393
1394
|
y2: e.forceValidValue(e.drawingArea.bottom),
|
|
1394
1395
|
"stroke-linecap": "round"
|
|
1395
|
-
}, null, 8,
|
|
1396
|
+
}, null, 8, ut)) : d("", !0),
|
|
1396
1397
|
l.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(!0), i(u, { key: 2 }, I(e.allScales, (a) => (r(), i("g", null, [
|
|
1397
1398
|
a.id === l.selectedScale && a.yLabels.length ? (r(!0), i(u, { key: 0 }, I(a.yLabels, (c) => (r(), i("line", {
|
|
1398
1399
|
x1: e.drawingArea.left + e.xPadding,
|
|
@@ -1402,7 +1403,7 @@ function va(t, n, o, g, l, e) {
|
|
|
1402
1403
|
stroke: a.color,
|
|
1403
1404
|
"stroke-width": 0.5,
|
|
1404
1405
|
"stroke-linecap": "round"
|
|
1405
|
-
}, null, 8,
|
|
1406
|
+
}, null, 8, It))), 256)) : a.yLabels.length ? (r(!0), i(u, { key: 1 }, I(a.yLabels, (c) => (r(), i("line", {
|
|
1406
1407
|
x1: e.drawingArea.left + e.xPadding,
|
|
1407
1408
|
x2: e.drawingArea.right - e.xPadding,
|
|
1408
1409
|
y1: e.forceValidValue(c.y),
|
|
@@ -1410,7 +1411,7 @@ function va(t, n, o, g, l, e) {
|
|
|
1410
1411
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1411
1412
|
"stroke-width": 0.5,
|
|
1412
1413
|
"stroke-linecap": "round"
|
|
1413
|
-
}, null, 8,
|
|
1414
|
+
}, null, 8, Nt))), 256)) : d("", !0)
|
|
1414
1415
|
]))), 256)) : d("", !0) : (r(), i(u, { key: 1 }, [
|
|
1415
1416
|
e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (r(), i("line", {
|
|
1416
1417
|
key: 0,
|
|
@@ -1421,8 +1422,8 @@ function va(t, n, o, g, l, e) {
|
|
|
1421
1422
|
y1: e.forceValidValue(e.drawingArea.top),
|
|
1422
1423
|
y2: e.forceValidValue(e.drawingArea.bottom),
|
|
1423
1424
|
"stroke-linecap": "round"
|
|
1424
|
-
}, null, 8,
|
|
1425
|
-
e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(), i("g",
|
|
1425
|
+
}, null, 8, dt)) : d("", !0),
|
|
1426
|
+
e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(), i("g", gt, [
|
|
1426
1427
|
(r(!0), i(u, null, I(e.yLabels, (a) => (r(), i("line", {
|
|
1427
1428
|
x1: e.drawingArea.left + e.xPadding,
|
|
1428
1429
|
x2: e.drawingArea.right - e.xPadding,
|
|
@@ -1431,10 +1432,10 @@ function va(t, n, o, g, l, e) {
|
|
|
1431
1432
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1432
1433
|
"stroke-width": 0.5,
|
|
1433
1434
|
"stroke-linecap": "round"
|
|
1434
|
-
}, null, 8,
|
|
1435
|
+
}, null, 8, ft))), 256))
|
|
1435
1436
|
])) : d("", !0)
|
|
1436
1437
|
], 64)),
|
|
1437
|
-
e.FINAL_CONFIG.chart.grid.showVerticalLines ? (r(), i("g",
|
|
1438
|
+
e.FINAL_CONFIG.chart.grid.showVerticalLines ? (r(), i("g", mt, [
|
|
1438
1439
|
(r(!0), i(u, null, I(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (a, c) => (r(), i("line", {
|
|
1439
1440
|
key: `grid_vertical_line_${c}`,
|
|
1440
1441
|
x1: e.drawingArea.width / e.maxSeries * c + e.drawingArea.left + e.xPadding,
|
|
@@ -1443,7 +1444,7 @@ function va(t, n, o, g, l, e) {
|
|
|
1443
1444
|
y2: e.forceValidValue(e.drawingArea.bottom),
|
|
1444
1445
|
"stroke-width": "0.5",
|
|
1445
1446
|
stroke: e.FINAL_CONFIG.chart.grid.stroke
|
|
1446
|
-
}, null, 8,
|
|
1447
|
+
}, null, 8, xt))), 128))
|
|
1447
1448
|
])) : d("", !0)
|
|
1448
1449
|
]),
|
|
1449
1450
|
(r(!0), i(u, null, I(e.barSet, (a, c) => (r(), i("defs", {
|
|
@@ -1457,16 +1458,16 @@ function va(t, n, o, g, l, e) {
|
|
|
1457
1458
|
f("stop", {
|
|
1458
1459
|
offset: "0%",
|
|
1459
1460
|
"stop-color": a.color
|
|
1460
|
-
}, null, 8,
|
|
1461
|
+
}, null, 8, Ft),
|
|
1461
1462
|
f("stop", {
|
|
1462
1463
|
offset: "62%",
|
|
1463
1464
|
"stop-color": `${e.shiftHue(a.color, 0.02)}`
|
|
1464
|
-
}, null, 8,
|
|
1465
|
+
}, null, 8, _t),
|
|
1465
1466
|
f("stop", {
|
|
1466
1467
|
offset: "100%",
|
|
1467
1468
|
"stop-color": `${e.shiftHue(a.color, 0.05)}`
|
|
1468
|
-
}, null, 8,
|
|
1469
|
-
], 8,
|
|
1469
|
+
}, null, 8, yt)
|
|
1470
|
+
], 8, bt),
|
|
1470
1471
|
f("linearGradient", {
|
|
1471
1472
|
id: `rectGradient_neg_${c}_${l.uniqueId}`,
|
|
1472
1473
|
x2: "0%",
|
|
@@ -1475,16 +1476,16 @@ function va(t, n, o, g, l, e) {
|
|
|
1475
1476
|
f("stop", {
|
|
1476
1477
|
offset: "0%",
|
|
1477
1478
|
"stop-color": `${e.shiftHue(a.color, 0.05)}`
|
|
1478
|
-
}, null, 8,
|
|
1479
|
+
}, null, 8, Lt),
|
|
1479
1480
|
f("stop", {
|
|
1480
1481
|
offset: "38%",
|
|
1481
1482
|
"stop-color": `${e.shiftHue(a.color, 0.02)}`
|
|
1482
|
-
}, null, 8,
|
|
1483
|
+
}, null, 8, Ct),
|
|
1483
1484
|
f("stop", {
|
|
1484
1485
|
offset: "100%",
|
|
1485
1486
|
"stop-color": a.color
|
|
1486
|
-
}, null, 8,
|
|
1487
|
-
], 8,
|
|
1487
|
+
}, null, 8, St)
|
|
1488
|
+
], 8, At)
|
|
1488
1489
|
]))), 128)),
|
|
1489
1490
|
(r(!0), i(u, null, I(e.plotSet, (a, c) => (r(), i("defs", {
|
|
1490
1491
|
key: `def_plot_${c}`
|
|
@@ -1500,12 +1501,12 @@ function va(t, n, o, g, l, e) {
|
|
|
1500
1501
|
f("stop", {
|
|
1501
1502
|
offset: "0%",
|
|
1502
1503
|
"stop-color": `${e.shiftHue(a.color, 0.05)}`
|
|
1503
|
-
}, null, 8,
|
|
1504
|
+
}, null, 8, wt),
|
|
1504
1505
|
f("stop", {
|
|
1505
1506
|
offset: "100%",
|
|
1506
1507
|
"stop-color": a.color
|
|
1507
|
-
}, null, 8,
|
|
1508
|
-
], 8,
|
|
1508
|
+
}, null, 8, Ot)
|
|
1509
|
+
], 8, kt)
|
|
1509
1510
|
]))), 128)),
|
|
1510
1511
|
(r(!0), i(u, null, I(e.lineSet, (a, c) => (r(), i("defs", {
|
|
1511
1512
|
key: `def_line_${c}`
|
|
@@ -1521,12 +1522,12 @@ function va(t, n, o, g, l, e) {
|
|
|
1521
1522
|
f("stop", {
|
|
1522
1523
|
offset: "0%",
|
|
1523
1524
|
"stop-color": `${e.shiftHue(a.color, 0.05)}`
|
|
1524
|
-
}, null, 8,
|
|
1525
|
+
}, null, 8, vt),
|
|
1525
1526
|
f("stop", {
|
|
1526
1527
|
offset: "100%",
|
|
1527
1528
|
"stop-color": a.color
|
|
1528
|
-
}, null, 8,
|
|
1529
|
-
], 8,
|
|
1529
|
+
}, null, 8, pt)
|
|
1530
|
+
], 8, Gt),
|
|
1530
1531
|
f("linearGradient", {
|
|
1531
1532
|
id: `areaGradient_${c}_${l.uniqueId}`,
|
|
1532
1533
|
x1: "0%",
|
|
@@ -1537,12 +1538,12 @@ function va(t, n, o, g, l, e) {
|
|
|
1537
1538
|
f("stop", {
|
|
1538
1539
|
offset: "0%",
|
|
1539
1540
|
"stop-color": `${e.setOpacity(e.shiftHue(a.color, 0.03), e.FINAL_CONFIG.line.area.opacity)}`
|
|
1540
|
-
}, null, 8,
|
|
1541
|
+
}, null, 8, Mt),
|
|
1541
1542
|
f("stop", {
|
|
1542
1543
|
offset: "100%",
|
|
1543
1544
|
"stop-color": `${e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)}`
|
|
1544
|
-
}, null, 8,
|
|
1545
|
-
], 8,
|
|
1545
|
+
}, null, 8, Tt)
|
|
1546
|
+
], 8, zt)
|
|
1546
1547
|
]))), 128)),
|
|
1547
1548
|
(r(!0), i(u, null, I(e.highlightAreas, (a) => (r(), i("g", null, [
|
|
1548
1549
|
a.show ? (r(!0), i(u, { key: 0 }, I(a.span, (c, s) => (r(), i("g", null, [
|
|
@@ -1556,7 +1557,7 @@ function va(t, n, o, g, l, e) {
|
|
|
1556
1557
|
height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
|
|
1557
1558
|
width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
|
|
1558
1559
|
fill: e.setOpacity(a.color, a.opacity)
|
|
1559
|
-
}, null, 12,
|
|
1560
|
+
}, null, 12, Pt),
|
|
1560
1561
|
a.caption.text && s === 0 ? (r(), i("foreignObject", {
|
|
1561
1562
|
key: 0,
|
|
1562
1563
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.from + s - l.slicer.start) - (a.caption.width === "auto" ? 0 : a.caption.width / 2 - e.drawingArea.width / e.maxSeries * a.span / 2),
|
|
@@ -1570,8 +1571,8 @@ function va(t, n, o, g, l, e) {
|
|
|
1570
1571
|
}, [
|
|
1571
1572
|
f("div", {
|
|
1572
1573
|
style: b(`padding:${a.caption.padding}px;text-align:${a.caption.textAlign};font-size:${a.caption.fontSize}px;color:${a.caption.color};font-weight:${a.caption.bold ? "bold" : "normal"}`)
|
|
1573
|
-
},
|
|
1574
|
-
], 12,
|
|
1574
|
+
}, T(a.caption.text), 5)
|
|
1575
|
+
], 12, Vt)) : d("", !0)
|
|
1575
1576
|
]))), 256)) : d("", !0)
|
|
1576
1577
|
]))), 256)),
|
|
1577
1578
|
f("g", null, [
|
|
@@ -1584,12 +1585,12 @@ function va(t, n, o, g, l, e) {
|
|
|
1584
1585
|
height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
|
|
1585
1586
|
width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
|
|
1586
1587
|
fill: [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(c) ? e.setOpacity(e.FINAL_CONFIG.chart.highlighter.color, e.FINAL_CONFIG.chart.highlighter.opacity) : "transparent"
|
|
1587
|
-
}, null, 8,
|
|
1588
|
+
}, null, 8, Rt)
|
|
1588
1589
|
]))), 128))
|
|
1589
1590
|
]),
|
|
1590
1591
|
e.barSet.length ? (r(!0), i(u, { key: 0 }, I(e.barSet, (a, c) => (r(), i("g", {
|
|
1591
1592
|
key: `serie_bar_${c}`,
|
|
1592
|
-
class:
|
|
1593
|
+
class: B(`serie_bar_${c}`),
|
|
1593
1594
|
style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1594
1595
|
}, [
|
|
1595
1596
|
(r(!0), i(u, null, I(a.plots, (s, h) => (r(), i("g", {
|
|
@@ -1605,7 +1606,7 @@ function va(t, n, o, g, l, e) {
|
|
|
1605
1606
|
fill: e.FINAL_CONFIG.bar.useGradient ? s.value >= 0 ? `url(#rectGradient_pos_${c}_${l.uniqueId})` : `url(#rectGradient_neg_${c}_${l.uniqueId})` : a.color,
|
|
1606
1607
|
stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? a.color : e.FINAL_CONFIG.bar.border.stroke,
|
|
1607
1608
|
"stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
|
|
1608
|
-
}, null, 8,
|
|
1609
|
+
}, null, 8, Ht)) : d("", !0),
|
|
1609
1610
|
e.canShowValue(s.value) && t.$slots.pattern ? (r(), i("rect", {
|
|
1610
1611
|
key: 1,
|
|
1611
1612
|
x: e.calcRectX(s),
|
|
@@ -1616,7 +1617,7 @@ function va(t, n, o, g, l, e) {
|
|
|
1616
1617
|
fill: `url(#pattern_${l.uniqueId}_${a.slotAbsoluteIndex})`,
|
|
1617
1618
|
stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? a.color : e.FINAL_CONFIG.bar.border.stroke,
|
|
1618
1619
|
"stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
|
|
1619
|
-
}, null, 8,
|
|
1620
|
+
}, null, 8, Dt)) : d("", !0),
|
|
1620
1621
|
s.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), i("foreignObject", {
|
|
1621
1622
|
key: 2,
|
|
1622
1623
|
style: { overflow: "visible" },
|
|
@@ -1628,9 +1629,9 @@ function va(t, n, o, g, l, e) {
|
|
|
1628
1629
|
S(t.$slots, "plot-comment", {
|
|
1629
1630
|
plot: { ...s, color: a.color, seriesIndex: c, datapointIndex: h }
|
|
1630
1631
|
}, void 0, !0)
|
|
1631
|
-
], 8,
|
|
1632
|
+
], 8, Wt)) : d("", !0)
|
|
1632
1633
|
]))), 128)),
|
|
1633
|
-
Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g",
|
|
1634
|
+
Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g", Bt, [
|
|
1634
1635
|
f("defs", null, [
|
|
1635
1636
|
f("marker", {
|
|
1636
1637
|
id: `bar_arrow_${c}`,
|
|
@@ -1643,8 +1644,8 @@ function va(t, n, o, g, l, e) {
|
|
|
1643
1644
|
f("polygon", {
|
|
1644
1645
|
points: `0 0, 7 ${7 / 2}, 0 7`,
|
|
1645
1646
|
fill: a.color
|
|
1646
|
-
}, null, 8,
|
|
1647
|
-
], 8,
|
|
1647
|
+
}, null, 8, Yt)
|
|
1648
|
+
], 8, Et)
|
|
1648
1649
|
]),
|
|
1649
1650
|
a.plots.length > 1 ? (r(), i("line", {
|
|
1650
1651
|
key: 0,
|
|
@@ -1656,7 +1657,7 @@ function va(t, n, o, g, l, e) {
|
|
|
1656
1657
|
stroke: a.color,
|
|
1657
1658
|
"stroke-dasharray": 2,
|
|
1658
1659
|
"marker-end": `url(#bar_arrow_${c})`
|
|
1659
|
-
}, null, 8,
|
|
1660
|
+
}, null, 8, qt)) : d("", !0),
|
|
1660
1661
|
a.plots.length > 1 ? (r(), i("text", {
|
|
1661
1662
|
key: 1,
|
|
1662
1663
|
"text-anchor": "middle",
|
|
@@ -1664,11 +1665,11 @@ function va(t, n, o, g, l, e) {
|
|
|
1664
1665
|
y: e.calcLinearProgression(a.plots).y2 - 6,
|
|
1665
1666
|
"font-size": l.fontSizes.plotLabels,
|
|
1666
1667
|
fill: a.color
|
|
1667
|
-
},
|
|
1668
|
+
}, T(e.dataLabel({
|
|
1668
1669
|
v: e.calcLinearProgression(a.plots).trend * 100,
|
|
1669
1670
|
s: "%",
|
|
1670
1671
|
r: 2
|
|
1671
|
-
})), 9,
|
|
1672
|
+
})), 9, Xt)) : d("", !0)
|
|
1672
1673
|
])) : d("", !0)
|
|
1673
1674
|
], 6))), 128)) : d("", !0),
|
|
1674
1675
|
!l.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (r(), i("line", {
|
|
@@ -1680,8 +1681,8 @@ function va(t, n, o, g, l, e) {
|
|
|
1680
1681
|
y1: e.forceValidValue(e.zero),
|
|
1681
1682
|
y2: e.forceValidValue(e.zero),
|
|
1682
1683
|
"stroke-linecap": "round"
|
|
1683
|
-
}, null, 8,
|
|
1684
|
-
e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (r(), i("g",
|
|
1684
|
+
}, null, 8, Ut)) : d("", !0),
|
|
1685
|
+
e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (r(), i("g", Zt, [
|
|
1685
1686
|
f("line", {
|
|
1686
1687
|
x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)) + e.drawingArea.width / e.maxSeries / 2,
|
|
1687
1688
|
x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)) + e.drawingArea.width / e.maxSeries / 2,
|
|
@@ -1692,7 +1693,7 @@ function va(t, n, o, g, l, e) {
|
|
|
1692
1693
|
"stroke-dasharray": e.FINAL_CONFIG.chart.highlighter.lineDasharray,
|
|
1693
1694
|
"stroke-linecap": "round",
|
|
1694
1695
|
style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
|
|
1695
|
-
}, null, 8,
|
|
1696
|
+
}, null, 8, Jt)
|
|
1696
1697
|
])) : d("", !0),
|
|
1697
1698
|
e.FINAL_CONFIG.chart.grid.frame.show ? (r(), i("rect", {
|
|
1698
1699
|
key: 3,
|
|
@@ -1707,8 +1708,8 @@ function va(t, n, o, g, l, e) {
|
|
|
1707
1708
|
"stroke-linecap": e.FINAL_CONFIG.chart.grid.frame.strokeLinecap,
|
|
1708
1709
|
"stroke-linejoin": e.FINAL_CONFIG.chart.grid.frame.strokeLinejoin,
|
|
1709
1710
|
"stroke-dasharray": e.FINAL_CONFIG.chart.grid.frame.strokeDasharray
|
|
1710
|
-
}, null, 8,
|
|
1711
|
-
e.FINAL_CONFIG.chart.grid.labels.show ? (r(), i("g",
|
|
1711
|
+
}, null, 8, Qt)) : d("", !0),
|
|
1712
|
+
e.FINAL_CONFIG.chart.grid.labels.show ? (r(), i("g", Kt, [
|
|
1712
1713
|
l.mutableConfig.useIndividualScale ? (r(), i(u, { key: 0 }, [
|
|
1713
1714
|
(r(!0), i(u, null, I(e.allScales, (a) => (r(), i("g", null, [
|
|
1714
1715
|
f("line", {
|
|
@@ -1720,7 +1721,7 @@ function va(t, n, o, g, l, e) {
|
|
|
1720
1721
|
"stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
|
|
1721
1722
|
"stroke-linecap": "round",
|
|
1722
1723
|
style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1723
|
-
}, null, 12,
|
|
1724
|
+
}, null, 12, jt)
|
|
1724
1725
|
]))), 256)),
|
|
1725
1726
|
(r(!0), i(u, null, I(e.allScales, (a) => (r(), i("g", {
|
|
1726
1727
|
style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
@@ -1730,7 +1731,7 @@ function va(t, n, o, g, l, e) {
|
|
|
1730
1731
|
"font-size": l.fontSizes.dataLabels,
|
|
1731
1732
|
"text-anchor": "middle",
|
|
1732
1733
|
transform: `translate(${a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5 + e.xPadding + e.FINAL_CONFIG.chart.grid.labels.yAxis.scaleLabelOffsetX}, ${l.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset - a.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
|
|
1733
|
-
},
|
|
1734
|
+
}, T(a.name) + " " + T(a.scaleLabel && a.unique && a.scaleLabel !== a.id ? `- ${a.scaleLabel}` : ""), 9, $t),
|
|
1734
1735
|
(r(!0), i(u, null, I(a.yLabels, (c, s) => (r(), i("line", {
|
|
1735
1736
|
x1: a.x - 3 + e.xPadding,
|
|
1736
1737
|
x2: a.x + e.xPadding,
|
|
@@ -1739,14 +1740,14 @@ function va(t, n, o, g, l, e) {
|
|
|
1739
1740
|
stroke: a.color,
|
|
1740
1741
|
"stroke-width": 1,
|
|
1741
1742
|
"stroke-linecap": "round"
|
|
1742
|
-
}, null, 8,
|
|
1743
|
+
}, null, 8, el))), 256)),
|
|
1743
1744
|
(r(!0), i(u, null, I(a.yLabels, (c, s) => (r(), i("text", {
|
|
1744
1745
|
x: a.x - 5 + e.xPadding + e.FINAL_CONFIG.chart.grid.labels.yAxis.scaleValueOffsetX,
|
|
1745
1746
|
y: e.forceValidValue(c.y) + l.fontSizes.dataLabels / 3,
|
|
1746
1747
|
"font-size": l.fontSizes.dataLabels,
|
|
1747
1748
|
"text-anchor": "end",
|
|
1748
1749
|
fill: a.color
|
|
1749
|
-
},
|
|
1750
|
+
}, T(e.applyDataLabel(
|
|
1750
1751
|
e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
|
|
1751
1752
|
c.value,
|
|
1752
1753
|
e.dataLabel({
|
|
@@ -1756,7 +1757,7 @@ function va(t, n, o, g, l, e) {
|
|
|
1756
1757
|
r: 1
|
|
1757
1758
|
}),
|
|
1758
1759
|
{ datapoint: c.datapoint, seriesIndex: s }
|
|
1759
|
-
)), 9,
|
|
1760
|
+
)), 9, tl))), 256))
|
|
1760
1761
|
], 4))), 256))
|
|
1761
1762
|
], 64)) : (r(!0), i(u, { key: 1 }, I(e.yLabels, (a, c) => (r(), i("g", {
|
|
1762
1763
|
key: `yLabel_${c}`
|
|
@@ -1770,7 +1771,7 @@ function va(t, n, o, g, l, e) {
|
|
|
1770
1771
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1771
1772
|
"stroke-width": "1",
|
|
1772
1773
|
"stroke-linecap": "round"
|
|
1773
|
-
}, null, 8,
|
|
1774
|
+
}, null, 8, ll)) : d("", !0),
|
|
1774
1775
|
a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (r(), i("text", {
|
|
1775
1776
|
key: 1,
|
|
1776
1777
|
x: e.drawingArea.left - 7 + e.xPadding,
|
|
@@ -1778,7 +1779,7 @@ function va(t, n, o, g, l, e) {
|
|
|
1778
1779
|
"font-size": l.fontSizes.dataLabels,
|
|
1779
1780
|
"text-anchor": "end",
|
|
1780
1781
|
fill: e.FINAL_CONFIG.chart.grid.labels.color
|
|
1781
|
-
},
|
|
1782
|
+
}, T(e.canShowValue(a.value) ? e.applyDataLabel(
|
|
1782
1783
|
e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
|
|
1783
1784
|
a.value,
|
|
1784
1785
|
e.dataLabel({
|
|
@@ -1787,18 +1788,18 @@ function va(t, n, o, g, l, e) {
|
|
|
1787
1788
|
s: a.suffix,
|
|
1788
1789
|
r: 1
|
|
1789
1790
|
})
|
|
1790
|
-
) : ""), 9,
|
|
1791
|
+
) : ""), 9, al)) : d("", !0)
|
|
1791
1792
|
]))), 128))
|
|
1792
1793
|
])) : d("", !0),
|
|
1793
1794
|
(r(!0), i(u, null, I(e.plotSet, (a, c) => (r(), i("g", {
|
|
1794
1795
|
key: `serie_plot_${c}`,
|
|
1795
|
-
class:
|
|
1796
|
+
class: B(`serie_plot_${c}`),
|
|
1796
1797
|
style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1797
1798
|
}, [
|
|
1798
1799
|
(r(!0), i(u, null, I(a.plots, (s, h) => (r(), i("g", {
|
|
1799
1800
|
key: `circle_plot_${c}_${h}`
|
|
1800
1801
|
}, [
|
|
1801
|
-
s && e.canShowValue(s.value) ? (r(),
|
|
1802
|
+
s && e.canShowValue(s.value) ? (r(), W(G, {
|
|
1802
1803
|
key: 0,
|
|
1803
1804
|
shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
|
|
1804
1805
|
color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${c}_${l.uniqueId})` : e.FINAL_CONFIG.plot.dot.useSerieColor ? a.color : e.FINAL_CONFIG.plot.dot.fill,
|
|
@@ -1815,14 +1816,14 @@ function va(t, n, o, g, l, e) {
|
|
|
1815
1816
|
x: s.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
|
|
1816
1817
|
y: s.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
|
|
1817
1818
|
}, [
|
|
1818
|
-
f("div",
|
|
1819
|
+
f("div", il, [
|
|
1819
1820
|
S(t.$slots, "plot-comment", {
|
|
1820
1821
|
plot: { ...s, color: a.color, seriesIndex: c, datapointIndex: h }
|
|
1821
1822
|
}, void 0, !0)
|
|
1822
1823
|
])
|
|
1823
|
-
], 8,
|
|
1824
|
+
], 8, rl)) : d("", !0)
|
|
1824
1825
|
]))), 128)),
|
|
1825
|
-
Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g",
|
|
1826
|
+
Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g", sl, [
|
|
1826
1827
|
f("defs", null, [
|
|
1827
1828
|
f("marker", {
|
|
1828
1829
|
id: `plot_arrow_${c}`,
|
|
@@ -1835,8 +1836,8 @@ function va(t, n, o, g, l, e) {
|
|
|
1835
1836
|
f("polygon", {
|
|
1836
1837
|
points: `0 0, 7 ${7 / 2}, 0 7`,
|
|
1837
1838
|
fill: a.color
|
|
1838
|
-
}, null, 8,
|
|
1839
|
-
], 8,
|
|
1839
|
+
}, null, 8, cl)
|
|
1840
|
+
], 8, nl)
|
|
1840
1841
|
]),
|
|
1841
1842
|
a.plots.length > 1 ? (r(), i("line", {
|
|
1842
1843
|
key: 0,
|
|
@@ -1848,7 +1849,7 @@ function va(t, n, o, g, l, e) {
|
|
|
1848
1849
|
stroke: a.color,
|
|
1849
1850
|
"stroke-dasharray": 2,
|
|
1850
1851
|
"marker-end": `url(#plot_arrow_${c})`
|
|
1851
|
-
}, null, 8,
|
|
1852
|
+
}, null, 8, ol)) : d("", !0),
|
|
1852
1853
|
a.plots.length > 1 ? (r(), i("text", {
|
|
1853
1854
|
key: 1,
|
|
1854
1855
|
"text-anchor": "middle",
|
|
@@ -1856,16 +1857,16 @@ function va(t, n, o, g, l, e) {
|
|
|
1856
1857
|
y: e.calcLinearProgression(a.plots).y2 - 6,
|
|
1857
1858
|
"font-size": l.fontSizes.plotLabels,
|
|
1858
1859
|
fill: a.color
|
|
1859
|
-
},
|
|
1860
|
+
}, T(e.dataLabel({
|
|
1860
1861
|
v: e.calcLinearProgression(a.plots).trend * 100,
|
|
1861
1862
|
s: "%",
|
|
1862
1863
|
r: 2
|
|
1863
|
-
})), 9,
|
|
1864
|
+
})), 9, hl)) : d("", !0)
|
|
1864
1865
|
])) : d("", !0)
|
|
1865
1866
|
], 6))), 128)),
|
|
1866
1867
|
(r(!0), i(u, null, I(e.lineSet, (a, c) => (r(), i("g", {
|
|
1867
1868
|
key: `serie_line_${c}`,
|
|
1868
|
-
class:
|
|
1869
|
+
class: B(`serie_line_${c}`),
|
|
1869
1870
|
style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1870
1871
|
}, [
|
|
1871
1872
|
a.smooth && a.plots.length > 1 ? (r(), i("path", {
|
|
@@ -1875,7 +1876,7 @@ function va(t, n, o, g, l, e) {
|
|
|
1875
1876
|
"stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
|
|
1876
1877
|
"stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1877
1878
|
fill: "none"
|
|
1878
|
-
}, null, 8,
|
|
1879
|
+
}, null, 8, ul)) : a.plots.length > 1 ? (r(), i("path", {
|
|
1879
1880
|
key: 1,
|
|
1880
1881
|
d: `M${a.straight}`,
|
|
1881
1882
|
stroke: e.FINAL_CONFIG.chart.backgroundColor,
|
|
@@ -1884,40 +1885,40 @@ function va(t, n, o, g, l, e) {
|
|
|
1884
1885
|
fill: "none",
|
|
1885
1886
|
"stroke-linecap": "round",
|
|
1886
1887
|
"stroke-linejoin": "round"
|
|
1887
|
-
}, null, 8,
|
|
1888
|
+
}, null, 8, dl)) : d("", !0)
|
|
1888
1889
|
], 6))), 128)),
|
|
1889
|
-
t.$slots.pattern ? (r(), i("defs",
|
|
1890
|
-
(r(!0), i(u, null, I(e.safeDataset, (a, c) => S(t.$slots, "pattern",
|
|
1890
|
+
t.$slots.pattern ? (r(), i("defs", gl, [
|
|
1891
|
+
(r(!0), i(u, null, I(e.safeDataset, (a, c) => S(t.$slots, "pattern", $({
|
|
1891
1892
|
key: `serie_pattern_slot_${c}`,
|
|
1892
1893
|
ref_for: !0
|
|
1893
1894
|
}, { ...a, seriesIndex: a.slotAbsoluteIndex, patternId: `pattern_${l.uniqueId}_${c}` }), void 0, !0)), 128))
|
|
1894
1895
|
])) : d("", !0),
|
|
1895
1896
|
(r(!0), i(u, null, I(e.lineSet, (a, c) => (r(), i("g", {
|
|
1896
1897
|
key: `serie_line_${c}`,
|
|
1897
|
-
class:
|
|
1898
|
+
class: B(`serie_line_${c}`),
|
|
1898
1899
|
style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1899
1900
|
}, [
|
|
1900
|
-
a.useArea && a.plots.length > 1 ? (r(), i("g",
|
|
1901
|
+
a.useArea && a.plots.length > 1 ? (r(), i("g", fl, [
|
|
1901
1902
|
a.smooth ? (r(!0), i(u, { key: 0 }, I(a.curveAreas, (s, h) => (r(), i(u, { key: h }, [
|
|
1902
1903
|
f("path", {
|
|
1903
1904
|
d: s,
|
|
1904
1905
|
fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${l.uniqueId})` : e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)
|
|
1905
|
-
}, null, 8,
|
|
1906
|
+
}, null, 8, Il),
|
|
1906
1907
|
t.$slots.pattern ? (r(), i("path", {
|
|
1907
1908
|
key: 0,
|
|
1908
1909
|
d: s,
|
|
1909
1910
|
fill: `url(#pattern_${l.uniqueId}_${a.slotAbsoluteIndex})`
|
|
1910
|
-
}, null, 8,
|
|
1911
|
+
}, null, 8, Nl)) : d("", !0)
|
|
1911
1912
|
], 64))), 128)) : (r(!0), i(u, { key: 1 }, I(a.area.split(";"), (s, h) => (r(), i(u, { key: h }, [
|
|
1912
1913
|
f("path", {
|
|
1913
1914
|
d: `M${s}Z`,
|
|
1914
1915
|
fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${l.uniqueId})` : e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)
|
|
1915
|
-
}, null, 8,
|
|
1916
|
+
}, null, 8, ml),
|
|
1916
1917
|
t.$slots.pattern ? (r(), i("path", {
|
|
1917
1918
|
key: 0,
|
|
1918
1919
|
d: `M${s}Z`,
|
|
1919
1920
|
fill: `url(#pattern_${l.uniqueId}_${a.slotAbsoluteIndex})`
|
|
1920
|
-
}, null, 8,
|
|
1921
|
+
}, null, 8, xl)) : d("", !0)
|
|
1921
1922
|
], 64))), 128))
|
|
1922
1923
|
])) : d("", !0),
|
|
1923
1924
|
a.smooth && a.plots.length > 1 ? (r(), i("path", {
|
|
@@ -1928,7 +1929,7 @@ function va(t, n, o, g, l, e) {
|
|
|
1928
1929
|
"stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1929
1930
|
fill: "none",
|
|
1930
1931
|
"stroke-linecap": "round"
|
|
1931
|
-
}, null, 8,
|
|
1932
|
+
}, null, 8, bl)) : a.plots.length > 1 ? (r(), i("path", {
|
|
1932
1933
|
key: 2,
|
|
1933
1934
|
d: `M${a.straight}`,
|
|
1934
1935
|
stroke: a.color,
|
|
@@ -1937,11 +1938,11 @@ function va(t, n, o, g, l, e) {
|
|
|
1937
1938
|
fill: "none",
|
|
1938
1939
|
"stroke-linecap": "round",
|
|
1939
1940
|
"stroke-linejoin": "round"
|
|
1940
|
-
}, null, 8,
|
|
1941
|
+
}, null, 8, Fl)) : d("", !0),
|
|
1941
1942
|
(r(!0), i(u, null, I(a.plots, (s, h) => (r(), i(u, {
|
|
1942
1943
|
key: `circle_line_${c}_${h}`
|
|
1943
1944
|
}, [
|
|
1944
|
-
!e.optimize.linePlot && s && e.canShowValue(s.value) || e.optimize.linePlot && s && e.canShowValue(s.value) && (l.selectedSerieIndex !== null && l.selectedSerieIndex === h || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === h) ? (r(),
|
|
1945
|
+
!e.optimize.linePlot && s && e.canShowValue(s.value) || e.optimize.linePlot && s && e.canShowValue(s.value) && (l.selectedSerieIndex !== null && l.selectedSerieIndex === h || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === h) ? (r(), W(G, {
|
|
1945
1946
|
key: 0,
|
|
1946
1947
|
shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
|
|
1947
1948
|
color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${c}_${l.uniqueId})` : e.FINAL_CONFIG.line.dot.useSerieColor ? a.color : e.FINAL_CONFIG.line.dot.fill,
|
|
@@ -1958,14 +1959,14 @@ function va(t, n, o, g, l, e) {
|
|
|
1958
1959
|
x: s.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
|
|
1959
1960
|
y: s.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
|
|
1960
1961
|
}, [
|
|
1961
|
-
f("div",
|
|
1962
|
+
f("div", yl, [
|
|
1962
1963
|
S(t.$slots, "plot-comment", {
|
|
1963
1964
|
plot: { ...s, color: a.color, seriesIndex: c, datapointIndex: h }
|
|
1964
1965
|
}, void 0, !0)
|
|
1965
1966
|
])
|
|
1966
|
-
], 8,
|
|
1967
|
+
], 8, _l)) : d("", !0)
|
|
1967
1968
|
], 64))), 128)),
|
|
1968
|
-
Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g",
|
|
1969
|
+
Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g", Al, [
|
|
1969
1970
|
f("defs", null, [
|
|
1970
1971
|
f("marker", {
|
|
1971
1972
|
id: `line_arrow_${c}`,
|
|
@@ -1978,8 +1979,8 @@ function va(t, n, o, g, l, e) {
|
|
|
1978
1979
|
f("polygon", {
|
|
1979
1980
|
points: `0 0, 7 ${7 / 2}, 0 7`,
|
|
1980
1981
|
fill: a.color
|
|
1981
|
-
}, null, 8,
|
|
1982
|
-
], 8,
|
|
1982
|
+
}, null, 8, Cl)
|
|
1983
|
+
], 8, Ll)
|
|
1983
1984
|
]),
|
|
1984
1985
|
a.plots.length > 1 ? (r(), i("line", {
|
|
1985
1986
|
key: 0,
|
|
@@ -1991,7 +1992,7 @@ function va(t, n, o, g, l, e) {
|
|
|
1991
1992
|
stroke: a.color,
|
|
1992
1993
|
"stroke-dasharray": 2,
|
|
1993
1994
|
"marker-end": `url(#line_arrow_${c})`
|
|
1994
|
-
}, null, 8,
|
|
1995
|
+
}, null, 8, Sl)) : d("", !0),
|
|
1995
1996
|
a.plots.length > 1 ? (r(), i("text", {
|
|
1996
1997
|
key: 1,
|
|
1997
1998
|
"text-anchor": "middle",
|
|
@@ -1999,14 +2000,14 @@ function va(t, n, o, g, l, e) {
|
|
|
1999
2000
|
y: e.calcLinearProgression(a.plots).y2 - 6,
|
|
2000
2001
|
"font-size": l.fontSizes.plotLabels,
|
|
2001
2002
|
fill: a.color
|
|
2002
|
-
},
|
|
2003
|
+
}, T(e.dataLabel({
|
|
2003
2004
|
v: e.calcLinearProgression(a.plots).trend * 100,
|
|
2004
2005
|
s: "%",
|
|
2005
2006
|
r: 2
|
|
2006
|
-
})), 9,
|
|
2007
|
+
})), 9, kl)) : d("", !0)
|
|
2007
2008
|
])) : d("", !0)
|
|
2008
2009
|
], 6))), 128)),
|
|
2009
|
-
(e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && l.mutableConfig.dataLabels.show ? (r(), i("g",
|
|
2010
|
+
(e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && l.mutableConfig.dataLabels.show ? (r(), i("g", wl, [
|
|
2010
2011
|
(r(!0), i(u, null, I(e.barSet, (a, c) => (r(), i(u, {
|
|
2011
2012
|
key: `xLabel_bar_${c}`
|
|
2012
2013
|
}, [
|
|
@@ -2021,7 +2022,7 @@ function va(t, n, o, g, l, e) {
|
|
|
2021
2022
|
"font-size": l.fontSizes.plotLabels,
|
|
2022
2023
|
fill: e.FINAL_CONFIG.bar.labels.color,
|
|
2023
2024
|
style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2024
|
-
},
|
|
2025
|
+
}, T(e.canShowValue(s.value) ? e.applyDataLabel(
|
|
2025
2026
|
e.FINAL_CONFIG.bar.labels.formatter,
|
|
2026
2027
|
s.value,
|
|
2027
2028
|
e.dataLabel({
|
|
@@ -2034,7 +2035,7 @@ function va(t, n, o, g, l, e) {
|
|
|
2034
2035
|
datapoint: s,
|
|
2035
2036
|
serie: a
|
|
2036
2037
|
}
|
|
2037
|
-
) : ""), 13,
|
|
2038
|
+
) : ""), 13, Ol)) : d("", !0),
|
|
2038
2039
|
s && e.FINAL_CONFIG.bar.serieName.show ? (r(), i("text", {
|
|
2039
2040
|
key: 1,
|
|
2040
2041
|
x: l.mutableConfig.useIndividualScale && l.mutableConfig.isStacked ? s.x + e.slot.line / 2 : s.x + e.calcRectWidth() * 1.1,
|
|
@@ -2044,11 +2045,11 @@ function va(t, n, o, g, l, e) {
|
|
|
2044
2045
|
fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? a.color : e.FINAL_CONFIG.bar.serieName.color,
|
|
2045
2046
|
"font-weight": e.FINAL_CONFIG.bar.serieName.bold ? "bold" : "normal",
|
|
2046
2047
|
style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2047
|
-
},
|
|
2048
|
+
}, T(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: a.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : a.name), 13, Gl)) : d("", !0)
|
|
2048
2049
|
], 64))), 128))
|
|
2049
2050
|
], 64))), 128))
|
|
2050
2051
|
])) : d("", !0),
|
|
2051
|
-
e.FINAL_CONFIG.plot.labels.show && l.mutableConfig.dataLabels.show ? (r(), i("g",
|
|
2052
|
+
e.FINAL_CONFIG.plot.labels.show && l.mutableConfig.dataLabels.show ? (r(), i("g", vl, [
|
|
2052
2053
|
(r(!0), i(u, null, I(e.plotSet, (a, c) => (r(), i(u, {
|
|
2053
2054
|
key: `xLabel_plot_${c}`
|
|
2054
2055
|
}, [
|
|
@@ -2063,7 +2064,7 @@ function va(t, n, o, g, l, e) {
|
|
|
2063
2064
|
"font-size": l.fontSizes.plotLabels,
|
|
2064
2065
|
fill: e.FINAL_CONFIG.plot.labels.color,
|
|
2065
2066
|
style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2066
|
-
},
|
|
2067
|
+
}, T(e.canShowValue(s.value) ? e.applyDataLabel(
|
|
2067
2068
|
e.FINAL_CONFIG.plot.labels.formatter,
|
|
2068
2069
|
s.value,
|
|
2069
2070
|
e.dataLabel({
|
|
@@ -2076,10 +2077,10 @@ function va(t, n, o, g, l, e) {
|
|
|
2076
2077
|
datapoint: s,
|
|
2077
2078
|
serie: a
|
|
2078
2079
|
}
|
|
2079
|
-
) : ""), 13,
|
|
2080
|
+
) : ""), 13, pl)) : d("", !0)
|
|
2080
2081
|
], 64))), 128))
|
|
2081
2082
|
], 64))), 128))
|
|
2082
|
-
])) : (r(), i("g",
|
|
2083
|
+
])) : (r(), i("g", zl, [
|
|
2083
2084
|
(r(!0), i(u, null, I(e.plotSet, (a, c) => (r(), i(u, {
|
|
2084
2085
|
key: `xLabel_plot_${c}`
|
|
2085
2086
|
}, [
|
|
@@ -2098,7 +2099,7 @@ function va(t, n, o, g, l, e) {
|
|
|
2098
2099
|
"stroke-linecap": "round",
|
|
2099
2100
|
"stroke-dasharray": "2",
|
|
2100
2101
|
stroke: a.color
|
|
2101
|
-
}, null, 8,
|
|
2102
|
+
}, null, 8, Rl)) : d("", !0)
|
|
2102
2103
|
], 64)) : (r(), i(u, { key: 0 }, [
|
|
2103
2104
|
s && h === 0 && a.useTag && a.useTag === "start" ? (r(), i("foreignObject", {
|
|
2104
2105
|
key: 0,
|
|
@@ -2120,8 +2121,8 @@ function va(t, n, o, g, l, e) {
|
|
|
2120
2121
|
serieName: a.name
|
|
2121
2122
|
}
|
|
2122
2123
|
)
|
|
2123
|
-
}, null, 12,
|
|
2124
|
-
], 12,
|
|
2124
|
+
}, null, 12, Tl)
|
|
2125
|
+
], 12, Ml)) : d("", !0),
|
|
2125
2126
|
s && h === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (r(), i("foreignObject", {
|
|
2126
2127
|
key: 1,
|
|
2127
2128
|
x: s.x - a.name.length * (l.fontSizes.plotLabels / 2),
|
|
@@ -2142,13 +2143,13 @@ function va(t, n, o, g, l, e) {
|
|
|
2142
2143
|
serieName: a.name
|
|
2143
2144
|
}
|
|
2144
2145
|
)
|
|
2145
|
-
}, null, 12,
|
|
2146
|
-
], 12,
|
|
2146
|
+
}, null, 12, Vl)
|
|
2147
|
+
], 12, Pl)) : d("", !0)
|
|
2147
2148
|
], 64))
|
|
2148
2149
|
], 64))), 128))
|
|
2149
2150
|
], 64))), 128))
|
|
2150
2151
|
])),
|
|
2151
|
-
e.FINAL_CONFIG.line.labels.show && l.mutableConfig.dataLabels.show ? (r(), i("g",
|
|
2152
|
+
e.FINAL_CONFIG.line.labels.show && l.mutableConfig.dataLabels.show ? (r(), i("g", Hl, [
|
|
2152
2153
|
(r(!0), i(u, null, I(e.lineSet, (a, c) => (r(), i(u, {
|
|
2153
2154
|
key: `xLabel_line_${c}`
|
|
2154
2155
|
}, [
|
|
@@ -2163,7 +2164,7 @@ function va(t, n, o, g, l, e) {
|
|
|
2163
2164
|
"font-size": l.fontSizes.plotLabels,
|
|
2164
2165
|
fill: e.FINAL_CONFIG.line.labels.color,
|
|
2165
2166
|
style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2166
|
-
},
|
|
2167
|
+
}, T(e.canShowValue(s.value) ? e.applyDataLabel(
|
|
2167
2168
|
e.FINAL_CONFIG.line.labels.formatter,
|
|
2168
2169
|
s.value,
|
|
2169
2170
|
e.dataLabel({
|
|
@@ -2176,10 +2177,10 @@ function va(t, n, o, g, l, e) {
|
|
|
2176
2177
|
datapoint: s,
|
|
2177
2178
|
serie: a
|
|
2178
2179
|
}
|
|
2179
|
-
) : ""), 13,
|
|
2180
|
+
) : ""), 13, Dl)) : d("", !0)
|
|
2180
2181
|
], 64))), 128))
|
|
2181
2182
|
], 64))), 128))
|
|
2182
|
-
])) : (r(), i("g",
|
|
2183
|
+
])) : (r(), i("g", Wl, [
|
|
2183
2184
|
(r(!0), i(u, null, I(e.lineSet, (a, c) => (r(), i(u, {
|
|
2184
2185
|
key: `xLabel_line_${c}`
|
|
2185
2186
|
}, [
|
|
@@ -2198,7 +2199,7 @@ function va(t, n, o, g, l, e) {
|
|
|
2198
2199
|
"stroke-linecap": "round",
|
|
2199
2200
|
"stroke-dasharray": "2",
|
|
2200
2201
|
stroke: a.color
|
|
2201
|
-
}, null, 8,
|
|
2202
|
+
}, null, 8, Xl)) : d("", !0)
|
|
2202
2203
|
], 64)) : (r(), i(u, { key: 0 }, [
|
|
2203
2204
|
s && h === 0 && a.useTag && a.useTag === "start" ? (r(), i("foreignObject", {
|
|
2204
2205
|
key: 0,
|
|
@@ -2220,8 +2221,8 @@ function va(t, n, o, g, l, e) {
|
|
|
2220
2221
|
serieName: a.name
|
|
2221
2222
|
}
|
|
2222
2223
|
)
|
|
2223
|
-
}, null, 12,
|
|
2224
|
-
], 12,
|
|
2224
|
+
}, null, 12, El)
|
|
2225
|
+
], 12, Bl)) : d("", !0),
|
|
2225
2226
|
s && h === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (r(), i("foreignObject", {
|
|
2226
2227
|
key: 1,
|
|
2227
2228
|
x: s.x,
|
|
@@ -2242,8 +2243,8 @@ function va(t, n, o, g, l, e) {
|
|
|
2242
2243
|
serieName: a.name
|
|
2243
2244
|
}
|
|
2244
2245
|
)
|
|
2245
|
-
}, null, 12,
|
|
2246
|
-
], 12,
|
|
2246
|
+
}, null, 12, ql)
|
|
2247
|
+
], 12, Yl)) : d("", !0)
|
|
2247
2248
|
], 64))
|
|
2248
2249
|
], 64))), 128))
|
|
2249
2250
|
], 64))), 128))
|
|
@@ -2270,7 +2271,7 @@ function va(t, n, o, g, l, e) {
|
|
|
2270
2271
|
maxWords: 2
|
|
2271
2272
|
}),
|
|
2272
2273
|
style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2273
|
-
}, null, 12,
|
|
2274
|
+
}, null, 12, Ul)) : d("", !0),
|
|
2274
2275
|
s && h === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (r(), i("text", {
|
|
2275
2276
|
key: 1,
|
|
2276
2277
|
x: s.x + l.fontSizes.plotLabels,
|
|
@@ -2287,7 +2288,7 @@ function va(t, n, o, g, l, e) {
|
|
|
2287
2288
|
maxWords: 2
|
|
2288
2289
|
}),
|
|
2289
2290
|
style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2290
|
-
}, null, 12,
|
|
2291
|
+
}, null, 12, Zl)) : d("", !0)
|
|
2291
2292
|
], 64))), 128))
|
|
2292
2293
|
], 64))), 128)),
|
|
2293
2294
|
(r(!0), i(u, null, I(e.plotSet, (a, c) => (r(), i(u, {
|
|
@@ -2312,7 +2313,7 @@ function va(t, n, o, g, l, e) {
|
|
|
2312
2313
|
maxWords: 2
|
|
2313
2314
|
}),
|
|
2314
2315
|
style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2315
|
-
}, null, 12,
|
|
2316
|
+
}, null, 12, Jl)) : d("", !0),
|
|
2316
2317
|
s && h === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (r(), i("text", {
|
|
2317
2318
|
key: 1,
|
|
2318
2319
|
x: s.x + l.fontSizes.plotLabels,
|
|
@@ -2329,7 +2330,7 @@ function va(t, n, o, g, l, e) {
|
|
|
2329
2330
|
maxWords: 2
|
|
2330
2331
|
}),
|
|
2331
2332
|
style: b(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2332
|
-
}, null, 12,
|
|
2333
|
+
}, null, 12, Ql)) : d("", !0)
|
|
2333
2334
|
], 64))), 128))
|
|
2334
2335
|
], 64))), 128)),
|
|
2335
2336
|
l.mutableConfig.useIndividualScale && !l.mutableConfig.isStacked ? (r(), i(u, { key: 11 }, [
|
|
@@ -2345,13 +2346,13 @@ function va(t, n, o, g, l, e) {
|
|
|
2345
2346
|
offset: "0%",
|
|
2346
2347
|
"stop-color": e.FINAL_CONFIG.chart.backgroundColor,
|
|
2347
2348
|
"stop-opacity": "0"
|
|
2348
|
-
}, null, 8,
|
|
2349
|
+
}, null, 8, jl),
|
|
2349
2350
|
f("stop", {
|
|
2350
2351
|
offset: "100%",
|
|
2351
2352
|
"stop-color": a.color,
|
|
2352
2353
|
"stop-opacity": "0.2"
|
|
2353
|
-
}, null, 8,
|
|
2354
|
-
], 8,
|
|
2354
|
+
}, null, 8, $l)
|
|
2355
|
+
], 8, Kl))), 256))
|
|
2355
2356
|
]),
|
|
2356
2357
|
(r(!0), i(u, null, I(e.allScales, (a, c) => (r(), i("rect", {
|
|
2357
2358
|
x: a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + e.xPadding,
|
|
@@ -2361,7 +2362,7 @@ function va(t, n, o, g, l, e) {
|
|
|
2361
2362
|
fill: l.selectedScale === a.groupId ? `url(#individual_scale_gradient_${l.uniqueId}_${c})` : "transparent",
|
|
2362
2363
|
onMouseenter: (s) => l.selectedScale = a.groupId,
|
|
2363
2364
|
onMouseleave: n[0] || (n[0] = (s) => l.selectedScale = null)
|
|
2364
|
-
}, null, 40,
|
|
2365
|
+
}, null, 40, ea))), 256))
|
|
2365
2366
|
], 64)) : d("", !0),
|
|
2366
2367
|
f("g", null, [
|
|
2367
2368
|
e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !l.mutableConfig.useIndividualScale ? (r(), i("text", {
|
|
@@ -2371,7 +2372,7 @@ function va(t, n, o, g, l, e) {
|
|
|
2371
2372
|
transform: `translate(${l.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
|
|
2372
2373
|
"text-anchor": "middle",
|
|
2373
2374
|
style: { transition: "none" }
|
|
2374
|
-
},
|
|
2375
|
+
}, T(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, ta)) : d("", !0),
|
|
2375
2376
|
e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (r(), i("text", {
|
|
2376
2377
|
key: 1,
|
|
2377
2378
|
"text-anchor": "middle",
|
|
@@ -2379,11 +2380,11 @@ function va(t, n, o, g, l, e) {
|
|
|
2379
2380
|
y: e.drawingArea.bottom + l.fontSizes.yAxis + l.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
|
|
2380
2381
|
"font-size": l.fontSizes.yAxis,
|
|
2381
2382
|
fill: e.FINAL_CONFIG.chart.grid.labels.color
|
|
2382
|
-
},
|
|
2383
|
+
}, T(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, la)) : d("", !0)
|
|
2383
2384
|
]),
|
|
2384
|
-
n[9] || (n[9] =
|
|
2385
|
-
e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (r(), i("g",
|
|
2386
|
-
t.$slots["time-label"] ? (r(!0), i(u, { key: 0 }, I(e.timeLabels, (a, c) => S(t.$slots, "time-label",
|
|
2385
|
+
n[9] || (n[9] = j('v-for="(label, i) in timeLabels" :key="`time_label_${i}`" ')),
|
|
2386
|
+
e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (r(), i("g", aa, [
|
|
2387
|
+
t.$slots["time-label"] ? (r(!0), i(u, { key: 0 }, I(e.timeLabels, (a, c) => S(t.$slots, "time-label", $({
|
|
2387
2388
|
key: `time_label_${c}`,
|
|
2388
2389
|
ref_for: !0
|
|
2389
2390
|
}, {
|
|
@@ -2409,7 +2410,7 @@ function va(t, n, o, g, l, e) {
|
|
|
2409
2410
|
cursor: "pointer"
|
|
2410
2411
|
},
|
|
2411
2412
|
onClick: () => e.selectTimeLabel(a, c)
|
|
2412
|
-
},
|
|
2413
|
+
}, T(a.text || ""), 9, ra)) : d("", !0)
|
|
2413
2414
|
]))), 128))
|
|
2414
2415
|
])) : d("", !0),
|
|
2415
2416
|
f("g", null, [
|
|
@@ -2423,9 +2424,9 @@ function va(t, n, o, g, l, e) {
|
|
|
2423
2424
|
onMouseenter: (s) => e.toggleTooltipVisibility(!0, c),
|
|
2424
2425
|
onMouseleave: n[1] || (n[1] = (s) => e.toggleTooltipVisibility(!1)),
|
|
2425
2426
|
onClick: (s) => e.selectX(c)
|
|
2426
|
-
}, null, 40,
|
|
2427
|
+
}, null, 40, ia))), 128))
|
|
2427
2428
|
]),
|
|
2428
|
-
e.FINAL_CONFIG.chart.timeTag.show && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (r(), i("g",
|
|
2429
|
+
e.FINAL_CONFIG.chart.timeTag.show && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (r(), i("g", sa, [
|
|
2429
2430
|
(r(), i("foreignObject", {
|
|
2430
2431
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)) - 100 + e.drawingArea.width / e.maxSeries / 2,
|
|
2431
2432
|
y: e.drawingArea.bottom,
|
|
@@ -2436,20 +2437,20 @@ function va(t, n, o, g, l, e) {
|
|
|
2436
2437
|
f("div", {
|
|
2437
2438
|
class: "vue-ui-xy-time-tag",
|
|
2438
2439
|
style: b(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${e.FINAL_CONFIG.chart.timeTag.backgroundColor};color:${e.FINAL_CONFIG.chart.timeTag.color};font-size:${e.FINAL_CONFIG.chart.timeTag.fontSize}px`)
|
|
2439
|
-
},
|
|
2440
|
-
], 8,
|
|
2440
|
+
}, T(e.timeLabels[(l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)].text || (l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)), 5)
|
|
2441
|
+
], 8, na)),
|
|
2441
2442
|
f("circle", {
|
|
2442
2443
|
cx: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)) + e.drawingArea.width / e.maxSeries / 2,
|
|
2443
2444
|
cy: e.drawingArea.bottom,
|
|
2444
2445
|
r: e.FINAL_CONFIG.chart.timeTag.circleMarker.radius,
|
|
2445
2446
|
fill: e.FINAL_CONFIG.chart.timeTag.circleMarker.color
|
|
2446
|
-
}, null, 8,
|
|
2447
|
+
}, null, 8, ca)
|
|
2447
2448
|
])) : d("", !0)
|
|
2448
2449
|
])) : d("", !0),
|
|
2449
2450
|
S(t.$slots, "svg", { svg: e.svg }, void 0, !0)
|
|
2450
|
-
], 14,
|
|
2451
|
-
t.$slots.watermark ? (r(), i("div",
|
|
2452
|
-
S(t.$slots, "watermark",
|
|
2451
|
+
], 14, nt)) : d("", !0),
|
|
2452
|
+
t.$slots.watermark ? (r(), i("div", oa, [
|
|
2453
|
+
S(t.$slots, "watermark", E(Y({ isPrinting: l.isPrinting || l.isImaging })), void 0, !0)
|
|
2453
2454
|
])) : d("", !0),
|
|
2454
2455
|
(r(!0), i(u, null, I(e.lineSet, (a, c) => (r(), i(u, {
|
|
2455
2456
|
key: `tag_line_${c}`
|
|
@@ -2488,12 +2489,12 @@ function va(t, n, o, g, l, e) {
|
|
|
2488
2489
|
opacity: 1
|
|
2489
2490
|
})
|
|
2490
2491
|
}, [
|
|
2491
|
-
(r(), i("svg",
|
|
2492
|
+
(r(), i("svg", ha, [
|
|
2492
2493
|
f("path", {
|
|
2493
2494
|
d: "M 0,10 10,0 10,20 Z",
|
|
2494
2495
|
fill: a.color,
|
|
2495
2496
|
stroke: "none"
|
|
2496
|
-
}, null, 8,
|
|
2497
|
+
}, null, 8, ua)
|
|
2497
2498
|
])),
|
|
2498
2499
|
f("div", {
|
|
2499
2500
|
class: "vue-ui-xy-tag-content",
|
|
@@ -2507,7 +2508,7 @@ function va(t, n, o, g, l, e) {
|
|
|
2507
2508
|
serieName: a.name
|
|
2508
2509
|
}
|
|
2509
2510
|
)
|
|
2510
|
-
}, null, 8,
|
|
2511
|
+
}, null, 8, da)
|
|
2511
2512
|
], 4)) : d("", !0),
|
|
2512
2513
|
[l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(h) && a.useTag && a.useTag === "start" && e.FINAL_CONFIG.line.tag.followValue ? (r(), i("div", {
|
|
2513
2514
|
key: 1,
|
|
@@ -2540,12 +2541,12 @@ function va(t, n, o, g, l, e) {
|
|
|
2540
2541
|
opacity: 1
|
|
2541
2542
|
})
|
|
2542
2543
|
}, [
|
|
2543
|
-
(r(), i("svg",
|
|
2544
|
+
(r(), i("svg", ga, [
|
|
2544
2545
|
f("path", {
|
|
2545
2546
|
d: "M 0,0 10,10 0,20 Z",
|
|
2546
2547
|
fill: a.color,
|
|
2547
2548
|
stroke: "none"
|
|
2548
|
-
}, null, 8,
|
|
2549
|
+
}, null, 8, fa)
|
|
2549
2550
|
])),
|
|
2550
2551
|
f("div", {
|
|
2551
2552
|
class: "vue-ui-xy-tag-content",
|
|
@@ -2559,7 +2560,7 @@ function va(t, n, o, g, l, e) {
|
|
|
2559
2560
|
serieName: a.name
|
|
2560
2561
|
}
|
|
2561
2562
|
)
|
|
2562
|
-
}, null, 8,
|
|
2563
|
+
}, null, 8, Ia)
|
|
2563
2564
|
], 4)) : d("", !0)
|
|
2564
2565
|
], 64))), 128))
|
|
2565
2566
|
], 64))), 128)),
|
|
@@ -2600,12 +2601,12 @@ function va(t, n, o, g, l, e) {
|
|
|
2600
2601
|
opacity: 1
|
|
2601
2602
|
})
|
|
2602
2603
|
}, [
|
|
2603
|
-
(r(), i("svg",
|
|
2604
|
+
(r(), i("svg", Na, [
|
|
2604
2605
|
f("path", {
|
|
2605
2606
|
d: "M 0,10 10,0 10,20 Z",
|
|
2606
2607
|
fill: a.color,
|
|
2607
2608
|
stroke: "none"
|
|
2608
|
-
}, null, 8,
|
|
2609
|
+
}, null, 8, ma)
|
|
2609
2610
|
])),
|
|
2610
2611
|
f("div", {
|
|
2611
2612
|
class: "vue-ui-xy-tag-content",
|
|
@@ -2619,7 +2620,7 @@ function va(t, n, o, g, l, e) {
|
|
|
2619
2620
|
serieName: a.name
|
|
2620
2621
|
}
|
|
2621
2622
|
)
|
|
2622
|
-
}, null, 8,
|
|
2623
|
+
}, null, 8, xa)
|
|
2623
2624
|
], 4)) : d("", !0),
|
|
2624
2625
|
[l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(h) && a.useTag && a.useTag === "start" && e.FINAL_CONFIG.plot.tag.followValue ? (r(), i("div", {
|
|
2625
2626
|
key: 1,
|
|
@@ -2652,12 +2653,12 @@ function va(t, n, o, g, l, e) {
|
|
|
2652
2653
|
opacity: 1
|
|
2653
2654
|
})
|
|
2654
2655
|
}, [
|
|
2655
|
-
(r(), i("svg",
|
|
2656
|
+
(r(), i("svg", ba, [
|
|
2656
2657
|
f("path", {
|
|
2657
2658
|
d: "M 0,0 10,10 0,20 Z",
|
|
2658
2659
|
fill: a.color,
|
|
2659
2660
|
stroke: "none"
|
|
2660
|
-
}, null, 8,
|
|
2661
|
+
}, null, 8, Fa)
|
|
2661
2662
|
])),
|
|
2662
2663
|
f("div", {
|
|
2663
2664
|
class: "vue-ui-xy-tag-content",
|
|
@@ -2671,11 +2672,11 @@ function va(t, n, o, g, l, e) {
|
|
|
2671
2672
|
serieName: a.name
|
|
2672
2673
|
}
|
|
2673
2674
|
)
|
|
2674
|
-
}, null, 8,
|
|
2675
|
+
}, null, 8, _a)
|
|
2675
2676
|
], 4)) : d("", !0)
|
|
2676
2677
|
], 64))), 128))
|
|
2677
2678
|
], 64))), 128)),
|
|
2678
|
-
e.isDataset ? d("", !0) : (r(),
|
|
2679
|
+
e.isDataset ? d("", !0) : (r(), W(k, {
|
|
2679
2680
|
key: 6,
|
|
2680
2681
|
config: {
|
|
2681
2682
|
type: "line",
|
|
@@ -2693,7 +2694,7 @@ function va(t, n, o, g, l, e) {
|
|
|
2693
2694
|
}
|
|
2694
2695
|
}
|
|
2695
2696
|
}, null, 8, ["config"])),
|
|
2696
|
-
e.FINAL_CONFIG.chart.zoom.show && l.maxX > 6 && e.isDataset ? (r(),
|
|
2697
|
+
e.FINAL_CONFIG.chart.zoom.show && l.maxX > 6 && e.isDataset ? (r(), W(v, {
|
|
2697
2698
|
ref: "chartSlicer",
|
|
2698
2699
|
key: `slicer_${l.slicerStep}`,
|
|
2699
2700
|
background: e.FINAL_CONFIG.chart.zoom.color,
|
|
@@ -2730,7 +2731,7 @@ function va(t, n, o, g, l, e) {
|
|
|
2730
2731
|
onTrapMouse: e.selectMinimapIndex
|
|
2731
2732
|
}, {
|
|
2732
2733
|
"reset-action": V(({ reset: a }) => [
|
|
2733
|
-
S(t.$slots, "reset-action",
|
|
2734
|
+
S(t.$slots, "reset-action", E(Y({ reset: a })), void 0, !0)
|
|
2734
2735
|
]),
|
|
2735
2736
|
_: 3
|
|
2736
2737
|
}, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "verticalHandles", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "onReset", "onTrapMouse"])) : d("", !0),
|
|
@@ -2743,9 +2744,9 @@ function va(t, n, o, g, l, e) {
|
|
|
2743
2744
|
(r(!0), i(u, null, I(e.absoluteDataset, (a, c) => (r(), i("div", {
|
|
2744
2745
|
key: `div_legend_item_${c}`,
|
|
2745
2746
|
onClick: (s) => e.segregate(a),
|
|
2746
|
-
class:
|
|
2747
|
+
class: B({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": l.segregatedSeries.includes(a.id) })
|
|
2747
2748
|
}, [
|
|
2748
|
-
l.icons[a.type] === "line" ? (r(), i("svg",
|
|
2749
|
+
l.icons[a.type] === "line" ? (r(), i("svg", Aa, [
|
|
2749
2750
|
f("rect", {
|
|
2750
2751
|
x: "0",
|
|
2751
2752
|
y: "7.5",
|
|
@@ -2755,8 +2756,8 @@ function va(t, n, o, g, l, e) {
|
|
|
2755
2756
|
height: "3",
|
|
2756
2757
|
width: "20",
|
|
2757
2758
|
fill: a.color
|
|
2758
|
-
}, null, 8,
|
|
2759
|
-
|
|
2759
|
+
}, null, 8, La),
|
|
2760
|
+
X(G, {
|
|
2760
2761
|
plot: { x: 10, y: 9 },
|
|
2761
2762
|
radius: 4,
|
|
2762
2763
|
color: a.color,
|
|
@@ -2764,7 +2765,7 @@ function va(t, n, o, g, l, e) {
|
|
|
2764
2765
|
stroke: e.FINAL_CONFIG.chart.backgroundColor,
|
|
2765
2766
|
strokeWidth: 0.5
|
|
2766
2767
|
}, null, 8, ["color", "shape", "stroke"])
|
|
2767
|
-
])) : l.icons[a.type] === "bar" ? (r(), i("svg",
|
|
2768
|
+
])) : l.icons[a.type] === "bar" ? (r(), i("svg", Ca, [
|
|
2768
2769
|
l.icons[a.type] === "bar" && t.$slots.pattern ? (r(), i("rect", {
|
|
2769
2770
|
key: 0,
|
|
2770
2771
|
x: "0",
|
|
@@ -2774,7 +2775,7 @@ function va(t, n, o, g, l, e) {
|
|
|
2774
2775
|
width: "40",
|
|
2775
2776
|
stroke: "none",
|
|
2776
2777
|
fill: a.color
|
|
2777
|
-
}, null, 8,
|
|
2778
|
+
}, null, 8, Sa)) : d("", !0),
|
|
2778
2779
|
l.icons[a.type] === "bar" ? (r(), i("rect", {
|
|
2779
2780
|
key: 1,
|
|
2780
2781
|
x: "0",
|
|
@@ -2784,9 +2785,9 @@ function va(t, n, o, g, l, e) {
|
|
|
2784
2785
|
width: "40",
|
|
2785
2786
|
stroke: "none",
|
|
2786
2787
|
fill: t.$slots.pattern ? `url(#pattern_${l.uniqueId}_${a.slotAbsoluteIndex})` : a.color
|
|
2787
|
-
}, null, 8,
|
|
2788
|
-
])) : (r(), i("svg",
|
|
2789
|
-
|
|
2788
|
+
}, null, 8, ka)) : d("", !0)
|
|
2789
|
+
])) : (r(), i("svg", wa, [
|
|
2790
|
+
X(G, {
|
|
2790
2791
|
plot: { x: 6, y: 6 },
|
|
2791
2792
|
radius: 5,
|
|
2792
2793
|
color: a.color,
|
|
@@ -2795,15 +2796,15 @@ function va(t, n, o, g, l, e) {
|
|
|
2795
2796
|
])),
|
|
2796
2797
|
f("span", {
|
|
2797
2798
|
style: b(`color:${e.FINAL_CONFIG.chart.legend.color}`)
|
|
2798
|
-
},
|
|
2799
|
-
], 10,
|
|
2800
|
-
], 4)) : (r(), i("div",
|
|
2799
|
+
}, T(a.name), 5)
|
|
2800
|
+
], 10, ya))), 128))
|
|
2801
|
+
], 4)) : (r(), i("div", Oa, [
|
|
2801
2802
|
S(t.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
|
|
2802
2803
|
], 512)),
|
|
2803
|
-
t.$slots.source ? (r(), i("div",
|
|
2804
|
+
t.$slots.source ? (r(), i("div", Ga, [
|
|
2804
2805
|
S(t.$slots, "source", {}, void 0, !0)
|
|
2805
2806
|
], 512)) : d("", !0),
|
|
2806
|
-
|
|
2807
|
+
X(w, {
|
|
2807
2808
|
show: l.mutableConfig.showTooltip && l.isTooltip,
|
|
2808
2809
|
backgroundColor: e.FINAL_CONFIG.chart.tooltip.backgroundColor,
|
|
2809
2810
|
color: e.FINAL_CONFIG.chart.tooltip.color,
|
|
@@ -2820,14 +2821,14 @@ function va(t, n, o, g, l, e) {
|
|
|
2820
2821
|
isCustom: e.FINAL_CONFIG.chart.tooltip.customFormat && typeof e.FINAL_CONFIG.chart.tooltip.customFormat == "function"
|
|
2821
2822
|
}, {
|
|
2822
2823
|
"tooltip-before": V(() => [
|
|
2823
|
-
S(t.$slots, "tooltip-before",
|
|
2824
|
+
S(t.$slots, "tooltip-before", E(Y({ ...e.dataTooltipSlot })), void 0, !0)
|
|
2824
2825
|
]),
|
|
2825
2826
|
"tooltip-after": V(() => [
|
|
2826
|
-
S(t.$slots, "tooltip-after",
|
|
2827
|
+
S(t.$slots, "tooltip-after", E(Y({ ...e.dataTooltipSlot })), void 0, !0)
|
|
2827
2828
|
]),
|
|
2828
2829
|
_: 3
|
|
2829
2830
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
2830
|
-
e.isDataset ? (r(),
|
|
2831
|
+
e.isDataset ? (r(), W(p, {
|
|
2831
2832
|
key: 11,
|
|
2832
2833
|
hideDetails: "",
|
|
2833
2834
|
config: {
|
|
@@ -2847,29 +2848,29 @@ function va(t, n, o, g, l, e) {
|
|
|
2847
2848
|
f("div", {
|
|
2848
2849
|
style: b(`${l.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
|
|
2849
2850
|
}, [
|
|
2850
|
-
f("div",
|
|
2851
|
-
|
|
2851
|
+
f("div", va, [
|
|
2852
|
+
et(f("input", {
|
|
2852
2853
|
type: "checkbox",
|
|
2853
2854
|
"onUpdate:modelValue": n[4] || (n[4] = (a) => l.showSparklineTable = a)
|
|
2854
2855
|
}, null, 512), [
|
|
2855
|
-
[
|
|
2856
|
+
[tt, l.showSparklineTable]
|
|
2856
2857
|
]),
|
|
2857
2858
|
f("div", {
|
|
2858
2859
|
onClick: n[5] || (n[5] = (a) => l.showSparklineTable = !l.showSparklineTable),
|
|
2859
2860
|
style: { cursor: "pointer" }
|
|
2860
2861
|
}, [
|
|
2861
|
-
|
|
2862
|
+
X(F, {
|
|
2862
2863
|
name: "chartLine",
|
|
2863
2864
|
size: 20,
|
|
2864
2865
|
stroke: e.FINAL_CONFIG.chart.color
|
|
2865
2866
|
}, null, 8, ["stroke"])
|
|
2866
2867
|
])
|
|
2867
2868
|
]),
|
|
2868
|
-
l.showSparklineTable ? (r(),
|
|
2869
|
+
l.showSparklineTable ? (r(), W(C, {
|
|
2869
2870
|
key: `sparkline_${l.segregateStep}`,
|
|
2870
2871
|
dataset: e.tableSparklineDataset,
|
|
2871
2872
|
config: e.tableSparklineConfig
|
|
2872
|
-
}, null, 8, ["dataset", "config"])) : (r(),
|
|
2873
|
+
}, null, 8, ["dataset", "config"])) : (r(), W(O, {
|
|
2873
2874
|
key: `table_${l.tableStep}`,
|
|
2874
2875
|
colNames: e.dataTable.colNames,
|
|
2875
2876
|
head: e.dataTable.head,
|
|
@@ -2879,10 +2880,10 @@ function va(t, n, o, g, l, e) {
|
|
|
2879
2880
|
onClose: n[6] || (n[6] = (a) => l.mutableConfig.showTable = !1)
|
|
2880
2881
|
}, {
|
|
2881
2882
|
th: V(({ th: a }) => [
|
|
2882
|
-
f("div", { innerHTML: a }, null, 8,
|
|
2883
|
+
f("div", { innerHTML: a }, null, 8, pa)
|
|
2883
2884
|
]),
|
|
2884
2885
|
td: V(({ td: a }) => [
|
|
2885
|
-
|
|
2886
|
+
j(T(isNaN(Number(a)) ? a : e.dataLabel({
|
|
2886
2887
|
p: e.FINAL_CONFIG.chart.labels.prefix,
|
|
2887
2888
|
v: a,
|
|
2888
2889
|
s: e.FINAL_CONFIG.chart.labels.suffix,
|
|
@@ -2895,9 +2896,9 @@ function va(t, n, o, g, l, e) {
|
|
|
2895
2896
|
]),
|
|
2896
2897
|
_: 1
|
|
2897
2898
|
}, 8, ["config"])) : d("", !0)
|
|
2898
|
-
], 46,
|
|
2899
|
+
], 46, it);
|
|
2899
2900
|
}
|
|
2900
|
-
const
|
|
2901
|
+
const Qa = /* @__PURE__ */ lt(rt, [["render", za], ["__scopeId", "data-v-66de1da2"]]);
|
|
2901
2902
|
export {
|
|
2902
|
-
|
|
2903
|
+
Qa as default
|
|
2903
2904
|
};
|