vue-data-ui 2.3.85 → 2.3.86
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-JwDgP3de.js → Arrow-CJ7hmWgf.js} +1 -1
- package/dist/{Arrow-CLOh6oi7.cjs → Arrow-CebZn6E4.cjs} +1 -1
- package/dist/{BaseIcon-BysUnfCR.js → BaseIcon-B9istAKo.js} +1 -1
- package/dist/{BaseIcon-BBQHz_Sf.cjs → BaseIcon-DnG75_Ol.cjs} +1 -1
- package/dist/{DataTable-pVXaNplZ.cjs → DataTable-BA_BCbHC.cjs} +1 -1
- package/dist/{DataTable-MkG5Dqrn.js → DataTable-tSDSY14n.js} +2 -2
- package/dist/{Legend-k2mcTp7z.cjs → Legend-BOY57qwA.cjs} +1 -1
- package/dist/{Legend-KW7sTwN3.js → Legend-D3hovFqM.js} +1 -1
- package/dist/{Shape-COoEWeGM.cjs → Shape-D6jrLLku.cjs} +1 -1
- package/dist/{Shape-BFiZBf3X.js → Shape-XiTBfhJM.js} +1 -1
- package/dist/{Slicer-CALc-Q4W.js → Slicer-BMvzmCKt.js} +2 -2
- package/dist/{Slicer-DCyxUSsn.cjs → Slicer-sZ-DArc4.cjs} +1 -1
- package/dist/{Title-BaKZYHEx.cjs → Title-Ahj4TYHa.cjs} +1 -1
- package/dist/{Title-ISDbzCH8.js → Title-DJ2FNrSN.js} +1 -1
- package/dist/{Tooltip-BHmMXOej.js → Tooltip-CQpXRqRC.js} +1 -1
- package/dist/{Tooltip-okAYzo5Y.cjs → Tooltip-XhevgJmm.cjs} +1 -1
- package/dist/index-CVgBMJU6.cjs +4 -0
- package/dist/{index-BiuHBtkZ.js → index-D2epy0rJ.js} +4 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +3 -0
- package/dist/types/vue-data-ui.d.ts +3 -0
- package/dist/{useNestedProp-B9yDavuy.cjs → useNestedProp-B-NmF2LO.cjs} +1 -1
- package/dist/{useNestedProp-Ck5_RzLu.js → useNestedProp-C_ZrJBd9.js} +1 -1
- package/dist/usePrinter-B6qtXaHk.js +527 -0
- package/dist/usePrinter-DN-6Hoh5.cjs +1 -0
- package/dist/{vue-data-ui-CVYCyzY-.cjs → vue-data-ui-DlNasA0G.cjs} +1 -1
- package/dist/{vue-data-ui-CAl2KJv9.js → vue-data-ui-vegY0BJm.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-CqRRjlUU.cjs +19 -0
- package/dist/{vue-ui-3d-bar-CploAEkY.js → vue-ui-3d-bar-D-0SSMOt.js} +11 -10
- package/dist/{vue-ui-accordion-btKAUUTu.cjs → vue-ui-accordion-BaV9R6cy.cjs} +1 -1
- package/dist/{vue-ui-accordion-D2fhyKpk.js → vue-ui-accordion-DzTB2FL0.js} +3 -3
- package/dist/vue-ui-age-pyramid-Bx4BuL3K.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-DkaM5MrK.js → vue-ui-age-pyramid-_eo2DGen.js} +25 -24
- package/dist/{vue-ui-annotator-38FBI0Pn.js → vue-ui-annotator-8j2dJ0CU.js} +1 -1
- package/dist/{vue-ui-annotator-BMYk78DR.cjs → vue-ui-annotator-CDZtr6tp.cjs} +1 -1
- package/dist/{vue-ui-candlestick-CKsjq0Uw.js → vue-ui-candlestick-CsF7OSvJ.js} +12 -11
- package/dist/vue-ui-candlestick-NypxP0Uu.cjs +2 -0
- package/dist/{vue-ui-carousel-table-DjGaEuM7.js → vue-ui-carousel-table-CMHd2i-6.js} +7 -7
- package/dist/{vue-ui-carousel-table-Cx72LlTd.cjs → vue-ui-carousel-table-CV0eVeRd.cjs} +1 -1
- package/dist/{vue-ui-chestnut-DAiBfoPN.cjs → vue-ui-chestnut-B9miwyAN.cjs} +2 -2
- package/dist/{vue-ui-chestnut-TLyh4dIZ.js → vue-ui-chestnut-CVftKftk.js} +10 -9
- package/dist/{vue-ui-cursor-BunDuWpK.cjs → vue-ui-cursor-Bsrt107X.cjs} +1 -1
- package/dist/{vue-ui-cursor-B1xa5yua.js → vue-ui-cursor-wujy8n_T.js} +2 -2
- package/dist/{vue-ui-dashboard-CMZ736DL.cjs → vue-ui-dashboard-BCN0BhjL.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DdcubzWu.js → vue-ui-dashboard-Cvy0gI52.js} +2 -2
- package/dist/{vue-ui-digits-z5g__gqs.cjs → vue-ui-digits-CnHgzHPI.cjs} +1 -1
- package/dist/{vue-ui-digits-BUpjWWnD.js → vue-ui-digits-J-WrKKHg.js} +2 -2
- package/dist/{vue-ui-donut-ZLpfm-XT.js → vue-ui-donut-BOhWcHY_.js} +34 -33
- package/dist/vue-ui-donut-CZ1iKZq6.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Bn4asQO3.js → vue-ui-donut-evolution-CSSYuoti.js} +12 -11
- package/dist/vue-ui-donut-evolution-DuY2883r.cjs +1 -0
- package/dist/{vue-ui-dumbbell-D2R9tJ99.js → vue-ui-dumbbell-Cm0Rp_6W.js} +11 -10
- package/dist/{vue-ui-dumbbell-CY6X8J1K.cjs → vue-ui-dumbbell-i9QcsSVO.cjs} +2 -2
- package/dist/{vue-ui-flow-Dd5uPNTQ.js → vue-ui-flow-0m7a1NP7.js} +10 -9
- package/dist/vue-ui-flow-DXCBGdQT.cjs +1 -0
- package/dist/vue-ui-galaxy-D6GyjAnX.cjs +1 -0
- package/dist/{vue-ui-galaxy-B7CoWLhj.js → vue-ui-galaxy-DCHEdZAl.js} +12 -11
- package/dist/{vue-ui-gauge-CGh_m922.js → vue-ui-gauge-HcM2JJpg.js} +29 -28
- package/dist/vue-ui-gauge-wbHQGQro.cjs +1 -0
- package/dist/{vue-ui-gizmo-D5Kn7w7L.cjs → vue-ui-gizmo-B-zMyi1m.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BY3hnKSH.js → vue-ui-gizmo-Bfo_nUnZ.js} +2 -2
- package/dist/{vue-ui-heatmap-yYN0u0I6.js → vue-ui-heatmap-CxIHmv0t.js} +41 -40
- package/dist/vue-ui-heatmap-Du2vI5Ae.cjs +1 -0
- package/dist/{vue-ui-kpi-Q20yM3IP.cjs → vue-ui-kpi-BOe7-M9V.cjs} +1 -1
- package/dist/{vue-ui-kpi-B4zr_geL.js → vue-ui-kpi-DibULfkp.js} +3 -3
- package/dist/{vue-ui-mini-loader-GFSZofpE.cjs → vue-ui-mini-loader-Bv7l-Kx3.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-GImbaGsN.js → vue-ui-mini-loader-qFRhERid.js} +2 -2
- package/dist/{vue-ui-molecule-DmrB3kgA.js → vue-ui-molecule-4cIGPnWg.js} +290 -286
- package/dist/vue-ui-molecule-eOj3ZjvT.cjs +1 -0
- package/dist/{vue-ui-mood-radar-sEkQtzI2.js → vue-ui-mood-radar-BTe21WKk.js} +79 -78
- package/dist/vue-ui-mood-radar-tUFqqekd.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-DvpZLcYd.js → vue-ui-nested-donuts-BVzabOga.js} +35 -34
- package/dist/vue-ui-nested-donuts-BigBLrFR.cjs +17 -0
- package/dist/{vue-ui-onion-DQMLPe3M.js → vue-ui-onion-C3TAKqro.js} +12 -11
- package/dist/vue-ui-onion-_ZC3vbIS.cjs +5 -0
- package/dist/{vue-ui-parallel-coordinate-plot-BBuPdl2K.cjs → vue-ui-parallel-coordinate-plot-BiXGkfj7.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-DN2LPNyS.js → vue-ui-parallel-coordinate-plot-CKoCQXqj.js} +13 -12
- package/dist/vue-ui-quadrant-B67wGTic.cjs +1 -0
- package/dist/{vue-ui-quadrant-D2GpeXI6.js → vue-ui-quadrant-CKnyfJoi.js} +13 -12
- package/dist/vue-ui-quick-chart-DEjdx0AB.cjs +15 -0
- package/dist/{vue-ui-quick-chart-C5K9DfUV.js → vue-ui-quick-chart-DZDYYnsI.js} +60 -59
- package/dist/vue-ui-radar-Cm_QkYGb.cjs +1 -0
- package/dist/{vue-ui-radar-B9TZPujK.js → vue-ui-radar-v9yayJxu.js} +13 -12
- package/dist/{vue-ui-rating-B0pNsmGB.js → vue-ui-rating-Cc_N7qbe.js} +2 -2
- package/dist/{vue-ui-rating-DpxzUDQq.cjs → vue-ui-rating-DV4cCZbB.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-DSnlpLHt.js → vue-ui-relation-circle-Clqo4kkb.js} +46 -45
- package/dist/{vue-ui-relation-circle-D3B-lpdM.cjs → vue-ui-relation-circle-DcpIVbI6.cjs} +1 -1
- package/dist/{vue-ui-rings-BuvFDBXg.js → vue-ui-rings-D27xNq9q.js} +12 -11
- package/dist/{vue-ui-rings-cmeFVitd.cjs → vue-ui-rings-DTn3t8Ku.cjs} +2 -2
- package/dist/{vue-ui-scatter-D_chvOSJ.js → vue-ui-scatter-C07Mon-6.js} +13 -12
- package/dist/vue-ui-scatter-CXbrqLFm.cjs +1 -0
- package/dist/{vue-ui-screenshot-DSHeHshf.js → vue-ui-screenshot-CsxqbqlJ.js} +1 -1
- package/dist/{vue-ui-screenshot-CwrXLMru.cjs → vue-ui-screenshot-D8TAvQYN.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Du4zw-c1.js → vue-ui-skeleton-BLiYyX95.js} +2 -2
- package/dist/{vue-ui-skeleton-DJhwv2oY.cjs → vue-ui-skeleton-Br1K3exH.cjs} +1 -1
- package/dist/{vue-ui-smiley-BtQLJ7rA.js → vue-ui-smiley-BUHatT3Z.js} +2 -2
- package/dist/{vue-ui-smiley-BNkk6suC.cjs → vue-ui-smiley-CR_TkSYT.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-DFIjxBTY.cjs → vue-ui-spark-trend-CnUz6s1m.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-BgA79g7a.js → vue-ui-spark-trend-GY2CfYRt.js} +4 -4
- package/dist/{vue-ui-sparkbar-BlwQfhlY.cjs → vue-ui-sparkbar-DaFwUA6Z.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DQAWZReF.js → vue-ui-sparkbar-tdgek1gv.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CCApU38s.js → vue-ui-sparkgauge-1zu5KmTA.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BCRSQDpt.cjs → vue-ui-sparkgauge-D8P01Hem.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-PKTt4EmH.js → vue-ui-sparkhistogram-b68QStxA.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-CTxG1Vtn.cjs → vue-ui-sparkhistogram-mg6yuwLH.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BUaixngQ.cjs → vue-ui-sparkline-CAqav9Gn.cjs} +1 -1
- package/dist/{vue-ui-sparkline-EESAiZyt.js → vue-ui-sparkline-CMmtp8MK.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-TnLNixdf.js → vue-ui-sparkstackbar-Cz8tOM3m.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-iQnc0zcO.cjs → vue-ui-sparkstackbar-DOrquZvw.cjs} +1 -1
- package/dist/vue-ui-stackbar-DUa5F_Zl.cjs +6 -0
- package/dist/{vue-ui-stackbar-Ci04sup3.js → vue-ui-stackbar-DeQkP1dj.js} +13 -12
- package/dist/vue-ui-strip-plot-KNL9ToYG.cjs +1 -0
- package/dist/{vue-ui-strip-plot-DbvW0BuF.js → vue-ui-strip-plot-vqOCzdFV.js} +12 -11
- package/dist/{vue-ui-table-328De4vk.cjs → vue-ui-table-BCdHNku5.cjs} +1 -1
- package/dist/{vue-ui-table-CamkBCdL.js → vue-ui-table-DDdVqdHt.js} +1 -1
- package/dist/vue-ui-table-heatmap-BJDnZMZN.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-D-YdrvGV.js → vue-ui-table-heatmap-DQg_jtYq.js} +27 -26
- package/dist/{vue-ui-table-sparkline-Dg2RKv6f.js → vue-ui-table-sparkline-Bg-VFq7X.js} +25 -24
- package/dist/{vue-ui-table-sparkline-Cmg7wnQ0.cjs → vue-ui-table-sparkline-D8DJxb5J.cjs} +1 -1
- package/dist/{vue-ui-thermometer-jWHbZTc2.js → vue-ui-thermometer-CajBbbYc.js} +51 -50
- package/dist/vue-ui-thermometer-eYM8DX7u.cjs +1 -0
- package/dist/{vue-ui-timer-BPepr5eV.js → vue-ui-timer-D3VRVK-8.js} +4 -4
- package/dist/{vue-ui-timer-B_FyRAU7.cjs → vue-ui-timer-RclP4Tql.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DW8Q2IBl.js → vue-ui-tiremarks-BT0k_3xi.js} +48 -47
- package/dist/{vue-ui-tiremarks-CaJWlyz8.cjs → vue-ui-tiremarks-Bc8bBBAw.cjs} +1 -1
- package/dist/{vue-ui-treemap-B9GpvA0k.cjs → vue-ui-treemap-BjWDt2b2.cjs} +1 -1
- package/dist/{vue-ui-treemap-CWu43qLo.js → vue-ui-treemap-DMhe3zCm.js} +13 -12
- package/dist/vue-ui-vertical-bar-DWzafNBH.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CndASePh.js → vue-ui-vertical-bar-hH9R9V-K.js} +13 -12
- package/dist/{vue-ui-waffle-c9ycdoKz.cjs → vue-ui-waffle-BvYE9hAY.cjs} +1 -1
- package/dist/{vue-ui-waffle-CdyqwJwN.js → vue-ui-waffle-DnNd6Iba.js} +46 -45
- package/dist/{vue-ui-wheel-Byq_BLhl.js → vue-ui-wheel-Bx9_m-7W.js} +34 -33
- package/dist/vue-ui-wheel-CVBmY6h7.cjs +1 -0
- package/dist/{vue-ui-word-cloud-BVOcsuMP.cjs → vue-ui-word-cloud-3R-mYkIW.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-BRxN5uFD.js → vue-ui-word-cloud-DUk0Xt8q.js} +10 -9
- package/dist/{vue-ui-xy-DgEdZz0O.js → vue-ui-xy-FtaqoNK8.js} +161 -160
- package/dist/{vue-ui-xy-canvas-BI7jUOTn.js → vue-ui-xy-canvas-Bp4PTl_E.js} +54 -53
- package/dist/{vue-ui-xy-canvas-Td0WNYN0.cjs → vue-ui-xy-canvas-Ctw_3PzN.cjs} +2 -2
- package/dist/vue-ui-xy-rX-aml0b.cjs +3 -0
- package/package.json +1 -1
- package/dist/index-D-vy9N1v.cjs +0 -4
- package/dist/usePrinter-Do8KiK5h.js +0 -513
- package/dist/usePrinter-P4nLcXX-.cjs +0 -1
- package/dist/vue-ui-3d-bar-DlUqKETN.cjs +0 -19
- package/dist/vue-ui-age-pyramid-CvSoQ1op.cjs +0 -1
- package/dist/vue-ui-candlestick-BJulnyV3.cjs +0 -2
- package/dist/vue-ui-donut-TY2Z9Ljx.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BEm2dOxe.cjs +0 -1
- package/dist/vue-ui-flow-DswsuPwy.cjs +0 -1
- package/dist/vue-ui-galaxy-Dxy6jzus.cjs +0 -1
- package/dist/vue-ui-gauge-CWd_ol6u.cjs +0 -1
- package/dist/vue-ui-heatmap-AUm42a1v.cjs +0 -1
- package/dist/vue-ui-molecule-C9FcDH4x.cjs +0 -1
- package/dist/vue-ui-mood-radar-CRwStVTV.cjs +0 -1
- package/dist/vue-ui-nested-donuts-BcOgxtZV.cjs +0 -17
- package/dist/vue-ui-onion-C9v9YjdJ.cjs +0 -5
- package/dist/vue-ui-quadrant-ulY-rCMI.cjs +0 -1
- package/dist/vue-ui-quick-chart-DFj17h6h.cjs +0 -15
- package/dist/vue-ui-radar-KA287Tp-.cjs +0 -1
- package/dist/vue-ui-scatter-BWPqoSUN.cjs +0 -1
- package/dist/vue-ui-stackbar-Rrcyg4CC.cjs +0 -6
- package/dist/vue-ui-strip-plot-CowHumiU.cjs +0 -1
- package/dist/vue-ui-table-heatmap-CCHre3Gt.cjs +0 -1
- package/dist/vue-ui-thermometer-BDeKErC9.cjs +0 -1
- package/dist/vue-ui-vertical-bar-a_41JdIn.cjs +0 -4
- package/dist/vue-ui-wheel-B3BMfKmd.cjs +0 -1
- package/dist/vue-ui-xy-CsS5ny0q.cjs +0 -3
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { p as Q } from "./pdf-97UbtKC2.js";
|
|
2
|
-
import { U as K, s as j } from "./usePrinter-
|
|
3
|
-
import { c as J, a as $, t as ee, z as te, p as ae, T as X, N as T, f as Z, I as ie, F as
|
|
4
|
-
import { D as Oe } from "./DataTable-
|
|
5
|
-
import { _ as ve } from "./Title-
|
|
6
|
-
import { _ as Ge, u as pe } from "./Tooltip-
|
|
7
|
-
import { _ as ze } from "./Shape-
|
|
8
|
-
import Me from "./BaseIcon-
|
|
9
|
-
import Te from "./vue-ui-table-sparkline-
|
|
10
|
-
import Pe from "./vue-ui-skeleton-
|
|
11
|
-
import { S as Ve } from "./Slicer-
|
|
12
|
-
import Re from "./vue-ui-accordion-
|
|
13
|
-
import { u as U } from "./useNestedProp-
|
|
14
|
-
import { resolveComponent as P, openBlock as
|
|
2
|
+
import { U as K, s as j } from "./usePrinter-B6qtXaHk.js";
|
|
3
|
+
import { c as J, a as $, t as ee, z as te, p as ae, T as X, N as T, f as Z, I as ie, F as re, i as le, Z as se, W as ne, _ as ce, v as he, $ as oe, d as de, B as ue, b as ge, q as fe, Q as Ne, a0 as me, r as Ie, e as xe, y as be, L as Fe, x as _e, a1 as ye, o as Ae, s as Le, w as Ce, E as Se, A as ke, u as we } from "./index-D2epy0rJ.js";
|
|
4
|
+
import { D as Oe } from "./DataTable-tSDSY14n.js";
|
|
5
|
+
import { _ as ve } from "./Title-DJ2FNrSN.js";
|
|
6
|
+
import { _ as Ge, u as pe } from "./Tooltip-CQpXRqRC.js";
|
|
7
|
+
import { _ as ze } from "./Shape-XiTBfhJM.js";
|
|
8
|
+
import Me from "./BaseIcon-B9istAKo.js";
|
|
9
|
+
import Te from "./vue-ui-table-sparkline-Bg-VFq7X.js";
|
|
10
|
+
import Pe from "./vue-ui-skeleton-BLiYyX95.js";
|
|
11
|
+
import { S as Ve } from "./Slicer-BMvzmCKt.js";
|
|
12
|
+
import Re from "./vue-ui-accordion-DzTB2FL0.js";
|
|
13
|
+
import { u as U } from "./useNestedProp-C_ZrJBd9.js";
|
|
14
|
+
import { resolveComponent as P, openBlock as r, createElementBlock as l, normalizeClass as M, normalizeStyle as A, createBlock as V, createCommentVNode as o, createSlots as De, withCtx as p, renderSlot as O, normalizeProps as B, guardReactiveProps as Y, createElementVNode as u, Fragment as N, renderList as I, toDisplayString as S, createVNode as q, withDirectives as He, vModelCheckbox as We, createTextVNode as Ee } from "vue";
|
|
15
15
|
import { _ as Be } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
const Ye = J(), Xe = {
|
|
17
17
|
name: "vue-ui-xy",
|
|
@@ -320,7 +320,7 @@ const Ye = J(), Xe = {
|
|
|
320
320
|
}, x = {
|
|
321
321
|
max: a.scaleMax || Math.max(...a.absoluteValues) || 1,
|
|
322
322
|
min: a.scaleMin || Math.min(...a.absoluteValues.filter((d) => ![void 0, null].includes(d))) > 0 ? 0 : Math.min(...a.absoluteValues.filter((d) => ![null, void 0].includes(d)))
|
|
323
|
-
}, _ = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, L = 1.0000001,
|
|
323
|
+
}, _ = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, L = 1.0000001, m = this.calculateNiceScaleWithExactExtremes(x.min, x.max === x.min ? x.max * L : x.max, _), C = this.calculateNiceScaleWithExactExtremes(e.valueMin, e.valueMax === e.valueMin ? e.valueMax * L : e.valueMax, _), z = m.min >= 0 ? 0 : Math.abs(m.min), k = 0, G = m.max + z, v = C.max + Math.abs(k), b = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - a.cumulatedStackRatio) : 0, t = this.mutableConfig.isStacked ? this.drawingArea.height * a.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, c = this.drawingArea.bottom - b - t * z / G, n = this.drawingArea.bottom - b - t * k / v, g = this.absoluteDataset.filter((d) => d.type === "bar").filter((d) => !this.segregatedSeries.includes(d.id)).length, R = a.series.map((d, F) => {
|
|
324
324
|
const W = this.mutableConfig.useIndividualScale ? (a.absoluteValues[F] + z) / G : this.ratioToMax(d), E = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * F : this.drawingArea.left + this.slot.bar * s + this.slot.bar * F * g - this.barSlot / 2 - s * this.barPeriodGap;
|
|
325
325
|
return {
|
|
326
326
|
yOffset: this.checkNaN(b),
|
|
@@ -344,7 +344,7 @@ const Ye = J(), Xe = {
|
|
|
344
344
|
individualMax: this.checkNaN(G),
|
|
345
345
|
comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
|
|
346
346
|
};
|
|
347
|
-
}), y =
|
|
347
|
+
}), y = m.ticks.map((d) => ({
|
|
348
348
|
y: d >= 0 ? c - t * (d / G) : c + t * Math.abs(d) / G,
|
|
349
349
|
value: d,
|
|
350
350
|
prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
@@ -366,7 +366,7 @@ const Ye = J(), Xe = {
|
|
|
366
366
|
autoScaleYLabels: w,
|
|
367
367
|
individualHeight: t,
|
|
368
368
|
scaleYLabels: a.autoScaling ? w : y,
|
|
369
|
-
individualScale: a.autoScaling ? C :
|
|
369
|
+
individualScale: a.autoScaling ? C : m,
|
|
370
370
|
individualMax: a.autoScaling ? v : G,
|
|
371
371
|
zeroPosition: a.autoScaling ? n : c,
|
|
372
372
|
plots: a.autoScaling ? D : R
|
|
@@ -389,7 +389,7 @@ const Ye = J(), Xe = {
|
|
|
389
389
|
}, e = {
|
|
390
390
|
max: a.scaleMax || Math.max(...a.absoluteValues) || 1,
|
|
391
391
|
min: a.scaleMin || (Math.min(...a.absoluteValues) > 0 ? 0 : Math.min(...a.absoluteValues))
|
|
392
|
-
}, x = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, L = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * _ : e.max, x),
|
|
392
|
+
}, x = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, L = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * _ : e.max, x), m = this.calculateNiceScaleWithExactExtremes(i.valueMin, i.valueMax === i.valueMin ? i.valueMax * _ : i.valueMax, x), C = L.min >= 0 ? 0 : Math.abs(L.min), z = 0, k = L.max + Math.abs(C), G = m.max + Math.abs(z), v = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - a.cumulatedStackRatio) : 0, b = this.mutableConfig.isStacked ? this.drawingArea.height * a.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, t = this.drawingArea.bottom - v - b * C / k, c = this.drawingArea.bottom - v - b * z / G, n = a.series.map((d, F) => {
|
|
393
393
|
const W = this.mutableConfig.useIndividualScale ? (a.absoluteValues[F] + Math.abs(C)) / k : this.ratioToMax(d);
|
|
394
394
|
return {
|
|
395
395
|
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * F),
|
|
@@ -397,7 +397,7 @@ const Ye = J(), Xe = {
|
|
|
397
397
|
value: a.absoluteValues[F],
|
|
398
398
|
comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
|
|
399
399
|
};
|
|
400
|
-
}), g = a.absoluteValues.map((d) =>
|
|
400
|
+
}), g = a.absoluteValues.map((d) => m.min >= 0 ? (d - Math.abs(m.min)) / (m.max - Math.abs(m.min)) : (d + Math.abs(m.min)) / (m.max + Math.abs(m.min))), R = a.series.map((d, F) => {
|
|
401
401
|
if (![void 0, null].includes(a.absoluteValues[F]))
|
|
402
402
|
return {
|
|
403
403
|
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * F),
|
|
@@ -411,8 +411,8 @@ const Ye = J(), Xe = {
|
|
|
411
411
|
prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
412
412
|
suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
413
413
|
datapoint: a
|
|
414
|
-
})), w =
|
|
415
|
-
const F = (d -
|
|
414
|
+
})), w = m.ticks.map((d) => {
|
|
415
|
+
const F = (d - m.min) / (m.max - m.min);
|
|
416
416
|
return {
|
|
417
417
|
y: d >= 0 ? c - b * F : c + b * F,
|
|
418
418
|
value: d,
|
|
@@ -427,7 +427,7 @@ const Ye = J(), Xe = {
|
|
|
427
427
|
autoScaleYLabels: w,
|
|
428
428
|
individualHeight: b,
|
|
429
429
|
scaleYLabels: a.autoScaling ? w : y,
|
|
430
|
-
individualScale: a.autoScaling ?
|
|
430
|
+
individualScale: a.autoScaling ? m : L,
|
|
431
431
|
individualMax: a.autoScaling ? G : k,
|
|
432
432
|
zeroPosition: a.autoScaling ? c : t,
|
|
433
433
|
curve: a.autoScaling ? D : H,
|
|
@@ -446,7 +446,7 @@ const Ye = J(), Xe = {
|
|
|
446
446
|
}, e = {
|
|
447
447
|
max: a.scaleMax || Math.max(...a.absoluteValues) || 1,
|
|
448
448
|
min: a.scaleMin || Math.min(...a.absoluteValues) > 0 ? 0 : Math.min(...a.absoluteValues)
|
|
449
|
-
}, x = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, L = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * _ : e.max, x),
|
|
449
|
+
}, x = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, L = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * _ : e.max, x), m = this.calculateNiceScaleWithExactExtremes(i.valueMin, i.valueMax === i.valueMin ? i.valueMax * _ : i.valueMax, x), C = L.min >= 0 ? 0 : Math.abs(L.min), z = 0, k = L.max + C, G = m.max + Math.abs(z), v = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - a.cumulatedStackRatio) : 0, b = this.mutableConfig.isStacked ? this.drawingArea.height * a.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, t = this.drawingArea.bottom - v - b * C / k, c = this.drawingArea.bottom - v - b * z / G, n = a.series.map((y, w) => {
|
|
450
450
|
const d = this.mutableConfig.useIndividualScale ? (a.absoluteValues[w] + Math.abs(C)) / k : this.ratioToMax(y);
|
|
451
451
|
return {
|
|
452
452
|
x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * w),
|
|
@@ -454,7 +454,7 @@ const Ye = J(), Xe = {
|
|
|
454
454
|
value: a.absoluteValues[w],
|
|
455
455
|
comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[w] || ""
|
|
456
456
|
};
|
|
457
|
-
}), g = a.absoluteValues.map((y) =>
|
|
457
|
+
}), g = a.absoluteValues.map((y) => m.min >= 0 ? (y - Math.abs(m.min)) / (m.max - Math.abs(m.min)) : (y + Math.abs(m.min)) / (m.max + Math.abs(m.min))), R = a.series.map((y, w) => ({
|
|
458
458
|
x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * w),
|
|
459
459
|
y: this.checkNaN(this.drawingArea.bottom - v - (b * g[w] || 0)),
|
|
460
460
|
value: a.absoluteValues[w],
|
|
@@ -465,8 +465,8 @@ const Ye = J(), Xe = {
|
|
|
465
465
|
prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
466
466
|
suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
467
467
|
datapoint: a
|
|
468
|
-
})), D =
|
|
469
|
-
const w = (y -
|
|
468
|
+
})), D = m.ticks.map((y) => {
|
|
469
|
+
const w = (y - m.min) / (m.max - m.min);
|
|
470
470
|
return {
|
|
471
471
|
y: y >= 0 ? c - b * w : c + b * w,
|
|
472
472
|
value: y,
|
|
@@ -481,7 +481,7 @@ const Ye = J(), Xe = {
|
|
|
481
481
|
autoScaleYLabels: D,
|
|
482
482
|
individualHeight: b,
|
|
483
483
|
scaleYLabels: a.autoScaling ? D : H,
|
|
484
|
-
individualScale: a.autoScaling ?
|
|
484
|
+
individualScale: a.autoScaling ? m : L,
|
|
485
485
|
individualMax: a.autoScaling ? G : k,
|
|
486
486
|
zeroPosition: a.autoScaling ? c : t,
|
|
487
487
|
plots: a.autoScaling ? R : n
|
|
@@ -715,8 +715,8 @@ const Ye = J(), Xe = {
|
|
|
715
715
|
},
|
|
716
716
|
methods: {
|
|
717
717
|
abbreviate: ie,
|
|
718
|
-
adaptColorToBackground:
|
|
719
|
-
applyDataLabel:
|
|
718
|
+
adaptColorToBackground: re,
|
|
719
|
+
applyDataLabel: le,
|
|
720
720
|
assignStackRatios: se,
|
|
721
721
|
calcLinearProgression: ne,
|
|
722
722
|
calculateNiceScaleWithExactExtremes: ce,
|
|
@@ -726,8 +726,8 @@ const Ye = J(), Xe = {
|
|
|
726
726
|
convertConfigColors: ue,
|
|
727
727
|
convertCustomPalette: ge,
|
|
728
728
|
createCsvContent: fe,
|
|
729
|
-
createSmoothPath:
|
|
730
|
-
createTSpans:
|
|
729
|
+
createSmoothPath: Ne,
|
|
730
|
+
createTSpans: me,
|
|
731
731
|
dataLabel: Z,
|
|
732
732
|
downloadCsv: Ie,
|
|
733
733
|
error: xe,
|
|
@@ -798,10 +798,10 @@ const Ye = J(), Xe = {
|
|
|
798
798
|
this.FINAL_CONFIG.chart.title.show && (i = this.$refs.chartTitle, e = i.getBoundingClientRect().height);
|
|
799
799
|
let x = null, _ = 0;
|
|
800
800
|
this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (x = this.$refs.chartSlicer.$el, _ = x.getBoundingClientRect().height);
|
|
801
|
-
let L = null,
|
|
802
|
-
this.FINAL_CONFIG.chart.legend.show && (L = this.$refs.chartLegend,
|
|
801
|
+
let L = null, m = 0;
|
|
802
|
+
this.FINAL_CONFIG.chart.legend.show && (L = this.$refs.chartLegend, m = L.getBoundingClientRect().height), this.height = h - e - m - _, this.width = f, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((z) => {
|
|
803
803
|
for (const k of z)
|
|
804
|
-
this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (_ = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (
|
|
804
|
+
this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (_ = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (m = this.$refs.chartLegend.getBoundingClientRect().height), this.height = k.contentBoxSize[0].blockSize - e - m - _ - 24, this.width = k.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
|
|
805
805
|
}).observe(s);
|
|
806
806
|
} else
|
|
807
807
|
this.height = this.FINAL_CONFIG.chart.height, this.width = this.FINAL_CONFIG.chart.width, this.viewBox = `0 0 ${this.width} ${this.height}`, this.fontSizes.dataLabels = this.FINAL_CONFIG.chart.grid.labels.fontSize, this.fontSizes.yAxis = this.FINAL_CONFIG.chart.grid.labels.axis.fontSize, this.fontSizes.xAxis = this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.fontSize, this.fontSizes.plotLabels = this.FINAL_CONFIG.chart.labels.fontSize, this.plotRadii.plot = this.FINAL_CONFIG.plot.radius, this.plotRadii.line = this.FINAL_CONFIG.line.radius;
|
|
@@ -998,7 +998,7 @@ const Ye = J(), Xe = {
|
|
|
998
998
|
}, 100);
|
|
999
999
|
}
|
|
1000
1000
|
}
|
|
1001
|
-
}, qe = ["id"], Ze = ["viewBox"], Ue = { key: 0 }, Je = { class: "vue-ui-xy-grid" }, Qe = ["stroke", "x1", "x2", "y1", "y2"], Ke = ["stroke", "x1", "x2", "y1", "y2"], je = { key: 1 }, $e = ["x1", "x2", "y1", "y2", "stroke"], et = ["x1", "x2", "y1", "y2", "stroke"], tt = ["x1", "x2", "y1", "y2", "stroke"], at = { key: 3 }, it = ["x1", "x2", "y1", "y2", "stroke"],
|
|
1001
|
+
}, qe = ["id"], Ze = ["viewBox"], Ue = { key: 0 }, Je = { class: "vue-ui-xy-grid" }, Qe = ["stroke", "x1", "x2", "y1", "y2"], Ke = ["stroke", "x1", "x2", "y1", "y2"], je = { key: 1 }, $e = ["x1", "x2", "y1", "y2", "stroke"], et = ["x1", "x2", "y1", "y2", "stroke"], tt = ["x1", "x2", "y1", "y2", "stroke"], at = { key: 3 }, it = ["x1", "x2", "y1", "y2", "stroke"], rt = ["id"], lt = ["stop-color"], st = ["stop-color"], nt = ["stop-color"], ct = ["id"], ht = ["stop-color"], ot = ["stop-color"], dt = ["stop-color"], ut = ["id"], gt = ["stop-color"], ft = ["stop-color"], Nt = ["id"], mt = ["stop-color"], It = ["stop-color"], xt = ["id"], bt = ["stop-color"], Ft = ["stop-color"], _t = ["x", "y", "height", "width", "fill"], yt = ["x", "y", "width"], At = ["x", "y", "height", "width", "fill"], Lt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ct = ["width", "x", "y"], St = { key: 0 }, kt = ["id"], wt = ["fill"], Ot = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], vt = ["x", "y", "font-size", "fill"], Gt = ["stroke", "x1", "x2", "y1", "y2"], pt = { key: 2 }, zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Mt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Tt = { key: 4 }, Pt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = ["fill", "font-size", "transform"], Rt = ["x1", "x2", "y1", "y2", "stroke"], Dt = ["x", "y", "font-size", "fill"], Ht = ["x1", "x2", "y1", "y2", "stroke"], Wt = ["x", "y", "font-size", "fill"], Et = ["width", "x", "y"], Bt = { style: { width: "100%" } }, Yt = { key: 0 }, Xt = ["id"], qt = ["fill"], Zt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ut = ["x", "y", "font-size", "fill"], Jt = ["d", "stroke", "stroke-width", "stroke-dasharray"], Qt = { key: 1 }, Kt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], jt = { key: 0 }, $t = ["d", "fill"], ea = ["d", "fill"], ta = ["d", "stroke", "stroke-width", "stroke-dasharray"], aa = { key: 2 }, ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ra = ["width", "x", "y"], la = { style: { width: "100%" } }, sa = { key: 3 }, na = ["id"], ca = ["fill"], ha = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], oa = ["x", "y", "font-size", "fill"], da = { key: 5 }, ua = ["x", "y", "font-size", "fill"], ga = ["x", "y", "font-size", "fill", "font-weight"], fa = { key: 6 }, Na = ["x", "y", "font-size", "fill"], ma = ["x", "y"], Ia = ["x", "y"], xa = { key: 7 }, ba = ["x", "y", "font-size", "fill"], Fa = ["x", "y"], _a = ["x", "y"], ya = ["x", "y", "font-size", "fill", "innerHTML"], Aa = ["x", "y", "font-size", "fill", "innerHTML"], La = ["x", "y", "font-size", "fill", "innerHTML"], Ca = ["x", "y", "font-size", "fill", "innerHTML"], Sa = ["x", "y", "width", "height", "fill", "onMouseenter"], ka = ["font-size", "fill", "transform"], wa = ["x", "y", "font-size", "fill"], Oa = { key: 9 }, va = ["text-anchor", "font-size", "fill", "transform"], Ga = ["x", "y", "height", "width", "onMouseenter", "onClick"], pa = { key: 10 }, za = ["x", "y"], Ma = ["cx", "cy", "r", "fill"], Ta = {
|
|
1002
1002
|
key: 3,
|
|
1003
1003
|
class: "vue-data-ui-watermark"
|
|
1004
1004
|
}, Pa = ["onClick"], Va = {
|
|
@@ -1019,20 +1019,20 @@ const Ye = J(), Xe = {
|
|
|
1019
1019
|
"data-html2canvas-ignore": ""
|
|
1020
1020
|
}, Ba = ["innerHTML"];
|
|
1021
1021
|
function Ya(a, s, h, f, i, e) {
|
|
1022
|
-
const x = P("Title"), _ = P("UserOptions"), L = P("Shape"),
|
|
1023
|
-
return
|
|
1022
|
+
const x = P("Title"), _ = P("UserOptions"), L = P("Shape"), m = P("Skeleton"), C = P("Slicer"), z = P("Tooltip"), k = P("BaseIcon"), G = P("TableSparkline"), v = P("DataTable"), b = P("Accordion");
|
|
1023
|
+
return r(), l("div", {
|
|
1024
1024
|
id: `vue-ui-xy_${i.uniqueId}`,
|
|
1025
1025
|
class: M(`vue-ui-xy ${i.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
1026
1026
|
ref: "chart",
|
|
1027
1027
|
style: A(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color};width:100%;${e.FINAL_CONFIG.chart.title.text ? "" : "padding-top:36px"};font-family:${e.FINAL_CONFIG.chart.fontFamily};${e.FINAL_CONFIG.responsive ? "height: 100%" : ""}`)
|
|
1028
1028
|
}, [
|
|
1029
|
-
e.FINAL_CONFIG.chart.title.show ? (
|
|
1029
|
+
e.FINAL_CONFIG.chart.title.show ? (r(), l("div", {
|
|
1030
1030
|
key: 0,
|
|
1031
1031
|
ref: "chartTitle",
|
|
1032
1032
|
class: "vue-ui-xy-title",
|
|
1033
1033
|
style: A(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
|
|
1034
1034
|
}, [
|
|
1035
|
-
(
|
|
1035
|
+
(r(), V(x, {
|
|
1036
1036
|
key: `title_${i.titleStep}`,
|
|
1037
1037
|
config: {
|
|
1038
1038
|
title: {
|
|
@@ -1046,7 +1046,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1046
1046
|
}
|
|
1047
1047
|
}, null, 8, ["config"]))
|
|
1048
1048
|
], 4)) : o("", !0),
|
|
1049
|
-
e.FINAL_CONFIG.chart.userOptions.show && e.isDataset ? (
|
|
1049
|
+
e.FINAL_CONFIG.chart.userOptions.show && e.isDataset ? (r(), V(_, {
|
|
1050
1050
|
ref: "defails",
|
|
1051
1051
|
key: `user_options_${i.step}`,
|
|
1052
1052
|
backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
|
|
@@ -1065,6 +1065,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1065
1065
|
isStacked: i.mutableConfig.isStacked,
|
|
1066
1066
|
isFullscreen: i.isFullscreen,
|
|
1067
1067
|
chartElement: a.$refs.chart,
|
|
1068
|
+
position: e.FINAL_CONFIG.chart.userOptions.position,
|
|
1068
1069
|
isTooltip: i.mutableConfig.showTooltip,
|
|
1069
1070
|
titles: { ...e.FINAL_CONFIG.chart.userOptions.buttonTitles },
|
|
1070
1071
|
onToggleFullscreen: e.toggleFullscreen,
|
|
@@ -1132,8 +1133,8 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1132
1133
|
]),
|
|
1133
1134
|
key: "7"
|
|
1134
1135
|
} : void 0
|
|
1135
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "isTooltip", "titles", "onToggleFullscreen", "onGeneratePdf", "onGenerateCsv", "onGenerateImage", "onToggleTable", "onToggleLabels", "onToggleStack", "onToggleTooltip"])) : o("", !0),
|
|
1136
|
-
e.isDataset ? (
|
|
1136
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "onToggleFullscreen", "onGeneratePdf", "onGenerateCsv", "onGenerateImage", "onToggleTable", "onToggleLabels", "onToggleStack", "onToggleTooltip"])) : o("", !0),
|
|
1137
|
+
e.isDataset ? (r(), l("svg", {
|
|
1137
1138
|
key: 2,
|
|
1138
1139
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1139
1140
|
class: M([{ "vue-data-ui-fullscreen--on": i.isFullscreen, "vue-data-ui-fulscreen--off": !i.isFullscreen }, "vue-ui-xy-svg"]),
|
|
@@ -1141,9 +1142,9 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1141
1142
|
viewBox: i.viewBox,
|
|
1142
1143
|
style: A(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
|
|
1143
1144
|
}, [
|
|
1144
|
-
e.maxSeries > 0 ? (
|
|
1145
|
+
e.maxSeries > 0 ? (r(), l("g", Ue, [
|
|
1145
1146
|
u("g", Je, [
|
|
1146
|
-
e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (
|
|
1147
|
+
e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (r(), l("line", {
|
|
1147
1148
|
key: 0,
|
|
1148
1149
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1149
1150
|
"stroke-width": "1",
|
|
@@ -1153,8 +1154,8 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1153
1154
|
y2: e.drawingArea.bottom,
|
|
1154
1155
|
"stroke-linecap": "round"
|
|
1155
1156
|
}, null, 8, Qe)) : o("", !0),
|
|
1156
|
-
i.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (
|
|
1157
|
-
t.id === i.selectedScale && t.yLabels.length ? (
|
|
1157
|
+
i.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(!0), l(N, { key: 2 }, I(e.allScales, (t) => (r(), l("g", null, [
|
|
1158
|
+
t.id === i.selectedScale && t.yLabels.length ? (r(!0), l(N, { key: 0 }, I(t.yLabels, (c) => (r(), l("line", {
|
|
1158
1159
|
x1: e.drawingArea.left + e.xPadding,
|
|
1159
1160
|
x2: e.drawingArea.right - e.xPadding,
|
|
1160
1161
|
y1: e.checkNaN(c.y),
|
|
@@ -1162,7 +1163,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1162
1163
|
stroke: t.color,
|
|
1163
1164
|
"stroke-width": 0.5,
|
|
1164
1165
|
"stroke-linecap": "round"
|
|
1165
|
-
}, null, 8, et))), 256)) : t.yLabels.length ? (
|
|
1166
|
+
}, null, 8, et))), 256)) : t.yLabels.length ? (r(!0), l(N, { key: 1 }, I(t.yLabels, (c) => (r(), l("line", {
|
|
1166
1167
|
x1: e.drawingArea.left + e.xPadding,
|
|
1167
1168
|
x2: e.drawingArea.right - e.xPadding,
|
|
1168
1169
|
y1: e.checkNaN(c.y),
|
|
@@ -1171,8 +1172,8 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1171
1172
|
"stroke-width": 0.5,
|
|
1172
1173
|
"stroke-linecap": "round"
|
|
1173
1174
|
}, null, 8, tt))), 256)) : o("", !0)
|
|
1174
|
-
]))), 256)) : o("", !0) : (
|
|
1175
|
-
e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (
|
|
1175
|
+
]))), 256)) : o("", !0) : (r(), l(N, { key: 1 }, [
|
|
1176
|
+
e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (r(), l("line", {
|
|
1176
1177
|
key: 0,
|
|
1177
1178
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1178
1179
|
"stroke-width": "1",
|
|
@@ -1182,8 +1183,8 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1182
1183
|
y2: e.drawingArea.bottom,
|
|
1183
1184
|
"stroke-linecap": "round"
|
|
1184
1185
|
}, null, 8, Ke)) : o("", !0),
|
|
1185
|
-
e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (
|
|
1186
|
-
(
|
|
1186
|
+
e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(), l("g", je, [
|
|
1187
|
+
(r(!0), l(N, null, I(e.yLabels, (t) => (r(), l("line", {
|
|
1187
1188
|
x1: e.drawingArea.left + e.xPadding,
|
|
1188
1189
|
x2: e.drawingArea.right - e.xPadding,
|
|
1189
1190
|
y1: e.checkNaN(t.y),
|
|
@@ -1194,8 +1195,8 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1194
1195
|
}, null, 8, $e))), 256))
|
|
1195
1196
|
])) : o("", !0)
|
|
1196
1197
|
], 64)),
|
|
1197
|
-
e.FINAL_CONFIG.chart.grid.showVerticalLines ? (
|
|
1198
|
-
(
|
|
1198
|
+
e.FINAL_CONFIG.chart.grid.showVerticalLines ? (r(), l("g", at, [
|
|
1199
|
+
(r(!0), l(N, null, I(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (t, c) => (r(), l("line", {
|
|
1199
1200
|
key: `grid_vertical_line_${c}`,
|
|
1200
1201
|
x1: e.drawingArea.width / e.maxSeries * c + e.drawingArea.left + e.xPadding,
|
|
1201
1202
|
x2: e.drawingArea.width / e.maxSeries * c + e.drawingArea.left + e.xPadding,
|
|
@@ -1206,7 +1207,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1206
1207
|
}, null, 8, it))), 128))
|
|
1207
1208
|
])) : o("", !0)
|
|
1208
1209
|
]),
|
|
1209
|
-
(
|
|
1210
|
+
(r(!0), l(N, null, I(e.barSet, (t, c) => (r(), l("defs", {
|
|
1210
1211
|
key: `def_rect_${c}`
|
|
1211
1212
|
}, [
|
|
1212
1213
|
u("linearGradient", {
|
|
@@ -1217,7 +1218,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1217
1218
|
u("stop", {
|
|
1218
1219
|
offset: "0%",
|
|
1219
1220
|
"stop-color": t.color
|
|
1220
|
-
}, null, 8,
|
|
1221
|
+
}, null, 8, lt),
|
|
1221
1222
|
u("stop", {
|
|
1222
1223
|
offset: "62%",
|
|
1223
1224
|
"stop-color": `${e.shiftHue(t.color, 0.02)}`
|
|
@@ -1226,7 +1227,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1226
1227
|
offset: "100%",
|
|
1227
1228
|
"stop-color": `${e.shiftHue(t.color, 0.05)}`
|
|
1228
1229
|
}, null, 8, nt)
|
|
1229
|
-
], 8,
|
|
1230
|
+
], 8, rt),
|
|
1230
1231
|
u("linearGradient", {
|
|
1231
1232
|
id: `rectGradient_neg_${c}_${i.uniqueId}`,
|
|
1232
1233
|
x2: "0%",
|
|
@@ -1246,7 +1247,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1246
1247
|
}, null, 8, dt)
|
|
1247
1248
|
], 8, ct)
|
|
1248
1249
|
]))), 128)),
|
|
1249
|
-
(
|
|
1250
|
+
(r(!0), l(N, null, I(e.plotSet, (t, c) => (r(), l("defs", {
|
|
1250
1251
|
key: `def_plot_${c}`
|
|
1251
1252
|
}, [
|
|
1252
1253
|
u("radialGradient", {
|
|
@@ -1267,7 +1268,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1267
1268
|
}, null, 8, ft)
|
|
1268
1269
|
], 8, ut)
|
|
1269
1270
|
]))), 128)),
|
|
1270
|
-
(
|
|
1271
|
+
(r(!0), l(N, null, I(e.lineSet, (t, c) => (r(), l("defs", {
|
|
1271
1272
|
key: `def_line_${c}`
|
|
1272
1273
|
}, [
|
|
1273
1274
|
u("radialGradient", {
|
|
@@ -1281,12 +1282,12 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1281
1282
|
u("stop", {
|
|
1282
1283
|
offset: "0%",
|
|
1283
1284
|
"stop-color": `${e.shiftHue(t.color, 0.05)}`
|
|
1284
|
-
}, null, 8,
|
|
1285
|
+
}, null, 8, mt),
|
|
1285
1286
|
u("stop", {
|
|
1286
1287
|
offset: "100%",
|
|
1287
1288
|
"stop-color": t.color
|
|
1288
1289
|
}, null, 8, It)
|
|
1289
|
-
], 8,
|
|
1290
|
+
], 8, Nt),
|
|
1290
1291
|
u("linearGradient", {
|
|
1291
1292
|
id: `areaGradient_${c}_${i.uniqueId}`,
|
|
1292
1293
|
x1: "0%",
|
|
@@ -1304,8 +1305,8 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1304
1305
|
}, null, 8, Ft)
|
|
1305
1306
|
], 8, xt)
|
|
1306
1307
|
]))), 128)),
|
|
1307
|
-
(
|
|
1308
|
-
t.show ? (
|
|
1308
|
+
(r(!0), l(N, null, I(e.highlightAreas, (t) => (r(), l("g", null, [
|
|
1309
|
+
t.show ? (r(!0), l(N, { key: 0 }, I(t.span, (c, n) => (r(), l("g", null, [
|
|
1309
1310
|
u("rect", {
|
|
1310
1311
|
style: A({
|
|
1311
1312
|
transition: "none",
|
|
@@ -1317,7 +1318,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1317
1318
|
width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
|
|
1318
1319
|
fill: e.setOpacity(t.color, t.opacity)
|
|
1319
1320
|
}, null, 12, _t),
|
|
1320
|
-
t.caption.text && n === 0 ? (
|
|
1321
|
+
t.caption.text && n === 0 ? (r(), l("foreignObject", {
|
|
1321
1322
|
key: 0,
|
|
1322
1323
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (t.from + n - i.slicer.start) - (t.caption.width === "auto" ? 0 : t.caption.width / 2 - e.drawingArea.width / e.maxSeries * t.span / 2),
|
|
1323
1324
|
y: e.drawingArea.top + t.caption.offsetY,
|
|
@@ -1335,7 +1336,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1335
1336
|
]))), 256)) : o("", !0)
|
|
1336
1337
|
]))), 256)),
|
|
1337
1338
|
u("g", null, [
|
|
1338
|
-
(
|
|
1339
|
+
(r(!0), l(N, null, I(e.maxSeries, (t, c) => (r(), l("g", {
|
|
1339
1340
|
key: `tooltip_trap_${c}`
|
|
1340
1341
|
}, [
|
|
1341
1342
|
u("rect", {
|
|
@@ -1347,15 +1348,15 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1347
1348
|
}, null, 8, At)
|
|
1348
1349
|
]))), 128))
|
|
1349
1350
|
]),
|
|
1350
|
-
e.barSet.length ? (
|
|
1351
|
+
e.barSet.length ? (r(!0), l(N, { key: 0 }, I(e.barSet, (t, c) => (r(), l("g", {
|
|
1351
1352
|
key: `serie_bar_${c}`,
|
|
1352
1353
|
class: M(`serie_bar_${c}`),
|
|
1353
1354
|
style: A(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1354
1355
|
}, [
|
|
1355
|
-
(
|
|
1356
|
+
(r(!0), l(N, null, I(t.plots, (n, g) => (r(), l("g", {
|
|
1356
1357
|
key: `bar_plot_${c}_${g}`
|
|
1357
1358
|
}, [
|
|
1358
|
-
e.canShowValue(n.value) ? (
|
|
1359
|
+
e.canShowValue(n.value) ? (r(), l("rect", {
|
|
1359
1360
|
key: 0,
|
|
1360
1361
|
x: e.calcRectX(n),
|
|
1361
1362
|
y: i.mutableConfig.useIndividualScale ? e.calcIndividualRectY(n) : e.calcRectY(n),
|
|
@@ -1366,7 +1367,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1366
1367
|
stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? t.color : e.FINAL_CONFIG.bar.border.stroke,
|
|
1367
1368
|
"stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
|
|
1368
1369
|
}, null, 8, Lt)) : o("", !0),
|
|
1369
|
-
n.comment && e.FINAL_CONFIG.chart.comments.show ? (
|
|
1370
|
+
n.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), l("foreignObject", {
|
|
1370
1371
|
key: 1,
|
|
1371
1372
|
style: { overflow: "visible" },
|
|
1372
1373
|
height: "12",
|
|
@@ -1379,7 +1380,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1379
1380
|
}, void 0, !0)
|
|
1380
1381
|
], 8, Ct)) : o("", !0)
|
|
1381
1382
|
]))), 128)),
|
|
1382
|
-
Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (
|
|
1383
|
+
Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (r(), l("g", St, [
|
|
1383
1384
|
u("defs", null, [
|
|
1384
1385
|
u("marker", {
|
|
1385
1386
|
id: `bar_arrow_${c}`,
|
|
@@ -1395,7 +1396,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1395
1396
|
}, null, 8, wt)
|
|
1396
1397
|
], 8, kt)
|
|
1397
1398
|
]),
|
|
1398
|
-
t.plots.length > 1 ? (
|
|
1399
|
+
t.plots.length > 1 ? (r(), l("line", {
|
|
1399
1400
|
key: 0,
|
|
1400
1401
|
x1: e.calcLinearProgression(t.plots).x1,
|
|
1401
1402
|
x2: e.calcLinearProgression(t.plots).x2,
|
|
@@ -1406,7 +1407,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1406
1407
|
"stroke-dasharray": 2,
|
|
1407
1408
|
"marker-end": `url(#bar_arrow_${c})`
|
|
1408
1409
|
}, null, 8, Ot)) : o("", !0),
|
|
1409
|
-
t.plots.length > 1 ? (
|
|
1410
|
+
t.plots.length > 1 ? (r(), l("text", {
|
|
1410
1411
|
key: 1,
|
|
1411
1412
|
"text-anchor": "middle",
|
|
1412
1413
|
x: e.calcLinearProgression(t.plots).x2,
|
|
@@ -1420,7 +1421,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1420
1421
|
})), 9, vt)) : o("", !0)
|
|
1421
1422
|
])) : o("", !0)
|
|
1422
1423
|
], 6))), 128)) : o("", !0),
|
|
1423
|
-
!i.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (
|
|
1424
|
+
!i.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (r(), l("line", {
|
|
1424
1425
|
key: 1,
|
|
1425
1426
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1426
1427
|
"stroke-width": "1",
|
|
@@ -1430,7 +1431,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1430
1431
|
y2: e.checkNaN(e.zero),
|
|
1431
1432
|
"stroke-linecap": "round"
|
|
1432
1433
|
}, null, 8, Gt)) : o("", !0),
|
|
1433
|
-
e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(i.selectedSerieIndex) || i.selectedMinimapIndex !== null) ? (
|
|
1434
|
+
e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(i.selectedSerieIndex) || i.selectedMinimapIndex !== null) ? (r(), l("g", pt, [
|
|
1434
1435
|
u("line", {
|
|
1435
1436
|
x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (i.selectedSerieIndex || i.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
|
|
1436
1437
|
x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (i.selectedSerieIndex || i.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
|
|
@@ -1443,7 +1444,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1443
1444
|
style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
|
|
1444
1445
|
}, null, 8, zt)
|
|
1445
1446
|
])) : o("", !0),
|
|
1446
|
-
e.FINAL_CONFIG.chart.grid.frame.show ? (
|
|
1447
|
+
e.FINAL_CONFIG.chart.grid.frame.show ? (r(), l("rect", {
|
|
1447
1448
|
key: 3,
|
|
1448
1449
|
style: { pointerEvents: "none", transition: "none" },
|
|
1449
1450
|
x: e.drawingArea.left + e.xPadding < 0 ? 0 : e.drawingArea.left + e.xPadding,
|
|
@@ -1457,9 +1458,9 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1457
1458
|
"stroke-linejoin": e.FINAL_CONFIG.chart.grid.frame.strokeLinejoin,
|
|
1458
1459
|
"stroke-dasharray": e.FINAL_CONFIG.chart.grid.frame.strokeDasharray
|
|
1459
1460
|
}, null, 8, Mt)) : o("", !0),
|
|
1460
|
-
e.FINAL_CONFIG.chart.grid.labels.show ? (
|
|
1461
|
-
i.mutableConfig.useIndividualScale ? (
|
|
1462
|
-
(
|
|
1461
|
+
e.FINAL_CONFIG.chart.grid.labels.show ? (r(), l("g", Tt, [
|
|
1462
|
+
i.mutableConfig.useIndividualScale ? (r(), l(N, { key: 0 }, [
|
|
1463
|
+
(r(!0), l(N, null, I(e.allScales, (t) => (r(), l("g", null, [
|
|
1463
1464
|
u("line", {
|
|
1464
1465
|
x1: t.x + e.xPadding,
|
|
1465
1466
|
x2: t.x + e.xPadding,
|
|
@@ -1471,7 +1472,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1471
1472
|
style: A(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1472
1473
|
}, null, 12, Pt)
|
|
1473
1474
|
]))), 256)),
|
|
1474
|
-
(
|
|
1475
|
+
(r(!0), l(N, null, I(e.allScales, (t) => (r(), l("g", {
|
|
1475
1476
|
style: A(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1476
1477
|
}, [
|
|
1477
1478
|
u("text", {
|
|
@@ -1480,7 +1481,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1480
1481
|
"text-anchor": "middle",
|
|
1481
1482
|
transform: `translate(${t.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5}, ${i.mutableConfig.isStacked ? e.drawingArea.bottom - t.yOffset - t.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
|
|
1482
1483
|
}, S(t.name) + " " + S(t.scaleLabel ? `- ${t.scaleLabel}` : ""), 9, Vt),
|
|
1483
|
-
(
|
|
1484
|
+
(r(!0), l(N, null, I(t.yLabels, (c, n) => (r(), l("line", {
|
|
1484
1485
|
x1: t.x - 3 + e.xPadding,
|
|
1485
1486
|
x2: t.x + e.xPadding,
|
|
1486
1487
|
y1: e.checkNaN(c.y),
|
|
@@ -1489,7 +1490,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1489
1490
|
"stroke-width": 1,
|
|
1490
1491
|
"stroke-linecap": "round"
|
|
1491
1492
|
}, null, 8, Rt))), 256)),
|
|
1492
|
-
(
|
|
1493
|
+
(r(!0), l(N, null, I(t.yLabels, (c, n) => (r(), l("text", {
|
|
1493
1494
|
x: t.x - 5 + e.xPadding,
|
|
1494
1495
|
y: e.checkNaN(c.y) + i.fontSizes.dataLabels / 3,
|
|
1495
1496
|
"font-size": i.fontSizes.dataLabels,
|
|
@@ -1507,10 +1508,10 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1507
1508
|
{ datapoint: c.datapoint, seriesIndex: n }
|
|
1508
1509
|
)), 9, Dt))), 256))
|
|
1509
1510
|
], 4))), 256))
|
|
1510
|
-
], 64)) : (
|
|
1511
|
+
], 64)) : (r(!0), l(N, { key: 1 }, I(e.yLabels, (t, c) => (r(), l("g", {
|
|
1511
1512
|
key: `yLabel_${c}`
|
|
1512
1513
|
}, [
|
|
1513
|
-
e.canShowValue(t) && t.value >= e.niceScale.min && t.value <= e.niceScale.max ? (
|
|
1514
|
+
e.canShowValue(t) && t.value >= e.niceScale.min && t.value <= e.niceScale.max ? (r(), l("line", {
|
|
1514
1515
|
key: 0,
|
|
1515
1516
|
x1: e.drawingArea.left + e.xPadding,
|
|
1516
1517
|
x2: e.drawingArea.left - 5 + e.xPadding,
|
|
@@ -1520,7 +1521,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1520
1521
|
"stroke-width": "1",
|
|
1521
1522
|
"stroke-linecap": "round"
|
|
1522
1523
|
}, null, 8, Ht)) : o("", !0),
|
|
1523
|
-
t.value >= e.niceScale.min && t.value <= e.niceScale.max ? (
|
|
1524
|
+
t.value >= e.niceScale.min && t.value <= e.niceScale.max ? (r(), l("text", {
|
|
1524
1525
|
key: 1,
|
|
1525
1526
|
x: e.drawingArea.left - 7 + e.xPadding,
|
|
1526
1527
|
y: e.checkNaN(t.y + i.fontSizes.dataLabels / 3),
|
|
@@ -1539,15 +1540,15 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1539
1540
|
) : ""), 9, Wt)) : o("", !0)
|
|
1540
1541
|
]))), 128))
|
|
1541
1542
|
])) : o("", !0),
|
|
1542
|
-
(
|
|
1543
|
+
(r(!0), l(N, null, I(e.plotSet, (t, c) => (r(), l("g", {
|
|
1543
1544
|
key: `serie_plot_${c}`,
|
|
1544
1545
|
class: M(`serie_plot_${c}`),
|
|
1545
1546
|
style: A(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1546
1547
|
}, [
|
|
1547
|
-
(
|
|
1548
|
+
(r(!0), l(N, null, I(t.plots, (n, g) => (r(), l("g", {
|
|
1548
1549
|
key: `circle_plot_${c}_${g}`
|
|
1549
1550
|
}, [
|
|
1550
|
-
e.canShowValue(n.value) ? (
|
|
1551
|
+
e.canShowValue(n.value) ? (r(), V(L, {
|
|
1551
1552
|
key: 0,
|
|
1552
1553
|
shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(t.shape) ? t.shape : "circle",
|
|
1553
1554
|
color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${c}_${i.uniqueId})` : t.color,
|
|
@@ -1556,7 +1557,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1556
1557
|
stroke: e.FINAL_CONFIG.chart.backgroundColor,
|
|
1557
1558
|
strokeWidth: 0.5
|
|
1558
1559
|
}, null, 8, ["shape", "color", "plot", "radius", "stroke"])) : o("", !0),
|
|
1559
|
-
n.comment && e.FINAL_CONFIG.chart.comments.show ? (
|
|
1560
|
+
n.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), l("foreignObject", {
|
|
1560
1561
|
key: 1,
|
|
1561
1562
|
style: { overflow: "visible" },
|
|
1562
1563
|
height: "12",
|
|
@@ -1571,7 +1572,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1571
1572
|
])
|
|
1572
1573
|
], 8, Et)) : o("", !0)
|
|
1573
1574
|
]))), 128)),
|
|
1574
|
-
Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (
|
|
1575
|
+
Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (r(), l("g", Yt, [
|
|
1575
1576
|
u("defs", null, [
|
|
1576
1577
|
u("marker", {
|
|
1577
1578
|
id: `plot_arrow_${c}`,
|
|
@@ -1587,7 +1588,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1587
1588
|
}, null, 8, qt)
|
|
1588
1589
|
], 8, Xt)
|
|
1589
1590
|
]),
|
|
1590
|
-
t.plots.length > 1 ? (
|
|
1591
|
+
t.plots.length > 1 ? (r(), l("line", {
|
|
1591
1592
|
key: 0,
|
|
1592
1593
|
x1: e.calcLinearProgression(t.plots).x1,
|
|
1593
1594
|
x2: e.calcLinearProgression(t.plots).x2,
|
|
@@ -1598,7 +1599,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1598
1599
|
"stroke-dasharray": 2,
|
|
1599
1600
|
"marker-end": `url(#plot_arrow_${c})`
|
|
1600
1601
|
}, null, 8, Zt)) : o("", !0),
|
|
1601
|
-
t.plots.length > 1 ? (
|
|
1602
|
+
t.plots.length > 1 ? (r(), l("text", {
|
|
1602
1603
|
key: 1,
|
|
1603
1604
|
"text-anchor": "middle",
|
|
1604
1605
|
x: e.calcLinearProgression(t.plots).x2,
|
|
@@ -1612,23 +1613,23 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1612
1613
|
})), 9, Ut)) : o("", !0)
|
|
1613
1614
|
])) : o("", !0)
|
|
1614
1615
|
], 6))), 128)),
|
|
1615
|
-
(
|
|
1616
|
+
(r(!0), l(N, null, I(e.lineSet, (t, c) => (r(), l("g", {
|
|
1616
1617
|
key: `serie_line_${c}`,
|
|
1617
1618
|
class: M(`serie_line_${c}`),
|
|
1618
1619
|
style: A(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1619
1620
|
}, [
|
|
1620
|
-
t.smooth && t.plots.length > 1 ? (
|
|
1621
|
+
t.smooth && t.plots.length > 1 ? (r(), l("path", {
|
|
1621
1622
|
key: 0,
|
|
1622
1623
|
d: `M${t.curve}`,
|
|
1623
1624
|
stroke: e.FINAL_CONFIG.chart.backgroundColor,
|
|
1624
1625
|
"stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
|
|
1625
1626
|
"stroke-dasharray": t.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1626
1627
|
fill: "none"
|
|
1627
|
-
}, null, 8, Jt)) : t.plots.length > 1 ? (
|
|
1628
|
-
(
|
|
1628
|
+
}, null, 8, Jt)) : t.plots.length > 1 ? (r(), l("g", Qt, [
|
|
1629
|
+
(r(!0), l(N, null, I(t.plots, (n, g) => (r(), l("g", {
|
|
1629
1630
|
key: `line_${c}_${g}`
|
|
1630
1631
|
}, [
|
|
1631
|
-
n && g < t.plots.length - 1 && t.plots[g + 1] && e.canShowValue(n.value) && e.canShowValue(t.plots[g + 1].value) ? (
|
|
1632
|
+
n && g < t.plots.length - 1 && t.plots[g + 1] && e.canShowValue(n.value) && e.canShowValue(t.plots[g + 1].value) ? (r(), l("line", {
|
|
1632
1633
|
key: 0,
|
|
1633
1634
|
x1: n.x,
|
|
1634
1635
|
x2: t.plots[g + 1].x,
|
|
@@ -1643,34 +1644,34 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1643
1644
|
]))), 128))
|
|
1644
1645
|
])) : o("", !0)
|
|
1645
1646
|
], 6))), 128)),
|
|
1646
|
-
(
|
|
1647
|
+
(r(!0), l(N, null, I(e.lineSet, (t, c) => (r(), l("g", {
|
|
1647
1648
|
key: `serie_line_${c}`,
|
|
1648
1649
|
class: M(`serie_line_${c}`),
|
|
1649
1650
|
style: A(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1650
1651
|
}, [
|
|
1651
|
-
t.useArea && t.plots.length > 1 ? (
|
|
1652
|
-
t.smooth ? (
|
|
1652
|
+
t.useArea && t.plots.length > 1 ? (r(), l("g", jt, [
|
|
1653
|
+
t.smooth ? (r(), l("path", {
|
|
1653
1654
|
key: 0,
|
|
1654
1655
|
d: `M ${t.plots[0] ? t.plots[0].x : Math.min(...t.plots.filter((n) => !!n).map((n) => n.x))},${i.mutableConfig.isStacked ? e.drawingArea.bottom - t.yOffset : e.drawingArea.bottom} ${t.curve} L ${t.plots.at(-1) ? t.plots.at(-1).x : e.drawingArea.left + e.slot.line * c + e.slot.line / 2},${i.mutableConfig.isStacked ? e.drawingArea.bottom - t.yOffset : e.drawingArea.bottom} Z`,
|
|
1655
1656
|
fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${i.uniqueId})` : e.setOpacity(t.color, e.FINAL_CONFIG.line.area.opacity)
|
|
1656
|
-
}, null, 8, $t)) : (
|
|
1657
|
+
}, null, 8, $t)) : (r(), l("path", {
|
|
1657
1658
|
key: 1,
|
|
1658
1659
|
d: `M${t.area}Z`,
|
|
1659
1660
|
fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${i.uniqueId})` : e.setOpacity(t.color, e.FINAL_CONFIG.line.area.opacity)
|
|
1660
1661
|
}, null, 8, ea))
|
|
1661
1662
|
])) : o("", !0),
|
|
1662
|
-
t.smooth && t.plots.length > 1 ? (
|
|
1663
|
+
t.smooth && t.plots.length > 1 ? (r(), l("path", {
|
|
1663
1664
|
key: 1,
|
|
1664
1665
|
d: `M${t.curve}`,
|
|
1665
1666
|
stroke: t.color,
|
|
1666
1667
|
"stroke-width": e.FINAL_CONFIG.line.strokeWidth,
|
|
1667
1668
|
"stroke-dasharray": t.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1668
1669
|
fill: "none"
|
|
1669
|
-
}, null, 8, ta)) : t.plots.length > 1 ? (
|
|
1670
|
-
(
|
|
1670
|
+
}, null, 8, ta)) : t.plots.length > 1 ? (r(), l("g", aa, [
|
|
1671
|
+
(r(!0), l(N, null, I(t.plots, (n, g) => (r(), l("g", {
|
|
1671
1672
|
key: `line_${c}_${g}`
|
|
1672
1673
|
}, [
|
|
1673
|
-
n && g < t.plots.length - 1 && t.plots[g + 1] && e.canShowValue(n.value) && e.canShowValue(t.plots[g + 1].value) ? (
|
|
1674
|
+
n && g < t.plots.length - 1 && t.plots[g + 1] && e.canShowValue(n.value) && e.canShowValue(t.plots[g + 1].value) ? (r(), l("line", {
|
|
1674
1675
|
key: 0,
|
|
1675
1676
|
x1: n.x,
|
|
1676
1677
|
x2: t.plots[g + 1].x,
|
|
@@ -1684,10 +1685,10 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1684
1685
|
}, null, 8, ia)) : o("", !0)
|
|
1685
1686
|
]))), 128))
|
|
1686
1687
|
])) : o("", !0),
|
|
1687
|
-
(
|
|
1688
|
+
(r(!0), l(N, null, I(t.plots, (n, g) => (r(), l("g", {
|
|
1688
1689
|
key: `circle_line_${c}_${g}`
|
|
1689
1690
|
}, [
|
|
1690
|
-
n && e.canShowValue(n.value) ? (
|
|
1691
|
+
n && e.canShowValue(n.value) ? (r(), V(L, {
|
|
1691
1692
|
key: 0,
|
|
1692
1693
|
shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(t.shape) ? t.shape : "circle",
|
|
1693
1694
|
color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${c}_${i.uniqueId})` : t.color,
|
|
@@ -1696,7 +1697,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1696
1697
|
stroke: e.FINAL_CONFIG.chart.backgroundColor,
|
|
1697
1698
|
strokeWidth: 0.5
|
|
1698
1699
|
}, null, 8, ["shape", "color", "plot", "radius", "stroke"])) : o("", !0),
|
|
1699
|
-
n.comment && e.FINAL_CONFIG.chart.comments.show ? (
|
|
1700
|
+
n.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), l("foreignObject", {
|
|
1700
1701
|
key: 1,
|
|
1701
1702
|
style: { overflow: "visible" },
|
|
1702
1703
|
height: "12",
|
|
@@ -1704,14 +1705,14 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1704
1705
|
x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
|
|
1705
1706
|
y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
|
|
1706
1707
|
}, [
|
|
1707
|
-
u("div",
|
|
1708
|
+
u("div", la, [
|
|
1708
1709
|
O(a.$slots, "plot-comment", {
|
|
1709
1710
|
plot: { ...n, color: t.color }
|
|
1710
1711
|
}, void 0, !0)
|
|
1711
1712
|
])
|
|
1712
|
-
], 8,
|
|
1713
|
+
], 8, ra)) : o("", !0)
|
|
1713
1714
|
]))), 128)),
|
|
1714
|
-
Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (
|
|
1715
|
+
Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (r(), l("g", sa, [
|
|
1715
1716
|
u("defs", null, [
|
|
1716
1717
|
u("marker", {
|
|
1717
1718
|
id: `line_arrow_${c}`,
|
|
@@ -1727,7 +1728,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1727
1728
|
}, null, 8, ca)
|
|
1728
1729
|
], 8, na)
|
|
1729
1730
|
]),
|
|
1730
|
-
t.plots.length > 1 ? (
|
|
1731
|
+
t.plots.length > 1 ? (r(), l("line", {
|
|
1731
1732
|
key: 0,
|
|
1732
1733
|
x1: e.calcLinearProgression(t.plots).x1,
|
|
1733
1734
|
x2: e.calcLinearProgression(t.plots).x2,
|
|
@@ -1738,7 +1739,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1738
1739
|
"stroke-dasharray": 2,
|
|
1739
1740
|
"marker-end": `url(#line_arrow_${c})`
|
|
1740
1741
|
}, null, 8, ha)) : o("", !0),
|
|
1741
|
-
t.plots.length > 1 ? (
|
|
1742
|
+
t.plots.length > 1 ? (r(), l("text", {
|
|
1742
1743
|
key: 1,
|
|
1743
1744
|
"text-anchor": "middle",
|
|
1744
1745
|
x: e.calcLinearProgression(t.plots).x2,
|
|
@@ -1752,16 +1753,16 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1752
1753
|
})), 9, oa)) : o("", !0)
|
|
1753
1754
|
])) : o("", !0)
|
|
1754
1755
|
], 6))), 128)),
|
|
1755
|
-
(e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && i.mutableConfig.dataLabels.show ? (
|
|
1756
|
-
(
|
|
1756
|
+
(e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && i.mutableConfig.dataLabels.show ? (r(), l("g", da, [
|
|
1757
|
+
(r(!0), l(N, null, I(e.barSet, (t, c) => (r(), l("g", {
|
|
1757
1758
|
key: `xLabel_bar_${c}`,
|
|
1758
1759
|
class: M(`xLabel_bar_${c}`),
|
|
1759
1760
|
style: A(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1760
1761
|
}, [
|
|
1761
|
-
(
|
|
1762
|
+
(r(!0), l(N, null, I(t.plots, (n, g) => (r(), l("g", {
|
|
1762
1763
|
key: `xLabel_bar_${c}_${g}`
|
|
1763
1764
|
}, [
|
|
1764
|
-
n && (!Object.hasOwn(t, "dataLabels") || t.dataLabels === !0) && e.FINAL_CONFIG.bar.labels.show ? (
|
|
1765
|
+
n && (!Object.hasOwn(t, "dataLabels") || t.dataLabels === !0) && e.FINAL_CONFIG.bar.labels.show ? (r(), l("text", {
|
|
1765
1766
|
key: 0,
|
|
1766
1767
|
x: i.mutableConfig.useIndividualScale && i.mutableConfig.isStacked ? n.x + e.slot.line / 2 : e.calcRectX(n) + e.calcRectWidth() / 2 - e.barPeriodGap / 2,
|
|
1767
1768
|
y: e.checkNaN(n.y) + (n.value > 0 ? e.FINAL_CONFIG.bar.labels.offsetY : -e.FINAL_CONFIG.bar.labels.offsetY * 3),
|
|
@@ -1782,7 +1783,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1782
1783
|
serie: t
|
|
1783
1784
|
}
|
|
1784
1785
|
) : ""), 9, ua)) : o("", !0),
|
|
1785
|
-
n && e.FINAL_CONFIG.bar.serieName.show ? (
|
|
1786
|
+
n && e.FINAL_CONFIG.bar.serieName.show ? (r(), l("text", {
|
|
1786
1787
|
key: 1,
|
|
1787
1788
|
x: i.mutableConfig.useIndividualScale && i.mutableConfig.isStacked ? n.x + e.slot.line / 2 : n.x + e.calcRectWidth() * 1.1,
|
|
1788
1789
|
y: n.y + (n.value > 0 ? e.FINAL_CONFIG.bar.serieName.offsetY : -e.FINAL_CONFIG.bar.serieName.offsetY * 3),
|
|
@@ -1794,16 +1795,16 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1794
1795
|
]))), 128))
|
|
1795
1796
|
], 6))), 128))
|
|
1796
1797
|
])) : o("", !0),
|
|
1797
|
-
e.FINAL_CONFIG.plot.labels.show && i.mutableConfig.dataLabels.show ? (
|
|
1798
|
-
(
|
|
1798
|
+
e.FINAL_CONFIG.plot.labels.show && i.mutableConfig.dataLabels.show ? (r(), l("g", fa, [
|
|
1799
|
+
(r(!0), l(N, null, I(e.plotSet, (t, c) => (r(), l("g", {
|
|
1799
1800
|
key: `xLabel_plot_${c}`,
|
|
1800
1801
|
class: M(`xLabel_plot_${c}`),
|
|
1801
1802
|
style: A(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1802
1803
|
}, [
|
|
1803
|
-
(
|
|
1804
|
+
(r(!0), l(N, null, I(t.plots, (n, g) => (r(), l("g", {
|
|
1804
1805
|
key: `xLabel_plot_${c}_${g}`
|
|
1805
1806
|
}, [
|
|
1806
|
-
n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 ? (
|
|
1807
|
+
n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 ? (r(), l("text", {
|
|
1807
1808
|
key: 0,
|
|
1808
1809
|
x: n.x,
|
|
1809
1810
|
y: n.y + e.FINAL_CONFIG.plot.labels.offsetY,
|
|
@@ -1823,8 +1824,8 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1823
1824
|
datapoint: n,
|
|
1824
1825
|
serie: t
|
|
1825
1826
|
}
|
|
1826
|
-
) : ""), 9,
|
|
1827
|
-
n && g === 0 && t.useTag && t.useTag === "start" ? (
|
|
1827
|
+
) : ""), 9, Na)) : o("", !0),
|
|
1828
|
+
n && g === 0 && t.useTag && t.useTag === "start" ? (r(), l("foreignObject", {
|
|
1828
1829
|
key: 1,
|
|
1829
1830
|
x: n.x,
|
|
1830
1831
|
y: n.y - 20,
|
|
@@ -1835,8 +1836,8 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1835
1836
|
u("div", {
|
|
1836
1837
|
style: A(`padding: 3px; background:${e.setOpacity(t.color, 80)};color:${e.adaptColorToBackground(t.color)};width:fit-content;font-size:${i.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1837
1838
|
}, S(t.name), 5)
|
|
1838
|
-
], 8,
|
|
1839
|
-
n && g === t.plots.length - 1 && t.useTag && t.useTag === "end" ? (
|
|
1839
|
+
], 8, ma)) : o("", !0),
|
|
1840
|
+
n && g === t.plots.length - 1 && t.useTag && t.useTag === "end" ? (r(), l("foreignObject", {
|
|
1840
1841
|
key: 2,
|
|
1841
1842
|
x: n.x - t.name.length * (i.fontSizes.plotLabels / 2),
|
|
1842
1843
|
y: n.y - 20,
|
|
@@ -1851,16 +1852,16 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1851
1852
|
]))), 128))
|
|
1852
1853
|
], 6))), 128))
|
|
1853
1854
|
])) : o("", !0),
|
|
1854
|
-
e.FINAL_CONFIG.line.labels.show && i.mutableConfig.dataLabels.show ? (
|
|
1855
|
-
(
|
|
1855
|
+
e.FINAL_CONFIG.line.labels.show && i.mutableConfig.dataLabels.show ? (r(), l("g", xa, [
|
|
1856
|
+
(r(!0), l(N, null, I(e.lineSet, (t, c) => (r(), l("g", {
|
|
1856
1857
|
key: `xLabel_line_${c}`,
|
|
1857
1858
|
class: M(`xLabel_line_${c}`),
|
|
1858
1859
|
style: A(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1859
1860
|
}, [
|
|
1860
|
-
(
|
|
1861
|
+
(r(!0), l(N, null, I(t.plots, (n, g) => (r(), l("g", {
|
|
1861
1862
|
key: `xLabel_line_${c}_${g}`
|
|
1862
1863
|
}, [
|
|
1863
|
-
n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 ? (
|
|
1864
|
+
n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 ? (r(), l("text", {
|
|
1864
1865
|
key: 0,
|
|
1865
1866
|
x: n.x,
|
|
1866
1867
|
y: n.y + (n.value > 0 ? e.FINAL_CONFIG.line.labels.offsetY : -e.FINAL_CONFIG.line.labels.offsetY * 3),
|
|
@@ -1881,7 +1882,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1881
1882
|
serie: t
|
|
1882
1883
|
}
|
|
1883
1884
|
) : ""), 9, ba)) : o("", !0),
|
|
1884
|
-
n && g === 0 && t.useTag && t.useTag === "start" ? (
|
|
1885
|
+
n && g === 0 && t.useTag && t.useTag === "start" ? (r(), l("foreignObject", {
|
|
1885
1886
|
key: 1,
|
|
1886
1887
|
x: n.x,
|
|
1887
1888
|
y: n.y - 20,
|
|
@@ -1893,7 +1894,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1893
1894
|
style: A(`padding: 3px; background:${e.setOpacity(t.color, 80)};color:${e.adaptColorToBackground(t.color)};width:fit-content;font-size:${i.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1894
1895
|
}, S(t.name), 5)
|
|
1895
1896
|
], 8, Fa)) : o("", !0),
|
|
1896
|
-
n && g === t.plots.length - 1 && t.useTag && t.useTag === "end" ? (
|
|
1897
|
+
n && g === t.plots.length - 1 && t.useTag && t.useTag === "end" ? (r(), l("foreignObject", {
|
|
1897
1898
|
key: 2,
|
|
1898
1899
|
x: n.x - t.name.length * (i.fontSizes.plotLabels / 2),
|
|
1899
1900
|
y: n.y - 20,
|
|
@@ -1908,15 +1909,15 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1908
1909
|
]))), 128))
|
|
1909
1910
|
], 6))), 128))
|
|
1910
1911
|
])) : o("", !0),
|
|
1911
|
-
(
|
|
1912
|
+
(r(!0), l(N, null, I(e.lineSet, (t, c) => (r(), l("g", {
|
|
1912
1913
|
key: `xLabel_line_${c}`,
|
|
1913
1914
|
class: M(`xLabel_line_${c}`),
|
|
1914
1915
|
style: A(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1915
1916
|
}, [
|
|
1916
|
-
(
|
|
1917
|
+
(r(!0), l(N, null, I(t.plots, (n, g) => (r(), l("g", {
|
|
1917
1918
|
key: `xLabel_line_${c}_${g}`
|
|
1918
1919
|
}, [
|
|
1919
|
-
n && g === 0 && t.showSerieName && t.showSerieName === "start" ? (
|
|
1920
|
+
n && g === 0 && t.showSerieName && t.showSerieName === "start" ? (r(), l("text", {
|
|
1920
1921
|
key: 0,
|
|
1921
1922
|
x: n.x - i.fontSizes.plotLabels,
|
|
1922
1923
|
y: n.y,
|
|
@@ -1932,7 +1933,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1932
1933
|
maxWords: 2
|
|
1933
1934
|
})
|
|
1934
1935
|
}, null, 8, ya)) : o("", !0),
|
|
1935
|
-
n && g === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (
|
|
1936
|
+
n && g === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (r(), l("text", {
|
|
1936
1937
|
key: 1,
|
|
1937
1938
|
x: n.x + i.fontSizes.plotLabels,
|
|
1938
1939
|
y: n.y,
|
|
@@ -1950,15 +1951,15 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1950
1951
|
}, null, 8, Aa)) : o("", !0)
|
|
1951
1952
|
]))), 128))
|
|
1952
1953
|
], 6))), 128)),
|
|
1953
|
-
(
|
|
1954
|
+
(r(!0), l(N, null, I(e.plotSet, (t, c) => (r(), l("g", {
|
|
1954
1955
|
key: `xLabel_plot_${c}`,
|
|
1955
1956
|
class: M(`xLabel_plot_${c}`),
|
|
1956
1957
|
style: A(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1957
1958
|
}, [
|
|
1958
|
-
(
|
|
1959
|
+
(r(!0), l(N, null, I(t.plots, (n, g) => (r(), l("g", {
|
|
1959
1960
|
key: `xLabel_plot_${c}_${g}`
|
|
1960
1961
|
}, [
|
|
1961
|
-
n && g === 0 && t.showSerieName && t.showSerieName === "start" ? (
|
|
1962
|
+
n && g === 0 && t.showSerieName && t.showSerieName === "start" ? (r(), l("text", {
|
|
1962
1963
|
key: 0,
|
|
1963
1964
|
x: n.x - i.fontSizes.plotLabels,
|
|
1964
1965
|
y: n.y,
|
|
@@ -1974,7 +1975,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1974
1975
|
maxWords: 2
|
|
1975
1976
|
})
|
|
1976
1977
|
}, null, 8, La)) : o("", !0),
|
|
1977
|
-
n && g === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (
|
|
1978
|
+
n && g === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (r(), l("text", {
|
|
1978
1979
|
key: 1,
|
|
1979
1980
|
x: n.x + i.fontSizes.plotLabels,
|
|
1980
1981
|
y: n.y,
|
|
@@ -1992,7 +1993,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
1992
1993
|
}, null, 8, Ca)) : o("", !0)
|
|
1993
1994
|
]))), 128))
|
|
1994
1995
|
], 6))), 128)),
|
|
1995
|
-
i.mutableConfig.useIndividualScale && !i.mutableConfig.isStacked ? (
|
|
1996
|
+
i.mutableConfig.useIndividualScale && !i.mutableConfig.isStacked ? (r(!0), l(N, { key: 8 }, I(e.allScales, (t) => (r(), l("rect", {
|
|
1996
1997
|
x: t.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
|
|
1997
1998
|
y: e.drawingArea.top,
|
|
1998
1999
|
width: e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
|
|
@@ -2002,7 +2003,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
2002
2003
|
onMouseleave: s[0] || (s[0] = (c) => i.selectedScale = null)
|
|
2003
2004
|
}, null, 40, Sa))), 256)) : o("", !0),
|
|
2004
2005
|
u("g", null, [
|
|
2005
|
-
e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !i.mutableConfig.useIndividualScale ? (
|
|
2006
|
+
e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !i.mutableConfig.useIndividualScale ? (r(), l("text", {
|
|
2006
2007
|
key: 0,
|
|
2007
2008
|
"font-size": i.fontSizes.yAxis,
|
|
2008
2009
|
fill: e.FINAL_CONFIG.chart.grid.labels.color,
|
|
@@ -2010,7 +2011,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
2010
2011
|
"text-anchor": "middle",
|
|
2011
2012
|
style: { transition: "none" }
|
|
2012
2013
|
}, S(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, ka)) : o("", !0),
|
|
2013
|
-
e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (
|
|
2014
|
+
e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (r(), l("text", {
|
|
2014
2015
|
key: 1,
|
|
2015
2016
|
"text-anchor": "middle",
|
|
2016
2017
|
x: i.width / 2,
|
|
@@ -2019,11 +2020,11 @@ function Ya(a, s, h, f, i, e) {
|
|
|
2019
2020
|
fill: e.FINAL_CONFIG.chart.grid.labels.color
|
|
2020
2021
|
}, S(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, wa)) : o("", !0)
|
|
2021
2022
|
]),
|
|
2022
|
-
e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (
|
|
2023
|
-
(
|
|
2023
|
+
e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (r(), l("g", Oa, [
|
|
2024
|
+
(r(!0), l(N, null, I(e.timeLabels, (t, c) => (r(), l("g", {
|
|
2024
2025
|
key: `time_label_${c}`
|
|
2025
2026
|
}, [
|
|
2026
|
-
t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && i.selectedSerieIndex === c && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && c % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (
|
|
2027
|
+
t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && i.selectedSerieIndex === c && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && c % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (r(), l("text", {
|
|
2027
2028
|
key: 0,
|
|
2028
2029
|
"text-anchor": e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
|
|
2029
2030
|
"font-size": i.fontSizes.xAxis,
|
|
@@ -2033,7 +2034,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
2033
2034
|
]))), 128))
|
|
2034
2035
|
])) : o("", !0),
|
|
2035
2036
|
u("g", null, [
|
|
2036
|
-
(
|
|
2037
|
+
(r(!0), l(N, null, I(e.maxSeries, (t, c) => (r(), l("g", {
|
|
2037
2038
|
key: `tooltip_trap_${c}`
|
|
2038
2039
|
}, [
|
|
2039
2040
|
u("rect", {
|
|
@@ -2049,8 +2050,8 @@ function Ya(a, s, h, f, i, e) {
|
|
|
2049
2050
|
}, null, 40, Ga)
|
|
2050
2051
|
]))), 128))
|
|
2051
2052
|
]),
|
|
2052
|
-
e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(i.selectedSerieIndex) ? (
|
|
2053
|
-
(
|
|
2053
|
+
e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(i.selectedSerieIndex) ? (r(), l("g", pa, [
|
|
2054
|
+
(r(), l("foreignObject", {
|
|
2054
2055
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * i.selectedSerieIndex - 100 + e.drawingArea.width / e.maxSeries / 2,
|
|
2055
2056
|
y: e.drawingArea.bottom,
|
|
2056
2057
|
width: "200",
|
|
@@ -2072,10 +2073,10 @@ function Ya(a, s, h, f, i, e) {
|
|
|
2072
2073
|
])) : o("", !0),
|
|
2073
2074
|
O(a.$slots, "svg", { svg: e.svg }, void 0, !0)
|
|
2074
2075
|
], 14, Ze)) : o("", !0),
|
|
2075
|
-
a.$slots.watermark ? (
|
|
2076
|
+
a.$slots.watermark ? (r(), l("div", Ta, [
|
|
2076
2077
|
O(a.$slots, "watermark", B(Y({ isPrinting: i.isPrinting || i.isImaging })), void 0, !0)
|
|
2077
2078
|
])) : o("", !0),
|
|
2078
|
-
e.isDataset ? o("", !0) : (
|
|
2079
|
+
e.isDataset ? o("", !0) : (r(), V(m, {
|
|
2079
2080
|
key: 4,
|
|
2080
2081
|
config: {
|
|
2081
2082
|
type: "line",
|
|
@@ -2093,7 +2094,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
2093
2094
|
}
|
|
2094
2095
|
}
|
|
2095
2096
|
}, null, 8, ["config"])),
|
|
2096
|
-
e.FINAL_CONFIG.chart.zoom.show && i.maxX > 6 && e.isDataset ? (
|
|
2097
|
+
e.FINAL_CONFIG.chart.zoom.show && i.maxX > 6 && e.isDataset ? (r(), V(C, {
|
|
2097
2098
|
ref: "chartSlicer",
|
|
2098
2099
|
key: `slicer_${i.slicerStep}`,
|
|
2099
2100
|
background: e.FINAL_CONFIG.chart.zoom.color,
|
|
@@ -2129,18 +2130,18 @@ function Ya(a, s, h, f, i, e) {
|
|
|
2129
2130
|
]),
|
|
2130
2131
|
_: 3
|
|
2131
2132
|
}, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "max", "valueStart", "valueEnd", "start", "end", "onReset", "onTrapMouse"])) : o("", !0),
|
|
2132
|
-
e.FINAL_CONFIG.chart.legend.show ? (
|
|
2133
|
+
e.FINAL_CONFIG.chart.legend.show ? (r(), l("div", {
|
|
2133
2134
|
key: 6,
|
|
2134
2135
|
ref: "chartLegend",
|
|
2135
2136
|
class: "vue-ui-xy-legend",
|
|
2136
2137
|
style: A(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
|
|
2137
2138
|
}, [
|
|
2138
|
-
(
|
|
2139
|
+
(r(!0), l(N, null, I(e.absoluteDataset, (t, c) => (r(), l("div", {
|
|
2139
2140
|
key: `div_legend_item_${c}`,
|
|
2140
2141
|
onClick: (n) => e.segregate(t),
|
|
2141
2142
|
class: M({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": i.segregatedSeries.includes(t.id) })
|
|
2142
2143
|
}, [
|
|
2143
|
-
i.icons[t.type] === "line" ? (
|
|
2144
|
+
i.icons[t.type] === "line" ? (r(), l("svg", Va, [
|
|
2144
2145
|
u("rect", {
|
|
2145
2146
|
x: "0",
|
|
2146
2147
|
y: "7",
|
|
@@ -2158,8 +2159,8 @@ function Ya(a, s, h, f, i, e) {
|
|
|
2158
2159
|
stroke: e.FINAL_CONFIG.chart.backgroundColor,
|
|
2159
2160
|
strokeWidth: 1
|
|
2160
2161
|
}, null, 8, ["color", "shape", "stroke"])
|
|
2161
|
-
])) : (
|
|
2162
|
-
i.icons[t.type] === "bar" ? (
|
|
2162
|
+
])) : (r(), l("svg", Da, [
|
|
2163
|
+
i.icons[t.type] === "bar" ? (r(), l("rect", {
|
|
2163
2164
|
key: 0,
|
|
2164
2165
|
x: "0",
|
|
2165
2166
|
y: "0",
|
|
@@ -2168,7 +2169,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
2168
2169
|
width: "12",
|
|
2169
2170
|
stroke: "none",
|
|
2170
2171
|
fill: t.color
|
|
2171
|
-
}, null, 8, Ha)) : (
|
|
2172
|
+
}, null, 8, Ha)) : (r(), V(L, {
|
|
2172
2173
|
key: 1,
|
|
2173
2174
|
plot: { x: 6, y: 6 },
|
|
2174
2175
|
radius: 5,
|
|
@@ -2180,7 +2181,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
2180
2181
|
style: A(`color:${e.FINAL_CONFIG.chart.legend.color}`)
|
|
2181
2182
|
}, S(t.name), 5)
|
|
2182
2183
|
], 10, Pa))), 128))
|
|
2183
|
-
], 4)) : (
|
|
2184
|
+
], 4)) : (r(), l("div", Wa, [
|
|
2184
2185
|
O(a.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
|
|
2185
2186
|
], 512)),
|
|
2186
2187
|
q(z, {
|
|
@@ -2206,7 +2207,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
2206
2207
|
]),
|
|
2207
2208
|
_: 3
|
|
2208
2209
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
2209
|
-
e.isDataset ? (
|
|
2210
|
+
e.isDataset ? (r(), V(b, {
|
|
2210
2211
|
key: 8,
|
|
2211
2212
|
hideDetails: "",
|
|
2212
2213
|
config: {
|
|
@@ -2244,11 +2245,11 @@ function Ya(a, s, h, f, i, e) {
|
|
|
2244
2245
|
}, null, 8, ["stroke"])
|
|
2245
2246
|
])
|
|
2246
2247
|
]),
|
|
2247
|
-
i.showSparklineTable ? (
|
|
2248
|
+
i.showSparklineTable ? (r(), V(G, {
|
|
2248
2249
|
key: `sparkline_${i.segregateStep}`,
|
|
2249
2250
|
dataset: e.tableSparklineDataset,
|
|
2250
2251
|
config: e.tableSparklineConfig
|
|
2251
|
-
}, null, 8, ["dataset", "config"])) : (
|
|
2252
|
+
}, null, 8, ["dataset", "config"])) : (r(), V(v, {
|
|
2252
2253
|
key: `table_${i.tableStep}`,
|
|
2253
2254
|
colNames: e.dataTable.colNames,
|
|
2254
2255
|
head: e.dataTable.head,
|
|
@@ -2276,7 +2277,7 @@ function Ya(a, s, h, f, i, e) {
|
|
|
2276
2277
|
}, 8, ["config"])) : o("", !0)
|
|
2277
2278
|
], 14, qe);
|
|
2278
2279
|
}
|
|
2279
|
-
const si = /* @__PURE__ */ Be(Xe, [["render", Ya], ["__scopeId", "data-v-
|
|
2280
|
+
const si = /* @__PURE__ */ Be(Xe, [["render", Ya], ["__scopeId", "data-v-54696ebc"]]);
|
|
2280
2281
|
export {
|
|
2281
2282
|
si as default
|
|
2282
2283
|
};
|