vue-data-ui 2.3.84 → 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-CQ1ubni5.js → Arrow-CJ7hmWgf.js} +1 -1
- package/dist/{Arrow-Uk_vwKtL.cjs → Arrow-CebZn6E4.cjs} +1 -1
- package/dist/{BaseIcon-B9ZZ6wkT.js → BaseIcon-B9istAKo.js} +1 -1
- package/dist/{BaseIcon-CF1HQdM0.cjs → BaseIcon-DnG75_Ol.cjs} +1 -1
- package/dist/{DataTable-CEtr89Og.cjs → DataTable-BA_BCbHC.cjs} +1 -1
- package/dist/{DataTable-C-iU_7h7.js → DataTable-tSDSY14n.js} +2 -2
- package/dist/{Legend-D2ZBCCXe.cjs → Legend-BOY57qwA.cjs} +1 -1
- package/dist/{Legend-pU_BwhaW.js → Legend-D3hovFqM.js} +1 -1
- package/dist/{Shape-BO_KyCq8.cjs → Shape-D6jrLLku.cjs} +1 -1
- package/dist/{Shape-CyM44biU.js → Shape-XiTBfhJM.js} +1 -1
- package/dist/{Slicer-CZobytqL.js → Slicer-BMvzmCKt.js} +2 -2
- package/dist/{Slicer-BAMZ4wsl.cjs → Slicer-sZ-DArc4.cjs} +1 -1
- package/dist/{Title-B1_d29Eh.cjs → Title-Ahj4TYHa.cjs} +1 -1
- package/dist/{Title-Bk3h09h9.js → Title-DJ2FNrSN.js} +1 -1
- package/dist/{Tooltip-CdB80DsD.js → Tooltip-CQpXRqRC.js} +1 -1
- package/dist/{Tooltip-BU4cSEF0.cjs → Tooltip-XhevgJmm.cjs} +1 -1
- package/dist/index-CVgBMJU6.cjs +4 -0
- package/dist/{index-DI4DaxVG.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-BdsfyHWU.cjs → useNestedProp-B-NmF2LO.cjs} +1 -1
- package/dist/{useNestedProp-COsQo-tX.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-kGaLyV0o.cjs → vue-data-ui-DlNasA0G.cjs} +1 -1
- package/dist/{vue-data-ui-9nofTL7J.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-lKgwKkVj.js → vue-ui-3d-bar-D-0SSMOt.js} +165 -164
- package/dist/{vue-ui-accordion-C8ka_Ot0.cjs → vue-ui-accordion-BaV9R6cy.cjs} +1 -1
- package/dist/{vue-ui-accordion-DsN9lxvc.js → vue-ui-accordion-DzTB2FL0.js} +3 -3
- package/dist/vue-ui-age-pyramid-Bx4BuL3K.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-D2lSXDX6.js → vue-ui-age-pyramid-_eo2DGen.js} +68 -67
- package/dist/{vue-ui-annotator-DoLG0N5e.js → vue-ui-annotator-8j2dJ0CU.js} +1 -1
- package/dist/{vue-ui-annotator-DmfAqbqB.cjs → vue-ui-annotator-CDZtr6tp.cjs} +1 -1
- package/dist/{vue-ui-candlestick-vhHV9d6O.js → vue-ui-candlestick-CsF7OSvJ.js} +83 -82
- package/dist/vue-ui-candlestick-NypxP0Uu.cjs +2 -0
- package/dist/{vue-ui-carousel-table-BmyArloA.js → vue-ui-carousel-table-CMHd2i-6.js} +7 -7
- package/dist/{vue-ui-carousel-table-DaQV2SlJ.cjs → vue-ui-carousel-table-CV0eVeRd.cjs} +1 -1
- package/dist/{vue-ui-chestnut-DvNW2Y0z.cjs → vue-ui-chestnut-B9miwyAN.cjs} +2 -2
- package/dist/{vue-ui-chestnut-DgbbDtL0.js → vue-ui-chestnut-CVftKftk.js} +11 -10
- package/dist/{vue-ui-cursor-zXDNHCZv.cjs → vue-ui-cursor-Bsrt107X.cjs} +1 -1
- package/dist/{vue-ui-cursor-7-jKCnOY.js → vue-ui-cursor-wujy8n_T.js} +2 -2
- package/dist/{vue-ui-dashboard-DMossMh1.cjs → vue-ui-dashboard-BCN0BhjL.cjs} +1 -1
- package/dist/{vue-ui-dashboard-B_pnIQ5P.js → vue-ui-dashboard-Cvy0gI52.js} +2 -2
- package/dist/{vue-ui-digits-BL8Vyod-.cjs → vue-ui-digits-CnHgzHPI.cjs} +1 -1
- package/dist/{vue-ui-digits-C-lpZ-rg.js → vue-ui-digits-J-WrKKHg.js} +2 -2
- package/dist/{vue-ui-donut-e-p-l-_7.js → vue-ui-donut-BOhWcHY_.js} +91 -90
- package/dist/vue-ui-donut-CZ1iKZq6.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Ol1YS2OF.js → vue-ui-donut-evolution-CSSYuoti.js} +83 -82
- package/dist/vue-ui-donut-evolution-DuY2883r.cjs +1 -0
- package/dist/{vue-ui-dumbbell-BjTXdj83.js → vue-ui-dumbbell-Cm0Rp_6W.js} +23 -22
- package/dist/{vue-ui-dumbbell-CMFNfda1.cjs → vue-ui-dumbbell-i9QcsSVO.cjs} +2 -2
- package/dist/{vue-ui-flow-B4mdXrld.js → vue-ui-flow-0m7a1NP7.js} +54 -53
- package/dist/vue-ui-flow-DXCBGdQT.cjs +1 -0
- package/dist/vue-ui-galaxy-D6GyjAnX.cjs +1 -0
- package/dist/{vue-ui-galaxy-Eg1e5SG7.js → vue-ui-galaxy-DCHEdZAl.js} +87 -86
- package/dist/{vue-ui-gauge-BTt63SCn.js → vue-ui-gauge-HcM2JJpg.js} +78 -77
- package/dist/vue-ui-gauge-wbHQGQro.cjs +1 -0
- package/dist/{vue-ui-gizmo-bFlUFJa8.cjs → vue-ui-gizmo-B-zMyi1m.cjs} +1 -1
- package/dist/{vue-ui-gizmo-C0aF0qVF.js → vue-ui-gizmo-Bfo_nUnZ.js} +2 -2
- package/dist/{vue-ui-heatmap-kiVWYvjC.js → vue-ui-heatmap-CxIHmv0t.js} +170 -169
- package/dist/vue-ui-heatmap-Du2vI5Ae.cjs +1 -0
- package/dist/{vue-ui-kpi-qw5ofS-z.cjs → vue-ui-kpi-BOe7-M9V.cjs} +1 -1
- package/dist/{vue-ui-kpi-DdtZLwfi.js → vue-ui-kpi-DibULfkp.js} +3 -3
- package/dist/{vue-ui-mini-loader-B8YrB3X-.cjs → vue-ui-mini-loader-Bv7l-Kx3.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DcL5v-Tv.js → vue-ui-mini-loader-qFRhERid.js} +2 -2
- package/dist/{vue-ui-molecule-BpomHzqe.js → vue-ui-molecule-4cIGPnWg.js} +282 -278
- package/dist/vue-ui-molecule-eOj3ZjvT.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BV9xC9xF.js → vue-ui-mood-radar-BTe21WKk.js} +144 -143
- package/dist/vue-ui-mood-radar-tUFqqekd.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-D7D20nJu.js → vue-ui-nested-donuts-BVzabOga.js} +65 -64
- package/dist/vue-ui-nested-donuts-BigBLrFR.cjs +17 -0
- package/dist/{vue-ui-onion-4wR10l5H.js → vue-ui-onion-C3TAKqro.js} +90 -89
- package/dist/vue-ui-onion-_ZC3vbIS.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-BiXGkfj7.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DA3byJV2.js → vue-ui-parallel-coordinate-plot-CKoCQXqj.js} +40 -39
- package/dist/vue-ui-quadrant-B67wGTic.cjs +1 -0
- package/dist/{vue-ui-quadrant-D5wvd5h3.js → vue-ui-quadrant-CKnyfJoi.js} +51 -50
- package/dist/vue-ui-quick-chart-DEjdx0AB.cjs +15 -0
- package/dist/{vue-ui-quick-chart-CTSq5JJE.js → vue-ui-quick-chart-DZDYYnsI.js} +63 -62
- package/dist/vue-ui-radar-Cm_QkYGb.cjs +1 -0
- package/dist/{vue-ui-radar-OW6awckj.js → vue-ui-radar-v9yayJxu.js} +44 -43
- package/dist/{vue-ui-rating-C6gyJWJF.js → vue-ui-rating-Cc_N7qbe.js} +2 -2
- package/dist/{vue-ui-rating-3ZVG38br.cjs → vue-ui-rating-DV4cCZbB.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-Dr9-ozKG.js → vue-ui-relation-circle-Clqo4kkb.js} +74 -73
- package/dist/vue-ui-relation-circle-DcpIVbI6.cjs +1 -0
- package/dist/{vue-ui-rings-Ce6tFKrN.js → vue-ui-rings-D27xNq9q.js} +78 -77
- package/dist/vue-ui-rings-DTn3t8Ku.cjs +2 -0
- package/dist/{vue-ui-scatter-C_3WQPMf.js → vue-ui-scatter-C07Mon-6.js} +53 -52
- package/dist/vue-ui-scatter-CXbrqLFm.cjs +1 -0
- package/dist/{vue-ui-screenshot-BvE2dsvU.js → vue-ui-screenshot-CsxqbqlJ.js} +1 -1
- package/dist/{vue-ui-screenshot-D6N4GbAL.cjs → vue-ui-screenshot-D8TAvQYN.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DH4t1hrL.js → vue-ui-skeleton-BLiYyX95.js} +2 -2
- package/dist/{vue-ui-skeleton-CkSlhfsB.cjs → vue-ui-skeleton-Br1K3exH.cjs} +1 -1
- package/dist/{vue-ui-smiley-C-92SyPZ.js → vue-ui-smiley-BUHatT3Z.js} +2 -2
- package/dist/{vue-ui-smiley-CSA28QLT.cjs → vue-ui-smiley-CR_TkSYT.cjs} +1 -1
- package/dist/vue-ui-spark-trend-CnUz6s1m.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CrElvUcG.js → vue-ui-spark-trend-GY2CfYRt.js} +29 -29
- package/dist/vue-ui-sparkbar-DaFwUA6Z.cjs +1 -0
- package/dist/{vue-ui-sparkbar-DrbkUcOX.js → vue-ui-sparkbar-tdgek1gv.js} +27 -27
- package/dist/{vue-ui-sparkgauge-PSRf_u0V.js → vue-ui-sparkgauge-1zu5KmTA.js} +22 -22
- package/dist/vue-ui-sparkgauge-D8P01Hem.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-pZslBri7.js → vue-ui-sparkhistogram-b68QStxA.js} +52 -52
- package/dist/vue-ui-sparkhistogram-mg6yuwLH.cjs +1 -0
- package/dist/{vue-ui-sparkline-CqgArzCs.cjs → vue-ui-sparkline-CAqav9Gn.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BPExupWx.js → vue-ui-sparkline-CMmtp8MK.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-i02y9FzO.js → vue-ui-sparkstackbar-Cz8tOM3m.js} +6 -6
- package/dist/vue-ui-sparkstackbar-DOrquZvw.cjs +1 -0
- package/dist/vue-ui-stackbar-DUa5F_Zl.cjs +6 -0
- package/dist/{vue-ui-stackbar-DfXxN_P3.js → vue-ui-stackbar-DeQkP1dj.js} +64 -63
- package/dist/vue-ui-strip-plot-KNL9ToYG.cjs +1 -0
- package/dist/{vue-ui-strip-plot-BZ-we0b1.js → vue-ui-strip-plot-vqOCzdFV.js} +73 -72
- package/dist/{vue-ui-table-Dy26T2oy.cjs → vue-ui-table-BCdHNku5.cjs} +1 -1
- package/dist/{vue-ui-table-BqLbMTHt.js → vue-ui-table-DDdVqdHt.js} +1 -1
- package/dist/vue-ui-table-heatmap-BJDnZMZN.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-KzoqT8nX.js → vue-ui-table-heatmap-DQg_jtYq.js} +27 -26
- package/dist/{vue-ui-table-sparkline-BakiSjV4.js → vue-ui-table-sparkline-Bg-VFq7X.js} +25 -24
- package/dist/{vue-ui-table-sparkline-BBEsDDnN.cjs → vue-ui-table-sparkline-D8DJxb5J.cjs} +1 -1
- package/dist/{vue-ui-thermometer-D7cgRJoy.js → vue-ui-thermometer-CajBbbYc.js} +60 -59
- package/dist/vue-ui-thermometer-eYM8DX7u.cjs +1 -0
- package/dist/{vue-ui-timer-r4VFny9D.js → vue-ui-timer-D3VRVK-8.js} +4 -4
- package/dist/{vue-ui-timer-COLXZ1J1.cjs → vue-ui-timer-RclP4Tql.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DNQpuz8A.js → vue-ui-tiremarks-BT0k_3xi.js} +93 -92
- package/dist/vue-ui-tiremarks-Bc8bBBAw.cjs +1 -0
- package/dist/{vue-ui-treemap-CsHaQjwu.cjs → vue-ui-treemap-BjWDt2b2.cjs} +1 -1
- package/dist/{vue-ui-treemap-CD5GoXrU.js → vue-ui-treemap-DMhe3zCm.js} +14 -13
- package/dist/vue-ui-vertical-bar-DWzafNBH.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-DRH98pOw.js → vue-ui-vertical-bar-hH9R9V-K.js} +180 -179
- package/dist/vue-ui-waffle-BvYE9hAY.cjs +1 -0
- package/dist/{vue-ui-waffle-l9NGD_0B.js → vue-ui-waffle-DnNd6Iba.js} +85 -84
- package/dist/{vue-ui-wheel-BpqWo_KY.js → vue-ui-wheel-Bx9_m-7W.js} +72 -71
- package/dist/vue-ui-wheel-CVBmY6h7.cjs +1 -0
- package/dist/vue-ui-word-cloud-3R-mYkIW.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DLaAm8t8.js → vue-ui-word-cloud-DUk0Xt8q.js} +109 -108
- package/dist/{vue-ui-xy-Ct-9OxiZ.js → vue-ui-xy-FtaqoNK8.js} +401 -405
- package/dist/{vue-ui-xy-canvas-BU3nj2M1.js → vue-ui-xy-canvas-Bp4PTl_E.js} +54 -53
- package/dist/{vue-ui-xy-canvas-Bub1qCm9.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-Cx-40Fnz.cjs +0 -4
- package/dist/usePrinter-D9bNzUQP.js +0 -513
- package/dist/usePrinter-DbhL59iY.cjs +0 -1
- package/dist/vue-ui-3d-bar-1aTroDle.cjs +0 -19
- package/dist/vue-ui-age-pyramid-D8Tr8jvT.cjs +0 -1
- package/dist/vue-ui-candlestick-BAuWAMct.cjs +0 -2
- package/dist/vue-ui-donut-evolution-DsdzjA88.cjs +0 -1
- package/dist/vue-ui-donut-w1eqaTu0.cjs +0 -1
- package/dist/vue-ui-flow-oBnzNN4s.cjs +0 -1
- package/dist/vue-ui-galaxy-DgxKqf6u.cjs +0 -1
- package/dist/vue-ui-gauge-B64pcc54.cjs +0 -1
- package/dist/vue-ui-heatmap-cjY0mi4a.cjs +0 -1
- package/dist/vue-ui-molecule-B8cYtnHq.cjs +0 -1
- package/dist/vue-ui-mood-radar-BA2VVPO5.cjs +0 -1
- package/dist/vue-ui-nested-donuts-C3CMWjgk.cjs +0 -17
- package/dist/vue-ui-onion-CVp0g8MP.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-CmaHQR6-.cjs +0 -8
- package/dist/vue-ui-quadrant-B8ffMNIS.cjs +0 -1
- package/dist/vue-ui-quick-chart-hnVT9GKL.cjs +0 -15
- package/dist/vue-ui-radar-ySl7KzoX.cjs +0 -1
- package/dist/vue-ui-relation-circle-CMW26dvv.cjs +0 -1
- package/dist/vue-ui-rings-CR1t6iss.cjs +0 -2
- package/dist/vue-ui-scatter-CKtgbptk.cjs +0 -1
- package/dist/vue-ui-spark-trend-D4d4Mr24.cjs +0 -1
- package/dist/vue-ui-sparkbar-DDqy0UBm.cjs +0 -1
- package/dist/vue-ui-sparkgauge-D6cG2rb8.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-B9sVdLfh.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-BbGJ75_9.cjs +0 -1
- package/dist/vue-ui-stackbar-CRbcnnwn.cjs +0 -6
- package/dist/vue-ui-strip-plot-oZBXDxc-.cjs +0 -1
- package/dist/vue-ui-table-heatmap-BnwiB4id.cjs +0 -1
- package/dist/vue-ui-thermometer-E0mrvP4G.cjs +0 -1
- package/dist/vue-ui-tiremarks-C15sglnJ.cjs +0 -1
- package/dist/vue-ui-vertical-bar-DucujxOR.cjs +0 -4
- package/dist/vue-ui-waffle-DhroAZB3.cjs +0 -1
- package/dist/vue-ui-wheel-Bd87HcGT.cjs +0 -1
- package/dist/vue-ui-word-cloud-D5JLdr9g.cjs +0 -1
- package/dist/vue-ui-xy-BHzOpYm9.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
|
|
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
|
|
10
|
-
import
|
|
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
|
|
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",
|
|
@@ -36,21 +36,21 @@ const Ye = J(), Xe = {
|
|
|
36
36
|
Tooltip: Ge,
|
|
37
37
|
UserOptions: K,
|
|
38
38
|
BaseIcon: Me,
|
|
39
|
-
TableSparkline:
|
|
40
|
-
Skeleton:
|
|
39
|
+
TableSparkline: Te,
|
|
40
|
+
Skeleton: Pe,
|
|
41
41
|
Slicer: Ve,
|
|
42
42
|
Accordion: Re
|
|
43
43
|
},
|
|
44
44
|
data() {
|
|
45
|
-
this.dataset.forEach((
|
|
46
|
-
[null, void 0].includes(
|
|
45
|
+
this.dataset.forEach((h, f) => {
|
|
46
|
+
[null, void 0].includes(h.series) && this.error({
|
|
47
47
|
componentName: "VueUiXy",
|
|
48
48
|
type: "datasetSerieAttribute",
|
|
49
49
|
property: "series (number[])",
|
|
50
50
|
index: f
|
|
51
51
|
});
|
|
52
52
|
});
|
|
53
|
-
const a = Math.max(...this.dataset.map((
|
|
53
|
+
const a = Math.max(...this.dataset.map((h) => h.series.length)), s = {
|
|
54
54
|
start: 0,
|
|
55
55
|
end: a
|
|
56
56
|
};
|
|
@@ -122,7 +122,7 @@ const Ye = J(), Xe = {
|
|
|
122
122
|
watch: {
|
|
123
123
|
dataset: {
|
|
124
124
|
handler(a, s) {
|
|
125
|
-
this.maxX = Math.max(...this.dataset.map((
|
|
125
|
+
this.maxX = Math.max(...this.dataset.map((h) => h.series.length)), this.slicer = {
|
|
126
126
|
start: 0,
|
|
127
127
|
end: this.maxX
|
|
128
128
|
}, this.slicerStep += 1, this.segregateStep += 1;
|
|
@@ -139,11 +139,11 @@ const Ye = J(), Xe = {
|
|
|
139
139
|
computed: {
|
|
140
140
|
minimap() {
|
|
141
141
|
if (!this.FINAL_CONFIG.chart.zoom.minimap.show) return [];
|
|
142
|
-
const a = this.datasetWithIds.filter((i) => !this.segregatedSeries.includes(i.id)), s = Math.max(...a.map((i) => i.series.length)),
|
|
142
|
+
const a = this.datasetWithIds.filter((i) => !this.segregatedSeries.includes(i.id)), s = Math.max(...a.map((i) => i.series.length)), h = [];
|
|
143
143
|
for (let i = 0; i < s; i += 1)
|
|
144
|
-
|
|
145
|
-
const f = Math.min(...
|
|
146
|
-
return
|
|
144
|
+
h.push(a.map((e) => e.series[i] || 0).reduce((e, x) => (e || 0) + (x || 0), 0));
|
|
145
|
+
const f = Math.min(...h);
|
|
146
|
+
return h.map((i) => i + (f < 0 ? Math.abs(f) : 0));
|
|
147
147
|
},
|
|
148
148
|
customPalette() {
|
|
149
149
|
return this.convertCustomPalette(this.FINAL_CONFIG.customPalette);
|
|
@@ -178,7 +178,7 @@ const Ye = J(), Xe = {
|
|
|
178
178
|
id: i.id,
|
|
179
179
|
yOffset: i.yOffset || 0,
|
|
180
180
|
individualHeight: i.individualHeight || this.drawingArea.height
|
|
181
|
-
})),
|
|
181
|
+
})), h = this.plotSet.map((i) => ({
|
|
182
182
|
name: i.name,
|
|
183
183
|
color: i.color,
|
|
184
184
|
scale: i.individualScale,
|
|
@@ -190,8 +190,8 @@ const Ye = J(), Xe = {
|
|
|
190
190
|
id: i.id,
|
|
191
191
|
yOffset: i.yOffset || 0,
|
|
192
192
|
individualHeight: i.individualHeight || this.drawingArea.height
|
|
193
|
-
})), f = [...a, ...s, ...
|
|
194
|
-
return [...a, ...s, ...
|
|
193
|
+
})), f = [...a, ...s, ...h].flatMap((i) => i).length;
|
|
194
|
+
return [...a, ...s, ...h].flatMap((i, e) => ({
|
|
195
195
|
id: i.id,
|
|
196
196
|
scaleLabel: i.scaleLabel,
|
|
197
197
|
name: i.name,
|
|
@@ -251,7 +251,7 @@ const Ye = J(), Xe = {
|
|
|
251
251
|
safeDataset() {
|
|
252
252
|
return this.useSafeValues ? this.dataset.map((a, s) => ({
|
|
253
253
|
...a,
|
|
254
|
-
series: a.series.map((
|
|
254
|
+
series: a.series.map((h) => this.isSafeValue(h) ? h : null).slice(this.slicer.start, this.slicer.end),
|
|
255
255
|
color: this.convertColorToHex(a.color ? a.color : this.customPalette[s] ? this.customPalette[s] : this.palette[s]),
|
|
256
256
|
id: `uniqueId_${s}`
|
|
257
257
|
})) : this.dataset;
|
|
@@ -259,13 +259,13 @@ const Ye = J(), Xe = {
|
|
|
259
259
|
relativeDataset() {
|
|
260
260
|
return this.safeDataset.map((a, s) => ({
|
|
261
261
|
...a,
|
|
262
|
-
series: a.series.map((
|
|
262
|
+
series: a.series.map((h) => h + this.relativeZero),
|
|
263
263
|
absoluteValues: a.series
|
|
264
264
|
})).filter((a) => !this.segregatedSeries.includes(a.id));
|
|
265
265
|
},
|
|
266
266
|
tableSparklineDataset() {
|
|
267
267
|
return this.relativeDataset.map((a) => {
|
|
268
|
-
const s = a.absoluteValues.map((
|
|
268
|
+
const s = a.absoluteValues.map((h) => [void 0, null].includes(h) ? 0 : h);
|
|
269
269
|
return {
|
|
270
270
|
id: a.id,
|
|
271
271
|
name: a.name,
|
|
@@ -304,7 +304,7 @@ const Ye = J(), Xe = {
|
|
|
304
304
|
return this.safeDataset.map((a, s) => ({
|
|
305
305
|
absoluteIndex: s,
|
|
306
306
|
...a,
|
|
307
|
-
series: a.series.map((
|
|
307
|
+
series: a.series.map((h) => h + this.relativeZero),
|
|
308
308
|
absoluteValues: a.series,
|
|
309
309
|
segregate: () => this.segregate(a),
|
|
310
310
|
isSegregated: this.segregatedSeries.includes(a.id)
|
|
@@ -313,14 +313,14 @@ const Ye = J(), Xe = {
|
|
|
313
313
|
barSet() {
|
|
314
314
|
return this.activeSeriesWithStackRatios.filter((a) => a.type === "bar").map((a, s) => {
|
|
315
315
|
this.checkAutoScaleError(a);
|
|
316
|
-
const
|
|
317
|
-
ratios: a.absoluteValues.filter((d) => ![null, void 0].includes(d)).map((d) => (d -
|
|
318
|
-
valueMin:
|
|
316
|
+
const h = Math.min(...a.absoluteValues.filter((d) => ![null, void 0].includes(d))), f = Math.max(...a.absoluteValues.filter((d) => ![null, void 0].includes(d))), e = {
|
|
317
|
+
ratios: a.absoluteValues.filter((d) => ![null, void 0].includes(d)).map((d) => (d - h) / (f - h)),
|
|
318
|
+
valueMin: h,
|
|
319
319
|
valueMax: f < 0 ? 0 : f
|
|
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,
|
|
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),
|
|
@@ -328,11 +328,11 @@ const Ye = J(), Xe = {
|
|
|
328
328
|
x: this.checkNaN(E),
|
|
329
329
|
y: this.drawingArea.bottom - b - t * W,
|
|
330
330
|
value: a.absoluteValues[F],
|
|
331
|
-
zeroPosition: this.checkNaN(
|
|
331
|
+
zeroPosition: this.checkNaN(c),
|
|
332
332
|
individualMax: this.checkNaN(G),
|
|
333
333
|
comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
|
|
334
334
|
};
|
|
335
|
-
}), H = a.absoluteValues.map((d) =>
|
|
335
|
+
}), H = a.absoluteValues.map((d) => C.min >= 0 ? (d - Math.abs(C.min)) / (C.max - Math.abs(C.min)) : (d + Math.abs(C.min)) / (C.max + Math.abs(C.min))), D = a.series.map((d, F) => {
|
|
336
336
|
const W = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * F : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * s + this.slot.bar * F * this.absoluteDataset.filter((E) => E.type === "bar").filter((E) => !this.segregatedSeries.includes(E.id)).length;
|
|
337
337
|
return {
|
|
338
338
|
yOffset: this.checkNaN(b),
|
|
@@ -340,18 +340,18 @@ const Ye = J(), Xe = {
|
|
|
340
340
|
x: this.checkNaN(W),
|
|
341
341
|
y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(b) - (this.checkNaN(t) * H[F] || 0)),
|
|
342
342
|
value: a.absoluteValues[F],
|
|
343
|
-
zeroPosition: this.checkNaN(
|
|
343
|
+
zeroPosition: this.checkNaN(c),
|
|
344
344
|
individualMax: this.checkNaN(G),
|
|
345
345
|
comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
|
|
346
346
|
};
|
|
347
347
|
}), y = m.ticks.map((d) => ({
|
|
348
|
-
y: d >= 0 ?
|
|
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,
|
|
351
351
|
suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
352
352
|
datapoint: a
|
|
353
|
-
})), w =
|
|
354
|
-
const F = (d -
|
|
353
|
+
})), w = C.ticks.map((d) => {
|
|
354
|
+
const F = (d - C.min) / (C.max - C.min);
|
|
355
355
|
return {
|
|
356
356
|
y: d >= 0 ? n - t * F : n + t * F,
|
|
357
357
|
value: d,
|
|
@@ -366,9 +366,9 @@ const Ye = J(), Xe = {
|
|
|
366
366
|
autoScaleYLabels: w,
|
|
367
367
|
individualHeight: t,
|
|
368
368
|
scaleYLabels: a.autoScaling ? w : y,
|
|
369
|
-
individualScale: a.autoScaling ?
|
|
369
|
+
individualScale: a.autoScaling ? C : m,
|
|
370
370
|
individualMax: a.autoScaling ? v : G,
|
|
371
|
-
zeroPosition: a.autoScaling ? n :
|
|
371
|
+
zeroPosition: a.autoScaling ? n : c,
|
|
372
372
|
plots: a.autoScaling ? D : R
|
|
373
373
|
};
|
|
374
374
|
});
|
|
@@ -382,15 +382,15 @@ const Ye = J(), Xe = {
|
|
|
382
382
|
lineSet() {
|
|
383
383
|
return this.activeSeriesWithStackRatios.filter((a) => a.type === "line").map((a) => {
|
|
384
384
|
this.checkAutoScaleError(a);
|
|
385
|
-
const s = Math.min(...a.absoluteValues.filter((d) => ![void 0, null].includes(d))),
|
|
386
|
-
ratios: a.absoluteValues.filter((d) => ![null, void 0].includes(d)).map((d) => (d - s) / (
|
|
385
|
+
const s = Math.min(...a.absoluteValues.filter((d) => ![void 0, null].includes(d))), h = Math.max(...a.absoluteValues.filter((d) => ![void 0, null].includes(d))) || 1, i = {
|
|
386
|
+
ratios: a.absoluteValues.filter((d) => ![null, void 0].includes(d)).map((d) => (d - s) / (h - s)),
|
|
387
387
|
valueMin: s,
|
|
388
|
-
valueMax:
|
|
388
|
+
valueMax: h
|
|
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,
|
|
393
|
-
const W = this.mutableConfig.useIndividualScale ? (a.absoluteValues[F] + Math.abs(
|
|
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
|
+
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),
|
|
396
396
|
y: this.checkNaN(this.drawingArea.bottom - v - b * W),
|
|
@@ -405,7 +405,7 @@ const Ye = J(), Xe = {
|
|
|
405
405
|
value: a.absoluteValues[F],
|
|
406
406
|
comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
|
|
407
407
|
};
|
|
408
|
-
}), H = this.createSmoothPath(n), D = this.createSmoothPath(R), y =
|
|
408
|
+
}), H = this.createSmoothPath(n), D = this.createSmoothPath(R), y = L.ticks.map((d) => ({
|
|
409
409
|
y: d >= 0 ? t - b * (d / k) : t + b * Math.abs(d) / k,
|
|
410
410
|
value: d,
|
|
411
411
|
prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
@@ -414,7 +414,7 @@ const Ye = J(), Xe = {
|
|
|
414
414
|
})), w = m.ticks.map((d) => {
|
|
415
415
|
const F = (d - m.min) / (m.max - m.min);
|
|
416
416
|
return {
|
|
417
|
-
y: d >= 0 ?
|
|
417
|
+
y: d >= 0 ? c - b * F : c + b * F,
|
|
418
418
|
value: d,
|
|
419
419
|
prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
420
420
|
suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
@@ -427,27 +427,27 @@ const Ye = J(), Xe = {
|
|
|
427
427
|
autoScaleYLabels: w,
|
|
428
428
|
individualHeight: b,
|
|
429
429
|
scaleYLabels: a.autoScaling ? w : y,
|
|
430
|
-
individualScale: a.autoScaling ? m :
|
|
430
|
+
individualScale: a.autoScaling ? m : L,
|
|
431
431
|
individualMax: a.autoScaling ? G : k,
|
|
432
|
-
zeroPosition: a.autoScaling ?
|
|
432
|
+
zeroPosition: a.autoScaling ? c : t,
|
|
433
433
|
curve: a.autoScaling ? D : H,
|
|
434
434
|
plots: a.autoScaling ? R : n,
|
|
435
|
-
area: a.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(a.autoScaling ? R : n, a.autoScaling ?
|
|
435
|
+
area: a.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(a.autoScaling ? R : n, a.autoScaling ? c : t) : this.createArea(n) : ""
|
|
436
436
|
};
|
|
437
437
|
});
|
|
438
438
|
},
|
|
439
439
|
plotSet() {
|
|
440
440
|
return this.activeSeriesWithStackRatios.filter((a) => a.type === "plot").map((a) => {
|
|
441
441
|
this.checkAutoScaleError(a);
|
|
442
|
-
const s = Math.min(...a.absoluteValues.filter((y) => ![null, void 0].includes(y))),
|
|
443
|
-
ratios: a.absoluteValues.filter((y) => ![null, void 0].includes(y)).map((y) => (y - s) / (
|
|
442
|
+
const s = Math.min(...a.absoluteValues.filter((y) => ![null, void 0].includes(y))), h = Math.max(...a.absoluteValues.filter((y) => ![null, void 0].includes(y))) || 1, i = {
|
|
443
|
+
ratios: a.absoluteValues.filter((y) => ![null, void 0].includes(y)).map((y) => (y - s) / (h - s)),
|
|
444
444
|
valueMin: s,
|
|
445
|
-
valueMax:
|
|
445
|
+
valueMax: h
|
|
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,
|
|
450
|
-
const d = this.mutableConfig.useIndividualScale ? (a.absoluteValues[w] + Math.abs(
|
|
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
|
+
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),
|
|
453
453
|
y: this.checkNaN(this.drawingArea.bottom - v - b * d),
|
|
@@ -459,7 +459,7 @@ const Ye = J(), Xe = {
|
|
|
459
459
|
y: this.checkNaN(this.drawingArea.bottom - v - (b * g[w] || 0)),
|
|
460
460
|
value: a.absoluteValues[w],
|
|
461
461
|
comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[w] || ""
|
|
462
|
-
})), H =
|
|
462
|
+
})), H = L.ticks.map((y) => ({
|
|
463
463
|
y: y >= 0 ? t - b * (y / k) : t + b * Math.abs(y) / k,
|
|
464
464
|
value: y,
|
|
465
465
|
prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
@@ -468,7 +468,7 @@ const Ye = J(), Xe = {
|
|
|
468
468
|
})), D = m.ticks.map((y) => {
|
|
469
469
|
const w = (y - m.min) / (m.max - m.min);
|
|
470
470
|
return {
|
|
471
|
-
y: y >= 0 ?
|
|
471
|
+
y: y >= 0 ? c - b * w : c + b * w,
|
|
472
472
|
value: y,
|
|
473
473
|
prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
474
474
|
suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
@@ -481,9 +481,9 @@ const Ye = J(), Xe = {
|
|
|
481
481
|
autoScaleYLabels: D,
|
|
482
482
|
individualHeight: b,
|
|
483
483
|
scaleYLabels: a.autoScaling ? D : H,
|
|
484
|
-
individualScale: a.autoScaling ? m :
|
|
484
|
+
individualScale: a.autoScaling ? m : L,
|
|
485
485
|
individualMax: a.autoScaling ? G : k,
|
|
486
|
-
zeroPosition: a.autoScaling ?
|
|
486
|
+
zeroPosition: a.autoScaling ? c : t,
|
|
487
487
|
plots: a.autoScaling ? R : n
|
|
488
488
|
};
|
|
489
489
|
});
|
|
@@ -536,13 +536,13 @@ const Ye = J(), Xe = {
|
|
|
536
536
|
},
|
|
537
537
|
table() {
|
|
538
538
|
if (this.safeDataset.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
|
|
539
|
-
const a = this.relativeDataset.map((
|
|
540
|
-
label:
|
|
541
|
-
color:
|
|
542
|
-
type:
|
|
539
|
+
const a = this.relativeDataset.map((h) => ({
|
|
540
|
+
label: h.name,
|
|
541
|
+
color: h.color,
|
|
542
|
+
type: h.type
|
|
543
543
|
})), s = [];
|
|
544
|
-
return this.timeLabels.forEach((
|
|
545
|
-
const i = [
|
|
544
|
+
return this.timeLabels.forEach((h, f) => {
|
|
545
|
+
const i = [h];
|
|
546
546
|
this.relativeDataset.forEach((e) => {
|
|
547
547
|
i.push(this.canShowValue(e.absoluteValues[f]) ? Number(e.absoluteValues[f].toFixed(this.FINAL_CONFIG.table.rounding)) : "");
|
|
548
548
|
}), s.push(i);
|
|
@@ -552,10 +552,10 @@ const Ye = J(), Xe = {
|
|
|
552
552
|
const a = this.FINAL_CONFIG.table.showSum;
|
|
553
553
|
let s = [""].concat(this.relativeDataset.map((e) => e.name));
|
|
554
554
|
a && (s = s.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>'));
|
|
555
|
-
let
|
|
555
|
+
let h = [];
|
|
556
556
|
for (let e = 0; e < this.maxSeries; e += 1) {
|
|
557
|
-
const x = this.relativeDataset.map((_) => _.absoluteValues[e] ?? 0).reduce((_,
|
|
558
|
-
|
|
557
|
+
const x = this.relativeDataset.map((_) => _.absoluteValues[e] ?? 0).reduce((_, L) => _ + L, 0);
|
|
558
|
+
h.push(
|
|
559
559
|
[
|
|
560
560
|
this.timeLabels[e] ?? "-"
|
|
561
561
|
].concat(this.relativeDataset.map(
|
|
@@ -585,7 +585,7 @@ const Ye = J(), Xe = {
|
|
|
585
585
|
},
|
|
586
586
|
breakpoint: this.FINAL_CONFIG.table.responsiveBreakpoint
|
|
587
587
|
}, i = [this.FINAL_CONFIG.table.columnNames.period].concat(this.relativeDataset.map((e) => e.name)).concat(this.FINAL_CONFIG.table.columnNames.total);
|
|
588
|
-
return { head: s, body:
|
|
588
|
+
return { head: s, body: h, config: f, colNames: i };
|
|
589
589
|
},
|
|
590
590
|
dataTooltipSlot() {
|
|
591
591
|
return {
|
|
@@ -604,7 +604,7 @@ const Ye = J(), Xe = {
|
|
|
604
604
|
name: a.name,
|
|
605
605
|
color: a.color,
|
|
606
606
|
type: a.type,
|
|
607
|
-
value: a.absoluteValues.find((s,
|
|
607
|
+
value: a.absoluteValues.find((s, h) => h === this.selectedSerieIndex),
|
|
608
608
|
comments: a.comments || [],
|
|
609
609
|
prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
610
610
|
suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix
|
|
@@ -612,7 +612,7 @@ const Ye = J(), Xe = {
|
|
|
612
612
|
},
|
|
613
613
|
tooltipContent() {
|
|
614
614
|
let a = "", s = this.selectedSeries.map((i) => i.value).filter((i) => this.isSafeValue(i) && i !== null).reduce((i, e) => Math.abs(i) + Math.abs(e), 0);
|
|
615
|
-
const
|
|
615
|
+
const h = this.timeLabels[this.selectedSerieIndex], f = this.FINAL_CONFIG.chart.tooltip.customFormat;
|
|
616
616
|
return this.isFunction(f) && this.functionReturnsString(() => f({
|
|
617
617
|
seriesIndex: this.selectedSerieIndex,
|
|
618
618
|
datapoint: this.selectedSeries,
|
|
@@ -629,7 +629,7 @@ const Ye = J(), Xe = {
|
|
|
629
629
|
lines: this.lineSet,
|
|
630
630
|
plots: this.plotSet,
|
|
631
631
|
config: this.FINAL_CONFIG
|
|
632
|
-
}) : (
|
|
632
|
+
}) : (h && (a += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${this.FINAL_CONFIG.chart.tooltip.borderColor}; width:100%">${h}</div>`), this.selectedSeries.forEach((i) => {
|
|
633
633
|
if (this.isSafeValue(i.value)) {
|
|
634
634
|
let e = "", x = "";
|
|
635
635
|
switch (this.icons[i.type]) {
|
|
@@ -637,7 +637,7 @@ const Ye = J(), Xe = {
|
|
|
637
637
|
e = `<svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" rx="1" stroke="none" height="12" width="12" fill="${i.color}" /></svg>`;
|
|
638
638
|
break;
|
|
639
639
|
case "line":
|
|
640
|
-
!i.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(i.shape) ? x = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${i.color}" />` : i.shape === "triangle" ? x = `<path d="${
|
|
640
|
+
!i.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(i.shape) ? x = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${i.color}" />` : i.shape === "triangle" ? x = `<path d="${T({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : i.shape === "square" ? x = `<path d="${T({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : i.shape === "diamond" ? x = `<path d="${T({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : i.shape === "pentagon" ? x = `<path d="${T({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : i.shape === "hexagon" ? x = `<path d="${T({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : i.shape === "star" && (x = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${i.color}" points="${X({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="3" x="0" y="6" stroke="none" height="4" width="20" fill="${i.color}" />${x}</svg>`;
|
|
641
641
|
break;
|
|
642
642
|
case "plot":
|
|
643
643
|
if (!i.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(i.shape)) {
|
|
@@ -649,23 +649,23 @@ const Ye = J(), Xe = {
|
|
|
649
649
|
break;
|
|
650
650
|
}
|
|
651
651
|
if (i.shape === "triangle") {
|
|
652
|
-
e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${
|
|
652
|
+
e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${T({ plot: { x: 6, y: 6 }, radius: 6, sides: 3, rotation: 0.52 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
|
|
653
653
|
break;
|
|
654
654
|
}
|
|
655
655
|
if (i.shape === "square") {
|
|
656
|
-
e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${
|
|
656
|
+
e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${T({ plot: { x: 6, y: 6 }, radius: 6, sides: 4, rotation: 0.8 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
|
|
657
657
|
break;
|
|
658
658
|
}
|
|
659
659
|
if (i.shape === "diamond") {
|
|
660
|
-
e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${
|
|
660
|
+
e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${T({ plot: { x: 6, y: 6 }, radius: 5, sides: 4, rotation: 0 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
|
|
661
661
|
break;
|
|
662
662
|
}
|
|
663
663
|
if (i.shape === "pentagon") {
|
|
664
|
-
e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${
|
|
664
|
+
e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${T({ plot: { x: 6, y: 6 }, radius: 5, sides: 5, rotation: 0.95 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
|
|
665
665
|
break;
|
|
666
666
|
}
|
|
667
667
|
if (i.shape === "hexagon") {
|
|
668
|
-
e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${
|
|
668
|
+
e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${T({ plot: { x: 6, y: 6 }, radius: 5, sides: 6, rotation: 0 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
|
|
669
669
|
break;
|
|
670
670
|
}
|
|
671
671
|
}
|
|
@@ -715,12 +715,12 @@ 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
|
-
calculateNiceScaleWithExactExtremes:
|
|
723
|
-
checkNaN:
|
|
722
|
+
calculateNiceScaleWithExactExtremes: ce,
|
|
723
|
+
checkNaN: he,
|
|
724
724
|
closestDecimal: oe,
|
|
725
725
|
convertColorToHex: de,
|
|
726
726
|
convertConfigColors: ue,
|
|
@@ -744,6 +744,13 @@ const Ye = J(), Xe = {
|
|
|
744
744
|
treeShake: ke,
|
|
745
745
|
useMouse: pe,
|
|
746
746
|
useNestedProp: U,
|
|
747
|
+
getHighlightAreaPosition(a) {
|
|
748
|
+
const s = this.drawingArea.left + this.drawingArea.width / this.maxSeries * (a.from - this.slicer.start), h = this.drawingArea.width / (this.slicer.end - this.slicer.start) * a.span < 0 ? 1e-5 : this.drawingArea.width / (this.slicer.end - this.slicer.start) * a.span;
|
|
749
|
+
return {
|
|
750
|
+
x: s < this.drawingArea.left ? this.drawingArea.left : s,
|
|
751
|
+
width: h
|
|
752
|
+
};
|
|
753
|
+
},
|
|
747
754
|
prepareConfig() {
|
|
748
755
|
const a = we().vue_ui_xy;
|
|
749
756
|
if (!Object.keys(this.config || {}).length)
|
|
@@ -772,9 +779,9 @@ const Ye = J(), Xe = {
|
|
|
772
779
|
index: s
|
|
773
780
|
});
|
|
774
781
|
}), this.FINAL_CONFIG.showWarnings && this.dataset.forEach((a) => {
|
|
775
|
-
a.series.forEach((s,
|
|
782
|
+
a.series.forEach((s, h) => {
|
|
776
783
|
this.isSafeValue(s) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
|
|
777
|
-
-----> The serie '${a.name}' contains the value '${s}' at index ${
|
|
784
|
+
-----> The serie '${a.name}' contains the value '${s}' at index ${h}.
|
|
778
785
|
'${s}' was converted to null to allow the chart to display.`);
|
|
779
786
|
});
|
|
780
787
|
}), this.mutableConfig = {
|
|
@@ -786,13 +793,13 @@ const Ye = J(), Xe = {
|
|
|
786
793
|
isStacked: this.FINAL_CONFIG.chart.grid.labels.yAxis.stacked,
|
|
787
794
|
useIndividualScale: this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale
|
|
788
795
|
}, this.FINAL_CONFIG.responsive) {
|
|
789
|
-
const s = this.$refs.chart.parentNode, { height:
|
|
796
|
+
const s = this.$refs.chart.parentNode, { height: h, width: f } = s.getBoundingClientRect();
|
|
790
797
|
let i = null, e = 0;
|
|
791
798
|
this.FINAL_CONFIG.chart.title.show && (i = this.$refs.chartTitle, e = i.getBoundingClientRect().height);
|
|
792
799
|
let x = null, _ = 0;
|
|
793
800
|
this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (x = this.$refs.chartSlicer.$el, _ = x.getBoundingClientRect().height);
|
|
794
|
-
let
|
|
795
|
-
this.FINAL_CONFIG.chart.legend.show && (
|
|
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) => {
|
|
796
803
|
for (const k of z)
|
|
797
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();
|
|
798
805
|
}).observe(s);
|
|
@@ -858,25 +865,25 @@ const Ye = J(), Xe = {
|
|
|
858
865
|
},
|
|
859
866
|
createArea(a) {
|
|
860
867
|
if (!a[0]) return [-10, -10, "", -10, -10];
|
|
861
|
-
const s = { x: a[0].x, y: this.zero },
|
|
868
|
+
const s = { x: a[0].x, y: this.zero }, h = { x: a.at(-1).x, y: this.zero }, f = [];
|
|
862
869
|
return a.forEach((i) => {
|
|
863
870
|
f.push(`${i.x},${i.y} `);
|
|
864
|
-
}), [s.x, s.y, ...f,
|
|
871
|
+
}), [s.x, s.y, ...f, h.x, h.y].toString();
|
|
865
872
|
},
|
|
866
873
|
createIndividualArea(a, s) {
|
|
867
874
|
if (!a[0]) return [-10, -10, "", -10, -10];
|
|
868
|
-
const
|
|
875
|
+
const h = { x: a[0] ? a[0].x : Math.min(...a.filter((e) => !!e).map((e) => e.x)), y: s }, f = { x: a.at(-1) ? a.at(-1).x : Math.min(...a.filter((e) => !!e).map((e) => e.x)), y: s }, i = [];
|
|
869
876
|
return a.filter((e) => !!e).forEach((e) => {
|
|
870
877
|
i.push(`${e.x},${e.y} `);
|
|
871
|
-
}), [
|
|
878
|
+
}), [h.x, h.y, ...i, f.x, f.y].toString();
|
|
872
879
|
},
|
|
873
880
|
createStar: X,
|
|
874
|
-
createPolygonPath:
|
|
881
|
+
createPolygonPath: T,
|
|
875
882
|
fillArray(a, s) {
|
|
876
|
-
let
|
|
883
|
+
let h = Array(a).fill(0);
|
|
877
884
|
for (let f = 0; f < s.length && f < a; f += 1)
|
|
878
|
-
|
|
879
|
-
return
|
|
885
|
+
h[f] = s[f];
|
|
886
|
+
return h;
|
|
880
887
|
},
|
|
881
888
|
refreshSlicer() {
|
|
882
889
|
this.slicer = {
|
|
@@ -906,12 +913,12 @@ const Ye = J(), Xe = {
|
|
|
906
913
|
return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(a);
|
|
907
914
|
},
|
|
908
915
|
findClosestValue(a, s) {
|
|
909
|
-
let
|
|
916
|
+
let h = s[0], f = Math.abs(a - s[0]);
|
|
910
917
|
for (let i = 1; i < s.length; i += 1) {
|
|
911
918
|
const e = Math.abs(a - s[i]);
|
|
912
|
-
e < f && s[i] < a && (
|
|
919
|
+
e < f && s[i] < a && (h = s[i], f = e);
|
|
913
920
|
}
|
|
914
|
-
return
|
|
921
|
+
return h;
|
|
915
922
|
},
|
|
916
923
|
ratioToMax(a) {
|
|
917
924
|
return a / (this.canShowValue(this.absoluteMax) ? this.absoluteMax : 1);
|
|
@@ -973,7 +980,7 @@ const Ye = J(), Xe = {
|
|
|
973
980
|
}, 100);
|
|
974
981
|
},
|
|
975
982
|
generateCsv() {
|
|
976
|
-
const a = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], s = ["", ...this.table.head.map((e) => e.label)],
|
|
983
|
+
const a = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], s = ["", ...this.table.head.map((e) => e.label)], h = this.table.body, f = a.concat([s]).concat(h), i = this.createCsvContent(f);
|
|
977
984
|
this.downloadCsv({ csvContent: i, title: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy" });
|
|
978
985
|
},
|
|
979
986
|
showSpinnerImage() {
|
|
@@ -991,41 +998,41 @@ const Ye = J(), Xe = {
|
|
|
991
998
|
}, 100);
|
|
992
999
|
}
|
|
993
1000
|
}
|
|
994
|
-
}, 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 = {
|
|
995
1002
|
key: 3,
|
|
996
1003
|
class: "vue-data-ui-watermark"
|
|
997
|
-
},
|
|
1004
|
+
}, Pa = ["onClick"], Va = {
|
|
998
1005
|
key: 0,
|
|
999
1006
|
viewBox: "0 0 20 12",
|
|
1000
1007
|
height: "14",
|
|
1001
1008
|
width: "20"
|
|
1002
|
-
},
|
|
1009
|
+
}, Ra = ["fill"], Da = {
|
|
1003
1010
|
key: 1,
|
|
1004
1011
|
viewBox: "0 0 12 12",
|
|
1005
1012
|
height: "14",
|
|
1006
1013
|
width: "14"
|
|
1007
|
-
},
|
|
1014
|
+
}, Ha = ["fill"], Wa = {
|
|
1008
1015
|
key: 7,
|
|
1009
1016
|
ref: "chartLegend"
|
|
1010
|
-
},
|
|
1017
|
+
}, Ea = {
|
|
1011
1018
|
style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
|
|
1012
1019
|
"data-html2canvas-ignore": ""
|
|
1013
|
-
},
|
|
1014
|
-
function
|
|
1015
|
-
const x =
|
|
1016
|
-
return
|
|
1020
|
+
}, Ba = ["innerHTML"];
|
|
1021
|
+
function Ya(a, s, h, f, i, e) {
|
|
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", {
|
|
1017
1024
|
id: `vue-ui-xy_${i.uniqueId}`,
|
|
1018
1025
|
class: M(`vue-ui-xy ${i.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
1019
1026
|
ref: "chart",
|
|
1020
|
-
style:
|
|
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%" : ""}`)
|
|
1021
1028
|
}, [
|
|
1022
|
-
e.FINAL_CONFIG.chart.title.show ? (
|
|
1029
|
+
e.FINAL_CONFIG.chart.title.show ? (r(), l("div", {
|
|
1023
1030
|
key: 0,
|
|
1024
1031
|
ref: "chartTitle",
|
|
1025
1032
|
class: "vue-ui-xy-title",
|
|
1026
|
-
style:
|
|
1033
|
+
style: A(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
|
|
1027
1034
|
}, [
|
|
1028
|
-
(
|
|
1035
|
+
(r(), V(x, {
|
|
1029
1036
|
key: `title_${i.titleStep}`,
|
|
1030
1037
|
config: {
|
|
1031
1038
|
title: {
|
|
@@ -1039,7 +1046,7 @@ function qa(a, s, c, f, i, e) {
|
|
|
1039
1046
|
}
|
|
1040
1047
|
}, null, 8, ["config"]))
|
|
1041
1048
|
], 4)) : o("", !0),
|
|
1042
|
-
e.FINAL_CONFIG.chart.userOptions.show && e.isDataset ? (
|
|
1049
|
+
e.FINAL_CONFIG.chart.userOptions.show && e.isDataset ? (r(), V(_, {
|
|
1043
1050
|
ref: "defails",
|
|
1044
1051
|
key: `user_options_${i.step}`,
|
|
1045
1052
|
backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
|
|
@@ -1053,11 +1060,12 @@ function qa(a, s, c, f, i, e) {
|
|
|
1053
1060
|
hasImg: e.FINAL_CONFIG.chart.userOptions.buttons.img,
|
|
1054
1061
|
hasLabel: e.FINAL_CONFIG.chart.userOptions.buttons.labels,
|
|
1055
1062
|
hasTable: e.FINAL_CONFIG.chart.userOptions.buttons.table,
|
|
1056
|
-
hasStack:
|
|
1063
|
+
hasStack: h.dataset.length > 1 && e.FINAL_CONFIG.chart.userOptions.buttons.stack,
|
|
1057
1064
|
hasFullscreen: e.FINAL_CONFIG.chart.userOptions.buttons.fullscreen,
|
|
1058
1065
|
isStacked: i.mutableConfig.isStacked,
|
|
1059
1066
|
isFullscreen: i.isFullscreen,
|
|
1060
1067
|
chartElement: a.$refs.chart,
|
|
1068
|
+
position: e.FINAL_CONFIG.chart.userOptions.position,
|
|
1061
1069
|
isTooltip: i.mutableConfig.showTooltip,
|
|
1062
1070
|
titles: { ...e.FINAL_CONFIG.chart.userOptions.buttonTitles },
|
|
1063
1071
|
onToggleFullscreen: e.toggleFullscreen,
|
|
@@ -1120,23 +1128,23 @@ function qa(a, s, c, f, i, e) {
|
|
|
1120
1128
|
} : void 0,
|
|
1121
1129
|
a.$slots.optionFullscreen ? {
|
|
1122
1130
|
name: "optionFullscreen",
|
|
1123
|
-
fn: p(({ toggleFullscreen: t, isFullscreen:
|
|
1124
|
-
O(a.$slots, "optionFullscreen", B(Y({ toggleFullscreen: t, isFullscreen:
|
|
1131
|
+
fn: p(({ toggleFullscreen: t, isFullscreen: c }) => [
|
|
1132
|
+
O(a.$slots, "optionFullscreen", B(Y({ toggleFullscreen: t, isFullscreen: c })), void 0, !0)
|
|
1125
1133
|
]),
|
|
1126
1134
|
key: "7"
|
|
1127
1135
|
} : void 0
|
|
1128
|
-
]), 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),
|
|
1129
|
-
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", {
|
|
1130
1138
|
key: 2,
|
|
1131
1139
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1132
1140
|
class: M([{ "vue-data-ui-fullscreen--on": i.isFullscreen, "vue-data-ui-fulscreen--off": !i.isFullscreen }, "vue-ui-xy-svg"]),
|
|
1133
1141
|
width: "100%",
|
|
1134
1142
|
viewBox: i.viewBox,
|
|
1135
|
-
style:
|
|
1143
|
+
style: A(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
|
|
1136
1144
|
}, [
|
|
1137
|
-
e.maxSeries > 0 ? (
|
|
1145
|
+
e.maxSeries > 0 ? (r(), l("g", Ue, [
|
|
1138
1146
|
u("g", Je, [
|
|
1139
|
-
e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (
|
|
1147
|
+
e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (r(), l("line", {
|
|
1140
1148
|
key: 0,
|
|
1141
1149
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1142
1150
|
"stroke-width": "1",
|
|
@@ -1146,26 +1154,26 @@ function qa(a, s, c, f, i, e) {
|
|
|
1146
1154
|
y2: e.drawingArea.bottom,
|
|
1147
1155
|
"stroke-linecap": "round"
|
|
1148
1156
|
}, null, 8, Qe)) : o("", !0),
|
|
1149
|
-
i.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (
|
|
1150
|
-
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", {
|
|
1151
1159
|
x1: e.drawingArea.left + e.xPadding,
|
|
1152
1160
|
x2: e.drawingArea.right - e.xPadding,
|
|
1153
|
-
y1: e.checkNaN(
|
|
1154
|
-
y2: e.checkNaN(
|
|
1161
|
+
y1: e.checkNaN(c.y),
|
|
1162
|
+
y2: e.checkNaN(c.y),
|
|
1155
1163
|
stroke: t.color,
|
|
1156
1164
|
"stroke-width": 0.5,
|
|
1157
1165
|
"stroke-linecap": "round"
|
|
1158
|
-
}, 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", {
|
|
1159
1167
|
x1: e.drawingArea.left + e.xPadding,
|
|
1160
1168
|
x2: e.drawingArea.right - e.xPadding,
|
|
1161
|
-
y1: e.checkNaN(
|
|
1162
|
-
y2: e.checkNaN(
|
|
1169
|
+
y1: e.checkNaN(c.y),
|
|
1170
|
+
y2: e.checkNaN(c.y),
|
|
1163
1171
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1164
1172
|
"stroke-width": 0.5,
|
|
1165
1173
|
"stroke-linecap": "round"
|
|
1166
1174
|
}, null, 8, tt))), 256)) : o("", !0)
|
|
1167
|
-
]))), 256)) : o("", !0) : (
|
|
1168
|
-
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", {
|
|
1169
1177
|
key: 0,
|
|
1170
1178
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1171
1179
|
"stroke-width": "1",
|
|
@@ -1175,8 +1183,8 @@ function qa(a, s, c, f, i, e) {
|
|
|
1175
1183
|
y2: e.drawingArea.bottom,
|
|
1176
1184
|
"stroke-linecap": "round"
|
|
1177
1185
|
}, null, 8, Ke)) : o("", !0),
|
|
1178
|
-
e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (
|
|
1179
|
-
(
|
|
1186
|
+
e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(), l("g", je, [
|
|
1187
|
+
(r(!0), l(N, null, I(e.yLabels, (t) => (r(), l("line", {
|
|
1180
1188
|
x1: e.drawingArea.left + e.xPadding,
|
|
1181
1189
|
x2: e.drawingArea.right - e.xPadding,
|
|
1182
1190
|
y1: e.checkNaN(t.y),
|
|
@@ -1187,11 +1195,11 @@ function qa(a, s, c, f, i, e) {
|
|
|
1187
1195
|
}, null, 8, $e))), 256))
|
|
1188
1196
|
])) : o("", !0)
|
|
1189
1197
|
], 64)),
|
|
1190
|
-
e.FINAL_CONFIG.chart.grid.showVerticalLines ? (
|
|
1191
|
-
(
|
|
1192
|
-
key: `grid_vertical_line_${
|
|
1193
|
-
x1: e.drawingArea.width / e.maxSeries *
|
|
1194
|
-
x2: e.drawingArea.width / e.maxSeries *
|
|
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", {
|
|
1200
|
+
key: `grid_vertical_line_${c}`,
|
|
1201
|
+
x1: e.drawingArea.width / e.maxSeries * c + e.drawingArea.left + e.xPadding,
|
|
1202
|
+
x2: e.drawingArea.width / e.maxSeries * c + e.drawingArea.left + e.xPadding,
|
|
1195
1203
|
y1: e.drawingArea.top,
|
|
1196
1204
|
y2: e.drawingArea.bottom,
|
|
1197
1205
|
"stroke-width": "0.5",
|
|
@@ -1199,18 +1207,18 @@ function qa(a, s, c, f, i, e) {
|
|
|
1199
1207
|
}, null, 8, it))), 128))
|
|
1200
1208
|
])) : o("", !0)
|
|
1201
1209
|
]),
|
|
1202
|
-
(
|
|
1203
|
-
key: `def_rect_${
|
|
1210
|
+
(r(!0), l(N, null, I(e.barSet, (t, c) => (r(), l("defs", {
|
|
1211
|
+
key: `def_rect_${c}`
|
|
1204
1212
|
}, [
|
|
1205
1213
|
u("linearGradient", {
|
|
1206
|
-
id: `rectGradient_pos_${
|
|
1214
|
+
id: `rectGradient_pos_${c}_${i.uniqueId}`,
|
|
1207
1215
|
x2: "0%",
|
|
1208
1216
|
y2: "100%"
|
|
1209
1217
|
}, [
|
|
1210
1218
|
u("stop", {
|
|
1211
1219
|
offset: "0%",
|
|
1212
1220
|
"stop-color": t.color
|
|
1213
|
-
}, null, 8,
|
|
1221
|
+
}, null, 8, lt),
|
|
1214
1222
|
u("stop", {
|
|
1215
1223
|
offset: "62%",
|
|
1216
1224
|
"stop-color": `${e.shiftHue(t.color, 0.02)}`
|
|
@@ -1219,16 +1227,16 @@ function qa(a, s, c, f, i, e) {
|
|
|
1219
1227
|
offset: "100%",
|
|
1220
1228
|
"stop-color": `${e.shiftHue(t.color, 0.05)}`
|
|
1221
1229
|
}, null, 8, nt)
|
|
1222
|
-
], 8,
|
|
1230
|
+
], 8, rt),
|
|
1223
1231
|
u("linearGradient", {
|
|
1224
|
-
id: `rectGradient_neg_${
|
|
1232
|
+
id: `rectGradient_neg_${c}_${i.uniqueId}`,
|
|
1225
1233
|
x2: "0%",
|
|
1226
1234
|
y2: "100%"
|
|
1227
1235
|
}, [
|
|
1228
1236
|
u("stop", {
|
|
1229
1237
|
offset: "0%",
|
|
1230
1238
|
"stop-color": `${e.shiftHue(t.color, 0.05)}`
|
|
1231
|
-
}, null, 8,
|
|
1239
|
+
}, null, 8, ht),
|
|
1232
1240
|
u("stop", {
|
|
1233
1241
|
offset: "38%",
|
|
1234
1242
|
"stop-color": `${e.shiftHue(t.color, 0.02)}`
|
|
@@ -1237,13 +1245,13 @@ function qa(a, s, c, f, i, e) {
|
|
|
1237
1245
|
offset: "100%",
|
|
1238
1246
|
"stop-color": t.color
|
|
1239
1247
|
}, null, 8, dt)
|
|
1240
|
-
], 8,
|
|
1248
|
+
], 8, ct)
|
|
1241
1249
|
]))), 128)),
|
|
1242
|
-
(
|
|
1243
|
-
key: `def_plot_${
|
|
1250
|
+
(r(!0), l(N, null, I(e.plotSet, (t, c) => (r(), l("defs", {
|
|
1251
|
+
key: `def_plot_${c}`
|
|
1244
1252
|
}, [
|
|
1245
1253
|
u("radialGradient", {
|
|
1246
|
-
id: `plotGradient_${
|
|
1254
|
+
id: `plotGradient_${c}_${i.uniqueId}`,
|
|
1247
1255
|
cx: "50%",
|
|
1248
1256
|
cy: "50%",
|
|
1249
1257
|
r: "50%",
|
|
@@ -1260,11 +1268,11 @@ function qa(a, s, c, f, i, e) {
|
|
|
1260
1268
|
}, null, 8, ft)
|
|
1261
1269
|
], 8, ut)
|
|
1262
1270
|
]))), 128)),
|
|
1263
|
-
(
|
|
1264
|
-
key: `def_line_${
|
|
1271
|
+
(r(!0), l(N, null, I(e.lineSet, (t, c) => (r(), l("defs", {
|
|
1272
|
+
key: `def_line_${c}`
|
|
1265
1273
|
}, [
|
|
1266
1274
|
u("radialGradient", {
|
|
1267
|
-
id: `lineGradient_${
|
|
1275
|
+
id: `lineGradient_${c}_${i.uniqueId}`,
|
|
1268
1276
|
cx: "50%",
|
|
1269
1277
|
cy: "50%",
|
|
1270
1278
|
r: "50%",
|
|
@@ -1281,7 +1289,7 @@ function qa(a, s, c, f, i, e) {
|
|
|
1281
1289
|
}, null, 8, It)
|
|
1282
1290
|
], 8, Nt),
|
|
1283
1291
|
u("linearGradient", {
|
|
1284
|
-
id: `areaGradient_${
|
|
1292
|
+
id: `areaGradient_${c}_${i.uniqueId}`,
|
|
1285
1293
|
x1: "0%",
|
|
1286
1294
|
x2: "100%",
|
|
1287
1295
|
y1: "0%",
|
|
@@ -1297,63 +1305,69 @@ function qa(a, s, c, f, i, e) {
|
|
|
1297
1305
|
}, null, 8, Ft)
|
|
1298
1306
|
], 8, xt)
|
|
1299
1307
|
]))), 128)),
|
|
1300
|
-
(
|
|
1301
|
-
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, [
|
|
1302
1310
|
u("rect", {
|
|
1303
|
-
style: {
|
|
1304
|
-
|
|
1311
|
+
style: A({
|
|
1312
|
+
transition: "none",
|
|
1313
|
+
opacity: t.from + n >= i.slicer.start && t.from + n <= i.slicer.end - 1 ? 1 : 0
|
|
1314
|
+
}),
|
|
1315
|
+
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (t.from + n - i.slicer.start),
|
|
1305
1316
|
y: e.drawingArea.top,
|
|
1306
1317
|
height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
|
|
1307
|
-
width: e.drawingArea.width / e.maxSeries
|
|
1318
|
+
width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
|
|
1308
1319
|
fill: e.setOpacity(t.color, t.opacity)
|
|
1309
|
-
}, null,
|
|
1310
|
-
t.caption.text ? (
|
|
1320
|
+
}, null, 12, _t),
|
|
1321
|
+
t.caption.text && n === 0 ? (r(), l("foreignObject", {
|
|
1311
1322
|
key: 0,
|
|
1312
|
-
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (t.from - i.slicer.start) - (t.caption.width === "auto" ? 0 : t.caption.width / 2 - e.drawingArea.width / e.maxSeries * t.span / 2),
|
|
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),
|
|
1313
1324
|
y: e.drawingArea.top + t.caption.offsetY,
|
|
1314
|
-
style: {
|
|
1325
|
+
style: A({
|
|
1326
|
+
overflow: "visible",
|
|
1327
|
+
opacity: t.to >= i.slicer.start && t.from < i.slicer.end ? 1 : 0
|
|
1328
|
+
}),
|
|
1315
1329
|
height: "1",
|
|
1316
1330
|
width: t.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * t.span : t.caption.width
|
|
1317
1331
|
}, [
|
|
1318
1332
|
u("div", {
|
|
1319
|
-
style:
|
|
1333
|
+
style: A(`padding:${t.caption.padding}px;text-align:${t.caption.textAlign};font-size:${t.caption.fontSize}px;color:${t.caption.color};font-weight:${t.caption.bold ? "bold" : "normal"}`)
|
|
1320
1334
|
}, S(t.caption.text), 5)
|
|
1321
|
-
],
|
|
1322
|
-
],
|
|
1335
|
+
], 12, yt)) : o("", !0)
|
|
1336
|
+
]))), 256)) : o("", !0)
|
|
1323
1337
|
]))), 256)),
|
|
1324
1338
|
u("g", null, [
|
|
1325
|
-
(
|
|
1326
|
-
key: `tooltip_trap_${
|
|
1339
|
+
(r(!0), l(N, null, I(e.maxSeries, (t, c) => (r(), l("g", {
|
|
1340
|
+
key: `tooltip_trap_${c}`
|
|
1327
1341
|
}, [
|
|
1328
1342
|
u("rect", {
|
|
1329
|
-
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries *
|
|
1343
|
+
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * c,
|
|
1330
1344
|
y: e.drawingArea.top,
|
|
1331
1345
|
height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
|
|
1332
1346
|
width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
|
|
1333
|
-
fill: [i.selectedMinimapIndex, i.selectedSerieIndex, i.selectedRowIndex].includes(
|
|
1347
|
+
fill: [i.selectedMinimapIndex, i.selectedSerieIndex, i.selectedRowIndex].includes(c) ? e.setOpacity(e.FINAL_CONFIG.chart.highlighter.color, e.FINAL_CONFIG.chart.highlighter.opacity) : "transparent"
|
|
1334
1348
|
}, null, 8, At)
|
|
1335
1349
|
]))), 128))
|
|
1336
1350
|
]),
|
|
1337
|
-
e.barSet.length ? (
|
|
1338
|
-
key: `serie_bar_${
|
|
1339
|
-
class: M(`serie_bar_${
|
|
1340
|
-
style:
|
|
1351
|
+
e.barSet.length ? (r(!0), l(N, { key: 0 }, I(e.barSet, (t, c) => (r(), l("g", {
|
|
1352
|
+
key: `serie_bar_${c}`,
|
|
1353
|
+
class: M(`serie_bar_${c}`),
|
|
1354
|
+
style: A(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1341
1355
|
}, [
|
|
1342
|
-
(
|
|
1343
|
-
key: `bar_plot_${
|
|
1356
|
+
(r(!0), l(N, null, I(t.plots, (n, g) => (r(), l("g", {
|
|
1357
|
+
key: `bar_plot_${c}_${g}`
|
|
1344
1358
|
}, [
|
|
1345
|
-
e.canShowValue(n.value) ? (
|
|
1359
|
+
e.canShowValue(n.value) ? (r(), l("rect", {
|
|
1346
1360
|
key: 0,
|
|
1347
1361
|
x: e.calcRectX(n),
|
|
1348
1362
|
y: i.mutableConfig.useIndividualScale ? e.calcIndividualRectY(n) : e.calcRectY(n),
|
|
1349
1363
|
height: i.mutableConfig.useIndividualScale ? Math.abs(e.calcIndividualHeight(n)) : Math.abs(e.calcRectHeight(n)),
|
|
1350
1364
|
width: e.calcRectWidth() - (i.mutableConfig.useIndividualScale && i.mutableConfig.isStacked ? 0 : e.barPeriodGap) < 0 ? 1e-5 : e.calcRectWidth() - (i.mutableConfig.useIndividualScale && i.mutableConfig.isStacked ? 0 : e.barPeriodGap),
|
|
1351
1365
|
rx: e.FINAL_CONFIG.bar.borderRadius,
|
|
1352
|
-
fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${
|
|
1366
|
+
fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${c}_${i.uniqueId})` : `url(#rectGradient_neg_${c}_${i.uniqueId})` : t.color,
|
|
1353
1367
|
stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? t.color : e.FINAL_CONFIG.bar.border.stroke,
|
|
1354
1368
|
"stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
|
|
1355
1369
|
}, null, 8, Lt)) : o("", !0),
|
|
1356
|
-
n.comment && e.FINAL_CONFIG.chart.comments.show ? (
|
|
1370
|
+
n.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), l("foreignObject", {
|
|
1357
1371
|
key: 1,
|
|
1358
1372
|
style: { overflow: "visible" },
|
|
1359
1373
|
height: "12",
|
|
@@ -1366,10 +1380,10 @@ function qa(a, s, c, f, i, e) {
|
|
|
1366
1380
|
}, void 0, !0)
|
|
1367
1381
|
], 8, Ct)) : o("", !0)
|
|
1368
1382
|
]))), 128)),
|
|
1369
|
-
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, [
|
|
1370
1384
|
u("defs", null, [
|
|
1371
1385
|
u("marker", {
|
|
1372
|
-
id: `bar_arrow_${
|
|
1386
|
+
id: `bar_arrow_${c}`,
|
|
1373
1387
|
markerWidth: 7,
|
|
1374
1388
|
markerHeight: 7,
|
|
1375
1389
|
refX: "0",
|
|
@@ -1382,7 +1396,7 @@ function qa(a, s, c, f, i, e) {
|
|
|
1382
1396
|
}, null, 8, wt)
|
|
1383
1397
|
], 8, kt)
|
|
1384
1398
|
]),
|
|
1385
|
-
t.plots.length > 1 ? (
|
|
1399
|
+
t.plots.length > 1 ? (r(), l("line", {
|
|
1386
1400
|
key: 0,
|
|
1387
1401
|
x1: e.calcLinearProgression(t.plots).x1,
|
|
1388
1402
|
x2: e.calcLinearProgression(t.plots).x2,
|
|
@@ -1391,9 +1405,9 @@ function qa(a, s, c, f, i, e) {
|
|
|
1391
1405
|
"stroke-width": 1,
|
|
1392
1406
|
stroke: t.color,
|
|
1393
1407
|
"stroke-dasharray": 2,
|
|
1394
|
-
"marker-end": `url(#bar_arrow_${
|
|
1408
|
+
"marker-end": `url(#bar_arrow_${c})`
|
|
1395
1409
|
}, null, 8, Ot)) : o("", !0),
|
|
1396
|
-
t.plots.length > 1 ? (
|
|
1410
|
+
t.plots.length > 1 ? (r(), l("text", {
|
|
1397
1411
|
key: 1,
|
|
1398
1412
|
"text-anchor": "middle",
|
|
1399
1413
|
x: e.calcLinearProgression(t.plots).x2,
|
|
@@ -1407,7 +1421,7 @@ function qa(a, s, c, f, i, e) {
|
|
|
1407
1421
|
})), 9, vt)) : o("", !0)
|
|
1408
1422
|
])) : o("", !0)
|
|
1409
1423
|
], 6))), 128)) : o("", !0),
|
|
1410
|
-
!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", {
|
|
1411
1425
|
key: 1,
|
|
1412
1426
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1413
1427
|
"stroke-width": "1",
|
|
@@ -1417,7 +1431,7 @@ function qa(a, s, c, f, i, e) {
|
|
|
1417
1431
|
y2: e.checkNaN(e.zero),
|
|
1418
1432
|
"stroke-linecap": "round"
|
|
1419
1433
|
}, null, 8, Gt)) : o("", !0),
|
|
1420
|
-
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, [
|
|
1421
1435
|
u("line", {
|
|
1422
1436
|
x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (i.selectedSerieIndex || i.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
|
|
1423
1437
|
x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (i.selectedSerieIndex || i.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
|
|
@@ -1430,25 +1444,7 @@ function qa(a, s, c, f, i, e) {
|
|
|
1430
1444
|
style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
|
|
1431
1445
|
}, null, 8, zt)
|
|
1432
1446
|
])) : o("", !0),
|
|
1433
|
-
|
|
1434
|
-
u("rect", {
|
|
1435
|
-
style: { transition: "none" },
|
|
1436
|
-
x: 0,
|
|
1437
|
-
y: e.drawingArea.top,
|
|
1438
|
-
width: e.FINAL_CONFIG.chart.padding.left - 1 + e.xPadding,
|
|
1439
|
-
height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
|
|
1440
|
-
fill: e.FINAL_CONFIG.chart.backgroundColor
|
|
1441
|
-
}, null, 8, Mt),
|
|
1442
|
-
u("rect", {
|
|
1443
|
-
style: { transition: "none" },
|
|
1444
|
-
x: e.drawingArea.right + 1 - e.xPadding,
|
|
1445
|
-
y: e.drawingArea.top,
|
|
1446
|
-
width: e.FINAL_CONFIG.chart.padding.right - 1 + e.xPadding,
|
|
1447
|
-
height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
|
|
1448
|
-
fill: e.FINAL_CONFIG.chart.backgroundColor
|
|
1449
|
-
}, null, 8, Pt)
|
|
1450
|
-
]),
|
|
1451
|
-
e.FINAL_CONFIG.chart.grid.frame.show ? (l(), r("rect", {
|
|
1447
|
+
e.FINAL_CONFIG.chart.grid.frame.show ? (r(), l("rect", {
|
|
1452
1448
|
key: 3,
|
|
1453
1449
|
style: { pointerEvents: "none", transition: "none" },
|
|
1454
1450
|
x: e.drawingArea.left + e.xPadding < 0 ? 0 : e.drawingArea.left + e.xPadding,
|
|
@@ -1461,10 +1457,10 @@ function qa(a, s, c, f, i, e) {
|
|
|
1461
1457
|
"stroke-linecap": e.FINAL_CONFIG.chart.grid.frame.strokeLinecap,
|
|
1462
1458
|
"stroke-linejoin": e.FINAL_CONFIG.chart.grid.frame.strokeLinejoin,
|
|
1463
1459
|
"stroke-dasharray": e.FINAL_CONFIG.chart.grid.frame.strokeDasharray
|
|
1464
|
-
}, null, 8,
|
|
1465
|
-
e.FINAL_CONFIG.chart.grid.labels.show ? (
|
|
1466
|
-
i.mutableConfig.useIndividualScale ? (
|
|
1467
|
-
(
|
|
1460
|
+
}, null, 8, Mt)) : o("", !0),
|
|
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, [
|
|
1468
1464
|
u("line", {
|
|
1469
1465
|
x1: t.x + e.xPadding,
|
|
1470
1466
|
x2: t.x + e.xPadding,
|
|
@@ -1473,49 +1469,49 @@ function qa(a, s, c, f, i, e) {
|
|
|
1473
1469
|
stroke: t.color,
|
|
1474
1470
|
"stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
|
|
1475
1471
|
"stroke-linecap": "round",
|
|
1476
|
-
style:
|
|
1477
|
-
}, null, 12,
|
|
1472
|
+
style: A(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1473
|
+
}, null, 12, Pt)
|
|
1478
1474
|
]))), 256)),
|
|
1479
|
-
(
|
|
1480
|
-
style:
|
|
1475
|
+
(r(!0), l(N, null, I(e.allScales, (t) => (r(), l("g", {
|
|
1476
|
+
style: A(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1481
1477
|
}, [
|
|
1482
1478
|
u("text", {
|
|
1483
1479
|
fill: t.color,
|
|
1484
1480
|
"font-size": i.fontSizes.dataLabels,
|
|
1485
1481
|
"text-anchor": "middle",
|
|
1486
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)`
|
|
1487
|
-
}, S(t.name) + " " + S(t.scaleLabel ? `- ${t.scaleLabel}` : ""), 9,
|
|
1488
|
-
(
|
|
1483
|
+
}, S(t.name) + " " + S(t.scaleLabel ? `- ${t.scaleLabel}` : ""), 9, Vt),
|
|
1484
|
+
(r(!0), l(N, null, I(t.yLabels, (c, n) => (r(), l("line", {
|
|
1489
1485
|
x1: t.x - 3 + e.xPadding,
|
|
1490
1486
|
x2: t.x + e.xPadding,
|
|
1491
|
-
y1: e.checkNaN(
|
|
1492
|
-
y2: e.checkNaN(
|
|
1487
|
+
y1: e.checkNaN(c.y),
|
|
1488
|
+
y2: e.checkNaN(c.y),
|
|
1493
1489
|
stroke: t.color,
|
|
1494
1490
|
"stroke-width": 1,
|
|
1495
1491
|
"stroke-linecap": "round"
|
|
1496
|
-
}, null, 8,
|
|
1497
|
-
(
|
|
1492
|
+
}, null, 8, Rt))), 256)),
|
|
1493
|
+
(r(!0), l(N, null, I(t.yLabels, (c, n) => (r(), l("text", {
|
|
1498
1494
|
x: t.x - 5 + e.xPadding,
|
|
1499
|
-
y: e.checkNaN(
|
|
1495
|
+
y: e.checkNaN(c.y) + i.fontSizes.dataLabels / 3,
|
|
1500
1496
|
"font-size": i.fontSizes.dataLabels,
|
|
1501
1497
|
"text-anchor": "end",
|
|
1502
1498
|
fill: t.color
|
|
1503
1499
|
}, S(e.applyDataLabel(
|
|
1504
1500
|
e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
|
|
1505
|
-
|
|
1501
|
+
c.value,
|
|
1506
1502
|
e.dataLabel({
|
|
1507
|
-
p:
|
|
1508
|
-
v:
|
|
1509
|
-
s:
|
|
1503
|
+
p: c.prefix,
|
|
1504
|
+
v: c.value,
|
|
1505
|
+
s: c.suffix,
|
|
1510
1506
|
r: 1
|
|
1511
1507
|
}),
|
|
1512
|
-
{ datapoint:
|
|
1513
|
-
)), 9,
|
|
1508
|
+
{ datapoint: c.datapoint, seriesIndex: n }
|
|
1509
|
+
)), 9, Dt))), 256))
|
|
1514
1510
|
], 4))), 256))
|
|
1515
|
-
], 64)) : (
|
|
1516
|
-
key: `yLabel_${
|
|
1511
|
+
], 64)) : (r(!0), l(N, { key: 1 }, I(e.yLabels, (t, c) => (r(), l("g", {
|
|
1512
|
+
key: `yLabel_${c}`
|
|
1517
1513
|
}, [
|
|
1518
|
-
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", {
|
|
1519
1515
|
key: 0,
|
|
1520
1516
|
x1: e.drawingArea.left + e.xPadding,
|
|
1521
1517
|
x2: e.drawingArea.left - 5 + e.xPadding,
|
|
@@ -1524,8 +1520,8 @@ function qa(a, s, c, f, i, e) {
|
|
|
1524
1520
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1525
1521
|
"stroke-width": "1",
|
|
1526
1522
|
"stroke-linecap": "round"
|
|
1527
|
-
}, null, 8,
|
|
1528
|
-
t.value >= e.niceScale.min && t.value <= e.niceScale.max ? (
|
|
1523
|
+
}, null, 8, Ht)) : o("", !0),
|
|
1524
|
+
t.value >= e.niceScale.min && t.value <= e.niceScale.max ? (r(), l("text", {
|
|
1529
1525
|
key: 1,
|
|
1530
1526
|
x: e.drawingArea.left - 7 + e.xPadding,
|
|
1531
1527
|
y: e.checkNaN(t.y + i.fontSizes.dataLabels / 3),
|
|
@@ -1541,27 +1537,27 @@ function qa(a, s, c, f, i, e) {
|
|
|
1541
1537
|
s: t.suffix,
|
|
1542
1538
|
r: 1
|
|
1543
1539
|
})
|
|
1544
|
-
) : ""), 9,
|
|
1540
|
+
) : ""), 9, Wt)) : o("", !0)
|
|
1545
1541
|
]))), 128))
|
|
1546
1542
|
])) : o("", !0),
|
|
1547
|
-
(
|
|
1548
|
-
key: `serie_plot_${
|
|
1549
|
-
class: M(`serie_plot_${
|
|
1550
|
-
style:
|
|
1543
|
+
(r(!0), l(N, null, I(e.plotSet, (t, c) => (r(), l("g", {
|
|
1544
|
+
key: `serie_plot_${c}`,
|
|
1545
|
+
class: M(`serie_plot_${c}`),
|
|
1546
|
+
style: A(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1551
1547
|
}, [
|
|
1552
|
-
(
|
|
1553
|
-
key: `circle_plot_${
|
|
1548
|
+
(r(!0), l(N, null, I(t.plots, (n, g) => (r(), l("g", {
|
|
1549
|
+
key: `circle_plot_${c}_${g}`
|
|
1554
1550
|
}, [
|
|
1555
|
-
e.canShowValue(n.value) ? (
|
|
1551
|
+
e.canShowValue(n.value) ? (r(), V(L, {
|
|
1556
1552
|
key: 0,
|
|
1557
1553
|
shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(t.shape) ? t.shape : "circle",
|
|
1558
|
-
color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${
|
|
1554
|
+
color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${c}_${i.uniqueId})` : t.color,
|
|
1559
1555
|
plot: { x: e.checkNaN(n.x), y: e.checkNaN(n.y) },
|
|
1560
1556
|
radius: i.selectedSerieIndex !== null && i.selectedSerieIndex === g || i.selectedMinimapIndex !== null && i.selectedMinimapIndex === g ? (i.plotRadii.plot || 6) * 1.5 : i.plotRadii.plot || 6,
|
|
1561
1557
|
stroke: e.FINAL_CONFIG.chart.backgroundColor,
|
|
1562
1558
|
strokeWidth: 0.5
|
|
1563
1559
|
}, null, 8, ["shape", "color", "plot", "radius", "stroke"])) : o("", !0),
|
|
1564
|
-
n.comment && e.FINAL_CONFIG.chart.comments.show ? (
|
|
1560
|
+
n.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), l("foreignObject", {
|
|
1565
1561
|
key: 1,
|
|
1566
1562
|
style: { overflow: "visible" },
|
|
1567
1563
|
height: "12",
|
|
@@ -1569,17 +1565,17 @@ function qa(a, s, c, f, i, e) {
|
|
|
1569
1565
|
x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
|
|
1570
1566
|
y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
|
|
1571
1567
|
}, [
|
|
1572
|
-
u("div",
|
|
1568
|
+
u("div", Bt, [
|
|
1573
1569
|
O(a.$slots, "plot-comment", {
|
|
1574
1570
|
plot: { ...n, color: t.color }
|
|
1575
1571
|
}, void 0, !0)
|
|
1576
1572
|
])
|
|
1577
|
-
], 8,
|
|
1573
|
+
], 8, Et)) : o("", !0)
|
|
1578
1574
|
]))), 128)),
|
|
1579
|
-
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, [
|
|
1580
1576
|
u("defs", null, [
|
|
1581
1577
|
u("marker", {
|
|
1582
|
-
id: `plot_arrow_${
|
|
1578
|
+
id: `plot_arrow_${c}`,
|
|
1583
1579
|
markerWidth: 7,
|
|
1584
1580
|
markerHeight: 7,
|
|
1585
1581
|
refX: "0",
|
|
@@ -1589,10 +1585,10 @@ function qa(a, s, c, f, i, e) {
|
|
|
1589
1585
|
u("polygon", {
|
|
1590
1586
|
points: `0 0, 7 ${7 / 2}, 0 7`,
|
|
1591
1587
|
fill: t.color
|
|
1592
|
-
}, null, 8,
|
|
1593
|
-
], 8,
|
|
1588
|
+
}, null, 8, qt)
|
|
1589
|
+
], 8, Xt)
|
|
1594
1590
|
]),
|
|
1595
|
-
t.plots.length > 1 ? (
|
|
1591
|
+
t.plots.length > 1 ? (r(), l("line", {
|
|
1596
1592
|
key: 0,
|
|
1597
1593
|
x1: e.calcLinearProgression(t.plots).x1,
|
|
1598
1594
|
x2: e.calcLinearProgression(t.plots).x2,
|
|
@@ -1601,9 +1597,9 @@ function qa(a, s, c, f, i, e) {
|
|
|
1601
1597
|
"stroke-width": 1,
|
|
1602
1598
|
stroke: t.color,
|
|
1603
1599
|
"stroke-dasharray": 2,
|
|
1604
|
-
"marker-end": `url(#plot_arrow_${
|
|
1605
|
-
}, null, 8,
|
|
1606
|
-
t.plots.length > 1 ? (
|
|
1600
|
+
"marker-end": `url(#plot_arrow_${c})`
|
|
1601
|
+
}, null, 8, Zt)) : o("", !0),
|
|
1602
|
+
t.plots.length > 1 ? (r(), l("text", {
|
|
1607
1603
|
key: 1,
|
|
1608
1604
|
"text-anchor": "middle",
|
|
1609
1605
|
x: e.calcLinearProgression(t.plots).x2,
|
|
@@ -1614,26 +1610,26 @@ function qa(a, s, c, f, i, e) {
|
|
|
1614
1610
|
v: e.calcLinearProgression(t.plots).trend * 100,
|
|
1615
1611
|
s: "%",
|
|
1616
1612
|
r: 2
|
|
1617
|
-
})), 9,
|
|
1613
|
+
})), 9, Ut)) : o("", !0)
|
|
1618
1614
|
])) : o("", !0)
|
|
1619
1615
|
], 6))), 128)),
|
|
1620
|
-
(
|
|
1621
|
-
key: `serie_line_${
|
|
1622
|
-
class: M(`serie_line_${
|
|
1623
|
-
style:
|
|
1616
|
+
(r(!0), l(N, null, I(e.lineSet, (t, c) => (r(), l("g", {
|
|
1617
|
+
key: `serie_line_${c}`,
|
|
1618
|
+
class: M(`serie_line_${c}`),
|
|
1619
|
+
style: A(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1624
1620
|
}, [
|
|
1625
|
-
t.smooth && t.plots.length > 1 ? (
|
|
1621
|
+
t.smooth && t.plots.length > 1 ? (r(), l("path", {
|
|
1626
1622
|
key: 0,
|
|
1627
1623
|
d: `M${t.curve}`,
|
|
1628
1624
|
stroke: e.FINAL_CONFIG.chart.backgroundColor,
|
|
1629
1625
|
"stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
|
|
1630
1626
|
"stroke-dasharray": t.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1631
1627
|
fill: "none"
|
|
1632
|
-
}, null, 8,
|
|
1633
|
-
(
|
|
1634
|
-
key: `line_${
|
|
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", {
|
|
1630
|
+
key: `line_${c}_${g}`
|
|
1635
1631
|
}, [
|
|
1636
|
-
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", {
|
|
1637
1633
|
key: 0,
|
|
1638
1634
|
x1: n.x,
|
|
1639
1635
|
x2: t.plots[g + 1].x,
|
|
@@ -1644,38 +1640,38 @@ function qa(a, s, c, f, i, e) {
|
|
|
1644
1640
|
"stroke-dasharray": t.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1645
1641
|
"stroke-linejoin": "round",
|
|
1646
1642
|
"stroke-linecap": "round"
|
|
1647
|
-
}, null, 8,
|
|
1643
|
+
}, null, 8, Kt)) : o("", !0)
|
|
1648
1644
|
]))), 128))
|
|
1649
1645
|
])) : o("", !0)
|
|
1650
1646
|
], 6))), 128)),
|
|
1651
|
-
(
|
|
1652
|
-
key: `serie_line_${
|
|
1653
|
-
class: M(`serie_line_${
|
|
1654
|
-
style:
|
|
1647
|
+
(r(!0), l(N, null, I(e.lineSet, (t, c) => (r(), l("g", {
|
|
1648
|
+
key: `serie_line_${c}`,
|
|
1649
|
+
class: M(`serie_line_${c}`),
|
|
1650
|
+
style: A(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1655
1651
|
}, [
|
|
1656
|
-
t.useArea && t.plots.length > 1 ? (
|
|
1657
|
-
t.smooth ? (
|
|
1652
|
+
t.useArea && t.plots.length > 1 ? (r(), l("g", jt, [
|
|
1653
|
+
t.smooth ? (r(), l("path", {
|
|
1658
1654
|
key: 0,
|
|
1659
|
-
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 *
|
|
1660
|
-
fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${
|
|
1661
|
-
}, null, 8,
|
|
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`,
|
|
1656
|
+
fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${i.uniqueId})` : e.setOpacity(t.color, e.FINAL_CONFIG.line.area.opacity)
|
|
1657
|
+
}, null, 8, $t)) : (r(), l("path", {
|
|
1662
1658
|
key: 1,
|
|
1663
1659
|
d: `M${t.area}Z`,
|
|
1664
|
-
fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${
|
|
1665
|
-
}, null, 8,
|
|
1660
|
+
fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${i.uniqueId})` : e.setOpacity(t.color, e.FINAL_CONFIG.line.area.opacity)
|
|
1661
|
+
}, null, 8, ea))
|
|
1666
1662
|
])) : o("", !0),
|
|
1667
|
-
t.smooth && t.plots.length > 1 ? (
|
|
1663
|
+
t.smooth && t.plots.length > 1 ? (r(), l("path", {
|
|
1668
1664
|
key: 1,
|
|
1669
1665
|
d: `M${t.curve}`,
|
|
1670
1666
|
stroke: t.color,
|
|
1671
1667
|
"stroke-width": e.FINAL_CONFIG.line.strokeWidth,
|
|
1672
1668
|
"stroke-dasharray": t.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1673
1669
|
fill: "none"
|
|
1674
|
-
}, null, 8,
|
|
1675
|
-
(
|
|
1676
|
-
key: `line_${
|
|
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", {
|
|
1672
|
+
key: `line_${c}_${g}`
|
|
1677
1673
|
}, [
|
|
1678
|
-
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", {
|
|
1679
1675
|
key: 0,
|
|
1680
1676
|
x1: n.x,
|
|
1681
1677
|
x2: t.plots[g + 1].x,
|
|
@@ -1686,22 +1682,22 @@ function qa(a, s, c, f, i, e) {
|
|
|
1686
1682
|
"stroke-dasharray": t.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1687
1683
|
"stroke-linejoin": "round",
|
|
1688
1684
|
"stroke-linecap": "round"
|
|
1689
|
-
}, null, 8,
|
|
1685
|
+
}, null, 8, ia)) : o("", !0)
|
|
1690
1686
|
]))), 128))
|
|
1691
1687
|
])) : o("", !0),
|
|
1692
|
-
(
|
|
1693
|
-
key: `circle_line_${
|
|
1688
|
+
(r(!0), l(N, null, I(t.plots, (n, g) => (r(), l("g", {
|
|
1689
|
+
key: `circle_line_${c}_${g}`
|
|
1694
1690
|
}, [
|
|
1695
|
-
n && e.canShowValue(n.value) ? (
|
|
1691
|
+
n && e.canShowValue(n.value) ? (r(), V(L, {
|
|
1696
1692
|
key: 0,
|
|
1697
1693
|
shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(t.shape) ? t.shape : "circle",
|
|
1698
|
-
color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${
|
|
1694
|
+
color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${c}_${i.uniqueId})` : t.color,
|
|
1699
1695
|
plot: { x: e.checkNaN(n.x), y: e.checkNaN(n.y) },
|
|
1700
1696
|
radius: i.selectedSerieIndex !== null && i.selectedSerieIndex === g || i.selectedMinimapIndex !== null && i.selectedMinimapIndex === g ? (i.plotRadii.line || 6) * 1.5 : i.plotRadii.line || 6,
|
|
1701
1697
|
stroke: e.FINAL_CONFIG.chart.backgroundColor,
|
|
1702
1698
|
strokeWidth: 0.5
|
|
1703
1699
|
}, null, 8, ["shape", "color", "plot", "radius", "stroke"])) : o("", !0),
|
|
1704
|
-
n.comment && e.FINAL_CONFIG.chart.comments.show ? (
|
|
1700
|
+
n.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), l("foreignObject", {
|
|
1705
1701
|
key: 1,
|
|
1706
1702
|
style: { overflow: "visible" },
|
|
1707
1703
|
height: "12",
|
|
@@ -1709,17 +1705,17 @@ function qa(a, s, c, f, i, e) {
|
|
|
1709
1705
|
x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
|
|
1710
1706
|
y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
|
|
1711
1707
|
}, [
|
|
1712
|
-
u("div",
|
|
1708
|
+
u("div", la, [
|
|
1713
1709
|
O(a.$slots, "plot-comment", {
|
|
1714
1710
|
plot: { ...n, color: t.color }
|
|
1715
1711
|
}, void 0, !0)
|
|
1716
1712
|
])
|
|
1717
|
-
], 8,
|
|
1713
|
+
], 8, ra)) : o("", !0)
|
|
1718
1714
|
]))), 128)),
|
|
1719
|
-
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, [
|
|
1720
1716
|
u("defs", null, [
|
|
1721
1717
|
u("marker", {
|
|
1722
|
-
id: `line_arrow_${
|
|
1718
|
+
id: `line_arrow_${c}`,
|
|
1723
1719
|
markerWidth: 7,
|
|
1724
1720
|
markerHeight: 7,
|
|
1725
1721
|
refX: "0",
|
|
@@ -1729,10 +1725,10 @@ function qa(a, s, c, f, i, e) {
|
|
|
1729
1725
|
u("polygon", {
|
|
1730
1726
|
points: `0 0, 7 ${7 / 2}, 0 7`,
|
|
1731
1727
|
fill: t.color
|
|
1732
|
-
}, null, 8,
|
|
1733
|
-
], 8,
|
|
1728
|
+
}, null, 8, ca)
|
|
1729
|
+
], 8, na)
|
|
1734
1730
|
]),
|
|
1735
|
-
t.plots.length > 1 ? (
|
|
1731
|
+
t.plots.length > 1 ? (r(), l("line", {
|
|
1736
1732
|
key: 0,
|
|
1737
1733
|
x1: e.calcLinearProgression(t.plots).x1,
|
|
1738
1734
|
x2: e.calcLinearProgression(t.plots).x2,
|
|
@@ -1741,9 +1737,9 @@ function qa(a, s, c, f, i, e) {
|
|
|
1741
1737
|
"stroke-width": 1,
|
|
1742
1738
|
stroke: t.color,
|
|
1743
1739
|
"stroke-dasharray": 2,
|
|
1744
|
-
"marker-end": `url(#line_arrow_${
|
|
1745
|
-
}, null, 8,
|
|
1746
|
-
t.plots.length > 1 ? (
|
|
1740
|
+
"marker-end": `url(#line_arrow_${c})`
|
|
1741
|
+
}, null, 8, ha)) : o("", !0),
|
|
1742
|
+
t.plots.length > 1 ? (r(), l("text", {
|
|
1747
1743
|
key: 1,
|
|
1748
1744
|
"text-anchor": "middle",
|
|
1749
1745
|
x: e.calcLinearProgression(t.plots).x2,
|
|
@@ -1754,19 +1750,19 @@ function qa(a, s, c, f, i, e) {
|
|
|
1754
1750
|
v: e.calcLinearProgression(t.plots).trend * 100,
|
|
1755
1751
|
s: "%",
|
|
1756
1752
|
r: 2
|
|
1757
|
-
})), 9,
|
|
1753
|
+
})), 9, oa)) : o("", !0)
|
|
1758
1754
|
])) : o("", !0)
|
|
1759
1755
|
], 6))), 128)),
|
|
1760
|
-
(e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && i.mutableConfig.dataLabels.show ? (
|
|
1761
|
-
(
|
|
1762
|
-
key: `xLabel_bar_${
|
|
1763
|
-
class: M(`xLabel_bar_${
|
|
1764
|
-
style:
|
|
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", {
|
|
1758
|
+
key: `xLabel_bar_${c}`,
|
|
1759
|
+
class: M(`xLabel_bar_${c}`),
|
|
1760
|
+
style: A(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1765
1761
|
}, [
|
|
1766
|
-
(
|
|
1767
|
-
key: `xLabel_bar_${
|
|
1762
|
+
(r(!0), l(N, null, I(t.plots, (n, g) => (r(), l("g", {
|
|
1763
|
+
key: `xLabel_bar_${c}_${g}`
|
|
1768
1764
|
}, [
|
|
1769
|
-
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", {
|
|
1770
1766
|
key: 0,
|
|
1771
1767
|
x: i.mutableConfig.useIndividualScale && i.mutableConfig.isStacked ? n.x + e.slot.line / 2 : e.calcRectX(n) + e.calcRectWidth() / 2 - e.barPeriodGap / 2,
|
|
1772
1768
|
y: e.checkNaN(n.y) + (n.value > 0 ? e.FINAL_CONFIG.bar.labels.offsetY : -e.FINAL_CONFIG.bar.labels.offsetY * 3),
|
|
@@ -1786,8 +1782,8 @@ function qa(a, s, c, f, i, e) {
|
|
|
1786
1782
|
datapoint: n,
|
|
1787
1783
|
serie: t
|
|
1788
1784
|
}
|
|
1789
|
-
) : ""), 9,
|
|
1790
|
-
n && e.FINAL_CONFIG.bar.serieName.show ? (
|
|
1785
|
+
) : ""), 9, ua)) : o("", !0),
|
|
1786
|
+
n && e.FINAL_CONFIG.bar.serieName.show ? (r(), l("text", {
|
|
1791
1787
|
key: 1,
|
|
1792
1788
|
x: i.mutableConfig.useIndividualScale && i.mutableConfig.isStacked ? n.x + e.slot.line / 2 : n.x + e.calcRectWidth() * 1.1,
|
|
1793
1789
|
y: n.y + (n.value > 0 ? e.FINAL_CONFIG.bar.serieName.offsetY : -e.FINAL_CONFIG.bar.serieName.offsetY * 3),
|
|
@@ -1795,20 +1791,20 @@ function qa(a, s, c, f, i, e) {
|
|
|
1795
1791
|
"font-size": i.fontSizes.plotLabels,
|
|
1796
1792
|
fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? t.color : e.FINAL_CONFIG.bar.serieName.color,
|
|
1797
1793
|
"font-weight": e.FINAL_CONFIG.bar.serieName.bold ? "bold" : "normal"
|
|
1798
|
-
}, S(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: t.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : t.name), 9,
|
|
1794
|
+
}, S(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: t.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : t.name), 9, ga)) : o("", !0)
|
|
1799
1795
|
]))), 128))
|
|
1800
1796
|
], 6))), 128))
|
|
1801
1797
|
])) : o("", !0),
|
|
1802
|
-
e.FINAL_CONFIG.plot.labels.show && i.mutableConfig.dataLabels.show ? (
|
|
1803
|
-
(
|
|
1804
|
-
key: `xLabel_plot_${
|
|
1805
|
-
class: M(`xLabel_plot_${
|
|
1806
|
-
style:
|
|
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", {
|
|
1800
|
+
key: `xLabel_plot_${c}`,
|
|
1801
|
+
class: M(`xLabel_plot_${c}`),
|
|
1802
|
+
style: A(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1807
1803
|
}, [
|
|
1808
|
-
(
|
|
1809
|
-
key: `xLabel_plot_${
|
|
1804
|
+
(r(!0), l(N, null, I(t.plots, (n, g) => (r(), l("g", {
|
|
1805
|
+
key: `xLabel_plot_${c}_${g}`
|
|
1810
1806
|
}, [
|
|
1811
|
-
n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 ? (
|
|
1807
|
+
n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 ? (r(), l("text", {
|
|
1812
1808
|
key: 0,
|
|
1813
1809
|
x: n.x,
|
|
1814
1810
|
y: n.y + e.FINAL_CONFIG.plot.labels.offsetY,
|
|
@@ -1828,8 +1824,8 @@ function qa(a, s, c, f, i, e) {
|
|
|
1828
1824
|
datapoint: n,
|
|
1829
1825
|
serie: t
|
|
1830
1826
|
}
|
|
1831
|
-
) : ""), 9,
|
|
1832
|
-
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", {
|
|
1833
1829
|
key: 1,
|
|
1834
1830
|
x: n.x,
|
|
1835
1831
|
y: n.y - 20,
|
|
@@ -1838,10 +1834,10 @@ function qa(a, s, c, f, i, e) {
|
|
|
1838
1834
|
style: { overflow: "visible" }
|
|
1839
1835
|
}, [
|
|
1840
1836
|
u("div", {
|
|
1841
|
-
style:
|
|
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;`)
|
|
1842
1838
|
}, S(t.name), 5)
|
|
1843
|
-
], 8,
|
|
1844
|
-
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", {
|
|
1845
1841
|
key: 2,
|
|
1846
1842
|
x: n.x - t.name.length * (i.fontSizes.plotLabels / 2),
|
|
1847
1843
|
y: n.y - 20,
|
|
@@ -1850,22 +1846,22 @@ function qa(a, s, c, f, i, e) {
|
|
|
1850
1846
|
style: { overflow: "visible" }
|
|
1851
1847
|
}, [
|
|
1852
1848
|
u("div", {
|
|
1853
|
-
style:
|
|
1849
|
+
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;`)
|
|
1854
1850
|
}, S(t.name), 5)
|
|
1855
|
-
], 8,
|
|
1851
|
+
], 8, Ia)) : o("", !0)
|
|
1856
1852
|
]))), 128))
|
|
1857
1853
|
], 6))), 128))
|
|
1858
1854
|
])) : o("", !0),
|
|
1859
|
-
e.FINAL_CONFIG.line.labels.show && i.mutableConfig.dataLabels.show ? (
|
|
1860
|
-
(
|
|
1861
|
-
key: `xLabel_line_${
|
|
1862
|
-
class: M(`xLabel_line_${
|
|
1863
|
-
style:
|
|
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", {
|
|
1857
|
+
key: `xLabel_line_${c}`,
|
|
1858
|
+
class: M(`xLabel_line_${c}`),
|
|
1859
|
+
style: A(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1864
1860
|
}, [
|
|
1865
|
-
(
|
|
1866
|
-
key: `xLabel_line_${
|
|
1861
|
+
(r(!0), l(N, null, I(t.plots, (n, g) => (r(), l("g", {
|
|
1862
|
+
key: `xLabel_line_${c}_${g}`
|
|
1867
1863
|
}, [
|
|
1868
|
-
n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 ? (
|
|
1864
|
+
n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 ? (r(), l("text", {
|
|
1869
1865
|
key: 0,
|
|
1870
1866
|
x: n.x,
|
|
1871
1867
|
y: n.y + (n.value > 0 ? e.FINAL_CONFIG.line.labels.offsetY : -e.FINAL_CONFIG.line.labels.offsetY * 3),
|
|
@@ -1885,8 +1881,8 @@ function qa(a, s, c, f, i, e) {
|
|
|
1885
1881
|
datapoint: n,
|
|
1886
1882
|
serie: t
|
|
1887
1883
|
}
|
|
1888
|
-
) : ""), 9,
|
|
1889
|
-
n && g === 0 && t.useTag && t.useTag === "start" ? (
|
|
1884
|
+
) : ""), 9, ba)) : o("", !0),
|
|
1885
|
+
n && g === 0 && t.useTag && t.useTag === "start" ? (r(), l("foreignObject", {
|
|
1890
1886
|
key: 1,
|
|
1891
1887
|
x: n.x,
|
|
1892
1888
|
y: n.y - 20,
|
|
@@ -1895,10 +1891,10 @@ function qa(a, s, c, f, i, e) {
|
|
|
1895
1891
|
style: { overflow: "visible" }
|
|
1896
1892
|
}, [
|
|
1897
1893
|
u("div", {
|
|
1898
|
-
style:
|
|
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;`)
|
|
1899
1895
|
}, S(t.name), 5)
|
|
1900
|
-
], 8,
|
|
1901
|
-
n && g === t.plots.length - 1 && t.useTag && t.useTag === "end" ? (
|
|
1896
|
+
], 8, Fa)) : o("", !0),
|
|
1897
|
+
n && g === t.plots.length - 1 && t.useTag && t.useTag === "end" ? (r(), l("foreignObject", {
|
|
1902
1898
|
key: 2,
|
|
1903
1899
|
x: n.x - t.name.length * (i.fontSizes.plotLabels / 2),
|
|
1904
1900
|
y: n.y - 20,
|
|
@@ -1907,21 +1903,21 @@ function qa(a, s, c, f, i, e) {
|
|
|
1907
1903
|
style: { overflow: "visible" }
|
|
1908
1904
|
}, [
|
|
1909
1905
|
u("div", {
|
|
1910
|
-
style:
|
|
1906
|
+
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;`)
|
|
1911
1907
|
}, S(t.name), 5)
|
|
1912
|
-
], 8,
|
|
1908
|
+
], 8, _a)) : o("", !0)
|
|
1913
1909
|
]))), 128))
|
|
1914
1910
|
], 6))), 128))
|
|
1915
1911
|
])) : o("", !0),
|
|
1916
|
-
(
|
|
1917
|
-
key: `xLabel_line_${
|
|
1918
|
-
class: M(`xLabel_line_${
|
|
1919
|
-
style:
|
|
1912
|
+
(r(!0), l(N, null, I(e.lineSet, (t, c) => (r(), l("g", {
|
|
1913
|
+
key: `xLabel_line_${c}`,
|
|
1914
|
+
class: M(`xLabel_line_${c}`),
|
|
1915
|
+
style: A(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1920
1916
|
}, [
|
|
1921
|
-
(
|
|
1922
|
-
key: `xLabel_line_${
|
|
1917
|
+
(r(!0), l(N, null, I(t.plots, (n, g) => (r(), l("g", {
|
|
1918
|
+
key: `xLabel_line_${c}_${g}`
|
|
1923
1919
|
}, [
|
|
1924
|
-
n && g === 0 && t.showSerieName && t.showSerieName === "start" ? (
|
|
1920
|
+
n && g === 0 && t.showSerieName && t.showSerieName === "start" ? (r(), l("text", {
|
|
1925
1921
|
key: 0,
|
|
1926
1922
|
x: n.x - i.fontSizes.plotLabels,
|
|
1927
1923
|
y: n.y,
|
|
@@ -1936,8 +1932,8 @@ function qa(a, s, c, f, i, e) {
|
|
|
1936
1932
|
y: n.y,
|
|
1937
1933
|
maxWords: 2
|
|
1938
1934
|
})
|
|
1939
|
-
}, null, 8,
|
|
1940
|
-
n && g === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (
|
|
1935
|
+
}, null, 8, ya)) : o("", !0),
|
|
1936
|
+
n && g === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (r(), l("text", {
|
|
1941
1937
|
key: 1,
|
|
1942
1938
|
x: n.x + i.fontSizes.plotLabels,
|
|
1943
1939
|
y: n.y,
|
|
@@ -1952,18 +1948,18 @@ function qa(a, s, c, f, i, e) {
|
|
|
1952
1948
|
y: n.y,
|
|
1953
1949
|
maxWords: 2
|
|
1954
1950
|
})
|
|
1955
|
-
}, null, 8,
|
|
1951
|
+
}, null, 8, Aa)) : o("", !0)
|
|
1956
1952
|
]))), 128))
|
|
1957
1953
|
], 6))), 128)),
|
|
1958
|
-
(
|
|
1959
|
-
key: `xLabel_plot_${
|
|
1960
|
-
class: M(`xLabel_plot_${
|
|
1961
|
-
style:
|
|
1954
|
+
(r(!0), l(N, null, I(e.plotSet, (t, c) => (r(), l("g", {
|
|
1955
|
+
key: `xLabel_plot_${c}`,
|
|
1956
|
+
class: M(`xLabel_plot_${c}`),
|
|
1957
|
+
style: A(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1962
1958
|
}, [
|
|
1963
|
-
(
|
|
1964
|
-
key: `xLabel_plot_${
|
|
1959
|
+
(r(!0), l(N, null, I(t.plots, (n, g) => (r(), l("g", {
|
|
1960
|
+
key: `xLabel_plot_${c}_${g}`
|
|
1965
1961
|
}, [
|
|
1966
|
-
n && g === 0 && t.showSerieName && t.showSerieName === "start" ? (
|
|
1962
|
+
n && g === 0 && t.showSerieName && t.showSerieName === "start" ? (r(), l("text", {
|
|
1967
1963
|
key: 0,
|
|
1968
1964
|
x: n.x - i.fontSizes.plotLabels,
|
|
1969
1965
|
y: n.y,
|
|
@@ -1978,8 +1974,8 @@ function qa(a, s, c, f, i, e) {
|
|
|
1978
1974
|
y: n.y,
|
|
1979
1975
|
maxWords: 2
|
|
1980
1976
|
})
|
|
1981
|
-
}, null, 8,
|
|
1982
|
-
n && g === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (
|
|
1977
|
+
}, null, 8, La)) : o("", !0),
|
|
1978
|
+
n && g === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (r(), l("text", {
|
|
1983
1979
|
key: 1,
|
|
1984
1980
|
x: n.x + i.fontSizes.plotLabels,
|
|
1985
1981
|
y: n.y,
|
|
@@ -1994,68 +1990,68 @@ function qa(a, s, c, f, i, e) {
|
|
|
1994
1990
|
y: n.y,
|
|
1995
1991
|
maxWords: 2
|
|
1996
1992
|
})
|
|
1997
|
-
}, null, 8,
|
|
1993
|
+
}, null, 8, Ca)) : o("", !0)
|
|
1998
1994
|
]))), 128))
|
|
1999
1995
|
], 6))), 128)),
|
|
2000
|
-
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", {
|
|
2001
1997
|
x: t.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
|
|
2002
1998
|
y: e.drawingArea.top,
|
|
2003
1999
|
width: e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
|
|
2004
2000
|
height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
|
|
2005
2001
|
fill: i.selectedScale === t.id ? e.setOpacity(t.color, 20) : "transparent",
|
|
2006
|
-
onMouseenter: (
|
|
2007
|
-
onMouseleave: s[0] || (s[0] = (
|
|
2008
|
-
}, null, 40,
|
|
2002
|
+
onMouseenter: (c) => i.selectedScale = t.id,
|
|
2003
|
+
onMouseleave: s[0] || (s[0] = (c) => i.selectedScale = null)
|
|
2004
|
+
}, null, 40, Sa))), 256)) : o("", !0),
|
|
2009
2005
|
u("g", null, [
|
|
2010
|
-
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", {
|
|
2011
2007
|
key: 0,
|
|
2012
2008
|
"font-size": i.fontSizes.yAxis,
|
|
2013
2009
|
fill: e.FINAL_CONFIG.chart.grid.labels.color,
|
|
2014
2010
|
transform: `translate(${i.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
|
|
2015
2011
|
"text-anchor": "middle",
|
|
2016
2012
|
style: { transition: "none" }
|
|
2017
|
-
}, S(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9,
|
|
2018
|
-
e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (
|
|
2013
|
+
}, S(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, ka)) : o("", !0),
|
|
2014
|
+
e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (r(), l("text", {
|
|
2019
2015
|
key: 1,
|
|
2020
2016
|
"text-anchor": "middle",
|
|
2021
2017
|
x: i.width / 2,
|
|
2022
2018
|
y: e.drawingArea.bottom + i.fontSizes.yAxis + i.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
|
|
2023
2019
|
"font-size": i.fontSizes.yAxis,
|
|
2024
2020
|
fill: e.FINAL_CONFIG.chart.grid.labels.color
|
|
2025
|
-
}, S(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9,
|
|
2021
|
+
}, S(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, wa)) : o("", !0)
|
|
2026
2022
|
]),
|
|
2027
|
-
e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (
|
|
2028
|
-
(
|
|
2029
|
-
key: `time_label_${
|
|
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", {
|
|
2025
|
+
key: `time_label_${c}`
|
|
2030
2026
|
}, [
|
|
2031
|
-
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 && (
|
|
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", {
|
|
2032
2028
|
key: 0,
|
|
2033
2029
|
"text-anchor": e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
|
|
2034
2030
|
"font-size": i.fontSizes.xAxis,
|
|
2035
2031
|
fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
|
|
2036
|
-
transform: `translate(${e.drawingArea.left + e.drawingArea.width / e.maxSeries *
|
|
2037
|
-
}, S(t || ""), 9,
|
|
2032
|
+
transform: `translate(${e.drawingArea.left + e.drawingArea.width / e.maxSeries * c + e.drawingArea.width / e.maxSeries / 2}, ${e.drawingArea.bottom + i.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation})`
|
|
2033
|
+
}, S(t || ""), 9, va)) : o("", !0)
|
|
2038
2034
|
]))), 128))
|
|
2039
2035
|
])) : o("", !0),
|
|
2040
2036
|
u("g", null, [
|
|
2041
|
-
(
|
|
2042
|
-
key: `tooltip_trap_${
|
|
2037
|
+
(r(!0), l(N, null, I(e.maxSeries, (t, c) => (r(), l("g", {
|
|
2038
|
+
key: `tooltip_trap_${c}`
|
|
2043
2039
|
}, [
|
|
2044
2040
|
u("rect", {
|
|
2045
2041
|
"data-cy-trap": "",
|
|
2046
|
-
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries *
|
|
2042
|
+
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * c,
|
|
2047
2043
|
y: e.drawingArea.top,
|
|
2048
2044
|
height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
|
|
2049
2045
|
width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
|
|
2050
2046
|
fill: "transparent",
|
|
2051
|
-
onMouseenter: (n) => e.toggleTooltipVisibility(!0,
|
|
2047
|
+
onMouseenter: (n) => e.toggleTooltipVisibility(!0, c),
|
|
2052
2048
|
onMouseleave: s[1] || (s[1] = (n) => e.toggleTooltipVisibility(!1)),
|
|
2053
|
-
onClick: (n) => e.selectX(
|
|
2054
|
-
}, null, 40,
|
|
2049
|
+
onClick: (n) => e.selectX(c)
|
|
2050
|
+
}, null, 40, Ga)
|
|
2055
2051
|
]))), 128))
|
|
2056
2052
|
]),
|
|
2057
|
-
e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(i.selectedSerieIndex) ? (
|
|
2058
|
-
(
|
|
2053
|
+
e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(i.selectedSerieIndex) ? (r(), l("g", pa, [
|
|
2054
|
+
(r(), l("foreignObject", {
|
|
2059
2055
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * i.selectedSerieIndex - 100 + e.drawingArea.width / e.maxSeries / 2,
|
|
2060
2056
|
y: e.drawingArea.bottom,
|
|
2061
2057
|
width: "200",
|
|
@@ -2064,23 +2060,23 @@ function qa(a, s, c, f, i, e) {
|
|
|
2064
2060
|
}, [
|
|
2065
2061
|
u("div", {
|
|
2066
2062
|
class: "vue-ui-xy-time-tag",
|
|
2067
|
-
style:
|
|
2063
|
+
style: A(`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`)
|
|
2068
2064
|
}, S(e.timeLabels[i.selectedSerieIndex] || i.selectedSerieIndex), 5)
|
|
2069
|
-
], 8,
|
|
2065
|
+
], 8, za)),
|
|
2070
2066
|
u("circle", {
|
|
2071
2067
|
cx: e.drawingArea.left + e.drawingArea.width / e.maxSeries * i.selectedSerieIndex + e.drawingArea.width / e.maxSeries / 2,
|
|
2072
2068
|
cy: e.drawingArea.bottom,
|
|
2073
2069
|
r: e.FINAL_CONFIG.chart.timeTag.circleMarker.radius,
|
|
2074
2070
|
fill: e.FINAL_CONFIG.chart.timeTag.circleMarker.color
|
|
2075
|
-
}, null, 8,
|
|
2071
|
+
}, null, 8, Ma)
|
|
2076
2072
|
])) : o("", !0)
|
|
2077
2073
|
])) : o("", !0),
|
|
2078
2074
|
O(a.$slots, "svg", { svg: e.svg }, void 0, !0)
|
|
2079
2075
|
], 14, Ze)) : o("", !0),
|
|
2080
|
-
a.$slots.watermark ? (
|
|
2076
|
+
a.$slots.watermark ? (r(), l("div", Ta, [
|
|
2081
2077
|
O(a.$slots, "watermark", B(Y({ isPrinting: i.isPrinting || i.isImaging })), void 0, !0)
|
|
2082
2078
|
])) : o("", !0),
|
|
2083
|
-
e.isDataset ? o("", !0) : (
|
|
2079
|
+
e.isDataset ? o("", !0) : (r(), V(m, {
|
|
2084
2080
|
key: 4,
|
|
2085
2081
|
config: {
|
|
2086
2082
|
type: "line",
|
|
@@ -2098,7 +2094,7 @@ function qa(a, s, c, f, i, e) {
|
|
|
2098
2094
|
}
|
|
2099
2095
|
}
|
|
2100
2096
|
}, null, 8, ["config"])),
|
|
2101
|
-
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, {
|
|
2102
2098
|
ref: "chartSlicer",
|
|
2103
2099
|
key: `slicer_${i.slicerStep}`,
|
|
2104
2100
|
background: e.FINAL_CONFIG.chart.zoom.color,
|
|
@@ -2134,18 +2130,18 @@ function qa(a, s, c, f, i, e) {
|
|
|
2134
2130
|
]),
|
|
2135
2131
|
_: 3
|
|
2136
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),
|
|
2137
|
-
e.FINAL_CONFIG.chart.legend.show ? (
|
|
2133
|
+
e.FINAL_CONFIG.chart.legend.show ? (r(), l("div", {
|
|
2138
2134
|
key: 6,
|
|
2139
2135
|
ref: "chartLegend",
|
|
2140
2136
|
class: "vue-ui-xy-legend",
|
|
2141
|
-
style:
|
|
2137
|
+
style: A(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
|
|
2142
2138
|
}, [
|
|
2143
|
-
(
|
|
2144
|
-
key: `div_legend_item_${
|
|
2139
|
+
(r(!0), l(N, null, I(e.absoluteDataset, (t, c) => (r(), l("div", {
|
|
2140
|
+
key: `div_legend_item_${c}`,
|
|
2145
2141
|
onClick: (n) => e.segregate(t),
|
|
2146
2142
|
class: M({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": i.segregatedSeries.includes(t.id) })
|
|
2147
2143
|
}, [
|
|
2148
|
-
i.icons[t.type] === "line" ? (
|
|
2144
|
+
i.icons[t.type] === "line" ? (r(), l("svg", Va, [
|
|
2149
2145
|
u("rect", {
|
|
2150
2146
|
x: "0",
|
|
2151
2147
|
y: "7",
|
|
@@ -2154,8 +2150,8 @@ function qa(a, s, c, f, i, e) {
|
|
|
2154
2150
|
height: "4",
|
|
2155
2151
|
width: "20",
|
|
2156
2152
|
fill: t.color
|
|
2157
|
-
}, null, 8,
|
|
2158
|
-
q(
|
|
2153
|
+
}, null, 8, Ra),
|
|
2154
|
+
q(L, {
|
|
2159
2155
|
plot: { x: 10, y: 9 },
|
|
2160
2156
|
radius: 4,
|
|
2161
2157
|
color: t.color,
|
|
@@ -2163,8 +2159,8 @@ function qa(a, s, c, f, i, e) {
|
|
|
2163
2159
|
stroke: e.FINAL_CONFIG.chart.backgroundColor,
|
|
2164
2160
|
strokeWidth: 1
|
|
2165
2161
|
}, null, 8, ["color", "shape", "stroke"])
|
|
2166
|
-
])) : (
|
|
2167
|
-
i.icons[t.type] === "bar" ? (
|
|
2162
|
+
])) : (r(), l("svg", Da, [
|
|
2163
|
+
i.icons[t.type] === "bar" ? (r(), l("rect", {
|
|
2168
2164
|
key: 0,
|
|
2169
2165
|
x: "0",
|
|
2170
2166
|
y: "0",
|
|
@@ -2173,7 +2169,7 @@ function qa(a, s, c, f, i, e) {
|
|
|
2173
2169
|
width: "12",
|
|
2174
2170
|
stroke: "none",
|
|
2175
2171
|
fill: t.color
|
|
2176
|
-
}, null, 8,
|
|
2172
|
+
}, null, 8, Ha)) : (r(), V(L, {
|
|
2177
2173
|
key: 1,
|
|
2178
2174
|
plot: { x: 6, y: 6 },
|
|
2179
2175
|
radius: 5,
|
|
@@ -2182,10 +2178,10 @@ function qa(a, s, c, f, i, e) {
|
|
|
2182
2178
|
}, null, 8, ["color", "shape"]))
|
|
2183
2179
|
])),
|
|
2184
2180
|
u("span", {
|
|
2185
|
-
style:
|
|
2181
|
+
style: A(`color:${e.FINAL_CONFIG.chart.legend.color}`)
|
|
2186
2182
|
}, S(t.name), 5)
|
|
2187
|
-
], 10,
|
|
2188
|
-
], 4)) : (
|
|
2183
|
+
], 10, Pa))), 128))
|
|
2184
|
+
], 4)) : (r(), l("div", Wa, [
|
|
2189
2185
|
O(a.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
|
|
2190
2186
|
], 512)),
|
|
2191
2187
|
q(z, {
|
|
@@ -2211,7 +2207,7 @@ function qa(a, s, c, f, i, e) {
|
|
|
2211
2207
|
]),
|
|
2212
2208
|
_: 3
|
|
2213
2209
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
2214
|
-
e.isDataset ? (
|
|
2210
|
+
e.isDataset ? (r(), V(b, {
|
|
2215
2211
|
key: 8,
|
|
2216
2212
|
hideDetails: "",
|
|
2217
2213
|
config: {
|
|
@@ -2229,9 +2225,9 @@ function qa(a, s, c, f, i, e) {
|
|
|
2229
2225
|
}, {
|
|
2230
2226
|
content: p(() => [
|
|
2231
2227
|
u("div", {
|
|
2232
|
-
style:
|
|
2228
|
+
style: A(`${i.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
|
|
2233
2229
|
}, [
|
|
2234
|
-
u("div",
|
|
2230
|
+
u("div", Ea, [
|
|
2235
2231
|
He(u("input", {
|
|
2236
2232
|
type: "checkbox",
|
|
2237
2233
|
"onUpdate:modelValue": s[4] || (s[4] = (t) => i.showSparklineTable = t)
|
|
@@ -2249,11 +2245,11 @@ function qa(a, s, c, f, i, e) {
|
|
|
2249
2245
|
}, null, 8, ["stroke"])
|
|
2250
2246
|
])
|
|
2251
2247
|
]),
|
|
2252
|
-
i.showSparklineTable ? (
|
|
2248
|
+
i.showSparklineTable ? (r(), V(G, {
|
|
2253
2249
|
key: `sparkline_${i.segregateStep}`,
|
|
2254
2250
|
dataset: e.tableSparklineDataset,
|
|
2255
2251
|
config: e.tableSparklineConfig
|
|
2256
|
-
}, null, 8, ["dataset", "config"])) : (
|
|
2252
|
+
}, null, 8, ["dataset", "config"])) : (r(), V(v, {
|
|
2257
2253
|
key: `table_${i.tableStep}`,
|
|
2258
2254
|
colNames: e.dataTable.colNames,
|
|
2259
2255
|
head: e.dataTable.head,
|
|
@@ -2263,7 +2259,7 @@ function qa(a, s, c, f, i, e) {
|
|
|
2263
2259
|
onClose: s[6] || (s[6] = (t) => i.mutableConfig.showTable = !1)
|
|
2264
2260
|
}, {
|
|
2265
2261
|
th: p(({ th: t }) => [
|
|
2266
|
-
u("div", { innerHTML: t }, null, 8,
|
|
2262
|
+
u("div", { innerHTML: t }, null, 8, Ba)
|
|
2267
2263
|
]),
|
|
2268
2264
|
td: p(({ td: t }) => [
|
|
2269
2265
|
Ee(S(isNaN(Number(t)) ? t : e.dataLabel({
|
|
@@ -2281,7 +2277,7 @@ function qa(a, s, c, f, i, e) {
|
|
|
2281
2277
|
}, 8, ["config"])) : o("", !0)
|
|
2282
2278
|
], 14, qe);
|
|
2283
2279
|
}
|
|
2284
|
-
const
|
|
2280
|
+
const si = /* @__PURE__ */ Be(Xe, [["render", Ya], ["__scopeId", "data-v-54696ebc"]]);
|
|
2285
2281
|
export {
|
|
2286
|
-
|
|
2282
|
+
si as default
|
|
2287
2283
|
};
|