vue-data-ui 2.3.70 → 2.3.72
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-Bog1nRXc.js → Arrow-CC7jRg59.js} +1 -1
- package/dist/{Arrow-D4M9K4_y.cjs → Arrow-ZIElM1Qw.cjs} +1 -1
- package/dist/{BaseIcon-DlKBf9ve.cjs → BaseIcon-CBTIJ_i3.cjs} +1 -1
- package/dist/{BaseIcon-D6HKiBWY.js → BaseIcon-CPk98Gv1.js} +1 -1
- package/dist/{DataTable-BTNru9rE.cjs → DataTable-03mHwPdu.cjs} +1 -1
- package/dist/{DataTable-C3P8lB6X.js → DataTable-B9bLH4Tw.js} +2 -2
- package/dist/{Legend-Bvm45WSa.js → Legend-VJiB_MLq.js} +1 -1
- package/dist/{Legend-D_1fNWhT.cjs → Legend-rxEBmJRW.cjs} +1 -1
- package/dist/{Shape-o5RyMUAR.js → Shape-D95l9PFa.js} +1 -1
- package/dist/{Shape-BlFLyhaj.cjs → Shape-DGhwVgQc.cjs} +1 -1
- package/dist/{Slicer-C9gqz7Yw.js → Slicer-DBgvUVRS.js} +2 -2
- package/dist/{Slicer-DfQWN_HX.cjs → Slicer-DUMKJ_f0.cjs} +1 -1
- package/dist/{Title-s23qMfox.js → Title-B_AI8tEZ.js} +1 -1
- package/dist/{Title-96aF3-Z1.cjs → Title-Du743m6e.cjs} +1 -1
- package/dist/{Tooltip-Bkzl1VQe.cjs → Tooltip-B_WP5J9X.cjs} +1 -1
- package/dist/{Tooltip-DrhztkFj.js → Tooltip-CPewpyRa.js} +1 -1
- package/dist/{index--JGgf0j_.js → index-BYuu8ZDR.js} +1 -1
- package/dist/{index-CsqP5b4f.cjs → index-Cuc8JBQE.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +7 -7
- package/dist/types/vue-data-ui.d.ts +7 -7
- package/dist/{useNestedProp-DQ2DOe-8.cjs → useNestedProp-DZwVoxS3.cjs} +1 -1
- package/dist/{useNestedProp-BMj7Pe83.js → useNestedProp-DdJ6Grxg.js} +1 -1
- package/dist/{usePrinter-CobCVhRp.cjs → usePrinter-BaExNQdD.cjs} +1 -1
- package/dist/{usePrinter-DLzQ_BtZ.js → usePrinter-DqIk1aRq.js} +1 -1
- package/dist/{vue-data-ui-BKqUj7bC.js → vue-data-ui-C-epWCMP.js} +57 -57
- package/dist/{vue-data-ui-BGmGXTCr.cjs → vue-data-ui-CUctczUX.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-CmnWR3OF.js → vue-ui-3d-bar-BWgmK5sr.js} +7 -7
- package/dist/{vue-ui-3d-bar-B2viWRX5.cjs → vue-ui-3d-bar-xEpa156l.cjs} +1 -1
- package/dist/{vue-ui-accordion-CT0j1v1a.js → vue-ui-accordion-CW9p_36e.js} +3 -3
- package/dist/{vue-ui-accordion-C1ybaK7v.cjs → vue-ui-accordion-CX_qmhfk.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-TTbeq_lD.js → vue-ui-age-pyramid-C2anlrIJ.js} +8 -8
- package/dist/{vue-ui-age-pyramid-zVLLlC3O.cjs → vue-ui-age-pyramid-DgdE2kzJ.cjs} +1 -1
- package/dist/{vue-ui-annotator-BEXLuscT.js → vue-ui-annotator-BsFyYQmg.js} +1 -1
- package/dist/{vue-ui-annotator-DQ7pecaC.cjs → vue-ui-annotator-DBsLmFva.cjs} +1 -1
- package/dist/{vue-ui-candlestick-Dabz9ByY.js → vue-ui-candlestick-BvObxrrO.js} +9 -9
- package/dist/{vue-ui-candlestick-DRWZ8tzV.cjs → vue-ui-candlestick-CuAxLf7q.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-lPXwP4FD.cjs → vue-ui-carousel-table-B8uXpuho.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-IfBqfJXl.js → vue-ui-carousel-table-D7VggXPa.js} +4 -4
- package/dist/{vue-ui-chestnut-UyMSd4I2.cjs → vue-ui-chestnut-DsDFUMa1.cjs} +1 -1
- package/dist/{vue-ui-chestnut-DR8FQ_iP.js → vue-ui-chestnut-WVNJAAhE.js} +6 -6
- package/dist/{vue-ui-cursor-B8BmRnMz.js → vue-ui-cursor-BHDKuzwQ.js} +2 -2
- package/dist/{vue-ui-cursor-CqXcK21c.cjs → vue-ui-cursor-Dv2x-leV.cjs} +1 -1
- package/dist/{vue-ui-dashboard-D88IiJ08.js → vue-ui-dashboard-B7UJ5m3e.js} +2 -2
- package/dist/{vue-ui-dashboard-Ca7yuK9y.cjs → vue-ui-dashboard-CW2crD7k.cjs} +1 -1
- package/dist/{vue-ui-digits-uHan--u4.cjs → vue-ui-digits-DgAV9vHK.cjs} +1 -1
- package/dist/{vue-ui-digits-Bqvn_McM.js → vue-ui-digits-S4d-vjPw.js} +2 -2
- package/dist/{vue-ui-donut-CcAOPJ0r.cjs → vue-ui-donut-CXrbo2vS.cjs} +1 -1
- package/dist/{vue-ui-donut-CbO7lZOV.js → vue-ui-donut-D-Obra62.js} +9 -9
- package/dist/{vue-ui-donut-evolution-75NW6llE.js → vue-ui-donut-evolution-CPp91gGc.js} +9 -9
- package/dist/{vue-ui-donut-evolution-BUrGAB3_.cjs → vue-ui-donut-evolution-DMN5gqox.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-CdTSX6zx.js → vue-ui-dumbbell-B6VqQ1kW.js} +8 -8
- package/dist/{vue-ui-dumbbell-Dw9PaP6W.cjs → vue-ui-dumbbell-C5QNKImY.cjs} +1 -1
- package/dist/{vue-ui-flow-BZANIyo0.cjs → vue-ui-flow-C265HMf-.cjs} +1 -1
- package/dist/{vue-ui-flow-j4-3z4Jh.js → vue-ui-flow-DxDFmEMo.js} +7 -7
- package/dist/{vue-ui-galaxy-Pvrqq4z8.js → vue-ui-galaxy-3W5_FamU.js} +9 -9
- package/dist/{vue-ui-galaxy-BFRY_qH_.cjs → vue-ui-galaxy-CE6eSTiR.cjs} +1 -1
- package/dist/{vue-ui-gauge-BP7VlzCy.cjs → vue-ui-gauge-Ct9Pm6Rr.cjs} +1 -1
- package/dist/{vue-ui-gauge-Y2d6m8F7.js → vue-ui-gauge-i_mEreL4.js} +5 -5
- package/dist/{vue-ui-gizmo-DPS6iKC7.js → vue-ui-gizmo-DjKx8zQ3.js} +2 -2
- package/dist/{vue-ui-gizmo-DtwUDdpP.cjs → vue-ui-gizmo-fpcEpQC_.cjs} +1 -1
- package/dist/{vue-ui-heatmap-BdpzP1si.js → vue-ui-heatmap-BHVAAWge.js} +8 -8
- package/dist/{vue-ui-heatmap-zu_2wp75.cjs → vue-ui-heatmap-BJ5WgKkA.cjs} +1 -1
- package/dist/{vue-ui-kpi-D5EOkAjY.js → vue-ui-kpi-3vwX1pb-.js} +3 -3
- package/dist/{vue-ui-kpi-irPEkSLW.cjs → vue-ui-kpi-BJO4Si4A.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BwdapIVe.js → vue-ui-mini-loader-BGNVjrVa.js} +2 -2
- package/dist/{vue-ui-mini-loader-Dj2j41sm.cjs → vue-ui-mini-loader-Bkz8xXIn.cjs} +1 -1
- package/dist/{vue-ui-molecule-C6X_fMKH.cjs → vue-ui-molecule-Be2hKLP4.cjs} +1 -1
- package/dist/{vue-ui-molecule-D2UUPg-q.js → vue-ui-molecule-DmcAp7Nw.js} +9 -9
- package/dist/{vue-ui-mood-radar-B8q5ERr1.cjs → vue-ui-mood-radar-DkhEq8kd.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-Bu-AmoHP.js → vue-ui-mood-radar-mzy-m7VP.js} +9 -9
- package/dist/{vue-ui-nested-donuts-Bk7pladW.cjs → vue-ui-nested-donuts-BiCvS_99.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-DYsHFFGT.js → vue-ui-nested-donuts-CrZglRrG.js} +9 -9
- package/dist/{vue-ui-onion-ro--Z0zB.js → vue-ui-onion-BiM0osaA.js} +9 -9
- package/dist/{vue-ui-onion-BtPeuhpF.cjs → vue-ui-onion-Cvm8iYyA.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-C4Vyxlwp.js → vue-ui-parallel-coordinate-plot-B2F5TA1E.js} +10 -10
- package/dist/{vue-ui-parallel-coordinate-plot-D9S1Kv00.cjs → vue-ui-parallel-coordinate-plot-CSKNUGrK.cjs} +1 -1
- package/dist/{vue-ui-quadrant-Dvr2JM0s.cjs → vue-ui-quadrant-BMxBMaop.cjs} +1 -1
- package/dist/{vue-ui-quadrant-BsoH0jZo.js → vue-ui-quadrant-DPqbsYX0.js} +10 -10
- package/dist/{vue-ui-quick-chart-CzF7ozoK.js → vue-ui-quick-chart-BsF68NGZ.js} +7 -7
- package/dist/{vue-ui-quick-chart-C55tphTV.cjs → vue-ui-quick-chart-CUFDSDf1.cjs} +1 -1
- package/dist/{vue-ui-radar-crl43r9e.js → vue-ui-radar-CP99GsF6.js} +10 -10
- package/dist/{vue-ui-radar-CYIJyf1C.cjs → vue-ui-radar-D85U18Fh.cjs} +1 -1
- package/dist/{vue-ui-rating-DKZTsN_i.js → vue-ui-rating-D2_B2CmO.js} +2 -2
- package/dist/{vue-ui-rating-CJdyLYDT.cjs → vue-ui-rating-fCVonNIH.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-xTvwoYbf.cjs → vue-ui-relation-circle-BwhjRfE-.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-ClR9UbUG.js → vue-ui-relation-circle-CCw0p9C1.js} +5 -5
- package/dist/{vue-ui-rings-BfbNfcj0.js → vue-ui-rings-CP9xh0Jf.js} +9 -9
- package/dist/{vue-ui-rings-BMsZFOKI.cjs → vue-ui-rings-Cyb2-Fz9.cjs} +1 -1
- package/dist/{vue-ui-scatter-CnjbVRdT.cjs → vue-ui-scatter-C_7m-HWT.cjs} +1 -1
- package/dist/{vue-ui-scatter-DrEDT3ts.js → vue-ui-scatter-DahRqX0n.js} +10 -10
- package/dist/{vue-ui-screenshot-CR5PzE7H.js → vue-ui-screenshot-Bz8ypntU.js} +1 -1
- package/dist/{vue-ui-screenshot-jWM-jrvI.cjs → vue-ui-screenshot-kjxK6cGN.cjs} +1 -1
- package/dist/{vue-ui-skeleton-BR5OmV8V.cjs → vue-ui-skeleton-DBlDHYe3.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Dgvq-LKZ.js → vue-ui-skeleton-DY6dv9ms.js} +2 -2
- package/dist/{vue-ui-smiley-Bd79lUrX.cjs → vue-ui-smiley-D4LI_UP4.cjs} +1 -1
- package/dist/{vue-ui-smiley-CDviAtqz.js → vue-ui-smiley-QjSvhCpm.js} +2 -2
- package/dist/{vue-ui-spark-trend-DW2lDe5y.cjs → vue-ui-spark-trend-D2lgLtNe.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-B2F0rkq9.js → vue-ui-spark-trend-sS5omLKN.js} +4 -4
- package/dist/{vue-ui-sparkbar-BkBDO4sR.cjs → vue-ui-sparkbar-BSa3E1PW.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CKcJgAar.js → vue-ui-sparkbar-D477mrPt.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DhYVUtMb.js → vue-ui-sparkgauge--a3JMX4H.js} +3 -3
- package/dist/{vue-ui-sparkgauge-Bb5kLYcu.cjs → vue-ui-sparkgauge-CBdtHXSj.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CpeUlCj5.js → vue-ui-sparkhistogram-B7vG6DfM.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-W1a3DiWf.cjs → vue-ui-sparkhistogram-GY3NORZf.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BtsssjV-.cjs → vue-ui-sparkline-DGM2gvJO.cjs} +1 -1
- package/dist/{vue-ui-sparkline-CSJuC8Zx.js → vue-ui-sparkline-DQv6RoBk.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-CXpx5fpg.js → vue-ui-sparkstackbar-CgCC9OyA.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-Xnsvvu3O.cjs → vue-ui-sparkstackbar-CwSD66G_.cjs} +1 -1
- package/dist/{vue-ui-stackbar-qlBdgGcF.js → vue-ui-stackbar-CYlI2qNa.js} +10 -10
- package/dist/{vue-ui-stackbar-D-zlJHc0.cjs → vue-ui-stackbar-DE06kEdr.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-ClCytS01.cjs → vue-ui-strip-plot-CTPE5LwY.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-XvcigaUj.js → vue-ui-strip-plot-cLATedZC.js} +9 -9
- package/dist/{vue-ui-table-DThijTG7.cjs → vue-ui-table-CYfUUquW.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BRJAh82a.js → vue-ui-table-heatmap-DdEcsnYm.js} +4 -4
- package/dist/{vue-ui-table-heatmap-D2a2SQke.cjs → vue-ui-table-heatmap-tqdvfQH_.cjs} +1 -1
- package/dist/{vue-ui-table-ClarkcMT.js → vue-ui-table-isDxWkmA.js} +1 -1
- package/dist/{vue-ui-table-sparkline-C-ib3Gw1.js → vue-ui-table-sparkline-By0R0tDV.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CerH_6Uy.cjs → vue-ui-table-sparkline-D2Eyb3oO.cjs} +1 -1
- package/dist/{vue-ui-thermometer-B4XtAoUv.js → vue-ui-thermometer-CewCkrgl.js} +5 -5
- package/dist/{vue-ui-thermometer-B55takGw.cjs → vue-ui-thermometer-DT_17Yji.cjs} +1 -1
- package/dist/{vue-ui-timer-BsEp04PS.js → vue-ui-timer-VmBMBL_O.js} +4 -4
- package/dist/{vue-ui-timer-C_XNLsof.cjs → vue-ui-timer-aFikwHk0.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-C9mto5xg.js → vue-ui-tiremarks-8YMG58Ot.js} +5 -5
- package/dist/{vue-ui-tiremarks-BJaxtZte.cjs → vue-ui-tiremarks-CyvUhC9g.cjs} +1 -1
- package/dist/{vue-ui-treemap-Bb8nVHbc.cjs → vue-ui-treemap-83V4TBu2.cjs} +1 -1
- package/dist/{vue-ui-treemap-Cnub2STE.js → vue-ui-treemap-DlU_2b5A.js} +9 -9
- package/dist/{vue-ui-vertical-bar-uMAW4lYM.js → vue-ui-vertical-bar-D8KpbB9m.js} +9 -9
- package/dist/{vue-ui-vertical-bar-BJRXcwVc.cjs → vue-ui-vertical-bar-DFlujd2F.cjs} +1 -1
- package/dist/{vue-ui-waffle-FODchV8Z.js → vue-ui-waffle-D5nczTQz.js} +9 -9
- package/dist/{vue-ui-waffle-CQRsRNOh.cjs → vue-ui-waffle-Dn1tci28.cjs} +1 -1
- package/dist/{vue-ui-wheel-DAHkOyha.js → vue-ui-wheel-D0B43FnX.js} +5 -5
- package/dist/{vue-ui-wheel-eKe3KJ5v.cjs → vue-ui-wheel-DWqZIkI0.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-D-805412.cjs → vue-ui-word-cloud-BEebLRtX.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-CjVRqfF6.js → vue-ui-word-cloud-DXEW7oYX.js} +7 -7
- package/dist/vue-ui-xy-8508ou3J.cjs +3 -0
- package/dist/{vue-ui-xy-DaGih5B-.js → vue-ui-xy-O3zBtp22.js} +408 -408
- package/dist/{vue-ui-xy-canvas-iu96oJOi.js → vue-ui-xy-canvas-AMNGVzal.js} +10 -10
- package/dist/{vue-ui-xy-canvas-DGr5c46-.cjs → vue-ui-xy-canvas-CssfbLPK.cjs} +1 -1
- package/package.json +1 -1
- package/dist/vue-ui-xy-BeTe7akA.cjs +0 -3
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { p as
|
|
2
|
-
import { U as
|
|
3
|
-
import { c as
|
|
4
|
-
import { D as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as
|
|
8
|
-
import
|
|
9
|
-
import pe from "./vue-ui-table-sparkline-
|
|
10
|
-
import
|
|
11
|
-
import { S as
|
|
12
|
-
import
|
|
13
|
-
import { u as
|
|
14
|
-
import { resolveComponent as T, openBlock as l, createElementBlock as r, normalizeClass as
|
|
15
|
-
import { _ as
|
|
16
|
-
const
|
|
1
|
+
import { p as K } from "./pdf-97UbtKC2.js";
|
|
2
|
+
import { U as Q, s as j } from "./usePrinter-DqIk1aRq.js";
|
|
3
|
+
import { c as J, a as $, t as ee, w as te, p as ae, u as ie, S as q, M as P, f as Z, H as le, E as re, i as se, Y as ne, V as oe, Z as ce, s as he, _ as de, d as ue, A as ge, b as fe, q as me, P as Ne, $ as Ie, r as be, e as xe, y as _e, K as Fe, x as ye, a0 as Ae, o as Le, v as ke, D as Se, z as Ce } from "./index-BYuu8ZDR.js";
|
|
4
|
+
import { D as we } from "./DataTable-B9bLH4Tw.js";
|
|
5
|
+
import { _ as Oe } from "./Title-B_AI8tEZ.js";
|
|
6
|
+
import { _ as ve, u as Ge } from "./Tooltip-CPewpyRa.js";
|
|
7
|
+
import { _ as ze } from "./Shape-D95l9PFa.js";
|
|
8
|
+
import Me from "./BaseIcon-CPk98Gv1.js";
|
|
9
|
+
import pe from "./vue-ui-table-sparkline-By0R0tDV.js";
|
|
10
|
+
import Pe from "./vue-ui-skeleton-DY6dv9ms.js";
|
|
11
|
+
import { S as Te } from "./Slicer-DBgvUVRS.js";
|
|
12
|
+
import Ve from "./vue-ui-accordion-CW9p_36e.js";
|
|
13
|
+
import { u as U } from "./useNestedProp-DdJ6Grxg.js";
|
|
14
|
+
import { resolveComponent as T, openBlock as l, createElementBlock as r, normalizeClass as p, normalizeStyle as A, createVNode as X, createCommentVNode as c, createBlock as V, createSlots as Re, withCtx as z, renderSlot as O, normalizeProps as B, guardReactiveProps as Y, createElementVNode as u, Fragment as m, renderList as b, toDisplayString as k, withDirectives as De, vModelCheckbox as He, createTextVNode as Ee } from "vue";
|
|
15
|
+
import { _ as We } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const Be = J(), Ye = {
|
|
17
17
|
name: "vue-ui-xy",
|
|
18
18
|
props: {
|
|
19
19
|
config: {
|
|
@@ -30,16 +30,16 @@ const We = U(), Be = {
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
components: {
|
|
33
|
-
DataTable:
|
|
34
|
-
Shape:
|
|
35
|
-
Title:
|
|
36
|
-
Tooltip:
|
|
37
|
-
UserOptions:
|
|
38
|
-
BaseIcon:
|
|
33
|
+
DataTable: we,
|
|
34
|
+
Shape: ze,
|
|
35
|
+
Title: Oe,
|
|
36
|
+
Tooltip: ve,
|
|
37
|
+
UserOptions: Q,
|
|
38
|
+
BaseIcon: Me,
|
|
39
39
|
TableSparkline: pe,
|
|
40
|
-
Skeleton:
|
|
41
|
-
Slicer:
|
|
42
|
-
Accordion:
|
|
40
|
+
Skeleton: Pe,
|
|
41
|
+
Slicer: Te,
|
|
42
|
+
Accordion: Ve
|
|
43
43
|
},
|
|
44
44
|
data() {
|
|
45
45
|
this.dataset.forEach((h, f) => {
|
|
@@ -55,15 +55,15 @@ const We = U(), Be = {
|
|
|
55
55
|
end: i
|
|
56
56
|
};
|
|
57
57
|
return {
|
|
58
|
-
themePalettes:
|
|
59
|
-
themes:
|
|
58
|
+
themePalettes: $,
|
|
59
|
+
themes: ee,
|
|
60
60
|
slicerStep: 0,
|
|
61
61
|
selectedScale: null,
|
|
62
62
|
CTX: null,
|
|
63
63
|
CANVAS: null,
|
|
64
|
-
opacity:
|
|
64
|
+
opacity: te,
|
|
65
65
|
useSafeValues: !0,
|
|
66
|
-
palette:
|
|
66
|
+
palette: ae,
|
|
67
67
|
height: 600,
|
|
68
68
|
width: 1e3,
|
|
69
69
|
viewBox: "0 0 1000 600",
|
|
@@ -96,14 +96,14 @@ const We = U(), Be = {
|
|
|
96
96
|
selectedSerieIndex: null,
|
|
97
97
|
selectedRowIndex: null,
|
|
98
98
|
segregatedSeries: [],
|
|
99
|
-
uniqueId:
|
|
99
|
+
uniqueId: J(),
|
|
100
100
|
step: 0,
|
|
101
101
|
slicer: s,
|
|
102
102
|
__to__: null,
|
|
103
103
|
maxX: i,
|
|
104
104
|
showSparklineTable: !0,
|
|
105
105
|
segregateStep: 0,
|
|
106
|
-
sliderId:
|
|
106
|
+
sliderId: Be,
|
|
107
107
|
fontSizes: {
|
|
108
108
|
xAxis: 18,
|
|
109
109
|
yAxis: 12,
|
|
@@ -122,7 +122,7 @@ const We = U(), Be = {
|
|
|
122
122
|
if (!this.FINAL_CONFIG.chart.zoom.minimap.show) return [];
|
|
123
123
|
const i = this.datasetWithIds.filter((t) => !this.segregatedSeries.includes(t.id)), s = Math.max(...i.map((t) => t.series.length)), h = [];
|
|
124
124
|
for (let t = 0; t < s; t += 1)
|
|
125
|
-
h.push(i.map((e) => e.series[t] || 0).reduce((e,
|
|
125
|
+
h.push(i.map((e) => e.series[t] || 0).reduce((e, I) => (e || 0) + (I || 0), 0));
|
|
126
126
|
const f = Math.min(...h);
|
|
127
127
|
return h.map((t) => t + (f < 0 ? Math.abs(f) : 0));
|
|
128
128
|
},
|
|
@@ -181,9 +181,9 @@ const We = U(), Be = {
|
|
|
181
181
|
yOffset: t.yOffset,
|
|
182
182
|
individualHeight: t.individualHeight,
|
|
183
183
|
x: this.mutableConfig.isStacked ? this.drawingArea.left : this.drawingArea.left / f * (e + 1),
|
|
184
|
-
yLabels: t.scaleYLabels || t.scale.ticks.map((
|
|
185
|
-
y:
|
|
186
|
-
value:
|
|
184
|
+
yLabels: t.scaleYLabels || t.scale.ticks.map((I) => ({
|
|
185
|
+
y: I >= 0 ? t.zero - t.individualHeight * (I / t.max) : t.zero + t.individualHeight * Math.abs(I) / t.max,
|
|
186
|
+
value: I
|
|
187
187
|
}))
|
|
188
188
|
}));
|
|
189
189
|
},
|
|
@@ -196,7 +196,7 @@ const We = U(), Be = {
|
|
|
196
196
|
},
|
|
197
197
|
FINAL_CONFIG: {
|
|
198
198
|
get: function() {
|
|
199
|
-
const i =
|
|
199
|
+
const i = ie().vue_ui_xy;
|
|
200
200
|
if (!Object.keys(this.config || {}).length)
|
|
201
201
|
return i;
|
|
202
202
|
const s = this.useNestedProp({
|
|
@@ -204,7 +204,7 @@ const We = U(), Be = {
|
|
|
204
204
|
defaultConfig: i
|
|
205
205
|
});
|
|
206
206
|
return this.config && this.hasDeepProperty(this.config, "chart.highlightArea") && (Array.isArray(this.config.chart.highlightArea) ? s.chart.highlightArea = this.config.chart.highlightArea : s.chart.highlightArea = [this.config.chart.highlightArea]), this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMin") ? s.chart.grid.labels.yAxis.scaleMin = this.config.chart.grid.labels.yAxis.scaleMin : s.chart.grid.labels.yAxis.scaleMin = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMax") ? s.chart.grid.labels.yAxis.scaleMax = this.config.chart.grid.labels.yAxis.scaleMax : s.chart.grid.labels.yAxis.scaleMax = null, s.theme ? {
|
|
207
|
-
...
|
|
207
|
+
...U({
|
|
208
208
|
userConfig: this.themes.vue_ui_xy[s.theme] || this.config,
|
|
209
209
|
defaultConfig: s
|
|
210
210
|
}),
|
|
@@ -311,53 +311,53 @@ const We = U(), Be = {
|
|
|
311
311
|
ratios: i.absoluteValues.filter((d) => ![null, void 0].includes(d)).map((d) => (d - h) / (f - h)),
|
|
312
312
|
valueMin: h,
|
|
313
313
|
valueMax: f < 0 ? 0 : f
|
|
314
|
-
},
|
|
314
|
+
}, I = {
|
|
315
315
|
max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
|
|
316
316
|
min: i.scaleMin || Math.min(...i.absoluteValues.filter((d) => ![void 0, null].includes(d))) > 0 ? 0 : Math.min(...i.absoluteValues.filter((d) => ![null, void 0].includes(d)))
|
|
317
|
-
},
|
|
318
|
-
const E = this.mutableConfig.useIndividualScale ? (i.absoluteValues[
|
|
317
|
+
}, w = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, L = 1e-7, N = this.calculateNiceScaleWithExactExtremes(I.min, I.max === I.min ? I.max * L : I.max, w), y = this.calculateNiceScaleWithExactExtremes(e.valueMin, e.valueMax === e.valueMin ? e.valueMax * L : e.valueMax, w), M = N.min >= 0 ? 0 : Math.abs(N.min), S = 0, G = N.max + M, v = y.max + Math.abs(S), x = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - i.cumulatedStackRatio) : 0, a = this.mutableConfig.isStacked ? this.drawingArea.height * i.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, o = this.drawingArea.bottom - x - a * M / G, n = this.drawingArea.bottom - x - a * S / v, g = this.absoluteDataset.filter((d) => d.type === "bar").filter((d) => !this.segregatedSeries.includes(d.id)).length, R = i.series.map((d, _) => {
|
|
318
|
+
const E = this.mutableConfig.useIndividualScale ? (i.absoluteValues[_] + M) / G : this.ratioToMax(d), W = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * _ : this.drawingArea.left + this.slot.bar * s + this.slot.bar * _ * g - this.barSlot / 2 - s * this.barPeriodGap;
|
|
319
319
|
return {
|
|
320
|
-
yOffset: x,
|
|
321
|
-
individualHeight:
|
|
322
|
-
x:
|
|
323
|
-
y: this.drawingArea.bottom - x -
|
|
324
|
-
value: i.absoluteValues[
|
|
325
|
-
zeroPosition:
|
|
326
|
-
individualMax:
|
|
327
|
-
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[
|
|
320
|
+
yOffset: this.checkNaN(x),
|
|
321
|
+
individualHeight: this.checkNaN(a),
|
|
322
|
+
x: this.checkNaN(W),
|
|
323
|
+
y: this.drawingArea.bottom - x - a * E,
|
|
324
|
+
value: i.absoluteValues[_],
|
|
325
|
+
zeroPosition: this.checkNaN(o),
|
|
326
|
+
individualMax: this.checkNaN(G),
|
|
327
|
+
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[_] || ""
|
|
328
328
|
};
|
|
329
|
-
}),
|
|
330
|
-
const E = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries *
|
|
329
|
+
}), H = i.absoluteValues.map((d) => y.min >= 0 ? (d - Math.abs(y.min)) / (y.max - Math.abs(y.min)) : (d + Math.abs(y.min)) / (y.max + Math.abs(y.min))), D = i.series.map((d, _) => {
|
|
330
|
+
const E = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * _ : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * s + this.slot.bar * _ * this.absoluteDataset.filter((W) => W.type === "bar").filter((W) => !this.segregatedSeries.includes(W.id)).length;
|
|
331
331
|
return {
|
|
332
|
-
yOffset: x,
|
|
333
|
-
individualHeight:
|
|
334
|
-
x: E,
|
|
335
|
-
y: this.drawingArea.bottom - x - (
|
|
336
|
-
value: i.absoluteValues[
|
|
337
|
-
zeroPosition:
|
|
338
|
-
individualMax:
|
|
339
|
-
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[
|
|
332
|
+
yOffset: this.checkNaN(x),
|
|
333
|
+
individualHeight: this.checkNaN(a),
|
|
334
|
+
x: this.checkNaN(E),
|
|
335
|
+
y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(x) - (this.checkNaN(a) * H[_] || 0)),
|
|
336
|
+
value: i.absoluteValues[_],
|
|
337
|
+
zeroPosition: this.checkNaN(o),
|
|
338
|
+
individualMax: this.checkNaN(G),
|
|
339
|
+
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[_] || ""
|
|
340
340
|
};
|
|
341
|
-
}),
|
|
342
|
-
y: d >= 0 ?
|
|
341
|
+
}), F = N.ticks.map((d) => ({
|
|
342
|
+
y: d >= 0 ? o - a * (d / G) : o + a * Math.abs(d) / G,
|
|
343
343
|
value: d
|
|
344
|
-
})),
|
|
345
|
-
const
|
|
344
|
+
})), C = y.ticks.map((d) => {
|
|
345
|
+
const _ = (d - y.min) / (y.max - y.min);
|
|
346
346
|
return {
|
|
347
|
-
y: d >= 0 ?
|
|
347
|
+
y: d >= 0 ? n - a * _ : n + a * _,
|
|
348
348
|
value: d
|
|
349
349
|
};
|
|
350
350
|
});
|
|
351
351
|
return {
|
|
352
352
|
...i,
|
|
353
353
|
yOffset: x,
|
|
354
|
-
autoScaleYLabels:
|
|
355
|
-
individualHeight:
|
|
356
|
-
scaleYLabels: i.autoScaling ?
|
|
357
|
-
individualScale: i.autoScaling ?
|
|
358
|
-
individualMax: i.autoScaling ?
|
|
359
|
-
zeroPosition: i.autoScaling ?
|
|
360
|
-
plots: i.autoScaling ?
|
|
354
|
+
autoScaleYLabels: C,
|
|
355
|
+
individualHeight: a,
|
|
356
|
+
scaleYLabels: i.autoScaling ? C : F,
|
|
357
|
+
individualScale: i.autoScaling ? y : N,
|
|
358
|
+
individualMax: i.autoScaling ? v : G,
|
|
359
|
+
zeroPosition: i.autoScaling ? n : o,
|
|
360
|
+
plots: i.autoScaling ? D : R
|
|
361
361
|
};
|
|
362
362
|
});
|
|
363
363
|
},
|
|
@@ -377,90 +377,90 @@ const We = U(), Be = {
|
|
|
377
377
|
}, e = {
|
|
378
378
|
max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
|
|
379
379
|
min: i.scaleMin || (Math.min(...i.absoluteValues) > 0 ? 0 : Math.min(...i.absoluteValues))
|
|
380
|
-
},
|
|
381
|
-
const E = this.mutableConfig.useIndividualScale ? (i.absoluteValues[
|
|
380
|
+
}, I = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, w = 1e-7, L = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * w : e.max, I), N = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * w : t.valueMax, I), y = L.min >= 0 ? 0 : Math.abs(L.min), M = 0, S = L.max + Math.abs(y), G = N.max + Math.abs(M), v = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - i.cumulatedStackRatio) : 0, x = this.mutableConfig.isStacked ? this.drawingArea.height * i.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, a = this.drawingArea.bottom - v - x * y / S, o = this.drawingArea.bottom - v - x * M / G, n = i.series.map((d, _) => {
|
|
381
|
+
const E = this.mutableConfig.useIndividualScale ? (i.absoluteValues[_] + Math.abs(y)) / S : this.ratioToMax(d);
|
|
382
382
|
return {
|
|
383
|
-
x: this.drawingArea.left + this.slot.line / 2 + this.slot.line *
|
|
384
|
-
y: this.drawingArea.bottom -
|
|
385
|
-
value: i.absoluteValues[
|
|
386
|
-
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[
|
|
383
|
+
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * _),
|
|
384
|
+
y: this.checkNaN(this.drawingArea.bottom - v - x * E),
|
|
385
|
+
value: i.absoluteValues[_],
|
|
386
|
+
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[_] || ""
|
|
387
387
|
};
|
|
388
|
-
}),
|
|
389
|
-
if (![void 0, null].includes(i.absoluteValues[
|
|
388
|
+
}), g = i.absoluteValues.map((d) => N.min >= 0 ? (d - Math.abs(N.min)) / (N.max - Math.abs(N.min)) : (d + Math.abs(N.min)) / (N.max + Math.abs(N.min))), R = i.series.map((d, _) => {
|
|
389
|
+
if (![void 0, null].includes(i.absoluteValues[_]))
|
|
390
390
|
return {
|
|
391
|
-
x: this.drawingArea.left + this.slot.line / 2 + this.slot.line *
|
|
392
|
-
y: this.drawingArea.bottom -
|
|
393
|
-
value: i.absoluteValues[
|
|
394
|
-
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[
|
|
391
|
+
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * _),
|
|
392
|
+
y: this.checkNaN(this.drawingArea.bottom - v - (x * g[_] || 0)),
|
|
393
|
+
value: i.absoluteValues[_],
|
|
394
|
+
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[_] || ""
|
|
395
395
|
};
|
|
396
|
-
}),
|
|
397
|
-
y: d >= 0 ?
|
|
396
|
+
}), H = this.createSmoothPath(n), D = this.createSmoothPath(R), F = L.ticks.map((d) => ({
|
|
397
|
+
y: d >= 0 ? a - x * (d / S) : a + x * Math.abs(d) / S,
|
|
398
398
|
value: d
|
|
399
|
-
})),
|
|
400
|
-
const
|
|
399
|
+
})), C = N.ticks.map((d) => {
|
|
400
|
+
const _ = (d - N.min) / (N.max - N.min);
|
|
401
401
|
return {
|
|
402
|
-
y: d >= 0 ?
|
|
402
|
+
y: d >= 0 ? o - x * _ : o + x * _,
|
|
403
403
|
value: d
|
|
404
404
|
};
|
|
405
405
|
});
|
|
406
406
|
return {
|
|
407
407
|
...i,
|
|
408
|
-
yOffset:
|
|
409
|
-
autoScaleYLabels:
|
|
408
|
+
yOffset: v,
|
|
409
|
+
autoScaleYLabels: C,
|
|
410
410
|
individualHeight: x,
|
|
411
|
-
scaleYLabels: i.autoScaling ?
|
|
412
|
-
individualScale: i.autoScaling ?
|
|
413
|
-
individualMax: i.autoScaling ?
|
|
414
|
-
zeroPosition: i.autoScaling ?
|
|
415
|
-
curve: i.autoScaling ?
|
|
416
|
-
plots: i.autoScaling ?
|
|
417
|
-
area: i.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(i.autoScaling ?
|
|
411
|
+
scaleYLabels: i.autoScaling ? C : F,
|
|
412
|
+
individualScale: i.autoScaling ? N : L,
|
|
413
|
+
individualMax: i.autoScaling ? G : S,
|
|
414
|
+
zeroPosition: i.autoScaling ? o : a,
|
|
415
|
+
curve: i.autoScaling ? D : H,
|
|
416
|
+
plots: i.autoScaling ? R : n,
|
|
417
|
+
area: i.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(i.autoScaling ? R : n, i.autoScaling ? o : a) : this.createArea(n) : ""
|
|
418
418
|
};
|
|
419
419
|
});
|
|
420
420
|
},
|
|
421
421
|
plotSet() {
|
|
422
422
|
return this.activeSeriesWithStackRatios.filter((i) => i.type === "plot").map((i) => {
|
|
423
423
|
this.checkAutoScaleError(i);
|
|
424
|
-
const s = Math.min(...i.absoluteValues.filter((
|
|
425
|
-
ratios: i.absoluteValues.filter((
|
|
424
|
+
const s = Math.min(...i.absoluteValues.filter((F) => ![null, void 0].includes(F))), h = Math.max(...i.absoluteValues.filter((F) => ![null, void 0].includes(F))) || 1, t = {
|
|
425
|
+
ratios: i.absoluteValues.filter((F) => ![null, void 0].includes(F)).map((F) => (F - s) / (h - s)),
|
|
426
426
|
valueMin: s,
|
|
427
427
|
valueMax: h
|
|
428
428
|
}, e = {
|
|
429
429
|
max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
|
|
430
430
|
min: i.scaleMin || Math.min(...i.absoluteValues) > 0 ? 0 : Math.min(...i.absoluteValues)
|
|
431
|
-
},
|
|
432
|
-
const d = this.mutableConfig.useIndividualScale ? (i.absoluteValues[
|
|
431
|
+
}, I = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, w = 1e-7, L = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * w : e.max, I), N = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * w : t.valueMax, I), y = L.min >= 0 ? 0 : Math.abs(L.min), M = 0, S = L.max + y, G = N.max + Math.abs(M), v = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - i.cumulatedStackRatio) : 0, x = this.mutableConfig.isStacked ? this.drawingArea.height * i.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, a = this.drawingArea.bottom - v - x * y / S, o = this.drawingArea.bottom - v - x * M / G, n = i.series.map((F, C) => {
|
|
432
|
+
const d = this.mutableConfig.useIndividualScale ? (i.absoluteValues[C] + Math.abs(y)) / S : this.ratioToMax(F);
|
|
433
433
|
return {
|
|
434
|
-
x: this.drawingArea.left + this.slot.plot / 2 + this.slot.plot *
|
|
435
|
-
y: this.drawingArea.bottom -
|
|
436
|
-
value: i.absoluteValues[
|
|
437
|
-
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[
|
|
434
|
+
x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * C),
|
|
435
|
+
y: this.checkNaN(this.drawingArea.bottom - v - x * d),
|
|
436
|
+
value: i.absoluteValues[C],
|
|
437
|
+
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[C] || ""
|
|
438
438
|
};
|
|
439
|
-
}),
|
|
440
|
-
x: this.drawingArea.left + this.slot.plot / 2 + this.slot.plot *
|
|
441
|
-
y: this.drawingArea.bottom -
|
|
442
|
-
value: i.absoluteValues[
|
|
443
|
-
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[
|
|
444
|
-
})),
|
|
445
|
-
y:
|
|
446
|
-
value:
|
|
447
|
-
})),
|
|
448
|
-
const
|
|
439
|
+
}), g = i.absoluteValues.map((F) => N.min >= 0 ? (F - Math.abs(N.min)) / (N.max - Math.abs(N.min)) : (F + Math.abs(N.min)) / (N.max + Math.abs(N.min))), R = i.series.map((F, C) => ({
|
|
440
|
+
x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * C),
|
|
441
|
+
y: this.checkNaN(this.drawingArea.bottom - v - (x * g[C] || 0)),
|
|
442
|
+
value: i.absoluteValues[C],
|
|
443
|
+
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[C] || ""
|
|
444
|
+
})), H = L.ticks.map((F) => ({
|
|
445
|
+
y: F >= 0 ? a - x * (F / S) : a + x * Math.abs(F) / S,
|
|
446
|
+
value: F
|
|
447
|
+
})), D = N.ticks.map((F) => {
|
|
448
|
+
const C = (F - N.min) / (N.max - N.min);
|
|
449
449
|
return {
|
|
450
|
-
y:
|
|
451
|
-
value:
|
|
450
|
+
y: F >= 0 ? o - x * C : o + x * C,
|
|
451
|
+
value: F
|
|
452
452
|
};
|
|
453
453
|
});
|
|
454
454
|
return {
|
|
455
455
|
...i,
|
|
456
|
-
yOffset:
|
|
457
|
-
autoScaleYLabels:
|
|
456
|
+
yOffset: v,
|
|
457
|
+
autoScaleYLabels: D,
|
|
458
458
|
individualHeight: x,
|
|
459
|
-
scaleYLabels: i.autoScaling ?
|
|
460
|
-
individualScale: i.autoScaling ?
|
|
461
|
-
individualMax: i.autoScaling ?
|
|
462
|
-
zeroPosition: i.autoScaling ?
|
|
463
|
-
plots: i.autoScaling ?
|
|
459
|
+
scaleYLabels: i.autoScaling ? D : H,
|
|
460
|
+
individualScale: i.autoScaling ? N : L,
|
|
461
|
+
individualMax: i.autoScaling ? G : S,
|
|
462
|
+
zeroPosition: i.autoScaling ? o : a,
|
|
463
|
+
plots: i.autoScaling ? R : n
|
|
464
464
|
};
|
|
465
465
|
});
|
|
466
466
|
},
|
|
@@ -528,8 +528,8 @@ const We = U(), Be = {
|
|
|
528
528
|
const i = [""].concat(this.relativeDataset.map((t) => t.name)).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>');
|
|
529
529
|
let s = [];
|
|
530
530
|
for (let t = 0; t < this.maxSeries; t += 1) {
|
|
531
|
-
const e = this.relativeDataset.map((
|
|
532
|
-
s.push([this.timeLabels[t] ?? "-"].concat(this.relativeDataset.map((
|
|
531
|
+
const e = this.relativeDataset.map((I) => I.absoluteValues[t] ?? 0).reduce((I, w) => I + w, 0);
|
|
532
|
+
s.push([this.timeLabels[t] ?? "-"].concat(this.relativeDataset.map((I) => (I.absoluteValues[t] ?? 0).toFixed(this.FINAL_CONFIG.table.rounding))).concat((e ?? 0).toFixed(this.FINAL_CONFIG.table.rounding)));
|
|
533
533
|
}
|
|
534
534
|
const h = {
|
|
535
535
|
th: {
|
|
@@ -588,13 +588,13 @@ const We = U(), Be = {
|
|
|
588
588
|
config: this.FINAL_CONFIG
|
|
589
589
|
}) : (h && (i += `<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((t) => {
|
|
590
590
|
if (this.isSafeValue(t.value)) {
|
|
591
|
-
let e = "",
|
|
591
|
+
let e = "", I = "";
|
|
592
592
|
switch (this.icons[t.type]) {
|
|
593
593
|
case "bar":
|
|
594
594
|
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="${t.color}" /></svg>`;
|
|
595
595
|
break;
|
|
596
596
|
case "line":
|
|
597
|
-
!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ?
|
|
597
|
+
!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ? I = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" />` : t.shape === "triangle" ? I = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "square" ? I = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "diamond" ? I = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "pentagon" ? I = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "hexagon" ? I = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "star" && (I = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" points="${q({ 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="${t.color}" />${I}</svg>`;
|
|
598
598
|
break;
|
|
599
599
|
case "plot":
|
|
600
600
|
if (!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape)) {
|
|
@@ -602,7 +602,7 @@ const We = U(), Be = {
|
|
|
602
602
|
break;
|
|
603
603
|
}
|
|
604
604
|
if (t.shape === "star") {
|
|
605
|
-
e = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" points="${
|
|
605
|
+
e = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" points="${q({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
|
|
606
606
|
break;
|
|
607
607
|
}
|
|
608
608
|
if (t.shape === "triangle") {
|
|
@@ -636,7 +636,7 @@ const We = U(), Be = {
|
|
|
636
636
|
r: this.FINAL_CONFIG.chart.tooltip.roundingValue
|
|
637
637
|
}),
|
|
638
638
|
{ datapoint: t }
|
|
639
|
-
) : ""}</b> ${this.FINAL_CONFIG.chart.tooltip.showPercentage ? `(${
|
|
639
|
+
) : ""}</b> ${this.FINAL_CONFIG.chart.tooltip.showPercentage ? `(${Z({
|
|
640
640
|
v: this.checkNaN(Math.abs(t.value) / s * 100),
|
|
641
641
|
s: "%",
|
|
642
642
|
r: this.FINAL_CONFIG.chart.tooltip.roundingPercentage
|
|
@@ -694,46 +694,46 @@ const We = U(), Be = {
|
|
|
694
694
|
const s = this.$refs.chart.parentNode, { height: h, width: f } = s.getBoundingClientRect();
|
|
695
695
|
let t = null, e = 0;
|
|
696
696
|
this.FINAL_CONFIG.chart.title.show && (t = this.$refs.chartTitle, e = t.getBoundingClientRect().height);
|
|
697
|
-
let
|
|
698
|
-
this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (
|
|
699
|
-
let
|
|
700
|
-
this.FINAL_CONFIG.chart.legend.show && (
|
|
701
|
-
for (const
|
|
702
|
-
this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (
|
|
697
|
+
let I = null, w = 0;
|
|
698
|
+
this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (I = this.$refs.chartSlicer.$el, w = I.getBoundingClientRect().height);
|
|
699
|
+
let L = null, N = 0;
|
|
700
|
+
this.FINAL_CONFIG.chart.legend.show && (L = this.$refs.chartLegend, N = L.getBoundingClientRect().height), this.height = h - e - N - w, this.width = f, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((M) => {
|
|
701
|
+
for (const S of M)
|
|
702
|
+
this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (w = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (N = this.$refs.chartLegend.getBoundingClientRect().height), this.height = S.contentBoxSize[0].blockSize - e - N - w - 24, this.width = S.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
|
|
703
703
|
}).observe(s);
|
|
704
704
|
} else
|
|
705
705
|
this.height = this.FINAL_CONFIG.chart.height, this.width = this.FINAL_CONFIG.chart.width, this.viewBox = `0 0 ${this.width} ${this.height}`, this.fontSizes.dataLabels = this.FINAL_CONFIG.chart.grid.labels.fontSize, this.fontSizes.yAxis = this.FINAL_CONFIG.chart.grid.labels.axis.fontSize, this.fontSizes.xAxis = this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.fontSize, this.fontSizes.plotLabels = this.FINAL_CONFIG.chart.labels.fontSize, this.plotRadii.plot = this.FINAL_CONFIG.plot.radius, this.plotRadii.line = this.FINAL_CONFIG.line.radius;
|
|
706
706
|
},
|
|
707
707
|
methods: {
|
|
708
|
-
abbreviate:
|
|
709
|
-
adaptColorToBackground:
|
|
710
|
-
applyDataLabel:
|
|
711
|
-
assignStackRatios:
|
|
712
|
-
calcLinearProgression:
|
|
713
|
-
calculateNiceScaleWithExactExtremes:
|
|
714
|
-
checkNaN:
|
|
715
|
-
closestDecimal:
|
|
716
|
-
convertColorToHex:
|
|
717
|
-
convertConfigColors:
|
|
718
|
-
convertCustomPalette:
|
|
719
|
-
createCsvContent:
|
|
720
|
-
createSmoothPath:
|
|
708
|
+
abbreviate: le,
|
|
709
|
+
adaptColorToBackground: re,
|
|
710
|
+
applyDataLabel: se,
|
|
711
|
+
assignStackRatios: ne,
|
|
712
|
+
calcLinearProgression: oe,
|
|
713
|
+
calculateNiceScaleWithExactExtremes: ce,
|
|
714
|
+
checkNaN: he,
|
|
715
|
+
closestDecimal: de,
|
|
716
|
+
convertColorToHex: ue,
|
|
717
|
+
convertConfigColors: ge,
|
|
718
|
+
convertCustomPalette: fe,
|
|
719
|
+
createCsvContent: me,
|
|
720
|
+
createSmoothPath: Ne,
|
|
721
721
|
createTSpans: Ie,
|
|
722
|
-
dataLabel:
|
|
722
|
+
dataLabel: Z,
|
|
723
723
|
downloadCsv: be,
|
|
724
|
-
error:
|
|
725
|
-
functionReturnsString:
|
|
726
|
-
hasDeepProperty:
|
|
727
|
-
img:
|
|
728
|
-
isFunction:
|
|
729
|
-
isSafeValue:
|
|
730
|
-
objectIsEmpty:
|
|
731
|
-
pdf:
|
|
732
|
-
shiftHue:
|
|
733
|
-
translateSize:
|
|
734
|
-
treeShake:
|
|
735
|
-
useMouse:
|
|
736
|
-
useNestedProp:
|
|
724
|
+
error: xe,
|
|
725
|
+
functionReturnsString: _e,
|
|
726
|
+
hasDeepProperty: Fe,
|
|
727
|
+
img: j,
|
|
728
|
+
isFunction: ye,
|
|
729
|
+
isSafeValue: Ae,
|
|
730
|
+
objectIsEmpty: Le,
|
|
731
|
+
pdf: K,
|
|
732
|
+
shiftHue: ke,
|
|
733
|
+
translateSize: Se,
|
|
734
|
+
treeShake: Ce,
|
|
735
|
+
useMouse: Ge,
|
|
736
|
+
useNestedProp: U,
|
|
737
737
|
selectMinimapIndex(i) {
|
|
738
738
|
this.selectedMinimapIndex = i;
|
|
739
739
|
},
|
|
@@ -805,7 +805,7 @@ const We = U(), Be = {
|
|
|
805
805
|
t.push(`${e.x},${e.y} `);
|
|
806
806
|
}), [h.x, h.y, ...t, f.x, f.y].toString();
|
|
807
807
|
},
|
|
808
|
-
createStar:
|
|
808
|
+
createStar: q,
|
|
809
809
|
createPolygonPath: P,
|
|
810
810
|
fillArray(i, s) {
|
|
811
811
|
let h = Array(i).fill(0);
|
|
@@ -820,10 +820,10 @@ const We = U(), Be = {
|
|
|
820
820
|
}, this.slicerStep += 1;
|
|
821
821
|
},
|
|
822
822
|
calcRectHeight(i) {
|
|
823
|
-
return i.value >= 0 ? this.zero - i.y <= 0 ? 1e-5 : this.zero - i.y : i.y - this.zero <= 0 ? 1e-5 : i.y - this.zero;
|
|
823
|
+
return i.value >= 0 ? this.checkNaN(this.zero - i.y <= 0 ? 1e-5 : this.zero - i.y) : this.checkNaN(i.y - this.zero <= 0 ? 1e-5 : i.y - this.zero);
|
|
824
824
|
},
|
|
825
825
|
calcIndividualHeight(i) {
|
|
826
|
-
return i.value >= 0 ? i.zeroPosition - i.y <= 0 ? 1e-5 : i.zeroPosition - i.y : i.y - i.zeroPosition <= 0 ? 1e-5 : i.zeroPosition - i.y;
|
|
826
|
+
return i.value >= 0 ? this.checkNaN(i.zeroPosition - i.y <= 0 ? 1e-5 : i.zeroPosition - i.y) : this.checkNaN(i.y - i.zeroPosition <= 0 ? 1e-5 : i.zeroPosition - i.y);
|
|
827
827
|
},
|
|
828
828
|
calcRectWidth() {
|
|
829
829
|
return this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.slot.line - this.drawingArea.width / this.maxSeries * 0.1 : this.slot.bar;
|
|
@@ -835,10 +835,10 @@ const We = U(), Be = {
|
|
|
835
835
|
return i.value >= 0 ? i.y : this.zero;
|
|
836
836
|
},
|
|
837
837
|
calcIndividualRectY(i) {
|
|
838
|
-
return i.value >= 0 ? i.y : i.zeroPosition;
|
|
838
|
+
return i.value >= 0 ? i.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(i.zeroPosition) ? 0 : i.zeroPosition;
|
|
839
839
|
},
|
|
840
840
|
canShowValue(i) {
|
|
841
|
-
return ![null, void 0, NaN].includes(i);
|
|
841
|
+
return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(i);
|
|
842
842
|
},
|
|
843
843
|
findClosestValue(i, s) {
|
|
844
844
|
let h = s[0], f = Math.abs(i - s[0]);
|
|
@@ -849,7 +849,7 @@ const We = U(), Be = {
|
|
|
849
849
|
return h;
|
|
850
850
|
},
|
|
851
851
|
ratioToMax(i) {
|
|
852
|
-
return i / this.absoluteMax;
|
|
852
|
+
return i / (this.canShowValue(this.absoluteMax) ? this.absoluteMax : 1);
|
|
853
853
|
},
|
|
854
854
|
selectX(i) {
|
|
855
855
|
this.$emit(
|
|
@@ -926,41 +926,41 @@ const We = U(), Be = {
|
|
|
926
926
|
}, 100);
|
|
927
927
|
}
|
|
928
928
|
}
|
|
929
|
-
},
|
|
929
|
+
}, Xe = ["id"], qe = ["viewBox"], Ze = { key: 0 }, Ue = { class: "vue-ui-xy-grid" }, Je = ["stroke", "x1", "x2", "y1", "y2"], Ke = ["stroke", "x1", "x2", "y1", "y2"], Qe = { key: 1 }, je = ["x1", "x2", "y1", "y2", "stroke"], $e = ["x1", "x2", "y1", "y2", "stroke"], et = ["x1", "x2", "y1", "y2", "stroke"], tt = { key: 3 }, at = ["x1", "x2", "y1", "y2", "stroke"], it = ["id"], lt = ["stop-color"], rt = ["stop-color"], st = ["stop-color"], nt = ["id"], ot = ["stop-color"], ct = ["stop-color"], ht = ["stop-color"], dt = ["id"], ut = ["stop-color"], gt = ["stop-color"], ft = ["id"], mt = ["stop-color"], Nt = ["stop-color"], It = ["id"], bt = ["stop-color"], xt = ["stop-color"], _t = ["x", "y", "height", "width", "fill"], Ft = ["x", "y", "width"], yt = ["x", "y", "height", "width", "fill"], At = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Lt = ["width", "x", "y"], kt = { key: 0 }, St = ["id"], Ct = ["fill"], wt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ot = ["x", "y", "font-size", "fill"], vt = ["stroke", "x1", "x2", "y1", "y2"], Gt = { key: 2 }, zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Mt = ["y", "width", "height", "fill"], pt = ["x", "y", "width", "height", "fill"], Pt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Tt = { key: 4 }, Vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Rt = ["fill", "font-size", "transform"], Dt = ["x1", "x2", "y1", "y2", "stroke"], Ht = ["x", "y", "font-size", "fill"], Et = ["x1", "x2", "y1", "y2", "stroke"], Wt = ["x", "y", "font-size", "fill"], Bt = ["width", "x", "y"], Yt = { style: { width: "100%" } }, Xt = { key: 0 }, qt = ["id"], Zt = ["fill"], Ut = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Jt = ["x", "y", "font-size", "fill"], Kt = ["d", "stroke", "stroke-width", "stroke-dasharray"], Qt = { key: 1 }, jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], $t = { key: 0 }, ea = ["d", "fill"], ta = ["d", "fill"], aa = ["d", "stroke", "stroke-width", "stroke-dasharray"], ia = { key: 2 }, la = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ra = ["width", "x", "y"], sa = { style: { width: "100%" } }, na = { key: 3 }, oa = ["id"], ca = ["fill"], ha = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], da = ["x", "y", "font-size", "fill"], ua = { key: 5 }, ga = ["x", "y", "font-size", "fill"], fa = ["x", "y", "font-size", "fill", "font-weight"], ma = { key: 6 }, Na = ["x", "y", "font-size", "fill"], Ia = ["x", "y"], ba = ["x", "y"], xa = { key: 7 }, _a = ["x", "y", "font-size", "fill"], Fa = ["x", "y"], ya = ["x", "y"], Aa = ["x", "y", "font-size", "fill", "innerHTML"], La = ["x", "y", "font-size", "fill", "innerHTML"], ka = ["x", "y", "font-size", "fill", "innerHTML"], Sa = ["x", "y", "font-size", "fill", "innerHTML"], Ca = ["x", "y", "width", "height", "fill", "onMouseenter"], wa = ["font-size", "fill", "transform"], Oa = ["x", "y", "font-size", "fill"], va = { key: 9 }, Ga = ["text-anchor", "font-size", "fill", "transform"], za = ["x", "y", "height", "width", "onMouseenter", "onClick"], Ma = { key: 10 }, pa = ["x", "y"], Pa = ["cx", "cy", "r", "fill"], Ta = {
|
|
930
930
|
key: 3,
|
|
931
931
|
class: "vue-data-ui-watermark"
|
|
932
|
-
},
|
|
932
|
+
}, Va = ["onClick"], Ra = {
|
|
933
933
|
key: 0,
|
|
934
934
|
viewBox: "0 0 20 12",
|
|
935
935
|
height: "14",
|
|
936
936
|
width: "20"
|
|
937
|
-
},
|
|
937
|
+
}, Da = ["fill"], Ha = {
|
|
938
938
|
key: 1,
|
|
939
939
|
viewBox: "0 0 12 12",
|
|
940
940
|
height: "14",
|
|
941
941
|
width: "14"
|
|
942
|
-
}, Ea = ["fill"],
|
|
942
|
+
}, Ea = ["fill"], Wa = {
|
|
943
943
|
key: 7,
|
|
944
944
|
ref: "chartLegend"
|
|
945
|
-
},
|
|
945
|
+
}, Ba = {
|
|
946
946
|
style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
|
|
947
947
|
"data-html2canvas-ignore": ""
|
|
948
|
-
},
|
|
949
|
-
function
|
|
950
|
-
const
|
|
948
|
+
}, Ya = ["innerHTML"];
|
|
949
|
+
function Xa(i, s, h, f, t, e) {
|
|
950
|
+
const I = T("Title"), w = T("UserOptions"), L = T("Shape"), N = T("Skeleton"), y = T("Slicer"), M = T("Tooltip"), S = T("BaseIcon"), G = T("TableSparkline"), v = T("DataTable"), x = T("Accordion");
|
|
951
951
|
return l(), r("div", {
|
|
952
952
|
id: `vue-ui-xy_${t.uniqueId}`,
|
|
953
|
-
class:
|
|
953
|
+
class: p(`vue-ui-xy ${t.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
954
954
|
ref: "chart",
|
|
955
|
-
style:
|
|
955
|
+
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%" : ""}`)
|
|
956
956
|
}, [
|
|
957
957
|
e.FINAL_CONFIG.chart.title.show ? (l(), r("div", {
|
|
958
958
|
key: 0,
|
|
959
959
|
ref: "chartTitle",
|
|
960
960
|
class: "vue-ui-xy-title",
|
|
961
|
-
style:
|
|
961
|
+
style: A(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
|
|
962
962
|
}, [
|
|
963
|
-
|
|
963
|
+
X(I, {
|
|
964
964
|
config: {
|
|
965
965
|
title: {
|
|
966
966
|
cy: "xy-div-title",
|
|
@@ -973,7 +973,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
973
973
|
}
|
|
974
974
|
}, null, 8, ["config"])
|
|
975
975
|
], 4)) : c("", !0),
|
|
976
|
-
e.FINAL_CONFIG.chart.userOptions.show && e.isDataset ? (l(), V(
|
|
976
|
+
e.FINAL_CONFIG.chart.userOptions.show && e.isDataset ? (l(), V(w, {
|
|
977
977
|
ref: "defails",
|
|
978
978
|
key: `user_options_${t.step}`,
|
|
979
979
|
backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
|
|
@@ -1002,60 +1002,60 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1002
1002
|
onToggleLabels: e.toggleLabels,
|
|
1003
1003
|
onToggleStack: e.toggleStack,
|
|
1004
1004
|
onToggleTooltip: e.toggleTooltip
|
|
1005
|
-
},
|
|
1005
|
+
}, Re({ _: 2 }, [
|
|
1006
1006
|
i.$slots.optionTooltip ? {
|
|
1007
1007
|
name: "optionTooltip",
|
|
1008
1008
|
fn: z(() => [
|
|
1009
|
-
|
|
1009
|
+
O(i.$slots, "optionTooltip", {}, void 0, !0)
|
|
1010
1010
|
]),
|
|
1011
1011
|
key: "0"
|
|
1012
1012
|
} : void 0,
|
|
1013
1013
|
i.$slots.optionPdf ? {
|
|
1014
1014
|
name: "optionPdf",
|
|
1015
1015
|
fn: z(() => [
|
|
1016
|
-
|
|
1016
|
+
O(i.$slots, "optionPdf", {}, void 0, !0)
|
|
1017
1017
|
]),
|
|
1018
1018
|
key: "1"
|
|
1019
1019
|
} : void 0,
|
|
1020
1020
|
i.$slots.optionCsv ? {
|
|
1021
1021
|
name: "optionCsv",
|
|
1022
1022
|
fn: z(() => [
|
|
1023
|
-
|
|
1023
|
+
O(i.$slots, "optionCsv", {}, void 0, !0)
|
|
1024
1024
|
]),
|
|
1025
1025
|
key: "2"
|
|
1026
1026
|
} : void 0,
|
|
1027
1027
|
i.$slots.optionImg ? {
|
|
1028
1028
|
name: "optionImg",
|
|
1029
1029
|
fn: z(() => [
|
|
1030
|
-
|
|
1030
|
+
O(i.$slots, "optionImg", {}, void 0, !0)
|
|
1031
1031
|
]),
|
|
1032
1032
|
key: "3"
|
|
1033
1033
|
} : void 0,
|
|
1034
1034
|
i.$slots.optionTable ? {
|
|
1035
1035
|
name: "optionTable",
|
|
1036
1036
|
fn: z(() => [
|
|
1037
|
-
|
|
1037
|
+
O(i.$slots, "optionTable", {}, void 0, !0)
|
|
1038
1038
|
]),
|
|
1039
1039
|
key: "4"
|
|
1040
1040
|
} : void 0,
|
|
1041
1041
|
i.$slots.optionLabels ? {
|
|
1042
1042
|
name: "optionLabels",
|
|
1043
1043
|
fn: z(() => [
|
|
1044
|
-
|
|
1044
|
+
O(i.$slots, "optionLabels", {}, void 0, !0)
|
|
1045
1045
|
]),
|
|
1046
1046
|
key: "5"
|
|
1047
1047
|
} : void 0,
|
|
1048
1048
|
i.$slots.optionStack ? {
|
|
1049
1049
|
name: "optionStack",
|
|
1050
1050
|
fn: z(() => [
|
|
1051
|
-
|
|
1051
|
+
O(i.$slots, "optionStack", {}, void 0, !0)
|
|
1052
1052
|
]),
|
|
1053
1053
|
key: "6"
|
|
1054
1054
|
} : void 0,
|
|
1055
1055
|
i.$slots.optionFullscreen ? {
|
|
1056
1056
|
name: "optionFullscreen",
|
|
1057
1057
|
fn: z(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
1058
|
-
|
|
1058
|
+
O(i.$slots, "optionFullscreen", B(Y({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
1059
1059
|
]),
|
|
1060
1060
|
key: "7"
|
|
1061
1061
|
} : void 0
|
|
@@ -1063,13 +1063,13 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1063
1063
|
e.isDataset ? (l(), r("svg", {
|
|
1064
1064
|
key: 2,
|
|
1065
1065
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1066
|
-
class:
|
|
1066
|
+
class: p([{ "vue-data-ui-fullscreen--on": t.isFullscreen, "vue-data-ui-fulscreen--off": !t.isFullscreen }, "vue-ui-xy-svg"]),
|
|
1067
1067
|
width: "100%",
|
|
1068
1068
|
viewBox: t.viewBox,
|
|
1069
|
-
style:
|
|
1069
|
+
style: A(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
|
|
1070
1070
|
}, [
|
|
1071
|
-
e.maxSeries > 0 ? (l(), r("g",
|
|
1072
|
-
u("g",
|
|
1071
|
+
e.maxSeries > 0 ? (l(), r("g", Ze, [
|
|
1072
|
+
u("g", Ue, [
|
|
1073
1073
|
e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (l(), r("line", {
|
|
1074
1074
|
key: 0,
|
|
1075
1075
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
@@ -1079,26 +1079,26 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1079
1079
|
y1: e.drawingArea.bottom,
|
|
1080
1080
|
y2: e.drawingArea.bottom,
|
|
1081
1081
|
"stroke-linecap": "round"
|
|
1082
|
-
}, null, 8,
|
|
1083
|
-
t.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (l(!0), r(
|
|
1084
|
-
a.id === t.selectedScale && a.yLabels.length ? (l(!0), r(
|
|
1082
|
+
}, null, 8, Je)) : c("", !0),
|
|
1083
|
+
t.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (l(!0), r(m, { key: 2 }, b(e.allScales, (a) => (l(), r("g", null, [
|
|
1084
|
+
a.id === t.selectedScale && a.yLabels.length ? (l(!0), r(m, { key: 0 }, b(a.yLabels, (o) => (l(), r("line", {
|
|
1085
1085
|
x1: e.drawingArea.left + e.xPadding,
|
|
1086
1086
|
x2: e.drawingArea.right - e.xPadding,
|
|
1087
|
-
y1: o.y,
|
|
1088
|
-
y2: o.y,
|
|
1087
|
+
y1: e.checkNaN(o.y),
|
|
1088
|
+
y2: e.checkNaN(o.y),
|
|
1089
1089
|
stroke: a.color,
|
|
1090
1090
|
"stroke-width": 0.5,
|
|
1091
1091
|
"stroke-linecap": "round"
|
|
1092
|
-
}, null, 8,
|
|
1092
|
+
}, null, 8, $e))), 256)) : a.yLabels.length ? (l(!0), r(m, { key: 1 }, b(a.yLabels, (o) => (l(), r("line", {
|
|
1093
1093
|
x1: e.drawingArea.left + e.xPadding,
|
|
1094
1094
|
x2: e.drawingArea.right - e.xPadding,
|
|
1095
|
-
y1: o.y,
|
|
1096
|
-
y2: o.y,
|
|
1095
|
+
y1: e.checkNaN(o.y),
|
|
1096
|
+
y2: e.checkNaN(o.y),
|
|
1097
1097
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1098
1098
|
"stroke-width": 0.5,
|
|
1099
1099
|
"stroke-linecap": "round"
|
|
1100
|
-
}, null, 8,
|
|
1101
|
-
]))), 256)) : c("", !0) : (l(), r(
|
|
1100
|
+
}, null, 8, et))), 256)) : c("", !0)
|
|
1101
|
+
]))), 256)) : c("", !0) : (l(), r(m, { key: 1 }, [
|
|
1102
1102
|
e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (l(), r("line", {
|
|
1103
1103
|
key: 0,
|
|
1104
1104
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
@@ -1108,21 +1108,21 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1108
1108
|
y1: e.drawingArea.top,
|
|
1109
1109
|
y2: e.drawingArea.bottom,
|
|
1110
1110
|
"stroke-linecap": "round"
|
|
1111
|
-
}, null, 8,
|
|
1112
|
-
e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (l(), r("g",
|
|
1113
|
-
(l(!0), r(
|
|
1111
|
+
}, null, 8, Ke)) : c("", !0),
|
|
1112
|
+
e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (l(), r("g", Qe, [
|
|
1113
|
+
(l(!0), r(m, null, b(e.yLabels, (a) => (l(), r("line", {
|
|
1114
1114
|
x1: e.drawingArea.left + e.xPadding,
|
|
1115
1115
|
x2: e.drawingArea.right - e.xPadding,
|
|
1116
|
-
y1: a.y,
|
|
1117
|
-
y2: a.y,
|
|
1116
|
+
y1: e.checkNaN(a.y),
|
|
1117
|
+
y2: e.checkNaN(a.y),
|
|
1118
1118
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1119
1119
|
"stroke-width": 0.5,
|
|
1120
1120
|
"stroke-linecap": "round"
|
|
1121
|
-
}, null, 8,
|
|
1121
|
+
}, null, 8, je))), 256))
|
|
1122
1122
|
])) : c("", !0)
|
|
1123
1123
|
], 64)),
|
|
1124
|
-
e.FINAL_CONFIG.chart.grid.showVerticalLines ? (l(), r("g",
|
|
1125
|
-
(l(!0), r(
|
|
1124
|
+
e.FINAL_CONFIG.chart.grid.showVerticalLines ? (l(), r("g", tt, [
|
|
1125
|
+
(l(!0), r(m, null, b(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (a, o) => (l(), r("line", {
|
|
1126
1126
|
key: `grid_vertical_line_${o}`,
|
|
1127
1127
|
x1: e.drawingArea.width / e.maxSeries * o + e.drawingArea.left + e.xPadding,
|
|
1128
1128
|
x2: e.drawingArea.width / e.maxSeries * o + e.drawingArea.left + e.xPadding,
|
|
@@ -1130,10 +1130,10 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1130
1130
|
y2: e.drawingArea.bottom,
|
|
1131
1131
|
"stroke-width": "0.5",
|
|
1132
1132
|
stroke: e.FINAL_CONFIG.chart.grid.stroke
|
|
1133
|
-
}, null, 8,
|
|
1133
|
+
}, null, 8, at))), 128))
|
|
1134
1134
|
])) : c("", !0)
|
|
1135
1135
|
]),
|
|
1136
|
-
(l(!0), r(
|
|
1136
|
+
(l(!0), r(m, null, b(e.barSet, (a, o) => (l(), r("defs", {
|
|
1137
1137
|
key: `def_rect_${o}`
|
|
1138
1138
|
}, [
|
|
1139
1139
|
u("linearGradient", {
|
|
@@ -1144,16 +1144,16 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1144
1144
|
u("stop", {
|
|
1145
1145
|
offset: "0%",
|
|
1146
1146
|
"stop-color": a.color
|
|
1147
|
-
}, null, 8,
|
|
1147
|
+
}, null, 8, lt),
|
|
1148
1148
|
u("stop", {
|
|
1149
1149
|
offset: "62%",
|
|
1150
1150
|
"stop-color": `${e.shiftHue(a.color, 0.02)}DE`
|
|
1151
|
-
}, null, 8,
|
|
1151
|
+
}, null, 8, rt),
|
|
1152
1152
|
u("stop", {
|
|
1153
1153
|
offset: "100%",
|
|
1154
1154
|
"stop-color": `${e.shiftHue(a.color, 0.05)}66`
|
|
1155
|
-
}, null, 8,
|
|
1156
|
-
], 8,
|
|
1155
|
+
}, null, 8, st)
|
|
1156
|
+
], 8, it),
|
|
1157
1157
|
u("linearGradient", {
|
|
1158
1158
|
id: `rectGradient_neg_${o}_${t.uniqueId}`,
|
|
1159
1159
|
x2: "0%",
|
|
@@ -1162,18 +1162,18 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1162
1162
|
u("stop", {
|
|
1163
1163
|
offset: "0%",
|
|
1164
1164
|
"stop-color": `${e.shiftHue(a.color, 0.05)}66`
|
|
1165
|
-
}, null, 8,
|
|
1165
|
+
}, null, 8, ot),
|
|
1166
1166
|
u("stop", {
|
|
1167
1167
|
offset: "38%",
|
|
1168
1168
|
"stop-color": `${e.shiftHue(a.color, 0.02)}DE`
|
|
1169
|
-
}, null, 8,
|
|
1169
|
+
}, null, 8, ct),
|
|
1170
1170
|
u("stop", {
|
|
1171
1171
|
offset: "100%",
|
|
1172
1172
|
"stop-color": a.color
|
|
1173
|
-
}, null, 8,
|
|
1174
|
-
], 8,
|
|
1173
|
+
}, null, 8, ht)
|
|
1174
|
+
], 8, nt)
|
|
1175
1175
|
]))), 128)),
|
|
1176
|
-
(l(!0), r(
|
|
1176
|
+
(l(!0), r(m, null, b(e.plotSet, (a, o) => (l(), r("defs", {
|
|
1177
1177
|
key: `def_plot_${o}`
|
|
1178
1178
|
}, [
|
|
1179
1179
|
u("radialGradient", {
|
|
@@ -1187,14 +1187,14 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1187
1187
|
u("stop", {
|
|
1188
1188
|
offset: "0%",
|
|
1189
1189
|
"stop-color": `${e.shiftHue(a.color, 0.05)}`
|
|
1190
|
-
}, null, 8,
|
|
1190
|
+
}, null, 8, ut),
|
|
1191
1191
|
u("stop", {
|
|
1192
1192
|
offset: "100%",
|
|
1193
1193
|
"stop-color": a.color
|
|
1194
|
-
}, null, 8,
|
|
1195
|
-
], 8,
|
|
1194
|
+
}, null, 8, gt)
|
|
1195
|
+
], 8, dt)
|
|
1196
1196
|
]))), 128)),
|
|
1197
|
-
(l(!0), r(
|
|
1197
|
+
(l(!0), r(m, null, b(e.lineSet, (a, o) => (l(), r("defs", {
|
|
1198
1198
|
key: `def_line_${o}`
|
|
1199
1199
|
}, [
|
|
1200
1200
|
u("radialGradient", {
|
|
@@ -1208,12 +1208,12 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1208
1208
|
u("stop", {
|
|
1209
1209
|
offset: "0%",
|
|
1210
1210
|
"stop-color": `${e.shiftHue(a.color, 0.05)}`
|
|
1211
|
-
}, null, 8,
|
|
1211
|
+
}, null, 8, mt),
|
|
1212
1212
|
u("stop", {
|
|
1213
1213
|
offset: "100%",
|
|
1214
1214
|
"stop-color": a.color
|
|
1215
|
-
}, null, 8,
|
|
1216
|
-
], 8,
|
|
1215
|
+
}, null, 8, Nt)
|
|
1216
|
+
], 8, ft),
|
|
1217
1217
|
u("linearGradient", {
|
|
1218
1218
|
id: `areaGradient_${o}_${t.uniqueId}`,
|
|
1219
1219
|
x1: "0%",
|
|
@@ -1228,11 +1228,11 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1228
1228
|
u("stop", {
|
|
1229
1229
|
offset: "100%",
|
|
1230
1230
|
"stop-color": `${a.color}${t.opacity[e.FINAL_CONFIG.line.area.opacity]}`
|
|
1231
|
-
}, null, 8,
|
|
1231
|
+
}, null, 8, xt)
|
|
1232
1232
|
], 8, It)
|
|
1233
1233
|
]))), 128)),
|
|
1234
|
-
(l(!0), r(
|
|
1235
|
-
a.show ? (l(), r(
|
|
1234
|
+
(l(!0), r(m, null, b(e.highlightAreas, (a) => (l(), r("g", null, [
|
|
1235
|
+
a.show ? (l(), r(m, { key: 0 }, [
|
|
1236
1236
|
u("rect", {
|
|
1237
1237
|
style: { transition: "none" },
|
|
1238
1238
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.from - t.slicer.start),
|
|
@@ -1240,7 +1240,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1240
1240
|
height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
|
|
1241
1241
|
width: e.drawingArea.width / e.maxSeries * a.span < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries * a.span,
|
|
1242
1242
|
fill: `${a.color}${t.opacity[a.opacity]}`
|
|
1243
|
-
}, null, 8,
|
|
1243
|
+
}, null, 8, _t),
|
|
1244
1244
|
a.caption.text ? (l(), r("foreignObject", {
|
|
1245
1245
|
key: 0,
|
|
1246
1246
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.from - t.slicer.start) - (a.caption.width === "auto" ? 0 : a.caption.width / 2 - e.drawingArea.width / e.maxSeries * a.span / 2),
|
|
@@ -1250,13 +1250,13 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1250
1250
|
width: a.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * a.span : a.caption.width
|
|
1251
1251
|
}, [
|
|
1252
1252
|
u("div", {
|
|
1253
|
-
style:
|
|
1254
|
-
},
|
|
1255
|
-
], 8,
|
|
1253
|
+
style: A(`padding:${a.caption.padding}px;text-align:${a.caption.textAlign};font-size:${a.caption.fontSize}px;color:${a.caption.color};font-weight:${a.caption.bold ? "bold" : "normal"}`)
|
|
1254
|
+
}, k(a.caption.text), 5)
|
|
1255
|
+
], 8, Ft)) : c("", !0)
|
|
1256
1256
|
], 64)) : c("", !0)
|
|
1257
1257
|
]))), 256)),
|
|
1258
1258
|
u("g", null, [
|
|
1259
|
-
(l(!0), r(
|
|
1259
|
+
(l(!0), r(m, null, b(e.maxSeries, (a, o) => (l(), r("g", {
|
|
1260
1260
|
key: `tooltip_trap_${o}`
|
|
1261
1261
|
}, [
|
|
1262
1262
|
u("rect", {
|
|
@@ -1265,15 +1265,15 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1265
1265
|
height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
|
|
1266
1266
|
width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
|
|
1267
1267
|
fill: [t.selectedMinimapIndex, t.selectedSerieIndex, t.selectedRowIndex].includes(o) ? `${e.FINAL_CONFIG.chart.highlighter.color}${t.opacity[e.FINAL_CONFIG.chart.highlighter.opacity]}` : "transparent"
|
|
1268
|
-
}, null, 8,
|
|
1268
|
+
}, null, 8, yt)
|
|
1269
1269
|
]))), 128))
|
|
1270
1270
|
]),
|
|
1271
|
-
e.barSet.length ? (l(!0), r(
|
|
1271
|
+
e.barSet.length ? (l(!0), r(m, { key: 0 }, b(e.barSet, (a, o) => (l(), r("g", {
|
|
1272
1272
|
key: `serie_bar_${o}`,
|
|
1273
|
-
class:
|
|
1274
|
-
style:
|
|
1273
|
+
class: p(`serie_bar_${o}`),
|
|
1274
|
+
style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1275
1275
|
}, [
|
|
1276
|
-
(l(!0), r(
|
|
1276
|
+
(l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
|
|
1277
1277
|
key: `bar_plot_${o}_${g}`
|
|
1278
1278
|
}, [
|
|
1279
1279
|
e.canShowValue(n.value) ? (l(), r("rect", {
|
|
@@ -1286,21 +1286,21 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1286
1286
|
fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${o}_${t.uniqueId})` : `url(#rectGradient_neg_${o}_${t.uniqueId})` : a.color,
|
|
1287
1287
|
stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? a.color : e.FINAL_CONFIG.bar.border.stroke,
|
|
1288
1288
|
"stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
|
|
1289
|
-
}, null, 8,
|
|
1289
|
+
}, null, 8, At)) : c("", !0),
|
|
1290
1290
|
n.comment && e.FINAL_CONFIG.chart.comments.show ? (l(), r("foreignObject", {
|
|
1291
1291
|
key: 1,
|
|
1292
1292
|
style: { overflow: "visible" },
|
|
1293
1293
|
height: "12",
|
|
1294
1294
|
width: (e.calcRectWidth() - (t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? 0 : e.barPeriodGap) < 0 ? 1e-5 : e.calcRectWidth() - (t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? 0 : e.barPeriodGap) / 2) + e.FINAL_CONFIG.chart.comments.width,
|
|
1295
1295
|
x: e.calcRectX(n) - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
|
|
1296
|
-
y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
|
|
1296
|
+
y: e.checkNaN(n.y) + e.FINAL_CONFIG.chart.comments.offsetY + 6
|
|
1297
1297
|
}, [
|
|
1298
|
-
|
|
1298
|
+
O(i.$slots, "plot-comment", {
|
|
1299
1299
|
plot: { ...n, color: a.color }
|
|
1300
1300
|
}, void 0, !0)
|
|
1301
|
-
], 8,
|
|
1301
|
+
], 8, Lt)) : c("", !0)
|
|
1302
1302
|
]))), 128)),
|
|
1303
|
-
Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (l(), r("g",
|
|
1303
|
+
Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (l(), r("g", kt, [
|
|
1304
1304
|
u("defs", null, [
|
|
1305
1305
|
u("marker", {
|
|
1306
1306
|
id: `bar_arrow_${o}`,
|
|
@@ -1313,8 +1313,8 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1313
1313
|
u("polygon", {
|
|
1314
1314
|
points: `0 0, 7 ${7 / 2}, 0 7`,
|
|
1315
1315
|
fill: a.color
|
|
1316
|
-
}, null, 8,
|
|
1317
|
-
], 8,
|
|
1316
|
+
}, null, 8, Ct)
|
|
1317
|
+
], 8, St)
|
|
1318
1318
|
]),
|
|
1319
1319
|
a.plots.length > 1 ? (l(), r("line", {
|
|
1320
1320
|
key: 0,
|
|
@@ -1326,7 +1326,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1326
1326
|
stroke: a.color,
|
|
1327
1327
|
"stroke-dasharray": 2,
|
|
1328
1328
|
"marker-end": `url(#bar_arrow_${o})`
|
|
1329
|
-
}, null, 8,
|
|
1329
|
+
}, null, 8, wt)) : c("", !0),
|
|
1330
1330
|
a.plots.length > 1 ? (l(), r("text", {
|
|
1331
1331
|
key: 1,
|
|
1332
1332
|
"text-anchor": "middle",
|
|
@@ -1334,11 +1334,11 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1334
1334
|
y: e.calcLinearProgression(a.plots).y2 - 6,
|
|
1335
1335
|
"font-size": t.fontSizes.plotLabels,
|
|
1336
1336
|
fill: a.color
|
|
1337
|
-
},
|
|
1337
|
+
}, k(e.dataLabel({
|
|
1338
1338
|
v: e.calcLinearProgression(a.plots).trend * 100,
|
|
1339
1339
|
s: "%",
|
|
1340
1340
|
r: 2
|
|
1341
|
-
})), 9,
|
|
1341
|
+
})), 9, Ot)) : c("", !0)
|
|
1342
1342
|
])) : c("", !0)
|
|
1343
1343
|
], 6))), 128)) : c("", !0),
|
|
1344
1344
|
!t.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (l(), r("line", {
|
|
@@ -1350,8 +1350,8 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1350
1350
|
y1: e.checkNaN(e.zero),
|
|
1351
1351
|
y2: e.checkNaN(e.zero),
|
|
1352
1352
|
"stroke-linecap": "round"
|
|
1353
|
-
}, null, 8,
|
|
1354
|
-
e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(t.selectedSerieIndex) || t.selectedMinimapIndex !== null) ? (l(), r("g",
|
|
1353
|
+
}, null, 8, vt)) : c("", !0),
|
|
1354
|
+
e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(t.selectedSerieIndex) || t.selectedMinimapIndex !== null) ? (l(), r("g", Gt, [
|
|
1355
1355
|
u("line", {
|
|
1356
1356
|
x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (t.selectedSerieIndex || t.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
|
|
1357
1357
|
x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (t.selectedSerieIndex || t.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
|
|
@@ -1362,7 +1362,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1362
1362
|
"stroke-dasharray": e.FINAL_CONFIG.chart.highlighter.lineDasharray,
|
|
1363
1363
|
"stroke-linecap": "round",
|
|
1364
1364
|
style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
|
|
1365
|
-
}, null, 8,
|
|
1365
|
+
}, null, 8, zt)
|
|
1366
1366
|
])) : c("", !0),
|
|
1367
1367
|
u("g", null, [
|
|
1368
1368
|
u("rect", {
|
|
@@ -1372,7 +1372,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1372
1372
|
width: e.FINAL_CONFIG.chart.padding.left - 1 + e.xPadding,
|
|
1373
1373
|
height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
|
|
1374
1374
|
fill: e.FINAL_CONFIG.chart.backgroundColor
|
|
1375
|
-
}, null, 8,
|
|
1375
|
+
}, null, 8, Mt),
|
|
1376
1376
|
u("rect", {
|
|
1377
1377
|
style: { transition: "none" },
|
|
1378
1378
|
x: e.drawingArea.right + 1 - e.xPadding,
|
|
@@ -1395,10 +1395,10 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1395
1395
|
"stroke-linecap": e.FINAL_CONFIG.chart.grid.frame.strokeLinecap,
|
|
1396
1396
|
"stroke-linejoin": e.FINAL_CONFIG.chart.grid.frame.strokeLinejoin,
|
|
1397
1397
|
"stroke-dasharray": e.FINAL_CONFIG.chart.grid.frame.strokeDasharray
|
|
1398
|
-
}, null, 8,
|
|
1399
|
-
e.FINAL_CONFIG.chart.grid.labels.show ? (l(), r("g",
|
|
1400
|
-
t.mutableConfig.useIndividualScale ? (l(), r(
|
|
1401
|
-
(l(!0), r(
|
|
1398
|
+
}, null, 8, Pt)) : c("", !0),
|
|
1399
|
+
e.FINAL_CONFIG.chart.grid.labels.show ? (l(), r("g", Tt, [
|
|
1400
|
+
t.mutableConfig.useIndividualScale ? (l(), r(m, { key: 0 }, [
|
|
1401
|
+
(l(!0), r(m, null, b(e.allScales, (a) => (l(), r("g", null, [
|
|
1402
1402
|
u("line", {
|
|
1403
1403
|
x1: a.x + e.xPadding,
|
|
1404
1404
|
x2: a.x + e.xPadding,
|
|
@@ -1407,19 +1407,19 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1407
1407
|
stroke: a.color,
|
|
1408
1408
|
"stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
|
|
1409
1409
|
"stroke-linecap": "round",
|
|
1410
|
-
style:
|
|
1411
|
-
}, null, 12,
|
|
1410
|
+
style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1411
|
+
}, null, 12, Vt)
|
|
1412
1412
|
]))), 256)),
|
|
1413
|
-
(l(!0), r(
|
|
1414
|
-
style:
|
|
1413
|
+
(l(!0), r(m, null, b(e.allScales, (a) => (l(), r("g", {
|
|
1414
|
+
style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1415
1415
|
}, [
|
|
1416
1416
|
u("text", {
|
|
1417
1417
|
fill: a.color,
|
|
1418
1418
|
"font-size": t.fontSizes.dataLabels,
|
|
1419
1419
|
"text-anchor": "middle",
|
|
1420
1420
|
transform: `translate(${a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5}, ${t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset - a.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
|
|
1421
|
-
},
|
|
1422
|
-
(l(!0), r(
|
|
1421
|
+
}, k(a.name) + " " + k(a.scaleLabel ? `- ${a.scaleLabel}` : ""), 9, Rt),
|
|
1422
|
+
(l(!0), r(m, null, b(a.yLabels, (o, n) => (l(), r("line", {
|
|
1423
1423
|
x1: a.x - 3 + e.xPadding,
|
|
1424
1424
|
x2: a.x + e.xPadding,
|
|
1425
1425
|
y1: e.checkNaN(o.y),
|
|
@@ -1427,14 +1427,14 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1427
1427
|
stroke: a.color,
|
|
1428
1428
|
"stroke-width": 1,
|
|
1429
1429
|
"stroke-linecap": "round"
|
|
1430
|
-
}, null, 8,
|
|
1431
|
-
(l(!0), r(
|
|
1430
|
+
}, null, 8, Dt))), 256)),
|
|
1431
|
+
(l(!0), r(m, null, b(a.yLabels, (o, n) => (l(), r("text", {
|
|
1432
1432
|
x: a.x - 5 + e.xPadding,
|
|
1433
|
-
y: o.y +
|
|
1433
|
+
y: e.checkNaN(o.y) + t.fontSizes.dataLabels / 3,
|
|
1434
1434
|
"font-size": t.fontSizes.dataLabels,
|
|
1435
1435
|
"text-anchor": "end",
|
|
1436
1436
|
fill: a.color
|
|
1437
|
-
},
|
|
1437
|
+
}, k(e.applyDataLabel(
|
|
1438
1438
|
e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
|
|
1439
1439
|
o.value,
|
|
1440
1440
|
e.dataLabel({
|
|
@@ -1443,9 +1443,9 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1443
1443
|
s: e.FINAL_CONFIG.chart.labels.suffix,
|
|
1444
1444
|
r: 1
|
|
1445
1445
|
})
|
|
1446
|
-
)), 9,
|
|
1446
|
+
)), 9, Ht))), 256))
|
|
1447
1447
|
], 4))), 256))
|
|
1448
|
-
], 64)) : (l(!0), r(
|
|
1448
|
+
], 64)) : (l(!0), r(m, { key: 1 }, b(e.yLabels, (a, o) => (l(), r("g", {
|
|
1449
1449
|
key: `yLabel_${o}`
|
|
1450
1450
|
}, [
|
|
1451
1451
|
e.canShowValue(a) && a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (l(), r("line", {
|
|
@@ -1465,7 +1465,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1465
1465
|
"font-size": t.fontSizes.dataLabels,
|
|
1466
1466
|
"text-anchor": "end",
|
|
1467
1467
|
fill: e.FINAL_CONFIG.chart.grid.labels.color
|
|
1468
|
-
},
|
|
1468
|
+
}, k(e.canShowValue(a.value) ? e.applyDataLabel(
|
|
1469
1469
|
e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
|
|
1470
1470
|
a.value,
|
|
1471
1471
|
e.dataLabel({
|
|
@@ -1474,18 +1474,18 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1474
1474
|
s: e.FINAL_CONFIG.chart.labels.suffix,
|
|
1475
1475
|
r: 1
|
|
1476
1476
|
})
|
|
1477
|
-
) : ""), 9,
|
|
1477
|
+
) : ""), 9, Wt)) : c("", !0)
|
|
1478
1478
|
]))), 128))
|
|
1479
1479
|
])) : c("", !0),
|
|
1480
|
-
(l(!0), r(
|
|
1480
|
+
(l(!0), r(m, null, b(e.plotSet, (a, o) => (l(), r("g", {
|
|
1481
1481
|
key: `serie_plot_${o}`,
|
|
1482
|
-
class:
|
|
1483
|
-
style:
|
|
1482
|
+
class: p(`serie_plot_${o}`),
|
|
1483
|
+
style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1484
1484
|
}, [
|
|
1485
|
-
(l(!0), r(
|
|
1485
|
+
(l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
|
|
1486
1486
|
key: `circle_plot_${o}_${g}`
|
|
1487
1487
|
}, [
|
|
1488
|
-
e.canShowValue(n.value) ? (l(), V(
|
|
1488
|
+
e.canShowValue(n.value) ? (l(), V(L, {
|
|
1489
1489
|
key: 0,
|
|
1490
1490
|
shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
|
|
1491
1491
|
color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${o}_${t.uniqueId})` : a.color,
|
|
@@ -1502,14 +1502,14 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1502
1502
|
x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
|
|
1503
1503
|
y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
|
|
1504
1504
|
}, [
|
|
1505
|
-
u("div",
|
|
1506
|
-
|
|
1505
|
+
u("div", Yt, [
|
|
1506
|
+
O(i.$slots, "plot-comment", {
|
|
1507
1507
|
plot: { ...n, color: a.color }
|
|
1508
1508
|
}, void 0, !0)
|
|
1509
1509
|
])
|
|
1510
|
-
], 8,
|
|
1510
|
+
], 8, Bt)) : c("", !0)
|
|
1511
1511
|
]))), 128)),
|
|
1512
|
-
Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (l(), r("g",
|
|
1512
|
+
Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (l(), r("g", Xt, [
|
|
1513
1513
|
u("defs", null, [
|
|
1514
1514
|
u("marker", {
|
|
1515
1515
|
id: `plot_arrow_${o}`,
|
|
@@ -1522,8 +1522,8 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1522
1522
|
u("polygon", {
|
|
1523
1523
|
points: `0 0, 7 ${7 / 2}, 0 7`,
|
|
1524
1524
|
fill: a.color
|
|
1525
|
-
}, null, 8,
|
|
1526
|
-
], 8,
|
|
1525
|
+
}, null, 8, Zt)
|
|
1526
|
+
], 8, qt)
|
|
1527
1527
|
]),
|
|
1528
1528
|
a.plots.length > 1 ? (l(), r("line", {
|
|
1529
1529
|
key: 0,
|
|
@@ -1535,7 +1535,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1535
1535
|
stroke: a.color,
|
|
1536
1536
|
"stroke-dasharray": 2,
|
|
1537
1537
|
"marker-end": `url(#plot_arrow_${o})`
|
|
1538
|
-
}, null, 8,
|
|
1538
|
+
}, null, 8, Ut)) : c("", !0),
|
|
1539
1539
|
a.plots.length > 1 ? (l(), r("text", {
|
|
1540
1540
|
key: 1,
|
|
1541
1541
|
"text-anchor": "middle",
|
|
@@ -1543,17 +1543,17 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1543
1543
|
y: e.calcLinearProgression(a.plots).y2 - 6,
|
|
1544
1544
|
"font-size": t.fontSizes.plotLabels,
|
|
1545
1545
|
fill: a.color
|
|
1546
|
-
},
|
|
1546
|
+
}, k(e.dataLabel({
|
|
1547
1547
|
v: e.calcLinearProgression(a.plots).trend * 100,
|
|
1548
1548
|
s: "%",
|
|
1549
1549
|
r: 2
|
|
1550
|
-
})), 9,
|
|
1550
|
+
})), 9, Jt)) : c("", !0)
|
|
1551
1551
|
])) : c("", !0)
|
|
1552
1552
|
], 6))), 128)),
|
|
1553
|
-
(l(!0), r(
|
|
1553
|
+
(l(!0), r(m, null, b(e.lineSet, (a, o) => (l(), r("g", {
|
|
1554
1554
|
key: `serie_line_${o}`,
|
|
1555
|
-
class:
|
|
1556
|
-
style:
|
|
1555
|
+
class: p(`serie_line_${o}`),
|
|
1556
|
+
style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1557
1557
|
}, [
|
|
1558
1558
|
a.smooth && a.plots.length > 1 ? (l(), r("path", {
|
|
1559
1559
|
key: 0,
|
|
@@ -1562,8 +1562,8 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1562
1562
|
"stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
|
|
1563
1563
|
"stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1564
1564
|
fill: "none"
|
|
1565
|
-
}, null, 8,
|
|
1566
|
-
(l(!0), r(
|
|
1565
|
+
}, null, 8, Kt)) : a.plots.length > 1 ? (l(), r("g", Qt, [
|
|
1566
|
+
(l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
|
|
1567
1567
|
key: `line_${o}_${g}`
|
|
1568
1568
|
}, [
|
|
1569
1569
|
n && g < a.plots.length - 1 && a.plots[g + 1] && e.canShowValue(n.value) && e.canShowValue(a.plots[g + 1].value) ? (l(), r("line", {
|
|
@@ -1577,25 +1577,25 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1577
1577
|
"stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1578
1578
|
"stroke-linejoin": "round",
|
|
1579
1579
|
"stroke-linecap": "round"
|
|
1580
|
-
}, null, 8,
|
|
1580
|
+
}, null, 8, jt)) : c("", !0)
|
|
1581
1581
|
]))), 128))
|
|
1582
1582
|
])) : c("", !0)
|
|
1583
1583
|
], 6))), 128)),
|
|
1584
|
-
(l(!0), r(
|
|
1584
|
+
(l(!0), r(m, null, b(e.lineSet, (a, o) => (l(), r("g", {
|
|
1585
1585
|
key: `serie_line_${o}`,
|
|
1586
|
-
class:
|
|
1587
|
-
style:
|
|
1586
|
+
class: p(`serie_line_${o}`),
|
|
1587
|
+
style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1588
1588
|
}, [
|
|
1589
|
-
a.useArea && a.plots.length > 1 ? (l(), r("g",
|
|
1589
|
+
a.useArea && a.plots.length > 1 ? (l(), r("g", $t, [
|
|
1590
1590
|
a.smooth ? (l(), r("path", {
|
|
1591
1591
|
key: 0,
|
|
1592
1592
|
d: `M ${a.plots[0] ? a.plots[0].x : Math.min(...a.plots.filter((n) => !!n).map((n) => n.x))},${t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset : e.drawingArea.bottom} ${a.curve} L ${a.plots.at(-1) ? a.plots.at(-1).x : e.drawingArea.left + e.slot.line * o + e.slot.line / 2},${t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset : e.drawingArea.bottom} Z`,
|
|
1593
1593
|
fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${o}_${t.uniqueId})` : `${a.color}${t.opacity[e.FINAL_CONFIG.line.area.opacity]}`
|
|
1594
|
-
}, null, 8,
|
|
1594
|
+
}, null, 8, ea)) : (l(), r("path", {
|
|
1595
1595
|
key: 1,
|
|
1596
1596
|
d: `M${a.area}Z`,
|
|
1597
1597
|
fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${o}_${t.uniqueId})` : `${a.color}${t.opacity[e.FINAL_CONFIG.line.area.opacity]}`
|
|
1598
|
-
}, null, 8,
|
|
1598
|
+
}, null, 8, ta))
|
|
1599
1599
|
])) : c("", !0),
|
|
1600
1600
|
a.smooth && a.plots.length > 1 ? (l(), r("path", {
|
|
1601
1601
|
key: 1,
|
|
@@ -1604,8 +1604,8 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1604
1604
|
"stroke-width": e.FINAL_CONFIG.line.strokeWidth,
|
|
1605
1605
|
"stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1606
1606
|
fill: "none"
|
|
1607
|
-
}, null, 8,
|
|
1608
|
-
(l(!0), r(
|
|
1607
|
+
}, null, 8, aa)) : a.plots.length > 1 ? (l(), r("g", ia, [
|
|
1608
|
+
(l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
|
|
1609
1609
|
key: `line_${o}_${g}`
|
|
1610
1610
|
}, [
|
|
1611
1611
|
n && g < a.plots.length - 1 && a.plots[g + 1] && e.canShowValue(n.value) && e.canShowValue(a.plots[g + 1].value) ? (l(), r("line", {
|
|
@@ -1619,13 +1619,13 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1619
1619
|
"stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1620
1620
|
"stroke-linejoin": "round",
|
|
1621
1621
|
"stroke-linecap": "round"
|
|
1622
|
-
}, null, 8,
|
|
1622
|
+
}, null, 8, la)) : c("", !0)
|
|
1623
1623
|
]))), 128))
|
|
1624
1624
|
])) : c("", !0),
|
|
1625
|
-
(l(!0), r(
|
|
1625
|
+
(l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
|
|
1626
1626
|
key: `circle_line_${o}_${g}`
|
|
1627
1627
|
}, [
|
|
1628
|
-
n && e.canShowValue(n.value) ? (l(), V(
|
|
1628
|
+
n && e.canShowValue(n.value) ? (l(), V(L, {
|
|
1629
1629
|
key: 0,
|
|
1630
1630
|
shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
|
|
1631
1631
|
color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${o}_${t.uniqueId})` : a.color,
|
|
@@ -1642,14 +1642,14 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1642
1642
|
x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
|
|
1643
1643
|
y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
|
|
1644
1644
|
}, [
|
|
1645
|
-
u("div",
|
|
1646
|
-
|
|
1645
|
+
u("div", sa, [
|
|
1646
|
+
O(i.$slots, "plot-comment", {
|
|
1647
1647
|
plot: { ...n, color: a.color }
|
|
1648
1648
|
}, void 0, !0)
|
|
1649
1649
|
])
|
|
1650
|
-
], 8,
|
|
1650
|
+
], 8, ra)) : c("", !0)
|
|
1651
1651
|
]))), 128)),
|
|
1652
|
-
Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (l(), r("g",
|
|
1652
|
+
Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (l(), r("g", na, [
|
|
1653
1653
|
u("defs", null, [
|
|
1654
1654
|
u("marker", {
|
|
1655
1655
|
id: `line_arrow_${o}`,
|
|
@@ -1662,8 +1662,8 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1662
1662
|
u("polygon", {
|
|
1663
1663
|
points: `0 0, 7 ${7 / 2}, 0 7`,
|
|
1664
1664
|
fill: a.color
|
|
1665
|
-
}, null, 8,
|
|
1666
|
-
], 8,
|
|
1665
|
+
}, null, 8, ca)
|
|
1666
|
+
], 8, oa)
|
|
1667
1667
|
]),
|
|
1668
1668
|
a.plots.length > 1 ? (l(), r("line", {
|
|
1669
1669
|
key: 0,
|
|
@@ -1675,7 +1675,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1675
1675
|
stroke: a.color,
|
|
1676
1676
|
"stroke-dasharray": 2,
|
|
1677
1677
|
"marker-end": `url(#line_arrow_${o})`
|
|
1678
|
-
}, null, 8,
|
|
1678
|
+
}, null, 8, ha)) : c("", !0),
|
|
1679
1679
|
a.plots.length > 1 ? (l(), r("text", {
|
|
1680
1680
|
key: 1,
|
|
1681
1681
|
"text-anchor": "middle",
|
|
@@ -1683,30 +1683,30 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1683
1683
|
y: e.calcLinearProgression(a.plots).y2 - 6,
|
|
1684
1684
|
"font-size": t.fontSizes.plotLabels,
|
|
1685
1685
|
fill: a.color
|
|
1686
|
-
},
|
|
1686
|
+
}, k(e.dataLabel({
|
|
1687
1687
|
v: e.calcLinearProgression(a.plots).trend * 100,
|
|
1688
1688
|
s: "%",
|
|
1689
1689
|
r: 2
|
|
1690
|
-
})), 9,
|
|
1690
|
+
})), 9, da)) : c("", !0)
|
|
1691
1691
|
])) : c("", !0)
|
|
1692
1692
|
], 6))), 128)),
|
|
1693
|
-
(e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && t.mutableConfig.dataLabels.show ? (l(), r("g",
|
|
1694
|
-
(l(!0), r(
|
|
1693
|
+
(e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && t.mutableConfig.dataLabels.show ? (l(), r("g", ua, [
|
|
1694
|
+
(l(!0), r(m, null, b(e.barSet, (a, o) => (l(), r("g", {
|
|
1695
1695
|
key: `xLabel_bar_${o}`,
|
|
1696
|
-
class:
|
|
1697
|
-
style:
|
|
1696
|
+
class: p(`xLabel_bar_${o}`),
|
|
1697
|
+
style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1698
1698
|
}, [
|
|
1699
|
-
(l(!0), r(
|
|
1699
|
+
(l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
|
|
1700
1700
|
key: `xLabel_bar_${o}_${g}`
|
|
1701
1701
|
}, [
|
|
1702
1702
|
n && (!Object.hasOwn(a, "dataLabels") || a.dataLabels === !0) && e.FINAL_CONFIG.bar.labels.show ? (l(), r("text", {
|
|
1703
1703
|
key: 0,
|
|
1704
1704
|
x: t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? n.x + e.slot.line / 2 : e.calcRectX(n) + e.calcRectWidth() / 2 - e.barPeriodGap / 2,
|
|
1705
|
-
y: n.y + (n.value > 0 ? e.FINAL_CONFIG.bar.labels.offsetY : -e.FINAL_CONFIG.bar.labels.offsetY * 3),
|
|
1705
|
+
y: e.checkNaN(n.y) + (n.value > 0 ? e.FINAL_CONFIG.bar.labels.offsetY : -e.FINAL_CONFIG.bar.labels.offsetY * 3),
|
|
1706
1706
|
"text-anchor": "middle",
|
|
1707
1707
|
"font-size": t.fontSizes.plotLabels,
|
|
1708
1708
|
fill: e.FINAL_CONFIG.bar.labels.color
|
|
1709
|
-
},
|
|
1709
|
+
}, k(e.canShowValue(n.value) ? e.applyDataLabel(
|
|
1710
1710
|
e.FINAL_CONFIG.bar.labels.formatter,
|
|
1711
1711
|
n.value,
|
|
1712
1712
|
e.dataLabel({
|
|
@@ -1719,7 +1719,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1719
1719
|
datapoint: n,
|
|
1720
1720
|
serie: a
|
|
1721
1721
|
}
|
|
1722
|
-
) : ""), 9,
|
|
1722
|
+
) : ""), 9, ga)) : c("", !0),
|
|
1723
1723
|
n && e.FINAL_CONFIG.bar.serieName.show ? (l(), r("text", {
|
|
1724
1724
|
key: 1,
|
|
1725
1725
|
x: t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? n.x + e.slot.line / 2 : n.x + e.calcRectWidth() * 1.1,
|
|
@@ -1728,17 +1728,17 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1728
1728
|
"font-size": t.fontSizes.plotLabels,
|
|
1729
1729
|
fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? a.color : e.FINAL_CONFIG.bar.serieName.color,
|
|
1730
1730
|
"font-weight": e.FINAL_CONFIG.bar.serieName.bold ? "bold" : "normal"
|
|
1731
|
-
},
|
|
1731
|
+
}, k(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: a.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : a.name), 9, fa)) : c("", !0)
|
|
1732
1732
|
]))), 128))
|
|
1733
1733
|
], 6))), 128))
|
|
1734
1734
|
])) : c("", !0),
|
|
1735
|
-
e.FINAL_CONFIG.plot.labels.show && t.mutableConfig.dataLabels.show ? (l(), r("g",
|
|
1736
|
-
(l(!0), r(
|
|
1735
|
+
e.FINAL_CONFIG.plot.labels.show && t.mutableConfig.dataLabels.show ? (l(), r("g", ma, [
|
|
1736
|
+
(l(!0), r(m, null, b(e.plotSet, (a, o) => (l(), r("g", {
|
|
1737
1737
|
key: `xLabel_plot_${o}`,
|
|
1738
|
-
class:
|
|
1739
|
-
style:
|
|
1738
|
+
class: p(`xLabel_plot_${o}`),
|
|
1739
|
+
style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1740
1740
|
}, [
|
|
1741
|
-
(l(!0), r(
|
|
1741
|
+
(l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
|
|
1742
1742
|
key: `xLabel_plot_${o}_${g}`
|
|
1743
1743
|
}, [
|
|
1744
1744
|
n && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 ? (l(), r("text", {
|
|
@@ -1748,7 +1748,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1748
1748
|
"text-anchor": "middle",
|
|
1749
1749
|
"font-size": t.fontSizes.plotLabels,
|
|
1750
1750
|
fill: e.FINAL_CONFIG.plot.labels.color
|
|
1751
|
-
},
|
|
1751
|
+
}, k(e.canShowValue(n.value) ? e.applyDataLabel(
|
|
1752
1752
|
e.FINAL_CONFIG.plot.labels.formatter,
|
|
1753
1753
|
n.value,
|
|
1754
1754
|
e.dataLabel({
|
|
@@ -1761,7 +1761,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1761
1761
|
datapoint: n,
|
|
1762
1762
|
serie: a
|
|
1763
1763
|
}
|
|
1764
|
-
) : ""), 9,
|
|
1764
|
+
) : ""), 9, Na)) : c("", !0),
|
|
1765
1765
|
n && g === 0 && a.useTag && a.useTag === "start" ? (l(), r("foreignObject", {
|
|
1766
1766
|
key: 1,
|
|
1767
1767
|
x: n.x,
|
|
@@ -1771,8 +1771,8 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1771
1771
|
style: { overflow: "visible" }
|
|
1772
1772
|
}, [
|
|
1773
1773
|
u("div", {
|
|
1774
|
-
style:
|
|
1775
|
-
},
|
|
1774
|
+
style: A(`padding: 3px; background:${a.color}${t.opacity[80]};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1775
|
+
}, k(a.name), 5)
|
|
1776
1776
|
], 8, Ia)) : c("", !0),
|
|
1777
1777
|
n && g === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (l(), r("foreignObject", {
|
|
1778
1778
|
key: 2,
|
|
@@ -1783,19 +1783,19 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1783
1783
|
style: { overflow: "visible" }
|
|
1784
1784
|
}, [
|
|
1785
1785
|
u("div", {
|
|
1786
|
-
style:
|
|
1787
|
-
},
|
|
1786
|
+
style: A(`padding: 3px; background:${a.color}${t.opacity[80]};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1787
|
+
}, k(a.name), 5)
|
|
1788
1788
|
], 8, ba)) : c("", !0)
|
|
1789
1789
|
]))), 128))
|
|
1790
1790
|
], 6))), 128))
|
|
1791
1791
|
])) : c("", !0),
|
|
1792
|
-
e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (l(), r("g",
|
|
1793
|
-
(l(!0), r(
|
|
1792
|
+
e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (l(), r("g", xa, [
|
|
1793
|
+
(l(!0), r(m, null, b(e.lineSet, (a, o) => (l(), r("g", {
|
|
1794
1794
|
key: `xLabel_line_${o}`,
|
|
1795
|
-
class:
|
|
1796
|
-
style:
|
|
1795
|
+
class: p(`xLabel_line_${o}`),
|
|
1796
|
+
style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1797
1797
|
}, [
|
|
1798
|
-
(l(!0), r(
|
|
1798
|
+
(l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
|
|
1799
1799
|
key: `xLabel_line_${o}_${g}`
|
|
1800
1800
|
}, [
|
|
1801
1801
|
n && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 ? (l(), r("text", {
|
|
@@ -1805,7 +1805,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1805
1805
|
"text-anchor": "middle",
|
|
1806
1806
|
"font-size": t.fontSizes.plotLabels,
|
|
1807
1807
|
fill: e.FINAL_CONFIG.line.labels.color
|
|
1808
|
-
},
|
|
1808
|
+
}, k(e.canShowValue(n.value) ? e.applyDataLabel(
|
|
1809
1809
|
e.FINAL_CONFIG.line.labels.formatter,
|
|
1810
1810
|
n.value,
|
|
1811
1811
|
e.dataLabel({
|
|
@@ -1818,7 +1818,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1818
1818
|
datapoint: n,
|
|
1819
1819
|
serie: a
|
|
1820
1820
|
}
|
|
1821
|
-
) : ""), 9,
|
|
1821
|
+
) : ""), 9, _a)) : c("", !0),
|
|
1822
1822
|
n && g === 0 && a.useTag && a.useTag === "start" ? (l(), r("foreignObject", {
|
|
1823
1823
|
key: 1,
|
|
1824
1824
|
x: n.x,
|
|
@@ -1828,9 +1828,9 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1828
1828
|
style: { overflow: "visible" }
|
|
1829
1829
|
}, [
|
|
1830
1830
|
u("div", {
|
|
1831
|
-
style:
|
|
1832
|
-
},
|
|
1833
|
-
], 8,
|
|
1831
|
+
style: A(`padding: 3px; background:${a.color}${t.opacity[80]};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1832
|
+
}, k(a.name), 5)
|
|
1833
|
+
], 8, Fa)) : c("", !0),
|
|
1834
1834
|
n && g === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (l(), r("foreignObject", {
|
|
1835
1835
|
key: 2,
|
|
1836
1836
|
x: n.x - a.name.length * (t.fontSizes.plotLabels / 2),
|
|
@@ -1840,18 +1840,18 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1840
1840
|
style: { overflow: "visible" }
|
|
1841
1841
|
}, [
|
|
1842
1842
|
u("div", {
|
|
1843
|
-
style:
|
|
1844
|
-
},
|
|
1845
|
-
], 8,
|
|
1843
|
+
style: A(`padding: 3px; background:${a.color}${t.opacity[80]};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1844
|
+
}, k(a.name), 5)
|
|
1845
|
+
], 8, ya)) : c("", !0)
|
|
1846
1846
|
]))), 128))
|
|
1847
1847
|
], 6))), 128))
|
|
1848
1848
|
])) : c("", !0),
|
|
1849
|
-
(l(!0), r(
|
|
1849
|
+
(l(!0), r(m, null, b(e.lineSet, (a, o) => (l(), r("g", {
|
|
1850
1850
|
key: `xLabel_line_${o}`,
|
|
1851
|
-
class:
|
|
1852
|
-
style:
|
|
1851
|
+
class: p(`xLabel_line_${o}`),
|
|
1852
|
+
style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1853
1853
|
}, [
|
|
1854
|
-
(l(!0), r(
|
|
1854
|
+
(l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
|
|
1855
1855
|
key: `xLabel_line_${o}_${g}`
|
|
1856
1856
|
}, [
|
|
1857
1857
|
n && g === 0 && a.showSerieName && a.showSerieName === "start" ? (l(), r("text", {
|
|
@@ -1869,7 +1869,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1869
1869
|
y: n.y,
|
|
1870
1870
|
maxWords: 2
|
|
1871
1871
|
})
|
|
1872
|
-
}, null, 8,
|
|
1872
|
+
}, null, 8, Aa)) : c("", !0),
|
|
1873
1873
|
n && g === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (l(), r("text", {
|
|
1874
1874
|
key: 1,
|
|
1875
1875
|
x: n.x + t.fontSizes.plotLabels,
|
|
@@ -1885,15 +1885,15 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1885
1885
|
y: n.y,
|
|
1886
1886
|
maxWords: 2
|
|
1887
1887
|
})
|
|
1888
|
-
}, null, 8,
|
|
1888
|
+
}, null, 8, La)) : c("", !0)
|
|
1889
1889
|
]))), 128))
|
|
1890
1890
|
], 6))), 128)),
|
|
1891
|
-
(l(!0), r(
|
|
1891
|
+
(l(!0), r(m, null, b(e.plotSet, (a, o) => (l(), r("g", {
|
|
1892
1892
|
key: `xLabel_plot_${o}`,
|
|
1893
|
-
class:
|
|
1894
|
-
style:
|
|
1893
|
+
class: p(`xLabel_plot_${o}`),
|
|
1894
|
+
style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1895
1895
|
}, [
|
|
1896
|
-
(l(!0), r(
|
|
1896
|
+
(l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
|
|
1897
1897
|
key: `xLabel_plot_${o}_${g}`
|
|
1898
1898
|
}, [
|
|
1899
1899
|
n && g === 0 && a.showSerieName && a.showSerieName === "start" ? (l(), r("text", {
|
|
@@ -1911,7 +1911,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1911
1911
|
y: n.y,
|
|
1912
1912
|
maxWords: 2
|
|
1913
1913
|
})
|
|
1914
|
-
}, null, 8,
|
|
1914
|
+
}, null, 8, ka)) : c("", !0),
|
|
1915
1915
|
n && g === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (l(), r("text", {
|
|
1916
1916
|
key: 1,
|
|
1917
1917
|
x: n.x + t.fontSizes.plotLabels,
|
|
@@ -1927,10 +1927,10 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1927
1927
|
y: n.y,
|
|
1928
1928
|
maxWords: 2
|
|
1929
1929
|
})
|
|
1930
|
-
}, null, 8,
|
|
1930
|
+
}, null, 8, Sa)) : c("", !0)
|
|
1931
1931
|
]))), 128))
|
|
1932
1932
|
], 6))), 128)),
|
|
1933
|
-
t.mutableConfig.useIndividualScale && !t.mutableConfig.isStacked ? (l(!0), r(
|
|
1933
|
+
t.mutableConfig.useIndividualScale && !t.mutableConfig.isStacked ? (l(!0), r(m, { key: 8 }, b(e.allScales, (a) => (l(), r("rect", {
|
|
1934
1934
|
x: a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
|
|
1935
1935
|
y: e.drawingArea.top,
|
|
1936
1936
|
width: e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
|
|
@@ -1938,7 +1938,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1938
1938
|
fill: t.selectedScale === a.id ? `${a.color}20` : "transparent",
|
|
1939
1939
|
onMouseenter: (o) => t.selectedScale = a.id,
|
|
1940
1940
|
onMouseleave: s[0] || (s[0] = (o) => t.selectedScale = null)
|
|
1941
|
-
}, null, 40,
|
|
1941
|
+
}, null, 40, Ca))), 256)) : c("", !0),
|
|
1942
1942
|
u("g", null, [
|
|
1943
1943
|
e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !t.mutableConfig.useIndividualScale ? (l(), r("text", {
|
|
1944
1944
|
key: 0,
|
|
@@ -1947,7 +1947,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1947
1947
|
transform: `translate(${t.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
|
|
1948
1948
|
"text-anchor": "middle",
|
|
1949
1949
|
style: { transition: "none" }
|
|
1950
|
-
},
|
|
1950
|
+
}, k(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, wa)) : c("", !0),
|
|
1951
1951
|
e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (l(), r("text", {
|
|
1952
1952
|
key: 1,
|
|
1953
1953
|
"text-anchor": "middle",
|
|
@@ -1955,10 +1955,10 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1955
1955
|
y: e.drawingArea.bottom + t.fontSizes.yAxis + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
|
|
1956
1956
|
"font-size": t.fontSizes.yAxis,
|
|
1957
1957
|
fill: e.FINAL_CONFIG.chart.grid.labels.color
|
|
1958
|
-
},
|
|
1958
|
+
}, k(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, Oa)) : c("", !0)
|
|
1959
1959
|
]),
|
|
1960
|
-
e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (l(), r("g",
|
|
1961
|
-
(l(!0), r(
|
|
1960
|
+
e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (l(), r("g", va, [
|
|
1961
|
+
(l(!0), r(m, null, b(e.timeLabels, (a, o) => (l(), r("g", {
|
|
1962
1962
|
key: `time_label_${o}`
|
|
1963
1963
|
}, [
|
|
1964
1964
|
a && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (o === 0 || o === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && t.selectedSerieIndex === o && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && o % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (l(), r("text", {
|
|
@@ -1967,11 +1967,11 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1967
1967
|
"font-size": t.fontSizes.xAxis,
|
|
1968
1968
|
fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
|
|
1969
1969
|
transform: `translate(${e.drawingArea.left + e.drawingArea.width / e.maxSeries * o + e.drawingArea.width / e.maxSeries / 2}, ${e.drawingArea.bottom + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation})`
|
|
1970
|
-
},
|
|
1970
|
+
}, k(a || ""), 9, Ga)) : c("", !0)
|
|
1971
1971
|
]))), 128))
|
|
1972
1972
|
])) : c("", !0),
|
|
1973
1973
|
u("g", null, [
|
|
1974
|
-
(l(!0), r(
|
|
1974
|
+
(l(!0), r(m, null, b(e.maxSeries, (a, o) => (l(), r("g", {
|
|
1975
1975
|
key: `tooltip_trap_${o}`
|
|
1976
1976
|
}, [
|
|
1977
1977
|
u("rect", {
|
|
@@ -1984,10 +1984,10 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1984
1984
|
onMouseenter: (n) => e.toggleTooltipVisibility(!0, o),
|
|
1985
1985
|
onMouseleave: s[1] || (s[1] = (n) => e.toggleTooltipVisibility(!1)),
|
|
1986
1986
|
onClick: (n) => e.selectX(o)
|
|
1987
|
-
}, null, 40,
|
|
1987
|
+
}, null, 40, za)
|
|
1988
1988
|
]))), 128))
|
|
1989
1989
|
]),
|
|
1990
|
-
e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(t.selectedSerieIndex) ? (l(), r("g",
|
|
1990
|
+
e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(t.selectedSerieIndex) ? (l(), r("g", Ma, [
|
|
1991
1991
|
(l(), r("foreignObject", {
|
|
1992
1992
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * t.selectedSerieIndex - 100 + e.drawingArea.width / e.maxSeries / 2,
|
|
1993
1993
|
y: e.drawingArea.bottom,
|
|
@@ -1997,23 +1997,23 @@ function Ya(i, s, h, f, t, e) {
|
|
|
1997
1997
|
}, [
|
|
1998
1998
|
u("div", {
|
|
1999
1999
|
class: "vue-ui-xy-time-tag",
|
|
2000
|
-
style:
|
|
2001
|
-
},
|
|
2000
|
+
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`)
|
|
2001
|
+
}, k(e.timeLabels[t.selectedSerieIndex] || t.selectedSerieIndex), 5)
|
|
2002
2002
|
], 8, pa)),
|
|
2003
2003
|
u("circle", {
|
|
2004
2004
|
cx: e.drawingArea.left + e.drawingArea.width / e.maxSeries * t.selectedSerieIndex + e.drawingArea.width / e.maxSeries / 2,
|
|
2005
2005
|
cy: e.drawingArea.bottom,
|
|
2006
2006
|
r: e.FINAL_CONFIG.chart.timeTag.circleMarker.radius,
|
|
2007
2007
|
fill: e.FINAL_CONFIG.chart.timeTag.circleMarker.color
|
|
2008
|
-
}, null, 8,
|
|
2008
|
+
}, null, 8, Pa)
|
|
2009
2009
|
])) : c("", !0)
|
|
2010
2010
|
])) : c("", !0),
|
|
2011
|
-
|
|
2012
|
-
], 14,
|
|
2013
|
-
i.$slots.watermark ? (l(), r("div",
|
|
2014
|
-
|
|
2011
|
+
O(i.$slots, "svg", { svg: e.svg }, void 0, !0)
|
|
2012
|
+
], 14, qe)) : c("", !0),
|
|
2013
|
+
i.$slots.watermark ? (l(), r("div", Ta, [
|
|
2014
|
+
O(i.$slots, "watermark", B(Y({ isPrinting: t.isPrinting || t.isImaging })), void 0, !0)
|
|
2015
2015
|
])) : c("", !0),
|
|
2016
|
-
e.isDataset ? c("", !0) : (l(), V(
|
|
2016
|
+
e.isDataset ? c("", !0) : (l(), V(N, {
|
|
2017
2017
|
key: 4,
|
|
2018
2018
|
config: {
|
|
2019
2019
|
type: "line",
|
|
@@ -2031,7 +2031,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
2031
2031
|
}
|
|
2032
2032
|
}
|
|
2033
2033
|
}, null, 8, ["config"])),
|
|
2034
|
-
e.FINAL_CONFIG.chart.zoom.show && t.maxX > 6 && e.isDataset ? (l(), V(
|
|
2034
|
+
e.FINAL_CONFIG.chart.zoom.show && t.maxX > 6 && e.isDataset ? (l(), V(y, {
|
|
2035
2035
|
ref: "chartSlicer",
|
|
2036
2036
|
key: `slicer_${t.slicerStep}`,
|
|
2037
2037
|
background: e.FINAL_CONFIG.chart.zoom.color,
|
|
@@ -2063,7 +2063,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
2063
2063
|
onTrapMouse: e.selectMinimapIndex
|
|
2064
2064
|
}, {
|
|
2065
2065
|
"reset-action": z(({ reset: a }) => [
|
|
2066
|
-
|
|
2066
|
+
O(i.$slots, "reset-action", B(Y({ reset: a })), void 0, !0)
|
|
2067
2067
|
]),
|
|
2068
2068
|
_: 3
|
|
2069
2069
|
}, 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"])) : c("", !0),
|
|
@@ -2071,14 +2071,14 @@ function Ya(i, s, h, f, t, e) {
|
|
|
2071
2071
|
key: 6,
|
|
2072
2072
|
ref: "chartLegend",
|
|
2073
2073
|
class: "vue-ui-xy-legend",
|
|
2074
|
-
style:
|
|
2074
|
+
style: A(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
|
|
2075
2075
|
}, [
|
|
2076
|
-
(l(!0), r(
|
|
2076
|
+
(l(!0), r(m, null, b(e.absoluteDataset, (a, o) => (l(), r("div", {
|
|
2077
2077
|
key: `div_legend_item_${o}`,
|
|
2078
2078
|
onClick: (n) => e.segregate(a),
|
|
2079
|
-
class:
|
|
2079
|
+
class: p({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": t.segregatedSeries.includes(a.id) })
|
|
2080
2080
|
}, [
|
|
2081
|
-
t.icons[a.type] === "line" ? (l(), r("svg",
|
|
2081
|
+
t.icons[a.type] === "line" ? (l(), r("svg", Ra, [
|
|
2082
2082
|
u("rect", {
|
|
2083
2083
|
x: "0",
|
|
2084
2084
|
y: "7",
|
|
@@ -2087,8 +2087,8 @@ function Ya(i, s, h, f, t, e) {
|
|
|
2087
2087
|
height: "4",
|
|
2088
2088
|
width: "20",
|
|
2089
2089
|
fill: a.color
|
|
2090
|
-
}, null, 8,
|
|
2091
|
-
|
|
2090
|
+
}, null, 8, Da),
|
|
2091
|
+
X(L, {
|
|
2092
2092
|
plot: { x: 10, y: 9 },
|
|
2093
2093
|
radius: 4,
|
|
2094
2094
|
color: a.color,
|
|
@@ -2096,7 +2096,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
2096
2096
|
stroke: e.FINAL_CONFIG.chart.backgroundColor,
|
|
2097
2097
|
strokeWidth: 1
|
|
2098
2098
|
}, null, 8, ["color", "shape", "stroke"])
|
|
2099
|
-
])) : (l(), r("svg",
|
|
2099
|
+
])) : (l(), r("svg", Ha, [
|
|
2100
2100
|
t.icons[a.type] === "bar" ? (l(), r("rect", {
|
|
2101
2101
|
key: 0,
|
|
2102
2102
|
x: "0",
|
|
@@ -2106,7 +2106,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
2106
2106
|
width: "12",
|
|
2107
2107
|
stroke: "none",
|
|
2108
2108
|
fill: a.color
|
|
2109
|
-
}, null, 8, Ea)) : (l(), V(
|
|
2109
|
+
}, null, 8, Ea)) : (l(), V(L, {
|
|
2110
2110
|
key: 1,
|
|
2111
2111
|
plot: { x: 6, y: 6 },
|
|
2112
2112
|
radius: 5,
|
|
@@ -2115,13 +2115,13 @@ function Ya(i, s, h, f, t, e) {
|
|
|
2115
2115
|
}, null, 8, ["color", "shape"]))
|
|
2116
2116
|
])),
|
|
2117
2117
|
u("span", {
|
|
2118
|
-
style:
|
|
2119
|
-
},
|
|
2120
|
-
], 10,
|
|
2121
|
-
], 4)) : (l(), r("div",
|
|
2122
|
-
|
|
2118
|
+
style: A(`color:${e.FINAL_CONFIG.chart.legend.color}`)
|
|
2119
|
+
}, k(a.name), 5)
|
|
2120
|
+
], 10, Va))), 128))
|
|
2121
|
+
], 4)) : (l(), r("div", Wa, [
|
|
2122
|
+
O(i.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
|
|
2123
2123
|
], 512)),
|
|
2124
|
-
|
|
2124
|
+
X(M, {
|
|
2125
2125
|
show: t.mutableConfig.showTooltip && t.isTooltip,
|
|
2126
2126
|
backgroundColor: e.FINAL_CONFIG.chart.tooltip.backgroundColor,
|
|
2127
2127
|
color: e.FINAL_CONFIG.chart.tooltip.color,
|
|
@@ -2137,14 +2137,14 @@ function Ya(i, s, h, f, t, e) {
|
|
|
2137
2137
|
isCustom: e.FINAL_CONFIG.chart.tooltip.customFormat && typeof e.FINAL_CONFIG.chart.tooltip.customFormat == "function"
|
|
2138
2138
|
}, {
|
|
2139
2139
|
"tooltip-before": z(() => [
|
|
2140
|
-
|
|
2140
|
+
O(i.$slots, "tooltip-before", B(Y({ ...e.dataTooltipSlot })), void 0, !0)
|
|
2141
2141
|
]),
|
|
2142
2142
|
"tooltip-after": z(() => [
|
|
2143
|
-
|
|
2143
|
+
O(i.$slots, "tooltip-after", B(Y({ ...e.dataTooltipSlot })), void 0, !0)
|
|
2144
2144
|
]),
|
|
2145
2145
|
_: 3
|
|
2146
2146
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
2147
|
-
e.isDataset ? (l(), V(
|
|
2147
|
+
e.isDataset ? (l(), V(x, {
|
|
2148
2148
|
key: 8,
|
|
2149
2149
|
hideDetails: "",
|
|
2150
2150
|
config: {
|
|
@@ -2162,20 +2162,20 @@ function Ya(i, s, h, f, t, e) {
|
|
|
2162
2162
|
}, {
|
|
2163
2163
|
content: z(() => [
|
|
2164
2164
|
u("div", {
|
|
2165
|
-
style:
|
|
2165
|
+
style: A(`${t.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
|
|
2166
2166
|
}, [
|
|
2167
|
-
u("div",
|
|
2168
|
-
|
|
2167
|
+
u("div", Ba, [
|
|
2168
|
+
De(u("input", {
|
|
2169
2169
|
type: "checkbox",
|
|
2170
2170
|
"onUpdate:modelValue": s[4] || (s[4] = (a) => t.showSparklineTable = a)
|
|
2171
2171
|
}, null, 512), [
|
|
2172
|
-
[
|
|
2172
|
+
[He, t.showSparklineTable]
|
|
2173
2173
|
]),
|
|
2174
2174
|
u("div", {
|
|
2175
2175
|
onClick: s[5] || (s[5] = (a) => t.showSparklineTable = !t.showSparklineTable),
|
|
2176
2176
|
style: { cursor: "pointer" }
|
|
2177
2177
|
}, [
|
|
2178
|
-
|
|
2178
|
+
X(S, {
|
|
2179
2179
|
name: "chartLine",
|
|
2180
2180
|
size: 20,
|
|
2181
2181
|
stroke: e.FINAL_CONFIG.chart.color
|
|
@@ -2186,7 +2186,7 @@ function Ya(i, s, h, f, t, e) {
|
|
|
2186
2186
|
key: `sparkline_${t.segregateStep}`,
|
|
2187
2187
|
dataset: e.tableSparklineDataset,
|
|
2188
2188
|
config: e.tableSparklineConfig
|
|
2189
|
-
}, null, 8, ["dataset", "config"])) : (l(), V(
|
|
2189
|
+
}, null, 8, ["dataset", "config"])) : (l(), V(v, {
|
|
2190
2190
|
key: 1,
|
|
2191
2191
|
colNames: e.dataTable.colNames,
|
|
2192
2192
|
head: e.dataTable.head,
|
|
@@ -2196,10 +2196,10 @@ function Ya(i, s, h, f, t, e) {
|
|
|
2196
2196
|
onClose: s[6] || (s[6] = (a) => t.mutableConfig.showTable = !1)
|
|
2197
2197
|
}, {
|
|
2198
2198
|
th: z(({ th: a }) => [
|
|
2199
|
-
u("div", { innerHTML: a }, null, 8,
|
|
2199
|
+
u("div", { innerHTML: a }, null, 8, Ya)
|
|
2200
2200
|
]),
|
|
2201
2201
|
td: z(({ td: a }) => [
|
|
2202
|
-
Ee(
|
|
2202
|
+
Ee(k(isNaN(Number(a)) ? a : e.dataLabel({
|
|
2203
2203
|
p: e.FINAL_CONFIG.chart.labels.prefix,
|
|
2204
2204
|
v: a,
|
|
2205
2205
|
s: e.FINAL_CONFIG.chart.labels.suffix,
|
|
@@ -2212,9 +2212,9 @@ function Ya(i, s, h, f, t, e) {
|
|
|
2212
2212
|
]),
|
|
2213
2213
|
_: 1
|
|
2214
2214
|
}, 8, ["config"])) : c("", !0)
|
|
2215
|
-
], 14,
|
|
2215
|
+
], 14, Xe);
|
|
2216
2216
|
}
|
|
2217
|
-
const
|
|
2217
|
+
const ni = /* @__PURE__ */ We(Ye, [["render", Xa], ["__scopeId", "data-v-0d52eb67"]]);
|
|
2218
2218
|
export {
|
|
2219
|
-
|
|
2219
|
+
ni as default
|
|
2220
2220
|
};
|