vue-data-ui 3.13.2 → 3.13.4
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/{PackageVersion-CdPbb2sr.js → PackageVersion-C1Ia4Osa.js} +1 -1
- package/dist/{Slicer-D6ACafGp.js → Slicer-BELCOFx-.js} +167 -160
- package/dist/{SlicerPreview-BEkr4ELo.js → SlicerPreview-BciDdnXB.js} +223 -216
- package/dist/{Title-CeMocAxM.js → Title-DPeHXmsJ.js} +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +3 -1
- package/dist/{useNestedProp-Bamwa7TH.js → useNestedProp-DjoyBYIz.js} +5 -2
- package/dist/{vue-data-ui-C_fGFzEp.js → vue-data-ui-CXMubDkQ.js} +67 -67
- package/dist/vue-data-ui.js +69 -69
- package/dist/{vue-ui-3d-bar-DP7IdUbR.js → vue-ui-3d-bar-DuIllDhC.js} +3 -3
- package/dist/{vue-ui-accordion-d_mYq_ty.js → vue-ui-accordion-DIafkLLh.js} +1 -1
- package/dist/{vue-ui-age-pyramid-NXkGU5ye.js → vue-ui-age-pyramid-F277LP_p.js} +3 -3
- package/dist/{vue-ui-annotator-K9tPH67i.js → vue-ui-annotator-CWklKU90.js} +2 -2
- package/dist/{vue-ui-bullet-BGuwKETO.js → vue-ui-bullet-DGiNmsY5.js} +3 -3
- package/dist/{vue-ui-bump-DEOPNx5y.js → vue-ui-bump-BVx3pyWE.js} +3 -3
- package/dist/{vue-ui-candlestick-BWq1wKcM.js → vue-ui-candlestick-q20Az_vC.js} +7 -6
- package/dist/{vue-ui-carousel-table-CZxffzDF.js → vue-ui-carousel-table-paln_xSL.js} +2 -2
- package/dist/{vue-ui-chestnut-50SNPqfM.js → vue-ui-chestnut-BUQVCplK.js} +2 -2
- package/dist/{vue-ui-chord-DlrZM-bY.js → vue-ui-chord-Ce3Ac3OA.js} +3 -3
- package/dist/{vue-ui-circle-pack-tbs6FbUJ.js → vue-ui-circle-pack-DjjvjEaN.js} +3 -3
- package/dist/{vue-ui-cursor-CeX4EQK5.js → vue-ui-cursor-xJGQfL6H.js} +2 -2
- package/dist/{vue-ui-dag-kSTQu200.js → vue-ui-dag-BcTqF3b0.js} +3 -3
- package/dist/{vue-ui-dashboard-CVIihTvt.js → vue-ui-dashboard-Dq3WouX5.js} +64 -64
- package/dist/{vue-ui-digits-C8-MaCF9.js → vue-ui-digits-oaX2Rgl6.js} +1 -1
- package/dist/{vue-ui-donut-CvgJGvr8.js → vue-ui-donut-BZ84Pw3F.js} +3 -3
- package/dist/{vue-ui-donut-evolution-8t3VpFBM.js → vue-ui-donut-evolution-BtuKKVDh.js} +28 -27
- package/dist/{vue-ui-dumbbell-DhsqhBMZ.js → vue-ui-dumbbell-C7sKuu8m.js} +3 -3
- package/dist/{vue-ui-flow-40_lIp68.js → vue-ui-flow-Bkx_4KR7.js} +3 -3
- package/dist/{vue-ui-funnel-B2ORn05E.js → vue-ui-funnel-C0Sqt3pg.js} +3 -3
- package/dist/{vue-ui-galaxy--TlNs2Sg.js → vue-ui-galaxy-C6ByAwPf.js} +3 -3
- package/dist/{vue-ui-gauge-DeY4BNFp.js → vue-ui-gauge-DjtuUa1j.js} +3 -3
- package/dist/{vue-ui-geo-aGn1sexm.js → vue-ui-geo-ClwaBRr4.js} +3 -3
- package/dist/{vue-ui-gizmo-CRFCxxhM.js → vue-ui-gizmo-DYwoPoKw.js} +2 -2
- package/dist/{vue-ui-heatmap-CL4ljUus.js → vue-ui-heatmap-B2cjprkn.js} +4 -4
- package/dist/{vue-ui-history-plot-DLxBpK70.js → vue-ui-history-plot-DovDgs7d.js} +3 -3
- package/dist/{vue-ui-horizontal-bar-BZk6t1_d.js → vue-ui-horizontal-bar-DRMphY-v.js} +4 -4
- package/dist/{vue-ui-kpi-C_1ELuRv.js → vue-ui-kpi-2p_HJTZq.js} +2 -2
- package/dist/{vue-ui-mini-loader-BZTxux3w.js → vue-ui-mini-loader-DirRi7mP.js} +1 -1
- package/dist/{vue-ui-molecule-BpcyfHpM.js → vue-ui-molecule-C7mCNWSS.js} +2 -2
- package/dist/{vue-ui-mood-radar-B6LV7jqY.js → vue-ui-mood-radar-DHKPV6u3.js} +3 -3
- package/dist/{vue-ui-nested-donuts-e_22lyMT.js → vue-ui-nested-donuts-Bqn7bXhu.js} +3 -3
- package/dist/{vue-ui-onion-BzOC2siQ.js → vue-ui-onion-HjD5re6K.js} +3 -3
- package/dist/{vue-ui-parallel-coordinate-plot-BVHkiOKh.js → vue-ui-parallel-coordinate-plot-C6c1w_tp.js} +3 -3
- package/dist/{vue-ui-quadrant-DGVkfAF_.js → vue-ui-quadrant-CS6dfVYx.js} +3 -3
- package/dist/{vue-ui-quick-chart-BsCVVyys.js → vue-ui-quick-chart-Bb0NyRBA.js} +66 -65
- package/dist/{vue-ui-radar-C6lj2GXI.js → vue-ui-radar-B6bvhvKt.js} +3 -3
- package/dist/{vue-ui-rating-CFH0jY6v.js → vue-ui-rating-CiFrD-_T.js} +1 -1
- package/dist/{vue-ui-relation-circle-D1sMLtFh.js → vue-ui-relation-circle-Cr_mR_Es.js} +3 -3
- package/dist/{vue-ui-ridgeline-Migykkg5.js → vue-ui-ridgeline-BUJV2OdA.js} +3 -3
- package/dist/{vue-ui-rings-C_BzwPOl.js → vue-ui-rings-T3n2Cf5q.js} +3 -3
- package/dist/{vue-ui-scatter-0N2N7p2u.js → vue-ui-scatter-4FqvwLM6.js} +3 -3
- package/dist/{vue-ui-skeleton-B2I-tk1Z.js → vue-ui-skeleton-CUTTNN7A.js} +2 -2
- package/dist/{vue-ui-smiley-CXzhTaY2.js → vue-ui-smiley-mnhG8ue5.js} +1 -1
- package/dist/{vue-ui-spark-trend-b7A0JJM8.js → vue-ui-spark-trend-C0HTcNoj.js} +2 -2
- package/dist/{vue-ui-sparkbar-Dvrm3-uj.js → vue-ui-sparkbar-uLJAjJXH.js} +2 -2
- package/dist/{vue-ui-sparkgauge-DxgBvphO.js → vue-ui-sparkgauge-DDDXxyYQ.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-ukOI-h6-.js → vue-ui-sparkhistogram-Cv8MPWe7.js} +2 -2
- package/dist/{vue-ui-sparkline-Drbps9xL.js → vue-ui-sparkline-D5ghw08L.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-JIdKUFx1.js → vue-ui-sparkstackbar-CPA_xyx9.js} +2 -2
- package/dist/{vue-ui-stackbar-CXvQ4Bm_.js → vue-ui-stackbar-C3FQP-xJ.js} +94 -93
- package/dist/{vue-ui-stackline-CWRoLOhP.js → vue-ui-stackline-BxyretmG.js} +7 -6
- package/dist/{vue-ui-strip-plot-BANUvymx.js → vue-ui-strip-plot-BZ9iOWqO.js} +3 -3
- package/dist/{vue-ui-table-kCir7kax.js → vue-ui-table-NIg7DLgl.js} +3 -3
- package/dist/{vue-ui-table-heatmap-BMAWjTp_.js → vue-ui-table-heatmap-CGE28byI.js} +1 -1
- package/dist/{vue-ui-table-sparkline-brPOHGmn.js → vue-ui-table-sparkline-dGPa0o9F.js} +2 -2
- package/dist/{vue-ui-thermometer-C6v-w70_.js → vue-ui-thermometer-CaaunlPx.js} +3 -3
- package/dist/{vue-ui-timer-DQ5yKVhX.js → vue-ui-timer-D2APjrbL.js} +3 -3
- package/dist/{vue-ui-tiremarks-DdE7O4Ur.js → vue-ui-tiremarks-BiFzeEgA.js} +3 -3
- package/dist/{vue-ui-treemap-VzO40faB.js → vue-ui-treemap-B_2upayj.js} +3 -3
- package/dist/{vue-ui-waffle-CnzdJgOz.js → vue-ui-waffle-BX6WCDgf.js} +3 -3
- package/dist/{vue-ui-wheel-Cq_Iy__D.js → vue-ui-wheel-DCPU0Kts.js} +3 -3
- package/dist/{vue-ui-word-cloud-BH3iu9jm.js → vue-ui-word-cloud-BNVXwbj3.js} +3 -3
- package/dist/{vue-ui-world-92UxudT5.js → vue-ui-world-BGdgyGOZ.js} +2 -2
- package/dist/{vue-ui-xy-canvas-BH6gw0g-.js → vue-ui-xy-canvas-CQtgYpEg.js} +91 -90
- package/dist/{vue-ui-xy-CYKmyeYg.js → vue-ui-xy-un6b4oO0.js} +240 -239
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { c as wa, g as Aa, t as br, k as
|
|
1
|
+
import { defineAsyncComponent as Ye, useSlots as cr, getCurrentInstance as vr, ref as b, computed as g, onMounted as Ql, toRefs as dr, watch as Ml, watchEffect as Ft, onBeforeUnmount as _a, nextTick as Bt, createElementBlock as i, openBlock as n, normalizeStyle as w, normalizeClass as el, createBlock as we, createCommentVNode as d, createElementVNode as x, createVNode as vl, unref as v, withCtx as G, renderSlot as P, normalizeProps as ye, guardReactiveProps as ke, createSlots as Ot, Fragment as h, renderList as C, mergeProps as ll, toDisplayString as ae, Teleport as hr, resolveDynamicComponent as fr, withDirectives as gr, vModelCheckbox as mr, createTextVNode as Nt } from "vue";
|
|
2
|
+
import { c as wa, g as Aa, t as br, k as xr, N as Tl, O as al, m as Dt, j as Sa, P as Kl, Q as W, R as $a, S as pr, T as yr, U as N, z as Vt, A as Pt, B as Rt, C as Et, V as kr, W as Ht, Y as Wt, a as ue, Z as Cr, y as Yt, _ as _r, b as Xt, e as Oe, d as Ne, h as tl, s as Te, G as wr, x as Xe, H as jl, n as Ae, $ as Ar, a0 as Ge, a1 as zl, i as Sr, o as Gt, v as $r, r as Lr, a2 as dl } from "./lib-BrVUf7jz.js";
|
|
3
3
|
import { t as Mr } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Tr, a as Il } from "./useNestedProp-
|
|
4
|
+
import { u as Tr, a as Il } from "./useNestedProp-DjoyBYIz.js";
|
|
5
5
|
import { u as zr } from "./usePrinter-DKjCimma.js";
|
|
6
6
|
import { u as Ir, B as Fr } from "./BaseScanner-BMpwQAfz.js";
|
|
7
7
|
import { u as Ut, a as Br, l as Or } from "./useTimeLabels-DKoynYae.js";
|
|
@@ -9,12 +9,12 @@ import { u as Nr } from "./useSvgExport-ByUukOZt.js";
|
|
|
9
9
|
import { u as Dr } from "./useThemeCheck-D1ZYXUwG.js";
|
|
10
10
|
import { u as Vr } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
11
11
|
import Pr from "./img-BMMrBrFA.js";
|
|
12
|
-
import Rr from "./Title-
|
|
12
|
+
import Rr from "./Title-DPeHXmsJ.js";
|
|
13
13
|
import { _ as ea } from "./Shape-CDT71WC7.js";
|
|
14
|
-
import { S as Er } from "./SlicerPreview-
|
|
15
|
-
import Hr from "./vue-ui-accordion-
|
|
16
|
-
import { B as
|
|
17
|
-
import { _ as
|
|
14
|
+
import { S as Er } from "./SlicerPreview-BciDdnXB.js";
|
|
15
|
+
import Hr from "./vue-ui-accordion-DIafkLLh.js";
|
|
16
|
+
import { B as Wr } from "./BaseLegendToggle-BMdGBKCs.js";
|
|
17
|
+
import { _ as Yr } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
18
|
const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1, showHorizontalLines: !1 }, legend: { show: !1 }, zoom: { minimap: { show: !0 } } }, line: { useGradient: !1, area: { useGradient: !1 } }, bar: { useGradient: !1 }, plot: { useGradient: !1 } }, Zt = { chart: { userOptions: { show: !1 }, backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A", minimap: { show: !0, selectedColor: "#8A8A8A", lineColor: "#424242", indicatorColor: "#CCCCCC" } }, highlighter: { color: "#CCCCCC" }, timeTag: { backgroundColor: "#2A2A2A", color: "#CCCCCC", circleMarker: { color: "#2A2A2A" } }, grid: { stroke: "#5A5A5A", showVerticalLines: !1, labels: { color: "#CCCCCC", xAxisLabels: { color: "#CCCCCC" } } }, legend: { show: !1, color: "#CCCCCC", selectAllToggle: { backgroundColor: "#3A3A3A", color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#3A3A3A" } }, bar: { useGradient: !1, border: { stroke: "#1A1A1A" }, labels: { color: "#CCCCCC" }, serieName: { color: "#CCCCCC" } }, line: { useGradient: !1, labels: { color: "#CCCCCC" }, area: { useGradient: !1 } }, plot: { useGradient: !1, labels: { color: "#CCCCCC" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Jt = { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A", minimap: { selectedColor: "#8A8A8A", lineColor: "#424242", indicatorColor: "#CCCCCC" } }, highlighter: { color: "#CCCCCC" }, timeTag: { backgroundColor: "#2A2A2A", color: "#CCCCCC", circleMarker: { color: "#2A2A2A" } }, grid: { stroke: "#5A5A5A", showVerticalLines: !1, labels: { color: "#CCCCCC", xAxisLabels: { color: "#CCCCCC" } } }, legend: { color: "#CCCCCC", selectAllToggle: { backgroundColor: "#3A3A3A", color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } }, bar: { border: { stroke: "#1A1A1A" }, labels: { color: "#CCCCCC" }, serieName: { color: "#CCCCCC" } }, line: { labels: { color: "#CCCCCC" } }, plot: { labels: { color: "#CCCCCC" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Qt = { chart: { backgroundColor: "#FFF8E1", color: "#424242", zoom: { color: "#5D4037", highlightColor: "#FF8A65", minimap: { selectedColor: "#FF8A65", lineColor: "#424242", indicatorColor: "#FF8A65" } }, highlighter: { color: "#424242" }, timeTag: { backgroundColor: "#424242", color: "#FFF8E1", circleMarker: { color: "#424242" } }, grid: { stroke: "#5D4037", showVerticalLines: !1, labels: { color: "#424242", xAxisLabels: { color: "#424242" }, xAxis: { showBaseline: !1 } } }, legend: { color: "#424242", selectAllToggle: { backgroundColor: "#5D4037", color: "#FFF8E1" } }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } }, bar: { borderRadius: 2, border: { stroke: "#FFF8E1" }, labels: { color: "#424242" }, serieName: { color: "#424242" } }, line: { labels: { color: "#424242" } }, plot: { labels: { color: "#424242" } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Kt = { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", zoom: { color: "#5D4037", highlightColor: "#FF8A65", minimap: { selectedColor: "#FF8A65", lineColor: "#FF6B6B", indicatorColor: "#FF8A65" } }, highlighter: { color: "#FFF8E1" }, timeTag: { backgroundColor: "#5D4037", color: "#FFF8E1", circleMarker: { color: "#5D4037" } }, grid: { stroke: "#5D4037", showVerticalLines: !1, labels: { color: "#BDBDBD", xAxisLabels: { color: "#BDBDBD" }, xAxis: { showBaseline: !1 } } }, legend: { color: "#BDBDBD", selectAllToggle: { backgroundColor: "#3A3A3A", color: "#BDBDBD" } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } }, bar: { borderRadius: 2, border: { stroke: "#1E1E1E" }, labels: { color: "#BDBDBD" }, serieName: { color: "#BDBDBD" } }, line: { labels: { color: "#BDBDBD" } }, plot: { labels: { color: "#BDBDBD" } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, jt = { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", zoom: { color: "#5F6A5F", highlightColor: "#66CC66" }, highlighter: { color: "#66CC66" }, timeTag: { backgroundColor: "#1A1A1A", color: "#66CC66", circleMarker: { color: "#66CC66" } }, grid: { stroke: "#5F6A5F", showVerticalLines: !1, labels: { color: "#99AA99", xAxisLabels: { color: "#99AA99" }, xAxis: { showBaseline: !1 } } }, legend: { color: "#99AA99", selectAllToggle: { backgroundColor: "#3A3A3A", color: "#99AA99" } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } }, bar: { borderRadius: 0, border: { stroke: "#66CC66" }, labels: { color: "#AACCAA" }, serieName: { color: "#99CC99" } }, line: { labels: { color: "#AACCAA" } }, plot: { labels: { color: "#AACCAA" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, eo = { chart: { backgroundColor: "#fbfafa", color: "#8A9892", zoom: { color: "#E0CFC3", highlightColor: "#8F837A" }, highlighter: { color: "#8F837A" }, timeTag: { backgroundColor: "#fbfafa", color: "#8A9892", circleMarker: { color: "#8A9892" } }, grid: { stroke: "transparent", labels: { show: !1, color: "#99AA99", xAxisLabels: { show: !1, color: "#99AA99" }, zeroLine: { show: !1 }, yAxis: { showBaseline: !1 } } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99", selectAllToggle: { backgroundColor: "#E0CFC3", color: "#8F837A" } }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } }, bar: { borderRadius: 4, border: { stroke: "#D7E0D2" }, labels: { color: "#8F837A" }, serieName: { color: "#858480" } }, line: { labels: { color: "#8F837A" } }, plot: { labels: { color: "#8F837A" } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, lo = { chart: { backgroundColor: "#f6f6fb", color: "#50606C", zoom: { color: "#92B0AB", highlightColor: "#50606C" }, highlighter: { color: "#7DA9B5" }, timeTag: { backgroundColor: "#f6f6fb", color: "#50606C", circleMarker: { color: "#50606C" } }, grid: { stroke: "#829C98", showVerticalLines: !0, showHorizontalLines: !0, labels: { color: "#50606C", xAxisLabels: { color: "#50606C" } } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E", selectAllToggle: { backgroundColor: "#50606C", color: "#f6f6fb" } }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } }, bar: { borderRadius: 2, border: { stroke: "#404C4D" }, labels: { color: "#50606C" }, serieName: { color: "#61747E" } }, line: { labels: { color: "#50606C" } }, plot: { labels: { color: "#50606C" } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, ao = {
|
|
19
19
|
default: {},
|
|
20
20
|
minimal: qt,
|
|
@@ -36,7 +36,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
36
36
|
minimal: qt,
|
|
37
37
|
minimalDark: Zt,
|
|
38
38
|
zen: eo
|
|
39
|
-
}, Symbol.toStringTag, { value: "Module" })), Xr = ["id"], Gr = ["id"], Ur = ["viewBox", "aria-label"], qr = ["x", "y", "width", "height"], Zr = { key: 1 }, Jr = { class: "vue-ui-xy-grid" }, Qr = ["stroke", "x1", "x2", "y1", "y2"], Kr = ["stroke", "x1", "x2", "y1", "y2"], jr = { key: 1 }, es = ["x1", "x2", "y1", "y2", "stroke"], ls = ["x1", "x2", "y1", "y2", "stroke"], as = ["x1", "x2", "y1", "y2", "stroke"], ts = { key: 3 }, os = ["d", "stroke"], rs = { key: 4 }, ss = ["d", "stroke"], us = ["id"], ns = ["stop-color"], is = ["stop-color"], cs = ["stop-color"], vs = ["id"], ds = ["stop-color"], hs = ["stop-color"], fs = ["stop-color"], gs = ["id"], ms = ["stop-color"], bs = ["stop-color"],
|
|
39
|
+
}, Symbol.toStringTag, { value: "Module" })), Xr = ["id"], Gr = ["id"], Ur = ["viewBox", "aria-label"], qr = ["x", "y", "width", "height"], Zr = { key: 1 }, Jr = { class: "vue-ui-xy-grid" }, Qr = ["stroke", "x1", "x2", "y1", "y2"], Kr = ["stroke", "x1", "x2", "y1", "y2"], jr = { key: 1 }, es = ["x1", "x2", "y1", "y2", "stroke"], ls = ["x1", "x2", "y1", "y2", "stroke"], as = ["x1", "x2", "y1", "y2", "stroke"], ts = { key: 3 }, os = ["d", "stroke"], rs = { key: 4 }, ss = ["d", "stroke"], us = ["id"], ns = ["stop-color"], is = ["stop-color"], cs = ["stop-color"], vs = ["id"], ds = ["stop-color"], hs = ["stop-color"], fs = ["stop-color"], gs = ["id"], ms = ["stop-color"], bs = ["stop-color"], xs = ["id"], ps = ["stop-color"], ys = ["stop-color"], ks = ["id"], Cs = ["stop-color"], _s = ["stop-color"], ws = ["x", "y", "height", "width", "fill"], As = ["x", "y", "width"], Ss = { key: 0 }, $s = ["x", "y", "height", "width", "fill"], Ls = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ms = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ts = ["width", "x", "y"], zs = ["stroke", "x1", "x2", "y1", "y2"], Is = { key: 3 }, Fs = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Bs = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Os = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ns = ["fill", "font-size", "transform"], Ds = ["x1", "x2", "y1", "y2", "stroke"], Vs = ["x", "y", "font-size", "fill"], Ps = ["x1", "x2", "y1", "y2", "stroke"], Rs = ["x", "y", "font-size", "fill"], Es = ["width", "x", "y"], Hs = { style: { width: "100%" } }, Ws = ["d", "stroke", "stroke-width", "stroke-dasharray"], Ys = ["d", "stroke", "stroke-width", "stroke-dasharray"], Xs = { key: 6 }, Gs = { key: 7 }, Us = ["d", "fill", "fill-opacity"], qs = { key: 0 }, Zs = ["d", "fill"], Js = ["d", "fill"], Qs = ["d", "fill"], Ks = ["d", "fill"], js = ["d", "stroke", "stroke-width", "stroke-dasharray"], eu = ["d", "stroke", "stroke-width", "stroke-dasharray"], lu = ["width", "x", "y"], au = { style: { width: "100%" } }, tu = { key: 8 }, ou = ["x", "y", "font-size", "fill"], ru = ["x", "y", "font-size", "fill", "font-weight"], su = { key: 9 }, uu = ["x", "y", "font-size", "fill"], nu = { key: 10 }, iu = ["x", "y"], cu = ["innerHTML"], vu = ["x", "y"], du = ["innerHTML"], hu = ["x1", "x2", "y1", "y2", "stroke"], fu = { key: 11 }, gu = ["x", "y", "font-size", "fill"], mu = { key: 12 }, bu = ["x", "y"], xu = ["innerHTML"], pu = ["x", "y"], yu = ["innerHTML"], ku = ["x1", "x2", "y1", "y2", "stroke"], Cu = ["x", "y", "font-size", "fill", "innerHTML"], _u = ["x", "y", "font-size", "fill", "innerHTML"], wu = ["x", "y", "font-size", "fill", "innerHTML"], Au = ["x", "y", "font-size", "fill", "innerHTML"], Su = { key: 0 }, $u = ["id"], Lu = ["fill", "stroke"], Mu = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Tu = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], zu = ["x", "y", "font-size", "fill", "stroke"], Iu = ["id"], Fu = ["stop-color"], Bu = ["stop-color"], Ou = ["x", "y", "width", "height", "fill", "onMouseenter"], Nu = ["font-size", "fill", "transform"], Du = ["x", "y", "font-size", "fill"], Vu = ["text-anchor", "font-size", "fill", "transform", "onClick"], Pu = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], Ru = { key: 15 }, Eu = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Hu = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Wu = ["y", "x", "width", "height", "fill"], Yu = ["id", "x", "y", "font-size", "fill", "text-anchor"], Xu = {
|
|
40
40
|
key: 16,
|
|
41
41
|
style: { "pointer-events": "none" }
|
|
42
42
|
}, Gu = ["x", "y"], Uu = ["innerHTML"], qu = ["cx", "cy", "r", "fill"], Zu = ["data-start", "data-end"], Ju = {
|
|
@@ -77,10 +77,10 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
77
77
|
viewBox: "0 0 12 12",
|
|
78
78
|
height: "1em",
|
|
79
79
|
width: "1em"
|
|
80
|
-
},
|
|
80
|
+
}, xn = {
|
|
81
81
|
style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
|
|
82
82
|
"data-dom-to-png-ignore": ""
|
|
83
|
-
},
|
|
83
|
+
}, pn = ["innerHTML"], yn = {
|
|
84
84
|
__name: "vue-ui-xy",
|
|
85
85
|
props: {
|
|
86
86
|
config: {
|
|
@@ -102,7 +102,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
102
102
|
},
|
|
103
103
|
emits: ["selectTimeLabel", "selectX", "selectLegend"],
|
|
104
104
|
setup(la, { expose: to, emit: oo }) {
|
|
105
|
-
const F = la, ro =
|
|
105
|
+
const F = la, ro = Ye(() => import("./DataTable-C2E28XF-.js")), so = Ye(() => import("./Tooltip-jUEeS8VT.js")), uo = Ye(() => import("./UserOptions-DV6hYCK6.js")), La = Ye(() => import("./BaseIcon-CJ7mD4nD.js")), no = Ye(() => import("./vue-ui-table-sparkline-dGPa0o9F.js").then((a) => a.b)), io = Ye(() => import("./PackageVersion-C1Ia4Osa.js")), co = Ye(() => import("./PenAndPaper-CDju85X_.js")), vo = Ye(() => import("./BaseDraggableDialog-DC6U5583.js")), aa = oo, Ma = cr(), ho = vr(), { vue_ui_xy: hl } = Tr(), { isThemeValid: fo, warnInvalidTheme: go } = Dr(), ze = b(null), fl = b(null), Ie = b(null), ol = b(null), gl = b(null), ml = b(null), mo = b(null), ta = b(null), oa = b(null), rl = b(null), ra = b(null), sa = b(null), Ve = b(null), ua = b(null), bo = b(0), z = b(null), Ta = b(!0), de = b(600), ee = b(1e3), Fl = b("0 0 1000 600"), xo = b({ x: 0, y: 0 }), bl = b({ line: "line", bar: "bar", plot: "plot" }), xl = b(!1), Ue = b(!1), za = b(!1), qe = b(null), U = b([]), H = b(wa()), Ia = b(0), Fa = b(0), Ba = b(0), pl = b(!0), na = b(0), O = b(null), Oa = b(!1), ia = b(!0), Bl = b(!0), ne = b(null), De = b({}), Ol = b(null), Na = b(!1), sl = b(null), k = b(null), po = g(() => ({
|
|
106
106
|
height: de.value,
|
|
107
107
|
width: ee.value
|
|
108
108
|
}));
|
|
@@ -112,7 +112,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
112
112
|
function ca(a, r, e = 0) {
|
|
113
113
|
return Number.isFinite(a) && Number.isFinite(r) && Math.abs(r) > 1e-9 ? a / r : e;
|
|
114
114
|
}
|
|
115
|
-
const Va = b(!1),
|
|
115
|
+
const Va = b(!1), p = b({
|
|
116
116
|
xAxis: 18,
|
|
117
117
|
yAxis: 12,
|
|
118
118
|
dataLabels: 20,
|
|
@@ -326,11 +326,11 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
326
326
|
const r = a - m.value.start;
|
|
327
327
|
r < 0 || a >= m.value.end ? k.value = null : k.value = r ?? null;
|
|
328
328
|
}, { immediate: !0 });
|
|
329
|
-
const { isPrinting: fa, isImaging: Ha, generatePdf:
|
|
329
|
+
const { isPrinting: fa, isImaging: Ha, generatePdf: Wa, generateImage: Ya } = zr({
|
|
330
330
|
elementId: `vue-ui-xy_${H.value}`,
|
|
331
331
|
fileName: l.value.chart.title.text || "vue-ui-xy",
|
|
332
332
|
options: l.value.chart.userOptions.print
|
|
333
|
-
}), _o = b(!1), Dl = g(() =>
|
|
333
|
+
}), _o = b(!1), Dl = g(() => xr(l.value.customPalette)), nl = g(() => {
|
|
334
334
|
const a = l.value.chart.grid.labels.yAxis.scaleMin;
|
|
335
335
|
if (a == null) return null;
|
|
336
336
|
const r = Number(a);
|
|
@@ -395,7 +395,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
395
395
|
const o = u.getComputedTextLength();
|
|
396
396
|
return (o > t ? o : t) + l.value.chart.grid.labels.yAxis.scaleValueOffsetX;
|
|
397
397
|
}, 0));
|
|
398
|
-
const r = oa.value ? oa.value.getBoundingClientRect().width + l.value.chart.grid.labels.axis.yLabelOffsetX +
|
|
398
|
+
const r = oa.value ? oa.value.getBoundingClientRect().width + l.value.chart.grid.labels.axis.yLabelOffsetX + p.value.yAxis : 0, e = l.value.chart.grid.labels.yAxis.crosshairSize;
|
|
399
399
|
return a + r + e;
|
|
400
400
|
}
|
|
401
401
|
const ga = b(0), $o = Mr((a) => {
|
|
@@ -415,7 +415,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
415
415
|
let a = 0;
|
|
416
416
|
ta.value && (a = ta.value.getBBox().height);
|
|
417
417
|
let r = 0;
|
|
418
|
-
return rl.value && (r = ga.value), a + r +
|
|
418
|
+
return rl.value && (r = ga.value), a + r + p.value.xAxis;
|
|
419
419
|
}), Lo = g(() => ge.value.some((a) => a.useProgression)), c = g(() => {
|
|
420
420
|
let a = 0;
|
|
421
421
|
const r = 36;
|
|
@@ -437,7 +437,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
437
437
|
individualOffsetX: r
|
|
438
438
|
};
|
|
439
439
|
}), Mo = g(() => {
|
|
440
|
-
const a = l.value.chart.grid.position === "middle" ? 1 : 0, r = A.value + a, e =
|
|
440
|
+
const a = l.value.chart.grid.position === "middle" ? 1 : 0, r = A.value + a, e = W(c.value?.top), s = W(c.value?.bottom);
|
|
441
441
|
return Array.from({ length: r }).map((t, u) => {
|
|
442
442
|
const o = c.value.width / A.value * u + c.value?.left + q.value;
|
|
443
443
|
return `M${o},${e} L${o},${s}`;
|
|
@@ -445,7 +445,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
445
445
|
}), To = g(() => {
|
|
446
446
|
if (!l.value.chart.grid.labels.xAxis.showCrosshairs) return "";
|
|
447
447
|
const a = c.value.width / A.value, r = l.value.chart.grid.labels.xAxis.crosshairSize, e = l.value.chart.grid.labels.xAxis.crosshairsAlwaysAtZero;
|
|
448
|
-
return
|
|
448
|
+
return xa.value.map((s, t) => {
|
|
449
449
|
if (!s || !s.text) return null;
|
|
450
450
|
const u = c.value?.left + a * t + a / 2, o = e ? ie.value - (ie.value === c.value?.bottom ? 0 : r / 2) : c.value?.bottom, $ = e ? ie.value + r / (ie.value === c.value?.bottom ? 1 : 2) : c.value?.bottom + r;
|
|
451
451
|
return `M${u},${o} L${u},${$}`;
|
|
@@ -473,7 +473,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
473
473
|
await Bt(), Qa.value = a, Oa.value && (Bl.value = a);
|
|
474
474
|
}
|
|
475
475
|
function ma() {
|
|
476
|
-
|
|
476
|
+
xl.value = !xl.value;
|
|
477
477
|
}
|
|
478
478
|
const he = g(() => {
|
|
479
479
|
const a = Math.max(...ge.value.map((r) => $a({ data: r.series, threshold: l.value.downsample.threshold }).length));
|
|
@@ -496,9 +496,9 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
496
496
|
}), Io = g(() => {
|
|
497
497
|
const a = l.value.chart.grid.labels.xAxisLabels.modulo;
|
|
498
498
|
return he.value.length ? Math.min(a, [...new Set(he.value.map((r) => r.text))].length) : a;
|
|
499
|
-
}),
|
|
499
|
+
}), xa = g(() => {
|
|
500
500
|
const a = l.value.chart.grid.labels.xAxisLabels, r = he.value || [], e = ba.value || [], s = m.value.start ?? 0, t = k.value, u = A.value, o = r.map((L) => L?.text ?? ""), $ = e.map((L) => L?.text ?? "");
|
|
501
|
-
return
|
|
501
|
+
return pr(
|
|
502
502
|
!!a.showOnlyFirstAndLast,
|
|
503
503
|
!!a.showOnlyAtModulo,
|
|
504
504
|
Math.max(1, Io.value || 1),
|
|
@@ -536,7 +536,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
536
536
|
function et() {
|
|
537
537
|
f.value.isStacked = !f.value.isStacked, f.value.isStacked ? f.value.useIndividualScale = !0 : f.value.useIndividualScale = l.value.chart.grid.labels.yAxis.useIndividualScale;
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function pa(a) {
|
|
540
540
|
yl.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`));
|
|
541
541
|
}
|
|
542
542
|
function Bo(a, r) {
|
|
@@ -600,7 +600,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
600
600
|
function Ee() {
|
|
601
601
|
return f.value.useIndividualScale && f.value.isStacked ? J.value.line - c.value.width / A.value * 0.1 : J.value.bar;
|
|
602
602
|
}
|
|
603
|
-
function
|
|
603
|
+
function Wl(a) {
|
|
604
604
|
return f.value.useIndividualScale && f.value.isStacked ? a.x + c.value.width / A.value * 0.05 : a.x + J.value.bar / 2;
|
|
605
605
|
}
|
|
606
606
|
function st(a) {
|
|
@@ -616,9 +616,9 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
616
616
|
if (r.createSVGPoint && r.getScreenCTM) {
|
|
617
617
|
const M = r.createSVGPoint();
|
|
618
618
|
M.x = a.clientX, M.y = a.clientY;
|
|
619
|
-
const
|
|
620
|
-
if (
|
|
621
|
-
const y = M.matrixTransform(
|
|
619
|
+
const Y = r.getScreenCTM();
|
|
620
|
+
if (Y) {
|
|
621
|
+
const y = M.matrixTransform(Y.inverse());
|
|
622
622
|
return { x: y.x, y: y.y, ok: !0 };
|
|
623
623
|
}
|
|
624
624
|
}
|
|
@@ -627,23 +627,23 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
627
627
|
}
|
|
628
628
|
let Je = 0;
|
|
629
629
|
function Vo(a) {
|
|
630
|
-
|
|
630
|
+
xl.value || (Je && cancelAnimationFrame(Je), Je = requestAnimationFrame(() => {
|
|
631
631
|
Je = 0;
|
|
632
632
|
const r = nt(a);
|
|
633
633
|
if (!r || !ne.value) {
|
|
634
|
-
|
|
634
|
+
Yl();
|
|
635
635
|
return;
|
|
636
636
|
}
|
|
637
637
|
const { left: e, right: s, top: t, bottom: u, width: o } = c.value;
|
|
638
638
|
if (r.x < e || r.x > s || r.y < t || r.y > u) {
|
|
639
|
-
|
|
639
|
+
Yl();
|
|
640
640
|
return;
|
|
641
641
|
}
|
|
642
642
|
const $ = r.x - e, L = o / A.value, I = Math.floor($ / L);
|
|
643
|
-
I >= 0 && I < A.value ? wl.value !== I && (wl.value = I, kt(!0, I)) :
|
|
643
|
+
I >= 0 && I < A.value ? wl.value !== I && (wl.value = I, kt(!0, I)) : Yl();
|
|
644
644
|
}));
|
|
645
645
|
}
|
|
646
|
-
function
|
|
646
|
+
function Yl() {
|
|
647
647
|
Je && (cancelAnimationFrame(Je), Je = 0), wl.value = null, kt(!1, null);
|
|
648
648
|
}
|
|
649
649
|
function it(a) {
|
|
@@ -725,11 +725,11 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
725
725
|
const r = vt(a);
|
|
726
726
|
r !== null && U.value.includes(r.id) && Xl({ id: r.id });
|
|
727
727
|
}
|
|
728
|
-
function
|
|
728
|
+
function Wo(a) {
|
|
729
729
|
const r = vt(a);
|
|
730
730
|
r !== null && (U.value.includes(r.id) || Xl({ id: r.id }));
|
|
731
731
|
}
|
|
732
|
-
const
|
|
732
|
+
const Yo = g(() => {
|
|
733
733
|
const a = l.value.chart.title.text || "Chart visualization", r = l.value.chart.title.subtitle.text || "";
|
|
734
734
|
return `${a}. ${r}`;
|
|
735
735
|
}), dt = g(() => ({
|
|
@@ -838,12 +838,12 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
838
838
|
return t - M * u;
|
|
839
839
|
};
|
|
840
840
|
return r.map((_) => {
|
|
841
|
-
const { yAxis: { yTop: M, yBottom:
|
|
841
|
+
const { yAxis: { yTop: M, yBottom: Y, label: y } } = _, D = M != null && Y != null && M !== Y, T = M == null ? null : I(M), le = Y == null ? null : I(Y), ce = zo(y.fontSize);
|
|
842
842
|
ce.font = `${y.fontSize}px sans-serif`;
|
|
843
|
-
const Z = ce.measureText(y.text).width, _e = y.fontSize, Be = (y.position === "start" ? e + y.padding?.left : s - y.padding?.right) + y.offsetX,
|
|
843
|
+
const Z = ce.measureText(y.text).width, _e = y.fontSize, Be = (y.position === "start" ? e + y.padding?.left : s - y.padding?.right) + y.offsetX, xe = (T != null && le != null ? Math.min(T, le) : T ?? le) - y.fontSize / 3 + y.offsetY - y.padding?.top;
|
|
844
844
|
let R;
|
|
845
845
|
y.textAnchor === "middle" ? R = Be - Z / 2 - y.padding?.left : y.textAnchor === "end" ? R = Be - Z - y.padding?.right : R = Be - y.padding?.left;
|
|
846
|
-
const E =
|
|
846
|
+
const E = xe - _e * 0.75 - y.padding?.top;
|
|
847
847
|
return {
|
|
848
848
|
show: ![T, le, E].includes(NaN),
|
|
849
849
|
id: `annotation_y_${wa()}`,
|
|
@@ -854,7 +854,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
854
854
|
config: _.yAxis,
|
|
855
855
|
x1: e,
|
|
856
856
|
x2: s,
|
|
857
|
-
_text: { x: Be, y:
|
|
857
|
+
_text: { x: Be, y: xe },
|
|
858
858
|
_box: {
|
|
859
859
|
x: R,
|
|
860
860
|
y: E,
|
|
@@ -877,7 +877,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
877
877
|
const Me = g(() => {
|
|
878
878
|
const a = Qe.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), r = a.length, e = l.value.chart.grid.labels.yAxis.gap, s = f.value.isStacked, t = s ? e * (r - 1) : 0, u = c.value.height - t;
|
|
879
879
|
return a.filter((o) => o.type === "bar").map((o, $) => {
|
|
880
|
-
|
|
880
|
+
pa(o);
|
|
881
881
|
const L = S.value[o.scaleLabel].min, I = S.value[o.scaleLabel].max;
|
|
882
882
|
o.absoluteValues.filter((V) => ![null, void 0].includes(V)).map((V) => (V - L) / (I - L));
|
|
883
883
|
const _ = {
|
|
@@ -886,24 +886,24 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
886
886
|
}, M = {
|
|
887
887
|
max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
|
|
888
888
|
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)))
|
|
889
|
-
},
|
|
890
|
-
const
|
|
889
|
+
}, Y = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, y = 1.0000001, D = l.value.chart.grid.labels.yAxis.useNiceScale ? Tl(M.min, M.max === M.min ? M.max * y : M.max, Y) : al(M.min, M.max === M.min ? M.max * y : M.max, Y), T = l.value.chart.grid.labels.yAxis.useNiceScale ? Tl(_.valueMin, _.valueMax === _.valueMin ? _.valueMax * y : _.valueMax, Y) : al(_.valueMin, _.valueMax === _.valueMin ? _.valueMax * y : _.valueMax, Y), le = D.min >= 0 ? 0 : Math.abs(D.min), ce = 0, Z = D.max + le, _e = T.max + Math.abs(ce), Be = o.stackIndex, cl = r - 1 - Be, xe = s ? 1 - o.cumulatedStackRatio : 0, R = s ? u * xe + e * cl : 0, E = s ? u * o.stackRatio : c.value.height, Q = c.value?.bottom - R - E * le / Z, pe = c.value?.bottom - R - E * ce / _e, ve = oe.value.filter((V) => V.type === "bar").filter((V) => !U.value.includes(V.id)).length, $l = o.series.map((V, j) => {
|
|
890
|
+
const We = f.value.useIndividualScale ? (o.absoluteValues[j] + le) / Z : Ze(V), je = f.value.useIndividualScale && f.value.isStacked ? c.value?.left + c.value.width / A.value * j : c.value?.left + J.value.bar * $ + J.value.bar * j * ve - Zo.value / 2 - $ * Gl.value;
|
|
891
891
|
return {
|
|
892
892
|
yOffset: N(R),
|
|
893
893
|
individualHeight: N(E),
|
|
894
894
|
x: N(je),
|
|
895
|
-
y: c.value?.bottom - R - E *
|
|
895
|
+
y: c.value?.bottom - R - E * We,
|
|
896
896
|
value: o.absoluteValues[j],
|
|
897
897
|
zeroPosition: N(Q),
|
|
898
898
|
individualMax: N(Z),
|
|
899
899
|
comment: o.comments && o.comments.slice(m.value.start, m.value.end)[j] || ""
|
|
900
900
|
};
|
|
901
901
|
}), fe = o.absoluteValues.map((V) => T.min >= 0 ? (V - Math.abs(T.min)) / (T.max - Math.abs(T.min)) : (V + Math.abs(T.min)) / (T.max + Math.abs(T.min))), He = o.series.map((V, j) => {
|
|
902
|
-
const
|
|
902
|
+
const We = f.value.useIndividualScale && f.value.isStacked ? c.value?.left + c.value.width / A.value * j : c.value?.left - J.value.bar / 2 + J.value.bar * $ + J.value.bar * j * oe.value.filter((je) => je.type === "bar").filter((je) => !U.value.includes(je.id)).length;
|
|
903
903
|
return {
|
|
904
904
|
yOffset: N(R),
|
|
905
905
|
individualHeight: N(E),
|
|
906
|
-
x: N(
|
|
906
|
+
x: N(We),
|
|
907
907
|
y: N(c.value?.bottom - N(R) - (N(E) * fe[j] || 0)),
|
|
908
908
|
value: o.absoluteValues[j],
|
|
909
909
|
zeroPosition: N(Q),
|
|
@@ -919,14 +919,14 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
919
919
|
})), K = T.ticks.map((V) => {
|
|
920
920
|
const j = (V - T.min) / (T.max - T.min);
|
|
921
921
|
return {
|
|
922
|
-
y: V >= 0 ?
|
|
922
|
+
y: V >= 0 ? pe - E * j : pe + E * j,
|
|
923
923
|
value: V,
|
|
924
924
|
prefix: o.prefix || l.value.chart.labels.prefix,
|
|
925
925
|
suffix: o.suffix || l.value.chart.labels.suffix,
|
|
926
926
|
datapoint: o
|
|
927
927
|
};
|
|
928
928
|
});
|
|
929
|
-
return S.value[o.scaleLabel].name = o.name, S.value[o.scaleLabel].groupName = o.scaleLabel, S.value[o.scaleLabel].groupColor = l.value.chart.grid.labels.yAxis.groupColor || o.color, S.value[o.scaleLabel].color = o.color, S.value[o.scaleLabel].scaleYLabels = o.autoScaling ? K : X, S.value[o.scaleLabel].zeroPosition = o.autoScaling ?
|
|
929
|
+
return S.value[o.scaleLabel].name = o.name, S.value[o.scaleLabel].groupName = o.scaleLabel, S.value[o.scaleLabel].groupColor = l.value.chart.grid.labels.yAxis.groupColor || o.color, S.value[o.scaleLabel].color = o.color, S.value[o.scaleLabel].scaleYLabels = o.autoScaling ? K : X, S.value[o.scaleLabel].zeroPosition = o.autoScaling ? pe : Q, S.value[o.scaleLabel].individualMax = o.autoScaling ? _e : Z, S.value[o.scaleLabel].scaleLabel = o.scaleLabel, S.value[o.scaleLabel].id = o.id, S.value[o.scaleLabel].yOffset = R, S.value[o.scaleLabel].individualHeight = E, S.value[o.scaleLabel].autoScaleYLabels = K, S.value[o.scaleLabel].unique = Qe.value.filter((V) => V.scaleLabel === o.scaleLabel).length === 1, {
|
|
930
930
|
...o,
|
|
931
931
|
yOffset: R,
|
|
932
932
|
autoScaleYLabels: K,
|
|
@@ -934,7 +934,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
934
934
|
scaleYLabels: o.autoScaling ? K : X,
|
|
935
935
|
individualScale: o.autoScaling ? T : D,
|
|
936
936
|
individualMax: o.autoScaling ? _e : Z,
|
|
937
|
-
zeroPosition: o.autoScaling ?
|
|
937
|
+
zeroPosition: o.autoScaling ? pe : Q,
|
|
938
938
|
plots: o.autoScaling ? He : $l,
|
|
939
939
|
groupId: S.value[o.scaleLabel].groupId
|
|
940
940
|
};
|
|
@@ -942,7 +942,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
942
942
|
}), re = g(() => {
|
|
943
943
|
const a = Qe.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), r = a.length, e = l.value.chart.grid.labels.yAxis.gap, s = f.value.isStacked, t = s ? e * (r - 1) : 0, u = c.value.height - t;
|
|
944
944
|
return a.filter((o) => o.type === "line").map((o, $) => {
|
|
945
|
-
|
|
945
|
+
pa(o);
|
|
946
946
|
const L = S.value[o.scaleLabel].min, I = S.value[o.scaleLabel].max;
|
|
947
947
|
o.absoluteValues.filter((B) => ![null, void 0].includes(B)).map((B) => (B - L) / (I - L));
|
|
948
948
|
const _ = {
|
|
@@ -951,7 +951,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
951
951
|
}, M = {
|
|
952
952
|
max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
|
|
953
953
|
min: o.scaleMin || (Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues))
|
|
954
|
-
},
|
|
954
|
+
}, Y = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, y = 1.0000001, D = l.value.chart.grid.labels.yAxis.useNiceScale ? Tl(M.min, M.max === M.min ? M.max * y : M.max, Y) : al(M.min, M.max === M.min ? M.max * y : M.max, Y), T = l.value.chart.grid.labels.yAxis.useNiceScale ? Tl(_.valueMin, _.valueMax === _.valueMin ? _.valueMax * y : _.valueMax, Y) : al(_.valueMin, _.valueMax === _.valueMin ? _.valueMax * y : _.valueMax, Y), le = D.min >= 0 ? 0 : Math.abs(D.min), ce = 0, Z = D.max + Math.abs(le), _e = T.max + Math.abs(ce), Be = o.stackIndex, cl = r - 1 - Be, xe = s ? 1 - o.cumulatedStackRatio : 0, R = s ? u * xe + e * cl : 0, E = s ? u * o.stackRatio : c.value.height, Q = c.value?.bottom - R - E * le / Z, pe = c.value?.bottom - R - E * ce / _e, ve = o.series.map((B, se) => {
|
|
955
955
|
const ir = f.value.useIndividualScale ? (o.absoluteValues[se] + Math.abs(le)) / Z : Ze(B);
|
|
956
956
|
return {
|
|
957
957
|
x: N(c.value?.left + J.value.line / 2 + J.value.line * se),
|
|
@@ -975,20 +975,20 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
975
975
|
prefix: o.prefix || l.value.chart.labels.prefix,
|
|
976
976
|
suffix: o.suffix || l.value.chart.labels.suffix,
|
|
977
977
|
datapoint: o
|
|
978
|
-
})),
|
|
978
|
+
})), We = T.ticks.map((B) => {
|
|
979
979
|
const se = (B - T.min) / (T.max - T.min);
|
|
980
980
|
return {
|
|
981
|
-
y: B >= 0 ?
|
|
981
|
+
y: B >= 0 ? pe - E * se : pe + E * se,
|
|
982
982
|
value: B,
|
|
983
983
|
prefix: o.prefix || l.value.chart.labels.prefix,
|
|
984
984
|
suffix: o.suffix || l.value.chart.labels.suffix,
|
|
985
985
|
datapoint: o
|
|
986
986
|
};
|
|
987
987
|
});
|
|
988
|
-
S.value[o.scaleLabel].name = o.name, S.value[o.scaleLabel].groupName = o.scaleLabel, S.value[o.scaleLabel].groupColor = l.value.chart.grid.labels.yAxis.groupColor || o.color, S.value[o.scaleLabel].color = o.color, S.value[o.scaleLabel].scaleYLabels = o.autoScaling ?
|
|
989
|
-
const je = f.value.useIndividualScale ? o.autoScaling ?
|
|
988
|
+
S.value[o.scaleLabel].name = o.name, S.value[o.scaleLabel].groupName = o.scaleLabel, S.value[o.scaleLabel].groupColor = l.value.chart.grid.labels.yAxis.groupColor || o.color, S.value[o.scaleLabel].color = o.color, S.value[o.scaleLabel].scaleYLabels = o.autoScaling ? We : j, S.value[o.scaleLabel].zeroPosition = o.autoScaling ? pe : Q, S.value[o.scaleLabel].individualMax = o.autoScaling ? _e : Z, S.value[o.scaleLabel].scaleLabel = o.scaleLabel, S.value[o.scaleLabel].id = o.id, S.value[o.scaleLabel].yOffset = R, S.value[o.scaleLabel].individualHeight = E, S.value[o.scaleLabel].autoScaleYLabels = We, S.value[o.scaleLabel].unique = Qe.value.filter((B) => B.scaleLabel === o.scaleLabel).length === 1;
|
|
989
|
+
const je = f.value.useIndividualScale ? o.autoScaling ? pe : Q : wo.value, Ll = Math.max(
|
|
990
990
|
Math.max(
|
|
991
|
-
o.autoScaling ?
|
|
991
|
+
o.autoScaling ? pe : j.at(-1) ? j.at(-1).y : 0,
|
|
992
992
|
c.value?.top
|
|
993
993
|
),
|
|
994
994
|
je
|
|
@@ -996,21 +996,21 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
996
996
|
return {
|
|
997
997
|
...o,
|
|
998
998
|
yOffset: R,
|
|
999
|
-
autoScaleYLabels:
|
|
999
|
+
autoScaleYLabels: We,
|
|
1000
1000
|
individualHeight: E,
|
|
1001
|
-
scaleYLabels: o.autoScaling ?
|
|
1001
|
+
scaleYLabels: o.autoScaling ? We : j,
|
|
1002
1002
|
individualScale: o.autoScaling ? T : D,
|
|
1003
1003
|
individualMax: o.autoScaling ? _e : Z,
|
|
1004
|
-
zeroPosition: o.autoScaling ?
|
|
1004
|
+
zeroPosition: o.autoScaling ? pe : Q,
|
|
1005
1005
|
curve: o.autoScaling ? X : He,
|
|
1006
1006
|
plots: o.autoScaling ? fe : ve,
|
|
1007
1007
|
area: o.useArea ? f.value.useIndividualScale ? l.value.line.cutNullValues ? Ht(
|
|
1008
1008
|
o.autoScaling ? fe : ve,
|
|
1009
1009
|
Ll
|
|
1010
|
-
) :
|
|
1010
|
+
) : Wt(
|
|
1011
1011
|
o.autoScaling ? fe.filter((B) => B.value !== null) : ve.filter((B) => B.value !== null),
|
|
1012
1012
|
Ll
|
|
1013
|
-
) : l.value.line.cutNullValues ? Ht(ve, Ll) :
|
|
1013
|
+
) : l.value.line.cutNullValues ? Ht(ve, Ll) : Wt(ve.filter((B) => B.value !== null), Ll) : "",
|
|
1014
1014
|
curveAreas: o.useArea ? kr(
|
|
1015
1015
|
o.autoScaling ? l.value.line.cutNullValues ? fe : fe.filter((B) => B.value !== null) : l.value.line.cutNullValues ? ve : ve.filter((B) => B.value !== null),
|
|
1016
1016
|
Ll,
|
|
@@ -1023,7 +1023,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1023
1023
|
}), be = g(() => {
|
|
1024
1024
|
const a = Qe.value.filter((o) => ["bar", "line", "plot"].includes(o.type)), r = a.length, e = l.value.chart.grid.labels.yAxis.gap, s = f.value.isStacked, t = s ? e * (r - 1) : 0, u = c.value.height - t;
|
|
1025
1025
|
return a.filter((o) => o.type === "plot").map((o) => {
|
|
1026
|
-
|
|
1026
|
+
pa(o);
|
|
1027
1027
|
const $ = S.value[o.scaleLabel].min, L = S.value[o.scaleLabel].max;
|
|
1028
1028
|
o.absoluteValues.filter((X) => ![null, void 0].includes(X)).map((X) => (X - $) / (L - $));
|
|
1029
1029
|
const I = {
|
|
@@ -1032,17 +1032,17 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1032
1032
|
}, _ = {
|
|
1033
1033
|
max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
|
|
1034
1034
|
min: o.scaleMin || Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues)
|
|
1035
|
-
}, M = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps,
|
|
1035
|
+
}, M = o.scaleSteps || l.value.chart.grid.labels.yAxis.commonScaleSteps, Y = 1.0000001, y = al(_.min, _.max === _.min ? _.max * Y : _.max, M), D = al(I.valueMin, I.valueMax === I.valueMin ? I.valueMax * Y : I.valueMax, M), T = y.min >= 0 ? 0 : Math.abs(y.min), le = 0, ce = y.max + T, Z = D.max + Math.abs(le), _e = o.stackIndex, Be = r - 1 - _e, cl = s ? 1 - o.cumulatedStackRatio : 0, xe = s ? u * cl + e * Be : 0, R = s ? u * o.stackRatio : c.value.height, E = c.value?.bottom - xe - R * T / ce, Q = c.value?.bottom - xe - R * le / Z, pe = o.series.map((X, K) => {
|
|
1036
1036
|
const V = f.value.useIndividualScale ? (o.absoluteValues[K] + Math.abs(T)) / ce : Ze(X);
|
|
1037
1037
|
return {
|
|
1038
1038
|
x: N(c.value?.left + J.value.plot / 2 + J.value.plot * K),
|
|
1039
|
-
y: N(c.value?.bottom -
|
|
1039
|
+
y: N(c.value?.bottom - xe - R * V),
|
|
1040
1040
|
value: o.absoluteValues[K],
|
|
1041
1041
|
comment: o.comments && o.comments.slice(m.value.start, m.value.end)[K] || ""
|
|
1042
1042
|
};
|
|
1043
1043
|
}), ve = o.absoluteValues.map((X) => D.min >= 0 ? (X - Math.abs(D.min)) / (D.max - Math.abs(D.min)) : (X + Math.abs(D.min)) / (D.max + Math.abs(D.min))), $l = o.series.map((X, K) => ({
|
|
1044
1044
|
x: N(c.value?.left + J.value.plot / 2 + J.value.plot * K),
|
|
1045
|
-
y: N(c.value?.bottom -
|
|
1045
|
+
y: N(c.value?.bottom - xe - (R * ve[K] || 0)),
|
|
1046
1046
|
value: o.absoluteValues[K],
|
|
1047
1047
|
comment: o.comments && o.comments.slice(m.value.start, m.value.end)[K] || ""
|
|
1048
1048
|
})), fe = y.ticks.map((X) => ({
|
|
@@ -1061,16 +1061,16 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1061
1061
|
datapoint: o
|
|
1062
1062
|
};
|
|
1063
1063
|
});
|
|
1064
|
-
return S.value[o.scaleLabel].name = o.name, S.value[o.scaleLabel].groupName = o.scaleLabel, S.value[o.scaleLabel].groupColor = l.value.chart.grid.labels.yAxis.groupColor || o.color, S.value[o.scaleLabel].color = o.color, S.value[o.scaleLabel].scaleYLabels = o.autoScaling ? He : fe, S.value[o.scaleLabel].zeroPosition = o.autoScaling ? Q : E, S.value[o.scaleLabel].individualMax = o.autoScaling ? Z : ce, S.value[o.scaleLabel].scaleLabel = o.scaleLabel, S.value[o.scaleLabel].id = o.id, S.value[o.scaleLabel].yOffset =
|
|
1064
|
+
return S.value[o.scaleLabel].name = o.name, S.value[o.scaleLabel].groupName = o.scaleLabel, S.value[o.scaleLabel].groupColor = l.value.chart.grid.labels.yAxis.groupColor || o.color, S.value[o.scaleLabel].color = o.color, S.value[o.scaleLabel].scaleYLabels = o.autoScaling ? He : fe, S.value[o.scaleLabel].zeroPosition = o.autoScaling ? Q : E, S.value[o.scaleLabel].individualMax = o.autoScaling ? Z : ce, S.value[o.scaleLabel].scaleLabel = o.scaleLabel, S.value[o.scaleLabel].id = o.id, S.value[o.scaleLabel].yOffset = xe, S.value[o.scaleLabel].individualHeight = R, S.value[o.scaleLabel].autoScaleYLabels = He, S.value[o.scaleLabel].unique = Qe.value.filter((X) => X.scaleLabel === o.scaleLabel).length === 1, {
|
|
1065
1065
|
...o,
|
|
1066
|
-
yOffset:
|
|
1066
|
+
yOffset: xe,
|
|
1067
1067
|
autoScaleYLabels: He,
|
|
1068
1068
|
individualHeight: R,
|
|
1069
1069
|
scaleYLabels: o.autoScaling ? He : fe,
|
|
1070
1070
|
individualScale: o.autoScaling ? D : y,
|
|
1071
1071
|
individualMax: o.autoScaling ? Z : ce,
|
|
1072
1072
|
zeroPosition: o.autoScaling ? Q : E,
|
|
1073
|
-
plots: o.autoScaling ? $l :
|
|
1073
|
+
plots: o.autoScaling ? $l : pe,
|
|
1074
1074
|
groupId: S.value[o.scaleLabel].groupId
|
|
1075
1075
|
};
|
|
1076
1076
|
});
|
|
@@ -1160,7 +1160,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1160
1160
|
s.push({ ...y, key: `inter_${o}_${$}_${u}_${D}` });
|
|
1161
1161
|
});
|
|
1162
1162
|
}), s;
|
|
1163
|
-
}),
|
|
1163
|
+
}), xt = g(() => ({
|
|
1164
1164
|
datapoint: Ke.value,
|
|
1165
1165
|
seriesIndex: k.value,
|
|
1166
1166
|
series: oe.value,
|
|
@@ -1178,13 +1178,13 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1178
1178
|
const u = l.value.chart.grid.labels.xAxisLabels.values?.[e];
|
|
1179
1179
|
return u == null ? "" : r.formatDate(new Date(u), s);
|
|
1180
1180
|
};
|
|
1181
|
-
}),
|
|
1181
|
+
}), pt = g(() => (l.value.chart.grid.labels.xAxisLabels.values || []).map((r, e) => ({
|
|
1182
1182
|
text: il.value(e, l.value.chart.zoom.timeFormat),
|
|
1183
1183
|
absoluteIndex: e
|
|
1184
1184
|
}))), Ko = g(() => {
|
|
1185
1185
|
let a = "", r = Ke.value.map((t) => t.value).filter((t) => Kl(t) && t !== null).reduce((t, u) => Math.abs(t) + Math.abs(u), 0);
|
|
1186
1186
|
const e = he.value[k.value], s = l.value.chart.tooltip.customFormat;
|
|
1187
|
-
if (
|
|
1187
|
+
if (Yt(s) && _r(() => s({
|
|
1188
1188
|
absoluteIndex: k.value + m.value.start,
|
|
1189
1189
|
seriesIndex: k.value,
|
|
1190
1190
|
datapoint: Ke.value,
|
|
@@ -1346,28 +1346,28 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1346
1346
|
}
|
|
1347
1347
|
function St() {
|
|
1348
1348
|
if (!l.value.responsiveProportionalSizing) {
|
|
1349
|
-
|
|
1349
|
+
p.value.dataLabels = l.value.chart.grid.labels.fontSize, p.value.yAxis = l.value.chart.grid.labels.axis.fontSize, p.value.xAxis = l.value.chart.grid.labels.xAxisLabels.fontSize, p.value.plotLabels = l.value.chart.labels.fontSize, Se.value.plot = l.value.plot.radius, Se.value.line = l.value.line.radius;
|
|
1350
1350
|
return;
|
|
1351
1351
|
}
|
|
1352
|
-
|
|
1352
|
+
p.value.dataLabels = dl({
|
|
1353
1353
|
relator: de.value,
|
|
1354
1354
|
adjuster: 400,
|
|
1355
1355
|
source: l.value.chart.grid.labels.fontSize,
|
|
1356
1356
|
threshold: 10,
|
|
1357
1357
|
fallback: 10
|
|
1358
|
-
}),
|
|
1358
|
+
}), p.value.yAxis = dl({
|
|
1359
1359
|
relator: ee.value,
|
|
1360
1360
|
adjuster: 1e3,
|
|
1361
1361
|
source: l.value.chart.grid.labels.axis.fontSize,
|
|
1362
1362
|
threshold: 10,
|
|
1363
1363
|
fallback: 10
|
|
1364
|
-
}),
|
|
1364
|
+
}), p.value.xAxis = dl({
|
|
1365
1365
|
relator: ee.value,
|
|
1366
1366
|
adjuster: 1e3,
|
|
1367
1367
|
source: l.value.chart.grid.labels.xAxisLabels.fontSize,
|
|
1368
1368
|
threshold: 10,
|
|
1369
1369
|
fallback: 10
|
|
1370
|
-
}),
|
|
1370
|
+
}), p.value.plotLabels = dl({
|
|
1371
1371
|
relator: ee.value,
|
|
1372
1372
|
adjuster: 800,
|
|
1373
1373
|
source: l.value.chart.labels.fontSize,
|
|
@@ -1420,20 +1420,20 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1420
1420
|
l.value.chart.legend.show && ol.value && (I = ol.value, _ = I.getBoundingClientRect().height);
|
|
1421
1421
|
let M = 0;
|
|
1422
1422
|
gl.value && (M = gl.value.getBoundingClientRect().height);
|
|
1423
|
-
let
|
|
1424
|
-
ml.value && (
|
|
1423
|
+
let Y = 0;
|
|
1424
|
+
ml.value && (Y = ml.value.getBoundingClientRect().height), de.value = s - o - _ - L - M - Y - a, ee.value = t, Fl.value = `0 0 ${ee.value < 0 ? 10 : ee.value} ${de.value < 0 ? 10 : de.value}`, St();
|
|
1425
1425
|
const y = new ResizeObserver((D) => {
|
|
1426
1426
|
for (const T of D)
|
|
1427
|
-
l.value.chart.title.show && fl.value ? o = fl.value.getBoundingClientRect().height : o = 0, Ie.value && Ie.value.$el ? L = Ie.value.$el.getBoundingClientRect().height : L = 0, ol.value ? _ = ol.value.getBoundingClientRect().height : _ = 0, gl.value ? M = gl.value.getBoundingClientRect().height : M = 0, ml.value ?
|
|
1428
|
-
de.value = T.contentRect.height - o - _ - L - M -
|
|
1427
|
+
l.value.chart.title.show && fl.value ? o = fl.value.getBoundingClientRect().height : o = 0, Ie.value && Ie.value.$el ? L = Ie.value.$el.getBoundingClientRect().height : L = 0, ol.value ? _ = ol.value.getBoundingClientRect().height : _ = 0, gl.value ? M = gl.value.getBoundingClientRect().height : M = 0, ml.value ? Y = ml.value.getBoundingClientRect().height : Y = 0, requestAnimationFrame(() => {
|
|
1428
|
+
de.value = T.contentRect.height - o - _ - L - M - Y - a, ee.value = T.contentBoxSize[0].inlineSize, Fl.value = `0 0 ${ee.value < 0 ? 10 : ee.value} ${de.value < 0 ? 10 : de.value}`, St();
|
|
1429
1429
|
});
|
|
1430
1430
|
});
|
|
1431
1431
|
Ve.value = y, ua.value = e, y.observe(e);
|
|
1432
1432
|
} else
|
|
1433
|
-
de.value = l.value.chart.height, ee.value = l.value.chart.width,
|
|
1433
|
+
de.value = l.value.chart.height, ee.value = l.value.chart.width, p.value.dataLabels = l.value.chart.grid.labels.fontSize, p.value.yAxis = l.value.chart.grid.labels.axis.fontSize, p.value.xAxis = l.value.chart.grid.labels.xAxisLabels.fontSize, p.value.plotLabels = l.value.chart.labels.fontSize, Se.value.plot = l.value.plot.radius, Se.value.line = l.value.line.radius, Fl.value = `0 0 ${ee.value} ${de.value}`;
|
|
1434
1434
|
}
|
|
1435
1435
|
function $t(a) {
|
|
1436
|
-
|
|
1436
|
+
xo.value = {
|
|
1437
1437
|
x: a.clientX,
|
|
1438
1438
|
y: a.clientY
|
|
1439
1439
|
};
|
|
@@ -1492,7 +1492,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1492
1492
|
const ar = g(() => {
|
|
1493
1493
|
if ([null, void 0].includes(k.value) && [null, void 0].includes(O.value)) return "";
|
|
1494
1494
|
const a = (k.value != null ? k.value : 0) || (O.value != null ? O.value : 0), r = l.value.chart.timeTag.customFormat;
|
|
1495
|
-
if (Jl.value = !1,
|
|
1495
|
+
if (Jl.value = !1, Yt(r))
|
|
1496
1496
|
try {
|
|
1497
1497
|
const e = r({
|
|
1498
1498
|
absoluteIndex: a + m.value.start,
|
|
@@ -1595,11 +1595,11 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1595
1595
|
return to({
|
|
1596
1596
|
getData: Po,
|
|
1597
1597
|
getImage: Ro,
|
|
1598
|
-
generatePdf:
|
|
1599
|
-
generateImage:
|
|
1598
|
+
generatePdf: Wa,
|
|
1599
|
+
generateImage: Ya,
|
|
1600
1600
|
generateSvg: It,
|
|
1601
1601
|
generateCsv: ya,
|
|
1602
|
-
hideSeries:
|
|
1602
|
+
hideSeries: Wo,
|
|
1603
1603
|
showSeries: Ho,
|
|
1604
1604
|
toggleStack: et,
|
|
1605
1605
|
toggleTable: Ct,
|
|
@@ -1622,7 +1622,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1622
1622
|
svgRef: ne.value,
|
|
1623
1623
|
backgroundColor: l.value.chart.backgroundColor,
|
|
1624
1624
|
color: l.value.chart.color,
|
|
1625
|
-
active:
|
|
1625
|
+
active: xl.value,
|
|
1626
1626
|
onClose: ma
|
|
1627
1627
|
}, {
|
|
1628
1628
|
"annotator-action-close": G(() => [
|
|
@@ -1673,7 +1673,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1673
1673
|
}
|
|
1674
1674
|
}, null, 8, ["config"]))
|
|
1675
1675
|
], 4)) : d("", !0),
|
|
1676
|
-
|
|
1676
|
+
x("div", {
|
|
1677
1677
|
id: `legend-top-${H.value}`
|
|
1678
1678
|
}, null, 8, Gr),
|
|
1679
1679
|
l.value.chart.userOptions.show && (ia.value || Bl.value) ? (n(), we(v(uo), {
|
|
@@ -1701,14 +1701,14 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1701
1701
|
isTooltip: f.value.showTooltip,
|
|
1702
1702
|
titles: { ...l.value.chart.userOptions.buttonTitles },
|
|
1703
1703
|
hasAnnotator: l.value.chart.userOptions.buttons.annotator,
|
|
1704
|
-
isAnnotation:
|
|
1704
|
+
isAnnotation: xl.value,
|
|
1705
1705
|
callbacks: l.value.chart.userOptions.callbacks,
|
|
1706
1706
|
tableDialog: l.value.table.useDialog,
|
|
1707
1707
|
printScale: l.value.chart.userOptions.print.scale,
|
|
1708
1708
|
onToggleFullscreen: At,
|
|
1709
|
-
onGeneratePdf: v(
|
|
1709
|
+
onGeneratePdf: v(Wa),
|
|
1710
1710
|
onGenerateCsv: ya,
|
|
1711
|
-
onGenerateImage: v(
|
|
1711
|
+
onGenerateImage: v(Ya),
|
|
1712
1712
|
onGenerateSvg: It,
|
|
1713
1713
|
onToggleTable: Ct,
|
|
1714
1714
|
onToggleLabels: _t,
|
|
@@ -1809,15 +1809,15 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1809
1809
|
color: l.value.chart.color,
|
|
1810
1810
|
fontFamily: l.value.chart.fontFamily
|
|
1811
1811
|
}),
|
|
1812
|
-
"aria-label":
|
|
1812
|
+
"aria-label": Yo.value,
|
|
1813
1813
|
role: "img",
|
|
1814
1814
|
"aria-live": "polite",
|
|
1815
1815
|
preserveAspectRatio: "xMidYMid",
|
|
1816
1816
|
onMousemove: Vo,
|
|
1817
|
-
onMouseleave:
|
|
1817
|
+
onMouseleave: Yl,
|
|
1818
1818
|
onClick: it
|
|
1819
1819
|
}, [
|
|
1820
|
-
|
|
1820
|
+
x("g", {
|
|
1821
1821
|
ref_key: "G",
|
|
1822
1822
|
ref: mo,
|
|
1823
1823
|
class: "vue-data-ui-g"
|
|
@@ -1836,15 +1836,15 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1836
1836
|
P(a.$slots, "chart-background", {}, void 0, !0)
|
|
1837
1837
|
], 8, qr)) : d("", !0),
|
|
1838
1838
|
A.value > 0 ? (n(), i("g", Zr, [
|
|
1839
|
-
|
|
1839
|
+
x("g", Jr, [
|
|
1840
1840
|
l.value.chart.grid.labels.xAxis.showBaseline ? (n(), i("line", {
|
|
1841
1841
|
key: 0,
|
|
1842
1842
|
stroke: l.value.chart.grid.stroke,
|
|
1843
1843
|
"stroke-width": "1",
|
|
1844
1844
|
x1: c.value?.left + q.value,
|
|
1845
1845
|
x2: c.value?.right - q.value,
|
|
1846
|
-
y1: v(
|
|
1847
|
-
y2: v(
|
|
1846
|
+
y1: v(W)(c.value?.bottom),
|
|
1847
|
+
y2: v(W)(c.value?.bottom),
|
|
1848
1848
|
"stroke-linecap": "round",
|
|
1849
1849
|
style: { animation: "none !important" }
|
|
1850
1850
|
}, null, 8, Qr)) : d("", !0),
|
|
@@ -1852,8 +1852,8 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1852
1852
|
e.id === z.value && e.yLabels.length ? (n(!0), i(h, { key: 0 }, C(e.yLabels, (s) => (n(), i("line", {
|
|
1853
1853
|
x1: c.value?.left + q.value,
|
|
1854
1854
|
x2: c.value?.right - q.value,
|
|
1855
|
-
y1: v(
|
|
1856
|
-
y2: v(
|
|
1855
|
+
y1: v(W)(s.y),
|
|
1856
|
+
y2: v(W)(s.y),
|
|
1857
1857
|
stroke: e.color,
|
|
1858
1858
|
"stroke-width": 0.5,
|
|
1859
1859
|
"stroke-linecap": "round",
|
|
@@ -1861,8 +1861,8 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1861
1861
|
}, null, 8, ls))), 256)) : e.yLabels.length ? (n(!0), i(h, { key: 1 }, C(e.yLabels, (s) => (n(), i("line", {
|
|
1862
1862
|
x1: c.value?.left + q.value,
|
|
1863
1863
|
x2: c.value?.right - q.value,
|
|
1864
|
-
y1: v(
|
|
1865
|
-
y2: v(
|
|
1864
|
+
y1: v(W)(s.y),
|
|
1865
|
+
y2: v(W)(s.y),
|
|
1866
1866
|
stroke: l.value.chart.grid.stroke,
|
|
1867
1867
|
"stroke-width": 0.5,
|
|
1868
1868
|
"stroke-linecap": "round",
|
|
@@ -1875,8 +1875,8 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1875
1875
|
"stroke-width": "1",
|
|
1876
1876
|
x1: c.value?.left + q.value,
|
|
1877
1877
|
x2: c.value?.left + q.value,
|
|
1878
|
-
y1: v(
|
|
1879
|
-
y2: v(
|
|
1878
|
+
y1: v(W)(c.value?.top),
|
|
1879
|
+
y2: v(W)(c.value?.bottom),
|
|
1880
1880
|
"stroke-linecap": "round",
|
|
1881
1881
|
style: { animation: "none !important" }
|
|
1882
1882
|
}, null, 8, Kr)) : d("", !0),
|
|
@@ -1884,8 +1884,8 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1884
1884
|
(n(!0), i(h, null, C(ft.value, (e) => (n(), i("line", {
|
|
1885
1885
|
x1: c.value?.left + q.value,
|
|
1886
1886
|
x2: c.value?.right,
|
|
1887
|
-
y1: v(
|
|
1888
|
-
y2: v(
|
|
1887
|
+
y1: v(W)(e.y),
|
|
1888
|
+
y2: v(W)(e.y),
|
|
1889
1889
|
stroke: l.value.chart.grid.stroke,
|
|
1890
1890
|
"stroke-width": 0.5,
|
|
1891
1891
|
"stroke-linecap": "round",
|
|
@@ -1894,7 +1894,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1894
1894
|
])) : d("", !0)
|
|
1895
1895
|
], 64)),
|
|
1896
1896
|
l.value.chart.grid.showVerticalLines ? (n(), i("g", ts, [
|
|
1897
|
-
|
|
1897
|
+
x("path", {
|
|
1898
1898
|
d: Mo.value,
|
|
1899
1899
|
"stroke-width": 0.5,
|
|
1900
1900
|
stroke: l.value.chart.grid.stroke,
|
|
@@ -1903,7 +1903,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1903
1903
|
}, null, 8, os)
|
|
1904
1904
|
])) : d("", !0),
|
|
1905
1905
|
l.value.chart.grid.labels.xAxisLabels.show ? (n(), i("g", rs, [
|
|
1906
|
-
|
|
1906
|
+
x("path", {
|
|
1907
1907
|
d: To.value,
|
|
1908
1908
|
stroke: l.value.chart.grid.stroke,
|
|
1909
1909
|
"stroke-width": 1,
|
|
@@ -1919,38 +1919,38 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1919
1919
|
key: 0,
|
|
1920
1920
|
ref_for: !0
|
|
1921
1921
|
}, { series: e, positiveId: `rectGradient_pos_${s}_${H.value}`, negativeId: `rectGradient_neg_${s}_${H.value}` }), void 0, !0) : (n(), i(h, { key: 1 }, [
|
|
1922
|
-
|
|
1922
|
+
x("linearGradient", {
|
|
1923
1923
|
id: `rectGradient_pos_${s}_${H.value}`,
|
|
1924
1924
|
x2: "0%",
|
|
1925
1925
|
y2: "100%"
|
|
1926
1926
|
}, [
|
|
1927
|
-
|
|
1927
|
+
x("stop", {
|
|
1928
1928
|
offset: "0%",
|
|
1929
1929
|
"stop-color": e.color
|
|
1930
1930
|
}, null, 8, ns),
|
|
1931
|
-
|
|
1931
|
+
x("stop", {
|
|
1932
1932
|
offset: "62%",
|
|
1933
1933
|
"stop-color": `${v(tl)(e.color, 0.02)}`
|
|
1934
1934
|
}, null, 8, is),
|
|
1935
|
-
|
|
1935
|
+
x("stop", {
|
|
1936
1936
|
offset: "100%",
|
|
1937
1937
|
"stop-color": `${v(tl)(e.color, 0.05)}`
|
|
1938
1938
|
}, null, 8, cs)
|
|
1939
1939
|
], 8, us),
|
|
1940
|
-
|
|
1940
|
+
x("linearGradient", {
|
|
1941
1941
|
id: `rectGradient_neg_${s}_${H.value}`,
|
|
1942
1942
|
x2: "0%",
|
|
1943
1943
|
y2: "100%"
|
|
1944
1944
|
}, [
|
|
1945
|
-
|
|
1945
|
+
x("stop", {
|
|
1946
1946
|
offset: "0%",
|
|
1947
1947
|
"stop-color": `${v(tl)(e.color, 0.05)}`
|
|
1948
1948
|
}, null, 8, ds),
|
|
1949
|
-
|
|
1949
|
+
x("stop", {
|
|
1950
1950
|
offset: "38%",
|
|
1951
1951
|
"stop-color": `${v(tl)(e.color, 0.02)}`
|
|
1952
1952
|
}, null, 8, hs),
|
|
1953
|
-
|
|
1953
|
+
x("stop", {
|
|
1954
1954
|
offset: "100%",
|
|
1955
1955
|
"stop-color": e.color
|
|
1956
1956
|
}, null, 8, fs)
|
|
@@ -1960,7 +1960,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1960
1960
|
(n(!0), i(h, null, C(be.value, (e, s) => (n(), i("defs", {
|
|
1961
1961
|
key: `def_plot_${s}`
|
|
1962
1962
|
}, [
|
|
1963
|
-
|
|
1963
|
+
x("radialGradient", {
|
|
1964
1964
|
id: `plotGradient_${s}_${H.value}`,
|
|
1965
1965
|
cx: "50%",
|
|
1966
1966
|
cy: "50%",
|
|
@@ -1968,11 +1968,11 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1968
1968
|
fx: "50%",
|
|
1969
1969
|
fy: "50%"
|
|
1970
1970
|
}, [
|
|
1971
|
-
|
|
1971
|
+
x("stop", {
|
|
1972
1972
|
offset: "0%",
|
|
1973
1973
|
"stop-color": `${v(tl)(e.color, 0.05)}`
|
|
1974
1974
|
}, null, 8, ms),
|
|
1975
|
-
|
|
1975
|
+
x("stop", {
|
|
1976
1976
|
offset: "100%",
|
|
1977
1977
|
"stop-color": e.color
|
|
1978
1978
|
}, null, 8, bs)
|
|
@@ -1981,7 +1981,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1981
1981
|
(n(!0), i(h, null, C(re.value, (e, s) => (n(), i("defs", {
|
|
1982
1982
|
key: `def_line_${e.id}`
|
|
1983
1983
|
}, [
|
|
1984
|
-
|
|
1984
|
+
x("radialGradient", {
|
|
1985
1985
|
id: `lineGradient_${s}_${H.value}`,
|
|
1986
1986
|
cx: "50%",
|
|
1987
1987
|
cy: "50%",
|
|
@@ -1989,15 +1989,15 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
1989
1989
|
fx: "50%",
|
|
1990
1990
|
fy: "50%"
|
|
1991
1991
|
}, [
|
|
1992
|
-
|
|
1992
|
+
x("stop", {
|
|
1993
1993
|
offset: "0%",
|
|
1994
1994
|
"stop-color": `${v(tl)(e.color, 0.05)}`
|
|
1995
|
-
}, null, 8,
|
|
1996
|
-
|
|
1995
|
+
}, null, 8, ps),
|
|
1996
|
+
x("stop", {
|
|
1997
1997
|
offset: "100%",
|
|
1998
1998
|
"stop-color": e.color
|
|
1999
1999
|
}, null, 8, ys)
|
|
2000
|
-
], 8,
|
|
2000
|
+
], 8, xs),
|
|
2001
2001
|
a.$slots["area-gradient"] ? P(a.$slots, "area-gradient", ll({
|
|
2002
2002
|
key: 0,
|
|
2003
2003
|
ref_for: !0
|
|
@@ -2009,11 +2009,11 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2009
2009
|
y1: "0%",
|
|
2010
2010
|
y2: "0%"
|
|
2011
2011
|
}, [
|
|
2012
|
-
|
|
2012
|
+
x("stop", {
|
|
2013
2013
|
offset: "0%",
|
|
2014
2014
|
"stop-color": `${v(Te)(v(tl)(e.color, 0.03), l.value.line.area.opacity)}`
|
|
2015
2015
|
}, null, 8, Cs),
|
|
2016
|
-
|
|
2016
|
+
x("stop", {
|
|
2017
2017
|
offset: "100%",
|
|
2018
2018
|
"stop-color": `${v(Te)(e.color, l.value.line.area.opacity)}`
|
|
2019
2019
|
}, null, 8, _s)
|
|
@@ -2022,7 +2022,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2022
2022
|
(n(!0), i(h, null, C(Go.value, (e) => (n(), i("g", null, [
|
|
2023
2023
|
e.show ? (n(), i(h, { key: 0 }, [
|
|
2024
2024
|
(n(!0), i(h, null, C(e.span, (s, t) => (n(), i("g", null, [
|
|
2025
|
-
|
|
2025
|
+
x("rect", {
|
|
2026
2026
|
style: w({
|
|
2027
2027
|
transition: "none",
|
|
2028
2028
|
opacity: e.from + t >= m.value.start && e.from + t <= m.value.end - 1 ? 1 : 0
|
|
@@ -2046,7 +2046,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2046
2046
|
height: "1",
|
|
2047
2047
|
width: e.caption.width === "auto" ? c.value.width / A.value * e.span : e.caption.width
|
|
2048
2048
|
}, [
|
|
2049
|
-
|
|
2049
|
+
x("div", {
|
|
2050
2050
|
style: w(`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"}`)
|
|
2051
2051
|
}, ae(e.caption.text), 5)
|
|
2052
2052
|
], 12, As)) : d("", !0)
|
|
@@ -2057,7 +2057,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2057
2057
|
(n(!0), i(h, null, C(A.value, (e, s) => (n(), i("g", {
|
|
2058
2058
|
key: `tooltip_trap_highlighter_${s}`
|
|
2059
2059
|
}, [
|
|
2060
|
-
|
|
2060
|
+
x("rect", {
|
|
2061
2061
|
x: c.value?.left + c.value.width / A.value * s,
|
|
2062
2062
|
y: c.value?.top,
|
|
2063
2063
|
height: c.value.height < 0 ? 10 : c.value.height,
|
|
@@ -2077,7 +2077,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2077
2077
|
}, [
|
|
2078
2078
|
me(t.value) ? (n(), i("rect", {
|
|
2079
2079
|
key: 0,
|
|
2080
|
-
x:
|
|
2080
|
+
x: Wl(t) + ql.value / 2,
|
|
2081
2081
|
y: f.value.useIndividualScale ? ut(t) : st(t),
|
|
2082
2082
|
height: f.value.useIndividualScale ? Math.abs(rt(t)) : Math.abs(ot(t)),
|
|
2083
2083
|
width: Ul.value - ql.value,
|
|
@@ -2091,7 +2091,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2091
2091
|
}, null, 12, Ls)) : d("", !0),
|
|
2092
2092
|
me(t.value) && a.$slots.pattern ? (n(), i("rect", {
|
|
2093
2093
|
key: 1,
|
|
2094
|
-
x:
|
|
2094
|
+
x: Wl(t) - ql.value / 2,
|
|
2095
2095
|
y: f.value.useIndividualScale ? ut(t) : st(t),
|
|
2096
2096
|
height: f.value.useIndividualScale ? Math.abs(rt(t)) : Math.abs(ot(t)),
|
|
2097
2097
|
width: Ul.value - ql.value,
|
|
@@ -2106,7 +2106,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2106
2106
|
style: { overflow: "visible" },
|
|
2107
2107
|
height: "12",
|
|
2108
2108
|
width: Ul.value + l.value.chart.comments.width,
|
|
2109
|
-
x:
|
|
2109
|
+
x: Wl(t) - l.value.chart.comments.width / 2 + l.value.chart.comments.offsetX,
|
|
2110
2110
|
y: v(N)(t.y) + l.value.chart.comments.offsetY + 6
|
|
2111
2111
|
}, [
|
|
2112
2112
|
P(a.$slots, "plot-comment", {
|
|
@@ -2121,17 +2121,17 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2121
2121
|
"stroke-width": "1",
|
|
2122
2122
|
x1: c.value?.left + q.value,
|
|
2123
2123
|
x2: c.value?.right,
|
|
2124
|
-
y1: v(
|
|
2125
|
-
y2: v(
|
|
2124
|
+
y1: v(W)(ie.value),
|
|
2125
|
+
y2: v(W)(ie.value),
|
|
2126
2126
|
"stroke-linecap": "round",
|
|
2127
2127
|
style: { animation: "none !important" }
|
|
2128
2128
|
}, null, 8, zs)) : d("", !0),
|
|
2129
2129
|
l.value.chart.highlighter.useLine && (![null, void 0].includes(k.value) || ![null, void 0].includes(O.value)) ? (n(), i("g", Is, [
|
|
2130
|
-
|
|
2130
|
+
x("line", {
|
|
2131
2131
|
x1: c.value?.left + c.value.width / A.value * ((k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)) + c.value.width / A.value / 2,
|
|
2132
2132
|
x2: c.value?.left + c.value.width / A.value * ((k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)) + c.value.width / A.value / 2,
|
|
2133
|
-
y1: v(
|
|
2134
|
-
y2: v(
|
|
2133
|
+
y1: v(W)(c.value?.top),
|
|
2134
|
+
y2: v(W)(c.value?.bottom),
|
|
2135
2135
|
stroke: l.value.chart.highlighter.color,
|
|
2136
2136
|
"stroke-width": l.value.chart.highlighter.lineWidth,
|
|
2137
2137
|
"stroke-dasharray": l.value.chart.highlighter.lineDasharray,
|
|
@@ -2160,11 +2160,11 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2160
2160
|
}, [
|
|
2161
2161
|
f.value.useIndividualScale ? (n(), i(h, { key: 0 }, [
|
|
2162
2162
|
(n(!0), i(h, null, C(Al.value, (e) => (n(), i("g", null, [
|
|
2163
|
-
|
|
2163
|
+
x("line", {
|
|
2164
2164
|
x1: e.x + q.value - c.value.individualOffsetX,
|
|
2165
2165
|
x2: e.x + q.value - c.value.individualOffsetX,
|
|
2166
|
-
y1: f.value.isStacked ? v(
|
|
2167
|
-
y2: f.value.isStacked ? v(
|
|
2166
|
+
y1: f.value.isStacked ? v(W)(c.value?.bottom - e.yOffset - e.individualHeight) : v(W)(c.value?.top),
|
|
2167
|
+
y2: f.value.isStacked ? v(W)(c.value?.bottom - e.yOffset) : v(W)(c.value?.bottom),
|
|
2168
2168
|
stroke: e.color,
|
|
2169
2169
|
"stroke-width": l.value.chart.grid.stroke,
|
|
2170
2170
|
"stroke-linecap": "round",
|
|
@@ -2174,11 +2174,11 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2174
2174
|
(n(!0), i(h, null, C(Al.value, (e) => (n(), i("g", {
|
|
2175
2175
|
style: w(`opacity:${z.value ? z.value === e.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2176
2176
|
}, [
|
|
2177
|
-
|
|
2177
|
+
x("text", {
|
|
2178
2178
|
fill: e.color,
|
|
2179
|
-
"font-size":
|
|
2179
|
+
"font-size": p.value.dataLabels * 0.8,
|
|
2180
2180
|
"text-anchor": "middle",
|
|
2181
|
-
transform: `translate(${e.x -
|
|
2181
|
+
transform: `translate(${e.x - p.value.dataLabels * 0.8 / 2 + q.value}, ${f.value.isStacked ? c.value?.bottom - e.yOffset - e.individualHeight / 2 : c.value?.top + c.value.height / 2}) rotate(-90)`
|
|
2182
2182
|
}, ae(e.name) + " " + ae(e.scaleLabel && e.unique && e.scaleLabel !== e.id ? `-
|
|
2183
2183
|
${e.scaleLabel}` : ""), 9, Ns),
|
|
2184
2184
|
(n(!0), i(h, null, C(e.yLabels, (s, t) => (n(), i(h, null, [
|
|
@@ -2186,8 +2186,8 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2186
2186
|
key: 0,
|
|
2187
2187
|
x1: e.x + 3 + q.value - l.value.chart.grid.labels.yAxis.crosshairSize - c.value.individualOffsetX,
|
|
2188
2188
|
x2: e.x + q.value - c.value.individualOffsetX,
|
|
2189
|
-
y1: v(
|
|
2190
|
-
y2: v(
|
|
2189
|
+
y1: v(W)(s.y),
|
|
2190
|
+
y2: v(W)(s.y),
|
|
2191
2191
|
stroke: e.color,
|
|
2192
2192
|
"stroke-width": 1,
|
|
2193
2193
|
"stroke-linecap": "round",
|
|
@@ -2196,8 +2196,8 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2196
2196
|
], 64))), 256)),
|
|
2197
2197
|
(n(!0), i(h, null, C(e.yLabels, (s, t) => (n(), i("text", {
|
|
2198
2198
|
x: e.x - 5 + q.value - c.value.individualOffsetX,
|
|
2199
|
-
y: v(
|
|
2200
|
-
"font-size":
|
|
2199
|
+
y: v(W)(s.y) + p.value.dataLabels / 3,
|
|
2200
|
+
"font-size": p.value.dataLabels,
|
|
2201
2201
|
"text-anchor": "end",
|
|
2202
2202
|
fill: e.color
|
|
2203
2203
|
}, ae(v(ue)(
|
|
@@ -2219,8 +2219,8 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2219
2219
|
key: 0,
|
|
2220
2220
|
x1: c.value?.left + q.value,
|
|
2221
2221
|
x2: c.value?.left + q.value - l.value.chart.grid.labels.yAxis.crosshairSize,
|
|
2222
|
-
y1: v(
|
|
2223
|
-
y2: v(
|
|
2222
|
+
y1: v(W)(e.y),
|
|
2223
|
+
y2: v(W)(e.y),
|
|
2224
2224
|
stroke: l.value.chart.grid.stroke,
|
|
2225
2225
|
"stroke-width": "1",
|
|
2226
2226
|
"stroke-linecap": "round",
|
|
@@ -2229,8 +2229,8 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2229
2229
|
e.value >= Le.value.min && e.value <= Le.value.max ? (n(), i("text", {
|
|
2230
2230
|
key: 1,
|
|
2231
2231
|
x: c.value.scaleLabelX - l.value.chart.grid.labels.yAxis.crosshairSize,
|
|
2232
|
-
y: v(N)(e.y +
|
|
2233
|
-
"font-size":
|
|
2232
|
+
y: v(N)(e.y + p.value.dataLabels / 3),
|
|
2233
|
+
"font-size": p.value.dataLabels,
|
|
2234
2234
|
"text-anchor": "end",
|
|
2235
2235
|
fill: l.value.chart.grid.labels.color
|
|
2236
2236
|
}, ae(me(e.value) ? v(ue)(
|
|
@@ -2271,7 +2271,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2271
2271
|
x: t.x - l.value.chart.comments.width / 2 + l.value.chart.comments.offsetX,
|
|
2272
2272
|
y: t.y + l.value.chart.comments.offsetY + 6
|
|
2273
2273
|
}, [
|
|
2274
|
-
|
|
2274
|
+
x("div", Hs, [
|
|
2275
2275
|
P(a.$slots, "plot-comment", {
|
|
2276
2276
|
plot: { ...t, color: e.color, seriesIndex: s, datapointIndex: u }
|
|
2277
2277
|
}, void 0, !0)
|
|
@@ -2292,7 +2292,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2292
2292
|
"stroke-dasharray": e.dashed ? l.value.line.strokeWidth * 2 : 0,
|
|
2293
2293
|
fill: "none",
|
|
2294
2294
|
style: w({ transition: v(te) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
|
|
2295
|
-
}, null, 12,
|
|
2295
|
+
}, null, 12, Ws)) : e.plots.length > 1 && e.straight ? (n(), i("path", {
|
|
2296
2296
|
key: 1,
|
|
2297
2297
|
d: `M${e.straight}`,
|
|
2298
2298
|
stroke: l.value.chart.backgroundColor,
|
|
@@ -2302,7 +2302,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2302
2302
|
"stroke-linecap": "round",
|
|
2303
2303
|
"stroke-linejoin": "round",
|
|
2304
2304
|
style: w({ transition: v(te) || !l.value.line.showTransition ? void 0 : `all ${l.value.line.transitionDurationMs}ms ease-in-out` })
|
|
2305
|
-
}, null, 12,
|
|
2305
|
+
}, null, 12, Ys)) : d("", !0)
|
|
2306
2306
|
], 6))), 128)),
|
|
2307
2307
|
a.$slots.pattern ? (n(), i("defs", Xs, [
|
|
2308
2308
|
(n(!0), i(h, null, C(Re.value, (e, s) => P(a.$slots, "pattern", ll({
|
|
@@ -2395,7 +2395,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2395
2395
|
x: t.x - l.value.chart.comments.width / 2 + l.value.chart.comments.offsetX,
|
|
2396
2396
|
y: t.y + l.value.chart.comments.offsetY + 6
|
|
2397
2397
|
}, [
|
|
2398
|
-
|
|
2398
|
+
x("div", au, [
|
|
2399
2399
|
P(a.$slots, "plot-comment", {
|
|
2400
2400
|
plot: { ...t, color: e.color, seriesIndex: s, datapointIndex: u }
|
|
2401
2401
|
}, void 0, !0)
|
|
@@ -2412,10 +2412,10 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2412
2412
|
}, [
|
|
2413
2413
|
t && (!Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || k.value !== null && k.value === u || O.value !== null && O.value === u) && l.value.bar.labels.show ? (n(), i("text", {
|
|
2414
2414
|
key: 0,
|
|
2415
|
-
x: f.value.useIndividualScale && f.value.isStacked ? t.x + J.value.line / 2 :
|
|
2415
|
+
x: f.value.useIndividualScale && f.value.isStacked ? t.x + J.value.line / 2 : Wl(t) + Ee() / 2 - Gl.value / 2,
|
|
2416
2416
|
y: v(N)(t.y) + (t.value >= 0 ? l.value.bar.labels.offsetY : -l.value.bar.labels.offsetY * 3),
|
|
2417
2417
|
"text-anchor": "middle",
|
|
2418
|
-
"font-size":
|
|
2418
|
+
"font-size": p.value.plotLabels,
|
|
2419
2419
|
fill: l.value.bar.labels.color,
|
|
2420
2420
|
style: w(`opacity:${z.value ? z.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2421
2421
|
}, ae(me(t.value) ? v(ue)(
|
|
@@ -2437,7 +2437,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2437
2437
|
x: f.value.useIndividualScale && f.value.isStacked ? t.x + J.value.line / 2 : t.x + Ee() * 1.1,
|
|
2438
2438
|
y: t.y + (t.value > 0 ? l.value.bar.serieName.offsetY : -l.value.bar.serieName.offsetY * 3),
|
|
2439
2439
|
"text-anchor": "middle",
|
|
2440
|
-
"font-size":
|
|
2440
|
+
"font-size": p.value.plotLabels,
|
|
2441
2441
|
fill: l.value.bar.serieName.useSerieColor ? e.color : l.value.bar.serieName.color,
|
|
2442
2442
|
"font-weight": l.value.bar.serieName.bold ? "bold" : "normal",
|
|
2443
2443
|
style: w(`opacity:${z.value ? z.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
@@ -2460,7 +2460,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2460
2460
|
x: t.x,
|
|
2461
2461
|
y: t.y + l.value.plot.labels.offsetY,
|
|
2462
2462
|
"text-anchor": "middle",
|
|
2463
|
-
"font-size":
|
|
2463
|
+
"font-size": p.value.plotLabels,
|
|
2464
2464
|
fill: l.value.plot.labels.color,
|
|
2465
2465
|
style: w(`opacity:${z.value ? z.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2466
2466
|
}, ae(me(t.value) ? v(ue)(
|
|
@@ -2508,8 +2508,8 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2508
2508
|
width: "150",
|
|
2509
2509
|
style: w(`overflow: visible; opacity:${z.value ? z.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2510
2510
|
}, [
|
|
2511
|
-
|
|
2512
|
-
style: w(`padding: 3px; background:${v(Te)(e.color, 80)};color:${v(Xe)(e.color)};width:fit-content;font-size:${
|
|
2511
|
+
x("div", {
|
|
2512
|
+
style: w(`padding: 3px; background:${v(Te)(e.color, 80)};color:${v(Xe)(e.color)};width:fit-content;font-size:${p.value.plotLabels}px;border-radius: 2px;`),
|
|
2513
2513
|
innerHTML: v(ue)(
|
|
2514
2514
|
l.value.plot.tag.formatter,
|
|
2515
2515
|
t.value,
|
|
@@ -2524,14 +2524,14 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2524
2524
|
], 12, iu)) : d("", !0),
|
|
2525
2525
|
t && u === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (n(), i("foreignObject", {
|
|
2526
2526
|
key: 1,
|
|
2527
|
-
x: t.x - e.name.length * (
|
|
2527
|
+
x: t.x - e.name.length * (p.value.plotLabels / 2),
|
|
2528
2528
|
y: t.y - 20,
|
|
2529
2529
|
height: 24,
|
|
2530
2530
|
width: "150",
|
|
2531
2531
|
style: w(`overflow: visible; opacity:${z.value ? z.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2532
2532
|
}, [
|
|
2533
|
-
|
|
2534
|
-
style: w(`padding: 3px; background:${v(Te)(e.color, 80)};color:${v(Xe)(e.color)};width:fit-content;font-size:${
|
|
2533
|
+
x("div", {
|
|
2534
|
+
style: w(`padding: 3px; background:${v(Te)(e.color, 80)};color:${v(Xe)(e.color)};width:fit-content;font-size:${p.value.plotLabels}px;border-radius: 2px;`),
|
|
2535
2535
|
innerHTML: v(ue)(
|
|
2536
2536
|
l.value.plot.tag.formatter,
|
|
2537
2537
|
t.value,
|
|
@@ -2560,7 +2560,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2560
2560
|
x: t.x,
|
|
2561
2561
|
y: t.y + (t.value >= 0 ? l.value.line.labels.offsetY : -l.value.line.labels.offsetY * 3),
|
|
2562
2562
|
"text-anchor": "middle",
|
|
2563
|
-
"font-size":
|
|
2563
|
+
"font-size": p.value.plotLabels,
|
|
2564
2564
|
fill: l.value.line.labels.color,
|
|
2565
2565
|
style: w(`opacity:${z.value ? z.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2566
2566
|
}, ae(me(t.value) ? v(ue)(
|
|
@@ -2608,8 +2608,8 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2608
2608
|
width: "150",
|
|
2609
2609
|
style: w(`overflow: visible; opacity:${z.value ? z.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2610
2610
|
}, [
|
|
2611
|
-
|
|
2612
|
-
style: w(`padding: 3px; background:${v(Te)(e.color, 80)};color:${v(Xe)(e.color)};width:fit-content;font-size:${
|
|
2611
|
+
x("div", {
|
|
2612
|
+
style: w(`padding: 3px; background:${v(Te)(e.color, 80)};color:${v(Xe)(e.color)};width:fit-content;font-size:${p.value.plotLabels}px;border-radius: 2px;`),
|
|
2613
2613
|
innerHTML: v(ue)(
|
|
2614
2614
|
l.value.line.tag.formatter,
|
|
2615
2615
|
t.value,
|
|
@@ -2620,7 +2620,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2620
2620
|
serieName: e.name
|
|
2621
2621
|
}
|
|
2622
2622
|
)
|
|
2623
|
-
}, null, 12,
|
|
2623
|
+
}, null, 12, xu)
|
|
2624
2624
|
], 12, bu)) : d("", !0),
|
|
2625
2625
|
t && u === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (n(), i("foreignObject", {
|
|
2626
2626
|
key: 1,
|
|
@@ -2630,8 +2630,8 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2630
2630
|
width: "150",
|
|
2631
2631
|
style: w(`overflow: visible; opacity:${z.value ? z.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2632
2632
|
}, [
|
|
2633
|
-
|
|
2634
|
-
style: w(`padding: 3px; background:${v(Te)(e.color, 80)};color:${v(Xe)(e.color)};width:fit-content;font-size:${
|
|
2633
|
+
x("div", {
|
|
2634
|
+
style: w(`padding: 3px; background:${v(Te)(e.color, 80)};color:${v(Xe)(e.color)};width:fit-content;font-size:${p.value.plotLabels}px;border-radius: 2px;`),
|
|
2635
2635
|
innerHTML: v(ue)(
|
|
2636
2636
|
l.value.line.tag.formatter,
|
|
2637
2637
|
t.value,
|
|
@@ -2643,7 +2643,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2643
2643
|
}
|
|
2644
2644
|
)
|
|
2645
2645
|
}, null, 12, yu)
|
|
2646
|
-
], 12,
|
|
2646
|
+
], 12, pu)) : d("", !0)
|
|
2647
2647
|
], 64))
|
|
2648
2648
|
], 64))), 128))
|
|
2649
2649
|
], 64))), 128))
|
|
@@ -2656,16 +2656,16 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2656
2656
|
}, [
|
|
2657
2657
|
t && u === 0 && e.showSerieName && e.showSerieName === "start" ? (n(), i("text", {
|
|
2658
2658
|
key: 0,
|
|
2659
|
-
x: t.x -
|
|
2659
|
+
x: t.x - p.value.plotLabels,
|
|
2660
2660
|
y: t.y,
|
|
2661
|
-
"font-size":
|
|
2661
|
+
"font-size": p.value.plotLabels,
|
|
2662
2662
|
"text-anchor": "end",
|
|
2663
2663
|
fill: e.color,
|
|
2664
2664
|
innerHTML: v(jl)({
|
|
2665
2665
|
content: e.name,
|
|
2666
|
-
fontSize:
|
|
2666
|
+
fontSize: p.value.plotLabels,
|
|
2667
2667
|
fill: e.color,
|
|
2668
|
-
x: t.x -
|
|
2668
|
+
x: t.x - p.value.plotLabels,
|
|
2669
2669
|
y: t.y,
|
|
2670
2670
|
maxWords: 2
|
|
2671
2671
|
}),
|
|
@@ -2673,16 +2673,16 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2673
2673
|
}, null, 12, Cu)) : d("", !0),
|
|
2674
2674
|
t && u === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (n(), i("text", {
|
|
2675
2675
|
key: 1,
|
|
2676
|
-
x: t.x +
|
|
2676
|
+
x: t.x + p.value.plotLabels,
|
|
2677
2677
|
y: t.y,
|
|
2678
|
-
"font-size":
|
|
2678
|
+
"font-size": p.value.plotLabels,
|
|
2679
2679
|
"text-anchor": "start",
|
|
2680
2680
|
fill: e.color,
|
|
2681
2681
|
innerHTML: v(jl)({
|
|
2682
2682
|
content: e.name,
|
|
2683
|
-
fontSize:
|
|
2683
|
+
fontSize: p.value.plotLabels,
|
|
2684
2684
|
fill: e.color,
|
|
2685
|
-
x: t.x +
|
|
2685
|
+
x: t.x + p.value.plotLabels,
|
|
2686
2686
|
y: t.y,
|
|
2687
2687
|
maxWords: 2
|
|
2688
2688
|
}),
|
|
@@ -2698,16 +2698,16 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2698
2698
|
}, [
|
|
2699
2699
|
t && u === 0 && e.showSerieName && e.showSerieName === "start" ? (n(), i("text", {
|
|
2700
2700
|
key: 0,
|
|
2701
|
-
x: t.x -
|
|
2701
|
+
x: t.x - p.value.plotLabels,
|
|
2702
2702
|
y: t.y,
|
|
2703
|
-
"font-size":
|
|
2703
|
+
"font-size": p.value.plotLabels,
|
|
2704
2704
|
"text-anchor": "end",
|
|
2705
2705
|
fill: e.color,
|
|
2706
2706
|
innerHTML: v(jl)({
|
|
2707
2707
|
content: e.name,
|
|
2708
|
-
fontSize:
|
|
2708
|
+
fontSize: p.value.plotLabels,
|
|
2709
2709
|
fill: e.color,
|
|
2710
|
-
x: t.x -
|
|
2710
|
+
x: t.x - p.value.plotLabels,
|
|
2711
2711
|
y: t.y,
|
|
2712
2712
|
maxWords: 2
|
|
2713
2713
|
}),
|
|
@@ -2715,16 +2715,16 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2715
2715
|
}, null, 12, wu)) : d("", !0),
|
|
2716
2716
|
t && u === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (n(), i("text", {
|
|
2717
2717
|
key: 1,
|
|
2718
|
-
x: t.x +
|
|
2718
|
+
x: t.x + p.value.plotLabels,
|
|
2719
2719
|
y: t.y,
|
|
2720
|
-
"font-size":
|
|
2720
|
+
"font-size": p.value.plotLabels,
|
|
2721
2721
|
"text-anchor": "start",
|
|
2722
2722
|
fill: e.color,
|
|
2723
2723
|
innerHTML: v(jl)({
|
|
2724
2724
|
content: e.name,
|
|
2725
|
-
fontSize:
|
|
2725
|
+
fontSize: p.value.plotLabels,
|
|
2726
2726
|
fill: e.color,
|
|
2727
|
-
x: t.x +
|
|
2727
|
+
x: t.x + p.value.plotLabels,
|
|
2728
2728
|
y: t.y,
|
|
2729
2729
|
maxWords: 2
|
|
2730
2730
|
}),
|
|
@@ -2736,8 +2736,8 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2736
2736
|
key: `progression-${s}`
|
|
2737
2737
|
}, [
|
|
2738
2738
|
Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(v(Ae)(e.plots).trend) ? (n(), i("g", Su, [
|
|
2739
|
-
|
|
2740
|
-
|
|
2739
|
+
x("defs", null, [
|
|
2740
|
+
x("marker", {
|
|
2741
2741
|
id: `progression_arrow_${s}`,
|
|
2742
2742
|
markerWidth: "9",
|
|
2743
2743
|
markerHeight: "9",
|
|
@@ -2748,7 +2748,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2748
2748
|
orient: "auto",
|
|
2749
2749
|
overflow: "visible"
|
|
2750
2750
|
}, [
|
|
2751
|
-
|
|
2751
|
+
x("polygon", {
|
|
2752
2752
|
points: "0,0 7,3.5 0,7",
|
|
2753
2753
|
fill: e.color,
|
|
2754
2754
|
stroke: l.value.chart.backgroundColor,
|
|
@@ -2761,8 +2761,8 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2761
2761
|
key: 0,
|
|
2762
2762
|
x1: v(Ae)(e.plots).x1 + (e.type === "bar" ? Ee() : 0),
|
|
2763
2763
|
x2: v(Ae)(e.plots).x2 + (e.type === "bar" ? Ee() : 0),
|
|
2764
|
-
y1: v(
|
|
2765
|
-
y2: v(
|
|
2764
|
+
y1: v(W)(v(Ae)(e.plots).y1),
|
|
2765
|
+
y2: v(W)(v(Ae)(e.plots).y2),
|
|
2766
2766
|
"stroke-width": 1,
|
|
2767
2767
|
stroke: l.value.chart.backgroundColor,
|
|
2768
2768
|
"stroke-dasharray": 2,
|
|
@@ -2774,8 +2774,8 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2774
2774
|
key: 1,
|
|
2775
2775
|
x1: v(Ae)(e.plots).x1 + (e.type === "bar" ? Ee() : 0),
|
|
2776
2776
|
x2: v(Ae)(e.plots).x2 + (e.type === "bar" ? Ee() : 0),
|
|
2777
|
-
y1: v(
|
|
2778
|
-
y2: v(
|
|
2777
|
+
y1: v(W)(v(Ae)(e.plots).y1),
|
|
2778
|
+
y2: v(W)(v(Ae)(e.plots).y2),
|
|
2779
2779
|
"stroke-width": 1,
|
|
2780
2780
|
stroke: e.color,
|
|
2781
2781
|
"stroke-dasharray": 2,
|
|
@@ -2788,7 +2788,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2788
2788
|
"text-anchor": "middle",
|
|
2789
2789
|
x: v(Ae)(e.plots).x2 + (e.type === "bar" ? Ee() : 0),
|
|
2790
2790
|
y: v(Ae)(e.plots).y2 - 12,
|
|
2791
|
-
"font-size":
|
|
2791
|
+
"font-size": p.value.plotLabels,
|
|
2792
2792
|
fill: e.color,
|
|
2793
2793
|
stroke: l.value.chart.backgroundColor,
|
|
2794
2794
|
"stroke-width": 4,
|
|
@@ -2803,7 +2803,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2803
2803
|
])) : d("", !0)
|
|
2804
2804
|
], 64))), 128)),
|
|
2805
2805
|
f.value.useIndividualScale && !f.value.isStacked ? (n(), i(h, { key: 13 }, [
|
|
2806
|
-
|
|
2806
|
+
x("defs", null, [
|
|
2807
2807
|
(n(!0), i(h, null, C(Al.value, (e, s) => (n(), i("linearGradient", {
|
|
2808
2808
|
id: `individual_scale_gradient_${H.value}_${s}`,
|
|
2809
2809
|
x1: "0%",
|
|
@@ -2811,12 +2811,12 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2811
2811
|
y1: "0%",
|
|
2812
2812
|
y2: "0%"
|
|
2813
2813
|
}, [
|
|
2814
|
-
|
|
2814
|
+
x("stop", {
|
|
2815
2815
|
offset: "0%",
|
|
2816
2816
|
"stop-color": l.value.chart.backgroundColor,
|
|
2817
2817
|
"stop-opacity": "0"
|
|
2818
2818
|
}, null, 8, Fu),
|
|
2819
|
-
|
|
2819
|
+
x("stop", {
|
|
2820
2820
|
offset: "100%",
|
|
2821
2821
|
"stop-color": e.color,
|
|
2822
2822
|
"stop-opacity": "0.2"
|
|
@@ -2833,12 +2833,12 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2833
2833
|
onMouseleave: r[0] || (r[0] = (t) => z.value = null)
|
|
2834
2834
|
}, null, 40, Ou))), 256))
|
|
2835
2835
|
], 64)) : d("", !0),
|
|
2836
|
-
|
|
2836
|
+
x("g", null, [
|
|
2837
2837
|
l.value.chart.grid.labels.axis.yLabel && !f.value.useIndividualScale ? (n(), i("text", {
|
|
2838
2838
|
key: 0,
|
|
2839
2839
|
ref_key: "yAxisLabel",
|
|
2840
2840
|
ref: oa,
|
|
2841
|
-
"font-size":
|
|
2841
|
+
"font-size": p.value.yAxis,
|
|
2842
2842
|
fill: l.value.chart.grid.labels.color,
|
|
2843
2843
|
transform: `translate(${l.value.chart.grid.labels.axis.fontSize}, ${c.value?.top + c.value.height / 2}) rotate(-90)`,
|
|
2844
2844
|
"text-anchor": "middle",
|
|
@@ -2851,7 +2851,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2851
2851
|
"text-anchor": "middle",
|
|
2852
2852
|
x: ee.value / 2,
|
|
2853
2853
|
y: de.value - 3,
|
|
2854
|
-
"font-size":
|
|
2854
|
+
"font-size": p.value.yAxis,
|
|
2855
2855
|
fill: l.value.chart.grid.labels.color
|
|
2856
2856
|
}, ae(l.value.chart.grid.labels.axis.xLabel), 9, Du)) : d("", !0)
|
|
2857
2857
|
]),
|
|
@@ -2860,20 +2860,20 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2860
2860
|
ref_key: "timeLabelsEls",
|
|
2861
2861
|
ref: rl
|
|
2862
2862
|
}, [
|
|
2863
|
-
a.$slots["time-label"] ? (n(!0), i(h, { key: 0 }, C(
|
|
2863
|
+
a.$slots["time-label"] ? (n(!0), i(h, { key: 0 }, C(xa.value, (e, s) => P(a.$slots, "time-label", ll({
|
|
2864
2864
|
key: `time_label_${e.id}`,
|
|
2865
2865
|
ref_for: !0
|
|
2866
2866
|
}, {
|
|
2867
2867
|
x: c.value?.left + c.value.width / A.value * s + c.value.width / A.value / 2,
|
|
2868
2868
|
y: c.value?.bottom,
|
|
2869
|
-
fontSize:
|
|
2869
|
+
fontSize: p.value.xAxis,
|
|
2870
2870
|
fill: l.value.chart.grid.labels.xAxisLabels.color,
|
|
2871
|
-
transform: `translate(${c.value?.left + c.value.width / A.value * s + c.value.width / A.value / 2}, ${c.value?.bottom +
|
|
2871
|
+
transform: `translate(${c.value?.left + c.value.width / A.value * s + c.value.width / A.value / 2}, ${c.value?.bottom + p.value.xAxis * 1.3 + l.value.chart.grid.labels.xAxisLabels.yOffset}), rotate(${l.value.chart.grid.labels.xAxisLabels.rotation})`,
|
|
2872
2872
|
absoluteIndex: e.absoluteIndex,
|
|
2873
2873
|
content: e.text,
|
|
2874
2874
|
textAnchor: l.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : l.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
|
|
2875
2875
|
show: e && e.text
|
|
2876
|
-
}), void 0, !0)), 128)) : (n(!0), i(h, { key: 1 }, C(
|
|
2876
|
+
}), void 0, !0)), 128)) : (n(!0), i(h, { key: 1 }, C(xa.value, (e, s) => (n(), i("g", {
|
|
2877
2877
|
key: `time_label_${s}`
|
|
2878
2878
|
}, [
|
|
2879
2879
|
e && e.text ? (n(), i(h, { key: 0 }, [
|
|
@@ -2882,15 +2882,15 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2882
2882
|
key: 1,
|
|
2883
2883
|
class: "vue-data-ui-time-label",
|
|
2884
2884
|
"text-anchor": l.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : l.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
|
|
2885
|
-
"font-size":
|
|
2885
|
+
"font-size": p.value.xAxis,
|
|
2886
2886
|
fill: l.value.chart.grid.labels.xAxisLabels.color,
|
|
2887
|
-
transform: `translate(${c.value?.left + c.value.width / A.value * s + c.value.width / A.value / 2}, ${c.value?.bottom +
|
|
2887
|
+
transform: `translate(${c.value?.left + c.value.width / A.value * s + c.value.width / A.value / 2}, ${c.value?.bottom + p.value.xAxis * 1.5}), rotate(${l.value.chart.grid.labels.xAxisLabels.rotation})`,
|
|
2888
2888
|
style: w({
|
|
2889
2889
|
cursor: Za() ? "pointer" : "default"
|
|
2890
2890
|
}),
|
|
2891
2891
|
innerHTML: v(Ar)({
|
|
2892
2892
|
content: String(e.text),
|
|
2893
|
-
fontSize:
|
|
2893
|
+
fontSize: p.value.xAxis,
|
|
2894
2894
|
fill: l.value.chart.grid.labels.xAxisLabels.color,
|
|
2895
2895
|
x: 0,
|
|
2896
2896
|
y: 0
|
|
@@ -2900,9 +2900,9 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2900
2900
|
key: 0,
|
|
2901
2901
|
class: "vue-data-ui-time-label",
|
|
2902
2902
|
"text-anchor": l.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : l.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
|
|
2903
|
-
"font-size":
|
|
2903
|
+
"font-size": p.value.xAxis,
|
|
2904
2904
|
fill: l.value.chart.grid.labels.xAxisLabels.color,
|
|
2905
|
-
transform: `translate(${c.value?.left + c.value.width / A.value * s + c.value.width / A.value / 2}, ${c.value?.bottom +
|
|
2905
|
+
transform: `translate(${c.value?.left + c.value.width / A.value * s + c.value.width / A.value / 2}, ${c.value?.bottom + p.value.xAxis * 1.5}), rotate(${l.value.chart.grid.labels.xAxisLabels.rotation})`,
|
|
2906
2906
|
style: w({
|
|
2907
2907
|
cursor: Za() ? "pointer" : "default"
|
|
2908
2908
|
}),
|
|
@@ -2947,7 +2947,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2947
2947
|
height: v(N)(e.areaHeight, 0),
|
|
2948
2948
|
fill: v(Te)(e.config.area.fill, e.config.area.opacity),
|
|
2949
2949
|
style: { animation: "none !important" }
|
|
2950
|
-
}, null, 8,
|
|
2950
|
+
}, null, 8, Wu)) : d("", !0),
|
|
2951
2951
|
e.config.label.text && e.show && isFinite(e._box.y) ? (n(), i("rect", ll({
|
|
2952
2952
|
key: 3,
|
|
2953
2953
|
class: "vue-ui-xy-annotation-label-box"
|
|
@@ -2961,7 +2961,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2961
2961
|
"font-size": e.config.label.fontSize,
|
|
2962
2962
|
fill: e.config.label.color,
|
|
2963
2963
|
"text-anchor": e.config.label.textAnchor
|
|
2964
|
-
}, ae(e.config.label.text), 9,
|
|
2964
|
+
}, ae(e.config.label.text), 9, Yu)) : d("", !0)
|
|
2965
2965
|
]))), 128))
|
|
2966
2966
|
])) : d("", !0),
|
|
2967
2967
|
l.value.chart.timeTag.show && (![null, void 0].includes(k.value) || ![null, void 0].includes(O.value)) ? (n(), i("g", Xu, [
|
|
@@ -2972,7 +2972,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2972
2972
|
height: "40",
|
|
2973
2973
|
style: { overflow: "visible !important" }
|
|
2974
2974
|
}, [
|
|
2975
|
-
|
|
2975
|
+
x("div", {
|
|
2976
2976
|
ref_key: "timeTagEl",
|
|
2977
2977
|
ref: Lt,
|
|
2978
2978
|
class: "vue-ui-xy-time-tag",
|
|
@@ -2980,7 +2980,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2980
2980
|
innerHTML: ar.value
|
|
2981
2981
|
}, null, 12, Uu)
|
|
2982
2982
|
], 8, Gu)),
|
|
2983
|
-
|
|
2983
|
+
x("circle", {
|
|
2984
2984
|
cx: c.value?.left + c.value.width / A.value * ((k.value !== null ? k.value : 0) || (O.value !== null ? O.value : 0)) + c.value.width / A.value / 2,
|
|
2985
2985
|
cy: c.value?.bottom,
|
|
2986
2986
|
r: l.value.chart.timeTag.circleMarker.radius,
|
|
@@ -2994,7 +2994,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
2994
2994
|
}), null, 16, Zu)) : d("", !0),
|
|
2995
2995
|
P(a.$slots, "svg", {
|
|
2996
2996
|
svg: {
|
|
2997
|
-
...
|
|
2997
|
+
...po.value,
|
|
2998
2998
|
data: [...re.value, ...Me.value, ...be.value],
|
|
2999
2999
|
drawingArea: c.value
|
|
3000
3000
|
}
|
|
@@ -3042,13 +3042,13 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
3042
3042
|
})
|
|
3043
3043
|
}, [
|
|
3044
3044
|
(n(), i("svg", Qu, [
|
|
3045
|
-
|
|
3045
|
+
x("path", {
|
|
3046
3046
|
d: "M 0,10 10,0 10,20 Z",
|
|
3047
3047
|
fill: e.color,
|
|
3048
3048
|
stroke: "none"
|
|
3049
3049
|
}, null, 8, Ku)
|
|
3050
3050
|
])),
|
|
3051
|
-
|
|
3051
|
+
x("div", {
|
|
3052
3052
|
class: "vue-ui-xy-tag-content",
|
|
3053
3053
|
innerHTML: v(ue)(
|
|
3054
3054
|
l.value.line.tag.formatter,
|
|
@@ -3094,13 +3094,13 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
3094
3094
|
})
|
|
3095
3095
|
}, [
|
|
3096
3096
|
(n(), i("svg", en, [
|
|
3097
|
-
|
|
3097
|
+
x("path", {
|
|
3098
3098
|
d: "M 0,0 10,10 0,20 Z",
|
|
3099
3099
|
fill: e.color,
|
|
3100
3100
|
stroke: "none"
|
|
3101
3101
|
}, null, 8, ln)
|
|
3102
3102
|
])),
|
|
3103
|
-
|
|
3103
|
+
x("div", {
|
|
3104
3104
|
class: "vue-ui-xy-tag-content",
|
|
3105
3105
|
innerHTML: v(ue)(
|
|
3106
3106
|
l.value.line.tag.formatter,
|
|
@@ -3154,13 +3154,13 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
3154
3154
|
})
|
|
3155
3155
|
}, [
|
|
3156
3156
|
(n(), i("svg", tn, [
|
|
3157
|
-
|
|
3157
|
+
x("path", {
|
|
3158
3158
|
d: "M 0,10 10,0 10,20 Z",
|
|
3159
3159
|
fill: e.color,
|
|
3160
3160
|
stroke: "none"
|
|
3161
3161
|
}, null, 8, on)
|
|
3162
3162
|
])),
|
|
3163
|
-
|
|
3163
|
+
x("div", {
|
|
3164
3164
|
class: "vue-ui-xy-tag-content",
|
|
3165
3165
|
innerHTML: v(ue)(
|
|
3166
3166
|
l.value.plot.tag.formatter,
|
|
@@ -3206,13 +3206,13 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
3206
3206
|
})
|
|
3207
3207
|
}, [
|
|
3208
3208
|
(n(), i("svg", sn, [
|
|
3209
|
-
|
|
3209
|
+
x("path", {
|
|
3210
3210
|
d: "M 0,0 10,10 0,20 Z",
|
|
3211
3211
|
fill: e.color,
|
|
3212
3212
|
stroke: "none"
|
|
3213
3213
|
}, null, 8, un)
|
|
3214
3214
|
])),
|
|
3215
|
-
|
|
3215
|
+
x("div", {
|
|
3216
3216
|
class: "vue-ui-xy-tag-content",
|
|
3217
3217
|
innerHTML: v(ue)(
|
|
3218
3218
|
l.value.plot.tag.formatter,
|
|
@@ -3261,7 +3261,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
3261
3261
|
minimapSelectedColorOpacity: l.value.chart.zoom.minimap.selectedColorOpacity,
|
|
3262
3262
|
minimapSelectedIndex: k.value,
|
|
3263
3263
|
minimapSelectionRadius: l.value.chart.zoom.minimap.selectionRadius,
|
|
3264
|
-
preciseLabels:
|
|
3264
|
+
preciseLabels: pt.value.length ? pt.value : ba.value,
|
|
3265
3265
|
refreshEndPoint: l.value.chart.zoom.endIndex !== null ? l.value.chart.zoom.endIndex + 1 : Math.max(...la.dataset.map((e) => Pe(e.series).length)),
|
|
3266
3266
|
refreshStartPoint: l.value.chart.zoom.startIndex !== null ? l.value.chart.zoom.startIndex : 0,
|
|
3267
3267
|
selectColor: l.value.chart.zoom.highlightColor,
|
|
@@ -3276,6 +3276,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
3276
3276
|
verticalHandles: l.value.chart.zoom.minimap.verticalHandles,
|
|
3277
3277
|
minScale: l.value.chart.grid.labels.yAxis.scaleMin,
|
|
3278
3278
|
maxScale: l.value.chart.grid.labels.yAxis.scaleMax,
|
|
3279
|
+
maxWidth: l.value.chart.zoom.maxWidth,
|
|
3279
3280
|
onFutureEnd: r[1] || (r[1] = (e) => Ea("end", e)),
|
|
3280
3281
|
onFutureStart: r[2] || (r[2] = (e) => Ea("start", e)),
|
|
3281
3282
|
onReset: Do,
|
|
@@ -3287,8 +3288,8 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
3287
3288
|
P(a.$slots, "reset-action", ye(ke({ reset: e })), void 0, !0)
|
|
3288
3289
|
]),
|
|
3289
3290
|
_: 3
|
|
3290
|
-
}, 8, ["allMinimaps", "background", "borderColor", "customFormat", "cutNullValues", "enableRangeHandles", "enableSelectionDrag", "end", "focusOnDrag", "focusRangeRatio", "fontSize", "useResetSlot", "immediate", "inputColor", "isPreview", "labelLeft", "labelRight", "max", "minimap", "minimapCompact", "minimapFrameColor", "minimapIndicatorColor", "minimapLineColor", "minimapMerged", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapSelectionRadius", "preciseLabels", "refreshEndPoint", "refreshStartPoint", "selectColor", "selectedSeries", "smoothMinimap", "start", "textColor", "timeLabels", "usePreciseLabels", "valueEnd", "valueStart", "verticalHandles", "minScale", "maxScale"])) : d("", !0),
|
|
3291
|
-
|
|
3291
|
+
}, 8, ["allMinimaps", "background", "borderColor", "customFormat", "cutNullValues", "enableRangeHandles", "enableSelectionDrag", "end", "focusOnDrag", "focusRangeRatio", "fontSize", "useResetSlot", "immediate", "inputColor", "isPreview", "labelLeft", "labelRight", "max", "minimap", "minimapCompact", "minimapFrameColor", "minimapIndicatorColor", "minimapLineColor", "minimapMerged", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapSelectionRadius", "preciseLabels", "refreshEndPoint", "refreshStartPoint", "selectColor", "selectedSeries", "smoothMinimap", "start", "textColor", "timeLabels", "usePreciseLabels", "valueEnd", "valueStart", "verticalHandles", "minScale", "maxScale", "maxWidth"])) : d("", !0),
|
|
3292
|
+
x("div", {
|
|
3292
3293
|
id: `legend-bottom-${H.value}`
|
|
3293
3294
|
}, null, 8, cn),
|
|
3294
3295
|
Na.value ? (n(), we(hr, {
|
|
@@ -3304,7 +3305,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
3304
3305
|
fontSize: `var(--legend-font-size, ${l.value.chart.legend.fontSize ?? 14}px)`
|
|
3305
3306
|
})
|
|
3306
3307
|
}, [
|
|
3307
|
-
l.value.chart.legend.selectAllToggle.show && oe.value.length > 2 && !v(te) ? (n(), we(
|
|
3308
|
+
l.value.chart.legend.selectAllToggle.show && oe.value.length > 2 && !v(te) ? (n(), we(Wr, {
|
|
3308
3309
|
key: 0,
|
|
3309
3310
|
backgroundColor: l.value.chart.legend.selectAllToggle.backgroundColor,
|
|
3310
3311
|
color: l.value.chart.legend.selectAllToggle.color,
|
|
@@ -3318,7 +3319,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
3318
3319
|
class: el({ "vue-ui-xy-legend-item-alone": oe.value.length === 1, "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": U.value.includes(e.id) })
|
|
3319
3320
|
}, [
|
|
3320
3321
|
bl.value[e.type] === "line" ? (n(), i("svg", dn, [
|
|
3321
|
-
|
|
3322
|
+
x("rect", {
|
|
3322
3323
|
x: "0",
|
|
3323
3324
|
y: "7.5",
|
|
3324
3325
|
rx: "1.5",
|
|
@@ -3365,7 +3366,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
3365
3366
|
shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(e.shape) ? e.shape : "circle"
|
|
3366
3367
|
}, null, 8, ["color", "shape"])
|
|
3367
3368
|
])),
|
|
3368
|
-
|
|
3369
|
+
x("span", {
|
|
3369
3370
|
style: w(`color:${l.value.chart.legend.color}`)
|
|
3370
3371
|
}, ae(e.name), 5)
|
|
3371
3372
|
], 10, vn))), 128))
|
|
@@ -3407,10 +3408,10 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
3407
3408
|
smoothSnapThreshold: l.value.chart.tooltip.smoothSnapThreshold
|
|
3408
3409
|
}, {
|
|
3409
3410
|
"tooltip-before": G(() => [
|
|
3410
|
-
P(a.$slots, "tooltip-before", ye(ke({ ...
|
|
3411
|
+
P(a.$slots, "tooltip-before", ye(ke({ ...xt.value })), void 0, !0)
|
|
3411
3412
|
]),
|
|
3412
3413
|
"tooltip-after": G(() => [
|
|
3413
|
-
P(a.$slots, "tooltip-after", ye(ke({ ...
|
|
3414
|
+
P(a.$slots, "tooltip-after", ye(ke({ ...xt.value })), void 0, !0)
|
|
3414
3415
|
]),
|
|
3415
3416
|
_: 3
|
|
3416
3417
|
}, 8, ["teleportTo", "show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
@@ -3420,18 +3421,18 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
3420
3421
|
onClose: zt
|
|
3421
3422
|
}), Ot({
|
|
3422
3423
|
content: G(() => [
|
|
3423
|
-
|
|
3424
|
+
x("div", {
|
|
3424
3425
|
style: w(`${v(fa) || l.value.table.useDialog ? "" : "max-height:400px"};${l.value.table.useDialog ? "height: fit-content; " : ""};overflow:auto;width:100%;${l.value.table.useDialog ? "" : "margin-top:48px"}`)
|
|
3425
3426
|
}, [
|
|
3426
|
-
|
|
3427
|
-
gr(
|
|
3427
|
+
x("div", xn, [
|
|
3428
|
+
gr(x("input", {
|
|
3428
3429
|
type: "checkbox",
|
|
3429
|
-
"onUpdate:modelValue": r[4] || (r[4] = (e) =>
|
|
3430
|
+
"onUpdate:modelValue": r[4] || (r[4] = (e) => pl.value = e)
|
|
3430
3431
|
}, null, 512), [
|
|
3431
|
-
[mr,
|
|
3432
|
+
[mr, pl.value]
|
|
3432
3433
|
]),
|
|
3433
|
-
|
|
3434
|
-
onClick: r[5] || (r[5] = (e) =>
|
|
3434
|
+
x("div", {
|
|
3435
|
+
onClick: r[5] || (r[5] = (e) => pl.value = !pl.value),
|
|
3435
3436
|
style: { cursor: "pointer" }
|
|
3436
3437
|
}, [
|
|
3437
3438
|
vl(v(La), {
|
|
@@ -3441,7 +3442,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
3441
3442
|
}, null, 8, ["stroke"])
|
|
3442
3443
|
])
|
|
3443
3444
|
]),
|
|
3444
|
-
|
|
3445
|
+
pl.value ? (n(), we(v(no), {
|
|
3445
3446
|
key: `sparkline_${na.value}`,
|
|
3446
3447
|
dataset: Uo.value,
|
|
3447
3448
|
config: qo.value
|
|
@@ -3456,7 +3457,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
3456
3457
|
onClose: zt
|
|
3457
3458
|
}, {
|
|
3458
3459
|
th: G(({ th: e }) => [
|
|
3459
|
-
|
|
3460
|
+
x("div", { innerHTML: e }, null, 8, pn)
|
|
3460
3461
|
]),
|
|
3461
3462
|
td: G(({ td: e }) => [
|
|
3462
3463
|
Nt(ae(isNaN(Number(e)) ? e : v(Ne)({
|
|
@@ -3482,7 +3483,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
3482
3483
|
l.value.table.useDialog ? {
|
|
3483
3484
|
name: "actions",
|
|
3484
3485
|
fn: G(() => [
|
|
3485
|
-
|
|
3486
|
+
x("button", {
|
|
3486
3487
|
tabindex: "0",
|
|
3487
3488
|
class: "vue-ui-user-options-button",
|
|
3488
3489
|
onClick: r[3] || (r[3] = (e) => ya(l.value.chart.userOptions.callbacks.csv))
|
|
@@ -3499,7 +3500,7 @@ const qt = { chart: { userOptions: { show: !1 }, grid: { showVerticalLines: !1,
|
|
|
3499
3500
|
v(te) ? (n(), we(Fr, { key: 9 })) : d("", !0)
|
|
3500
3501
|
], 46, Xr));
|
|
3501
3502
|
}
|
|
3502
|
-
}, kn = /* @__PURE__ */
|
|
3503
|
+
}, kn = /* @__PURE__ */ Yr(yn, [["__scopeId", "data-v-f838bd95"]]), Rn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3503
3504
|
__proto__: null,
|
|
3504
3505
|
default: kn
|
|
3505
3506
|
}, Symbol.toStringTag, { value: "Module" }));
|