vue-data-ui 3.0.0-next.21 → 3.0.0-next.23
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-C3yKQTJs.js → Arrow-BqY0wX9a.js} +1 -1
- package/dist/{BaseDraggableDialog-B2wP_11m.js → BaseDraggableDialog-DmQ4N5tR.js} +2 -2
- package/dist/{BaseIcon-_brgsjLG.js → BaseIcon-i3a6zJKB.js} +1 -1
- package/dist/{ColorPicker-CCG8G1nd.js → ColorPicker-BEEbbqCv.js} +2 -2
- package/dist/{DataTable-C3ve--z6.js → DataTable-D7Ct2h1S.js} +2 -2
- package/dist/{Legend-CX874XJp.js → Legend-BGRDMVMg.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CnTtK3iB.js → NonSvgPenAndPaper-8cUsuDby.js} +3 -3
- package/dist/{PackageVersion-5l2M4Zh4.js → PackageVersion-BzyJxnE0.js} +1 -1
- package/dist/{PenAndPaper-CYEXrj4q.js → PenAndPaper-CIzQgqn2.js} +3 -3
- package/dist/{Shape-Du8dC9QE.js → Shape-C2XQxuj0.js} +1 -1
- package/dist/{Slicer-D06CTSaX.js → Slicer-BZBOL1sh.js} +2 -2
- package/dist/{SparkTooltip-DcX30xns.js → SparkTooltip-Azg-63wh.js} +1 -1
- package/dist/{Title-CItmidxn.js → Title-zXQ-YXR3.js} +1 -1
- package/dist/{Tooltip-lhQXI9xT.js → Tooltip-BnaJbAmp.js} +1 -1
- package/dist/{UserOptions-mGHinyKk.js → UserOptions-DZrUfiXa.js} +2 -2
- package/dist/{dom-to-png-juWKTR2G.js → dom-to-png-BZXl8W8W.js} +1 -1
- package/dist/{img-2Cyzq02w.js → img-DspPwyUi.js} +1 -1
- package/dist/{index-DyWXkFFm.js → index-BRykAiTq.js} +1 -1
- package/dist/{pdf-C9bVIzob.js → pdf-Cst5IlDZ.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-5rJrnAmD.js → useNestedProp-DWaM4D5P.js} +1 -1
- package/dist/{usePrinter-YV36Zq2L.js → usePrinter-rNcrCbQ3.js} +2 -2
- package/dist/{vue-data-ui-Br6XzNcY.js → vue-data-ui-CeNMhoLJ.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BeZ4UXj1.js → vue-ui-3d-bar-C72s2htT.js} +6 -6
- package/dist/{vue-ui-accordion-_T76roov.js → vue-ui-accordion-Q_neIGH3.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DyILZmL1.js → vue-ui-age-pyramid-Ck9YLF07.js} +6 -6
- package/dist/{vue-ui-annotator-D6vtgVKu.js → vue-ui-annotator-YqAi6nru.js} +2 -2
- package/dist/{vue-ui-bullet-CRL0nm0H.js → vue-ui-bullet-CbPie74n.js} +7 -7
- package/dist/{vue-ui-candlestick-Lv87ukLK.js → vue-ui-candlestick-C_htkVqB.js} +7 -7
- package/dist/{vue-ui-carousel-table-bQiT7iYL.js → vue-ui-carousel-table-C-_I-6pc.js} +4 -4
- package/dist/{vue-ui-chestnut-CshEgUb5.js → vue-ui-chestnut-WJm02x2r.js} +5 -5
- package/dist/{vue-ui-chord-C_Gurj0k.js → vue-ui-chord-4M1tf_Go.js} +8 -8
- package/dist/{vue-ui-circle-pack-DcDbc0cs.js → vue-ui-circle-pack-DlSIlaXu.js} +6 -6
- package/dist/{vue-ui-cursor-BlANSWeT.js → vue-ui-cursor-erWABBxT.js} +2 -2
- package/dist/{vue-ui-dashboard-Dylth91b.js → vue-ui-dashboard-BP79rUa7.js} +62 -62
- package/dist/{vue-ui-digits-BISvEvKG.js → vue-ui-digits-DiAsWPDS.js} +2 -2
- package/dist/{vue-ui-donut-DJYRCCLe.js → vue-ui-donut-BLUgqrqP.js} +8 -8
- package/dist/{vue-ui-donut-evolution--nHID422.js → vue-ui-donut-evolution-B0iXspny.js} +8 -8
- package/dist/{vue-ui-dumbbell-CsZa3YKC.js → vue-ui-dumbbell-DR5i41aZ.js} +7 -7
- package/dist/{vue-ui-flow-D1YZHLf1.js → vue-ui-flow-Emtd5ZYT.js} +7 -7
- package/dist/{vue-ui-funnel-KScJM0Sk.js → vue-ui-funnel-DMCKWzLP.js} +6 -6
- package/dist/{vue-ui-galaxy-7I6nMU7k.js → vue-ui-galaxy-BUMRoPMF.js} +5 -5
- package/dist/{vue-ui-gauge-BWOeGXdp.js → vue-ui-gauge-BkPlLTxe.js} +6 -6
- package/dist/{vue-ui-gizmo-C7Oci8xf.js → vue-ui-gizmo-DSX7V4-b.js} +3 -3
- package/dist/{vue-ui-heatmap-CeQq5YFh.js → vue-ui-heatmap-B8eVH4t3.js} +7 -7
- package/dist/{vue-ui-history-plot-C1R46zuZ.js → vue-ui-history-plot-DB2Tmcda.js} +7 -7
- package/dist/{vue-ui-kpi-CXXCCBoi.js → vue-ui-kpi-DRWWMpL5.js} +3 -3
- package/dist/{vue-ui-mini-loader-BDeMu-HG.js → vue-ui-mini-loader-BLmCyxa5.js} +2 -2
- package/dist/{vue-ui-molecule-BG_Vm9Z-.js → vue-ui-molecule-DMS7tWD2.js} +5 -5
- package/dist/{vue-ui-mood-radar-68rvpqSe.js → vue-ui-mood-radar-yXYrTBJG.js} +7 -7
- package/dist/{vue-ui-nested-donuts-y7DnbLj7.js → vue-ui-nested-donuts-CcixEjMa.js} +9 -9
- package/dist/{vue-ui-onion-cpCWH8CY.js → vue-ui-onion-OBq8KYu9.js} +7 -7
- package/dist/{vue-ui-parallel-coordinate-plot-AXeySjsk.js → vue-ui-parallel-coordinate-plot-C-c07Ibe.js} +8 -8
- package/dist/{vue-ui-quadrant-9-wXsL9m.js → vue-ui-quadrant-T6MiRtFT.js} +8 -8
- package/dist/{vue-ui-quick-chart-B_SOReEM.js → vue-ui-quick-chart-C-3yT21a.js} +6 -6
- package/dist/{vue-ui-radar-BryqHi8h.js → vue-ui-radar-DAzKaLIU.js} +7 -7
- package/dist/{vue-ui-rating-Cm4WHdIj.js → vue-ui-rating-Cne3CdFb.js} +2 -2
- package/dist/{vue-ui-relation-circle-D-wNj3HG.js → vue-ui-relation-circle-MYVCGuH3.js} +6 -6
- package/dist/{vue-ui-ridgeline-B5y-Z_xt.js → vue-ui-ridgeline-Ca36DjTA.js} +8 -8
- package/dist/{vue-ui-rings-D-TtSoDJ.js → vue-ui-rings-DnZPg5QC.js} +8 -8
- package/dist/{vue-ui-scatter-DzPgW23k.js → vue-ui-scatter-BsTr_th1.js} +8 -8
- package/dist/{vue-ui-skeleton-QZs3A3_K.js → vue-ui-skeleton-NWjqGqCQ.js} +3 -3
- package/dist/{vue-ui-smiley-ka3aFa0e.js → vue-ui-smiley-DJDxUTgt.js} +2 -2
- package/dist/{vue-ui-spark-trend-CJhdQ9Ls.js → vue-ui-spark-trend-DT4JviRd.js} +3 -3
- package/dist/{vue-ui-sparkbar-CL5ZGdHd.js → vue-ui-sparkbar-oeGrURpP.js} +3 -3
- package/dist/{vue-ui-sparkgauge-C5Jdp3zp.js → vue-ui-sparkgauge-B9YN-Rwo.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CHRRpkm0.js → vue-ui-sparkhistogram-BUWeTW-M.js} +4 -4
- package/dist/{vue-ui-sparkline-B0r89-4E.js → vue-ui-sparkline-BWzVdPjo.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-l35guX1R.js → vue-ui-sparkstackbar-PhhcHRud.js} +3 -3
- package/dist/{vue-ui-stackbar-AKs4GMxY.js → vue-ui-stackbar-DWxiZ3Qd.js} +9 -9
- package/dist/{vue-ui-strip-plot-uhUjZcif.js → vue-ui-strip-plot-C5_TlWo9.js} +7 -7
- package/dist/{vue-ui-table-BbRxUiDQ.js → vue-ui-table-CnVzbfB3.js} +3 -3
- package/dist/{vue-ui-table-heatmap-CVdmaPTJ.js → vue-ui-table-heatmap-BAagz7cM.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DJfVAI5W.js → vue-ui-table-sparkline-CXokZ0uo.js} +4 -4
- package/dist/{vue-ui-thermometer-BYx0gV05.js → vue-ui-thermometer-Khgi1heE.js} +6 -6
- package/dist/{vue-ui-timer-DL2v49kR.js → vue-ui-timer-D9RO5aG7.js} +5 -5
- package/dist/{vue-ui-tiremarks-LlgdqzTU.js → vue-ui-tiremarks-DSKmFy3c.js} +6 -6
- package/dist/{vue-ui-treemap-B2v9uGdI.js → vue-ui-treemap-6pH4dvNf.js} +8 -8
- package/dist/{vue-ui-vertical-bar-DSCAkzDF.js → vue-ui-vertical-bar-nL2OQ6Ea.js} +39 -39
- package/dist/{vue-ui-waffle-DmNJRK-_.js → vue-ui-waffle-DzEgB24u.js} +8 -8
- package/dist/{vue-ui-wheel-ChRAwecI.js → vue-ui-wheel-DvnZuG_m.js} +6 -6
- package/dist/{vue-ui-word-cloud-CELkzbyr.js → vue-ui-word-cloud-vf0X0SBn.js} +6 -6
- package/dist/{vue-ui-world-BOJa-cTu.js → vue-ui-world-DZ4nRbN8.js} +6 -6
- package/dist/{vue-ui-xy-DfeP_T81.js → vue-ui-xy-DSr_tGWn.js} +302 -302
- package/dist/{vue-ui-xy-canvas-Dijs3J4M.js → vue-ui-xy-canvas-Lt9oyqzu.js} +8 -8
- package/package.json +1 -1
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
import { defineAsyncComponent as Be, useSlots as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as aa } from "./useNestedProp-
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { S as
|
|
7
|
-
import
|
|
8
|
-
import { _ as Il } from "./Shape-
|
|
9
|
-
import
|
|
10
|
-
import { u as
|
|
11
|
-
import { u as
|
|
12
|
-
import { t as
|
|
13
|
-
import { _ as
|
|
14
|
-
const
|
|
1
|
+
import { defineAsyncComponent as Be, useSlots as Nt, getCurrentInstance as Vt, ref as w, computed as $, onMounted as Ba, toRefs as Pt, watchEffect as Ht, onBeforeUnmount as Ya, watch as Ql, createElementBlock as i, openBlock as u, normalizeStyle as z, normalizeClass as Ue, createBlock as Me, createCommentVNode as d, createVNode as xl, unref as v, createSlots as Rt, withCtx as ue, renderSlot as q, normalizeProps as Ze, guardReactiveProps as Je, createElementVNode as g, Fragment as h, renderList as y, toDisplayString as ee, mergeProps as jl, withDirectives as Bt, vModelCheckbox as Yt, createTextVNode as Ft, nextTick as ml } from "vue";
|
|
2
|
+
import { u as Et, c as ea, e as la, A as Wt, a5 as Ye, b as Xt, D as bl, ab as Ke, d as Gt, p as Dt, ac as zl, aa as R, ad as qt, v as T, ae as Fa, V as Ea, af as Wa, U as Xa, ag as Ut, ah as Ga, ai as Da, i as re, x as Zt, y as Jt, _ as qa, R as ze, f as xe, w as Qe, s as we, a8 as X, L as Kt, F as Fe, aj as Cl, I as Qt, ak as Ee, C as Ne, t as jt, a as eo, o as Ua, q as lo, r as ao, E as ol } from "./index-BRykAiTq.js";
|
|
3
|
+
import { u as aa } from "./useNestedProp-DWaM4D5P.js";
|
|
4
|
+
import { u as to } from "./useTimeLabels-DFkUfjfs.js";
|
|
5
|
+
import { u as oo } from "./useTimeLabelCollider-V7AOiPLB.js";
|
|
6
|
+
import { S as so } from "./Slicer-BZBOL1sh.js";
|
|
7
|
+
import uo from "./Title-zXQ-YXR3.js";
|
|
8
|
+
import { _ as Il } from "./Shape-C2XQxuj0.js";
|
|
9
|
+
import ro from "./img-DspPwyUi.js";
|
|
10
|
+
import { u as io } from "./usePrinter-rNcrCbQ3.js";
|
|
11
|
+
import { u as no, B as co } from "./BaseScanner-DIK2NTdp.js";
|
|
12
|
+
import { t as vo } from "./useResponsive-DfdjqQps.js";
|
|
13
|
+
import { _ as ho } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const fo = ["id"], go = ["viewBox", "aria-label"], xo = ["x", "y", "width", "height"], mo = { key: 1 }, bo = { class: "vue-ui-xy-grid" }, yo = ["stroke", "x1", "x2", "y1", "y2"], po = ["stroke", "x1", "x2", "y1", "y2"], ko = { key: 1 }, _o = ["x1", "x2", "y1", "y2", "stroke"], wo = ["x1", "x2", "y1", "y2", "stroke"], So = ["x1", "x2", "y1", "y2", "stroke"], $o = { key: 3 }, Lo = ["d", "stroke"], Ao = { key: 4 }, Mo = ["d", "stroke"], zo = ["id"], Co = ["stop-color"], Io = ["stop-color"], To = ["stop-color"], Oo = ["id"], No = ["stop-color"], Vo = ["stop-color"], Po = ["stop-color"], Ho = ["id"], Ro = ["stop-color"], Bo = ["stop-color"], Yo = ["id"], Fo = ["stop-color"], Eo = ["stop-color"], Wo = ["id"], Xo = ["stop-color"], Go = ["stop-color"], Do = ["x", "y", "height", "width", "fill"], qo = ["x", "y", "width"], Uo = { key: 0 }, Zo = ["x", "y", "height", "width", "fill"], Jo = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ko = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Qo = ["width", "x", "y"], jo = { key: 0 }, es = ["id"], ls = ["fill"], as = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ts = ["x", "y", "font-size", "fill"], os = ["stroke", "x1", "x2", "y1", "y2"], ss = { key: 3 }, us = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], rs = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], is = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ns = ["fill", "font-size", "transform"], cs = ["x1", "x2", "y1", "y2", "stroke"], vs = ["x", "y", "font-size", "fill"], ds = ["x1", "x2", "y1", "y2", "stroke"], hs = ["x", "y", "font-size", "fill"], fs = ["width", "x", "y"], gs = { style: { width: "100%" } }, xs = { key: 0 }, ms = ["id"], bs = ["fill"], ys = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ps = ["x", "y", "font-size", "fill"], ks = ["d", "stroke", "stroke-width", "stroke-dasharray"], _s = ["d", "stroke", "stroke-width", "stroke-dasharray"], ws = { key: 6 }, Ss = { key: 0 }, $s = ["d", "fill"], Ls = ["d", "fill"], As = ["d", "fill"], Ms = ["d", "fill"], zs = ["d", "stroke", "stroke-width", "stroke-dasharray"], Cs = ["d", "stroke", "stroke-width", "stroke-dasharray"], Is = ["width", "x", "y"], Ts = { style: { width: "100%" } }, Os = { key: 3 }, Ns = ["id"], Vs = ["fill"], Ps = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Hs = ["x", "y", "font-size", "fill"], Rs = { key: 7 }, Bs = ["x", "y", "font-size", "fill"], Ys = ["x", "y", "font-size", "fill", "font-weight"], Fs = { key: 8 }, Es = ["x", "y", "font-size", "fill"], Ws = { key: 9 }, Xs = ["x", "y"], Gs = ["innerHTML"], Ds = ["x", "y"], qs = ["innerHTML"], Us = ["x1", "x2", "y1", "y2", "stroke"], Zs = { key: 10 }, Js = ["x", "y", "font-size", "fill"], Ks = { key: 11 }, Qs = ["x", "y"], js = ["innerHTML"], eu = ["x", "y"], lu = ["innerHTML"], au = ["x1", "x2", "y1", "y2", "stroke"], tu = ["x", "y", "font-size", "fill", "innerHTML"], ou = ["x", "y", "font-size", "fill", "innerHTML"], su = ["x", "y", "font-size", "fill", "innerHTML"], uu = ["x", "y", "font-size", "fill", "innerHTML"], ru = ["id"], iu = ["stop-color"], nu = ["stop-color"], cu = ["x", "y", "width", "height", "fill", "onMouseenter"], vu = ["font-size", "fill", "transform"], du = ["x", "y", "font-size", "fill"], hu = ["text-anchor", "font-size", "fill", "transform", "onClick"], fu = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], gu = { key: 14 }, xu = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], mu = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], bu = ["y", "x", "width", "height", "fill"], yu = ["id", "x", "y", "font-size", "fill", "text-anchor"], pu = { key: 15 }, ku = ["x", "y", "height", "width", "onMouseenter", "onClick"], _u = {
|
|
15
15
|
key: 16,
|
|
16
16
|
style: { "pointer-events": "none" }
|
|
17
|
-
},
|
|
17
|
+
}, wu = ["x", "y"], Su = ["cx", "cy", "r", "fill"], $u = {
|
|
18
18
|
key: 4,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
|
-
},
|
|
20
|
+
}, Lu = {
|
|
21
21
|
class: "vue-ui-xy-tag-arrow",
|
|
22
22
|
height: "20",
|
|
23
23
|
viewBox: "0 0 10 20",
|
|
24
24
|
style: { position: "absolute", right: "100%", top: "50%", transform: "translateY(-50%)" }
|
|
25
|
-
},
|
|
25
|
+
}, Au = ["fill"], Mu = ["innerHTML"], zu = {
|
|
26
26
|
class: "vue-ui-xy-tag-arrow",
|
|
27
27
|
height: "100%",
|
|
28
28
|
viewBox: "0 0 10 20",
|
|
29
29
|
style: { position: "absolute", left: "100%", top: "50%", transform: "translateY(-50%)" }
|
|
30
|
-
},
|
|
30
|
+
}, Cu = ["fill"], Iu = ["innerHTML"], Tu = {
|
|
31
31
|
class: "vue-ui-xy-tag-arrow",
|
|
32
32
|
height: "20",
|
|
33
33
|
viewBox: "0 0 10 20",
|
|
34
34
|
style: { position: "absolute", right: "100%", top: "50%", transform: "translateY(-50%)" }
|
|
35
|
-
},
|
|
35
|
+
}, Ou = ["fill"], Nu = ["innerHTML"], Vu = {
|
|
36
36
|
class: "vue-ui-xy-tag-arrow",
|
|
37
37
|
height: "100%",
|
|
38
38
|
viewBox: "0 0 10 20",
|
|
39
39
|
style: { position: "absolute", left: "100%", top: "50%", transform: "translateY(-50%)" }
|
|
40
|
-
},
|
|
40
|
+
}, Pu = ["fill"], Hu = ["innerHTML"], Ru = ["onClick"], Bu = {
|
|
41
41
|
key: 0,
|
|
42
42
|
viewBox: "0 0 20 12",
|
|
43
43
|
height: "14",
|
|
44
44
|
width: "20"
|
|
45
|
-
},
|
|
45
|
+
}, Yu = ["stroke", "fill"], Fu = {
|
|
46
46
|
key: 1,
|
|
47
47
|
viewBox: "0 0 40 40",
|
|
48
48
|
height: "14",
|
|
49
49
|
width: "14"
|
|
50
|
-
},
|
|
50
|
+
}, Eu = ["fill"], Wu = ["fill"], Xu = {
|
|
51
51
|
key: 2,
|
|
52
52
|
viewBox: "0 0 12 12",
|
|
53
53
|
height: "14",
|
|
54
54
|
width: "14"
|
|
55
|
-
},
|
|
55
|
+
}, Gu = {
|
|
56
56
|
style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
|
|
57
57
|
"data-dom-to-png-ignore": ""
|
|
58
|
-
},
|
|
58
|
+
}, Du = ["innerHTML"], qu = {
|
|
59
59
|
__name: "vue-ui-xy",
|
|
60
60
|
props: {
|
|
61
61
|
config: {
|
|
@@ -72,11 +72,11 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
emits: ["selectTimeLabel", "selectX", "selectLegend"],
|
|
75
|
-
setup(Tl, { expose:
|
|
76
|
-
const b = Tl,
|
|
75
|
+
setup(Tl, { expose: Za, emit: Ja }) {
|
|
76
|
+
const b = Tl, Ka = Be(() => import("./DataTable-D7Ct2h1S.js")), Qa = Be(() => import("./Tooltip-BnaJbAmp.js")), ja = Be(() => import("./UserOptions-DZrUfiXa.js")), et = Be(() => import("./BaseIcon-i3a6zJKB.js")), lt = Be(() => import("./vue-ui-table-sparkline-CXokZ0uo.js")), at = Be(() => import("./vue-ui-accordion-Q_neIGH3.js")), tt = Be(() => import("./PackageVersion-BzyJxnE0.js")), ot = Be(() => import("./PenAndPaper-CIzQgqn2.js")), Ol = Ja, ta = Nt(), st = Vt(), { vue_ui_xy: Nl } = Et(), je = w(null), sl = w(null), Se = w(null), el = w(null), ul = w(null), rl = w(null), ut = w(null), Vl = w(null), Pl = w(null), ll = w(null), Hl = w(null), We = w(null), Rl = w(null), Bl = w(0), M = w(null), oa = w(!0), ve = w(600), ae = w(1e3), yl = w("0 0 1000 600"), rt = w({ x: 0, y: 0 }), il = w({ line: "line", bar: "bar", plot: "plot" }), pl = w(!1), al = w(!1), sa = w(!1), k = w(null), Xe = w(null), te = w([]), U = w(ea()), ua = w(0), ra = w(0), ia = w(0), nl = w(!0), Yl = w(0), O = w(null), na = w(!1), Fl = w(!0), kl = w(!0), me = w(null), Ce = w({}), _l = w(null), it = $(() => ({
|
|
77
77
|
height: ve.value,
|
|
78
78
|
width: ae.value
|
|
79
|
-
})),
|
|
79
|
+
})), nt = b.config.downsample && b.config.downsample.threshold ? b.config.downsample.threshold : 500, f = w({
|
|
80
80
|
dataLabels: { show: !0 },
|
|
81
81
|
showTooltip: !0,
|
|
82
82
|
showTable: !1,
|
|
@@ -88,7 +88,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
88
88
|
dataLabels: 20,
|
|
89
89
|
plotLabels: 10
|
|
90
90
|
}), $e = w({ plot: 3, line: 3 });
|
|
91
|
-
|
|
91
|
+
Ba(() => {
|
|
92
92
|
b.dataset.length && b.dataset.forEach((a, c) => {
|
|
93
93
|
[null, void 0].includes(a.series) && la({
|
|
94
94
|
componentName: "VueUiXy",
|
|
@@ -111,10 +111,10 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
111
111
|
userConfig: c
|
|
112
112
|
})) : a.chart.annotations = [], b.config && Ne(b.config, "chart.grid.position") && b.config.chart.grid.position === "start" && b.dataset.length && b.dataset.some((c) => c.type === "bar") && (a.chart.grid.position = "middle", Ne(b.config, "debug") && console.warn("Vue Data UI - VueUiXy - config.chart.grid.position was overriden to `middle` because your dataset contains a bar")), b.config && Ne(b.config, "chart.grid.labels.yAxis.serieNameFormatter") ? a.chart.grid.labels.yAxis.serieNameFormatter = b.config.chart.grid.labels.yAxis.serieNameFormatter : a.chart.grid.labels.yAxis.serieNameFormatter = null, a.theme ? {
|
|
113
113
|
...aa({
|
|
114
|
-
userConfig:
|
|
114
|
+
userConfig: eo.vue_ui_xy[a.theme] || b.config,
|
|
115
115
|
defaultConfig: a
|
|
116
116
|
}),
|
|
117
|
-
customPalette:
|
|
117
|
+
customPalette: jt[a.theme] || b.palette
|
|
118
118
|
} : a;
|
|
119
119
|
}
|
|
120
120
|
const Wl = $({
|
|
@@ -124,8 +124,8 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
124
124
|
set(a) {
|
|
125
125
|
return a;
|
|
126
126
|
}
|
|
127
|
-
}), l = w(El()), { loading: Xl, FINAL_DATASET: be, manualLoading: wl } =
|
|
128
|
-
...
|
|
127
|
+
}), l = w(El()), { loading: Xl, FINAL_DATASET: be, manualLoading: wl } = no({
|
|
128
|
+
...Pt(b),
|
|
129
129
|
FINAL_CONFIG: l,
|
|
130
130
|
prepareConfig: El,
|
|
131
131
|
callback: () => {
|
|
@@ -148,7 +148,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
148
148
|
color: "#CACACA"
|
|
149
149
|
}
|
|
150
150
|
],
|
|
151
|
-
skeletonConfig:
|
|
151
|
+
skeletonConfig: Wt({
|
|
152
152
|
defaultConfig: l.value,
|
|
153
153
|
userConfig: {
|
|
154
154
|
useCssAnimation: !1,
|
|
@@ -207,13 +207,13 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
207
207
|
}
|
|
208
208
|
})
|
|
209
209
|
}), Ve = $({
|
|
210
|
-
get: () => Math.max(...be.value.map((a) => Ye({ data: a.series, threshold:
|
|
210
|
+
get: () => Math.max(...be.value.map((a) => Ye({ data: a.series, threshold: nt }).length)),
|
|
211
211
|
set: (a) => a
|
|
212
|
-
}), S = w({ start: 0, end: Ve.value }), { isPrinting: Gl, isImaging: ca, generatePdf: va, generateImage: da } =
|
|
212
|
+
}), S = w({ start: 0, end: Ve.value }), { isPrinting: Gl, isImaging: ca, generatePdf: va, generateImage: da } = io({
|
|
213
213
|
elementId: `vue-ui-xy_${U.value}`,
|
|
214
214
|
fileName: l.value.chart.title.text || "vue-ui-xy",
|
|
215
215
|
options: l.value.chart.userOptions.print
|
|
216
|
-
}),
|
|
216
|
+
}), ct = w(!1), ha = $(() => Xt(l.value.customPalette)), Sl = $(() => l.value.chart.grid.labels.yAxis.scaleMax ? l.value.chart.grid.labels.yAxis.scaleMax : Math.max(...Ie.value.filter((a) => !te.value.includes(a.id)).map((a) => Math.max(...a.series)))), Dl = $(() => {
|
|
217
217
|
if (l.value.chart.grid.labels.yAxis.scaleMin !== null)
|
|
218
218
|
return l.value.chart.grid.labels.yAxis.scaleMin;
|
|
219
219
|
const a = Math.min(...Ie.value.filter((c) => !te.value.includes(c.id)).map((c) => Math.min(...c.series)));
|
|
@@ -227,7 +227,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
227
227
|
...a,
|
|
228
228
|
slotAbsoluteIndex: c,
|
|
229
229
|
series: e.map((t) => zl(t) ? t : null).slice(S.value.start, S.value.end),
|
|
230
|
-
color:
|
|
230
|
+
color: Gt(a.color ? a.color : ha.value[c] ? ha.value[c] : Dt[c]),
|
|
231
231
|
id: s,
|
|
232
232
|
scaleLabel: a.scaleLabel || s
|
|
233
233
|
};
|
|
@@ -243,7 +243,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
243
243
|
series: a.series.map((e) => e + cl.value),
|
|
244
244
|
absoluteValues: a.series
|
|
245
245
|
})).filter((a) => !te.value.includes(a.id)));
|
|
246
|
-
function
|
|
246
|
+
function vt() {
|
|
247
247
|
let a = 0;
|
|
248
248
|
Hl.value && (a = Array.from(Hl.value.querySelectorAll("text")).reduce((t, r) => {
|
|
249
249
|
const o = r.getComputedTextLength();
|
|
@@ -252,17 +252,17 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
252
252
|
const c = Pl.value ? Pl.value.getBoundingClientRect().width + l.value.chart.grid.labels.axis.yLabelOffsetX + x.value.yAxis : 0, e = l.value.chart.grid.labels.yAxis.crosshairSize;
|
|
253
253
|
return a + c + e;
|
|
254
254
|
}
|
|
255
|
-
const ql = w(0),
|
|
255
|
+
const ql = w(0), dt = vo((a) => {
|
|
256
256
|
ql.value = a;
|
|
257
257
|
}, 100);
|
|
258
|
-
|
|
258
|
+
Ht((a) => {
|
|
259
259
|
const c = ll.value;
|
|
260
260
|
if (!c) return;
|
|
261
261
|
const e = new ResizeObserver((s) => {
|
|
262
|
-
|
|
262
|
+
dt(s[0].contentRect.height);
|
|
263
263
|
});
|
|
264
264
|
e.observe(c), a(() => e.disconnect());
|
|
265
|
-
}),
|
|
265
|
+
}), Ya(() => {
|
|
266
266
|
ql.value = 0;
|
|
267
267
|
});
|
|
268
268
|
const fa = $(() => {
|
|
@@ -270,11 +270,11 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
270
270
|
Vl.value && (a = Vl.value.getBBox().height);
|
|
271
271
|
let c = 0;
|
|
272
272
|
return ll.value && (c = ql.value), a + c + x.value.xAxis;
|
|
273
|
-
}),
|
|
273
|
+
}), ht = $(() => be.value.some((a) => a.useProgression)), n = $(() => {
|
|
274
274
|
let a = 0;
|
|
275
275
|
const c = 36;
|
|
276
|
-
l.value.chart.grid.labels.show && (f.value.useIndividualScale && !f.value.isStacked ? a = (be.value.length - te.value.length) * (l.value.chart.grid.labels.yAxis.labelWidth + c) : f.value.useIndividualScale && f.value.isStacked ? a = l.value.chart.grid.labels.yAxis.labelWidth + c : a =
|
|
277
|
-
const e = l.value.chart.labels.fontSize * 1.1, s =
|
|
276
|
+
l.value.chart.grid.labels.show && (f.value.useIndividualScale && !f.value.isStacked ? a = (be.value.length - te.value.length) * (l.value.chart.grid.labels.yAxis.labelWidth + c) : f.value.useIndividualScale && f.value.isStacked ? a = l.value.chart.grid.labels.yAxis.labelWidth + c : a = vt());
|
|
277
|
+
const e = l.value.chart.labels.fontSize * 1.1, s = ht.value ? 24 : 6;
|
|
278
278
|
if (ll.value) {
|
|
279
279
|
const o = ll.value.getBBox().x;
|
|
280
280
|
o < 0 && (a += Math.abs(o));
|
|
@@ -290,13 +290,13 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
290
290
|
scaleLabelX: a,
|
|
291
291
|
individualOffsetX: c
|
|
292
292
|
};
|
|
293
|
-
}),
|
|
293
|
+
}), ft = $(() => {
|
|
294
294
|
const a = l.value.chart.grid.position === "middle" ? 1 : 0, c = m.value + a, e = R(n.value.top), s = R(n.value.bottom);
|
|
295
295
|
return Array.from({ length: c }).map((t, r) => {
|
|
296
296
|
const o = n.value.width / m.value * r + n.value.left + G.value;
|
|
297
297
|
return `M${o},${e} L${o},${s}`;
|
|
298
298
|
}).join(" ");
|
|
299
|
-
}),
|
|
299
|
+
}), gt = $(() => {
|
|
300
300
|
if (!l.value.chart.grid.labels.xAxis.showCrosshairs)
|
|
301
301
|
return "";
|
|
302
302
|
const {
|
|
@@ -314,9 +314,9 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
314
314
|
}).filter((r) => r !== null).join(" ");
|
|
315
315
|
});
|
|
316
316
|
function ga() {
|
|
317
|
-
return !!
|
|
317
|
+
return !!st?.vnode.props?.onSelectTimeLabel;
|
|
318
318
|
}
|
|
319
|
-
function
|
|
319
|
+
function xt(a, c, e) {
|
|
320
320
|
if (!_l.value) {
|
|
321
321
|
const s = document.createElement("canvas");
|
|
322
322
|
_l.value = s.getContext("2d");
|
|
@@ -339,7 +339,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
339
339
|
}
|
|
340
340
|
const le = $(() => {
|
|
341
341
|
const a = Math.max(...be.value.map((c) => Ye({ data: c.series, threshold: l.value.downsample.threshold }).length));
|
|
342
|
-
return
|
|
342
|
+
return to({
|
|
343
343
|
values: l.value.chart.grid.labels.xAxisLabels.values,
|
|
344
344
|
maxDatapoints: a,
|
|
345
345
|
formatter: l.value.chart.grid.labels.xAxisLabels.datetimeFormatter,
|
|
@@ -368,7 +368,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
368
368
|
});
|
|
369
369
|
}
|
|
370
370
|
const m = $(() => S.value.end - S.value.start);
|
|
371
|
-
function
|
|
371
|
+
function mt(a) {
|
|
372
372
|
O.value = a;
|
|
373
373
|
}
|
|
374
374
|
function ya() {
|
|
@@ -377,23 +377,23 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
377
377
|
function Jl(a) {
|
|
378
378
|
hl.value && a.autoScaling && (l.value.chart.grid.labels.yAxis.useIndividualScale || console.warn(`VueUiXy (datapoint: ${a.name}) : autoScaling only works when config.chart.grid.labels.yAxis.useIndividualScale is set to true`), l.value.chart.grid.labels.yAxis.stacked || console.warn(`VueUiXy (datapoint: ${a.name}) : autoScaling only works when config.chart.grid.labels.yAxis.stacked is set to true`));
|
|
379
379
|
}
|
|
380
|
-
function
|
|
380
|
+
function bt(a, c) {
|
|
381
381
|
let e = Array(a).fill(0);
|
|
382
382
|
for (let s = 0; s < c.length && s < a; s += 1)
|
|
383
383
|
e[s] = c[s];
|
|
384
384
|
return e;
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function yt(a) {
|
|
387
387
|
const c = Math.max(...be.value.map((e) => Ye({ data: e.series, threshold: l.value.downsample.threshold }).length));
|
|
388
388
|
return a > c ? c : a < 0 || l.value.chart.zoom.startIndex !== null && a < l.value.chart.zoom.startIndex ? l.value.chart.zoom.startIndex !== null ? l.value.chart.zoom.startIndex + 1 : 1 : a;
|
|
389
389
|
}
|
|
390
390
|
async function Kl() {
|
|
391
|
-
(l.value.chart.zoom.startIndex !== null || l.value.chart.zoom.endIndex !== null) && Se.value ? (l.value.chart.zoom.startIndex !== null && (await ml(), await ml(), Se.value.setStartValue(l.value.chart.zoom.startIndex)), l.value.chart.zoom.endIndex !== null && (await ml(), await ml(), Se.value.setEndValue(
|
|
391
|
+
(l.value.chart.zoom.startIndex !== null || l.value.chart.zoom.endIndex !== null) && Se.value ? (l.value.chart.zoom.startIndex !== null && (await ml(), await ml(), Se.value.setStartValue(l.value.chart.zoom.startIndex)), l.value.chart.zoom.endIndex !== null && (await ml(), await ml(), Se.value.setEndValue(yt(l.value.chart.zoom.endIndex + 1)))) : (S.value = {
|
|
392
392
|
start: 0,
|
|
393
393
|
end: Math.max(...be.value.map((a) => Ye({ data: a.series, threshold: l.value.downsample.threshold }).length))
|
|
394
394
|
}, Bl.value += 1);
|
|
395
395
|
}
|
|
396
|
-
function
|
|
396
|
+
function pt() {
|
|
397
397
|
Kl();
|
|
398
398
|
}
|
|
399
399
|
function fe(a) {
|
|
@@ -428,7 +428,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
428
428
|
function Sa(a) {
|
|
429
429
|
return a.value >= 0 ? a.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(a.zeroPosition) ? 0 : a.zeroPosition;
|
|
430
430
|
}
|
|
431
|
-
function
|
|
431
|
+
function kt(a) {
|
|
432
432
|
Ol(
|
|
433
433
|
"selectX",
|
|
434
434
|
{
|
|
@@ -443,7 +443,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
443
443
|
}
|
|
444
444
|
);
|
|
445
445
|
}
|
|
446
|
-
function
|
|
446
|
+
function _t() {
|
|
447
447
|
return Te.value.map((a) => ({
|
|
448
448
|
values: a.absoluteValues,
|
|
449
449
|
color: a.color,
|
|
@@ -451,9 +451,9 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
451
451
|
type: a.type
|
|
452
452
|
}));
|
|
453
453
|
}
|
|
454
|
-
async function
|
|
454
|
+
async function wt({ scale: a = 2 } = {}) {
|
|
455
455
|
if (!je.value) return;
|
|
456
|
-
const { width: c, height: e } = je.value.getBoundingClientRect(), s = c / e, { imageUri: t, base64: r } = await
|
|
456
|
+
const { width: c, height: e } = je.value.getBoundingClientRect(), s = c / e, { imageUri: t, base64: r } = await ro({ domElement: je.value, base64: !0, img: !0, scale: a });
|
|
457
457
|
return {
|
|
458
458
|
imageUri: t,
|
|
459
459
|
base64: r,
|
|
@@ -477,12 +477,12 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
477
477
|
type: c.type
|
|
478
478
|
}))), Yl.value += 1;
|
|
479
479
|
}
|
|
480
|
-
const
|
|
480
|
+
const St = $(() => {
|
|
481
481
|
const a = l.value.chart.title.text || "Chart visualization", c = l.value.chart.title.subtitle.text || "";
|
|
482
482
|
return `${a}. ${c}`;
|
|
483
483
|
}), La = $(() => ({
|
|
484
484
|
linePlot: m.value > l.value.line.dot.hideAboveMaxSerieLength
|
|
485
|
-
})),
|
|
485
|
+
})), $t = $(() => l.value.chart.userOptions.show && (!l.value.chart.title.show || !l.value.chart.title.text)), Lt = $(() => {
|
|
486
486
|
if (Array.isArray(l.value.chart.highlightArea))
|
|
487
487
|
return l.value.chart.highlightArea.map((c) => {
|
|
488
488
|
const e = Math.min(c.to, Ve.value - 1);
|
|
@@ -496,22 +496,22 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
496
496
|
to: Math.min(l.value.chart.highlightArea.to, Ve.value - 1)
|
|
497
497
|
};
|
|
498
498
|
return [{ ...a, span: a.from === a.to ? 1 : a.to < a.from ? 0 : a.to - a.from + 1 }];
|
|
499
|
-
}),
|
|
499
|
+
}), At = $(() => oa.value ? be.value.map((a, c) => ({
|
|
500
500
|
...a,
|
|
501
501
|
series: Ye({
|
|
502
502
|
data: a.series,
|
|
503
503
|
threshold: l.value.downsample.threshold
|
|
504
504
|
}),
|
|
505
505
|
id: `uniqueId_${c}`
|
|
506
|
-
})) : be.value),
|
|
506
|
+
})) : be.value), Mt = $(() => pe.value.map((a) => {
|
|
507
507
|
const c = a.absoluteValues.map((e) => [void 0, null].includes(e) ? 0 : e);
|
|
508
508
|
return {
|
|
509
509
|
id: a.id,
|
|
510
510
|
name: a.name,
|
|
511
511
|
color: a.color,
|
|
512
|
-
values:
|
|
512
|
+
values: bt(m.value, c)
|
|
513
513
|
};
|
|
514
|
-
})),
|
|
514
|
+
})), zt = $(() => ({
|
|
515
515
|
responsiveBreakpoint: l.value.table.responsiveBreakpoint,
|
|
516
516
|
roundingValues: l.value.table.rounding,
|
|
517
517
|
showAverage: !1,
|
|
@@ -534,7 +534,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
534
534
|
userOptions: {
|
|
535
535
|
show: !1
|
|
536
536
|
}
|
|
537
|
-
})), G = $(() => l.value.chart.grid.position === "middle" ? 0 : n.value.width / m.value / 2), De = $(() =>
|
|
537
|
+
})), G = $(() => l.value.chart.grid.position === "middle" ? 0 : n.value.width / m.value / 2), De = $(() => qt(Te.value.filter((a) => !te.value.includes(a.id)))), p = $(() => {
|
|
538
538
|
const a = Object.groupBy(De.value, (e) => e.scaleLabel), c = {};
|
|
539
539
|
for (const [e, s] of Object.entries(a)) {
|
|
540
540
|
const t = s.flatMap((r) => r.absoluteValues);
|
|
@@ -545,12 +545,12 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
545
545
|
};
|
|
546
546
|
}
|
|
547
547
|
return c;
|
|
548
|
-
}),
|
|
548
|
+
}), Ct = $(() => {
|
|
549
549
|
const a = Ie.value.filter((c) => c.type === "bar").filter((c) => !te.value.includes(c.id)).length;
|
|
550
550
|
return n.value.width / m.value / a - Oe.value * a;
|
|
551
|
-
}), Oe = $(() => Z.value.line * l.value.bar.periodGap),
|
|
551
|
+
}), Oe = $(() => Z.value.line * l.value.bar.periodGap), It = $(() => {
|
|
552
552
|
if (!l.value.chart.zoom.minimap.show) return [];
|
|
553
|
-
const a =
|
|
553
|
+
const a = At.value.filter((t) => !te.value.includes(t.id)), c = Math.max(...a.map((t) => t.series.length)), e = [];
|
|
554
554
|
for (let t = 0; t < c; t += 1)
|
|
555
555
|
e.push(a.map((r) => r.series[t] || 0).reduce((r, o) => (r || 0) + (o || 0), 0));
|
|
556
556
|
const s = Math.min(...e);
|
|
@@ -582,7 +582,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
582
582
|
return t - C * r;
|
|
583
583
|
};
|
|
584
584
|
return c.map((L) => {
|
|
585
|
-
const { yAxis: { yTop: C, yBottom: Y, label: _ } } = L, N = C != null && Y != null && C !== Y, A = C == null ? null : E(C), J = Y == null ? null : E(Y), oe =
|
|
585
|
+
const { yAxis: { yTop: C, yBottom: Y, label: _ } } = L, N = C != null && Y != null && C !== Y, A = C == null ? null : E(C), J = Y == null ? null : E(Y), oe = xt(_.fontSize);
|
|
586
586
|
oe.font = `${_.fontSize}px sans-serif`;
|
|
587
587
|
const D = oe.measureText(_.text).width, ge = _.fontSize, Ae = (_.position === "start" ? e + _.padding.left : s - _.padding.right) + _.offsetX, de = (A != null && J != null ? Math.min(A, J) : A ?? J) - _.fontSize / 3 + _.offsetY - _.padding.top;
|
|
588
588
|
let P;
|
|
@@ -625,7 +625,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
625
625
|
max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
|
|
626
626
|
min: o.scaleMin || Math.min(...o.absoluteValues.filter((V) => ![void 0, null].includes(V))) > 0 ? 0 : Math.min(...o.absoluteValues.filter((V) => ![null, void 0].includes(V)))
|
|
627
627
|
}, Y = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, N = l.value.chart.grid.labels.yAxis.useNiceScale ? bl(C.min, C.max === C.min ? C.max * _ : C.max, Y) : Ke(C.min, C.max === C.min ? C.max * _ : C.max, Y), A = l.value.chart.grid.labels.yAxis.useNiceScale ? bl(L.valueMin, L.valueMax === L.valueMin ? L.valueMax * _ : L.valueMax, Y) : Ke(L.valueMin, L.valueMax === L.valueMin ? L.valueMax * _ : L.valueMax, Y), J = N.min >= 0 ? 0 : Math.abs(N.min), oe = 0, D = N.max + J, ge = A.max + Math.abs(oe), Ae = o.stackIndex, tl = c - 1 - Ae, de = s ? 1 - o.cumulatedStackRatio : 0, P = s ? r * de + e * tl : 0, H = s ? r * o.stackRatio : n.value.height, K = n.value.bottom - P - H * J / D, he = n.value.bottom - P - H * oe / ge, ne = Te.value.filter((V) => V.type === "bar").filter((V) => !te.value.includes(V.id)).length, fl = o.series.map((V, j) => {
|
|
628
|
-
const Re = f.value.useIndividualScale ? (o.absoluteValues[j] + J) / D : Ge(V), qe = f.value.useIndividualScale && f.value.isStacked ? n.value.left + n.value.width / m.value * j : n.value.left + Z.value.bar * B + Z.value.bar * j * ne -
|
|
628
|
+
const Re = f.value.useIndividualScale ? (o.absoluteValues[j] + J) / D : Ge(V), qe = f.value.useIndividualScale && f.value.isStacked ? n.value.left + n.value.width / m.value * j : n.value.left + Z.value.bar * B + Z.value.bar * j * ne - Ct.value / 2 - B * Oe.value;
|
|
629
629
|
return {
|
|
630
630
|
yOffset: T(P),
|
|
631
631
|
individualHeight: T(H),
|
|
@@ -690,10 +690,10 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
690
690
|
max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
|
|
691
691
|
min: o.scaleMin || (Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues))
|
|
692
692
|
}, Y = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, N = l.value.chart.grid.labels.yAxis.useNiceScale ? bl(C.min, C.max === C.min ? C.max * _ : C.max, Y) : Ke(C.min, C.max === C.min ? C.max * _ : C.max, Y), A = l.value.chart.grid.labels.yAxis.useNiceScale ? bl(L.valueMin, L.valueMax === L.valueMin ? L.valueMax * _ : L.valueMax, Y) : Ke(L.valueMin, L.valueMax === L.valueMin ? L.valueMax * _ : L.valueMax, Y), J = N.min >= 0 ? 0 : Math.abs(N.min), oe = 0, D = N.max + Math.abs(J), ge = A.max + Math.abs(oe), Ae = o.stackIndex, tl = c - 1 - Ae, de = s ? 1 - o.cumulatedStackRatio : 0, P = s ? r * de + e * tl : 0, H = s ? r * o.stackRatio : n.value.height, K = n.value.bottom - P - H * J / D, he = n.value.bottom - P - H * oe / ge, ne = o.series.map((I, se) => {
|
|
693
|
-
const
|
|
693
|
+
const Ot = f.value.useIndividualScale ? (o.absoluteValues[se] + Math.abs(J)) / D : Ge(I);
|
|
694
694
|
return {
|
|
695
695
|
x: T(n.value.left + Z.value.line / 2 + Z.value.line * se),
|
|
696
|
-
y: T(n.value.bottom - P - H *
|
|
696
|
+
y: T(n.value.bottom - P - H * Ot),
|
|
697
697
|
value: o.absoluteValues[se],
|
|
698
698
|
comment: o.comments && o.comments.slice(S.value.start, S.value.end)[se] || ""
|
|
699
699
|
};
|
|
@@ -707,7 +707,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
707
707
|
y: T(n.value.bottom - P - (H * fl[se] || 0)),
|
|
708
708
|
value: o.absoluteValues[se],
|
|
709
709
|
comment: o.comments && o.comments.slice(S.value.start, S.value.end)[se] || ""
|
|
710
|
-
}), He = l.value.line.cutNullValues ?
|
|
710
|
+
}), He = l.value.line.cutNullValues ? Fa(ne) : Ea(ne.filter((I) => I.value !== null)), W = l.value.line.cutNullValues ? Fa(ce) : Ea(ce.filter((I) => I.value !== null)), Q = l.value.line.cutNullValues ? Wa(ne) : Xa(ne.filter((I) => I.value !== null)), V = l.value.line.cutNullValues ? Wa(ce) : Xa(ce.filter((I) => I.value !== null)), j = N.ticks.map((I) => ({
|
|
711
711
|
y: I >= 0 ? K - H * (I / D) : K + H * Math.abs(I) / D,
|
|
712
712
|
value: I,
|
|
713
713
|
prefix: o.prefix || l.value.chart.labels.prefix,
|
|
@@ -736,14 +736,14 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
736
736
|
zeroPosition: o.autoScaling ? he : K,
|
|
737
737
|
curve: o.autoScaling ? W : He,
|
|
738
738
|
plots: o.autoScaling ? ce : ne,
|
|
739
|
-
area: o.useArea ? f.value.useIndividualScale ? l.value.line.cutNullValues ?
|
|
739
|
+
area: o.useArea ? f.value.useIndividualScale ? l.value.line.cutNullValues ? Ga(
|
|
740
740
|
o.autoScaling ? ce : ne,
|
|
741
741
|
gl
|
|
742
|
-
) :
|
|
742
|
+
) : Da(
|
|
743
743
|
o.autoScaling ? ce.filter((I) => I.value !== null) : ne.filter((I) => I.value !== null),
|
|
744
744
|
gl
|
|
745
|
-
) : l.value.line.cutNullValues ?
|
|
746
|
-
curveAreas: o.useArea ?
|
|
745
|
+
) : l.value.line.cutNullValues ? Ga(ne, gl) : Da(ne.filter((I) => I.value !== null), gl) : "",
|
|
746
|
+
curveAreas: o.useArea ? Ut(
|
|
747
747
|
o.autoScaling ? l.value.line.cutNullValues ? ce : ce.filter((I) => I.value !== null) : l.value.line.cutNullValues ? ne : ne.filter((I) => I.value !== null),
|
|
748
748
|
gl,
|
|
749
749
|
l.value.line.cutNullValues
|
|
@@ -877,10 +877,10 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
877
877
|
lines: _e.value,
|
|
878
878
|
plots: Le.value,
|
|
879
879
|
config: l.value
|
|
880
|
-
})),
|
|
880
|
+
})), Tt = $(() => {
|
|
881
881
|
let a = "", c = vl.value.map((t) => t.value).filter((t) => zl(t) && t !== null).reduce((t, r) => Math.abs(t) + Math.abs(r), 0);
|
|
882
882
|
const e = le.value[k.value], s = l.value.chart.tooltip.customFormat;
|
|
883
|
-
return
|
|
883
|
+
return Zt(s) && Jt(() => s({
|
|
884
884
|
absoluteIndex: k.value + S.value.start,
|
|
885
885
|
seriesIndex: k.value,
|
|
886
886
|
datapoint: vl.value,
|
|
@@ -906,7 +906,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
906
906
|
r = `<svg viewBox="0 0 40 40" height="14" width="14">${ta.pattern ? `<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${t.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${ta.pattern ? `url(#pattern_${U.value}_${t.slotAbsoluteIndex}` : t.color}" /></svg>`;
|
|
907
907
|
break;
|
|
908
908
|
case "line":
|
|
909
|
-
!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ? o = `<circle cx="10" cy="8" r="4" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" />` : t.shape === "triangle" ? o = `<path d="${ze({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "square" ? o = `<path d="${ze({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "diamond" ? o = `<path d="${ze({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "pentagon" ? o = `<path d="${ze({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "hexagon" ? o = `<path d="${ze({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "star" && (o = `<polygon stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" points="${
|
|
909
|
+
!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ? o = `<circle cx="10" cy="8" r="4" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" />` : t.shape === "triangle" ? o = `<path d="${ze({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "square" ? o = `<path d="${ze({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "diamond" ? o = `<path d="${ze({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "pentagon" ? o = `<path d="${ze({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "hexagon" ? o = `<path d="${ze({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "star" && (o = `<polygon stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" points="${qa({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), r = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${t.color}" />${o}</svg>`;
|
|
910
910
|
break;
|
|
911
911
|
case "plot":
|
|
912
912
|
if (!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape)) {
|
|
@@ -914,7 +914,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
914
914
|
break;
|
|
915
915
|
}
|
|
916
916
|
if (t.shape === "star") {
|
|
917
|
-
r = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" points="${
|
|
917
|
+
r = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${l.value.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" points="${qa({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
|
|
918
918
|
break;
|
|
919
919
|
}
|
|
920
920
|
if (t.shape === "triangle") {
|
|
@@ -955,8 +955,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
955
955
|
})})` : ""}</div>`, l.value.chart.comments.showInTooltip && t.comments.length && t.comments.slice(S.value.start, S.value.end)[k.value] && (a += `<div class="vue-data-ui-tooltip-comment" style="background:${t.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${t.color}">${t.comments.slice(S.value.start, S.value.end)[k.value]}</div>`);
|
|
956
956
|
}
|
|
957
957
|
}), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${l.value.chart.tooltip.color}">${a}</div>`);
|
|
958
|
-
})
|
|
959
|
-
$(() => {
|
|
958
|
+
}), Ca = $(() => {
|
|
960
959
|
if (Ie.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
|
|
961
960
|
const a = pe.value.map((e) => ({
|
|
962
961
|
label: e.name,
|
|
@@ -969,8 +968,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
969
968
|
t.push(fe(r.absoluteValues[s]) ? Number(r.absoluteValues[s].toFixed(l.value.table.rounding)) : "");
|
|
970
969
|
}), c.push(t);
|
|
971
970
|
}), { head: a, body: c };
|
|
972
|
-
})
|
|
973
|
-
const Ml = $(() => {
|
|
971
|
+
}), Ml = $(() => {
|
|
974
972
|
const a = l.value.table.showSum;
|
|
975
973
|
let c = [""].concat(pe.value.map((r) => r.name));
|
|
976
974
|
a && (c = c.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>'));
|
|
@@ -1009,26 +1007,26 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1009
1007
|
}, t = [l.value.table.columnNames.period].concat(pe.value.map((r) => r.name)).concat(l.value.table.columnNames.total);
|
|
1010
1008
|
return { head: c, body: e, config: s, colNames: t };
|
|
1011
1009
|
});
|
|
1012
|
-
function
|
|
1013
|
-
const c = [[l.value.chart.title.text], [l.value.chart.title.subtitle.text], [""]], e = ["", ...
|
|
1014
|
-
a ? a(r) :
|
|
1010
|
+
function Ia(a = null) {
|
|
1011
|
+
const c = [[l.value.chart.title.text], [l.value.chart.title.subtitle.text], [""]], e = ["", ...Ca.value.head.map((o) => o.label)], s = Ca.value.body, t = c.concat([e]).concat(s), r = lo(t);
|
|
1012
|
+
a ? a(r) : ao({ csvContent: r, title: l.value.chart.title.text || "vue-ui-xy" });
|
|
1015
1013
|
}
|
|
1016
|
-
function
|
|
1014
|
+
function Ta(a, c = null) {
|
|
1017
1015
|
sa.value = a, a ? k.value = c : k.value = null;
|
|
1018
1016
|
}
|
|
1019
|
-
function
|
|
1017
|
+
function Oa() {
|
|
1020
1018
|
f.value.showTable = !f.value.showTable;
|
|
1021
1019
|
}
|
|
1022
|
-
function
|
|
1020
|
+
function Na() {
|
|
1023
1021
|
f.value.dataLabels.show = !f.value.dataLabels.show;
|
|
1024
1022
|
}
|
|
1025
|
-
function
|
|
1023
|
+
function Va() {
|
|
1026
1024
|
f.value.showTooltip = !f.value.showTooltip;
|
|
1027
1025
|
}
|
|
1028
|
-
function
|
|
1026
|
+
function Pa(a) {
|
|
1029
1027
|
al.value = a, ua.value += 1;
|
|
1030
1028
|
}
|
|
1031
|
-
function
|
|
1029
|
+
function Ha() {
|
|
1032
1030
|
if (!l.value.responsiveProportionalSizing) {
|
|
1033
1031
|
x.value.dataLabels = l.value.chart.grid.labels.fontSize, x.value.yAxis = l.value.chart.grid.labels.axis.fontSize, x.value.xAxis = l.value.chart.grid.labels.xAxisLabels.fontSize, x.value.plotLabels = l.value.chart.labels.fontSize, $e.value.plot = l.value.plot.radius, $e.value.line = l.value.line.radius;
|
|
1034
1032
|
return;
|
|
@@ -1072,8 +1070,8 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1072
1070
|
});
|
|
1073
1071
|
}
|
|
1074
1072
|
const hl = $(() => !!l.value.debug);
|
|
1075
|
-
function
|
|
1076
|
-
|
|
1073
|
+
function Ra() {
|
|
1074
|
+
Ua(b.dataset) ? (la({
|
|
1077
1075
|
componentName: "VueUiXy",
|
|
1078
1076
|
type: "dataset",
|
|
1079
1077
|
debug: hl.value
|
|
@@ -1091,7 +1089,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1091
1089
|
-----> The serie '${c.name}' contains the value '${e}' at index ${s}.
|
|
1092
1090
|
'${e}' was converted to null to allow the chart to display.`);
|
|
1093
1091
|
});
|
|
1094
|
-
}),
|
|
1092
|
+
}), Ua(b.dataset) || (wl.value = l.value.loading), na.value = l.value.chart.userOptions.showOnChartHover, Fl.value = l.value.chart.userOptions.keepStateOnChartLeave, kl.value = !l.value.chart.userOptions.showOnChartHover, f.value = {
|
|
1095
1093
|
dataLabels: {
|
|
1096
1094
|
show: !0
|
|
1097
1095
|
},
|
|
@@ -1114,34 +1112,34 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1114
1112
|
let C = 0;
|
|
1115
1113
|
ul.value && (C = ul.value.getBoundingClientRect().height);
|
|
1116
1114
|
let Y = 0;
|
|
1117
|
-
rl.value && (Y = rl.value.getBoundingClientRect().height), ve.value = s - o - L - F - C - Y - a, ae.value = t, yl.value = `0 0 ${ae.value < 0 ? 10 : ae.value} ${ve.value < 0 ? 10 : ve.value}`,
|
|
1115
|
+
rl.value && (Y = rl.value.getBoundingClientRect().height), ve.value = s - o - L - F - C - Y - a, ae.value = t, yl.value = `0 0 ${ae.value < 0 ? 10 : ae.value} ${ve.value < 0 ? 10 : ve.value}`, Ha();
|
|
1118
1116
|
const _ = new ResizeObserver((N) => {
|
|
1119
1117
|
for (const A of N)
|
|
1120
1118
|
l.value.chart.title.show && sl.value ? o = sl.value.getBoundingClientRect().height : o = 0, Se.value && Se.value.$el ? F = Se.value.$el.getBoundingClientRect().height : F = 0, el.value ? L = el.value.getBoundingClientRect().height : L = 0, ul.value ? C = ul.value.getBoundingClientRect().height : C = 0, rl.value ? Y = rl.value.getBoundingClientRect().height : Y = 0, requestAnimationFrame(() => {
|
|
1121
|
-
ve.value = A.contentRect.height - o - L - F - C - Y - a, ae.value = A.contentBoxSize[0].inlineSize, yl.value = `0 0 ${ae.value < 0 ? 10 : ae.value} ${ve.value < 0 ? 10 : ve.value}`,
|
|
1119
|
+
ve.value = A.contentRect.height - o - L - F - C - Y - a, ae.value = A.contentBoxSize[0].inlineSize, yl.value = `0 0 ${ae.value < 0 ? 10 : ae.value} ${ve.value < 0 ? 10 : ve.value}`, Ha();
|
|
1122
1120
|
});
|
|
1123
1121
|
});
|
|
1124
1122
|
We.value = _, Rl.value = e, _.observe(e);
|
|
1125
1123
|
} else
|
|
1126
1124
|
ve.value = l.value.chart.height, ae.value = l.value.chart.width, x.value.dataLabels = l.value.chart.grid.labels.fontSize, x.value.yAxis = l.value.chart.grid.labels.axis.fontSize, x.value.xAxis = l.value.chart.grid.labels.xAxisLabels.fontSize, x.value.plotLabels = l.value.chart.labels.fontSize, $e.value.plot = l.value.plot.radius, $e.value.line = l.value.line.radius, yl.value = `0 0 ${ae.value} ${ve.value}`;
|
|
1127
1125
|
}
|
|
1128
|
-
return
|
|
1129
|
-
|
|
1130
|
-
|
|
1126
|
+
return Ba(() => {
|
|
1127
|
+
Ra(), Kl(), document.addEventListener("mousemove", (a) => {
|
|
1128
|
+
rt.value = {
|
|
1131
1129
|
x: a.clientX,
|
|
1132
1130
|
y: a.clientY
|
|
1133
1131
|
};
|
|
1134
1132
|
}), document.addEventListener("scroll", xa);
|
|
1135
|
-
}),
|
|
1133
|
+
}), Ya(() => {
|
|
1136
1134
|
document.removeEventListener("scroll", xa), We.value && (We.value.unobserve(Rl.value), We.value.disconnect());
|
|
1137
|
-
}),
|
|
1135
|
+
}), oo({
|
|
1138
1136
|
timeLabelsEls: ll,
|
|
1139
1137
|
timeLabels: le,
|
|
1140
1138
|
slicer: S,
|
|
1141
1139
|
configRef: l,
|
|
1142
1140
|
rotationPath: ["chart", "grid", "labels", "xAxisLabels", "rotation"],
|
|
1143
1141
|
autoRotatePath: ["chart", "grid", "labels", "xAxisLabels", "autoRotate"],
|
|
1144
|
-
isAutoSize:
|
|
1142
|
+
isAutoSize: ct
|
|
1145
1143
|
}), Ql(() => b.dataset, (a) => {
|
|
1146
1144
|
Array.isArray(a) && a.length > 0 && (wl.value = !1), Ve.value = Math.max(...be.value.map((c) => Ye({
|
|
1147
1145
|
data: c.series,
|
|
@@ -1151,7 +1149,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1151
1149
|
end: Ve.value
|
|
1152
1150
|
}, Bl.value += 1, Yl.value += 1;
|
|
1153
1151
|
}, { deep: !0 }), Ql(() => b.config, (a) => {
|
|
1154
|
-
Xl.value || (l.value = El()),
|
|
1152
|
+
Xl.value || (l.value = El()), Ra(), ia.value += 1, ra.value += 1, f.value = {
|
|
1155
1153
|
dataLabels: {
|
|
1156
1154
|
show: !0
|
|
1157
1155
|
},
|
|
@@ -1170,18 +1168,18 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1170
1168
|
isStacked: l.value.chart.grid.labels.yAxis.stacked,
|
|
1171
1169
|
useIndividualScale: l.value.chart.grid.labels.yAxis.useIndividualScale
|
|
1172
1170
|
};
|
|
1173
|
-
}, { immediate: !0 }),
|
|
1174
|
-
getData:
|
|
1175
|
-
getImage:
|
|
1171
|
+
}, { immediate: !0 }), Za({
|
|
1172
|
+
getData: _t,
|
|
1173
|
+
getImage: wt,
|
|
1176
1174
|
generatePdf: va,
|
|
1177
1175
|
generateImage: da,
|
|
1178
|
-
generateCsv:
|
|
1176
|
+
generateCsv: Ia,
|
|
1179
1177
|
toggleStack: ya,
|
|
1180
|
-
toggleTable:
|
|
1181
|
-
toggleLabels:
|
|
1182
|
-
toggleTooltip:
|
|
1178
|
+
toggleTable: Oa,
|
|
1179
|
+
toggleLabels: Na,
|
|
1180
|
+
toggleTooltip: Va,
|
|
1183
1181
|
toggleAnnotator: Zl,
|
|
1184
|
-
toggleFullscreen:
|
|
1182
|
+
toggleFullscreen: Pa
|
|
1185
1183
|
}), (a, c) => (u(), i("div", {
|
|
1186
1184
|
id: `vue-ui-xy_${U.value}`,
|
|
1187
1185
|
class: Ue(`vue-ui-xy ${al.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${l.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
@@ -1191,7 +1189,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1191
1189
|
onMouseenter: c[7] || (c[7] = () => ma(!0)),
|
|
1192
1190
|
onMouseleave: c[8] || (c[8] = () => ma(!1))
|
|
1193
1191
|
}, [
|
|
1194
|
-
l.value.chart.userOptions.buttons.annotator && me.value ? (u(), Me(v(
|
|
1192
|
+
l.value.chart.userOptions.buttons.annotator && me.value ? (u(), Me(v(ot), {
|
|
1195
1193
|
key: 0,
|
|
1196
1194
|
svgRef: me.value,
|
|
1197
1195
|
backgroundColor: l.value.chart.backgroundColor,
|
|
@@ -1199,7 +1197,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1199
1197
|
active: pl.value,
|
|
1200
1198
|
onClose: Zl
|
|
1201
1199
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
|
|
1202
|
-
|
|
1200
|
+
$t.value ? (u(), i("div", {
|
|
1203
1201
|
key: 1,
|
|
1204
1202
|
ref_key: "noTitle",
|
|
1205
1203
|
ref: rl,
|
|
@@ -1213,7 +1211,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1213
1211
|
class: "vue-ui-xy-title",
|
|
1214
1212
|
style: z(`font-family:${l.value.chart.fontFamily}`)
|
|
1215
1213
|
}, [
|
|
1216
|
-
(u(), Me(
|
|
1214
|
+
(u(), Me(uo, {
|
|
1217
1215
|
key: `title_${ia.value}`,
|
|
1218
1216
|
config: {
|
|
1219
1217
|
title: {
|
|
@@ -1227,7 +1225,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1227
1225
|
}
|
|
1228
1226
|
}, null, 8, ["config"]))
|
|
1229
1227
|
], 4)) : d("", !0),
|
|
1230
|
-
l.value.chart.userOptions.show && (Fl.value || kl.value) ? (u(), Me(v(
|
|
1228
|
+
l.value.chart.userOptions.show && (Fl.value || kl.value) ? (u(), Me(v(ja), {
|
|
1231
1229
|
ref: "defails",
|
|
1232
1230
|
key: `user_options_${ua.value}`,
|
|
1233
1231
|
backgroundColor: l.value.chart.backgroundColor,
|
|
@@ -1253,19 +1251,19 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1253
1251
|
isAnnotation: pl.value,
|
|
1254
1252
|
callbacks: l.value.chart.userOptions.callbacks,
|
|
1255
1253
|
printScale: l.value.chart.userOptions.print.scale,
|
|
1256
|
-
onToggleFullscreen:
|
|
1254
|
+
onToggleFullscreen: Pa,
|
|
1257
1255
|
onGeneratePdf: v(va),
|
|
1258
|
-
onGenerateCsv:
|
|
1256
|
+
onGenerateCsv: Ia,
|
|
1259
1257
|
onGenerateImage: v(da),
|
|
1260
|
-
onToggleTable:
|
|
1261
|
-
onToggleLabels:
|
|
1258
|
+
onToggleTable: Oa,
|
|
1259
|
+
onToggleLabels: Na,
|
|
1262
1260
|
onToggleStack: ya,
|
|
1263
|
-
onToggleTooltip:
|
|
1261
|
+
onToggleTooltip: Va,
|
|
1264
1262
|
onToggleAnnotator: Zl,
|
|
1265
1263
|
style: z({
|
|
1266
1264
|
visibility: Fl.value ? kl.value ? "visible" : "hidden" : "visible"
|
|
1267
1265
|
})
|
|
1268
|
-
},
|
|
1266
|
+
}, Rt({ _: 2 }, [
|
|
1269
1267
|
a.$slots.menuIcon ? {
|
|
1270
1268
|
name: "menuIcon",
|
|
1271
1269
|
fn: ue(({ isOpen: e, color: s }) => [
|
|
@@ -1349,17 +1347,17 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1349
1347
|
color: l.value.chart.color,
|
|
1350
1348
|
fontFamily: l.value.chart.fontFamily
|
|
1351
1349
|
}),
|
|
1352
|
-
"aria-label":
|
|
1350
|
+
"aria-label": St.value,
|
|
1353
1351
|
role: "img",
|
|
1354
1352
|
"aria-live": "polite",
|
|
1355
1353
|
preserveAspectRatio: "xMidYMid"
|
|
1356
1354
|
}, [
|
|
1357
1355
|
g("g", {
|
|
1358
1356
|
ref_key: "G",
|
|
1359
|
-
ref:
|
|
1357
|
+
ref: ut,
|
|
1360
1358
|
class: "vue-data-ui-g"
|
|
1361
1359
|
}, [
|
|
1362
|
-
xl(v(
|
|
1360
|
+
xl(v(tt)),
|
|
1363
1361
|
a.$slots["chart-background"] ? (u(), i("foreignObject", {
|
|
1364
1362
|
key: 0,
|
|
1365
1363
|
x: n.value.left + G.value < 0 ? 0 : n.value.left + G.value,
|
|
@@ -1371,9 +1369,9 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1371
1369
|
}
|
|
1372
1370
|
}, [
|
|
1373
1371
|
q(a.$slots, "chart-background", {}, void 0, !0)
|
|
1374
|
-
], 8,
|
|
1375
|
-
m.value > 0 ? (u(), i("g",
|
|
1376
|
-
g("g",
|
|
1372
|
+
], 8, xo)) : d("", !0),
|
|
1373
|
+
m.value > 0 ? (u(), i("g", mo, [
|
|
1374
|
+
g("g", bo, [
|
|
1377
1375
|
l.value.chart.grid.labels.xAxis.showBaseline ? (u(), i("line", {
|
|
1378
1376
|
key: 0,
|
|
1379
1377
|
stroke: l.value.chart.grid.stroke,
|
|
@@ -1384,7 +1382,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1384
1382
|
y2: v(R)(n.value.bottom),
|
|
1385
1383
|
"stroke-linecap": "round",
|
|
1386
1384
|
style: { animation: "none !important" }
|
|
1387
|
-
}, null, 8,
|
|
1385
|
+
}, null, 8, yo)) : d("", !0),
|
|
1388
1386
|
f.value.useIndividualScale ? l.value.chart.grid.showHorizontalLines ? (u(!0), i(h, { key: 2 }, y(dl.value, (e) => (u(), i("g", null, [
|
|
1389
1387
|
e.id === M.value && e.yLabels.length ? (u(!0), i(h, { key: 0 }, y(e.yLabels, (s) => (u(), i("line", {
|
|
1390
1388
|
x1: n.value.left + G.value,
|
|
@@ -1395,7 +1393,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1395
1393
|
"stroke-width": 0.5,
|
|
1396
1394
|
"stroke-linecap": "round",
|
|
1397
1395
|
style: { animation: "none !important" }
|
|
1398
|
-
}, null, 8,
|
|
1396
|
+
}, null, 8, wo))), 256)) : e.yLabels.length ? (u(!0), i(h, { key: 1 }, y(e.yLabels, (s) => (u(), i("line", {
|
|
1399
1397
|
x1: n.value.left + G.value,
|
|
1400
1398
|
x2: n.value.right - G.value,
|
|
1401
1399
|
y1: v(R)(s.y),
|
|
@@ -1404,7 +1402,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1404
1402
|
"stroke-width": 0.5,
|
|
1405
1403
|
"stroke-linecap": "round",
|
|
1406
1404
|
style: { animation: "none !important" }
|
|
1407
|
-
}, null, 8,
|
|
1405
|
+
}, null, 8, So))), 256)) : d("", !0)
|
|
1408
1406
|
]))), 256)) : d("", !0) : (u(), i(h, { key: 1 }, [
|
|
1409
1407
|
l.value.chart.grid.labels.yAxis.showBaseline ? (u(), i("line", {
|
|
1410
1408
|
key: 0,
|
|
@@ -1416,8 +1414,8 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1416
1414
|
y2: v(R)(n.value.bottom),
|
|
1417
1415
|
"stroke-linecap": "round",
|
|
1418
1416
|
style: { animation: "none !important" }
|
|
1419
|
-
}, null, 8,
|
|
1420
|
-
l.value.chart.grid.showHorizontalLines ? (u(), i("g",
|
|
1417
|
+
}, null, 8, po)) : d("", !0),
|
|
1418
|
+
l.value.chart.grid.showHorizontalLines ? (u(), i("g", ko, [
|
|
1421
1419
|
(u(!0), i(h, null, y(Aa.value, (e) => (u(), i("line", {
|
|
1422
1420
|
x1: n.value.left + G.value,
|
|
1423
1421
|
x2: n.value.right,
|
|
@@ -1427,26 +1425,26 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1427
1425
|
"stroke-width": 0.5,
|
|
1428
1426
|
"stroke-linecap": "round",
|
|
1429
1427
|
style: { animation: "none !important" }
|
|
1430
|
-
}, null, 8,
|
|
1428
|
+
}, null, 8, _o))), 256))
|
|
1431
1429
|
])) : d("", !0)
|
|
1432
1430
|
], 64)),
|
|
1433
|
-
l.value.chart.grid.showVerticalLines ? (u(), i("g",
|
|
1431
|
+
l.value.chart.grid.showVerticalLines ? (u(), i("g", $o, [
|
|
1434
1432
|
g("path", {
|
|
1435
|
-
d:
|
|
1433
|
+
d: ft.value,
|
|
1436
1434
|
"stroke-width": 0.5,
|
|
1437
1435
|
stroke: l.value.chart.grid.stroke,
|
|
1438
1436
|
"stroke-linecap": "round",
|
|
1439
1437
|
style: { animation: "none !important" }
|
|
1440
|
-
}, null, 8,
|
|
1438
|
+
}, null, 8, Lo)
|
|
1441
1439
|
])) : d("", !0),
|
|
1442
|
-
l.value.chart.grid.labels.xAxisLabels.show ? (u(), i("g",
|
|
1440
|
+
l.value.chart.grid.labels.xAxisLabels.show ? (u(), i("g", Ao, [
|
|
1443
1441
|
g("path", {
|
|
1444
|
-
d:
|
|
1442
|
+
d: gt.value,
|
|
1445
1443
|
stroke: l.value.chart.grid.stroke,
|
|
1446
1444
|
"stroke-width": 1,
|
|
1447
1445
|
"stroke-linecap": "round",
|
|
1448
1446
|
style: { animation: "none !important" }
|
|
1449
|
-
}, null, 8,
|
|
1447
|
+
}, null, 8, Mo)
|
|
1450
1448
|
])) : d("", !0)
|
|
1451
1449
|
]),
|
|
1452
1450
|
(u(!0), i(h, null, y(Pe.value, (e, s) => (u(), i("defs", {
|
|
@@ -1460,16 +1458,16 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1460
1458
|
g("stop", {
|
|
1461
1459
|
offset: "0%",
|
|
1462
1460
|
"stop-color": e.color
|
|
1463
|
-
}, null, 8,
|
|
1461
|
+
}, null, 8, Co),
|
|
1464
1462
|
g("stop", {
|
|
1465
1463
|
offset: "62%",
|
|
1466
1464
|
"stop-color": `${v(Qe)(e.color, 0.02)}`
|
|
1467
|
-
}, null, 8,
|
|
1465
|
+
}, null, 8, Io),
|
|
1468
1466
|
g("stop", {
|
|
1469
1467
|
offset: "100%",
|
|
1470
1468
|
"stop-color": `${v(Qe)(e.color, 0.05)}`
|
|
1471
|
-
}, null, 8,
|
|
1472
|
-
], 8,
|
|
1469
|
+
}, null, 8, To)
|
|
1470
|
+
], 8, zo),
|
|
1473
1471
|
g("linearGradient", {
|
|
1474
1472
|
id: `rectGradient_neg_${s}_${U.value}`,
|
|
1475
1473
|
x2: "0%",
|
|
@@ -1478,16 +1476,16 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1478
1476
|
g("stop", {
|
|
1479
1477
|
offset: "0%",
|
|
1480
1478
|
"stop-color": `${v(Qe)(e.color, 0.05)}`
|
|
1481
|
-
}, null, 8,
|
|
1479
|
+
}, null, 8, No),
|
|
1482
1480
|
g("stop", {
|
|
1483
1481
|
offset: "38%",
|
|
1484
1482
|
"stop-color": `${v(Qe)(e.color, 0.02)}`
|
|
1485
|
-
}, null, 8,
|
|
1483
|
+
}, null, 8, Vo),
|
|
1486
1484
|
g("stop", {
|
|
1487
1485
|
offset: "100%",
|
|
1488
1486
|
"stop-color": e.color
|
|
1489
|
-
}, null, 8,
|
|
1490
|
-
], 8,
|
|
1487
|
+
}, null, 8, Po)
|
|
1488
|
+
], 8, Oo)
|
|
1491
1489
|
]))), 128)),
|
|
1492
1490
|
(u(!0), i(h, null, y(Le.value, (e, s) => (u(), i("defs", {
|
|
1493
1491
|
key: `def_plot_${s}`
|
|
@@ -1503,12 +1501,12 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1503
1501
|
g("stop", {
|
|
1504
1502
|
offset: "0%",
|
|
1505
1503
|
"stop-color": `${v(Qe)(e.color, 0.05)}`
|
|
1506
|
-
}, null, 8,
|
|
1504
|
+
}, null, 8, Ro),
|
|
1507
1505
|
g("stop", {
|
|
1508
1506
|
offset: "100%",
|
|
1509
1507
|
"stop-color": e.color
|
|
1510
|
-
}, null, 8,
|
|
1511
|
-
], 8,
|
|
1508
|
+
}, null, 8, Bo)
|
|
1509
|
+
], 8, Ho)
|
|
1512
1510
|
]))), 128)),
|
|
1513
1511
|
(u(!0), i(h, null, y(_e.value, (e, s) => (u(), i("defs", {
|
|
1514
1512
|
key: `def_line_${s}`
|
|
@@ -1524,12 +1522,12 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1524
1522
|
g("stop", {
|
|
1525
1523
|
offset: "0%",
|
|
1526
1524
|
"stop-color": `${v(Qe)(e.color, 0.05)}`
|
|
1527
|
-
}, null, 8,
|
|
1525
|
+
}, null, 8, Fo),
|
|
1528
1526
|
g("stop", {
|
|
1529
1527
|
offset: "100%",
|
|
1530
1528
|
"stop-color": e.color
|
|
1531
|
-
}, null, 8,
|
|
1532
|
-
], 8,
|
|
1529
|
+
}, null, 8, Eo)
|
|
1530
|
+
], 8, Yo),
|
|
1533
1531
|
g("linearGradient", {
|
|
1534
1532
|
id: `areaGradient_${s}_${U.value}`,
|
|
1535
1533
|
x1: "0%",
|
|
@@ -1540,14 +1538,14 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1540
1538
|
g("stop", {
|
|
1541
1539
|
offset: "0%",
|
|
1542
1540
|
"stop-color": `${v(we)(v(Qe)(e.color, 0.03), l.value.line.area.opacity)}`
|
|
1543
|
-
}, null, 8,
|
|
1541
|
+
}, null, 8, Xo),
|
|
1544
1542
|
g("stop", {
|
|
1545
1543
|
offset: "100%",
|
|
1546
1544
|
"stop-color": `${v(we)(e.color, l.value.line.area.opacity)}`
|
|
1547
|
-
}, null, 8,
|
|
1548
|
-
], 8,
|
|
1545
|
+
}, null, 8, Go)
|
|
1546
|
+
], 8, Wo)
|
|
1549
1547
|
]))), 128)),
|
|
1550
|
-
(u(!0), i(h, null, y(
|
|
1548
|
+
(u(!0), i(h, null, y(Lt.value, (e) => (u(), i("g", null, [
|
|
1551
1549
|
e.show ? (u(), i(h, { key: 0 }, [
|
|
1552
1550
|
(u(!0), i(h, null, y(e.span, (s, t) => (u(), i("g", null, [
|
|
1553
1551
|
g("rect", {
|
|
@@ -1560,7 +1558,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1560
1558
|
height: n.value.height < 0 ? 10 : n.value.height,
|
|
1561
1559
|
width: n.value.width / m.value < 0 ? 1e-5 : n.value.width / m.value,
|
|
1562
1560
|
fill: v(we)(e.color, e.opacity)
|
|
1563
|
-
}, null, 12,
|
|
1561
|
+
}, null, 12, Do)
|
|
1564
1562
|
]))), 256)),
|
|
1565
1563
|
(u(!0), i(h, null, y(e.span, (s, t) => (u(), i("g", null, [
|
|
1566
1564
|
e.caption.text && t === 0 ? (u(), i("foreignObject", {
|
|
@@ -1577,11 +1575,11 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1577
1575
|
g("div", {
|
|
1578
1576
|
style: z(`padding:${e.caption.padding}px;text-align:${e.caption.textAlign};font-size:${e.caption.fontSize}px;color:${e.caption.color};font-weight:${e.caption.bold ? "bold" : "normal"}`)
|
|
1579
1577
|
}, ee(e.caption.text), 5)
|
|
1580
|
-
], 12,
|
|
1578
|
+
], 12, qo)) : d("", !0)
|
|
1581
1579
|
]))), 256))
|
|
1582
1580
|
], 64)) : d("", !0)
|
|
1583
1581
|
]))), 256)),
|
|
1584
|
-
Ul.value ? (u(), i("g",
|
|
1582
|
+
Ul.value ? (u(), i("g", Uo, [
|
|
1585
1583
|
(u(!0), i(h, null, y(m.value, (e, s) => (u(), i("g", {
|
|
1586
1584
|
key: `tooltip_trap_highlighter_${s}`
|
|
1587
1585
|
}, [
|
|
@@ -1591,7 +1589,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1591
1589
|
height: n.value.height < 0 ? 10 : n.value.height,
|
|
1592
1590
|
width: n.value.width / m.value < 0 ? 1e-5 : n.value.width / m.value,
|
|
1593
1591
|
fill: [O.value, k.value, Xe.value].includes(s) ? v(we)(l.value.chart.highlighter.color, l.value.chart.highlighter.opacity) : "transparent"
|
|
1594
|
-
}, null, 8,
|
|
1592
|
+
}, null, 8, Zo)
|
|
1595
1593
|
]))), 128))
|
|
1596
1594
|
])) : d("", !0),
|
|
1597
1595
|
Pe.value.length ? (u(!0), i(h, { key: 1 }, y(Pe.value, (e, s) => (u(), i("g", {
|
|
@@ -1613,7 +1611,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1613
1611
|
stroke: l.value.bar.border.useSerieColor ? e.color : l.value.bar.border.stroke,
|
|
1614
1612
|
"stroke-width": l.value.bar.border.strokeWidth,
|
|
1615
1613
|
style: z(`${v(Xl) ? "transition:none !important" : ""}`)
|
|
1616
|
-
}, null, 12,
|
|
1614
|
+
}, null, 12, Jo)) : d("", !0),
|
|
1617
1615
|
fe(t.value) && a.$slots.pattern ? (u(), i("rect", {
|
|
1618
1616
|
key: 1,
|
|
1619
1617
|
x: Al(t),
|
|
@@ -1624,7 +1622,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1624
1622
|
fill: `url(#pattern_${U.value}_${e.slotAbsoluteIndex})`,
|
|
1625
1623
|
stroke: l.value.bar.border.useSerieColor ? e.color : l.value.bar.border.stroke,
|
|
1626
1624
|
"stroke-width": l.value.bar.border.strokeWidth
|
|
1627
|
-
}, null, 8,
|
|
1625
|
+
}, null, 8, Ko)) : d("", !0),
|
|
1628
1626
|
t.comment && l.value.chart.comments.show ? (u(), i("foreignObject", {
|
|
1629
1627
|
key: 2,
|
|
1630
1628
|
style: { overflow: "visible" },
|
|
@@ -1636,9 +1634,9 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1636
1634
|
q(a.$slots, "plot-comment", {
|
|
1637
1635
|
plot: { ...t, color: e.color, seriesIndex: s, datapointIndex: r }
|
|
1638
1636
|
}, void 0, !0)
|
|
1639
|
-
], 8,
|
|
1637
|
+
], 8, Qo)) : d("", !0)
|
|
1640
1638
|
]))), 128)),
|
|
1641
|
-
Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(v(X)(e.plots).trend) ? (u(), i("g",
|
|
1639
|
+
Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(v(X)(e.plots).trend) ? (u(), i("g", jo, [
|
|
1642
1640
|
g("defs", null, [
|
|
1643
1641
|
g("marker", {
|
|
1644
1642
|
id: `bar_arrow_${s}`,
|
|
@@ -1651,8 +1649,8 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1651
1649
|
g("polygon", {
|
|
1652
1650
|
points: `0 0, 7 ${7 / 2}, 0 7`,
|
|
1653
1651
|
fill: e.color
|
|
1654
|
-
}, null, 8,
|
|
1655
|
-
], 8,
|
|
1652
|
+
}, null, 8, ls)
|
|
1653
|
+
], 8, es)
|
|
1656
1654
|
]),
|
|
1657
1655
|
e.plots.length > 1 ? (u(), i("line", {
|
|
1658
1656
|
key: 0,
|
|
@@ -1664,7 +1662,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1664
1662
|
stroke: e.color,
|
|
1665
1663
|
"stroke-dasharray": 2,
|
|
1666
1664
|
"marker-end": `url(#bar_arrow_${s})`
|
|
1667
|
-
}, null, 8,
|
|
1665
|
+
}, null, 8, as)) : d("", !0),
|
|
1668
1666
|
e.plots.length > 1 ? (u(), i("text", {
|
|
1669
1667
|
key: 1,
|
|
1670
1668
|
"text-anchor": "middle",
|
|
@@ -1676,7 +1674,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1676
1674
|
v: v(X)(e.plots).trend * 100,
|
|
1677
1675
|
s: "%",
|
|
1678
1676
|
r: 2
|
|
1679
|
-
})), 9,
|
|
1677
|
+
})), 9, ts)) : d("", !0)
|
|
1680
1678
|
])) : d("", !0)
|
|
1681
1679
|
], 6))), 128)) : d("", !0),
|
|
1682
1680
|
!f.value.useIndividualScale && l.value.chart.grid.labels.zeroLine.show ? (u(), i("line", {
|
|
@@ -1689,8 +1687,8 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1689
1687
|
y2: v(R)(ie.value),
|
|
1690
1688
|
"stroke-linecap": "round",
|
|
1691
1689
|
style: { animation: "none !important" }
|
|
1692
|
-
}, null, 8,
|
|
1693
|
-
l.value.chart.highlighter.useLine && (![null, void 0].includes(k.value) || ![null, void 0].includes(O.value)) ? (u(), i("g",
|
|
1690
|
+
}, null, 8, os)) : d("", !0),
|
|
1691
|
+
l.value.chart.highlighter.useLine && (![null, void 0].includes(k.value) || ![null, void 0].includes(O.value)) ? (u(), i("g", ss, [
|
|
1694
1692
|
g("line", {
|
|
1695
1693
|
x1: n.value.left + n.value.width / m.value * ((k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)) + n.value.width / m.value / 2,
|
|
1696
1694
|
x2: n.value.left + n.value.width / m.value * ((k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)) + n.value.width / m.value / 2,
|
|
@@ -1701,7 +1699,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1701
1699
|
"stroke-dasharray": l.value.chart.highlighter.lineDasharray,
|
|
1702
1700
|
"stroke-linecap": "round",
|
|
1703
1701
|
style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
|
|
1704
|
-
}, null, 8,
|
|
1702
|
+
}, null, 8, us)
|
|
1705
1703
|
])) : d("", !0),
|
|
1706
1704
|
l.value.chart.grid.frame.show ? (u(), i("rect", {
|
|
1707
1705
|
key: 4,
|
|
@@ -1716,7 +1714,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1716
1714
|
"stroke-linecap": l.value.chart.grid.frame.strokeLinecap,
|
|
1717
1715
|
"stroke-linejoin": l.value.chart.grid.frame.strokeLinejoin,
|
|
1718
1716
|
"stroke-dasharray": l.value.chart.grid.frame.strokeDasharray
|
|
1719
|
-
}, null, 8,
|
|
1717
|
+
}, null, 8, rs)) : d("", !0),
|
|
1720
1718
|
l.value.chart.grid.labels.show ? (u(), i("g", {
|
|
1721
1719
|
key: 5,
|
|
1722
1720
|
ref_key: "scaleLabels",
|
|
@@ -1733,7 +1731,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1733
1731
|
"stroke-width": l.value.chart.grid.stroke,
|
|
1734
1732
|
"stroke-linecap": "round",
|
|
1735
1733
|
style: z(`opacity:${M.value ? M.value === e.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out; animation: none !important`)
|
|
1736
|
-
}, null, 12,
|
|
1734
|
+
}, null, 12, is)
|
|
1737
1735
|
]))), 256)),
|
|
1738
1736
|
(u(!0), i(h, null, y(dl.value, (e) => (u(), i("g", {
|
|
1739
1737
|
style: z(`opacity:${M.value ? M.value === e.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
@@ -1744,7 +1742,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1744
1742
|
"text-anchor": "middle",
|
|
1745
1743
|
transform: `translate(${e.x - x.value.dataLabels * 0.8 / 2 + G.value}, ${f.value.isStacked ? n.value.bottom - e.yOffset - e.individualHeight / 2 : n.value.top + n.value.height / 2}) rotate(-90)`
|
|
1746
1744
|
}, ee(e.name) + " " + ee(e.scaleLabel && e.unique && e.scaleLabel !== e.id ? `-
|
|
1747
|
-
${e.scaleLabel}` : ""), 9,
|
|
1745
|
+
${e.scaleLabel}` : ""), 9, ns),
|
|
1748
1746
|
(u(!0), i(h, null, y(e.yLabels, (s, t) => (u(), i(h, null, [
|
|
1749
1747
|
l.value.chart.grid.labels.yAxis.showCrosshairs ? (u(), i("line", {
|
|
1750
1748
|
key: 0,
|
|
@@ -1756,7 +1754,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1756
1754
|
"stroke-width": 1,
|
|
1757
1755
|
"stroke-linecap": "round",
|
|
1758
1756
|
style: { animation: "none !important" }
|
|
1759
|
-
}, null, 8,
|
|
1757
|
+
}, null, 8, cs)) : d("", !0)
|
|
1760
1758
|
], 64))), 256)),
|
|
1761
1759
|
(u(!0), i(h, null, y(e.yLabels, (s, t) => (u(), i("text", {
|
|
1762
1760
|
x: e.x - 5 + G.value - n.value.individualOffsetX,
|
|
@@ -1774,7 +1772,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1774
1772
|
r: l.value.chart.grid.labels.yAxis.rounding
|
|
1775
1773
|
}),
|
|
1776
1774
|
{ datapoint: s.datapoint, seriesIndex: t }
|
|
1777
|
-
)), 9,
|
|
1775
|
+
)), 9, vs))), 256))
|
|
1778
1776
|
], 4))), 256))
|
|
1779
1777
|
], 64)) : (u(!0), i(h, { key: 1 }, y(Aa.value, (e, s) => (u(), i("g", {
|
|
1780
1778
|
key: `yLabel_${s}`
|
|
@@ -1789,7 +1787,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1789
1787
|
"stroke-width": "1",
|
|
1790
1788
|
"stroke-linecap": "round",
|
|
1791
1789
|
style: { animation: "none !important" }
|
|
1792
|
-
}, null, 8,
|
|
1790
|
+
}, null, 8, ds)) : d("", !0),
|
|
1793
1791
|
e.value >= ye.value.min && e.value <= ye.value.max ? (u(), i("text", {
|
|
1794
1792
|
key: 1,
|
|
1795
1793
|
x: n.value.scaleLabelX - l.value.chart.grid.labels.yAxis.crosshairSize,
|
|
@@ -1806,7 +1804,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1806
1804
|
s: e.suffix,
|
|
1807
1805
|
r: l.value.chart.grid.labels.yAxis.rounding
|
|
1808
1806
|
})
|
|
1809
|
-
) : ""), 9,
|
|
1807
|
+
) : ""), 9, hs)) : d("", !0)
|
|
1810
1808
|
]))), 128))
|
|
1811
1809
|
], 512)) : d("", !0),
|
|
1812
1810
|
(u(!0), i(h, null, y(Le.value, (e, s) => (u(), i("g", {
|
|
@@ -1834,14 +1832,14 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1834
1832
|
x: t.x - l.value.chart.comments.width / 2 + l.value.chart.comments.offsetX,
|
|
1835
1833
|
y: t.y + l.value.chart.comments.offsetY + 6
|
|
1836
1834
|
}, [
|
|
1837
|
-
g("div",
|
|
1835
|
+
g("div", gs, [
|
|
1838
1836
|
q(a.$slots, "plot-comment", {
|
|
1839
1837
|
plot: { ...t, color: e.color, seriesIndex: s, datapointIndex: r }
|
|
1840
1838
|
}, void 0, !0)
|
|
1841
1839
|
])
|
|
1842
|
-
], 8,
|
|
1840
|
+
], 8, fs)) : d("", !0)
|
|
1843
1841
|
]))), 128)),
|
|
1844
|
-
Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(v(X)(e.plots).trend) ? (u(), i("g",
|
|
1842
|
+
Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(v(X)(e.plots).trend) ? (u(), i("g", xs, [
|
|
1845
1843
|
g("defs", null, [
|
|
1846
1844
|
g("marker", {
|
|
1847
1845
|
id: `plot_arrow_${s}`,
|
|
@@ -1854,8 +1852,8 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1854
1852
|
g("polygon", {
|
|
1855
1853
|
points: `0 0, 7 ${7 / 2}, 0 7`,
|
|
1856
1854
|
fill: e.color
|
|
1857
|
-
}, null, 8,
|
|
1858
|
-
], 8,
|
|
1855
|
+
}, null, 8, bs)
|
|
1856
|
+
], 8, ms)
|
|
1859
1857
|
]),
|
|
1860
1858
|
e.plots.length > 1 ? (u(), i("line", {
|
|
1861
1859
|
key: 0,
|
|
@@ -1867,7 +1865,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1867
1865
|
stroke: e.color,
|
|
1868
1866
|
"stroke-dasharray": 2,
|
|
1869
1867
|
"marker-end": `url(#plot_arrow_${s})`
|
|
1870
|
-
}, null, 8,
|
|
1868
|
+
}, null, 8, ys)) : d("", !0),
|
|
1871
1869
|
e.plots.length > 1 ? (u(), i("text", {
|
|
1872
1870
|
key: 1,
|
|
1873
1871
|
"text-anchor": "middle",
|
|
@@ -1879,7 +1877,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1879
1877
|
v: v(X)(e.plots).trend * 100,
|
|
1880
1878
|
s: "%",
|
|
1881
1879
|
r: 2
|
|
1882
|
-
})), 9,
|
|
1880
|
+
})), 9, ps)) : d("", !0)
|
|
1883
1881
|
])) : d("", !0)
|
|
1884
1882
|
], 6))), 128)),
|
|
1885
1883
|
(u(!0), i(h, null, y(_e.value, (e, s) => (u(), i("g", {
|
|
@@ -1894,7 +1892,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1894
1892
|
"stroke-width": l.value.line.strokeWidth + 1,
|
|
1895
1893
|
"stroke-dasharray": e.dashed ? l.value.line.strokeWidth * 2 : 0,
|
|
1896
1894
|
fill: "none"
|
|
1897
|
-
}, null, 8,
|
|
1895
|
+
}, null, 8, ks)) : e.plots.length > 1 && e.straight ? (u(), i("path", {
|
|
1898
1896
|
key: 1,
|
|
1899
1897
|
d: `M${e.straight}`,
|
|
1900
1898
|
stroke: l.value.chart.backgroundColor,
|
|
@@ -1903,9 +1901,9 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1903
1901
|
fill: "none",
|
|
1904
1902
|
"stroke-linecap": "round",
|
|
1905
1903
|
"stroke-linejoin": "round"
|
|
1906
|
-
}, null, 8,
|
|
1904
|
+
}, null, 8, _s)) : d("", !0)
|
|
1907
1905
|
], 6))), 128)),
|
|
1908
|
-
a.$slots.pattern ? (u(), i("defs",
|
|
1906
|
+
a.$slots.pattern ? (u(), i("defs", ws, [
|
|
1909
1907
|
(u(!0), i(h, null, y(Ie.value, (e, s) => q(a.$slots, "pattern", jl({
|
|
1910
1908
|
key: `serie_pattern_slot_${s}`
|
|
1911
1909
|
}, { ref_for: !0 }, { ...e, seriesIndex: e.slotAbsoluteIndex, patternId: `pattern_${U.value}_${s}` }), void 0, !0)), 128))
|
|
@@ -1915,27 +1913,29 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1915
1913
|
class: Ue(`serie_line_${s}`),
|
|
1916
1914
|
style: z(`opacity:${M.value ? M.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1917
1915
|
}, [
|
|
1918
|
-
e.useArea && e.plots.length > 1 ? (u(), i("g",
|
|
1916
|
+
e.useArea && e.plots.length > 1 ? (u(), i("g", Ss, [
|
|
1919
1917
|
e.smooth ? (u(!0), i(h, { key: 0 }, y(e.curveAreas, (t, r) => (u(), i(h, { key: r }, [
|
|
1920
|
-
|
|
1918
|
+
t ? (u(), i("path", {
|
|
1919
|
+
key: 0,
|
|
1921
1920
|
d: t,
|
|
1922
1921
|
fill: l.value.line.area.useGradient ? `url(#areaGradient_${s}_${U.value})` : v(we)(e.color, l.value.line.area.opacity)
|
|
1923
|
-
}, null, 8,
|
|
1924
|
-
a.$slots.pattern ? (u(), i("path", {
|
|
1925
|
-
key:
|
|
1922
|
+
}, null, 8, $s)) : d("", !0),
|
|
1923
|
+
a.$slots.pattern && t ? (u(), i("path", {
|
|
1924
|
+
key: 1,
|
|
1926
1925
|
d: t,
|
|
1927
1926
|
fill: `url(#pattern_${U.value}_${e.slotAbsoluteIndex})`
|
|
1928
|
-
}, null, 8,
|
|
1927
|
+
}, null, 8, Ls)) : d("", !0)
|
|
1929
1928
|
], 64))), 128)) : (u(!0), i(h, { key: 1 }, y(e.area.split(";"), (t, r) => (u(), i(h, { key: r }, [
|
|
1930
|
-
|
|
1929
|
+
t ? (u(), i("path", {
|
|
1930
|
+
key: 0,
|
|
1931
1931
|
d: `M${t}Z`,
|
|
1932
1932
|
fill: l.value.line.area.useGradient ? `url(#areaGradient_${s}_${U.value})` : v(we)(e.color, l.value.line.area.opacity)
|
|
1933
|
-
}, null, 8,
|
|
1934
|
-
a.$slots.pattern ? (u(), i("path", {
|
|
1935
|
-
key:
|
|
1933
|
+
}, null, 8, As)) : d("", !0),
|
|
1934
|
+
a.$slots.pattern && t ? (u(), i("path", {
|
|
1935
|
+
key: 1,
|
|
1936
1936
|
d: `M${t}Z`,
|
|
1937
1937
|
fill: `url(#pattern_${U.value}_${e.slotAbsoluteIndex})`
|
|
1938
|
-
}, null, 8,
|
|
1938
|
+
}, null, 8, Ms)) : d("", !0)
|
|
1939
1939
|
], 64))), 128))
|
|
1940
1940
|
])) : d("", !0),
|
|
1941
1941
|
e.smooth && e.plots.length > 1 && e.curve ? (u(), i("path", {
|
|
@@ -1946,7 +1946,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1946
1946
|
"stroke-dasharray": e.dashed ? l.value.line.strokeWidth * 2 : 0,
|
|
1947
1947
|
fill: "none",
|
|
1948
1948
|
"stroke-linecap": "round"
|
|
1949
|
-
}, null, 8,
|
|
1949
|
+
}, null, 8, zs)) : e.plots.length > 1 && e.straight ? (u(), i("path", {
|
|
1950
1950
|
key: 2,
|
|
1951
1951
|
d: `M${e.straight}`,
|
|
1952
1952
|
stroke: e.color,
|
|
@@ -1955,7 +1955,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1955
1955
|
fill: "none",
|
|
1956
1956
|
"stroke-linecap": "round",
|
|
1957
1957
|
"stroke-linejoin": "round"
|
|
1958
|
-
}, null, 8,
|
|
1958
|
+
}, null, 8, Cs)) : d("", !0),
|
|
1959
1959
|
(u(!0), i(h, null, y(e.plots, (t, r) => (u(), i(h, {
|
|
1960
1960
|
key: `circle_line_${s}_${r}`
|
|
1961
1961
|
}, [
|
|
@@ -1976,14 +1976,14 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1976
1976
|
x: t.x - l.value.chart.comments.width / 2 + l.value.chart.comments.offsetX,
|
|
1977
1977
|
y: t.y + l.value.chart.comments.offsetY + 6
|
|
1978
1978
|
}, [
|
|
1979
|
-
g("div",
|
|
1979
|
+
g("div", Ts, [
|
|
1980
1980
|
q(a.$slots, "plot-comment", {
|
|
1981
1981
|
plot: { ...t, color: e.color, seriesIndex: s, datapointIndex: r }
|
|
1982
1982
|
}, void 0, !0)
|
|
1983
1983
|
])
|
|
1984
|
-
], 8,
|
|
1984
|
+
], 8, Is)) : d("", !0)
|
|
1985
1985
|
], 64))), 128)),
|
|
1986
|
-
Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(v(X)(e.plots).trend) ? (u(), i("g",
|
|
1986
|
+
Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(v(X)(e.plots).trend) ? (u(), i("g", Os, [
|
|
1987
1987
|
g("defs", null, [
|
|
1988
1988
|
g("marker", {
|
|
1989
1989
|
id: `line_arrow_${s}`,
|
|
@@ -1996,8 +1996,8 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
1996
1996
|
g("polygon", {
|
|
1997
1997
|
points: `0 0, 7 ${7 / 2}, 0 7`,
|
|
1998
1998
|
fill: e.color
|
|
1999
|
-
}, null, 8,
|
|
2000
|
-
], 8,
|
|
1999
|
+
}, null, 8, Vs)
|
|
2000
|
+
], 8, Ns)
|
|
2001
2001
|
]),
|
|
2002
2002
|
e.plots.length > 1 ? (u(), i("line", {
|
|
2003
2003
|
key: 0,
|
|
@@ -2009,7 +2009,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2009
2009
|
stroke: e.color,
|
|
2010
2010
|
"stroke-dasharray": 2,
|
|
2011
2011
|
"marker-end": `url(#line_arrow_${s})`
|
|
2012
|
-
}, null, 8,
|
|
2012
|
+
}, null, 8, Ps)) : d("", !0),
|
|
2013
2013
|
e.plots.length > 1 ? (u(), i("text", {
|
|
2014
2014
|
key: 1,
|
|
2015
2015
|
"text-anchor": "middle",
|
|
@@ -2021,10 +2021,10 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2021
2021
|
v: v(X)(e.plots).trend * 100,
|
|
2022
2022
|
s: "%",
|
|
2023
2023
|
r: 2
|
|
2024
|
-
})), 9,
|
|
2024
|
+
})), 9, Hs)) : d("", !0)
|
|
2025
2025
|
])) : d("", !0)
|
|
2026
2026
|
], 6))), 128)),
|
|
2027
|
-
(l.value.bar.labels.show || l.value.bar.serieName.show) && f.value.dataLabels.show ? (u(), i("g",
|
|
2027
|
+
(l.value.bar.labels.show || l.value.bar.serieName.show) && f.value.dataLabels.show ? (u(), i("g", Rs, [
|
|
2028
2028
|
(u(!0), i(h, null, y(Pe.value, (e, s) => (u(), i(h, {
|
|
2029
2029
|
key: `xLabel_bar_${s}`
|
|
2030
2030
|
}, [
|
|
@@ -2052,7 +2052,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2052
2052
|
datapoint: t,
|
|
2053
2053
|
serie: e
|
|
2054
2054
|
}
|
|
2055
|
-
) : ""), 13,
|
|
2055
|
+
) : ""), 13, Bs)) : d("", !0),
|
|
2056
2056
|
t && l.value.bar.serieName.show ? (u(), i("text", {
|
|
2057
2057
|
key: 1,
|
|
2058
2058
|
x: f.value.useIndividualScale && f.value.isStacked ? t.x + Z.value.line / 2 : t.x + ke() * 1.1,
|
|
@@ -2062,14 +2062,14 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2062
2062
|
fill: l.value.bar.serieName.useSerieColor ? e.color : l.value.bar.serieName.color,
|
|
2063
2063
|
"font-weight": l.value.bar.serieName.bold ? "bold" : "normal",
|
|
2064
2064
|
style: z(`opacity:${M.value ? M.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2065
|
-
}, ee(l.value.bar.serieName.useAbbreviation ? v(
|
|
2065
|
+
}, ee(l.value.bar.serieName.useAbbreviation ? v(Kt)({
|
|
2066
2066
|
source: e.name,
|
|
2067
2067
|
length: l.value.bar.serieName.abbreviationSize
|
|
2068
|
-
}) : e.name), 13,
|
|
2068
|
+
}) : e.name), 13, Ys)) : d("", !0)
|
|
2069
2069
|
], 64))), 128))
|
|
2070
2070
|
], 64))), 128))
|
|
2071
2071
|
])) : d("", !0),
|
|
2072
|
-
l.value.plot.labels.show && f.value.dataLabels.show ? (u(), i("g",
|
|
2072
|
+
l.value.plot.labels.show && f.value.dataLabels.show ? (u(), i("g", Fs, [
|
|
2073
2073
|
(u(!0), i(h, null, y(Le.value, (e, s) => (u(), i(h, {
|
|
2074
2074
|
key: `xLabel_plot_${s}`
|
|
2075
2075
|
}, [
|
|
@@ -2097,10 +2097,10 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2097
2097
|
datapoint: t,
|
|
2098
2098
|
serie: e
|
|
2099
2099
|
}
|
|
2100
|
-
) : ""), 13,
|
|
2100
|
+
) : ""), 13, Es)) : d("", !0)
|
|
2101
2101
|
], 64))), 128))
|
|
2102
2102
|
], 64))), 128))
|
|
2103
|
-
])) : (u(), i("g",
|
|
2103
|
+
])) : (u(), i("g", Ws, [
|
|
2104
2104
|
(u(!0), i(h, null, y(Le.value, (e, s) => (u(), i(h, {
|
|
2105
2105
|
key: `xLabel_plot_${s}`
|
|
2106
2106
|
}, [
|
|
@@ -2119,7 +2119,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2119
2119
|
"stroke-linecap": "round",
|
|
2120
2120
|
"stroke-dasharray": "2",
|
|
2121
2121
|
stroke: e.color
|
|
2122
|
-
}, null, 8,
|
|
2122
|
+
}, null, 8, Us)) : d("", !0)
|
|
2123
2123
|
], 64)) : (u(), i(h, { key: 0 }, [
|
|
2124
2124
|
t && r === 0 && e.useTag && e.useTag === "start" ? (u(), i("foreignObject", {
|
|
2125
2125
|
key: 0,
|
|
@@ -2141,8 +2141,8 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2141
2141
|
serieName: e.name
|
|
2142
2142
|
}
|
|
2143
2143
|
)
|
|
2144
|
-
}, null, 12,
|
|
2145
|
-
], 12,
|
|
2144
|
+
}, null, 12, Gs)
|
|
2145
|
+
], 12, Xs)) : d("", !0),
|
|
2146
2146
|
t && r === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (u(), i("foreignObject", {
|
|
2147
2147
|
key: 1,
|
|
2148
2148
|
x: t.x - e.name.length * (x.value.plotLabels / 2),
|
|
@@ -2163,13 +2163,13 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2163
2163
|
serieName: e.name
|
|
2164
2164
|
}
|
|
2165
2165
|
)
|
|
2166
|
-
}, null, 12,
|
|
2167
|
-
], 12,
|
|
2166
|
+
}, null, 12, qs)
|
|
2167
|
+
], 12, Ds)) : d("", !0)
|
|
2168
2168
|
], 64))
|
|
2169
2169
|
], 64))), 128))
|
|
2170
2170
|
], 64))), 128))
|
|
2171
2171
|
])),
|
|
2172
|
-
l.value.line.labels.show && f.value.dataLabels.show ? (u(), i("g",
|
|
2172
|
+
l.value.line.labels.show && f.value.dataLabels.show ? (u(), i("g", Zs, [
|
|
2173
2173
|
(u(!0), i(h, null, y(_e.value, (e, s) => (u(), i(h, {
|
|
2174
2174
|
key: `xLabel_line_${s}`
|
|
2175
2175
|
}, [
|
|
@@ -2197,10 +2197,10 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2197
2197
|
datapoint: t,
|
|
2198
2198
|
serie: e
|
|
2199
2199
|
}
|
|
2200
|
-
) : ""), 13,
|
|
2200
|
+
) : ""), 13, Js)) : d("", !0)
|
|
2201
2201
|
], 64))), 128))
|
|
2202
2202
|
], 64))), 128))
|
|
2203
|
-
])) : (u(), i("g",
|
|
2203
|
+
])) : (u(), i("g", Ks, [
|
|
2204
2204
|
(u(!0), i(h, null, y(_e.value, (e, s) => (u(), i(h, {
|
|
2205
2205
|
key: `xLabel_line_${s}`
|
|
2206
2206
|
}, [
|
|
@@ -2219,7 +2219,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2219
2219
|
"stroke-linecap": "round",
|
|
2220
2220
|
"stroke-dasharray": "2",
|
|
2221
2221
|
stroke: e.color
|
|
2222
|
-
}, null, 8,
|
|
2222
|
+
}, null, 8, au)) : d("", !0)
|
|
2223
2223
|
], 64)) : (u(), i(h, { key: 0 }, [
|
|
2224
2224
|
t && r === 0 && e.useTag && e.useTag === "start" ? (u(), i("foreignObject", {
|
|
2225
2225
|
key: 0,
|
|
@@ -2241,8 +2241,8 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2241
2241
|
serieName: e.name
|
|
2242
2242
|
}
|
|
2243
2243
|
)
|
|
2244
|
-
}, null, 12,
|
|
2245
|
-
], 12,
|
|
2244
|
+
}, null, 12, js)
|
|
2245
|
+
], 12, Qs)) : d("", !0),
|
|
2246
2246
|
t && r === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (u(), i("foreignObject", {
|
|
2247
2247
|
key: 1,
|
|
2248
2248
|
x: t.x,
|
|
@@ -2263,8 +2263,8 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2263
2263
|
serieName: e.name
|
|
2264
2264
|
}
|
|
2265
2265
|
)
|
|
2266
|
-
}, null, 12,
|
|
2267
|
-
], 12,
|
|
2266
|
+
}, null, 12, lu)
|
|
2267
|
+
], 12, eu)) : d("", !0)
|
|
2268
2268
|
], 64))
|
|
2269
2269
|
], 64))), 128))
|
|
2270
2270
|
], 64))), 128))
|
|
@@ -2291,7 +2291,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2291
2291
|
maxWords: 2
|
|
2292
2292
|
}),
|
|
2293
2293
|
style: z(`opacity:${M.value ? M.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2294
|
-
}, null, 12,
|
|
2294
|
+
}, null, 12, tu)) : d("", !0),
|
|
2295
2295
|
t && r === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (u(), i("text", {
|
|
2296
2296
|
key: 1,
|
|
2297
2297
|
x: t.x + x.value.plotLabels,
|
|
@@ -2308,7 +2308,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2308
2308
|
maxWords: 2
|
|
2309
2309
|
}),
|
|
2310
2310
|
style: z(`opacity:${M.value ? M.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2311
|
-
}, null, 12,
|
|
2311
|
+
}, null, 12, ou)) : d("", !0)
|
|
2312
2312
|
], 64))), 128))
|
|
2313
2313
|
], 64))), 128)),
|
|
2314
2314
|
(u(!0), i(h, null, y(Le.value, (e, s) => (u(), i(h, {
|
|
@@ -2333,7 +2333,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2333
2333
|
maxWords: 2
|
|
2334
2334
|
}),
|
|
2335
2335
|
style: z(`opacity:${M.value ? M.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2336
|
-
}, null, 12,
|
|
2336
|
+
}, null, 12, su)) : d("", !0),
|
|
2337
2337
|
t && r === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (u(), i("text", {
|
|
2338
2338
|
key: 1,
|
|
2339
2339
|
x: t.x + x.value.plotLabels,
|
|
@@ -2350,7 +2350,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2350
2350
|
maxWords: 2
|
|
2351
2351
|
}),
|
|
2352
2352
|
style: z(`opacity:${M.value ? M.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2353
|
-
}, null, 12,
|
|
2353
|
+
}, null, 12, uu)) : d("", !0)
|
|
2354
2354
|
], 64))), 128))
|
|
2355
2355
|
], 64))), 128)),
|
|
2356
2356
|
f.value.useIndividualScale && !f.value.isStacked ? (u(), i(h, { key: 12 }, [
|
|
@@ -2366,13 +2366,13 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2366
2366
|
offset: "0%",
|
|
2367
2367
|
"stop-color": l.value.chart.backgroundColor,
|
|
2368
2368
|
"stop-opacity": "0"
|
|
2369
|
-
}, null, 8,
|
|
2369
|
+
}, null, 8, iu),
|
|
2370
2370
|
g("stop", {
|
|
2371
2371
|
offset: "100%",
|
|
2372
2372
|
"stop-color": e.color,
|
|
2373
2373
|
"stop-opacity": "0.2"
|
|
2374
|
-
}, null, 8,
|
|
2375
|
-
], 8,
|
|
2374
|
+
}, null, 8, nu)
|
|
2375
|
+
], 8, ru))), 256))
|
|
2376
2376
|
]),
|
|
2377
2377
|
(u(!0), i(h, null, y(dl.value, (e, s) => (u(), i("rect", {
|
|
2378
2378
|
x: e.x - l.value.chart.grid.labels.yAxis.labelWidth + G.value - n.value.individualOffsetX,
|
|
@@ -2382,7 +2382,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2382
2382
|
fill: M.value === e.groupId ? `url(#individual_scale_gradient_${U.value}_${s})` : "transparent",
|
|
2383
2383
|
onMouseenter: (t) => M.value = e.groupId,
|
|
2384
2384
|
onMouseleave: c[0] || (c[0] = (t) => M.value = null)
|
|
2385
|
-
}, null, 40,
|
|
2385
|
+
}, null, 40, cu))), 256))
|
|
2386
2386
|
], 64)) : d("", !0),
|
|
2387
2387
|
g("g", null, [
|
|
2388
2388
|
l.value.chart.grid.labels.axis.yLabel && !f.value.useIndividualScale ? (u(), i("text", {
|
|
@@ -2394,7 +2394,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2394
2394
|
transform: `translate(${l.value.chart.grid.labels.axis.fontSize}, ${n.value.top + n.value.height / 2}) rotate(-90)`,
|
|
2395
2395
|
"text-anchor": "middle",
|
|
2396
2396
|
style: { transition: "none" }
|
|
2397
|
-
}, ee(l.value.chart.grid.labels.axis.yLabel), 9,
|
|
2397
|
+
}, ee(l.value.chart.grid.labels.axis.yLabel), 9, vu)) : d("", !0),
|
|
2398
2398
|
l.value.chart.grid.labels.axis.xLabel ? (u(), i("text", {
|
|
2399
2399
|
key: 1,
|
|
2400
2400
|
ref_key: "xAxisLabel",
|
|
@@ -2404,7 +2404,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2404
2404
|
y: ve.value - 3,
|
|
2405
2405
|
"font-size": x.value.yAxis,
|
|
2406
2406
|
fill: l.value.chart.grid.labels.color
|
|
2407
|
-
}, ee(l.value.chart.grid.labels.axis.xLabel), 9,
|
|
2407
|
+
}, ee(l.value.chart.grid.labels.axis.xLabel), 9, du)) : d("", !0)
|
|
2408
2408
|
]),
|
|
2409
2409
|
l.value.chart.grid.labels.xAxisLabels.show ? (u(), i("g", {
|
|
2410
2410
|
key: 13,
|
|
@@ -2438,7 +2438,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2438
2438
|
style: z({
|
|
2439
2439
|
cursor: ga() ? "pointer" : "default"
|
|
2440
2440
|
}),
|
|
2441
|
-
innerHTML: v(
|
|
2441
|
+
innerHTML: v(Qt)({
|
|
2442
2442
|
content: String(e.text),
|
|
2443
2443
|
fontSize: x.value.xAxis,
|
|
2444
2444
|
fill: l.value.chart.grid.labels.xAxisLabels.color,
|
|
@@ -2446,7 +2446,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2446
2446
|
y: 0
|
|
2447
2447
|
}),
|
|
2448
2448
|
onClick: () => ba(e, s)
|
|
2449
|
-
}, null, 12,
|
|
2449
|
+
}, null, 12, fu)) : (u(), i("text", {
|
|
2450
2450
|
key: 0,
|
|
2451
2451
|
class: "vue-data-ui-time-label",
|
|
2452
2452
|
"text-anchor": l.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : l.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
|
|
@@ -2457,11 +2457,11 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2457
2457
|
cursor: ga() ? "pointer" : "default"
|
|
2458
2458
|
}),
|
|
2459
2459
|
onClick: () => ba(e, s)
|
|
2460
|
-
}, ee(e.text || ""), 13,
|
|
2460
|
+
}, ee(e.text || ""), 13, hu))
|
|
2461
2461
|
], 64)) : d("", !0)
|
|
2462
2462
|
]))), 128))
|
|
2463
2463
|
], 512)) : d("", !0),
|
|
2464
|
-
Ma.value.length && !f.value.isStacked ? (u(), i("g",
|
|
2464
|
+
Ma.value.length && !f.value.isStacked ? (u(), i("g", gu, [
|
|
2465
2465
|
(u(!0), i(h, null, y(Ma.value, (e) => (u(), i("g", {
|
|
2466
2466
|
key: e.uid
|
|
2467
2467
|
}, [
|
|
@@ -2476,7 +2476,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2476
2476
|
"stroke-dasharray": e.config.line.strokeDasharray,
|
|
2477
2477
|
"stroke-linecap": "round",
|
|
2478
2478
|
style: { animation: "none !important" }
|
|
2479
|
-
}, null, 8,
|
|
2479
|
+
}, null, 8, xu)) : d("", !0),
|
|
2480
2480
|
e.yBottom && e.show && isFinite(e.yBottom) ? (u(), i("line", {
|
|
2481
2481
|
key: 1,
|
|
2482
2482
|
x1: e.x1,
|
|
@@ -2488,7 +2488,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2488
2488
|
"stroke-dasharray": e.config.line.strokeDasharray,
|
|
2489
2489
|
"stroke-linecap": "round",
|
|
2490
2490
|
style: { animation: "none !important" }
|
|
2491
|
-
}, null, 8,
|
|
2491
|
+
}, null, 8, mu)) : d("", !0),
|
|
2492
2492
|
e.hasArea && e.show && isFinite(e.yTop) && isFinite(e.yBottom) ? (u(), i("rect", {
|
|
2493
2493
|
key: 2,
|
|
2494
2494
|
y: Math.min(e.yTop, e.yBottom),
|
|
@@ -2497,7 +2497,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2497
2497
|
height: v(T)(e.areaHeight, 0),
|
|
2498
2498
|
fill: v(we)(e.config.area.fill, e.config.area.opacity),
|
|
2499
2499
|
style: { animation: "none !important" }
|
|
2500
|
-
}, null, 8,
|
|
2500
|
+
}, null, 8, bu)) : d("", !0),
|
|
2501
2501
|
e.config.label.text && e.show && isFinite(e._box.y) ? (u(), i("rect", jl({
|
|
2502
2502
|
key: 3,
|
|
2503
2503
|
class: "vue-ui-xy-annotation-label-box"
|
|
@@ -2511,10 +2511,10 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2511
2511
|
"font-size": e.config.label.fontSize,
|
|
2512
2512
|
fill: e.config.label.color,
|
|
2513
2513
|
"text-anchor": e.config.label.textAnchor
|
|
2514
|
-
}, ee(e.config.label.text), 9,
|
|
2514
|
+
}, ee(e.config.label.text), 9, yu)) : d("", !0)
|
|
2515
2515
|
]))), 128))
|
|
2516
2516
|
])) : d("", !0),
|
|
2517
|
-
Ul.value ? (u(), i("g",
|
|
2517
|
+
Ul.value ? (u(), i("g", pu, [
|
|
2518
2518
|
(u(!0), i(h, null, y(m.value, (e, s) => (u(), i("rect", {
|
|
2519
2519
|
key: `tooltip_trap_${s}`,
|
|
2520
2520
|
x: n.value.left + n.value.width / m.value * s,
|
|
@@ -2522,12 +2522,12 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2522
2522
|
height: n.value.height < 0 ? 10 : n.value.height,
|
|
2523
2523
|
width: n.value.width / m.value < 0 ? 1e-5 : n.value.width / m.value,
|
|
2524
2524
|
fill: "transparent",
|
|
2525
|
-
onMouseenter: (t) =>
|
|
2526
|
-
onMouseleave: c[1] || (c[1] = (t) =>
|
|
2527
|
-
onClick: (t) =>
|
|
2528
|
-
}, null, 40,
|
|
2525
|
+
onMouseenter: (t) => Ta(!0, s),
|
|
2526
|
+
onMouseleave: c[1] || (c[1] = (t) => Ta(!1)),
|
|
2527
|
+
onClick: (t) => kt(s)
|
|
2528
|
+
}, null, 40, ku))), 128))
|
|
2529
2529
|
])) : d("", !0),
|
|
2530
|
-
l.value.chart.timeTag.show && (![null, void 0].includes(k.value) || ![null, void 0].includes(O.value)) ? (u(), i("g",
|
|
2530
|
+
l.value.chart.timeTag.show && (![null, void 0].includes(k.value) || ![null, void 0].includes(O.value)) ? (u(), i("g", _u, [
|
|
2531
2531
|
(u(), i("foreignObject", {
|
|
2532
2532
|
x: n.value.left + n.value.width / m.value * ((k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)) - 100 + n.value.width / m.value / 2,
|
|
2533
2533
|
y: n.value.bottom,
|
|
@@ -2539,19 +2539,19 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2539
2539
|
class: "vue-ui-xy-time-tag",
|
|
2540
2540
|
style: z(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${l.value.chart.timeTag.backgroundColor};color:${l.value.chart.timeTag.color};font-size:${l.value.chart.timeTag.fontSize}px`)
|
|
2541
2541
|
}, ee(le.value[(k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)].text || (k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)), 5)
|
|
2542
|
-
], 8,
|
|
2542
|
+
], 8, wu)),
|
|
2543
2543
|
g("circle", {
|
|
2544
2544
|
cx: n.value.left + n.value.width / m.value * ((k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)) + n.value.width / m.value / 2,
|
|
2545
2545
|
cy: n.value.bottom,
|
|
2546
2546
|
r: l.value.chart.timeTag.circleMarker.radius,
|
|
2547
2547
|
fill: l.value.chart.timeTag.circleMarker.color
|
|
2548
|
-
}, null, 8,
|
|
2548
|
+
}, null, 8, Su)
|
|
2549
2549
|
])) : d("", !0)
|
|
2550
2550
|
])) : d("", !0),
|
|
2551
|
-
q(a.$slots, "svg", { svg:
|
|
2551
|
+
q(a.$slots, "svg", { svg: it.value }, void 0, !0)
|
|
2552
2552
|
], 512)
|
|
2553
|
-
], 14,
|
|
2554
|
-
a.$slots.watermark ? (u(), i("div",
|
|
2553
|
+
], 14, go)),
|
|
2554
|
+
a.$slots.watermark ? (u(), i("div", $u, [
|
|
2555
2555
|
q(a.$slots, "watermark", Ze(Je({ isPrinting: v(Gl) || v(ca) })), void 0, !0)
|
|
2556
2556
|
])) : d("", !0),
|
|
2557
2557
|
(u(!0), i(h, null, y(_e.value, (e, s) => (u(), i(h, {
|
|
@@ -2591,12 +2591,12 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2591
2591
|
opacity: 1
|
|
2592
2592
|
})
|
|
2593
2593
|
}, [
|
|
2594
|
-
(u(), i("svg",
|
|
2594
|
+
(u(), i("svg", Lu, [
|
|
2595
2595
|
g("path", {
|
|
2596
2596
|
d: "M 0,10 10,0 10,20 Z",
|
|
2597
2597
|
fill: e.color,
|
|
2598
2598
|
stroke: "none"
|
|
2599
|
-
}, null, 8,
|
|
2599
|
+
}, null, 8, Au)
|
|
2600
2600
|
])),
|
|
2601
2601
|
g("div", {
|
|
2602
2602
|
class: "vue-ui-xy-tag-content",
|
|
@@ -2610,7 +2610,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2610
2610
|
serieName: e.name
|
|
2611
2611
|
}
|
|
2612
2612
|
)
|
|
2613
|
-
}, null, 8,
|
|
2613
|
+
}, null, 8, Mu)
|
|
2614
2614
|
], 4)) : d("", !0),
|
|
2615
2615
|
[O.value, k.value, Xe.value].includes(r) && e.useTag && e.useTag === "start" && l.value.line.tag.followValue ? (u(), i("div", {
|
|
2616
2616
|
key: 1,
|
|
@@ -2643,12 +2643,12 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2643
2643
|
opacity: 1
|
|
2644
2644
|
})
|
|
2645
2645
|
}, [
|
|
2646
|
-
(u(), i("svg",
|
|
2646
|
+
(u(), i("svg", zu, [
|
|
2647
2647
|
g("path", {
|
|
2648
2648
|
d: "M 0,0 10,10 0,20 Z",
|
|
2649
2649
|
fill: e.color,
|
|
2650
2650
|
stroke: "none"
|
|
2651
|
-
}, null, 8,
|
|
2651
|
+
}, null, 8, Cu)
|
|
2652
2652
|
])),
|
|
2653
2653
|
g("div", {
|
|
2654
2654
|
class: "vue-ui-xy-tag-content",
|
|
@@ -2662,7 +2662,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2662
2662
|
serieName: e.name
|
|
2663
2663
|
}
|
|
2664
2664
|
)
|
|
2665
|
-
}, null, 8,
|
|
2665
|
+
}, null, 8, Iu)
|
|
2666
2666
|
], 4)) : d("", !0)
|
|
2667
2667
|
], 64))), 128))
|
|
2668
2668
|
], 64))), 128)),
|
|
@@ -2703,12 +2703,12 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2703
2703
|
opacity: 1
|
|
2704
2704
|
})
|
|
2705
2705
|
}, [
|
|
2706
|
-
(u(), i("svg",
|
|
2706
|
+
(u(), i("svg", Tu, [
|
|
2707
2707
|
g("path", {
|
|
2708
2708
|
d: "M 0,10 10,0 10,20 Z",
|
|
2709
2709
|
fill: e.color,
|
|
2710
2710
|
stroke: "none"
|
|
2711
|
-
}, null, 8,
|
|
2711
|
+
}, null, 8, Ou)
|
|
2712
2712
|
])),
|
|
2713
2713
|
g("div", {
|
|
2714
2714
|
class: "vue-ui-xy-tag-content",
|
|
@@ -2722,7 +2722,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2722
2722
|
serieName: e.name
|
|
2723
2723
|
}
|
|
2724
2724
|
)
|
|
2725
|
-
}, null, 8,
|
|
2725
|
+
}, null, 8, Nu)
|
|
2726
2726
|
], 4)) : d("", !0),
|
|
2727
2727
|
[O.value, k.value, Xe.value].includes(r) && e.useTag && e.useTag === "start" && l.value.plot.tag.followValue ? (u(), i("div", {
|
|
2728
2728
|
key: 1,
|
|
@@ -2755,12 +2755,12 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2755
2755
|
opacity: 1
|
|
2756
2756
|
})
|
|
2757
2757
|
}, [
|
|
2758
|
-
(u(), i("svg",
|
|
2758
|
+
(u(), i("svg", Vu, [
|
|
2759
2759
|
g("path", {
|
|
2760
2760
|
d: "M 0,0 10,10 0,20 Z",
|
|
2761
2761
|
fill: e.color,
|
|
2762
2762
|
stroke: "none"
|
|
2763
|
-
}, null, 8,
|
|
2763
|
+
}, null, 8, Pu)
|
|
2764
2764
|
])),
|
|
2765
2765
|
g("div", {
|
|
2766
2766
|
class: "vue-ui-xy-tag-content",
|
|
@@ -2774,11 +2774,11 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2774
2774
|
serieName: e.name
|
|
2775
2775
|
}
|
|
2776
2776
|
)
|
|
2777
|
-
}, null, 8,
|
|
2777
|
+
}, null, 8, Hu)
|
|
2778
2778
|
], 4)) : d("", !0)
|
|
2779
2779
|
], 64))), 128))
|
|
2780
2780
|
], 64))), 128)),
|
|
2781
|
-
l.value.chart.zoom.show && Ve.value > 6 && Wl.value ? (u(), Me(
|
|
2781
|
+
l.value.chart.zoom.show && Ve.value > 6 && Wl.value ? (u(), Me(so, {
|
|
2782
2782
|
ref_key: "chartSlicer",
|
|
2783
2783
|
ref: Se,
|
|
2784
2784
|
key: `slicer_${Bl.value}`,
|
|
@@ -2791,7 +2791,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2791
2791
|
inputColor: l.value.chart.zoom.color,
|
|
2792
2792
|
selectColor: l.value.chart.zoom.highlightColor,
|
|
2793
2793
|
borderColor: l.value.chart.backgroundColor,
|
|
2794
|
-
minimap:
|
|
2794
|
+
minimap: It.value,
|
|
2795
2795
|
smoothMinimap: l.value.chart.zoom.minimap.smooth,
|
|
2796
2796
|
minimapSelectedColor: l.value.chart.zoom.minimap.selectedColor,
|
|
2797
2797
|
minimapSelectionRadius: l.value.chart.zoom.minimap.selectionRadius,
|
|
@@ -2812,8 +2812,8 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2812
2812
|
refreshEndPoint: l.value.chart.zoom.endIndex !== null ? l.value.chart.zoom.endIndex + 1 : Math.max(...Tl.dataset.map((e) => v(Ye)({ data: e.series, threshold: l.value.downsample.threshold }).length)),
|
|
2813
2813
|
enableRangeHandles: l.value.chart.zoom.enableRangeHandles,
|
|
2814
2814
|
enableSelectionDrag: l.value.chart.zoom.enableSelectionDrag,
|
|
2815
|
-
onReset:
|
|
2816
|
-
onTrapMouse:
|
|
2815
|
+
onReset: pt,
|
|
2816
|
+
onTrapMouse: mt
|
|
2817
2817
|
}, {
|
|
2818
2818
|
"reset-action": ue(({ reset: e }) => [
|
|
2819
2819
|
q(a.$slots, "reset-action", Ze(Je({ reset: e })), void 0, !0)
|
|
@@ -2832,7 +2832,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2832
2832
|
onClick: (t) => $a(e),
|
|
2833
2833
|
class: Ue({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": te.value.includes(e.id) })
|
|
2834
2834
|
}, [
|
|
2835
|
-
il.value[e.type] === "line" ? (u(), i("svg",
|
|
2835
|
+
il.value[e.type] === "line" ? (u(), i("svg", Bu, [
|
|
2836
2836
|
g("rect", {
|
|
2837
2837
|
x: "0",
|
|
2838
2838
|
y: "7.5",
|
|
@@ -2842,7 +2842,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2842
2842
|
height: "3",
|
|
2843
2843
|
width: "20",
|
|
2844
2844
|
fill: e.color
|
|
2845
|
-
}, null, 8,
|
|
2845
|
+
}, null, 8, Yu),
|
|
2846
2846
|
xl(Il, {
|
|
2847
2847
|
plot: { x: 10, y: 9 },
|
|
2848
2848
|
radius: 4,
|
|
@@ -2851,7 +2851,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2851
2851
|
stroke: l.value.chart.backgroundColor,
|
|
2852
2852
|
strokeWidth: 0.5
|
|
2853
2853
|
}, null, 8, ["color", "shape", "stroke"])
|
|
2854
|
-
])) : il.value[e.type] === "bar" ? (u(), i("svg",
|
|
2854
|
+
])) : il.value[e.type] === "bar" ? (u(), i("svg", Fu, [
|
|
2855
2855
|
il.value[e.type] === "bar" && a.$slots.pattern ? (u(), i("rect", {
|
|
2856
2856
|
key: 0,
|
|
2857
2857
|
x: "0",
|
|
@@ -2861,7 +2861,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2861
2861
|
width: "40",
|
|
2862
2862
|
stroke: "none",
|
|
2863
2863
|
fill: e.color
|
|
2864
|
-
}, null, 8,
|
|
2864
|
+
}, null, 8, Eu)) : d("", !0),
|
|
2865
2865
|
il.value[e.type] === "bar" ? (u(), i("rect", {
|
|
2866
2866
|
key: 1,
|
|
2867
2867
|
x: "0",
|
|
@@ -2871,8 +2871,8 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2871
2871
|
width: "40",
|
|
2872
2872
|
stroke: "none",
|
|
2873
2873
|
fill: a.$slots.pattern ? `url(#pattern_${U.value}_${e.slotAbsoluteIndex})` : e.color
|
|
2874
|
-
}, null, 8,
|
|
2875
|
-
])) : (u(), i("svg",
|
|
2874
|
+
}, null, 8, Wu)) : d("", !0)
|
|
2875
|
+
])) : (u(), i("svg", Xu, [
|
|
2876
2876
|
xl(Il, {
|
|
2877
2877
|
plot: { x: 6, y: 6 },
|
|
2878
2878
|
radius: 5,
|
|
@@ -2883,7 +2883,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2883
2883
|
g("span", {
|
|
2884
2884
|
style: z(`color:${l.value.chart.legend.color}`)
|
|
2885
2885
|
}, ee(e.name), 5)
|
|
2886
|
-
], 10,
|
|
2886
|
+
], 10, Ru))), 128))
|
|
2887
2887
|
], 4)) : (u(), i("div", {
|
|
2888
2888
|
key: 7,
|
|
2889
2889
|
ref_key: "chartLegend",
|
|
@@ -2899,7 +2899,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2899
2899
|
}, [
|
|
2900
2900
|
q(a.$slots, "source", {}, void 0, !0)
|
|
2901
2901
|
], 512)) : d("", !0),
|
|
2902
|
-
xl(v(
|
|
2902
|
+
xl(v(Qa), {
|
|
2903
2903
|
show: f.value.showTooltip && sa.value,
|
|
2904
2904
|
backgroundColor: l.value.chart.tooltip.backgroundColor,
|
|
2905
2905
|
color: l.value.chart.tooltip.color,
|
|
@@ -2911,7 +2911,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2911
2911
|
position: l.value.chart.tooltip.position,
|
|
2912
2912
|
offsetY: l.value.chart.tooltip.offsetY,
|
|
2913
2913
|
parent: a.$refs.chart,
|
|
2914
|
-
content:
|
|
2914
|
+
content: Tt.value,
|
|
2915
2915
|
isFullscreen: al.value,
|
|
2916
2916
|
isCustom: l.value.chart.tooltip.customFormat && typeof l.value.chart.tooltip.customFormat == "function"
|
|
2917
2917
|
}, {
|
|
@@ -2923,7 +2923,7 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2923
2923
|
]),
|
|
2924
2924
|
_: 3
|
|
2925
2925
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
2926
|
-
Wl.value ? (u(), Me(v(
|
|
2926
|
+
Wl.value ? (u(), Me(v(at), {
|
|
2927
2927
|
key: 9,
|
|
2928
2928
|
hideDetails: "",
|
|
2929
2929
|
config: {
|
|
@@ -2943,29 +2943,29 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2943
2943
|
g("div", {
|
|
2944
2944
|
style: z(`${v(Gl) ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
|
|
2945
2945
|
}, [
|
|
2946
|
-
g("div",
|
|
2947
|
-
|
|
2946
|
+
g("div", Gu, [
|
|
2947
|
+
Bt(g("input", {
|
|
2948
2948
|
type: "checkbox",
|
|
2949
2949
|
"onUpdate:modelValue": c[4] || (c[4] = (e) => nl.value = e)
|
|
2950
2950
|
}, null, 512), [
|
|
2951
|
-
[
|
|
2951
|
+
[Yt, nl.value]
|
|
2952
2952
|
]),
|
|
2953
2953
|
g("div", {
|
|
2954
2954
|
onClick: c[5] || (c[5] = (e) => nl.value = !nl.value),
|
|
2955
2955
|
style: { cursor: "pointer" }
|
|
2956
2956
|
}, [
|
|
2957
|
-
xl(v(
|
|
2957
|
+
xl(v(et), {
|
|
2958
2958
|
name: "chartLine",
|
|
2959
2959
|
size: 20,
|
|
2960
2960
|
stroke: l.value.chart.color
|
|
2961
2961
|
}, null, 8, ["stroke"])
|
|
2962
2962
|
])
|
|
2963
2963
|
]),
|
|
2964
|
-
nl.value ? (u(), Me(v(
|
|
2964
|
+
nl.value ? (u(), Me(v(lt), {
|
|
2965
2965
|
key: `sparkline_${Yl.value}`,
|
|
2966
|
-
dataset:
|
|
2967
|
-
config:
|
|
2968
|
-
}, null, 8, ["dataset", "config"])) : (u(), Me(v(
|
|
2966
|
+
dataset: Mt.value,
|
|
2967
|
+
config: zt.value
|
|
2968
|
+
}, null, 8, ["dataset", "config"])) : (u(), Me(v(Ka), {
|
|
2969
2969
|
key: `table_${ra.value}`,
|
|
2970
2970
|
colNames: Ml.value.colNames,
|
|
2971
2971
|
head: Ml.value.head,
|
|
@@ -2975,10 +2975,10 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2975
2975
|
onClose: c[6] || (c[6] = (e) => f.value.showTable = !1)
|
|
2976
2976
|
}, {
|
|
2977
2977
|
th: ue(({ th: e }) => [
|
|
2978
|
-
g("div", { innerHTML: e }, null, 8,
|
|
2978
|
+
g("div", { innerHTML: e }, null, 8, Du)
|
|
2979
2979
|
]),
|
|
2980
2980
|
td: ue(({ td: e }) => [
|
|
2981
|
-
|
|
2981
|
+
Ft(ee(isNaN(Number(e)) ? e : v(xe)({
|
|
2982
2982
|
p: l.value.chart.labels.prefix,
|
|
2983
2983
|
v: e,
|
|
2984
2984
|
s: l.value.chart.labels.suffix,
|
|
@@ -2991,10 +2991,10 @@ const ho = ["id"], fo = ["viewBox", "aria-label"], go = ["x", "y", "width", "hei
|
|
|
2991
2991
|
]),
|
|
2992
2992
|
_: 1
|
|
2993
2993
|
}, 8, ["config"])) : d("", !0),
|
|
2994
|
-
v(Xl) ? (u(), Me(
|
|
2995
|
-
], 46,
|
|
2994
|
+
v(Xl) ? (u(), Me(co, { key: 10 })) : d("", !0)
|
|
2995
|
+
], 46, fo));
|
|
2996
2996
|
}
|
|
2997
|
-
},
|
|
2997
|
+
}, rr = /* @__PURE__ */ ho(qu, [["__scopeId", "data-v-4dc97e04"]]);
|
|
2998
2998
|
export {
|
|
2999
|
-
|
|
2999
|
+
rr as default
|
|
3000
3000
|
};
|