vue-data-ui 3.23.10 → 3.23.11
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/README.md +40 -40
- package/dist/{Arrow-bwmME0jw.js → Arrow-DrF4NNJO.js} +1 -1
- package/dist/{BaseDraggableDialog-DBVHlhQZ.js → BaseDraggableDialog-Dr_Q6Yt5.js} +2 -2
- package/dist/{BaseIcon-B4n7br_R.js → BaseIcon-BbElSC8_.js} +1 -1
- package/dist/{BaseLegendToggle-wRhcG_-q.js → BaseLegendToggle-CtEdLr4R.js} +1 -1
- package/dist/{BaseZoomControls-BZjzzyQo.js → BaseZoomControls-Cvq4UmNG.js} +2 -2
- package/dist/{ColorPicker-B9kUMLSz.js → ColorPicker-ChOgAmCi.js} +2 -2
- package/dist/{DataTable-DMsScfkx.js → DataTable-CmyEubtT.js} +2 -2
- package/dist/{HillActions-IWPfuceW.js → HillActions-3HneGJhS.js} +1 -1
- package/dist/{Legend-DWEFXq9E.js → Legend-BJtY2RA9.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Crs4-xWz.js → NonSvgPenAndPaper-DmxzHJtV.js} +3 -3
- package/dist/{PackageVersion-DNTJUKh1.js → PackageVersion-C0b7KAMa.js} +1 -1
- package/dist/{PenAndPaper-DJ607Hx6.js → PenAndPaper-CIa1F5Jq.js} +3 -3
- package/dist/{Shape-BAhF1ToV.js → Shape-BAL5bQmA.js} +1 -1
- package/dist/{SlicerPreview-sXtk2ZZ2.js → SlicerPreview-BRRyc1p7.js} +426 -426
- package/dist/{SparkTooltip-BE50SZQH.js → SparkTooltip-Bou05CV_.js} +1 -1
- package/dist/{Title-BGLPsoA9.js → Title-CaVA8EIw.js} +1 -1
- package/dist/{Tooltip-DO4-MVhc.js → Tooltip-CVxJe3UW.js} +1 -1
- package/dist/{UserOptions-HQyukyl2.js → UserOptions-WH7-49V0.js} +2 -2
- package/dist/components/arrow.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-hill.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-icon.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/{dom-to-png-Cg_3vpOo.js → dom-to-png-COvyU2SG.js} +1 -1
- package/dist/exposedLib-DrUEXSyf.js +28 -0
- package/dist/{img-tU9mMt9W.js → img-Bkzj3lDD.js} +1 -1
- package/dist/{labelUtils-C_lMnQRs.js → labelUtils-iX76cA2-.js} +1 -1
- package/dist/{lib-AT2PUyyh.js → lib-Dqr_-I6Y.js} +165 -162
- package/dist/{package-enC-Nivt.js → package-D7_0M69J.js} +1 -1
- package/dist/{pdf-ColHHJFH.js → pdf-Bk_9lTdQ.js} +1 -1
- package/dist/{render-common-CqcoYfCA.js → render-common-B0f5NTO9.js} +12 -12
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +13 -2
- package/dist/types/vue-ui-dag.d.ts +2 -0
- package/dist/{useNestedProp-CW0vJS1B.js → useNestedProp-CulPqtou.js} +1 -1
- package/dist/{usePrinter-BFS7d6eb.js → usePrinter-CEiH1b6R.js} +2 -2
- package/dist/utils.js +9 -9
- package/dist/{vue-data-ui-DD7J3yor.js → vue-data-ui-BlZHZHoH.js} +69 -69
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-CtT2BovY.js +1829 -0
- package/dist/{vue-ui-accordion-DJNjilyy.js → vue-ui-accordion-C6L7glHU.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DI8b5E2H.js → vue-ui-age-pyramid-BhGNgnLB.js} +27 -27
- package/dist/{vue-ui-annotator-7ZVfFskI.js → vue-ui-annotator-BwIu0JUV.js} +9 -9
- package/dist/vue-ui-bullet-BI7KJyJx.js +700 -0
- package/dist/{vue-ui-bump-DzB3WQnq.js → vue-ui-bump-BCQ97z1G.js} +237 -237
- package/dist/{vue-ui-candlestick--YWEtek_.js → vue-ui-candlestick-Cs7I5MQS.js} +245 -245
- package/dist/{vue-ui-carousel-table-Dn3RZU0p.js → vue-ui-carousel-table-CDjAjc4b.js} +108 -108
- package/dist/{vue-ui-chestnut-BIsXeXiU.js → vue-ui-chestnut-d6GxjfcP.js} +86 -86
- package/dist/vue-ui-chord-BuConnPN.js +1345 -0
- package/dist/vue-ui-circle-pack-CmxANHap.js +1633 -0
- package/dist/{vue-ui-cursor-C-P2D5i6.js → vue-ui-cursor-CQcnZYBv.js} +3 -3
- package/dist/{vue-ui-dag-CThnMMWA.js → vue-ui-dag-DKUZN-aQ.js} +923 -885
- package/dist/{vue-ui-dashboard-D0NNTRO3.js → vue-ui-dashboard-ciI4wMe6.js} +69 -69
- package/dist/{vue-ui-digits-9tGjGzZh.js → vue-ui-digits-DWf1vzYE.js} +3 -3
- package/dist/{vue-ui-donut-DLN9uPOi.js → vue-ui-donut-CvCViwSI.js} +64 -64
- package/dist/{vue-ui-donut-EZu8p7HF.js → vue-ui-donut-DZTtuFAG.js} +85 -85
- package/dist/{vue-ui-donut-evolution-mu-iGTIn.js → vue-ui-donut-evolution-BvZX3Gi8.js} +347 -347
- package/dist/{vue-ui-dumbbell-Dvldi3Oo.js → vue-ui-dumbbell-BZywCpHd.js} +229 -229
- package/dist/vue-ui-flow-D5jcKr_S.js +1214 -0
- package/dist/vue-ui-funnel-7zX5QnQx.js +747 -0
- package/dist/{vue-ui-galaxy-D6eYN8Ut.js → vue-ui-galaxy-BuGd-Ojm.js} +64 -64
- package/dist/vue-ui-gauge-BlDQIpBk.js +932 -0
- package/dist/{vue-ui-geo-CQqNemR6.js → vue-ui-geo-PWGZw4Un.js} +34 -34
- package/dist/{vue-ui-gizmo-ClunTUxX.js → vue-ui-gizmo-CTxB3PAl.js} +10 -10
- package/dist/{vue-ui-heatmap-B_pSQNzO.js → vue-ui-heatmap-sFF5IbM8.js} +472 -472
- package/dist/{vue-ui-hill-Byp0Tnny.js → vue-ui-hill-DO3r2s-i.js} +10 -10
- package/dist/vue-ui-history-plot-Cj-Olvhn.js +1695 -0
- package/dist/vue-ui-horizontal-bar-B34aYuDZ.js +1708 -0
- package/dist/{vue-ui-kpi-BKw5t-rX.js → vue-ui-kpi-Co6y1YlE.js} +3 -3
- package/dist/{vue-ui-mini-loader-BNm0MQDw.js → vue-ui-mini-loader-BVSIAFYi.js} +2 -2
- package/dist/{vue-ui-molecule-DRwQV5hN.js → vue-ui-molecule-ERAB4YzZ.js} +176 -176
- package/dist/{vue-ui-mood-radar-Bj3KTWYj.js → vue-ui-mood-radar-BPp7L6OP.js} +20 -20
- package/dist/{vue-ui-nested-donuts-83Wh2w6z.js → vue-ui-nested-donuts-CX5ut2yp.js} +104 -104
- package/dist/vue-ui-onion-CWYJTUCq.js +1233 -0
- package/dist/vue-ui-parallel-coordinate-plot-DJrV-dVt.js +1430 -0
- package/dist/{vue-ui-quadrant-_J-Qr7-K.js → vue-ui-quadrant-wj8Up03L.js} +32 -32
- package/dist/{vue-ui-quick-chart-DcOUq4ym.js → vue-ui-quick-chart-CPYdScHL.js} +153 -153
- package/dist/{vue-ui-radar-FlRlsoAd.js → vue-ui-radar-D3gLQcI5.js} +41 -41
- package/dist/{vue-ui-rating-eCxEZD8C.js → vue-ui-rating-dBCk6ECe.js} +26 -26
- package/dist/vue-ui-relation-circle-DeNBOPjz.js +903 -0
- package/dist/vue-ui-ridgeline-DQcZJ_hv.js +1614 -0
- package/dist/vue-ui-rings-CF9NfFW2.js +1250 -0
- package/dist/vue-ui-scatter-U_xxKOte.js +2403 -0
- package/dist/{vue-ui-skeleton-CNOam3kC.js → vue-ui-skeleton-GA4wzjXV.js} +3 -3
- package/dist/{vue-ui-smiley-YdyidjBH.js → vue-ui-smiley-D1pW2Fdy.js} +23 -23
- package/dist/{vue-ui-spark-trend-CS5GLtYL.js → vue-ui-spark-trend-BXRGMn5-.js} +23 -23
- package/dist/{vue-ui-sparkbar-DDHwgP4k.js → vue-ui-sparkbar-96D0eR-o.js} +24 -24
- package/dist/{vue-ui-sparkgauge-BcQu9V3h.js → vue-ui-sparkgauge-BWBek2u2.js} +61 -61
- package/dist/{vue-ui-sparkhistogram-CPsA5P6c.js → vue-ui-sparkhistogram-Cqs068RX.js} +15 -15
- package/dist/vue-ui-sparkline-B8cyY_P1.js +1584 -0
- package/dist/{vue-ui-sparkstackbar-4tsTxMe2.js → vue-ui-sparkstackbar-C0BkLc2b.js} +207 -207
- package/dist/vue-ui-stackbar-DtsOc7B_.js +2332 -0
- package/dist/{vue-ui-stackline-BNCWO_jG.js → vue-ui-stackline-MSs0pdhE.js} +605 -605
- package/dist/{vue-ui-strip-plot-2Y1c02Ek.js → vue-ui-strip-plot-Df-TomML.js} +57 -57
- package/dist/vue-ui-table-BKSRQGVK.js +1352 -0
- package/dist/{vue-ui-table-heatmap-BacaEjQy.js → vue-ui-table-heatmap-CglQqfWH.js} +84 -84
- package/dist/{vue-ui-table-sparkline-B8oAU5yr.js → vue-ui-table-sparkline-B7Dh-fN2.js} +11 -11
- package/dist/vue-ui-thermometer-DXuLn8NC.js +756 -0
- package/dist/{vue-ui-timer-CWZgSpP8.js → vue-ui-timer-orCjVwS4.js} +12 -12
- package/dist/{vue-ui-tiremarks-LLVCPyg9.js → vue-ui-tiremarks-DNoQ6Fl2.js} +12 -12
- package/dist/{vue-ui-treemap-ehBl9JMC.js → vue-ui-treemap-90_Clj0e.js} +44 -44
- package/dist/vue-ui-waffle-BSQXyJ1S.js +1610 -0
- package/dist/{vue-ui-wheel-C4OHPrtC.js → vue-ui-wheel-CfU0Nnn0.js} +28 -28
- package/dist/{vue-ui-word-cloud-CDHn3Kwa.js → vue-ui-word-cloud-AgMvmPlI.js} +32 -32
- package/dist/{vue-ui-world-ao1xf04I.js → vue-ui-world-D0Z9B6M2.js} +116 -116
- package/dist/{vue-ui-xy-_U3wmtCf.js → vue-ui-xy-5Te2TfRK.js} +304 -304
- package/dist/vue-ui-xy-canvas-BHpBO5dS.js +1823 -0
- package/dist/{vue-ui-xy-DmJDCl3c.js → vue-ui-xy-ua_mFu_a.js} +99 -99
- package/package.json +1 -1
- package/dist/exposedLib-vfRiIvq_.js +0 -28
- package/dist/vue-ui-3d-bar-DgrcdAgz.js +0 -1829
- package/dist/vue-ui-bullet-Dyd5F1Wa.js +0 -700
- package/dist/vue-ui-chord-BimXqVsF.js +0 -1345
- package/dist/vue-ui-circle-pack-DKQEhL-L.js +0 -1633
- package/dist/vue-ui-flow-DYZBT5Cb.js +0 -1214
- package/dist/vue-ui-funnel--NaxO0cZ.js +0 -747
- package/dist/vue-ui-gauge-DTIEl2Xb.js +0 -932
- package/dist/vue-ui-history-plot-CMu8ST1E.js +0 -1695
- package/dist/vue-ui-horizontal-bar-BQn7WxQ-.js +0 -1708
- package/dist/vue-ui-onion-C27GpneA.js +0 -1233
- package/dist/vue-ui-parallel-coordinate-plot-BklOszr1.js +0 -1430
- package/dist/vue-ui-relation-circle-DnsxHv7t.js +0 -903
- package/dist/vue-ui-ridgeline-TopTLyaE.js +0 -1614
- package/dist/vue-ui-rings-obVfb09j.js +0 -1250
- package/dist/vue-ui-scatter-BHSuA506.js +0 -2403
- package/dist/vue-ui-sparkline-CnbO-GkM.js +0 -1584
- package/dist/vue-ui-stackbar-2_SrMFNT.js +0 -2332
- package/dist/vue-ui-table-DJZxHo5N.js +0 -1352
- package/dist/vue-ui-thermometer-BGtxNU9T.js +0 -756
- package/dist/vue-ui-waffle-DpBAXbhh.js +0 -1610
- package/dist/vue-ui-xy-canvas-Bx-9y53V.js +0 -1823
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, A as n, B as r,
|
|
2
|
+
import { $ as t, A as n, B as r, Ct as i, D as a, Dt as o, G as s, H as c, Ht as l, I as u, It as d, Jt as ee, L as te, M as f, N as ne, Nt as re, P as ie, S as ae, St as oe, U as se, Ut as ce, V as le, Vt as ue, W as de, X as p, Xt as fe, Yt as pe, _ as m, b as h, c as me, d as he, ft as ge, i as g, k as _e, l as ve, n as ye, nt as be, o as xe, q as Se, qt as Ce, r as we, st as _, v as Te, w as Ee, wt as v, yt as De, z as Oe, zt as ke } from "./lib-Dqr_-I6Y.js";
|
|
3
3
|
import { n as Ae, t as je } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { n as Me, r as Ne, t as Pe } from "./useTimeLabels-d2f-W1L4.js";
|
|
5
5
|
import { t as Fe } from "./useConfig-DwdGsXTx.js";
|
|
6
|
-
import { t as Ie } from "./usePrinter-
|
|
6
|
+
import { t as Ie } from "./usePrinter-CEiH1b6R.js";
|
|
7
7
|
import { n as Le, t as Re } from "./BaseScanner-DZvpgOjM.js";
|
|
8
|
-
import { t as ze } from "./useNestedProp-
|
|
8
|
+
import { t as ze } from "./useNestedProp-CulPqtou.js";
|
|
9
9
|
import { t as Be } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as Ve } from "./useChartExport-DNiwdPmb.js";
|
|
11
11
|
import { t as He } from "./useTransitions-g_zBREk2.js";
|
|
12
12
|
import { t as Ue } from "./useStableElementSize-C7KADDKj.js";
|
|
13
13
|
import { t as We } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
14
|
-
import { t as Ge } from "./img-
|
|
15
|
-
import { n as Ke } from "./Title-
|
|
14
|
+
import { t as Ge } from "./img-Bkzj3lDD.js";
|
|
15
|
+
import { n as Ke } from "./Title-CaVA8EIw.js";
|
|
16
16
|
import { t as qe } from "./vue_ui_xy-BA3-_LCx.js";
|
|
17
|
-
import { t as Je } from "./Shape-
|
|
17
|
+
import { t as Je } from "./Shape-BAL5bQmA.js";
|
|
18
18
|
import { t as Ye } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
19
19
|
import { t as Xe } from "./DefGrad-DVBqDjhO.js";
|
|
20
|
-
import { t as Ze } from "./SlicerPreview-
|
|
21
|
-
import { t as Qe } from "./vue-ui-accordion-
|
|
22
|
-
import { t as $e } from "./BaseLegendToggle-
|
|
20
|
+
import { t as Ze } from "./SlicerPreview-BRRyc1p7.js";
|
|
21
|
+
import { t as Qe } from "./vue-ui-accordion-C6L7glHU.js";
|
|
22
|
+
import { t as $e } from "./BaseLegendToggle-CtEdLr4R.js";
|
|
23
23
|
import { t as et } from "./A11yDataTable-DdRsVULz.js";
|
|
24
24
|
import { Fragment as y, Teleport as tt, computed as b, createBlock as nt, createCommentVNode as x, createElementBlock as S, createElementVNode as C, createSlots as rt, createTextVNode as it, createVNode as at, defineAsyncComponent as ot, getCurrentInstance as st, guardReactiveProps as ct, mergeProps as lt, nextTick as ut, normalizeClass as w, normalizeProps as dt, normalizeStyle as T, onBeforeUnmount as ft, onMounted as pt, openBlock as E, ref as D, renderList as O, renderSlot as k, resolveDynamicComponent as mt, shallowRef as ht, toDisplayString as A, toRefs as gt, unref as j, useSlots as _t, vModelCheckbox as vt, watch as yt, watchEffect as bt, withCtx as M, withDirectives as xt } from "vue";
|
|
25
25
|
//#region src/utils/xy.js
|
|
@@ -568,14 +568,14 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
568
568
|
"copyAlt"
|
|
569
569
|
],
|
|
570
570
|
setup(e, { expose: Ye, emit: jt }) {
|
|
571
|
-
let N = e, ui = ot(() => import("./DataTable-
|
|
571
|
+
let N = e, ui = ot(() => import("./DataTable-CmyEubtT.js")), di = ot(() => import("./Tooltip-CVxJe3UW.js")), fi = ot(() => import("./UserOptions-WH7-49V0.js").then((e) => e.n)), pi = ot(() => import("./BaseIcon-BbElSC8_.js").then((e) => e.n)), mi = ot(() => import("./vue-ui-table-sparkline-B7Dh-fN2.js").then((e) => e.n)), hi = ot(() => import("./PackageVersion-C0b7KAMa.js").then((e) => e.t)), gi = ot(() => import("./PenAndPaper-CIa1F5Jq.js").then((e) => e.t)), _i = ot(() => import("./BaseDraggableDialog-Dr_Q6Yt5.js").then((e) => e.n)), vi = jt, yi = _t(), bi = st(), { vue_ui_xy: xi } = Fe(), { isThemeValid: Si, warnInvalidTheme: Ci } = Be(), wi = D(null), Ti = D(null), Ei = D(null), Di = D(null), Oi = D(null), ki = D(null), Ai = D(null), ji = D(null), Mi = D(null), Ni = D(null), Pi = D(null), Fi = D(null), Ii = D(null), Li = D(null), Ri = D(0), P = D(null), zi = D(!0), Bi = D(600), F = D(1e3), Vi = D("0 0 1000 600"), Hi = D({
|
|
572
572
|
x: 0,
|
|
573
573
|
y: 0
|
|
574
574
|
}), Ui = D({
|
|
575
575
|
line: "line",
|
|
576
576
|
bar: "bar",
|
|
577
577
|
plot: "plot"
|
|
578
|
-
}), Wi = D(!1), Gi = D(!1), Ki = D(!1), qi = D(null), Ji = D([]), Yi = b(() => new Set(Ji.value)), I = D(
|
|
578
|
+
}), Wi = D(!1), Gi = D(!1), Ki = D(!1), qi = D(null), Ji = D([]), Yi = b(() => new Set(Ji.value)), I = D(Se()), Xi = D(0), Zi = D(0), Qi = D(0), $i = D(!0), ea = D(0), L = D(null), ta = D(!1), na = D(!0), ra = D(!0), R = D(null), ia = D({}), aa = D(null), oa = D(!1), sa = D(null), ca = D(null), z = D(null), la = D(null), ua = D({
|
|
579
579
|
x: 0,
|
|
580
580
|
y: 0
|
|
581
581
|
}), da = D(null), fa = D(null), B = D(null), pa = D(null), ma = D(null), ha = ht(null), ga = D(!1), _a = D(0), va = D(0), ya = Ue({
|
|
@@ -623,7 +623,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
623
623
|
}), Aa = b(() => Math.max(ka.value.line * 1.5, ka.value.selectedLine));
|
|
624
624
|
pt(() => {
|
|
625
625
|
oa.value = !0, N.dataset.length && La.value && N.dataset.forEach((e, t) => {
|
|
626
|
-
[null, void 0].includes(e.series) &&
|
|
626
|
+
[null, void 0].includes(e.series) && be({
|
|
627
627
|
componentName: "VueUiXy",
|
|
628
628
|
type: "datasetSerieAttribute",
|
|
629
629
|
property: "series (number[])",
|
|
@@ -637,10 +637,10 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
637
637
|
userConfig: N.config,
|
|
638
638
|
defaultConfig: xi
|
|
639
639
|
});
|
|
640
|
-
N.config &&
|
|
640
|
+
N.config && De(N.config, "chart.highlightArea") && (Array.isArray(N.config.chart.highlightArea) ? e.chart.highlightArea = N.config.chart.highlightArea : e.chart.highlightArea = [N.config.chart.highlightArea]), N.config && De(N.config, "chart.annotations") && Array.isArray(N.config.chart.annotations) && N.config.chart.annotations.length ? e.chart.annotations = N.config.chart.annotations.map((e) => ze({
|
|
641
641
|
defaultConfig: xi.chart.annotations[0],
|
|
642
642
|
userConfig: e
|
|
643
|
-
})) : e.chart.annotations = [], N.config &&
|
|
643
|
+
})) : e.chart.annotations = [], N.config && De(N.config, "chart.grid.position") && N.config.chart.grid.position === "start" && N.dataset.length && N.dataset.some((e) => e.type === "bar") && (e.chart.grid.position = "middle", De(N.config, "debug") && console.warn("Vue Data UI - VueUiXy - config.chart.grid.position was overriden to `middle` because your dataset contains a bar")), N.config && De(N.config, "chart.highlightArea") && (Array.isArray(N.config.chart.highlightArea) ? e.chart.highlightArea = N.config.chart.highlightArea.map((e) => Ma({
|
|
644
644
|
defaultConfig: xi.chart.highlightArea,
|
|
645
645
|
userConfig: e
|
|
646
646
|
})) : e.chart.highlightArea = Ma({
|
|
@@ -659,7 +659,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
659
659
|
});
|
|
660
660
|
return {
|
|
661
661
|
...r,
|
|
662
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
662
|
+
customPalette: r.customPalette.length ? r.customPalette : ee[t] || d
|
|
663
663
|
};
|
|
664
664
|
}
|
|
665
665
|
function Ma({ defaultConfig: e, userConfig: t }) {
|
|
@@ -738,7 +738,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
738
738
|
}
|
|
739
739
|
U.value.showTooltip = H.value.chart.tooltip.show === !0, e !== Da.value && (U.value.isStacked = e, Da.value = e), t !== Oa.value && (U.value.useIndividualScale = t, Oa.value = t), U.value.isStacked && (U.value.useIndividualScale = !0);
|
|
740
740
|
}
|
|
741
|
-
let La = b(() => H.value.debug), Ra = b(() =>
|
|
741
|
+
let La = b(() => H.value.debug), Ra = b(() => fe({
|
|
742
742
|
defaultConfig: {
|
|
743
743
|
useCssAnimation: !1,
|
|
744
744
|
showTable: !1,
|
|
@@ -841,11 +841,11 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
841
841
|
});
|
|
842
842
|
},
|
|
843
843
|
skeletonDataset: za.value,
|
|
844
|
-
skeletonConfig:
|
|
844
|
+
skeletonConfig: fe({
|
|
845
845
|
defaultConfig: H.value,
|
|
846
846
|
userConfig: Ra.value
|
|
847
847
|
})
|
|
848
|
-
}), Ua = Dt((e, t) =>
|
|
848
|
+
}), Ua = Dt((e, t) => o({
|
|
849
849
|
data: e,
|
|
850
850
|
threshold: t
|
|
851
851
|
})), Wa = (e) => Ua(e, H.value.downsample.threshold), Ga = b(() => {
|
|
@@ -965,7 +965,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
965
965
|
}
|
|
966
966
|
let n = so.value === null ? e > 0 ? 0 : e : so.value, r = lo.value === null ? t : lo.value;
|
|
967
967
|
return Ot(e < n ? e : n, t > r ? t : r).max;
|
|
968
|
-
}), K = b(() => H.value.chart.grid.labels.yAxis.useNiceScale ?
|
|
968
|
+
}), K = b(() => H.value.chart.grid.labels.yAxis.useNiceScale ? m(po.value, mo.value < 0 ? 0 : mo.value, H.value.chart.grid.labels.yAxis.commonScaleSteps) : Te(po.value, mo.value < 0 ? 0 : mo.value, H.value.chart.grid.labels.yAxis.commonScaleSteps)), ho = b(() => [null, void 0].includes(H.value.chart.grid.labels.yAxis.scaleMin) ? K.value.min >= 0 ? 0 : Math.abs(K.value.min) : -K.value.min), q = b(() => Va.value.some((e) => Array.isArray(e.series) && e.series.some(Tt)));
|
|
969
969
|
bt(() => {
|
|
970
970
|
q.value && Va.value.some((e) => !vo(e)) && console.warn("Vue Data UI - VueUiXy: mixed continuous and non-continuous series are not supported in the same chart.\n\nContinuous mode requires all visible 'line' and 'plot' series to use coordinate-based datasets:\n[{ x: number, y: number }]\n\nSeries of type 'bar' and standard numeric series are ignored in continuous mode to prevent runtime errors.\n\nIf you need to mix 'bar', 'line', and 'plot' series in the same chart, all series must use the standard [number, number, number...] format.");
|
|
971
971
|
});
|
|
@@ -994,7 +994,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
994
994
|
isInvalid: !0
|
|
995
995
|
} : {
|
|
996
996
|
x: Number(e.x),
|
|
997
|
-
y:
|
|
997
|
+
y: i(e.y) ? Number(e.y) : null,
|
|
998
998
|
index: t,
|
|
999
999
|
raw: e,
|
|
1000
1000
|
isNull: !1,
|
|
@@ -1005,12 +1005,12 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
1005
1005
|
return q.value ? e && typeof e == "object" ? e.y : null : e;
|
|
1006
1006
|
}
|
|
1007
1007
|
let xo = b(() => !zi.value && !q.value ? Va.value : Va.value.map((e, t) => {
|
|
1008
|
-
let n = `uniqueId_${t}`, r = vo(e),
|
|
1008
|
+
let n = `uniqueId_${t}`, r = vo(e), a = q.value ? r ? e.series : [] : Wa(e.series);
|
|
1009
1009
|
return {
|
|
1010
1010
|
...e,
|
|
1011
1011
|
slotAbsoluteIndex: t,
|
|
1012
|
-
series: q.value ?
|
|
1013
|
-
color:
|
|
1012
|
+
series: q.value ? a.map((e, t) => yo(e, t)).filter((e) => e.isInvalid ? !1 : e.x === null && e.y === null ? W.value.start <= 0 && W.value.end >= 0 : e.x >= W.value.start && e.x <= W.value.end) : a.map((e) => i(e) ? e : null).slice(W.value.start, W.value.end),
|
|
1013
|
+
color: ae(e.color ? e.color : oo.value[t] ? oo.value[t] : d[t]),
|
|
1014
1014
|
id: n,
|
|
1015
1015
|
scaleLabel: e.scaleLabel || n
|
|
1016
1016
|
};
|
|
@@ -1120,7 +1120,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
1120
1120
|
individualOffsetX: 36
|
|
1121
1121
|
};
|
|
1122
1122
|
}), No = b(() => {
|
|
1123
|
-
let e = +(H.value.chart.grid.position === "middle"), t = Q.value + e, n =
|
|
1123
|
+
let e = +(H.value.chart.grid.position === "middle"), t = Q.value + e, n = _(X.value?.top), r = _(X.value?.bottom);
|
|
1124
1124
|
return q.value ? H.value.chart.grid.position === "middle" ? dl.value.map((e, t, i) => {
|
|
1125
1125
|
if (t === 0) return null;
|
|
1126
1126
|
let a = i[t - 1], o = a.x + (e.x - a.x) / 2;
|
|
@@ -1201,7 +1201,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
1201
1201
|
return Z.value.length ? Math.min(e, [...new Set(Z.value.map((e) => e.text))].length) : e;
|
|
1202
1202
|
}), Jo = b(() => {
|
|
1203
1203
|
let e = H.value.chart.grid.labels.xAxisLabels, t = Z.value || [], n = Wo.value || [], r = W.value.start ?? 0, i = z.value, a = Q.value, o = t.map((e) => e?.text ?? ""), s = n.map((e) => e?.text ?? "");
|
|
1204
|
-
return
|
|
1204
|
+
return me(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, qo.value || 1), o, s, r, i, a);
|
|
1205
1205
|
}), Yo = b(() => (Jo.value || []).map((e) => e?.text ?? "").join("|"));
|
|
1206
1206
|
pt(() => {
|
|
1207
1207
|
requestAnimationFrame(() => {
|
|
@@ -1245,14 +1245,14 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
1245
1245
|
q.value || (L.value = e);
|
|
1246
1246
|
}
|
|
1247
1247
|
function Qo(e) {
|
|
1248
|
-
if (!q.value || !
|
|
1248
|
+
if (!q.value || !v(e)) {
|
|
1249
1249
|
ca.value = null, Vs.value = [], Hs.value = null;
|
|
1250
1250
|
return;
|
|
1251
1251
|
}
|
|
1252
1252
|
let t = Number(e), n = Ds.value ? -t : t;
|
|
1253
1253
|
ca.value = n, Eo(n);
|
|
1254
1254
|
}
|
|
1255
|
-
let $o = b(() => q.value ?
|
|
1255
|
+
let $o = b(() => q.value ? v(ca.value) || v(Hs.value) : ![null, void 0].includes(z.value) || ![null, void 0].includes(L.value));
|
|
1256
1256
|
function es() {
|
|
1257
1257
|
U.value.isStacked = !U.value.isStacked, U.value.isStacked ? U.value.useIndividualScale = !0 : U.value.useIndividualScale = H.value.chart.grid.labels.yAxis.useIndividualScale;
|
|
1258
1258
|
}
|
|
@@ -1388,10 +1388,10 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
1388
1388
|
let js = b(() => K.value.min <= 0 && K.value.max >= 0 ? As(0) : K.value.min > 0 ? As(K.value.min) : As(K.value.max));
|
|
1389
1389
|
function Ms(e) {
|
|
1390
1390
|
let t = ![null, void 0].includes(H.value.chart.grid.labels.yAxis.scaleMin) && H.value.chart.grid.labels.yAxis.scaleMin > 0 && po.value >= 0 ? X.value?.bottom : ks.value;
|
|
1391
|
-
return e.value >= 0 ?
|
|
1391
|
+
return e.value >= 0 ? h(t - e.y <= 0 ? 1e-5 : t - e.y) : h(e.y - ks.value <= 0 ? 1e-5 : e.y - ks.value);
|
|
1392
1392
|
}
|
|
1393
1393
|
function Ns(e) {
|
|
1394
|
-
return e.value >= 0 ?
|
|
1394
|
+
return e.value >= 0 ? h(e.zeroPosition - e.y <= 0 ? 1e-5 : e.zeroPosition - e.y) : h(e.y - e.zeroPosition <= 0 ? 1e-5 : e.zeroPosition - e.y);
|
|
1395
1395
|
}
|
|
1396
1396
|
let Ps = b(() => {
|
|
1397
1397
|
let e = Math.max(1, Q.value);
|
|
@@ -1437,21 +1437,21 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
1437
1437
|
for (let r = 0; r < J.value.length; r += 1) {
|
|
1438
1438
|
let i = J.value[r];
|
|
1439
1439
|
if (["line", "plot"].includes(i.type) && Array.isArray(i.series)) for (let r = 0; r < i.series.length; r += 1) {
|
|
1440
|
-
let
|
|
1441
|
-
if (!a
|
|
1442
|
-
let
|
|
1440
|
+
let a = i.series[r];
|
|
1441
|
+
if (!v(a?.x) || !v(a?.y)) continue;
|
|
1442
|
+
let o = Number(a.x), s = pl(a), c = {
|
|
1443
1443
|
datapoint: i,
|
|
1444
|
-
point:
|
|
1444
|
+
point: a,
|
|
1445
1445
|
index: r,
|
|
1446
|
-
x:
|
|
1447
|
-
y:
|
|
1446
|
+
x: s,
|
|
1447
|
+
y: a.y,
|
|
1448
1448
|
distance: 0,
|
|
1449
1449
|
sourceOrder: n
|
|
1450
1450
|
};
|
|
1451
1451
|
e.push({
|
|
1452
|
-
...
|
|
1453
|
-
xValue:
|
|
1454
|
-
}), t.has(
|
|
1452
|
+
...c,
|
|
1453
|
+
xValue: o
|
|
1454
|
+
}), t.has(o) || t.set(o, []), t.get(o).push(c), n += 1;
|
|
1455
1455
|
}
|
|
1456
1456
|
}
|
|
1457
1457
|
return e.sort((e, t) => e.x === t.x ? e.sourceOrder - t.sourceOrder : e.x - t.x), {
|
|
@@ -1481,12 +1481,12 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
1481
1481
|
let Gs = b(() => q.value ? Array.from(Us.value.matchingPointsByXValue.keys()).sort((e, t) => pl({ x: e }) - pl({ x: t })) : []);
|
|
1482
1482
|
function Ks(e) {
|
|
1483
1483
|
let t = Gs.value[e];
|
|
1484
|
-
if (!
|
|
1484
|
+
if (!v(t)) {
|
|
1485
1485
|
Vs.value = [], Hs.value = null, ca.value = null, Ki.value = !1;
|
|
1486
1486
|
return;
|
|
1487
1487
|
}
|
|
1488
1488
|
Eo(Number(t));
|
|
1489
|
-
let n = pl({ x: Number(t) }), r = X.value.top + X.value.height / 2, i =
|
|
1489
|
+
let n = pl({ x: Number(t) }), r = X.value.top + X.value.height / 2, i = Ce(n, r, R.value);
|
|
1490
1490
|
i && (ua.value = i), z.value = e, la.value = e, Ki.value = !0;
|
|
1491
1491
|
}
|
|
1492
1492
|
function qs(e) {
|
|
@@ -1596,7 +1596,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
1596
1596
|
width: r.width,
|
|
1597
1597
|
height: r.height,
|
|
1598
1598
|
aspectRatio: r.height ? r.width / r.height : 0
|
|
1599
|
-
}, a = await
|
|
1599
|
+
}, a = await ge(t, e) ?? i;
|
|
1600
1600
|
return {
|
|
1601
1601
|
imageUri: t,
|
|
1602
1602
|
base64: n,
|
|
@@ -1659,7 +1659,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
1659
1659
|
...e,
|
|
1660
1660
|
series: Wa(e.series),
|
|
1661
1661
|
id: `uniqueId_${t}`,
|
|
1662
|
-
color:
|
|
1662
|
+
color: ae(e.color ? e.color : oo.value[t] ? oo.value[t] : d[t])
|
|
1663
1663
|
})) : Va.value), pc = b(() => J.value.map((e) => {
|
|
1664
1664
|
let t = e.absoluteValues.map((e) => [void 0, null].includes(e) ? null : e);
|
|
1665
1665
|
return {
|
|
@@ -1727,7 +1727,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
1727
1727
|
function Cc(e) {
|
|
1728
1728
|
return Math.max(1e-5, gc.value * e);
|
|
1729
1729
|
}
|
|
1730
|
-
let wc = b(() =>
|
|
1730
|
+
let wc = b(() => xe(So.value.filter((e) => !Yi.value.has(e.id)))), Tc = [
|
|
1731
1731
|
"bar",
|
|
1732
1732
|
"line",
|
|
1733
1733
|
"plot"
|
|
@@ -1817,7 +1817,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
1817
1817
|
isVisible: !Yi.value.has(n.id)
|
|
1818
1818
|
};
|
|
1819
1819
|
});
|
|
1820
|
-
}), Wc = b(() => !q.value || !Ds.value ? hl.value : -gl.value), Gc = b(() => !q.value || !Ds.value ? gl.value : -hl.value), Kc = b(() => !q.value || !Ds.value ? W.value.start : -Number(W.value.end)), qc = b(() => !q.value || !Ds.value ? W.value.end : -Number(W.value.start)), Jc = b(() => !q.value || !
|
|
1820
|
+
}), Wc = b(() => !q.value || !Ds.value ? hl.value : -gl.value), Gc = b(() => !q.value || !Ds.value ? gl.value : -hl.value), Kc = b(() => !q.value || !Ds.value ? W.value.start : -Number(W.value.end)), qc = b(() => !q.value || !Ds.value ? W.value.end : -Number(W.value.start)), Jc = b(() => !q.value || !v(ca.value) ? ca.value : Ds.value ? -Number(ca.value) : Number(ca.value)), Yc = b(() => {
|
|
1821
1821
|
let e = H.value.chart.grid.labels.yAxis.scaleMin, t = H.value.chart.grid.labels.yAxis.scaleMax;
|
|
1822
1822
|
return !q.value || !Cs.value ? e : Hc(t);
|
|
1823
1823
|
}), Xc = b(() => {
|
|
@@ -1864,14 +1864,14 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
1864
1864
|
return t.map((e, t) => {
|
|
1865
1865
|
let { yAxis: { yTop: i, yBottom: a, label: o } } = e, s = i != null && a != null && i !== a, l = i == null ? null : c(i), u = a == null ? null : c(a), d = Io(o.fontSize);
|
|
1866
1866
|
d.font = `${o.fontSize}px sans-serif`;
|
|
1867
|
-
let ee = d.measureText(o.text).width, te = o.fontSize,
|
|
1868
|
-
|
|
1869
|
-
let
|
|
1867
|
+
let ee = d.measureText(o.text).width, te = o.fontSize, f = (o.position === "start" ? n + o.padding?.left : r - o.padding?.right) + o.offsetX, ne = (l != null && u != null ? Math.min(l, u) : l ?? u) - o.fontSize / 3 + o.offsetY - o.padding?.top, re;
|
|
1868
|
+
re = o.textAnchor === "middle" ? f - ee / 2 - o.padding?.left : o.textAnchor === "end" ? f - ee - o.padding?.right : f - o.padding?.left;
|
|
1869
|
+
let ie = ne - te * .75 - o.padding?.top;
|
|
1870
1870
|
return {
|
|
1871
1871
|
show: ![
|
|
1872
1872
|
l,
|
|
1873
1873
|
u,
|
|
1874
|
-
|
|
1874
|
+
ie
|
|
1875
1875
|
].includes(NaN),
|
|
1876
1876
|
id: sl("annotation_y", [
|
|
1877
1877
|
t,
|
|
@@ -1887,12 +1887,12 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
1887
1887
|
x1: n,
|
|
1888
1888
|
x2: r,
|
|
1889
1889
|
_text: {
|
|
1890
|
-
x:
|
|
1891
|
-
y:
|
|
1890
|
+
x: f,
|
|
1891
|
+
y: ne
|
|
1892
1892
|
},
|
|
1893
1893
|
_box: {
|
|
1894
|
-
x:
|
|
1895
|
-
y:
|
|
1894
|
+
x: re,
|
|
1895
|
+
y: ie,
|
|
1896
1896
|
width: ee + o.padding?.left + o.padding?.right,
|
|
1897
1897
|
height: te + o.padding?.top + o.padding?.bottom,
|
|
1898
1898
|
fill: o.backgroundColor,
|
|
@@ -1975,7 +1975,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
1975
1975
|
return Ba.value || ls.value || !H.value.line.showTransition ? void 0 : `all ${H.value.line.transitionDurationMs}ms ease-in-out`;
|
|
1976
1976
|
}
|
|
1977
1977
|
let ll = b(() => il(xo.value, 0, 1)), ul = b(() => {
|
|
1978
|
-
let e = H.value.chart.grid.labels.xAxis.commonScaleSteps, t = H.value.chart.grid.labels.xAxis.scaleMin, n = H.value.chart.grid.labels.xAxis.scaleMax, r = t !== null && Number.isFinite(Number(t)) ? Number(t) : ll.value.min, i = n !== null && Number.isFinite(Number(n)) ? Number(n) : ll.value.max, a = H.value.chart.grid.labels.xAxis.useNiceScale ?
|
|
1978
|
+
let e = H.value.chart.grid.labels.xAxis.commonScaleSteps, t = H.value.chart.grid.labels.xAxis.scaleMin, n = H.value.chart.grid.labels.xAxis.scaleMax, r = t !== null && Number.isFinite(Number(t)) ? Number(t) : ll.value.min, i = n !== null && Number.isFinite(Number(n)) ? Number(n) : ll.value.max, a = H.value.chart.grid.labels.xAxis.useNiceScale ? m(r, i, e) : Te(r, i, e);
|
|
1979
1979
|
if (H.value.chart.grid.position !== "start") return a;
|
|
1980
1980
|
let o = a.ticks.length > 1 ? a.ticks[1] - a.ticks[0] : 1;
|
|
1981
1981
|
return {
|
|
@@ -1984,7 +1984,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
1984
1984
|
};
|
|
1985
1985
|
}), dl = b(() => q.value ? (Ds.value ? [...ul.value.ticks].reverse() : [...ul.value.ticks]).map((e, t) => ({
|
|
1986
1986
|
id: `continuous_x_label_${t}`,
|
|
1987
|
-
text:
|
|
1987
|
+
text: g(H.value.chart.grid.labels.xAxis.formatter, e, p({
|
|
1988
1988
|
v: e,
|
|
1989
1989
|
s: H.value.chart.labels.prefix,
|
|
1990
1990
|
p: H.value.chart.labels.suffix,
|
|
@@ -2012,19 +2012,19 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2012
2012
|
return !q.value || !e ? null : e.x ?? null;
|
|
2013
2013
|
}
|
|
2014
2014
|
function yl({ datapoint: e, totalSeries: t, gap: n, usableHeight: r, autoScaleValueMin: i, autoScaleValueMax: a, individualExtremes: o, forceExactScale: s = !1 }) {
|
|
2015
|
-
let c = e.scaleSteps || H.value.chart.grid.labels.yAxis.commonScaleSteps, l = 1.0000001, u = s || !H.value.chart.grid.labels.yAxis.useNiceScale ?
|
|
2015
|
+
let c = e.scaleSteps || H.value.chart.grid.labels.yAxis.commonScaleSteps, l = 1.0000001, u = s || !H.value.chart.grid.labels.yAxis.useNiceScale ? Te : m, d = o.max === o.min ? o.max * l : o.max, ee = a === i ? a * l : a, te = u(o.min, d, c), f = u(i, ee, c), ne = te.min >= 0 ? 0 : Math.abs(te.min), re = te.max + Math.abs(ne), ie = f.max + 0, ae = e.stackIndex, oe = t - 1 - ae, se = U.value.isStacked ? 1 - e.cumulatedStackRatio : 0, ce = U.value.isStacked ? r * se + n * oe : 0, le = U.value.isStacked ? r * e.stackRatio : X.value.height;
|
|
2016
2016
|
return {
|
|
2017
2017
|
scaleSteps: c,
|
|
2018
2018
|
individualScale: te,
|
|
2019
|
-
autoScaleSteps:
|
|
2020
|
-
individualZero:
|
|
2019
|
+
autoScaleSteps: f,
|
|
2020
|
+
individualZero: ne,
|
|
2021
2021
|
autoScaleZero: 0,
|
|
2022
|
-
individualMax:
|
|
2023
|
-
autoScaleMax:
|
|
2024
|
-
yOffset:
|
|
2025
|
-
individualHeight:
|
|
2026
|
-
zeroPosition: X.value?.bottom -
|
|
2027
|
-
autoScaleZeroPosition: X.value?.bottom -
|
|
2022
|
+
individualMax: re,
|
|
2023
|
+
autoScaleMax: ie,
|
|
2024
|
+
yOffset: ce,
|
|
2025
|
+
individualHeight: le,
|
|
2026
|
+
zeroPosition: X.value?.bottom - ce - le * ne / re,
|
|
2027
|
+
autoScaleZeroPosition: X.value?.bottom - ce - le * 0 / ie
|
|
2028
2028
|
};
|
|
2029
2029
|
}
|
|
2030
2030
|
function bl({ datapoint: e, clampNegativeAutoScaleMaximum: t = !1 }) {
|
|
@@ -2123,7 +2123,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2123
2123
|
let Ol = b(() => {
|
|
2124
2124
|
let e = Dc.value, t = H.value.chart.grid.labels.yAxis.gap, n = U.value.isStacked ? t * (e - 1) : 0, r = X.value.height - n;
|
|
2125
2125
|
return Oc.value.map((n, i) => {
|
|
2126
|
-
let { individualScale: a, autoScaleSteps: o, individualZero: s, individualMax: c, autoScaleMax: l, yOffset: u, individualHeight: d, zeroPosition: ee, autoScaleZeroPosition: te, scaleYLabels:
|
|
2126
|
+
let { individualScale: a, autoScaleSteps: o, individualZero: s, individualMax: c, autoScaleMax: l, yOffset: u, individualHeight: d, zeroPosition: ee, autoScaleZeroPosition: te, scaleYLabels: f, autoScaleYLabels: ne, autoScaleRatiosToNiceScale: re } = Tl({
|
|
2127
2127
|
datapoint: n,
|
|
2128
2128
|
totalSeries: e,
|
|
2129
2129
|
gap: t,
|
|
@@ -2131,42 +2131,42 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2131
2131
|
clampNegativeAutoScaleMaximum: !0,
|
|
2132
2132
|
filterMinimumValues: !0,
|
|
2133
2133
|
preserveLooseMinimumExpression: !0
|
|
2134
|
-
}),
|
|
2135
|
-
let r = U.value.useIndividualScale ? (n.absoluteValues[t] + s) / c : Ss(e), a = U.value.useIndividualScale && U.value.isStacked ? X.value?.left + X.value.width / Q.value * t : X.value?.left + Ps.value.bar * i + Ps.value.bar * t *
|
|
2134
|
+
}), ie = Mc.value, ae = El(n.comments), oe = n.series.map((e, t) => {
|
|
2135
|
+
let r = U.value.useIndividualScale ? (n.absoluteValues[t] + s) / c : Ss(e), a = U.value.useIndividualScale && U.value.isStacked ? X.value?.left + X.value.width / Q.value * t : X.value?.left + Ps.value.bar * i + Ps.value.bar * t * ie - Lc.value / 2 - i * Rc.value;
|
|
2136
2136
|
return {
|
|
2137
|
-
yOffset:
|
|
2138
|
-
individualHeight:
|
|
2139
|
-
x:
|
|
2137
|
+
yOffset: h(u),
|
|
2138
|
+
individualHeight: h(d),
|
|
2139
|
+
x: h(a),
|
|
2140
2140
|
y: Ts({
|
|
2141
2141
|
ratio: r,
|
|
2142
2142
|
yOffset: u,
|
|
2143
2143
|
individualHeight: d
|
|
2144
2144
|
}),
|
|
2145
2145
|
value: n.absoluteValues[t],
|
|
2146
|
-
zeroPosition:
|
|
2147
|
-
individualMax:
|
|
2148
|
-
comment:
|
|
2146
|
+
zeroPosition: h(ee),
|
|
2147
|
+
individualMax: h(c),
|
|
2148
|
+
comment: ae[t] || ""
|
|
2149
2149
|
};
|
|
2150
|
-
}),
|
|
2150
|
+
}), se = n.series.map((e, t) => {
|
|
2151
2151
|
let r = U.value.useIndividualScale && U.value.isStacked ? X.value?.left + X.value.width / Q.value * t : X.value?.left - Ps.value.bar / 2 + Ps.value.bar * i + Ps.value.bar * t * So.value.filter((e) => e.type === "bar").filter((e) => !Yi.value.has(e.id)).length;
|
|
2152
2152
|
return {
|
|
2153
|
-
yOffset:
|
|
2154
|
-
individualHeight:
|
|
2155
|
-
x:
|
|
2156
|
-
y:
|
|
2157
|
-
ratio:
|
|
2158
|
-
yOffset:
|
|
2159
|
-
individualHeight:
|
|
2153
|
+
yOffset: h(u),
|
|
2154
|
+
individualHeight: h(d),
|
|
2155
|
+
x: h(r),
|
|
2156
|
+
y: h(Ts({
|
|
2157
|
+
ratio: re[t] || 0,
|
|
2158
|
+
yOffset: h(u),
|
|
2159
|
+
individualHeight: h(d)
|
|
2160
2160
|
})),
|
|
2161
2161
|
value: n.absoluteValues[t],
|
|
2162
|
-
zeroPosition:
|
|
2163
|
-
individualMax:
|
|
2164
|
-
comment:
|
|
2162
|
+
zeroPosition: h(ee),
|
|
2163
|
+
individualMax: h(c),
|
|
2164
|
+
comment: ae[t] || ""
|
|
2165
2165
|
};
|
|
2166
|
-
}),
|
|
2166
|
+
}), ce = Ic({
|
|
2167
2167
|
datapoint: n,
|
|
2168
|
-
scaleYLabels:
|
|
2169
|
-
autoScaleYLabels:
|
|
2168
|
+
scaleYLabels: f,
|
|
2169
|
+
autoScaleYLabels: ne,
|
|
2170
2170
|
zeroPosition: ee,
|
|
2171
2171
|
autoScaleZeroPosition: te,
|
|
2172
2172
|
individualMax: c,
|
|
@@ -2177,26 +2177,26 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2177
2177
|
return {
|
|
2178
2178
|
...n,
|
|
2179
2179
|
yOffset: u,
|
|
2180
|
-
autoScaleYLabels:
|
|
2180
|
+
autoScaleYLabels: ne,
|
|
2181
2181
|
individualHeight: d,
|
|
2182
|
-
scaleYLabels: n.autoScaling ?
|
|
2182
|
+
scaleYLabels: n.autoScaling ? ne : f,
|
|
2183
2183
|
individualScale: n.autoScaling ? o : a,
|
|
2184
2184
|
individualMax: n.autoScaling ? l : c,
|
|
2185
2185
|
zeroPosition: n.autoScaling ? te : ee,
|
|
2186
|
-
plots: n.autoScaling ?
|
|
2187
|
-
scaleGroup:
|
|
2188
|
-
groupId:
|
|
2186
|
+
plots: n.autoScaling ? se : oe,
|
|
2187
|
+
scaleGroup: ce,
|
|
2188
|
+
groupId: ce.groupId
|
|
2189
2189
|
};
|
|
2190
2190
|
});
|
|
2191
2191
|
}), $ = b(() => {
|
|
2192
2192
|
let e = Dc.value, t = H.value.chart.grid.labels.yAxis.gap, i = U.value.isStacked ? t * (e - 1) : 0, a = X.value.height - i;
|
|
2193
2193
|
return kc.value.map((i, o) => {
|
|
2194
|
-
let { individualScale: s, autoScaleSteps:
|
|
2194
|
+
let { individualScale: s, autoScaleSteps: l, individualZero: d, individualMax: ee, autoScaleMax: f, yOffset: re, individualHeight: oe, zeroPosition: ce, autoScaleZeroPosition: ue, scaleYLabels: de, autoScaleYLabels: p, autoScaleRatiosToNiceScale: fe } = Tl({
|
|
2195
2195
|
datapoint: i,
|
|
2196
2196
|
totalSeries: e,
|
|
2197
2197
|
gap: t,
|
|
2198
2198
|
usableHeight: a
|
|
2199
|
-
}), pe = El(i.comments),
|
|
2199
|
+
}), pe = El(i.comments), m = i.series.map((e, t) => {
|
|
2200
2200
|
if (q.value && (e.x == null || e.y == null)) return {
|
|
2201
2201
|
index: t,
|
|
2202
2202
|
x: null,
|
|
@@ -2205,20 +2205,20 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2205
2205
|
datasetXValue: vl(e),
|
|
2206
2206
|
comment: i.comments && i.comments.slice(W.value.start, W.value.end)[t] || ""
|
|
2207
2207
|
};
|
|
2208
|
-
let n = U.value.useIndividualScale ? (i.absoluteValues[t] + Math.abs(
|
|
2208
|
+
let n = U.value.useIndividualScale ? (i.absoluteValues[t] + Math.abs(d)) / ee : Ss(bo(e));
|
|
2209
2209
|
return {
|
|
2210
2210
|
index: t,
|
|
2211
|
-
x:
|
|
2211
|
+
x: h(_l(e, t)),
|
|
2212
2212
|
datasetXValue: vl(e),
|
|
2213
|
-
y:
|
|
2213
|
+
y: h(Ts({
|
|
2214
2214
|
ratio: n,
|
|
2215
|
-
yOffset:
|
|
2216
|
-
individualHeight:
|
|
2215
|
+
yOffset: re,
|
|
2216
|
+
individualHeight: oe
|
|
2217
2217
|
})),
|
|
2218
2218
|
value: i.absoluteValues[t],
|
|
2219
2219
|
comment: pe[t] || ""
|
|
2220
2220
|
};
|
|
2221
|
-
}),
|
|
2221
|
+
}), me = i.series.map((e, t) => q.value && (e.x === null || e.y === null) ? {
|
|
2222
2222
|
index: t,
|
|
2223
2223
|
x: null,
|
|
2224
2224
|
y: null,
|
|
@@ -2227,32 +2227,32 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2227
2227
|
comment: pe[t] || ""
|
|
2228
2228
|
} : [void 0, null].includes(i.absoluteValues[t]) ? {
|
|
2229
2229
|
index: t,
|
|
2230
|
-
x:
|
|
2231
|
-
y:
|
|
2230
|
+
x: h(_l(e, t)),
|
|
2231
|
+
y: ce,
|
|
2232
2232
|
value: i.absoluteValues[t],
|
|
2233
2233
|
comment: pe[t] || ""
|
|
2234
2234
|
} : {
|
|
2235
2235
|
index: t,
|
|
2236
|
-
x:
|
|
2236
|
+
x: h(_l(e, t)),
|
|
2237
2237
|
datasetXValue: vl(e),
|
|
2238
|
-
y:
|
|
2238
|
+
y: h(Ts({
|
|
2239
2239
|
ratio: fe[t] || 0,
|
|
2240
|
-
yOffset:
|
|
2241
|
-
individualHeight:
|
|
2240
|
+
yOffset: re,
|
|
2241
|
+
individualHeight: oe
|
|
2242
2242
|
})),
|
|
2243
2243
|
value: i.absoluteValues[t],
|
|
2244
2244
|
comment: pe[t] || ""
|
|
2245
|
-
}),
|
|
2245
|
+
}), he = i.dashIndices && Array.isArray(i.dashIndices) && i?.dashIndices?.length > 0, ge = H.value.line.cutNullValues ? u(m) : ie(m.filter((e) => e.value !== null)), g = H.value.line.cutNullValues ? u(me) : ie(me.filter((e) => e.value !== null)), ve = H.value.line.cutNullValues ? c(m) : le(m.filter((e) => e.value !== null)), ye = H.value.line.cutNullValues ? c(me) : le(me.filter((e) => e.value !== null)), be = r(H.value.line.cutNullValues ? m : m.filter((e) => e.value !== null)), xe = r(H.value.line.cutNullValues ? me : me.filter((e) => e.value !== null)), Se = he ? se(H.value.line.cutNullValues ? m : m.filter((e) => e.value !== null), i.dashIndices.map((e) => e - W.value.start)) : [], Ce = he ? te(H.value.line.cutNullValues ? m : m.filter((e) => e.value !== null), i.dashIndices.map((e) => e - W.value.start)) : [], we = Ic({
|
|
2246
2246
|
datapoint: i,
|
|
2247
|
-
scaleYLabels:
|
|
2248
|
-
autoScaleYLabels:
|
|
2249
|
-
zeroPosition:
|
|
2250
|
-
autoScaleZeroPosition:
|
|
2247
|
+
scaleYLabels: de,
|
|
2248
|
+
autoScaleYLabels: p,
|
|
2249
|
+
zeroPosition: ce,
|
|
2250
|
+
autoScaleZeroPosition: ue,
|
|
2251
2251
|
individualMax: ee,
|
|
2252
|
-
autoScaleMax:
|
|
2253
|
-
yOffset:
|
|
2254
|
-
individualHeight:
|
|
2255
|
-
}),
|
|
2252
|
+
autoScaleMax: f,
|
|
2253
|
+
yOffset: re,
|
|
2254
|
+
individualHeight: oe
|
|
2255
|
+
}), _ = U.value.useIndividualScale ? i.autoScaling ? ue : ce : co.value, Te = Math.max(Math.max(i.autoScaling ? ue : de.at(-1) ? de.at(-1).y : 0, X.value?.top), _), Ee = i.autoScaling ? me : m, v = H.value.line.cutNullValues ? Ee : Ee.filter((e) => e.value !== null), De = i.absoluteValues.filter((e) => ![
|
|
2256
2256
|
null,
|
|
2257
2257
|
void 0,
|
|
2258
2258
|
NaN
|
|
@@ -2260,80 +2260,80 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2260
2260
|
return {
|
|
2261
2261
|
...i,
|
|
2262
2262
|
isFlatTemperatureLine: Oe,
|
|
2263
|
-
temperatureColors: i.temperatureColors ? i.temperatureColors.map((e) =>
|
|
2264
|
-
yOffset:
|
|
2265
|
-
autoScaleYLabels:
|
|
2266
|
-
individualHeight:
|
|
2267
|
-
scaleYLabels: i.autoScaling ?
|
|
2268
|
-
individualScale: i.autoScaling ?
|
|
2269
|
-
individualMax: i.autoScaling ?
|
|
2270
|
-
zeroPosition: i.autoScaling ?
|
|
2271
|
-
curve: i.useStepper ? i.autoScaling ?
|
|
2272
|
-
plots: i.autoScaling ?
|
|
2273
|
-
dashedStraight:
|
|
2274
|
-
dashedSmooth:
|
|
2275
|
-
hasDashedSegments:
|
|
2276
|
-
area: i.useArea ? i.useStepper ? r(
|
|
2277
|
-
curveAreas: i.useArea ? i.useStepper ? r(
|
|
2278
|
-
straight: i.useStepper ? i.autoScaling ?
|
|
2279
|
-
scaleGroup:
|
|
2280
|
-
groupId:
|
|
2263
|
+
temperatureColors: i.temperatureColors ? i.temperatureColors.map((e) => ae(e)) : null,
|
|
2264
|
+
yOffset: re,
|
|
2265
|
+
autoScaleYLabels: p,
|
|
2266
|
+
individualHeight: oe,
|
|
2267
|
+
scaleYLabels: i.autoScaling ? p : de,
|
|
2268
|
+
individualScale: i.autoScaling ? l : s,
|
|
2269
|
+
individualMax: i.autoScaling ? f : ee,
|
|
2270
|
+
zeroPosition: i.autoScaling ? ue : ce,
|
|
2271
|
+
curve: i.useStepper ? i.autoScaling ? xe : be : i.autoScaling ? g : ge,
|
|
2272
|
+
plots: i.autoScaling ? me : m,
|
|
2273
|
+
dashedStraight: Se,
|
|
2274
|
+
dashedSmooth: Ce,
|
|
2275
|
+
hasDashedSegments: he,
|
|
2276
|
+
area: i.useArea ? i.useStepper ? r(v, Te) : U.value.useIndividualScale ? H.value.line.cutNullValues ? n(i.autoScaling ? me : m, Te) : _e(i.autoScaling ? me.filter((e) => e.value !== null) : m.filter((e) => e.value !== null), Te) : H.value.line.cutNullValues ? n(m, Te) : _e(m.filter((e) => e.value !== null), Te) : "",
|
|
2277
|
+
curveAreas: i.useArea ? i.useStepper ? r(v, Te).split(";").filter(Boolean).map((e) => `M${e}Z`) : ne(i.autoScaling ? H.value.line.cutNullValues ? me : me.filter((e) => e.value !== null) : H.value.line.cutNullValues ? m : m.filter((e) => e.value !== null), Te, H.value.line.cutNullValues) : [],
|
|
2278
|
+
straight: i.useStepper ? i.autoScaling ? xe : be : i.autoScaling ? ye : ve,
|
|
2279
|
+
scaleGroup: we,
|
|
2280
|
+
groupId: we.groupId
|
|
2281
2281
|
};
|
|
2282
2282
|
});
|
|
2283
2283
|
}), kl = b(() => {
|
|
2284
2284
|
let e = Dc.value, t = H.value.chart.grid.labels.yAxis.gap, n = U.value.isStacked ? t * (e - 1) : 0, r = X.value.height - n;
|
|
2285
2285
|
return Ac.value.map((n) => {
|
|
2286
|
-
let { individualScale: i, autoScaleSteps: a, individualZero: o, individualMax: s, autoScaleMax: c, yOffset: l, individualHeight: u, zeroPosition: d, autoScaleZeroPosition: ee, scaleYLabels: te, autoScaleYLabels:
|
|
2286
|
+
let { individualScale: i, autoScaleSteps: a, individualZero: o, individualMax: s, autoScaleMax: c, yOffset: l, individualHeight: u, zeroPosition: d, autoScaleZeroPosition: ee, scaleYLabels: te, autoScaleYLabels: f, autoScaleRatiosToNiceScale: ne } = Tl({
|
|
2287
2287
|
datapoint: n,
|
|
2288
2288
|
totalSeries: e,
|
|
2289
2289
|
gap: t,
|
|
2290
2290
|
usableHeight: r,
|
|
2291
2291
|
forceExactScale: !0,
|
|
2292
2292
|
preserveLooseMinimumExpression: !0
|
|
2293
|
-
}),
|
|
2293
|
+
}), re = El(n.comments), ie = n.series.map((e, t) => {
|
|
2294
2294
|
if (q.value && (e.x == null || e.y == null)) return {
|
|
2295
2295
|
index: t,
|
|
2296
2296
|
x: null,
|
|
2297
2297
|
datasetXValue: vl(e),
|
|
2298
2298
|
y: null,
|
|
2299
2299
|
value: null,
|
|
2300
|
-
comment:
|
|
2300
|
+
comment: re[t] || ""
|
|
2301
2301
|
};
|
|
2302
2302
|
let r = U.value.useIndividualScale ? (n.absoluteValues[t] + Math.abs(o)) / s : Ss(bo(e));
|
|
2303
2303
|
return {
|
|
2304
2304
|
index: t,
|
|
2305
|
-
x:
|
|
2305
|
+
x: h(_l(e, t)),
|
|
2306
2306
|
datasetXValue: vl(e),
|
|
2307
|
-
y:
|
|
2307
|
+
y: h(Ts({
|
|
2308
2308
|
ratio: r,
|
|
2309
2309
|
yOffset: l,
|
|
2310
2310
|
individualHeight: u
|
|
2311
2311
|
})),
|
|
2312
2312
|
value: n.absoluteValues[t],
|
|
2313
|
-
comment:
|
|
2313
|
+
comment: re[t] || ""
|
|
2314
2314
|
};
|
|
2315
|
-
}),
|
|
2315
|
+
}), ae = n.series.map((e, t) => q.value && (e.x === null || e.y === null) ? {
|
|
2316
2316
|
index: t,
|
|
2317
2317
|
x: null,
|
|
2318
2318
|
datasetXValue: vl(e),
|
|
2319
2319
|
y: null,
|
|
2320
2320
|
value: null,
|
|
2321
|
-
comment:
|
|
2321
|
+
comment: re[t] || ""
|
|
2322
2322
|
} : {
|
|
2323
2323
|
index: t,
|
|
2324
|
-
x:
|
|
2324
|
+
x: h(_l(e, t)),
|
|
2325
2325
|
datasetXValue: vl(e),
|
|
2326
|
-
y:
|
|
2327
|
-
ratio:
|
|
2326
|
+
y: h(Ts({
|
|
2327
|
+
ratio: ne[t] || 0,
|
|
2328
2328
|
yOffset: l,
|
|
2329
2329
|
individualHeight: u
|
|
2330
2330
|
})),
|
|
2331
2331
|
value: n.absoluteValues[t],
|
|
2332
|
-
comment:
|
|
2333
|
-
}),
|
|
2332
|
+
comment: re[t] || ""
|
|
2333
|
+
}), oe = Ic({
|
|
2334
2334
|
datapoint: n,
|
|
2335
2335
|
scaleYLabels: te,
|
|
2336
|
-
autoScaleYLabels:
|
|
2336
|
+
autoScaleYLabels: f,
|
|
2337
2337
|
zeroPosition: d,
|
|
2338
2338
|
autoScaleZeroPosition: ee,
|
|
2339
2339
|
individualMax: s,
|
|
@@ -2344,15 +2344,15 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2344
2344
|
return {
|
|
2345
2345
|
...n,
|
|
2346
2346
|
yOffset: l,
|
|
2347
|
-
autoScaleYLabels:
|
|
2347
|
+
autoScaleYLabels: f,
|
|
2348
2348
|
individualHeight: u,
|
|
2349
|
-
scaleYLabels: n.autoScaling ?
|
|
2349
|
+
scaleYLabels: n.autoScaling ? f : te,
|
|
2350
2350
|
individualScale: n.autoScaling ? a : i,
|
|
2351
2351
|
individualMax: n.autoScaling ? c : s,
|
|
2352
2352
|
zeroPosition: n.autoScaling ? ee : d,
|
|
2353
|
-
plots: n.autoScaling ?
|
|
2354
|
-
scaleGroup:
|
|
2355
|
-
groupId:
|
|
2353
|
+
plots: n.autoScaling ? ae : ie,
|
|
2354
|
+
scaleGroup: oe,
|
|
2355
|
+
groupId: oe.groupId
|
|
2356
2356
|
};
|
|
2357
2357
|
});
|
|
2358
2358
|
}), Al = b(() => {
|
|
@@ -2419,7 +2419,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2419
2419
|
id: e.id,
|
|
2420
2420
|
groupId: e.groupId,
|
|
2421
2421
|
scaleLabel: e.scaleLabel,
|
|
2422
|
-
name:
|
|
2422
|
+
name: g(H.value.chart.grid.labels.yAxis.serieNameFormatter, r, r, e),
|
|
2423
2423
|
color: U.value.useIndividualScale && !U.value.isStacked ? e.unique ? e.color : e.groupColor : e.color,
|
|
2424
2424
|
scale: e.scale,
|
|
2425
2425
|
yOffset: e.yOffset,
|
|
@@ -2447,7 +2447,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2447
2447
|
let o = $.value.find((e) => e.name === i), s = $.value.find((e) => e.name === a);
|
|
2448
2448
|
if (!o || !s || o.type !== "line" || s.type !== "line") return;
|
|
2449
2449
|
let c = n?.[t]?.[0] ?? o.color, l = n?.[t]?.[1] ?? s.color;
|
|
2450
|
-
|
|
2450
|
+
ve({
|
|
2451
2451
|
lineA: o.plots,
|
|
2452
2452
|
lineB: s.plots,
|
|
2453
2453
|
smoothA: !!o.smooth,
|
|
@@ -2549,7 +2549,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2549
2549
|
"diamond",
|
|
2550
2550
|
"pentagon",
|
|
2551
2551
|
"hexagon"
|
|
2552
|
-
].includes(e.shape) ? i = `<circle cx="10" cy="8" r="4" stroke="${n}" stroke-width="0.5" fill="${e.color}" />` : e.shape === "triangle" ? i = `<path d="${
|
|
2552
|
+
].includes(e.shape) ? i = `<circle cx="10" cy="8" r="4" stroke="${n}" stroke-width="0.5" fill="${e.color}" />` : e.shape === "triangle" ? i = `<path d="${f({
|
|
2553
2553
|
plot: {
|
|
2554
2554
|
x: 10,
|
|
2555
2555
|
y: 8
|
|
@@ -2557,7 +2557,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2557
2557
|
radius: 4,
|
|
2558
2558
|
sides: 3,
|
|
2559
2559
|
rotation: .52
|
|
2560
|
-
}).path}" fill="${e.color}" stroke="${n}" stroke-width="0.5" />` : e.shape === "square" ? i = `<path d="${
|
|
2560
|
+
}).path}" fill="${e.color}" stroke="${n}" stroke-width="0.5" />` : e.shape === "square" ? i = `<path d="${f({
|
|
2561
2561
|
plot: {
|
|
2562
2562
|
x: 10,
|
|
2563
2563
|
y: 8
|
|
@@ -2565,7 +2565,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2565
2565
|
radius: 4,
|
|
2566
2566
|
sides: 4,
|
|
2567
2567
|
rotation: .8
|
|
2568
|
-
}).path}" fill="${e.color}" stroke="${n}" stroke-width="0.5" />` : e.shape === "diamond" ? i = `<path d="${
|
|
2568
|
+
}).path}" fill="${e.color}" stroke="${n}" stroke-width="0.5" />` : e.shape === "diamond" ? i = `<path d="${f({
|
|
2569
2569
|
plot: {
|
|
2570
2570
|
x: 10,
|
|
2571
2571
|
y: 8
|
|
@@ -2573,7 +2573,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2573
2573
|
radius: 4,
|
|
2574
2574
|
sides: 4,
|
|
2575
2575
|
rotation: 0
|
|
2576
|
-
}).path}" fill="${e.color}" stroke="${n}" stroke-width="0.5" />` : e.shape === "pentagon" ? i = `<path d="${
|
|
2576
|
+
}).path}" fill="${e.color}" stroke="${n}" stroke-width="0.5" />` : e.shape === "pentagon" ? i = `<path d="${f({
|
|
2577
2577
|
plot: {
|
|
2578
2578
|
x: 10,
|
|
2579
2579
|
y: 8
|
|
@@ -2581,7 +2581,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2581
2581
|
radius: 4,
|
|
2582
2582
|
sides: 5,
|
|
2583
2583
|
rotation: .95
|
|
2584
|
-
}).path}" fill="${e.color}" stroke="${n}" stroke-width="0.5" />` : e.shape === "hexagon" ? i = `<path d="${
|
|
2584
|
+
}).path}" fill="${e.color}" stroke="${n}" stroke-width="0.5" />` : e.shape === "hexagon" ? i = `<path d="${f({
|
|
2585
2585
|
plot: {
|
|
2586
2586
|
x: 10,
|
|
2587
2587
|
y: 8
|
|
@@ -2620,7 +2620,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2620
2620
|
break;
|
|
2621
2621
|
}
|
|
2622
2622
|
if (e.shape === "triangle") {
|
|
2623
|
-
r = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${
|
|
2623
|
+
r = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${f({
|
|
2624
2624
|
plot: {
|
|
2625
2625
|
x: 6,
|
|
2626
2626
|
y: 6
|
|
@@ -2632,7 +2632,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2632
2632
|
break;
|
|
2633
2633
|
}
|
|
2634
2634
|
if (e.shape === "square") {
|
|
2635
|
-
r = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${
|
|
2635
|
+
r = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${f({
|
|
2636
2636
|
plot: {
|
|
2637
2637
|
x: 6,
|
|
2638
2638
|
y: 6
|
|
@@ -2644,7 +2644,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2644
2644
|
break;
|
|
2645
2645
|
}
|
|
2646
2646
|
if (e.shape === "diamond") {
|
|
2647
|
-
r = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${
|
|
2647
|
+
r = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${f({
|
|
2648
2648
|
plot: {
|
|
2649
2649
|
x: 6,
|
|
2650
2650
|
y: 6
|
|
@@ -2656,7 +2656,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2656
2656
|
break;
|
|
2657
2657
|
}
|
|
2658
2658
|
if (e.shape === "pentagon") {
|
|
2659
|
-
r = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${
|
|
2659
|
+
r = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${f({
|
|
2660
2660
|
plot: {
|
|
2661
2661
|
x: 6,
|
|
2662
2662
|
y: 6
|
|
@@ -2668,7 +2668,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2668
2668
|
break;
|
|
2669
2669
|
}
|
|
2670
2670
|
if (e.shape === "hexagon") {
|
|
2671
|
-
r = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${
|
|
2671
|
+
r = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${f({
|
|
2672
2672
|
plot: {
|
|
2673
2673
|
x: 6,
|
|
2674
2674
|
y: 6
|
|
@@ -2683,14 +2683,14 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2683
2683
|
return Rl.set(t, r), r;
|
|
2684
2684
|
}
|
|
2685
2685
|
let Hl = b(() => {
|
|
2686
|
-
let e = "", t = $c.value.map((e) => e.value).filter((e) =>
|
|
2686
|
+
let e = "", t = $c.value.map((e) => e.value).filter((e) => i(e) && e !== null).reduce((e, t) => Math.abs(e) + Math.abs(t), 0), n = q.value ? { text: g(H.value.chart.grid.labels.xAxis.formatter, Vs.value[0]?.point.raw?.x ?? Vs.value[0]?.point.x, p({
|
|
2687
2687
|
v: Vs.value[0]?.point.raw?.x ?? Vs.value[0]?.point.x,
|
|
2688
2688
|
r: H.value.chart.tooltip.roundingValue
|
|
2689
2689
|
}), {
|
|
2690
2690
|
datapoint: null,
|
|
2691
2691
|
serriesIndex: null
|
|
2692
2692
|
}) } : Z.value[z.value], r = H.value.chart.tooltip.customFormat;
|
|
2693
|
-
if (
|
|
2693
|
+
if (oe(r)) try {
|
|
2694
2694
|
let e = r(zl(n));
|
|
2695
2695
|
if (typeof e == "string") return e;
|
|
2696
2696
|
} catch (e) {
|
|
@@ -2701,8 +2701,8 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2701
2701
|
q.value || (e += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${H.value.chart.tooltip.borderColor}; width:100%">${H.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !H.value.chart.tooltip.useDefaultTimeFormat ? t : n.text}</div>`);
|
|
2702
2702
|
}
|
|
2703
2703
|
return $c.value.forEach((r) => {
|
|
2704
|
-
if (
|
|
2705
|
-
let i = Vl(r), a = H.value.chart.tooltip.showValue ?
|
|
2704
|
+
if (i(r.value)) {
|
|
2705
|
+
let i = Vl(r), a = H.value.chart.tooltip.showValue ? g(r.type === "line" ? H.value.line.labels.formatter : r.type === "bar" ? H.value.bar.labels.formatter : H.value.plot.labels.formatter, r.value, p({
|
|
2706
2706
|
p: r.prefix,
|
|
2707
2707
|
v: r.value,
|
|
2708
2708
|
s: r.suffix,
|
|
@@ -2723,8 +2723,8 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2723
2723
|
</div>
|
|
2724
2724
|
</div>
|
|
2725
2725
|
</div>
|
|
2726
|
-
` : e += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;white-space:nowrap;"><div style="width:20px">${i}</div> ${r.name}: <b>${s}</b> ${H.value.chart.tooltip.showPercentage ? `(${
|
|
2727
|
-
v:
|
|
2726
|
+
` : e += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;white-space:nowrap;"><div style="width:20px">${i}</div> ${r.name}: <b>${s}</b> ${H.value.chart.tooltip.showPercentage ? `(${p({
|
|
2727
|
+
v: h(Math.abs(r.value) / t * 100),
|
|
2728
2728
|
s: "%",
|
|
2729
2729
|
r: H.value.chart.tooltip.roundingPercentage
|
|
2730
2730
|
})})` : ""}</div>`;
|
|
@@ -2746,7 +2746,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2746
2746
|
});
|
|
2747
2747
|
function Wl(e) {
|
|
2748
2748
|
let t = Number(e);
|
|
2749
|
-
return Number.isFinite(t) ?
|
|
2749
|
+
return Number.isFinite(t) ? g(H.value.chart.grid.labels.xAxis.formatter, t, p({
|
|
2750
2750
|
v: t,
|
|
2751
2751
|
r: H.value.table.rounding
|
|
2752
2752
|
}), {
|
|
@@ -2770,7 +2770,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2770
2770
|
}
|
|
2771
2771
|
function Jl(e, t) {
|
|
2772
2772
|
let n = Kl(e, t);
|
|
2773
|
-
return St(n) ?
|
|
2773
|
+
return St(n) ? g(e.type === "line" ? H.value.line.labels.formatter : e.type === "bar" ? H.value.bar.labels.formatter : H.value.plot.labels.formatter, n, p({
|
|
2774
2774
|
p: e.prefix || H.value.chart.labels.prefix,
|
|
2775
2775
|
v: n,
|
|
2776
2776
|
s: e.suffix || H.value.chart.labels.suffix,
|
|
@@ -2843,7 +2843,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2843
2843
|
[H.value.chart.title.text],
|
|
2844
2844
|
[H.value.chart.title.subtitle.text],
|
|
2845
2845
|
[""]
|
|
2846
|
-
], r = [q.value ? H.value.chart.grid.labels.axis.xLabel || "X" : H.value.table.columnNames.period, ...Zl.value.head.map((e) => e.label)], i = Zl.value.body,
|
|
2846
|
+
], r = [q.value ? H.value.chart.grid.labels.axis.xLabel || "X" : H.value.table.columnNames.period, ...Zl.value.head.map((e) => e.label)], i = Zl.value.body, o = n.concat([r]).concat(i), s = a(o);
|
|
2847
2847
|
e ? e(s) : t({
|
|
2848
2848
|
csvContent: s,
|
|
2849
2849
|
title: H.value.chart.title.text || "vue-ui-xy"
|
|
@@ -2888,43 +2888,43 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2888
2888
|
V.value.dataLabels = H.value.chart.grid.labels.fontSize, V.value.yAxis = H.value.chart.grid.labels.axis.fontSize, V.value.xAxis = H.value.chart.grid.labels.xAxisLabels.fontSize, V.value.plotLabels = H.value.chart.labels.fontSize, ka.value.plot = H.value.plot.radius, ka.value.line = H.value.line.radius, ka.value.selectedLine = H.value.line.dot.selectedRadius;
|
|
2889
2889
|
return;
|
|
2890
2890
|
}
|
|
2891
|
-
V.value.dataLabels =
|
|
2891
|
+
V.value.dataLabels = pe({
|
|
2892
2892
|
relator: Bi.value,
|
|
2893
2893
|
adjuster: 400,
|
|
2894
2894
|
source: H.value.chart.grid.labels.fontSize,
|
|
2895
2895
|
threshold: 10,
|
|
2896
2896
|
fallback: 10
|
|
2897
|
-
}), V.value.yAxis =
|
|
2897
|
+
}), V.value.yAxis = pe({
|
|
2898
2898
|
relator: F.value,
|
|
2899
2899
|
adjuster: 1e3,
|
|
2900
2900
|
source: H.value.chart.grid.labels.axis.fontSize,
|
|
2901
2901
|
threshold: 10,
|
|
2902
2902
|
fallback: 10
|
|
2903
|
-
}), V.value.xAxis =
|
|
2903
|
+
}), V.value.xAxis = pe({
|
|
2904
2904
|
relator: F.value,
|
|
2905
2905
|
adjuster: 1e3,
|
|
2906
2906
|
source: H.value.chart.grid.labels.xAxisLabels.fontSize,
|
|
2907
2907
|
threshold: 10,
|
|
2908
2908
|
fallback: 10
|
|
2909
|
-
}), V.value.plotLabels =
|
|
2909
|
+
}), V.value.plotLabels = pe({
|
|
2910
2910
|
relator: F.value,
|
|
2911
2911
|
adjuster: 800,
|
|
2912
2912
|
source: H.value.chart.labels.fontSize,
|
|
2913
2913
|
threshold: 10,
|
|
2914
2914
|
fallback: 10
|
|
2915
|
-
}), ka.value.plot =
|
|
2915
|
+
}), ka.value.plot = pe({
|
|
2916
2916
|
relator: F.value,
|
|
2917
2917
|
adjuster: 800,
|
|
2918
2918
|
source: H.value.plot.radius,
|
|
2919
2919
|
threshold: 1,
|
|
2920
2920
|
fallback: 1
|
|
2921
|
-
}), ka.value.line =
|
|
2921
|
+
}), ka.value.line = pe({
|
|
2922
2922
|
relator: F.value,
|
|
2923
2923
|
adjuster: 800,
|
|
2924
2924
|
source: H.value.line.radius,
|
|
2925
2925
|
threshold: 1,
|
|
2926
2926
|
fallback: 0
|
|
2927
|
-
}), ka.value.selectedLine =
|
|
2927
|
+
}), ka.value.selectedLine = pe({
|
|
2928
2928
|
relator: F.value,
|
|
2929
2929
|
adjuster: 800,
|
|
2930
2930
|
source: H.value.line.dot.selectedRadius,
|
|
@@ -2933,12 +2933,12 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2933
2933
|
});
|
|
2934
2934
|
}
|
|
2935
2935
|
function ou() {
|
|
2936
|
-
if (
|
|
2936
|
+
if (re(N.dataset) ? (be({
|
|
2937
2937
|
componentName: "VueUiXy",
|
|
2938
2938
|
type: "dataset",
|
|
2939
2939
|
debug: La.value
|
|
2940
2940
|
}), Ha.value = !0) : N.dataset.forEach((e, t) => {
|
|
2941
|
-
[null, void 0].includes(e.name) && (
|
|
2941
|
+
[null, void 0].includes(e.name) && (be({
|
|
2942
2942
|
componentName: "VueUiXy",
|
|
2943
2943
|
type: "datasetSerieAttribute",
|
|
2944
2944
|
property: "name (string)",
|
|
@@ -2947,9 +2947,9 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
2947
2947
|
}), Ha.value = !0);
|
|
2948
2948
|
}), La.value && N.dataset.forEach((e) => {
|
|
2949
2949
|
e.series.forEach((t, n) => {
|
|
2950
|
-
|
|
2950
|
+
i(t) || console.warn(`VueUiXy has detected an unsafe value in your dataset:\n-----> The serie '${e.name}' contains the value '${t}' at index ${n}.\n'${t}' was converted to null to allow the chart to display.`);
|
|
2951
2951
|
});
|
|
2952
|
-
}),
|
|
2952
|
+
}), re(N.dataset) || (Ha.value = H.value.loading), ta.value = H.value.chart.userOptions.showOnChartHover, na.value = H.value.chart.userOptions.keepStateOnChartLeave, ra.value = !H.value.chart.userOptions.showOnChartHover, Ia(), H.value.responsive) {
|
|
2953
2953
|
let e = wi.value.parentNode;
|
|
2954
2954
|
Ii.value && (Li.value && Ii.value.unobserve(Li.value), Ii.value.disconnect(), Ii.value = null, Li.value = null);
|
|
2955
2955
|
let { height: t, width: n } = e.getBoundingClientRect(), r = null, i = 0;
|
|
@@ -3008,17 +3008,17 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3008
3008
|
});
|
|
3009
3009
|
let cu = D(!1), lu = D(null), uu = D(200), du = b(() => z.value ?? L.value ?? 0), fu = b(() => {
|
|
3010
3010
|
if (!q.value) return null;
|
|
3011
|
-
if (
|
|
3011
|
+
if (v(ca.value)) return Number(ca.value);
|
|
3012
3012
|
let e = Vs.value[0];
|
|
3013
|
-
return
|
|
3013
|
+
return v(e?.point?.x) ? Number(e.point.x) : null;
|
|
3014
3014
|
});
|
|
3015
3015
|
function pu() {
|
|
3016
3016
|
let e = Math.ceil(uu.value || 200);
|
|
3017
3017
|
return Math.min(Math.max(e, 1), 200);
|
|
3018
3018
|
}
|
|
3019
3019
|
function mu() {
|
|
3020
|
-
let e = pu(), t = (q.value &&
|
|
3021
|
-
return
|
|
3020
|
+
let e = pu(), t = (q.value && v(fu.value) ? pl({ x: fu.value }) : _c(du.value)) - e / 2 - (200 - e) / 2, n = X.value?.left - (200 - e) / 2, r = X.value?.right - (200 + e) / 2;
|
|
3021
|
+
return h(Math.max(n, Math.min(t, r)));
|
|
3022
3022
|
}
|
|
3023
3023
|
function hu() {
|
|
3024
3024
|
pa.value !== null && (cancelAnimationFrame(pa.value), pa.value = null), fa.value && B.value && fa.value.unobserve(B.value), fa.value &&= (fa.value.disconnect(), null), ma.value &&= (ma.value(), null), B.value = null;
|
|
@@ -3055,7 +3055,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3055
3055
|
let e = (z.value == null ? 0 : z.value) || (L.value == null ? 0 : L.value), t = H.value.chart.timeTag.customFormat;
|
|
3056
3056
|
if (cu.value = !1, q.value) {
|
|
3057
3057
|
let e = fu.value;
|
|
3058
|
-
if (
|
|
3058
|
+
if (oe(t)) try {
|
|
3059
3059
|
let n = t({
|
|
3060
3060
|
absoluteIndex: e,
|
|
3061
3061
|
seriesIndex: e,
|
|
@@ -3069,12 +3069,12 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3069
3069
|
} catch {
|
|
3070
3070
|
console.warn("Custom format cannot be applied on timeTag."), cu.value = !1;
|
|
3071
3071
|
}
|
|
3072
|
-
return
|
|
3072
|
+
return p({
|
|
3073
3073
|
v: e,
|
|
3074
3074
|
r: H.value.chart.grid.labels.xAxis.rounding
|
|
3075
3075
|
});
|
|
3076
3076
|
}
|
|
3077
|
-
if (
|
|
3077
|
+
if (oe(t)) try {
|
|
3078
3078
|
let n = t({
|
|
3079
3079
|
absoluteIndex: e + W.value.start,
|
|
3080
3080
|
seriesIndex: e,
|
|
@@ -3092,20 +3092,20 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3092
3092
|
});
|
|
3093
3093
|
function yu({ serie: e, plot: t, type: n }) {
|
|
3094
3094
|
if (!St(t.value)) return "";
|
|
3095
|
-
let r =
|
|
3095
|
+
let r = p({
|
|
3096
3096
|
p: e.prefix || H.value.chart.labels.prefix,
|
|
3097
3097
|
v: t.value,
|
|
3098
3098
|
s: e.suffix || H.value.chart.labels.suffix,
|
|
3099
3099
|
r: H.value[n].labels.rounding
|
|
3100
|
-
}), i = t.datasetXValue,
|
|
3100
|
+
}), i = t.datasetXValue, a = q.value && v(i) ? `x: ${p({
|
|
3101
3101
|
v: i,
|
|
3102
3102
|
r: H.value.chart.grid.labels.xAxis.rounding
|
|
3103
|
-
})}\ny: ${r}` :
|
|
3103
|
+
})}\ny: ${r}` : g(H.value[n].labels.formatter, t.value, r, {
|
|
3104
3104
|
datapoint: t,
|
|
3105
3105
|
serie: e
|
|
3106
3106
|
});
|
|
3107
|
-
return
|
|
3108
|
-
content:
|
|
3107
|
+
return s({
|
|
3108
|
+
content: a,
|
|
3109
3109
|
fontSize: V.value.plotLabels,
|
|
3110
3110
|
fill: H.value[n].labels.color,
|
|
3111
3111
|
x: 0,
|
|
@@ -3115,14 +3115,14 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3115
3115
|
function bu({ plot: e }) {
|
|
3116
3116
|
let t = H.value.bar.labels.offsetY, n = Math.abs(Ns(e)), r = e.value < 0, i = {
|
|
3117
3117
|
x: Ls(e) + H.value.bar.labels.offsetX,
|
|
3118
|
-
y:
|
|
3118
|
+
y: h(e.y) + (H.value.bar.labels.alwaysOnTop ? t - (r ? n : 0) : e.value >= 0 ? t : -t * 3)
|
|
3119
3119
|
};
|
|
3120
3120
|
return `translate(${i.x}, ${i.y}) rotate(${H.value.bar.labels.rotation})`;
|
|
3121
3121
|
}
|
|
3122
3122
|
function xu({ plot: e, type: t }) {
|
|
3123
3123
|
let n = H.value[t].labels.offsetY, r = {
|
|
3124
3124
|
x: e.x + H.value[t].labels.offsetX,
|
|
3125
|
-
y:
|
|
3125
|
+
y: h(e.y) + (H.value[t].labels.alwaysOnTop || e.value >= 0 ? n : -n * 3)
|
|
3126
3126
|
};
|
|
3127
3127
|
return `translate(${r.x}, ${r.y}) rotate(${H.value[t].labels.rotation})`;
|
|
3128
3128
|
}
|
|
@@ -3131,7 +3131,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3131
3131
|
let n = e.value >= 0;
|
|
3132
3132
|
return H.value[t].labels.rotation === 0 ? "middle" : H.value[t].labels.alwaysOnTop || n ? "start" : "end";
|
|
3133
3133
|
}
|
|
3134
|
-
let Cu = b(() => q.value ?
|
|
3134
|
+
let Cu = b(() => q.value ? v(ca.value) ? pl({ x: Number(ca.value) }) : v(Hs.value) ? Hs.value : null : _c(z.value ?? L.value ?? 0)), wu = b(() => H.value.chart.highlighter.crosshairs.show && $o.value), Tu = b(() => [
|
|
3135
3135
|
...$.value,
|
|
3136
3136
|
...kl.value,
|
|
3137
3137
|
...Ol.value
|
|
@@ -3142,15 +3142,15 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3142
3142
|
...t,
|
|
3143
3143
|
index: t.index ?? n,
|
|
3144
3144
|
serie: e,
|
|
3145
|
-
x:
|
|
3146
|
-
y:
|
|
3145
|
+
x: h(e.type === "bar" ? Ls(t) : t.x),
|
|
3146
|
+
y: h(t.y)
|
|
3147
3147
|
})))), Eu = b(() => {
|
|
3148
3148
|
if (!wu.value) return null;
|
|
3149
3149
|
if (q.value) {
|
|
3150
3150
|
let e = Vs.value[0], t = e?.point?.raw?.x ?? e?.point?.x;
|
|
3151
|
-
return
|
|
3151
|
+
return v(t) ? {
|
|
3152
3152
|
x: Cu.value,
|
|
3153
|
-
text:
|
|
3153
|
+
text: g(H.value.chart.grid.labels.xAxis.formatter, t, p({
|
|
3154
3154
|
v: t,
|
|
3155
3155
|
r: H.value.chart.tooltip.roundingValue
|
|
3156
3156
|
}))
|
|
@@ -3338,7 +3338,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3338
3338
|
function $u(e) {
|
|
3339
3339
|
let t = W.value.end - W.value.start;
|
|
3340
3340
|
if (t <= 0) return;
|
|
3341
|
-
let n = X.value.width / t, r = X.value.left + n * e + n / 2, i = X.value.top + X.value.height / 2, a =
|
|
3341
|
+
let n = X.value.width / t, r = X.value.left + n * e + n / 2, i = X.value.top + X.value.height / 2, a = Ce(r, i, R.value);
|
|
3342
3342
|
a && (ua.value = a);
|
|
3343
3343
|
}
|
|
3344
3344
|
let ed = b(() => {
|
|
@@ -3617,8 +3617,8 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3617
3617
|
"stroke-width": "1",
|
|
3618
3618
|
x1: X.value?.left,
|
|
3619
3619
|
x2: X.value?.right,
|
|
3620
|
-
y1: j(
|
|
3621
|
-
y2: j(
|
|
3620
|
+
y1: j(_)(X.value?.bottom),
|
|
3621
|
+
y2: j(_)(X.value?.bottom),
|
|
3622
3622
|
"stroke-linecap": "round",
|
|
3623
3623
|
style: { animation: "none !important" }
|
|
3624
3624
|
}, null, 8, Bt)) : x("", !0),
|
|
@@ -3626,8 +3626,8 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3626
3626
|
key: `selected_individual_grid_line_${e.groupId || e.id}_${t.value}_${t.y}`,
|
|
3627
3627
|
x1: X.value?.left,
|
|
3628
3628
|
x2: X.value?.right,
|
|
3629
|
-
y1: j(
|
|
3630
|
-
y2: j(
|
|
3629
|
+
y1: j(_)(t.y),
|
|
3630
|
+
y2: j(_)(t.y),
|
|
3631
3631
|
stroke: e.color,
|
|
3632
3632
|
"stroke-width": .5,
|
|
3633
3633
|
"stroke-linecap": "round",
|
|
@@ -3636,8 +3636,8 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3636
3636
|
key: `individual_grid_line_${e.groupId || e.id}_${t.value}_${t.y}`,
|
|
3637
3637
|
x1: X.value?.left,
|
|
3638
3638
|
x2: X.value?.right,
|
|
3639
|
-
y1: j(
|
|
3640
|
-
y2: j(
|
|
3639
|
+
y1: j(_)(t.y),
|
|
3640
|
+
y2: j(_)(t.y),
|
|
3641
3641
|
stroke: H.value.chart.grid.stroke,
|
|
3642
3642
|
"stroke-width": .5,
|
|
3643
3643
|
"stroke-linecap": "round",
|
|
@@ -3649,16 +3649,16 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3649
3649
|
"stroke-width": "1",
|
|
3650
3650
|
x1: Y.value ? X.value?.right : X.value?.left,
|
|
3651
3651
|
x2: Y.value ? X.value?.right : X.value?.left,
|
|
3652
|
-
y1: j(
|
|
3653
|
-
y2: j(
|
|
3652
|
+
y1: j(_)(X.value?.top),
|
|
3653
|
+
y2: j(_)(X.value?.bottom),
|
|
3654
3654
|
"stroke-linecap": "round",
|
|
3655
3655
|
style: { animation: "none !important" }
|
|
3656
3656
|
}, null, 8, Vt)) : x("", !0), H.value.chart.grid.showHorizontalLines ? (E(), S("g", Ht, [(E(!0), S(y, null, O(el.value, (e) => (E(), S("line", {
|
|
3657
3657
|
key: `horizontal_grid_line_${e.value}_${e.y}`,
|
|
3658
3658
|
x1: X.value?.left,
|
|
3659
3659
|
x2: X.value?.right,
|
|
3660
|
-
y1: j(
|
|
3661
|
-
y2: j(
|
|
3660
|
+
y1: j(_)(e.y),
|
|
3661
|
+
y2: j(_)(e.y),
|
|
3662
3662
|
stroke: H.value.chart.grid.stroke,
|
|
3663
3663
|
"stroke-width": .5,
|
|
3664
3664
|
"stroke-linecap": "round",
|
|
@@ -3696,12 +3696,12 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3696
3696
|
],
|
|
3697
3697
|
[
|
|
3698
3698
|
"62%",
|
|
3699
|
-
j(
|
|
3699
|
+
j(ce)(e.color, .02),
|
|
3700
3700
|
1
|
|
3701
3701
|
],
|
|
3702
3702
|
[
|
|
3703
3703
|
"100%",
|
|
3704
|
-
j(
|
|
3704
|
+
j(ce)(e.color, .05),
|
|
3705
3705
|
1
|
|
3706
3706
|
]
|
|
3707
3707
|
]
|
|
@@ -3713,12 +3713,12 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3713
3713
|
stops: [
|
|
3714
3714
|
[
|
|
3715
3715
|
"0%",
|
|
3716
|
-
j(
|
|
3716
|
+
j(ce)(e.color, .05),
|
|
3717
3717
|
1
|
|
3718
3718
|
],
|
|
3719
3719
|
[
|
|
3720
3720
|
"38%",
|
|
3721
|
-
j(
|
|
3721
|
+
j(ce)(e.color, .02),
|
|
3722
3722
|
1
|
|
3723
3723
|
],
|
|
3724
3724
|
[
|
|
@@ -3738,7 +3738,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3738
3738
|
fy: "50%",
|
|
3739
3739
|
stops: [[
|
|
3740
3740
|
"0%",
|
|
3741
|
-
j(
|
|
3741
|
+
j(ce)(e.color, .05),
|
|
3742
3742
|
1
|
|
3743
3743
|
], [
|
|
3744
3744
|
"100%",
|
|
@@ -3756,7 +3756,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3756
3756
|
fy: "50%",
|
|
3757
3757
|
stops: [[
|
|
3758
3758
|
"0%",
|
|
3759
|
-
j(
|
|
3759
|
+
j(ce)(e.color, .05),
|
|
3760
3760
|
1
|
|
3761
3761
|
], [
|
|
3762
3762
|
"100%",
|
|
@@ -3776,11 +3776,11 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3776
3776
|
y2: "0%",
|
|
3777
3777
|
stops: [[
|
|
3778
3778
|
"0%",
|
|
3779
|
-
j(
|
|
3779
|
+
j(l)(j(ce)(e.color, .03), H.value.line.area.opacity),
|
|
3780
3780
|
1
|
|
3781
3781
|
], [
|
|
3782
3782
|
"100%",
|
|
3783
|
-
j(
|
|
3783
|
+
j(l)(e.color, H.value.line.area.opacity),
|
|
3784
3784
|
1
|
|
3785
3785
|
]]
|
|
3786
3786
|
}, null, 8, ["id", "stops"]))]), e.temperatureColors && !e.isFlatTemperatureLine ? (E(), S("defs", Xt, [C("linearGradient", {
|
|
@@ -3789,7 +3789,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3789
3789
|
}, [(E(!0), S(y, null, O(e.temperatureColors, (t, r) => (E(), S("stop", {
|
|
3790
3790
|
key: `temperature_grad_stop_${n}_${r}_${I.value}`,
|
|
3791
3791
|
"stop-color": t,
|
|
3792
|
-
offset: j(
|
|
3792
|
+
offset: j(ue)(r, e.temperatureColors.length)
|
|
3793
3793
|
}, null, 8, Qt))), 128))], 8, Zt)])) : x("", !0)], 64))), 128)),
|
|
3794
3794
|
(E(!0), S(y, null, O(dc.value, (e) => (E(), S("g", { key: `highlight_area_${e.from}_${e.span}_${e.color}` }, [e.show ? (E(), S(y, { key: 0 }, [(E(!0), S(y, null, O(e.span, (t, n) => (E(), S("g", { key: `highlight_area_rect_${e.from}_${n}` }, [C("rect", {
|
|
3795
3795
|
style: T({
|
|
@@ -3800,7 +3800,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3800
3800
|
y: X.value?.top,
|
|
3801
3801
|
height: X.value.height < 0 ? 10 : X.value.height,
|
|
3802
3802
|
width: bc(e.from + n - W.value.start),
|
|
3803
|
-
fill: j(
|
|
3803
|
+
fill: j(l)(e.color, e.opacity)
|
|
3804
3804
|
}, null, 12, $t)]))), 128)), (E(!0), S(y, null, O(e.span, (t, n) => (E(), S("g", { key: `highlight_area_caption_${e.from}_${n}` }, [e.caption.text && n === 0 ? (E(), S("foreignObject", {
|
|
3805
3805
|
key: 0,
|
|
3806
3806
|
x: yc(e.from + n - W.value.start) - (e.caption.width === "auto" ? 0 : e.caption.width / 2 - Cc(e.span) / 2),
|
|
@@ -3821,7 +3821,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3821
3821
|
L.value,
|
|
3822
3822
|
z.value,
|
|
3823
3823
|
qi.value
|
|
3824
|
-
].includes(t) ? j(
|
|
3824
|
+
].includes(t) ? j(l)(H.value.chart.highlighter.color, H.value.chart.highlighter.crosshairs.show ? 0 : H.value.chart.highlighter.opacity) : "transparent",
|
|
3825
3825
|
style: {
|
|
3826
3826
|
transition: "none !important",
|
|
3827
3827
|
animation: "none !important"
|
|
@@ -3862,7 +3862,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3862
3862
|
height: "12",
|
|
3863
3863
|
width: zc.value + H.value.chart.comments.width,
|
|
3864
3864
|
x: Is(r) - H.value.chart.comments.width / 2 + H.value.chart.comments.offsetX,
|
|
3865
|
-
y: j(
|
|
3865
|
+
y: j(h)(r.y) + H.value.chart.comments.offsetY + 6
|
|
3866
3866
|
}, [k(t.$slots, "plot-comment", { plot: {
|
|
3867
3867
|
...r,
|
|
3868
3868
|
color: e.color,
|
|
@@ -3876,16 +3876,16 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3876
3876
|
"stroke-width": "1",
|
|
3877
3877
|
x1: X.value?.left,
|
|
3878
3878
|
x2: X.value?.right,
|
|
3879
|
-
y1: j(
|
|
3880
|
-
y2: j(
|
|
3879
|
+
y1: j(_)(js.value),
|
|
3880
|
+
y2: j(_)(js.value),
|
|
3881
3881
|
"stroke-linecap": "round",
|
|
3882
3882
|
style: { animation: "none !important" }
|
|
3883
3883
|
}, null, 8, sn)) : x("", !0),
|
|
3884
3884
|
!H.value.chart.highlighter.crosshairs.show && (H.value.chart.highlighter.useLine || q.value) && $o.value ? (E(), S("g", cn, [C("line", {
|
|
3885
3885
|
x1: Cu.value,
|
|
3886
3886
|
x2: Cu.value,
|
|
3887
|
-
y1: j(
|
|
3888
|
-
y2: j(
|
|
3887
|
+
y1: j(_)(X.value?.top),
|
|
3888
|
+
y2: j(_)(X.value?.bottom),
|
|
3889
3889
|
stroke: H.value.chart.highlighter.color,
|
|
3890
3890
|
"stroke-width": H.value.chart.highlighter.lineWidth,
|
|
3891
3891
|
"stroke-dasharray": H.value.chart.highlighter.lineDasharray,
|
|
@@ -3898,10 +3898,10 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3898
3898
|
}, null, 8, ln)])) : x("", !0),
|
|
3899
3899
|
wu.value ? (E(), S("g", un, [(E(!0), S(y, null, O(Tu.value, (e) => (E(), S("g", { key: `crosshair_${e.serie.id}_${e.index}` }, [
|
|
3900
3900
|
C("line", {
|
|
3901
|
-
x1: H.value.chart.highlighter.crosshairs.stopOnPoint ? j(
|
|
3902
|
-
x2: H.value.chart.highlighter.crosshairs.stopOnPoint ? j(
|
|
3903
|
-
y1: j(
|
|
3904
|
-
y2: j(
|
|
3901
|
+
x1: H.value.chart.highlighter.crosshairs.stopOnPoint ? j(_)(e.x) : X.value.left,
|
|
3902
|
+
x2: H.value.chart.highlighter.crosshairs.stopOnPoint ? j(_)(Du(e.x)) : X.value.right,
|
|
3903
|
+
y1: j(_)(e.y),
|
|
3904
|
+
y2: j(_)(e.y),
|
|
3905
3905
|
stroke: H.value.chart.highlighter.crosshairs.stroke,
|
|
3906
3906
|
"stroke-width": H.value.chart.highlighter.crosshairs.strokeWidth,
|
|
3907
3907
|
"stroke-dasharray": H.value.chart.highlighter.crosshairs.strokeDasharray,
|
|
@@ -3909,10 +3909,10 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3909
3909
|
style: { "pointer-events": "none" }
|
|
3910
3910
|
}, null, 8, dn),
|
|
3911
3911
|
C("line", {
|
|
3912
|
-
x1: j(
|
|
3913
|
-
x2: j(
|
|
3914
|
-
y1: H.value.chart.highlighter.crosshairs.stopOnPoint ? j(
|
|
3915
|
-
y2: H.value.chart.highlighter.crosshairs.stopOnPoint ? j(
|
|
3912
|
+
x1: j(_)(e.x),
|
|
3913
|
+
x2: j(_)(e.x),
|
|
3914
|
+
y1: H.value.chart.highlighter.crosshairs.stopOnPoint ? j(_)(e.y) : X.value.top,
|
|
3915
|
+
y2: H.value.chart.highlighter.crosshairs.stopOnPoint ? j(_)(X.value.bottom) : X.value.bottom,
|
|
3916
3916
|
stroke: H.value.chart.highlighter.crosshairs.stroke,
|
|
3917
3917
|
"stroke-width": H.value.chart.highlighter.crosshairs.strokeWidth,
|
|
3918
3918
|
"stroke-dasharray": H.value.chart.highlighter.crosshairs.strokeDasharray,
|
|
@@ -3920,8 +3920,8 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3920
3920
|
style: { "pointer-events": "none" }
|
|
3921
3921
|
}, null, 8, fn),
|
|
3922
3922
|
C("circle", {
|
|
3923
|
-
cx: j(
|
|
3924
|
-
cy: j(
|
|
3923
|
+
cx: j(_)(Du(e.x)),
|
|
3924
|
+
cy: j(_)(e.y),
|
|
3925
3925
|
r: H.value.chart.highlighter.crosshairs.dot.radius,
|
|
3926
3926
|
fill: H.value.chart.highlighter.crosshairs.dot.fill,
|
|
3927
3927
|
stroke: H.value.chart.highlighter.crosshairs.dot.stroke,
|
|
@@ -3956,8 +3956,8 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3956
3956
|
}, [U.value.useIndividualScale ? (E(), S(y, { key: 0 }, [(E(!0), S(y, null, O(jl.value, (e) => (E(), S("g", { key: `individual_scale_axis_${e.groupId || e.id}` }, [C("line", {
|
|
3957
3957
|
x1: U.value.isStacked ? Y.value ? X.value.right : X.value.left : Y.value ? e.x : e.x - X.value.individualOffsetX,
|
|
3958
3958
|
x2: U.value.isStacked ? Y.value ? X.value.right : X.value.left : Y.value ? e.x : e.x - X.value.individualOffsetX,
|
|
3959
|
-
y1: U.value.isStacked ? j(
|
|
3960
|
-
y2: U.value.isStacked ? j(
|
|
3959
|
+
y1: U.value.isStacked ? j(_)(X.value?.bottom - e.yOffset - e.individualHeight) : j(_)(X.value?.top),
|
|
3960
|
+
y2: U.value.isStacked ? j(_)(X.value?.bottom - e.yOffset) : j(_)(X.value?.bottom),
|
|
3961
3961
|
stroke: e.color,
|
|
3962
3962
|
"stroke-width": H.value.chart.grid.stroke,
|
|
3963
3963
|
"stroke-linecap": "round",
|
|
@@ -3977,8 +3977,8 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3977
3977
|
key: 0,
|
|
3978
3978
|
x1: U.value.isStacked ? Y.value ? X.value.right : X.value.left : Y.value ? e.x : e.x + 3 - H.value.chart.grid.labels.yAxis.crosshairSize - X.value.individualOffsetX,
|
|
3979
3979
|
x2: U.value.isStacked ? Y.value ? X.value.right + H.value.chart.grid.labels.yAxis.crosshairSize : X.value.left - H.value.chart.grid.labels.yAxis.crosshairSize : Y.value ? e.x + H.value.chart.grid.labels.yAxis.crosshairSize : e.x - X.value.individualOffsetX,
|
|
3980
|
-
y1: j(
|
|
3981
|
-
y2: j(
|
|
3980
|
+
y1: j(_)(t.y),
|
|
3981
|
+
y2: j(_)(t.y),
|
|
3982
3982
|
stroke: e.color,
|
|
3983
3983
|
"stroke-width": 1,
|
|
3984
3984
|
"stroke-linecap": "round",
|
|
@@ -3987,11 +3987,11 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
3987
3987
|
(E(!0), S(y, null, O(e.yLabels, (t, n) => (E(), S("text", {
|
|
3988
3988
|
class: w({ "vue-data-ui-transition": j(Pa) }),
|
|
3989
3989
|
key: `individual_scale_y_label_${e.groupId || e.id}_${t.value}_${n}`,
|
|
3990
|
-
transform: `translate(${U.value.isStacked ? Y.value ? X.value.right + H.value.chart.grid.labels.yAxis.crosshairSize + H.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : X.value.left - H.value.chart.grid.labels.yAxis.crosshairSize - H.value.chart.grid.labels.yAxis.scaleValueOffsetX - 5 : Y.value ? e.x + H.value.chart.grid.labels.yAxis.crosshairSize + H.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : e.x - 5 - X.value.individualOffsetX}, ${j(
|
|
3990
|
+
transform: `translate(${U.value.isStacked ? Y.value ? X.value.right + H.value.chart.grid.labels.yAxis.crosshairSize + H.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : X.value.left - H.value.chart.grid.labels.yAxis.crosshairSize - H.value.chart.grid.labels.yAxis.scaleValueOffsetX - 5 : Y.value ? e.x + H.value.chart.grid.labels.yAxis.crosshairSize + H.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : e.x - 5 - X.value.individualOffsetX}, ${j(_)(t.y) + V.value.dataLabels / 3})`,
|
|
3991
3991
|
"text-anchor": Y.value ? "start" : "end",
|
|
3992
3992
|
"font-size": V.value.dataLabels,
|
|
3993
3993
|
fill: e.color
|
|
3994
|
-
}, A(j(
|
|
3994
|
+
}, A(j(g)(H.value.chart.grid.labels.yAxis.formatter, t.value, j(p)({
|
|
3995
3995
|
p: t.prefix,
|
|
3996
3996
|
v: t.value,
|
|
3997
3997
|
s: t.suffix,
|
|
@@ -4004,8 +4004,8 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4004
4004
|
key: 0,
|
|
4005
4005
|
x1: Y.value ? X.value?.right : X.value?.left,
|
|
4006
4006
|
x2: Y.value ? X.value?.right + H.value.chart.grid.labels.yAxis.crosshairSize : X.value?.left - H.value.chart.grid.labels.yAxis.crosshairSize,
|
|
4007
|
-
y1: j(
|
|
4008
|
-
y2: j(
|
|
4007
|
+
y1: j(_)(e.y),
|
|
4008
|
+
y2: j(_)(e.y),
|
|
4009
4009
|
stroke: H.value.chart.grid.stroke,
|
|
4010
4010
|
"stroke-width": "1",
|
|
4011
4011
|
"stroke-linecap": "round",
|
|
@@ -4013,11 +4013,11 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4013
4013
|
}, null, 8, bn)) : x("", !0), e.value >= K.value.min && e.value <= K.value.max ? (E(), S("text", {
|
|
4014
4014
|
key: 1,
|
|
4015
4015
|
class: w({ "vue-data-ui-transition": j(Pa) }),
|
|
4016
|
-
transform: `translate(${Y.value ? X.value.right + H.value.chart.grid.labels.yAxis.crosshairSize + H.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : X.value.scaleLabelX - H.value.chart.grid.labels.yAxis.crosshairSize}, ${j(
|
|
4016
|
+
transform: `translate(${Y.value ? X.value.right + H.value.chart.grid.labels.yAxis.crosshairSize + H.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : X.value.scaleLabelX - H.value.chart.grid.labels.yAxis.crosshairSize}, ${j(h)(e.y + V.value.dataLabels / 3)})`,
|
|
4017
4017
|
"font-size": V.value.dataLabels,
|
|
4018
4018
|
"text-anchor": Y.value ? "start" : "end",
|
|
4019
4019
|
fill: H.value.chart.grid.labels.color
|
|
4020
|
-
}, A(j(St)(e.value) ? j(
|
|
4020
|
+
}, A(j(St)(e.value) ? j(g)(H.value.chart.grid.labels.yAxis.formatter, e.value, j(p)({
|
|
4021
4021
|
p: e.prefix,
|
|
4022
4022
|
v: e.value,
|
|
4023
4023
|
s: e.suffix,
|
|
@@ -4026,7 +4026,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4026
4026
|
wu.value ? (E(), S("g", Sn, [(E(!0), S(y, null, O(Tu.value, (e) => (E(), S("text", {
|
|
4027
4027
|
class: w({ "vue-data-ui-transition": j(Pa) }),
|
|
4028
4028
|
key: `crosshair_y_label_${e.serie.id}_${e.index}`,
|
|
4029
|
-
transform: `translate(${Y.value ? X.value.right + H.value.chart.grid.labels.yAxis.crosshairSize + H.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : X.value.scaleLabelX - H.value.chart.grid.labels.yAxis.crosshairSize}, ${j(
|
|
4029
|
+
transform: `translate(${Y.value ? X.value.right + H.value.chart.grid.labels.yAxis.crosshairSize + H.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : X.value.scaleLabelX - H.value.chart.grid.labels.yAxis.crosshairSize}, ${j(_)(e.y) + V.value.dataLabels / 3})`,
|
|
4030
4030
|
"font-size": V.value.dataLabels,
|
|
4031
4031
|
"text-anchor": Y.value ? "start" : "end",
|
|
4032
4032
|
fill: H.value.chart.grid.labels.color,
|
|
@@ -4035,7 +4035,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4035
4035
|
animation: "none !important",
|
|
4036
4036
|
"pointer-events": "none"
|
|
4037
4037
|
}
|
|
4038
|
-
}, A(j(
|
|
4038
|
+
}, A(j(g)(H.value.chart.grid.labels.yAxis.formatter, e.value, j(p)({
|
|
4039
4039
|
p: e.serie.prefix || H.value.chart.labels.prefix,
|
|
4040
4040
|
v: e.value,
|
|
4041
4041
|
s: e.serie.suffix || H.value.chart.labels.suffix,
|
|
@@ -4046,7 +4046,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4046
4046
|
})), 11, Cn))), 128))])) : x("", !0),
|
|
4047
4047
|
Eu.value ? (E(), S("g", wn, [C("circle", {
|
|
4048
4048
|
cx: Cu.value,
|
|
4049
|
-
cy: j(
|
|
4049
|
+
cy: j(_)(X.value?.bottom),
|
|
4050
4050
|
r: H.value.chart.highlighter.crosshairs.dot.radius,
|
|
4051
4051
|
fill: H.value.chart.highlighter.crosshairs.dot.fill,
|
|
4052
4052
|
stroke: H.value.chart.highlighter.crosshairs.dot.stroke,
|
|
@@ -4073,8 +4073,8 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4073
4073
|
].includes(e.shape) ? e.shape : "circle",
|
|
4074
4074
|
color: H.value.plot.useGradient ? `url(#plotGradient_${n}_${I.value})` : H.value.plot.dot.useSerieColor ? e.color : H.value.plot.dot.fill,
|
|
4075
4075
|
plot: {
|
|
4076
|
-
x: j(
|
|
4077
|
-
y: j(
|
|
4076
|
+
x: j(h)(r.x),
|
|
4077
|
+
y: j(h)(r.y)
|
|
4078
4078
|
},
|
|
4079
4079
|
radius: Ou(e, r, i) ? (ka.value.plot || 6) * 1.5 : (nl(e.plots, i), ka.value.plot || 6),
|
|
4080
4080
|
stroke: H.value.plot.dot.useSerieColor ? H.value.chart.backgroundColor : e.color,
|
|
@@ -4167,20 +4167,20 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4167
4167
|
class: w(`serie_line_${n}`),
|
|
4168
4168
|
style: T(`opacity:${P.value ? P.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
4169
4169
|
}, [
|
|
4170
|
-
e.useArea && e.plots.length > 1 ? (E(), S("g", Fn, [e.smooth ? (E(!0), S(y, { key: 0 }, O(e.curveAreas, (r,
|
|
4170
|
+
e.useArea && e.plots.length > 1 ? (E(), S("g", Fn, [e.smooth ? (E(!0), S(y, { key: 0 }, O(e.curveAreas, (r, i) => (E(), S(y, { key: i }, [r ? (E(), S("path", {
|
|
4171
4171
|
key: 0,
|
|
4172
4172
|
d: r,
|
|
4173
|
-
fill: H.value.line.area.useGradient ? `url(#areaGradient_${n}_${I.value})` : j(
|
|
4173
|
+
fill: H.value.line.area.useGradient ? `url(#areaGradient_${n}_${I.value})` : j(l)(e.color, H.value.line.area.opacity),
|
|
4174
4174
|
style: T({ transition: cl() })
|
|
4175
4175
|
}, null, 12, In)) : x("", !0), t.$slots.pattern && r ? (E(), S("path", {
|
|
4176
4176
|
key: 1,
|
|
4177
4177
|
d: r,
|
|
4178
4178
|
fill: `url(#pattern_${I.value}_${e.slotAbsoluteIndex})`,
|
|
4179
4179
|
style: T({ transition: cl() })
|
|
4180
|
-
}, null, 12, Ln)) : x("", !0)], 64))), 128)) : (E(!0), S(y, { key: 1 }, O(e.area.split(";"), (r,
|
|
4180
|
+
}, null, 12, Ln)) : x("", !0)], 64))), 128)) : (E(!0), S(y, { key: 1 }, O(e.area.split(";"), (r, i) => (E(), S(y, { key: i }, [r ? (E(), S("path", {
|
|
4181
4181
|
key: 0,
|
|
4182
4182
|
d: `M${r}Z`,
|
|
4183
|
-
fill: H.value.line.area.useGradient ? `url(#areaGradient_${n}_${I.value})` : j(
|
|
4183
|
+
fill: H.value.line.area.useGradient ? `url(#areaGradient_${n}_${I.value})` : j(l)(e.color, H.value.line.area.opacity),
|
|
4184
4184
|
style: T({ transition: cl() })
|
|
4185
4185
|
}, null, 12, Rn)) : x("", !0), t.$slots.pattern && r ? (E(), S("path", {
|
|
4186
4186
|
key: 1,
|
|
@@ -4240,8 +4240,8 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4240
4240
|
].includes(e.shape) ? e.shape : "circle",
|
|
4241
4241
|
color: H.value.line.useGradient ? `url(#lineGradient_${n}_${I.value})` : H.value.line.dot.useSerieColor ? e.color : H.value.line.dot.fill,
|
|
4242
4242
|
plot: {
|
|
4243
|
-
x: j(
|
|
4244
|
-
y: j(
|
|
4243
|
+
x: j(h)(r.x),
|
|
4244
|
+
y: j(h)(r.y)
|
|
4245
4245
|
},
|
|
4246
4246
|
radius: Ou(e, r, i) ? Aa.value || 0 : (nl(e.plots, i), ka.value.line || 0),
|
|
4247
4247
|
stroke: H.value.line.dot.useSerieColor ? H.value.chart.backgroundColor : e.color,
|
|
@@ -4298,7 +4298,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4298
4298
|
fill: H.value.bar.serieName.useSerieColor ? e.color : H.value.bar.serieName.color,
|
|
4299
4299
|
"font-weight": H.value.bar.serieName.bold ? "bold" : "normal",
|
|
4300
4300
|
style: T(`opacity:${P.value ? P.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
4301
|
-
}, A(H.value.bar.serieName.useAbbreviation ? j(
|
|
4301
|
+
}, A(H.value.bar.serieName.useAbbreviation ? j(ye)({
|
|
4302
4302
|
source: e.name,
|
|
4303
4303
|
length: H.value.bar.serieName.abbreviationSize
|
|
4304
4304
|
}) : e.name), 15, Jn)) : x("", !0)], 64))), 128))], 64))), 128))])) : x("", !0),
|
|
@@ -4346,8 +4346,8 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4346
4346
|
width: "150",
|
|
4347
4347
|
style: T(`overflow: visible; opacity:${P.value ? P.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
4348
4348
|
}, [C("div", {
|
|
4349
|
-
style: T(`padding: 3px; background:${j(
|
|
4350
|
-
innerHTML: j(
|
|
4349
|
+
style: T(`padding: 3px; background:${j(l)(e.color, 80)};color:${j(we)(e.color)};width:fit-content;font-size:${V.value.plotLabels}px;border-radius: 2px;`),
|
|
4350
|
+
innerHTML: j(g)(H.value.plot.tag.formatter, n.value, e.name, {
|
|
4351
4351
|
datapoint: n,
|
|
4352
4352
|
seriesIndex: r,
|
|
4353
4353
|
serieName: e.name
|
|
@@ -4360,8 +4360,8 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4360
4360
|
width: "150",
|
|
4361
4361
|
style: T(`overflow: visible; opacity:${P.value ? P.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
4362
4362
|
}, [C("div", {
|
|
4363
|
-
style: T(`padding: 3px; background:${j(
|
|
4364
|
-
innerHTML: j(
|
|
4363
|
+
style: T(`padding: 3px; background:${j(l)(e.color, 80)};color:${j(we)(e.color)};width:fit-content;font-size:${V.value.plotLabels}px;border-radius: 2px;`),
|
|
4364
|
+
innerHTML: j(g)(H.value.plot.tag.formatter, n.value, e.name, {
|
|
4365
4365
|
datapoint: n,
|
|
4366
4366
|
seriesIndex: r,
|
|
4367
4367
|
serieName: e.name
|
|
@@ -4411,8 +4411,8 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4411
4411
|
width: "150",
|
|
4412
4412
|
style: T(`overflow: visible; opacity:${P.value ? P.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
4413
4413
|
}, [C("div", {
|
|
4414
|
-
style: T(`padding: 3px; background:${j(
|
|
4415
|
-
innerHTML: j(
|
|
4414
|
+
style: T(`padding: 3px; background:${j(l)(e.color, 80)};color:${j(we)(e.color)};width:fit-content;font-size:${V.value.plotLabels}px;border-radius: 2px;`),
|
|
4415
|
+
innerHTML: j(g)(H.value.line.tag.formatter, n.value, e.name, {
|
|
4416
4416
|
datapoint: n,
|
|
4417
4417
|
seriesIndex: r,
|
|
4418
4418
|
serieName: e.name
|
|
@@ -4425,8 +4425,8 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4425
4425
|
width: "150",
|
|
4426
4426
|
style: T(`overflow: visible; opacity:${P.value ? P.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
4427
4427
|
}, [C("div", {
|
|
4428
|
-
style: T(`padding: 3px; background:${j(
|
|
4429
|
-
innerHTML: j(
|
|
4428
|
+
style: T(`padding: 3px; background:${j(l)(e.color, 80)};color:${j(we)(e.color)};width:fit-content;font-size:${V.value.plotLabels}px;border-radius: 2px;`),
|
|
4429
|
+
innerHTML: j(g)(H.value.line.tag.formatter, n.value, e.name, {
|
|
4430
4430
|
datapoint: n,
|
|
4431
4431
|
seriesIndex: r,
|
|
4432
4432
|
serieName: e.name
|
|
@@ -4502,7 +4502,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4502
4502
|
...kl.value,
|
|
4503
4503
|
...$.value,
|
|
4504
4504
|
...Ol.value
|
|
4505
|
-
], (e, t) => (E(), S(y, { key: `progression-${t}` }, [Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(j(
|
|
4505
|
+
], (e, t) => (E(), S(y, { key: `progression-${t}` }, [Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(j(he)(e.plots).trend) ? (E(), S("g", hr, [
|
|
4506
4506
|
C("defs", null, [C("marker", {
|
|
4507
4507
|
id: `progression_arrow_${t}`,
|
|
4508
4508
|
markerWidth: "9",
|
|
@@ -4522,10 +4522,10 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4522
4522
|
}, null, 8, _r)], 8, gr)]),
|
|
4523
4523
|
e.plots.length > 1 ? (E(), S("line", {
|
|
4524
4524
|
key: 0,
|
|
4525
|
-
x1: j(
|
|
4526
|
-
x2: j(
|
|
4527
|
-
y1: j(
|
|
4528
|
-
y2: j(
|
|
4525
|
+
x1: j(he)(e.plots).x1 + (e.type === "bar" ? Fs() : 0),
|
|
4526
|
+
x2: j(he)(e.plots).x2 + (e.type === "bar" ? Fs() : 0),
|
|
4527
|
+
y1: j(_)(j(he)(e.plots).y1),
|
|
4528
|
+
y2: j(_)(j(he)(e.plots).y2),
|
|
4529
4529
|
"stroke-width": 1,
|
|
4530
4530
|
stroke: H.value.chart.backgroundColor,
|
|
4531
4531
|
"stroke-dasharray": 2,
|
|
@@ -4535,10 +4535,10 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4535
4535
|
}, null, 8, vr)) : x("", !0),
|
|
4536
4536
|
e.plots.length > 1 ? (E(), S("line", {
|
|
4537
4537
|
key: 1,
|
|
4538
|
-
x1: j(
|
|
4539
|
-
x2: j(
|
|
4540
|
-
y1: j(
|
|
4541
|
-
y2: j(
|
|
4538
|
+
x1: j(he)(e.plots).x1 + (e.type === "bar" ? Fs() : 0),
|
|
4539
|
+
x2: j(he)(e.plots).x2 + (e.type === "bar" ? Fs() : 0),
|
|
4540
|
+
y1: j(_)(j(he)(e.plots).y1),
|
|
4541
|
+
y2: j(_)(j(he)(e.plots).y2),
|
|
4542
4542
|
"stroke-width": 1,
|
|
4543
4543
|
stroke: e.color,
|
|
4544
4544
|
"stroke-dasharray": 2,
|
|
@@ -4550,7 +4550,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4550
4550
|
key: 2,
|
|
4551
4551
|
class: w({ "vue-data-ui-transition": j(Pa) }),
|
|
4552
4552
|
"text-anchor": "middle",
|
|
4553
|
-
transform: `translate(${j(
|
|
4553
|
+
transform: `translate(${j(he)(e.plots).x2 + (e.type === "bar" ? Fs() : 0)}, ${j(he)(e.plots).y2 - 12})`,
|
|
4554
4554
|
"font-size": V.value.plotLabels,
|
|
4555
4555
|
fill: e.color,
|
|
4556
4556
|
stroke: H.value.chart.backgroundColor,
|
|
@@ -4558,8 +4558,8 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4558
4558
|
"stroke-linecap": "round",
|
|
4559
4559
|
"stroke-linejoin": "round",
|
|
4560
4560
|
"paint-order": "stroke fill"
|
|
4561
|
-
}, A(j(
|
|
4562
|
-
v: j(
|
|
4561
|
+
}, A(j(p)({
|
|
4562
|
+
v: j(he)(e.plots).trend * 100,
|
|
4563
4563
|
s: "%",
|
|
4564
4564
|
r: 2
|
|
4565
4565
|
})), 11, br)) : x("", !0)
|
|
@@ -4639,7 +4639,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4639
4639
|
fill: H.value.chart.grid.labels.xAxisLabels.color,
|
|
4640
4640
|
transform: `translate(${fl(e, t)}, ${X.value?.bottom + V.value.xAxis * 1.5}), rotate(${H.value.chart.grid.labels.xAxisLabels.rotation})`,
|
|
4641
4641
|
style: T({ cursor: Fo() && Fa.value ? "pointer" : "default" }),
|
|
4642
|
-
innerHTML: j(
|
|
4642
|
+
innerHTML: j(s)({
|
|
4643
4643
|
content: String(e.text),
|
|
4644
4644
|
fontSize: V.value.xAxis,
|
|
4645
4645
|
fill: H.value.chart.grid.labels.xAxisLabels.color,
|
|
@@ -4669,7 +4669,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4669
4669
|
animation: "none !important",
|
|
4670
4670
|
"pointer-events": "none"
|
|
4671
4671
|
},
|
|
4672
|
-
innerHTML: j(
|
|
4672
|
+
innerHTML: j(s)({
|
|
4673
4673
|
content: String(Eu.value.text),
|
|
4674
4674
|
fontSize: V.value.xAxis,
|
|
4675
4675
|
fill: H.value.chart.grid.labels.xAxisLabels.color,
|
|
@@ -4707,8 +4707,8 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4707
4707
|
y: Math.min(e.yTop, e.yBottom),
|
|
4708
4708
|
x: e.x1,
|
|
4709
4709
|
width: X.value.width,
|
|
4710
|
-
height: j(
|
|
4711
|
-
fill: j(
|
|
4710
|
+
height: j(h)(e.areaHeight, 0),
|
|
4711
|
+
fill: j(l)(e.config.area.fill, e.config.area.opacity),
|
|
4712
4712
|
style: { animation: "none !important" }
|
|
4713
4713
|
}, null, 8, Mr)) : x("", !0),
|
|
4714
4714
|
e.config.label.text && e.show && isFinite(e._box.y) ? (E(), S("rect", lt({
|
|
@@ -4728,7 +4728,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4728
4728
|
"text-anchor": e.config.label.textAnchor
|
|
4729
4729
|
}, A(e.config.label.text), 11, Nr)) : x("", !0)
|
|
4730
4730
|
]))), 128))])) : x("", !0),
|
|
4731
|
-
!wu.value && H.value.chart.timeTag.show && (q.value ? j(
|
|
4731
|
+
!wu.value && H.value.chart.timeTag.show && (q.value ? j(v)(fu.value) : ![null, void 0].includes(z.value) || ![null, void 0].includes(L.value)) ? (E(), S("g", Pr, [(E(), S("foreignObject", {
|
|
4732
4732
|
x: mu(),
|
|
4733
4733
|
y: X.value?.bottom,
|
|
4734
4734
|
width: "200",
|
|
@@ -4741,7 +4741,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4741
4741
|
style: T(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${H.value.chart.timeTag.backgroundColor};color:${H.value.chart.timeTag.color};font-size:${H.value.chart.timeTag.fontSize}px`),
|
|
4742
4742
|
innerHTML: vu.value
|
|
4743
4743
|
}, null, 12, Ir)], 8, Fr)), C("circle", {
|
|
4744
|
-
cx: q.value && j(
|
|
4744
|
+
cx: q.value && j(v)(fu.value) ? pl({ x: fu.value }) : _c((z.value === null ? 0 : z.value) || (L.value === null ? 0 : L.value)),
|
|
4745
4745
|
cy: X.value?.bottom,
|
|
4746
4746
|
r: H.value.chart.timeTag.circleMarker.radius,
|
|
4747
4747
|
fill: H.value.chart.timeTag.circleMarker.color
|
|
@@ -4780,14 +4780,14 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4780
4780
|
"data-tag": "right",
|
|
4781
4781
|
style: T({
|
|
4782
4782
|
position: "fixed",
|
|
4783
|
-
top: j(
|
|
4783
|
+
top: j(ke)({
|
|
4784
4784
|
svgElement: R.value,
|
|
4785
4785
|
x: X.value?.right + H.value.line.tag.fontSize / 1.5,
|
|
4786
4786
|
y: n.y,
|
|
4787
4787
|
element: ia.value[`${t}_${r}_right_line`],
|
|
4788
4788
|
position: "right"
|
|
4789
4789
|
})?.top + "px",
|
|
4790
|
-
left: j(
|
|
4790
|
+
left: j(ke)({
|
|
4791
4791
|
svgElement: R.value,
|
|
4792
4792
|
x: X.value?.right + H.value.line.tag.fontSize / 1.5,
|
|
4793
4793
|
y: n.y,
|
|
@@ -4797,7 +4797,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4797
4797
|
height: "fit-content",
|
|
4798
4798
|
width: "fit-content",
|
|
4799
4799
|
background: e.color,
|
|
4800
|
-
color: j(
|
|
4800
|
+
color: j(we)(e.color),
|
|
4801
4801
|
padding: "0 6px",
|
|
4802
4802
|
fontSize: H.value.line.tag.fontSize + "px",
|
|
4803
4803
|
opacity: 1
|
|
@@ -4808,7 +4808,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4808
4808
|
stroke: "none"
|
|
4809
4809
|
}, null, 8, Hr)])), C("div", {
|
|
4810
4810
|
class: "vue-ui-xy-tag-content",
|
|
4811
|
-
innerHTML: j(
|
|
4811
|
+
innerHTML: j(g)(H.value.line.tag.formatter, n.value, e.name, {
|
|
4812
4812
|
datapoint: n,
|
|
4813
4813
|
seriesIndex: r,
|
|
4814
4814
|
serieName: e.name
|
|
@@ -4825,14 +4825,14 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4825
4825
|
"data-tag": "left",
|
|
4826
4826
|
style: T({
|
|
4827
4827
|
position: "fixed",
|
|
4828
|
-
top: j(
|
|
4828
|
+
top: j(ke)({
|
|
4829
4829
|
svgElement: R.value,
|
|
4830
4830
|
x: X.value?.left - H.value.line.tag.fontSize / 1.5,
|
|
4831
4831
|
y: n.y,
|
|
4832
4832
|
element: ia.value[`${t}_${r}_left_line`],
|
|
4833
4833
|
position: "left"
|
|
4834
4834
|
})?.top + "px",
|
|
4835
|
-
left: j(
|
|
4835
|
+
left: j(ke)({
|
|
4836
4836
|
svgElement: R.value,
|
|
4837
4837
|
x: X.value?.left - H.value.line.tag.fontSize / 1.5,
|
|
4838
4838
|
y: n.y,
|
|
@@ -4842,7 +4842,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4842
4842
|
height: "fit-content",
|
|
4843
4843
|
width: "fit-content",
|
|
4844
4844
|
background: e.color,
|
|
4845
|
-
color: j(
|
|
4845
|
+
color: j(we)(e.color),
|
|
4846
4846
|
padding: "0 6px",
|
|
4847
4847
|
fontSize: H.value.line.tag.fontSize + "px",
|
|
4848
4848
|
opacity: 1
|
|
@@ -4853,7 +4853,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4853
4853
|
stroke: "none"
|
|
4854
4854
|
}, null, 8, Gr)])), C("div", {
|
|
4855
4855
|
class: "vue-ui-xy-tag-content",
|
|
4856
|
-
innerHTML: j(
|
|
4856
|
+
innerHTML: j(g)(H.value.line.tag.formatter, n.value, e.name, {
|
|
4857
4857
|
datapoint: n,
|
|
4858
4858
|
seriesIndex: r,
|
|
4859
4859
|
serieName: e.name
|
|
@@ -4871,14 +4871,14 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4871
4871
|
"data-tag": "right",
|
|
4872
4872
|
style: T({
|
|
4873
4873
|
position: "fixed",
|
|
4874
|
-
top: j(
|
|
4874
|
+
top: j(ke)({
|
|
4875
4875
|
svgElement: R.value,
|
|
4876
4876
|
x: X.value?.right + H.value.plot.tag.fontSize / 1.5,
|
|
4877
4877
|
y: n.y,
|
|
4878
4878
|
element: ia.value[`${t}_${r}_right_plot`],
|
|
4879
4879
|
position: "right"
|
|
4880
4880
|
})?.top + "px",
|
|
4881
|
-
left: j(
|
|
4881
|
+
left: j(ke)({
|
|
4882
4882
|
svgElement: R.value,
|
|
4883
4883
|
x: X.value?.right + H.value.plot.tag.fontSize / 1.5,
|
|
4884
4884
|
y: n.y,
|
|
@@ -4888,7 +4888,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4888
4888
|
height: "fit-content",
|
|
4889
4889
|
width: "fit-content",
|
|
4890
4890
|
background: e.color,
|
|
4891
|
-
color: j(
|
|
4891
|
+
color: j(we)(e.color),
|
|
4892
4892
|
padding: "0 6px",
|
|
4893
4893
|
fontSize: H.value.plot.tag.fontSize + "px",
|
|
4894
4894
|
opacity: 1
|
|
@@ -4899,7 +4899,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4899
4899
|
stroke: "none"
|
|
4900
4900
|
}, null, 8, Jr)])), C("div", {
|
|
4901
4901
|
class: "vue-ui-xy-tag-content",
|
|
4902
|
-
innerHTML: j(
|
|
4902
|
+
innerHTML: j(g)(H.value.plot.tag.formatter, n.value, e.name, {
|
|
4903
4903
|
datapoint: n,
|
|
4904
4904
|
seriesIndex: r,
|
|
4905
4905
|
serieName: e.name
|
|
@@ -4916,14 +4916,14 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4916
4916
|
"data-tag": "left",
|
|
4917
4917
|
style: T({
|
|
4918
4918
|
position: "fixed",
|
|
4919
|
-
top: j(
|
|
4919
|
+
top: j(ke)({
|
|
4920
4920
|
svgElement: R.value,
|
|
4921
4921
|
x: X.value?.left - H.value.plot.tag.fontSize / 1.5,
|
|
4922
4922
|
y: n.y,
|
|
4923
4923
|
element: ia.value[`${t}_${r}_left_plot`],
|
|
4924
4924
|
position: "left"
|
|
4925
4925
|
})?.top + "px",
|
|
4926
|
-
left: j(
|
|
4926
|
+
left: j(ke)({
|
|
4927
4927
|
svgElement: R.value,
|
|
4928
4928
|
x: X.value?.left - H.value.plot.tag.fontSize / 1.5,
|
|
4929
4929
|
y: n.y,
|
|
@@ -4933,7 +4933,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4933
4933
|
height: "fit-content",
|
|
4934
4934
|
width: "fit-content",
|
|
4935
4935
|
background: e.color,
|
|
4936
|
-
color: j(
|
|
4936
|
+
color: j(we)(e.color),
|
|
4937
4937
|
padding: "0 6px",
|
|
4938
4938
|
fontSize: H.value.plot.tag.fontSize + "px",
|
|
4939
4939
|
opacity: 1
|
|
@@ -4944,7 +4944,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
4944
4944
|
stroke: "none"
|
|
4945
4945
|
}, null, 8, Zr)])), C("div", {
|
|
4946
4946
|
class: "vue-ui-xy-tag-content",
|
|
4947
|
-
innerHTML: j(
|
|
4947
|
+
innerHTML: j(g)(H.value.plot.tag.formatter, n.value, e.name, {
|
|
4948
4948
|
datapoint: n,
|
|
4949
4949
|
seriesIndex: r,
|
|
4950
4950
|
serieName: e.name
|
|
@@ -5214,7 +5214,7 @@ var jt = /* @__PURE__ */ e({ default: () => N }), Mt = ["id"], Nt = ["id"], Pt =
|
|
|
5214
5214
|
stroke: Ql.value.config.th.color,
|
|
5215
5215
|
size: 16
|
|
5216
5216
|
}, null, 8, ["stroke"])])) : (E(), S("div", li, A(e), 1))]),
|
|
5217
|
-
td: M(({ td: e }) => [it(A(isNaN(Number(e)) ? e : j(
|
|
5217
|
+
td: M(({ td: e }) => [it(A(isNaN(Number(e)) ? e : j(p)({
|
|
5218
5218
|
p: H.value.chart.labels.prefix,
|
|
5219
5219
|
v: e,
|
|
5220
5220
|
s: H.value.chart.labels.suffix,
|