vue-data-ui 2.3.27 → 2.3.29
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 +17 -1
- package/dist/{Arrow-HROOtfWV.cjs → Arrow-B8z06v67.cjs} +1 -1
- package/dist/{Arrow-O38M_J_k.js → Arrow-Bh7WeO_g.js} +1 -1
- package/dist/{BaseIcon-D8FXGup9.js → BaseIcon-BG_bJS3R.js} +1 -1
- package/dist/{BaseIcon-CiO8gP9x.cjs → BaseIcon-DDCJA3rm.cjs} +1 -1
- package/dist/{DataTable-EqeVt-K-.js → DataTable-CsPidn0_.js} +23 -20
- package/dist/DataTable-Doh_4M84.cjs +1 -0
- package/dist/{Legend-C_lBCmBu.cjs → Legend-B20rRwGi.cjs} +1 -1
- package/dist/{Legend-8eVERYMn.js → Legend-CkQ_zypV.js} +1 -1
- package/dist/{Shape-DvcgW6uK.js → Shape-B4gGeBLI.js} +1 -1
- package/dist/{Shape-D8RdmYWq.cjs → Shape-B8O8_E6l.cjs} +1 -1
- package/dist/{Slicer-BvYL7yVK.cjs → Slicer-BXveU40S.cjs} +1 -1
- package/dist/{Slicer-CH_5wnFM.js → Slicer-DaEfxscP.js} +1 -1
- package/dist/{Title-B9iq63n1.cjs → Title-BU6E8Xld.cjs} +1 -1
- package/dist/{Title-C3Ez1ceq.js → Title-eBTH8iGJ.js} +1 -1
- package/dist/{Tooltip-7SRMoiu-.js → Tooltip-B11OahTD.js} +1 -1
- package/dist/{Tooltip-DcDEanxk.cjs → Tooltip-Oicp_EIo.cjs} +1 -1
- package/dist/documentation/installation.md +1 -1
- package/dist/{index-DiWO-_ca.js → index-BlXzlBwZ.js} +447 -364
- package/dist/index-hKWfT7Wa.cjs +4 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +66 -0
- package/dist/types/vue-data-ui.d.ts +66 -0
- package/dist/{useNestedProp-DNX5EefQ.js → useNestedProp-BoNl5H_z.js} +1 -1
- package/dist/{useNestedProp-BtqgWTf9.cjs → useNestedProp-Cggpoz7e.cjs} +1 -1
- package/dist/{usePrinter-BD40aUzH.js → usePrinter-CZ8F5Cth.js} +1 -1
- package/dist/{usePrinter-Q1J--baX.cjs → usePrinter-DoYKBzst.cjs} +1 -1
- package/dist/{vue-data-ui-GHpxkf8a.js → vue-data-ui-BOqzG_nZ.js} +57 -57
- package/dist/{vue-data-ui-yd5q4Ura.cjs → vue-data-ui-CGgiWEo3.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +6 -6
- package/dist/{vue-ui-3d-bar-CAmoj5dT.js → vue-ui-3d-bar-CjnVg4YI.js} +342 -294
- package/dist/vue-ui-3d-bar-CpntMt7p.cjs +19 -0
- package/dist/{vue-ui-accordion-ogVvFfQy.cjs → vue-ui-accordion-CTYvdLLH.cjs} +1 -1
- package/dist/{vue-ui-accordion-CiNdgRO9.js → vue-ui-accordion-wHRG3nXl.js} +3 -3
- package/dist/vue-ui-age-pyramid-DDiL1Zje.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-BrTpbEha.js → vue-ui-age-pyramid-vmCwgRy9.js} +258 -219
- package/dist/{vue-ui-annotator-B9IqZ-Hy.js → vue-ui-annotator-9FGJdNLY.js} +1 -1
- package/dist/{vue-ui-annotator-QbetAXoj.cjs → vue-ui-annotator-DQ3wKf9n.cjs} +1 -1
- package/dist/{vue-ui-candlestick-BvRwlc3d.cjs → vue-ui-candlestick-6joQ9JKQ.cjs} +1 -1
- package/dist/{vue-ui-candlestick-XjjwFaDO.js → vue-ui-candlestick-DpMr2r0i.js} +9 -9
- package/dist/{vue-ui-carousel-table-DtxcnSEp.cjs → vue-ui-carousel-table-BV0EOLqU.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-KYENY5gp.js → vue-ui-carousel-table-CgR4ADOz.js} +4 -4
- package/dist/{vue-ui-chestnut-DfIcguJd.js → vue-ui-chestnut-Ca2878kV.js} +439 -347
- package/dist/vue-ui-chestnut-CxoCcw_B.cjs +6 -0
- package/dist/{vue-ui-cursor-C4pJe90O.js → vue-ui-cursor-BW8C6oUc.js} +2 -2
- package/dist/{vue-ui-cursor-COS_MXr8.cjs → vue-ui-cursor-DxF_gXQf.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DNOjWStr.cjs → vue-ui-dashboard-BGrVyITN.cjs} +1 -1
- package/dist/{vue-ui-dashboard-B_NUnxEF.js → vue-ui-dashboard-DN4nErBZ.js} +2 -2
- package/dist/{vue-ui-digits-uufqLbRt.js → vue-ui-digits-CmSFSs5S.js} +2 -2
- package/dist/{vue-ui-digits-Vx5prxaT.cjs → vue-ui-digits-CpSKBG2c.cjs} +1 -1
- package/dist/vue-ui-donut-BqfRwAIM.js +857 -0
- package/dist/vue-ui-donut-C29yXH3H.cjs +1 -0
- package/dist/vue-ui-donut-evolution-COFG73Xl.cjs +1 -0
- package/dist/vue-ui-donut-evolution-DIR7yBUC.js +839 -0
- package/dist/{vue-ui-dumbbell-z_Ck4W33.cjs → vue-ui-dumbbell-1NA60u3h.cjs} +2 -2
- package/dist/{vue-ui-dumbbell-KvrVLLw6.js → vue-ui-dumbbell-BASuPAvI.js} +202 -187
- package/dist/{vue-ui-flow-Dg4dkrcd.cjs → vue-ui-flow-DBK7d0DQ.cjs} +1 -1
- package/dist/{vue-ui-flow-BjMikE9b.js → vue-ui-flow-wq0aqc5r.js} +98 -93
- package/dist/vue-ui-galaxy-BgdVvk4N.cjs +1 -0
- package/dist/{vue-ui-galaxy-BdgveN18.js → vue-ui-galaxy-CFQ2hQAl.js} +180 -144
- package/dist/{vue-ui-gauge-D8pokfoA.cjs → vue-ui-gauge-C4_kEbgg.cjs} +1 -1
- package/dist/{vue-ui-gauge-D01FLnNz.js → vue-ui-gauge-CIN265dN.js} +158 -149
- package/dist/vue-ui-gizmo-BpT3iwC9.cjs +1 -0
- package/dist/{vue-ui-gizmo-Cp-EftjP.js → vue-ui-gizmo-DRXWEpqU.js} +63 -49
- package/dist/vue-ui-heatmap-CVD7FVfk.cjs +1 -0
- package/dist/vue-ui-heatmap-Dc0ft_Ga.js +644 -0
- package/dist/{vue-ui-kpi-D6rVKouk.js → vue-ui-kpi-DDL1TvBP.js} +19 -10
- package/dist/{vue-ui-kpi-PWurAGxE.cjs → vue-ui-kpi-WDZIt76s.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-YV68i0nk.js → vue-ui-mini-loader-B2C5U55l.js} +2 -2
- package/dist/{vue-ui-mini-loader-BsypWozL.cjs → vue-ui-mini-loader-BcGSpUfg.cjs} +1 -1
- package/dist/{vue-ui-molecule-Bx3fXHnw.cjs → vue-ui-molecule-C5BmRi2R.cjs} +1 -1
- package/dist/{vue-ui-molecule-BWYCf3Km.js → vue-ui-molecule-CD3cPNOq.js} +9 -9
- package/dist/{vue-ui-mood-radar-DsZozq6x.js → vue-ui-mood-radar-D0KbeV5j.js} +213 -187
- package/dist/vue-ui-mood-radar-afS64zg-.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-qaViBhR3.js → vue-ui-nested-donuts-BGoc1RFX.js} +295 -228
- package/dist/vue-ui-nested-donuts-D-TeyOtL.cjs +17 -0
- package/dist/{vue-ui-onion-0iFsjuLM.js → vue-ui-onion-B_khL0Kv.js} +230 -196
- package/dist/vue-ui-onion-CFdbWLu3.cjs +1 -0
- package/dist/{vue-ui-parallel-coordinate-plot-BkZOKTIS.cjs → vue-ui-parallel-coordinate-plot-BmXvVt8r.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-DxDFs1Lb.js → vue-ui-parallel-coordinate-plot-CP4V0K8m.js} +87 -87
- package/dist/{vue-ui-quadrant-Tw7SKMbQ.js → vue-ui-quadrant-C1YbjeI7.js} +455 -397
- package/dist/vue-ui-quadrant-C6-A8Gx_.cjs +1 -0
- package/dist/vue-ui-quick-chart-ConXdEsU.cjs +15 -0
- package/dist/vue-ui-quick-chart-CtWhs_2c.js +1374 -0
- package/dist/{vue-ui-radar-D5FV2IDm.js → vue-ui-radar-B2vAPYa7.js} +237 -214
- package/dist/vue-ui-radar-DMJLLVWb.cjs +1 -0
- package/dist/{vue-ui-rating-DTWIh_CV.cjs → vue-ui-rating-DhZ0tltR.cjs} +1 -1
- package/dist/{vue-ui-rating-Dds9tjxd.js → vue-ui-rating-xGz4av68.js} +9 -9
- package/dist/{vue-ui-relation-circle-B2p8F7-L.js → vue-ui-relation-circle-BQK8wMQE.js} +5 -5
- package/dist/{vue-ui-relation-circle-Cu9lKkX3.cjs → vue-ui-relation-circle-hb4Q051h.cjs} +1 -1
- package/dist/vue-ui-rings-D1EW3d4M.cjs +2 -0
- package/dist/{vue-ui-rings-BKzCFSx-.js → vue-ui-rings-ZKjhNx5K.js} +191 -162
- package/dist/{vue-ui-scatter-CwV9l1P7.js → vue-ui-scatter-CHONk8k0.js} +437 -381
- package/dist/vue-ui-scatter-CMRe2b2K.cjs +1 -0
- package/dist/{vue-ui-screenshot-CnPWz57l.cjs → vue-ui-screenshot-DcKhT745.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Bo6i-aRF.js → vue-ui-screenshot-DmGe5ptH.js} +6 -6
- package/dist/{vue-ui-skeleton-CeNL0kH-.js → vue-ui-skeleton-CJ2R5R6u.js} +37 -37
- package/dist/{vue-ui-skeleton-CcrGR_Vh.cjs → vue-ui-skeleton-j-IOiy5w.cjs} +1 -1
- package/dist/{vue-ui-smiley-BBcmwq4z.cjs → vue-ui-smiley-D5Jn6d5f.cjs} +1 -1
- package/dist/{vue-ui-smiley-BGMzw-SW.js → vue-ui-smiley-DXVcosKR.js} +2 -2
- package/dist/{vue-ui-spark-trend-DlvTlA9z.cjs → vue-ui-spark-trend-CWH3W7h3.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CSC9zmt7.js → vue-ui-spark-trend-Gg6TxR4m.js} +63 -58
- package/dist/vue-ui-sparkbar-BsoKTXr2.cjs +1 -0
- package/dist/vue-ui-sparkbar-DUx1qVzQ.js +280 -0
- package/dist/{vue-ui-sparkgauge-B5g5nxUh.cjs → vue-ui-sparkgauge-DPusPoRv.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-DJPt0cLe.js → vue-ui-sparkgauge-xrvp9g87.js} +60 -50
- package/dist/vue-ui-sparkhistogram---JRg2R1.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-DpvQcFls.js → vue-ui-sparkhistogram-DzYXMNj8.js} +99 -90
- package/dist/{vue-ui-sparkline-Bw3y-88R.cjs → vue-ui-sparkline-1Z6GnwoN.cjs} +1 -1
- package/dist/{vue-ui-sparkline-CDSg9rhl.js → vue-ui-sparkline-CGWePkVI.js} +114 -105
- package/dist/{vue-ui-sparkstackbar-Ckcir2dk.cjs → vue-ui-sparkstackbar-DCc68t8g.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DveNwcVx.js → vue-ui-sparkstackbar-DFgeRAbQ.js} +52 -47
- package/dist/{vue-ui-stackbar-CZUsUeZ_.js → vue-ui-stackbar-B0dWToaf.js} +211 -196
- package/dist/vue-ui-stackbar-Cz0mT8Mo.cjs +15 -0
- package/dist/{vue-ui-strip-plot-lVVqtsNc.js → vue-ui-strip-plot-BFqd-S7c.js} +213 -198
- package/dist/vue-ui-strip-plot-DZt1Wq20.cjs +1 -0
- package/dist/{vue-ui-table-qtBWpg0m.cjs → vue-ui-table-CMvyMuc4.cjs} +1 -1
- package/dist/{vue-ui-table-8hNkBy1z.js → vue-ui-table-DtwEoIzI.js} +9 -9
- package/dist/{vue-ui-table-heatmap-HgHQKSax.cjs → vue-ui-table-heatmap-3RSMOHkc.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BAPA4nvf.js → vue-ui-table-heatmap-C8b3pE04.js} +12 -12
- package/dist/vue-ui-table-sparkline-BKOaVFtt.cjs +1 -0
- package/dist/vue-ui-table-sparkline-BrqhBv29.js +467 -0
- package/dist/vue-ui-thermometer-CKgIqM5y.cjs +1 -0
- package/dist/{vue-ui-thermometer-CcH1qmLq.js → vue-ui-thermometer-DMkLvJgE.js} +118 -108
- package/dist/{vue-ui-timer-C52mSn4m.cjs → vue-ui-timer-D7fvoR77.cjs} +1 -1
- package/dist/{vue-ui-timer-DJfYr02u.js → vue-ui-timer-RA9yfgBk.js} +8 -8
- package/dist/{vue-ui-tiremarks-CcLcd5oA.js → vue-ui-tiremarks-B_EncUi6.js} +79 -71
- package/dist/{vue-ui-tiremarks-dNuNMt_R.cjs → vue-ui-tiremarks-C7y6Mbxe.cjs} +1 -1
- package/dist/{vue-ui-treemap-BOz94BVK.js → vue-ui-treemap-BuGZgQsr.js} +274 -236
- package/dist/vue-ui-treemap-CfngjVUS.cjs +1 -0
- package/dist/vue-ui-vertical-bar-DKbq4bX4.cjs +4 -0
- package/dist/vue-ui-vertical-bar-T4bFd3JF.js +792 -0
- package/dist/vue-ui-waffle-BJFbhWnA.cjs +1 -0
- package/dist/vue-ui-waffle-CrxmrYsV.js +735 -0
- package/dist/{vue-ui-wheel-BVjbh4oM.cjs → vue-ui-wheel-BDRvKR1Z.cjs} +1 -1
- package/dist/{vue-ui-wheel-DMRiVkhu.js → vue-ui-wheel-DOyC7NgR.js} +73 -65
- package/dist/vue-ui-word-cloud-DBxVNlJ3.js +495 -0
- package/dist/vue-ui-word-cloud-Dmcelg3z.cjs +1 -0
- package/dist/{vue-ui-xy-CsFr8tix.js → vue-ui-xy-BIbvJSh2.js} +367 -288
- package/dist/vue-ui-xy-CVKaR90p.cjs +3 -0
- package/dist/vue-ui-xy-canvas-2AaNivzI.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-Bb2Z3E-7.js → vue-ui-xy-canvas-CXVni3kC.js} +284 -259
- package/package.json +1 -1
- package/dist/DataTable-C6HTLT7L.cjs +0 -1
- package/dist/index-BQOxn6SH.cjs +0 -4
- package/dist/vue-ui-3d-bar-DkJ4c3HQ.cjs +0 -19
- package/dist/vue-ui-age-pyramid-CkKVbbl8.cjs +0 -1
- package/dist/vue-ui-chestnut-C7gFvKLJ.cjs +0 -6
- package/dist/vue-ui-donut-C33U3e8H.js +0 -751
- package/dist/vue-ui-donut-CeHnjIGu.cjs +0 -1
- package/dist/vue-ui-donut-evolution-IzfAVo5I.js +0 -805
- package/dist/vue-ui-donut-evolution-hHfvz1Yd.cjs +0 -1
- package/dist/vue-ui-galaxy-B8EoId23.cjs +0 -1
- package/dist/vue-ui-gizmo-8lKc8m8b.cjs +0 -1
- package/dist/vue-ui-heatmap-BEsvmj5R.js +0 -606
- package/dist/vue-ui-heatmap-DvpvKq3Q.cjs +0 -1
- package/dist/vue-ui-mood-radar-C6devC4e.cjs +0 -1
- package/dist/vue-ui-nested-donuts-BtT3VsSf.cjs +0 -16
- package/dist/vue-ui-onion-9ATTDUpw.cjs +0 -1
- package/dist/vue-ui-quadrant-DD4H_Dhk.cjs +0 -1
- package/dist/vue-ui-quick-chart-CpFHKtpm.js +0 -1318
- package/dist/vue-ui-quick-chart-D1udOl47.cjs +0 -13
- package/dist/vue-ui-radar-CZmJDj3q.cjs +0 -1
- package/dist/vue-ui-rings-DN7XmhKZ.cjs +0 -1
- package/dist/vue-ui-scatter-DJlC5mz4.cjs +0 -1
- package/dist/vue-ui-sparkbar-0CNZluKs.js +0 -257
- package/dist/vue-ui-sparkbar-Di-BPkJ0.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-BhkYmR4U.cjs +0 -1
- package/dist/vue-ui-stackbar-jNWFgXiA.cjs +0 -15
- package/dist/vue-ui-strip-plot-CzHFNhr3.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DZY_23mg.js +0 -420
- package/dist/vue-ui-table-sparkline-Q8y6tloS.cjs +0 -1
- package/dist/vue-ui-thermometer-Cbu9jVvC.cjs +0 -1
- package/dist/vue-ui-treemap-orjA7Y0U.cjs +0 -1
- package/dist/vue-ui-vertical-bar-BHIt5cjc.cjs +0 -4
- package/dist/vue-ui-vertical-bar-BquCm_UG.js +0 -745
- package/dist/vue-ui-waffle-CNlp7RTS.js +0 -650
- package/dist/vue-ui-waffle-Dv8pXiYm.cjs +0 -1
- package/dist/vue-ui-word-cloud-CHRE8f_k.js +0 -352
- package/dist/vue-ui-word-cloud-CZum_IjT.cjs +0 -1
- package/dist/vue-ui-xy-BOoG4xg8.cjs +0 -3
- package/dist/vue-ui-xy-canvas-BHa3-phi.cjs +0 -9
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { p as
|
|
2
|
-
import { U as
|
|
3
|
-
import { c as U, a as
|
|
4
|
-
import { D as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { S as
|
|
12
|
-
import
|
|
13
|
-
import { u as
|
|
14
|
-
import { resolveComponent as P, openBlock as r, createElementBlock as i, normalizeClass as T, normalizeStyle as
|
|
15
|
-
import { _ as
|
|
16
|
-
const
|
|
1
|
+
import { p as J } from "./pdf-97UbtKC2.js";
|
|
2
|
+
import { U as K, s as Q } from "./usePrinter-CZ8F5Cth.js";
|
|
3
|
+
import { c as U, a as j, t as $, v as ee, p as te, u as ae, P as X, J as M, f as q, F as le, U as re, i as ie, A as se, V as oe, M as ne, W as he, y as ce, s as ue, d as de, z as ge, b as fe, r as be, q as Ie, D as me, S as Ne, Y as _e, w as Fe, x as xe, e as ye, o as Ae, Z as Le, C as Se } from "./index-BlXzlBwZ.js";
|
|
4
|
+
import { D as Ce } from "./DataTable-CsPidn0_.js";
|
|
5
|
+
import { _ as ke } from "./Title-eBTH8iGJ.js";
|
|
6
|
+
import { _ as we, u as Oe } from "./Tooltip-B11OahTD.js";
|
|
7
|
+
import { _ as ve } from "./Shape-B4gGeBLI.js";
|
|
8
|
+
import Ge from "./BaseIcon-BG_bJS3R.js";
|
|
9
|
+
import ze from "./vue-ui-table-sparkline-BrqhBv29.js";
|
|
10
|
+
import pe from "./vue-ui-skeleton-CJ2R5R6u.js";
|
|
11
|
+
import { S as Te } from "./Slicer-DaEfxscP.js";
|
|
12
|
+
import Me from "./vue-ui-accordion-wHRG3nXl.js";
|
|
13
|
+
import { u as Z } from "./useNestedProp-BoNl5H_z.js";
|
|
14
|
+
import { resolveComponent as P, openBlock as r, createElementBlock as i, normalizeClass as T, normalizeStyle as L, createVNode as E, createCommentVNode as h, createBlock as V, createSlots as Pe, withCtx as z, renderSlot as v, normalizeProps as Y, guardReactiveProps as W, createElementVNode as d, Fragment as I, renderList as m, toDisplayString as C, withDirectives as Ve, vModelCheckbox as Re, createTextVNode as De } from "vue";
|
|
15
|
+
import { _ as He } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const Be = U(), Ye = {
|
|
17
17
|
name: "vue-ui-xy",
|
|
18
18
|
props: {
|
|
19
19
|
config: {
|
|
@@ -30,40 +30,40 @@ const He = U(), Be = {
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
components: {
|
|
33
|
-
DataTable:
|
|
34
|
-
Shape:
|
|
35
|
-
Title:
|
|
36
|
-
Tooltip:
|
|
37
|
-
UserOptions:
|
|
38
|
-
BaseIcon:
|
|
39
|
-
TableSparkline:
|
|
40
|
-
Skeleton:
|
|
41
|
-
Slicer:
|
|
42
|
-
Accordion:
|
|
33
|
+
DataTable: Ce,
|
|
34
|
+
Shape: ve,
|
|
35
|
+
Title: ke,
|
|
36
|
+
Tooltip: we,
|
|
37
|
+
UserOptions: K,
|
|
38
|
+
BaseIcon: Ge,
|
|
39
|
+
TableSparkline: ze,
|
|
40
|
+
Skeleton: pe,
|
|
41
|
+
Slicer: Te,
|
|
42
|
+
Accordion: Me
|
|
43
43
|
},
|
|
44
44
|
data() {
|
|
45
|
-
this.dataset.forEach((
|
|
46
|
-
[null, void 0].includes(
|
|
45
|
+
this.dataset.forEach((c, b) => {
|
|
46
|
+
[null, void 0].includes(c.series) && this.error({
|
|
47
47
|
componentName: "VueUiXy",
|
|
48
48
|
type: "datasetSerieAttribute",
|
|
49
49
|
property: "series (number[])",
|
|
50
50
|
index: b
|
|
51
51
|
});
|
|
52
52
|
});
|
|
53
|
-
const l = Math.max(...this.dataset.map((
|
|
53
|
+
const l = Math.max(...this.dataset.map((c) => c.series.length)), o = {
|
|
54
54
|
start: 0,
|
|
55
55
|
end: l
|
|
56
56
|
};
|
|
57
57
|
return {
|
|
58
|
-
themePalettes:
|
|
59
|
-
themes:
|
|
58
|
+
themePalettes: j,
|
|
59
|
+
themes: $,
|
|
60
60
|
slicerStep: 0,
|
|
61
61
|
selectedScale: null,
|
|
62
62
|
CTX: null,
|
|
63
63
|
CANVAS: null,
|
|
64
|
-
opacity:
|
|
64
|
+
opacity: ee,
|
|
65
65
|
useSafeValues: !0,
|
|
66
|
-
palette:
|
|
66
|
+
palette: te,
|
|
67
67
|
height: 600,
|
|
68
68
|
width: 1e3,
|
|
69
69
|
viewBox: "0 0 1000 600",
|
|
@@ -103,7 +103,7 @@ const He = U(), Be = {
|
|
|
103
103
|
maxX: l,
|
|
104
104
|
showSparklineTable: !0,
|
|
105
105
|
segregateStep: 0,
|
|
106
|
-
sliderId:
|
|
106
|
+
sliderId: Be,
|
|
107
107
|
fontSizes: {
|
|
108
108
|
xAxis: 18,
|
|
109
109
|
yAxis: 12,
|
|
@@ -150,7 +150,7 @@ const He = U(), Be = {
|
|
|
150
150
|
id: t.id,
|
|
151
151
|
yOffset: t.yOffset || 0,
|
|
152
152
|
individualHeight: t.individualHeight || this.drawingArea.height
|
|
153
|
-
})),
|
|
153
|
+
})), c = this.plotSet.map((t) => ({
|
|
154
154
|
name: t.name,
|
|
155
155
|
color: t.color,
|
|
156
156
|
scale: t.individualScale,
|
|
@@ -162,8 +162,8 @@ const He = U(), Be = {
|
|
|
162
162
|
id: t.id,
|
|
163
163
|
yOffset: t.yOffset || 0,
|
|
164
164
|
individualHeight: t.individualHeight || this.drawingArea.height
|
|
165
|
-
})), b = [...l, ...o, ...
|
|
166
|
-
return [...l, ...o, ...
|
|
165
|
+
})), b = [...l, ...o, ...c].flatMap((t) => t).length;
|
|
166
|
+
return [...l, ...o, ...c].flatMap((t, e) => ({
|
|
167
167
|
id: t.id,
|
|
168
168
|
scaleLabel: t.scaleLabel,
|
|
169
169
|
name: t.name,
|
|
@@ -187,7 +187,7 @@ const He = U(), Be = {
|
|
|
187
187
|
},
|
|
188
188
|
FINAL_CONFIG: {
|
|
189
189
|
get: function() {
|
|
190
|
-
const l =
|
|
190
|
+
const l = ae().vue_ui_xy;
|
|
191
191
|
if (!Object.keys(this.config || {}).length)
|
|
192
192
|
return l;
|
|
193
193
|
const o = this.useNestedProp({
|
|
@@ -195,7 +195,7 @@ const He = U(), Be = {
|
|
|
195
195
|
defaultConfig: l
|
|
196
196
|
});
|
|
197
197
|
return o.theme ? {
|
|
198
|
-
...
|
|
198
|
+
...Z({
|
|
199
199
|
userConfig: this.themes.vue_ui_xy[o.theme] || this.config,
|
|
200
200
|
defaultConfig: o
|
|
201
201
|
}),
|
|
@@ -222,7 +222,7 @@ const He = U(), Be = {
|
|
|
222
222
|
safeDataset() {
|
|
223
223
|
return this.useSafeValues ? this.dataset.map((l, o) => ({
|
|
224
224
|
...l,
|
|
225
|
-
series: l.series.map((
|
|
225
|
+
series: l.series.map((c) => this.isSafeValue(c) ? c : null).slice(this.slicer.start, this.slicer.end),
|
|
226
226
|
color: this.convertColorToHex(l.color ? l.color : this.customPalette[o] ? this.customPalette[o] : this.palette[o]),
|
|
227
227
|
id: `uniqueId_${o}`
|
|
228
228
|
})) : this.dataset;
|
|
@@ -230,13 +230,13 @@ const He = U(), Be = {
|
|
|
230
230
|
relativeDataset() {
|
|
231
231
|
return this.safeDataset.map((l, o) => ({
|
|
232
232
|
...l,
|
|
233
|
-
series: l.series.map((
|
|
233
|
+
series: l.series.map((c) => c + this.relativeZero),
|
|
234
234
|
absoluteValues: l.series
|
|
235
235
|
})).filter((l) => !this.segregatedSeries.includes(l.id));
|
|
236
236
|
},
|
|
237
237
|
tableSparklineDataset() {
|
|
238
238
|
return this.relativeDataset.map((l) => {
|
|
239
|
-
const o = l.absoluteValues.map((
|
|
239
|
+
const o = l.absoluteValues.map((c) => [void 0, null].includes(c) ? 0 : c);
|
|
240
240
|
return {
|
|
241
241
|
id: l.id,
|
|
242
242
|
name: l.name,
|
|
@@ -253,6 +253,8 @@ const He = U(), Be = {
|
|
|
253
253
|
showMedian: !1,
|
|
254
254
|
showTotal: !1,
|
|
255
255
|
fontFamily: this.FINAL_CONFIG.chart.fontFamily,
|
|
256
|
+
prefix: this.FINAL_CONFIG.chart.labels.prefix,
|
|
257
|
+
suffix: this.FINAL_CONFIG.chart.labels.suffix,
|
|
256
258
|
colNames: JSON.parse(JSON.stringify(this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values)),
|
|
257
259
|
thead: {
|
|
258
260
|
backgroundColor: this.FINAL_CONFIG.table.th.backgroundColor,
|
|
@@ -273,7 +275,7 @@ const He = U(), Be = {
|
|
|
273
275
|
return this.safeDataset.map((l, o) => ({
|
|
274
276
|
absoluteIndex: o,
|
|
275
277
|
...l,
|
|
276
|
-
series: l.series.map((
|
|
278
|
+
series: l.series.map((c) => c + this.relativeZero),
|
|
277
279
|
absoluteValues: l.series,
|
|
278
280
|
segregate: () => this.segregate(l),
|
|
279
281
|
isSegregated: this.segregatedSeries.includes(l.id)
|
|
@@ -282,20 +284,20 @@ const He = U(), Be = {
|
|
|
282
284
|
barSet() {
|
|
283
285
|
return this.activeSeriesWithStackRatios.filter((l) => l.type === "bar").map((l, o) => {
|
|
284
286
|
this.checkAutoScaleError(l);
|
|
285
|
-
const
|
|
286
|
-
ratios: l.absoluteValues.filter((u) => ![null, void 0].includes(u)).map((u) => (u -
|
|
287
|
-
valueMin:
|
|
287
|
+
const c = Math.min(...l.absoluteValues.filter((u) => ![null, void 0].includes(u))), b = Math.max(...l.absoluteValues.filter((u) => ![null, void 0].includes(u))), e = {
|
|
288
|
+
ratios: l.absoluteValues.filter((u) => ![null, void 0].includes(u)).map((u) => (u - c) / (b - c)),
|
|
289
|
+
valueMin: c,
|
|
288
290
|
valueMax: b < 0 ? 0 : b
|
|
289
291
|
}, N = {
|
|
290
292
|
max: l.scaleMax || Math.max(...l.absoluteValues) || 1,
|
|
291
293
|
min: l.scaleMin || Math.min(...l.absoluteValues.filter((u) => ![void 0, null].includes(u))) > 0 ? 0 : Math.min(...l.absoluteValues.filter((u) => ![null, void 0].includes(u)))
|
|
292
|
-
}, A = l.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, f = this.calculateNiceScale(N.min, N.max, A), F = this.calculateNiceScale(e.valueMin, e.valueMax, A), p = f.min >= 0 ? 0 : Math.abs(f.min), k = 0, w = f.max + p, G = F.max + Math.abs(k), _ = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - l.cumulatedStackRatio) : 0,
|
|
294
|
+
}, A = l.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, f = this.calculateNiceScale(N.min, N.max, A), F = this.calculateNiceScale(e.valueMin, e.valueMax, A), p = f.min >= 0 ? 0 : Math.abs(f.min), k = 0, w = f.max + p, G = F.max + Math.abs(k), _ = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - l.cumulatedStackRatio) : 0, S = this.mutableConfig.isStacked ? this.drawingArea.height * l.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, a = this.drawingArea.bottom - _ - S * p / w, n = this.drawingArea.bottom - _ - S * k / G, s = this.absoluteDataset.filter((u) => u.type === "bar").filter((u) => !this.segregatedSeries.includes(u.id)).length, g = l.series.map((u, x) => {
|
|
293
295
|
const H = this.mutableConfig.useIndividualScale ? (l.absoluteValues[x] + p) / w : this.ratioToMax(u), B = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * x : this.drawingArea.left + this.slot.bar * o + this.slot.bar * x * s - this.barSlot / 2 - o * this.barPeriodGap;
|
|
294
296
|
return {
|
|
295
297
|
yOffset: _,
|
|
296
|
-
individualHeight:
|
|
298
|
+
individualHeight: S,
|
|
297
299
|
x: B,
|
|
298
|
-
y: this.drawingArea.bottom - _ -
|
|
300
|
+
y: this.drawingArea.bottom - _ - S * H,
|
|
299
301
|
value: l.absoluteValues[x],
|
|
300
302
|
zeroPosition: a,
|
|
301
303
|
individualMax: w,
|
|
@@ -305,21 +307,21 @@ const He = U(), Be = {
|
|
|
305
307
|
const H = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * x : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * o + this.slot.bar * x * this.absoluteDataset.filter((B) => B.type === "bar").filter((B) => !this.segregatedSeries.includes(B.id)).length;
|
|
306
308
|
return {
|
|
307
309
|
yOffset: _,
|
|
308
|
-
individualHeight:
|
|
310
|
+
individualHeight: S,
|
|
309
311
|
x: H,
|
|
310
|
-
y: this.drawingArea.bottom - _ - (
|
|
312
|
+
y: this.drawingArea.bottom - _ - (S * D[x] || 0),
|
|
311
313
|
value: l.absoluteValues[x],
|
|
312
314
|
zeroPosition: a,
|
|
313
315
|
individualMax: w,
|
|
314
316
|
comment: l.comments && l.comments.slice(this.slicer.start, this.slicer.end)[x] || ""
|
|
315
317
|
};
|
|
316
318
|
}), y = f.ticks.map((u) => ({
|
|
317
|
-
y: u >= 0 ? a -
|
|
319
|
+
y: u >= 0 ? a - S * (u / w) : a + S * Math.abs(u) / w,
|
|
318
320
|
value: u
|
|
319
321
|
})), O = F.ticks.map((u) => {
|
|
320
322
|
const x = (u - F.min) / (F.max - F.min);
|
|
321
323
|
return {
|
|
322
|
-
y: u >= 0 ? n -
|
|
324
|
+
y: u >= 0 ? n - S * x : n + S * x,
|
|
323
325
|
value: u
|
|
324
326
|
};
|
|
325
327
|
});
|
|
@@ -327,7 +329,7 @@ const He = U(), Be = {
|
|
|
327
329
|
...l,
|
|
328
330
|
yOffset: _,
|
|
329
331
|
autoScaleYLabels: O,
|
|
330
|
-
individualHeight:
|
|
332
|
+
individualHeight: S,
|
|
331
333
|
scaleYLabels: l.autoScaling ? O : y,
|
|
332
334
|
individualScale: l.autoScaling ? F : f,
|
|
333
335
|
individualMax: l.autoScaling ? G : w,
|
|
@@ -345,14 +347,14 @@ const He = U(), Be = {
|
|
|
345
347
|
lineSet() {
|
|
346
348
|
return this.activeSeriesWithStackRatios.filter((l) => l.type === "line").map((l) => {
|
|
347
349
|
this.checkAutoScaleError(l);
|
|
348
|
-
const o = Math.min(...l.absoluteValues.filter((u) => ![void 0, null].includes(u))),
|
|
349
|
-
ratios: l.absoluteValues.filter((u) => ![null, void 0].includes(u)).map((u) => (u - o) / (
|
|
350
|
+
const o = Math.min(...l.absoluteValues.filter((u) => ![void 0, null].includes(u))), c = Math.max(...l.absoluteValues.filter((u) => ![void 0, null].includes(u))) || 1, t = {
|
|
351
|
+
ratios: l.absoluteValues.filter((u) => ![null, void 0].includes(u)).map((u) => (u - o) / (c - o)),
|
|
350
352
|
valueMin: o,
|
|
351
|
-
valueMax:
|
|
353
|
+
valueMax: c
|
|
352
354
|
}, e = {
|
|
353
355
|
max: l.scaleMax || Math.max(...l.absoluteValues) || 1,
|
|
354
356
|
min: l.scaleMin || (Math.min(...l.absoluteValues) > 0 ? 0 : Math.min(...l.absoluteValues))
|
|
355
|
-
}, N = l.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = this.calculateNiceScale(e.min, e.max, N), f = this.calculateNiceScale(t.valueMin, t.valueMax, N), F = A.min >= 0 ? 0 : Math.abs(A.min), p = 0, k = A.max + Math.abs(F), w = f.max + Math.abs(p), G = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - l.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * l.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height,
|
|
357
|
+
}, N = l.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = this.calculateNiceScale(e.min, e.max, N), f = this.calculateNiceScale(t.valueMin, t.valueMax, N), F = A.min >= 0 ? 0 : Math.abs(A.min), p = 0, k = A.max + Math.abs(F), w = f.max + Math.abs(p), G = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - l.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * l.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, S = this.drawingArea.bottom - G - _ * F / k, a = this.drawingArea.bottom - G - _ * p / w, n = l.series.map((u, x) => {
|
|
356
358
|
const H = this.mutableConfig.useIndividualScale ? (l.absoluteValues[x] + Math.abs(F)) / k : this.ratioToMax(u);
|
|
357
359
|
return {
|
|
358
360
|
x: this.drawingArea.left + this.slot.line / 2 + this.slot.line * x,
|
|
@@ -369,7 +371,7 @@ const He = U(), Be = {
|
|
|
369
371
|
comment: l.comments && l.comments.slice(this.slicer.start, this.slicer.end)[x] || ""
|
|
370
372
|
};
|
|
371
373
|
}), D = this.createSmoothPath(n), R = this.createSmoothPath(g), y = A.ticks.map((u) => ({
|
|
372
|
-
y: u >= 0 ?
|
|
374
|
+
y: u >= 0 ? S - _ * (u / k) : S + _ * Math.abs(u) / k,
|
|
373
375
|
value: u
|
|
374
376
|
})), O = f.ticks.map((u) => {
|
|
375
377
|
const x = (u - f.min) / (f.max - f.min);
|
|
@@ -386,24 +388,24 @@ const He = U(), Be = {
|
|
|
386
388
|
scaleYLabels: l.autoScaling ? O : y,
|
|
387
389
|
individualScale: l.autoScaling ? f : A,
|
|
388
390
|
individualMax: l.autoScaling ? w : k,
|
|
389
|
-
zeroPosition: l.autoScaling ? a :
|
|
391
|
+
zeroPosition: l.autoScaling ? a : S,
|
|
390
392
|
curve: l.autoScaling ? R : D,
|
|
391
393
|
plots: l.autoScaling ? g : n,
|
|
392
|
-
area: l.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(l.autoScaling ? g : n, l.autoScaling ? a :
|
|
394
|
+
area: l.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(l.autoScaling ? g : n, l.autoScaling ? a : S) : this.createArea(n) : ""
|
|
393
395
|
};
|
|
394
396
|
});
|
|
395
397
|
},
|
|
396
398
|
plotSet() {
|
|
397
399
|
return this.activeSeriesWithStackRatios.filter((l) => l.type === "plot").map((l) => {
|
|
398
400
|
this.checkAutoScaleError(l);
|
|
399
|
-
const o = Math.min(...l.absoluteValues.filter((y) => ![null, void 0].includes(y))),
|
|
400
|
-
ratios: l.absoluteValues.filter((y) => ![null, void 0].includes(y)).map((y) => (y - o) / (
|
|
401
|
+
const o = Math.min(...l.absoluteValues.filter((y) => ![null, void 0].includes(y))), c = Math.max(...l.absoluteValues.filter((y) => ![null, void 0].includes(y))) || 1, t = {
|
|
402
|
+
ratios: l.absoluteValues.filter((y) => ![null, void 0].includes(y)).map((y) => (y - o) / (c - o)),
|
|
401
403
|
valueMin: o,
|
|
402
|
-
valueMax:
|
|
404
|
+
valueMax: c
|
|
403
405
|
}, e = {
|
|
404
406
|
max: l.scaleMax || Math.max(...l.absoluteValues) || 1,
|
|
405
407
|
min: l.scaleMin || Math.min(...l.absoluteValues) > 0 ? 0 : Math.min(...l.absoluteValues)
|
|
406
|
-
}, N = l.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = this.calculateNiceScale(e.min, e.max, N), f = this.calculateNiceScale(t.valueMin, t.valueMax, N), F = A.min >= 0 ? 0 : Math.abs(A.min), p = 0, k = A.max + F, w = f.max + Math.abs(p), G = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - l.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * l.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height,
|
|
408
|
+
}, N = l.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = this.calculateNiceScale(e.min, e.max, N), f = this.calculateNiceScale(t.valueMin, t.valueMax, N), F = A.min >= 0 ? 0 : Math.abs(A.min), p = 0, k = A.max + F, w = f.max + Math.abs(p), G = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - l.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * l.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, S = this.drawingArea.bottom - G - _ * F / k, a = this.drawingArea.bottom - G - _ * p / w, n = l.series.map((y, O) => {
|
|
407
409
|
const u = this.mutableConfig.useIndividualScale ? (l.absoluteValues[O] + Math.abs(F)) / k : this.ratioToMax(y);
|
|
408
410
|
return {
|
|
409
411
|
x: this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * O,
|
|
@@ -417,7 +419,7 @@ const He = U(), Be = {
|
|
|
417
419
|
value: l.absoluteValues[O],
|
|
418
420
|
comment: l.comments && l.comments.slice(this.slicer.start, this.slicer.end)[O] || ""
|
|
419
421
|
})), D = A.ticks.map((y) => ({
|
|
420
|
-
y: y >= 0 ?
|
|
422
|
+
y: y >= 0 ? S - _ * (y / k) : S + _ * Math.abs(y) / k,
|
|
421
423
|
value: y
|
|
422
424
|
})), R = f.ticks.map((y) => {
|
|
423
425
|
const O = (y - f.min) / (f.max - f.min);
|
|
@@ -434,7 +436,7 @@ const He = U(), Be = {
|
|
|
434
436
|
scaleYLabels: l.autoScaling ? R : D,
|
|
435
437
|
individualScale: l.autoScaling ? f : A,
|
|
436
438
|
individualMax: l.autoScaling ? w : k,
|
|
437
|
-
zeroPosition: l.autoScaling ? a :
|
|
439
|
+
zeroPosition: l.autoScaling ? a : S,
|
|
438
440
|
plots: l.autoScaling ? g : n
|
|
439
441
|
};
|
|
440
442
|
});
|
|
@@ -485,13 +487,13 @@ const He = U(), Be = {
|
|
|
485
487
|
},
|
|
486
488
|
table() {
|
|
487
489
|
if (this.safeDataset.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
|
|
488
|
-
const l = this.relativeDataset.map((
|
|
489
|
-
label:
|
|
490
|
-
color:
|
|
491
|
-
type:
|
|
490
|
+
const l = this.relativeDataset.map((c) => ({
|
|
491
|
+
label: c.name,
|
|
492
|
+
color: c.color,
|
|
493
|
+
type: c.type
|
|
492
494
|
})), o = [];
|
|
493
|
-
return this.timeLabels.forEach((
|
|
494
|
-
const t = [
|
|
495
|
+
return this.timeLabels.forEach((c, b) => {
|
|
496
|
+
const t = [c];
|
|
495
497
|
this.relativeDataset.forEach((e) => {
|
|
496
498
|
t.push(this.canShowValue(e.absoluteValues[b]) ? Number(e.absoluteValues[b].toFixed(this.FINAL_CONFIG.table.rounding)) : "");
|
|
497
499
|
}), o.push(t);
|
|
@@ -504,7 +506,7 @@ const He = U(), Be = {
|
|
|
504
506
|
const e = this.relativeDataset.map((N) => N.absoluteValues[t] ?? 0).reduce((N, A) => N + A, 0);
|
|
505
507
|
o.push([this.timeLabels[t] ?? "-"].concat(this.relativeDataset.map((N) => (N.absoluteValues[t] ?? 0).toFixed(this.FINAL_CONFIG.table.rounding))).concat((e ?? 0).toFixed(this.FINAL_CONFIG.table.rounding)));
|
|
506
508
|
}
|
|
507
|
-
const
|
|
509
|
+
const c = {
|
|
508
510
|
th: {
|
|
509
511
|
backgroundColor: this.FINAL_CONFIG.table.th.backgroundColor,
|
|
510
512
|
color: this.FINAL_CONFIG.table.th.color,
|
|
@@ -517,7 +519,7 @@ const He = U(), Be = {
|
|
|
517
519
|
},
|
|
518
520
|
breakpoint: this.FINAL_CONFIG.table.responsiveBreakpoint
|
|
519
521
|
}, b = [this.FINAL_CONFIG.table.columnNames.period].concat(this.relativeDataset.map((t) => t.name)).concat(this.FINAL_CONFIG.table.columnNames.total);
|
|
520
|
-
return { head: l, body: o, config:
|
|
522
|
+
return { head: l, body: o, config: c, colNames: b };
|
|
521
523
|
},
|
|
522
524
|
dataTooltipSlot() {
|
|
523
525
|
return {
|
|
@@ -536,13 +538,13 @@ const He = U(), Be = {
|
|
|
536
538
|
name: l.name,
|
|
537
539
|
color: l.color,
|
|
538
540
|
type: l.type,
|
|
539
|
-
value: l.absoluteValues.find((o,
|
|
541
|
+
value: l.absoluteValues.find((o, c) => c === this.selectedSerieIndex),
|
|
540
542
|
comments: l.comments || []
|
|
541
543
|
}));
|
|
542
544
|
},
|
|
543
545
|
tooltipContent() {
|
|
544
546
|
let l = "", o = this.selectedSeries.map((t) => t.value).filter((t) => this.isSafeValue(t) && t !== null).reduce((t, e) => Math.abs(t) + Math.abs(e), 0);
|
|
545
|
-
const
|
|
547
|
+
const c = this.timeLabels[this.selectedSerieIndex], b = this.FINAL_CONFIG.chart.tooltip.customFormat;
|
|
546
548
|
return this.isFunction(b) && this.functionReturnsString(() => b({
|
|
547
549
|
seriesIndex: this.selectedSerieIndex,
|
|
548
550
|
datapoint: this.selectedSeries,
|
|
@@ -559,7 +561,7 @@ const He = U(), Be = {
|
|
|
559
561
|
lines: this.lineSet,
|
|
560
562
|
plots: this.plotSet,
|
|
561
563
|
config: this.FINAL_CONFIG
|
|
562
|
-
}) : (
|
|
564
|
+
}) : (c && (l += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${this.FINAL_CONFIG.chart.tooltip.borderColor}; width:100%">${c}</div>`), this.selectedSeries.forEach((t) => {
|
|
563
565
|
if (this.isSafeValue(t.value)) {
|
|
564
566
|
let e = "", N = "";
|
|
565
567
|
switch (this.icons[t.type]) {
|
|
@@ -599,7 +601,21 @@ const He = U(), Be = {
|
|
|
599
601
|
break;
|
|
600
602
|
}
|
|
601
603
|
}
|
|
602
|
-
l += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;"><div style="width:20px">${e}</div> ${t.name}: <b>${this.FINAL_CONFIG.chart.tooltip.showValue ? this.
|
|
604
|
+
l += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;"><div style="width:20px">${e}</div> ${t.name}: <b>${this.FINAL_CONFIG.chart.tooltip.showValue ? this.applyDataLabel(
|
|
605
|
+
t.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : t.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
|
|
606
|
+
t.value,
|
|
607
|
+
this.dataLabel({
|
|
608
|
+
p: this.FINAL_CONFIG.chart.labels.prefix,
|
|
609
|
+
v: t.value,
|
|
610
|
+
s: this.FINAL_CONFIG.chart.labels.suffix,
|
|
611
|
+
r: this.FINAL_CONFIG.chart.tooltip.roundingValue
|
|
612
|
+
}),
|
|
613
|
+
{ datapoint: t }
|
|
614
|
+
) : ""}</b> ${this.FINAL_CONFIG.chart.tooltip.showPercentage ? `(${q({
|
|
615
|
+
v: this.checkNaN(Math.abs(t.value) / o * 100),
|
|
616
|
+
s: "%",
|
|
617
|
+
r: this.FINAL_CONFIG.chart.tooltip.roundingPercentage
|
|
618
|
+
})})` : ""}</div>`, this.FINAL_CONFIG.chart.comments.showInTooltip && t.comments.length && t.comments.slice(this.slicer.start, this.slicer.end)[this.selectedSerieIndex] && (l += `<div class="vue-data-ui-tooltip-comment" style="background:${t.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${t.color}">${t.comments.slice(this.slicer.start, this.slicer.end)[this.selectedSerieIndex]}</div>`);
|
|
603
619
|
}
|
|
604
620
|
}), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${this.FINAL_CONFIG.chart.tooltip.color}">${l}</div>`);
|
|
605
621
|
},
|
|
@@ -631,9 +647,9 @@ const He = U(), Be = {
|
|
|
631
647
|
index: o
|
|
632
648
|
});
|
|
633
649
|
}), this.FINAL_CONFIG.showWarnings && this.dataset.forEach((l) => {
|
|
634
|
-
l.series.forEach((o,
|
|
650
|
+
l.series.forEach((o, c) => {
|
|
635
651
|
this.isSafeValue(o) || console.warn(`SmartXY has detected an unsafe value in your dataset:
|
|
636
|
-
-----> The serie '${l.name}' contains the value '${o}' at index ${
|
|
652
|
+
-----> The serie '${l.name}' contains the value '${o}' at index ${c}.
|
|
637
653
|
'${o}' was converted to null to allow the chart to display.`);
|
|
638
654
|
});
|
|
639
655
|
}), document.addEventListener("mousemove", (l) => {
|
|
@@ -650,13 +666,13 @@ const He = U(), Be = {
|
|
|
650
666
|
isStacked: this.FINAL_CONFIG.chart.grid.labels.yAxis.stacked,
|
|
651
667
|
useIndividualScale: this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale
|
|
652
668
|
}, this.FINAL_CONFIG.responsive) {
|
|
653
|
-
const o = this.$refs.chart.parentNode, { height:
|
|
669
|
+
const o = this.$refs.chart.parentNode, { height: c, width: b } = o.getBoundingClientRect();
|
|
654
670
|
let t = null, e = 0;
|
|
655
671
|
this.FINAL_CONFIG.chart.title.show && (t = this.$refs.chartTitle, e = t.getBoundingClientRect().height);
|
|
656
672
|
let N = null, A = 0;
|
|
657
673
|
this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (N = this.$refs.chartSlicer.$el, A = N.getBoundingClientRect().height);
|
|
658
674
|
let f = null, F = 0;
|
|
659
|
-
this.FINAL_CONFIG.chart.legend.show && (f = this.$refs.chartLegend, F = f.getBoundingClientRect().height), this.height =
|
|
675
|
+
this.FINAL_CONFIG.chart.legend.show && (f = this.$refs.chartLegend, F = f.getBoundingClientRect().height), this.height = c - e - F - A, this.width = b, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((k) => {
|
|
660
676
|
for (const w of k)
|
|
661
677
|
t && (e = t.getBoundingClientRect().height), N && (A = N.getBoundingClientRect().height), f && (F = f.getBoundingClientRect().height), this.height = w.contentBoxSize[0].blockSize - e - F - A - 24, this.width = w.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
|
|
662
678
|
}).observe(o);
|
|
@@ -665,31 +681,32 @@ const He = U(), Be = {
|
|
|
665
681
|
},
|
|
666
682
|
methods: {
|
|
667
683
|
abbreviate: le,
|
|
668
|
-
assignStackRatios:
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
684
|
+
assignStackRatios: re,
|
|
685
|
+
applyDataLabel: ie,
|
|
686
|
+
calculateNiceScale: se,
|
|
687
|
+
checkNaN: oe,
|
|
688
|
+
createSmoothPath: ne,
|
|
689
|
+
isSafeValue: he,
|
|
690
|
+
treeShake: ce,
|
|
691
|
+
shiftHue: ue,
|
|
692
|
+
pdf: J,
|
|
693
|
+
img: Q,
|
|
694
|
+
convertColorToHex: de,
|
|
695
|
+
convertConfigColors: ge,
|
|
696
|
+
convertCustomPalette: fe,
|
|
697
|
+
downloadCsv: be,
|
|
698
|
+
createCsvContent: Ie,
|
|
699
|
+
adaptColorToBackground: me,
|
|
700
|
+
calcLinearProgression: Ne,
|
|
701
|
+
useMouse: Oe,
|
|
702
|
+
closestDecimal: _e,
|
|
703
|
+
dataLabel: q,
|
|
704
|
+
isFunction: Fe,
|
|
705
|
+
functionReturnsString: xe,
|
|
706
|
+
error: ye,
|
|
707
|
+
objectIsEmpty: Ae,
|
|
708
|
+
createTSpans: Le,
|
|
709
|
+
useNestedProp: Z,
|
|
693
710
|
translateSize: Se,
|
|
694
711
|
convertSizes() {
|
|
695
712
|
this.fontSizes.dataLabels = this.translateSize({
|
|
@@ -747,26 +764,26 @@ const He = U(), Be = {
|
|
|
747
764
|
},
|
|
748
765
|
createArea(l) {
|
|
749
766
|
if (!l[0]) return [-10, -10, "", -10, -10];
|
|
750
|
-
const o = { x: l[0].x, y: this.zero },
|
|
767
|
+
const o = { x: l[0].x, y: this.zero }, c = { x: l.at(-1).x, y: this.zero }, b = [];
|
|
751
768
|
return l.forEach((t) => {
|
|
752
769
|
b.push(`${t.x},${t.y} `);
|
|
753
|
-
}), [o.x, o.y, ...b,
|
|
770
|
+
}), [o.x, o.y, ...b, c.x, c.y].toString();
|
|
754
771
|
},
|
|
755
772
|
createIndividualArea(l, o) {
|
|
756
773
|
if (!l[0]) return [-10, -10, "", -10, -10];
|
|
757
|
-
const
|
|
774
|
+
const c = { x: l[0] ? l[0].x : Math.min(...l.filter((e) => !!e).map((e) => e.x)), y: o }, b = { x: l.at(-1) ? l.at(-1).x : Math.min(...l.filter((e) => !!e).map((e) => e.x)), y: o }, t = [];
|
|
758
775
|
return l.filter((e) => !!e).forEach((e) => {
|
|
759
776
|
t.push(`${e.x},${e.y} `);
|
|
760
|
-
}), [
|
|
777
|
+
}), [c.x, c.y, ...t, b.x, b.y].toString();
|
|
761
778
|
},
|
|
762
779
|
createStar: X,
|
|
763
780
|
createPolygonPath: M,
|
|
764
781
|
/////////////////////////////// CANVAS /////////////////////////////////
|
|
765
782
|
fillArray(l, o) {
|
|
766
|
-
let
|
|
783
|
+
let c = Array(l).fill(0);
|
|
767
784
|
for (let b = 0; b < o.length && b < l; b += 1)
|
|
768
|
-
|
|
769
|
-
return
|
|
785
|
+
c[b] = o[b];
|
|
786
|
+
return c;
|
|
770
787
|
},
|
|
771
788
|
refreshSlicer() {
|
|
772
789
|
this.slicer = {
|
|
@@ -796,12 +813,12 @@ const He = U(), Be = {
|
|
|
796
813
|
return ![null, void 0, NaN].includes(l);
|
|
797
814
|
},
|
|
798
815
|
findClosestValue(l, o) {
|
|
799
|
-
let
|
|
816
|
+
let c = o[0], b = Math.abs(l - o[0]);
|
|
800
817
|
for (let t = 1; t < o.length; t += 1) {
|
|
801
818
|
const e = Math.abs(l - o[t]);
|
|
802
|
-
e < b && o[t] < l && (
|
|
819
|
+
e < b && o[t] < l && (c = o[t], b = e);
|
|
803
820
|
}
|
|
804
|
-
return
|
|
821
|
+
return c;
|
|
805
822
|
},
|
|
806
823
|
ratioToMax(l) {
|
|
807
824
|
return l / this.absoluteMax;
|
|
@@ -863,7 +880,7 @@ const He = U(), Be = {
|
|
|
863
880
|
}, 100);
|
|
864
881
|
},
|
|
865
882
|
generateCsv() {
|
|
866
|
-
const l = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], o = ["", ...this.table.head.map((e) => e.label)],
|
|
883
|
+
const l = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], o = ["", ...this.table.head.map((e) => e.label)], c = this.table.body, b = l.concat([o]).concat(c), t = this.createCsvContent(b);
|
|
867
884
|
this.downloadCsv({ csvContent: t, title: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy" });
|
|
868
885
|
},
|
|
869
886
|
showSpinnerImage() {
|
|
@@ -881,39 +898,39 @@ const He = U(), Be = {
|
|
|
881
898
|
}, 100);
|
|
882
899
|
}
|
|
883
900
|
}
|
|
884
|
-
},
|
|
901
|
+
}, We = ["id"], Ee = ["viewBox"], Xe = { key: 0 }, qe = { class: "vue-ui-xy-grid" }, Ze = ["stroke", "x1", "x2", "y1", "y2"], Ue = ["stroke", "x1", "x2", "y1", "y2"], Je = { key: 1 }, Ke = ["x1", "x2", "y1", "y2", "stroke"], Qe = ["x1", "x2", "y1", "y2", "stroke"], je = ["x1", "x2", "y1", "y2", "stroke"], $e = { key: 3 }, et = ["x1", "x2", "y1", "y2", "stroke"], tt = ["id"], at = ["stop-color"], lt = ["stop-color"], rt = ["stop-color"], it = ["id"], st = ["stop-color"], ot = ["stop-color"], nt = ["stop-color"], ht = ["id"], ct = ["stop-color"], ut = ["stop-color"], dt = ["id"], gt = ["stop-color"], ft = ["stop-color"], bt = ["id"], It = ["stop-color"], mt = ["stop-color"], Nt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], _t = ["width", "x", "y"], Ft = { key: 0 }, xt = ["id"], yt = ["fill"], At = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Lt = ["x", "y", "font-size", "fill"], St = ["stroke", "x1", "x2", "y1", "y2"], Ct = ["width", "x", "y"], kt = { style: { width: "100%" } }, wt = { key: 0 }, Ot = ["id"], vt = ["fill"], Gt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], zt = ["x", "y", "font-size", "fill"], pt = ["d", "stroke", "stroke-width", "stroke-dasharray"], Tt = { key: 1 }, Mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Pt = { key: 0 }, Vt = ["d", "fill"], Rt = ["d", "fill"], Dt = ["d", "stroke", "stroke-width", "stroke-dasharray"], Ht = { key: 2 }, Bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Yt = ["width", "x", "y"], Wt = { style: { width: "100%" } }, Et = { key: 3 }, Xt = ["id"], qt = ["fill"], Zt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ut = ["x", "y", "font-size", "fill"], Jt = { key: 2 }, Kt = ["x", "y", "font-size", "fill"], Qt = ["x", "y", "font-size", "fill", "font-weight"], jt = { key: 3 }, $t = ["x", "y", "font-size", "fill"], ea = ["x", "y"], ta = ["x", "y"], aa = { key: 4 }, la = ["x", "y", "font-size", "fill"], ra = ["x", "y"], ia = ["x", "y"], sa = { key: 5 }, oa = ["x", "y", "height", "width", "fill"], na = ["x", "y", "width"], ha = ["y", "width", "height", "fill"], ca = ["x", "y", "width", "height", "fill"], ua = ["x", "y", "font-size", "fill", "innerHTML"], da = ["x", "y", "font-size", "fill", "innerHTML"], ga = ["x", "y", "font-size", "fill", "innerHTML"], fa = ["x", "y", "font-size", "fill", "innerHTML"], ba = { key: 6 }, Ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ma = ["fill", "font-size", "transform"], Na = ["x1", "x2", "y1", "y2", "stroke"], _a = ["x", "y", "font-size", "fill"], Fa = ["x1", "x2", "y1", "y2", "stroke"], xa = ["x", "y", "font-size", "fill"], ya = ["x", "y", "width", "height", "fill", "onMouseenter"], Aa = ["font-size", "fill", "transform"], La = ["x", "y", "font-size", "fill"], Sa = { key: 8 }, Ca = ["text-anchor", "font-size", "fill", "transform"], ka = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], wa = { key: 9 }, Oa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], va = { key: 10 }, Ga = ["x", "y"], za = ["cx", "cy", "r", "fill"], pa = {
|
|
885
902
|
key: 3,
|
|
886
903
|
class: "vue-data-ui-watermark"
|
|
887
|
-
},
|
|
904
|
+
}, Ta = ["onClick"], Ma = {
|
|
888
905
|
key: 0,
|
|
889
906
|
viewBox: "0 0 20 12",
|
|
890
907
|
height: "14",
|
|
891
908
|
width: "20"
|
|
892
|
-
},
|
|
909
|
+
}, Pa = ["fill"], Va = {
|
|
893
910
|
key: 1,
|
|
894
911
|
viewBox: "0 0 12 12",
|
|
895
912
|
height: "14",
|
|
896
913
|
width: "14"
|
|
897
|
-
},
|
|
914
|
+
}, Ra = ["fill"], Da = {
|
|
898
915
|
key: 7,
|
|
899
916
|
ref: "chartLegend"
|
|
900
|
-
},
|
|
917
|
+
}, Ha = {
|
|
901
918
|
style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
|
|
902
919
|
"data-html2canvas-ignore": ""
|
|
903
|
-
},
|
|
904
|
-
function
|
|
905
|
-
const N = P("Title"), A = P("UserOptions"), f = P("Shape"), F = P("Skeleton"), p = P("Slicer"), k = P("Tooltip"), w = P("BaseIcon"), G = P("TableSparkline"), _ = P("DataTable"),
|
|
920
|
+
}, Ba = ["innerHTML"];
|
|
921
|
+
function Ya(l, o, c, b, t, e) {
|
|
922
|
+
const N = P("Title"), A = P("UserOptions"), f = P("Shape"), F = P("Skeleton"), p = P("Slicer"), k = P("Tooltip"), w = P("BaseIcon"), G = P("TableSparkline"), _ = P("DataTable"), S = P("Accordion");
|
|
906
923
|
return r(), i("div", {
|
|
907
924
|
id: `vue-ui-xy_${t.uniqueId}`,
|
|
908
925
|
class: T(`vue-ui-xy ${t.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
909
926
|
ref: "chart",
|
|
910
|
-
style:
|
|
927
|
+
style: L(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color};width:100%;${e.FINAL_CONFIG.chart.title.text ? "" : "padding-top:36px"};font-family:${e.FINAL_CONFIG.chart.fontFamily};${e.FINAL_CONFIG.responsive ? "height: 100%" : ""}`)
|
|
911
928
|
}, [
|
|
912
929
|
e.FINAL_CONFIG.chart.title.show ? (r(), i("div", {
|
|
913
930
|
key: 0,
|
|
914
931
|
ref: "chartTitle",
|
|
915
932
|
class: "vue-ui-xy-title",
|
|
916
|
-
style:
|
|
933
|
+
style: L(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
|
|
917
934
|
}, [
|
|
918
935
|
E(N, {
|
|
919
936
|
config: {
|
|
@@ -927,7 +944,7 @@ function Bl(l, o, h, b, t, e) {
|
|
|
927
944
|
}
|
|
928
945
|
}
|
|
929
946
|
}, null, 8, ["config"])
|
|
930
|
-
], 4)) :
|
|
947
|
+
], 4)) : h("", !0),
|
|
931
948
|
e.FINAL_CONFIG.chart.userOptions.show && e.isDataset ? (r(), V(A, {
|
|
932
949
|
ref: "defails",
|
|
933
950
|
key: `user_options_${t.step}`,
|
|
@@ -942,7 +959,7 @@ function Bl(l, o, h, b, t, e) {
|
|
|
942
959
|
hasImg: e.FINAL_CONFIG.chart.userOptions.buttons.img,
|
|
943
960
|
hasLabel: e.FINAL_CONFIG.chart.userOptions.buttons.labels,
|
|
944
961
|
hasTable: e.FINAL_CONFIG.chart.userOptions.buttons.table,
|
|
945
|
-
hasStack:
|
|
962
|
+
hasStack: c.dataset.length > 1 && e.FINAL_CONFIG.chart.userOptions.buttons.stack,
|
|
946
963
|
hasFullscreen: e.FINAL_CONFIG.chart.userOptions.buttons.fullscreen,
|
|
947
964
|
isStacked: t.mutableConfig.isStacked,
|
|
948
965
|
isFullscreen: t.isFullscreen,
|
|
@@ -957,7 +974,7 @@ function Bl(l, o, h, b, t, e) {
|
|
|
957
974
|
onToggleLabels: e.toggleLabels,
|
|
958
975
|
onToggleStack: e.toggleStack,
|
|
959
976
|
onToggleTooltip: e.toggleTooltip
|
|
960
|
-
},
|
|
977
|
+
}, Pe({ _: 2 }, [
|
|
961
978
|
l.$slots.optionTooltip ? {
|
|
962
979
|
name: "optionTooltip",
|
|
963
980
|
fn: z(() => [
|
|
@@ -1014,17 +1031,17 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1014
1031
|
]),
|
|
1015
1032
|
key: "7"
|
|
1016
1033
|
} : void 0
|
|
1017
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "isTooltip", "titles", "onToggleFullscreen", "onGeneratePdf", "onGenerateCsv", "onGenerateImage", "onToggleTable", "onToggleLabels", "onToggleStack", "onToggleTooltip"])) :
|
|
1034
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "isTooltip", "titles", "onToggleFullscreen", "onGeneratePdf", "onGenerateCsv", "onGenerateImage", "onToggleTable", "onToggleLabels", "onToggleStack", "onToggleTooltip"])) : h("", !0),
|
|
1018
1035
|
e.isDataset ? (r(), i("svg", {
|
|
1019
1036
|
key: 2,
|
|
1020
1037
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1021
1038
|
class: T([{ "vue-data-ui-fullscreen--on": t.isFullscreen, "vue-data-ui-fulscreen--off": !t.isFullscreen }, "vue-ui-xy-svg"]),
|
|
1022
1039
|
width: "100%",
|
|
1023
1040
|
viewBox: t.viewBox,
|
|
1024
|
-
style:
|
|
1041
|
+
style: L(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
|
|
1025
1042
|
}, [
|
|
1026
|
-
e.maxSeries > 0 ? (r(), i("g",
|
|
1027
|
-
d("g",
|
|
1043
|
+
e.maxSeries > 0 ? (r(), i("g", Xe, [
|
|
1044
|
+
d("g", qe, [
|
|
1028
1045
|
e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (r(), i("line", {
|
|
1029
1046
|
key: 0,
|
|
1030
1047
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
@@ -1034,7 +1051,7 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1034
1051
|
y1: e.drawingArea.bottom,
|
|
1035
1052
|
y2: e.drawingArea.bottom,
|
|
1036
1053
|
"stroke-linecap": "round"
|
|
1037
|
-
}, null, 8,
|
|
1054
|
+
}, null, 8, Ze)) : h("", !0),
|
|
1038
1055
|
t.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(!0), i(I, { key: 2 }, m(e.allScales, (a) => (r(), i("g", null, [
|
|
1039
1056
|
a.id === t.selectedScale && a.yLabels.length ? (r(!0), i(I, { key: 0 }, m(a.yLabels, (n) => (r(), i("line", {
|
|
1040
1057
|
x1: e.drawingArea.left,
|
|
@@ -1044,7 +1061,7 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1044
1061
|
stroke: a.color,
|
|
1045
1062
|
"stroke-width": 0.5,
|
|
1046
1063
|
"stroke-linecap": "round"
|
|
1047
|
-
}, null, 8,
|
|
1064
|
+
}, null, 8, Qe))), 256)) : a.yLabels.length ? (r(!0), i(I, { key: 1 }, m(a.yLabels, (n) => (r(), i("line", {
|
|
1048
1065
|
x1: e.drawingArea.left,
|
|
1049
1066
|
x2: e.drawingArea.right,
|
|
1050
1067
|
y1: n.y,
|
|
@@ -1052,8 +1069,8 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1052
1069
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1053
1070
|
"stroke-width": 0.5,
|
|
1054
1071
|
"stroke-linecap": "round"
|
|
1055
|
-
}, null, 8,
|
|
1056
|
-
]))), 256)) :
|
|
1072
|
+
}, null, 8, je))), 256)) : h("", !0)
|
|
1073
|
+
]))), 256)) : h("", !0) : (r(), i(I, { key: 1 }, [
|
|
1057
1074
|
e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (r(), i("line", {
|
|
1058
1075
|
key: 0,
|
|
1059
1076
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
@@ -1063,8 +1080,8 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1063
1080
|
y1: e.drawingArea.top,
|
|
1064
1081
|
y2: e.drawingArea.bottom,
|
|
1065
1082
|
"stroke-linecap": "round"
|
|
1066
|
-
}, null, 8, Ue)) :
|
|
1067
|
-
e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(), i("g",
|
|
1083
|
+
}, null, 8, Ue)) : h("", !0),
|
|
1084
|
+
e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(), i("g", Je, [
|
|
1068
1085
|
(r(!0), i(I, null, m(e.yLabels, (a) => (r(), i("line", {
|
|
1069
1086
|
x1: e.drawingArea.left,
|
|
1070
1087
|
x2: e.drawingArea.right,
|
|
@@ -1073,10 +1090,10 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1073
1090
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1074
1091
|
"stroke-width": 0.5,
|
|
1075
1092
|
"stroke-linecap": "round"
|
|
1076
|
-
}, null, 8,
|
|
1077
|
-
])) :
|
|
1093
|
+
}, null, 8, Ke))), 256))
|
|
1094
|
+
])) : h("", !0)
|
|
1078
1095
|
], 64)),
|
|
1079
|
-
e.FINAL_CONFIG.chart.grid.showVerticalLines ? (r(), i("g",
|
|
1096
|
+
e.FINAL_CONFIG.chart.grid.showVerticalLines ? (r(), i("g", $e, [
|
|
1080
1097
|
(r(!0), i(I, null, m(e.maxSeries + 1, (a, n) => (r(), i("line", {
|
|
1081
1098
|
key: `grid_vertical_line_${n}`,
|
|
1082
1099
|
x1: e.drawingArea.width / e.maxSeries * n + e.drawingArea.left,
|
|
@@ -1085,8 +1102,8 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1085
1102
|
y2: e.drawingArea.bottom,
|
|
1086
1103
|
"stroke-width": "0.5",
|
|
1087
1104
|
stroke: e.FINAL_CONFIG.chart.grid.stroke
|
|
1088
|
-
}, null, 8,
|
|
1089
|
-
])) :
|
|
1105
|
+
}, null, 8, et))), 128))
|
|
1106
|
+
])) : h("", !0)
|
|
1090
1107
|
]),
|
|
1091
1108
|
(r(!0), i(I, null, m(e.barSet, (a, n) => (r(), i("defs", {
|
|
1092
1109
|
key: `def_rect_${n}`
|
|
@@ -1099,7 +1116,7 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1099
1116
|
d("stop", {
|
|
1100
1117
|
offset: "0%",
|
|
1101
1118
|
"stop-color": a.color
|
|
1102
|
-
}, null, 8,
|
|
1119
|
+
}, null, 8, at),
|
|
1103
1120
|
d("stop", {
|
|
1104
1121
|
offset: "62%",
|
|
1105
1122
|
"stop-color": `${e.shiftHue(a.color, 0.02)}DE`
|
|
@@ -1107,8 +1124,8 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1107
1124
|
d("stop", {
|
|
1108
1125
|
offset: "100%",
|
|
1109
1126
|
"stop-color": `${e.shiftHue(a.color, 0.05)}66`
|
|
1110
|
-
}, null, 8,
|
|
1111
|
-
], 8,
|
|
1127
|
+
}, null, 8, rt)
|
|
1128
|
+
], 8, tt),
|
|
1112
1129
|
d("linearGradient", {
|
|
1113
1130
|
id: `rectGradient_neg_${n}_${t.uniqueId}`,
|
|
1114
1131
|
x2: "0%",
|
|
@@ -1117,16 +1134,16 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1117
1134
|
d("stop", {
|
|
1118
1135
|
offset: "0%",
|
|
1119
1136
|
"stop-color": `${e.shiftHue(a.color, 0.05)}66`
|
|
1120
|
-
}, null, 8,
|
|
1137
|
+
}, null, 8, st),
|
|
1121
1138
|
d("stop", {
|
|
1122
1139
|
offset: "38%",
|
|
1123
1140
|
"stop-color": `${e.shiftHue(a.color, 0.02)}DE`
|
|
1124
|
-
}, null, 8,
|
|
1141
|
+
}, null, 8, ot),
|
|
1125
1142
|
d("stop", {
|
|
1126
1143
|
offset: "100%",
|
|
1127
1144
|
"stop-color": a.color
|
|
1128
|
-
}, null, 8,
|
|
1129
|
-
], 8,
|
|
1145
|
+
}, null, 8, nt)
|
|
1146
|
+
], 8, it)
|
|
1130
1147
|
]))), 128)),
|
|
1131
1148
|
(r(!0), i(I, null, m(e.plotSet, (a, n) => (r(), i("defs", {
|
|
1132
1149
|
key: `def_plot_${n}`
|
|
@@ -1146,8 +1163,8 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1146
1163
|
d("stop", {
|
|
1147
1164
|
offset: "100%",
|
|
1148
1165
|
"stop-color": a.color
|
|
1149
|
-
}, null, 8,
|
|
1150
|
-
], 8,
|
|
1166
|
+
}, null, 8, ut)
|
|
1167
|
+
], 8, ht)
|
|
1151
1168
|
]))), 128)),
|
|
1152
1169
|
(r(!0), i(I, null, m(e.lineSet, (a, n) => (r(), i("defs", {
|
|
1153
1170
|
key: `def_line_${n}`
|
|
@@ -1163,12 +1180,12 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1163
1180
|
d("stop", {
|
|
1164
1181
|
offset: "0%",
|
|
1165
1182
|
"stop-color": `${e.shiftHue(a.color, 0.05)}`
|
|
1166
|
-
}, null, 8,
|
|
1183
|
+
}, null, 8, gt),
|
|
1167
1184
|
d("stop", {
|
|
1168
1185
|
offset: "100%",
|
|
1169
1186
|
"stop-color": a.color
|
|
1170
|
-
}, null, 8,
|
|
1171
|
-
], 8,
|
|
1187
|
+
}, null, 8, ft)
|
|
1188
|
+
], 8, dt),
|
|
1172
1189
|
d("linearGradient", {
|
|
1173
1190
|
id: `areaGradient_${n}_${t.uniqueId}`,
|
|
1174
1191
|
x1: "0%",
|
|
@@ -1179,17 +1196,17 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1179
1196
|
d("stop", {
|
|
1180
1197
|
offset: "0%",
|
|
1181
1198
|
"stop-color": `${e.shiftHue(a.color, 0.03)}${t.opacity[e.FINAL_CONFIG.line.area.opacity]}`
|
|
1182
|
-
}, null, 8,
|
|
1199
|
+
}, null, 8, It),
|
|
1183
1200
|
d("stop", {
|
|
1184
1201
|
offset: "100%",
|
|
1185
1202
|
"stop-color": `${a.color}${t.opacity[e.FINAL_CONFIG.line.area.opacity]}`
|
|
1186
|
-
}, null, 8,
|
|
1187
|
-
], 8,
|
|
1203
|
+
}, null, 8, mt)
|
|
1204
|
+
], 8, bt)
|
|
1188
1205
|
]))), 128)),
|
|
1189
1206
|
e.barSet.length ? (r(!0), i(I, { key: 0 }, m(e.barSet, (a, n) => (r(), i("g", {
|
|
1190
1207
|
key: `serie_bar_${n}`,
|
|
1191
1208
|
class: T(`serie_bar_${n}`),
|
|
1192
|
-
style:
|
|
1209
|
+
style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1193
1210
|
}, [
|
|
1194
1211
|
(r(!0), i(I, null, m(a.plots, (s, g) => (r(), i("g", {
|
|
1195
1212
|
key: `bar_plot_${n}_${g}`
|
|
@@ -1204,7 +1221,7 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1204
1221
|
fill: e.FINAL_CONFIG.bar.useGradient ? s.value >= 0 ? `url(#rectGradient_pos_${n}_${t.uniqueId})` : `url(#rectGradient_neg_${n}_${t.uniqueId})` : a.color,
|
|
1205
1222
|
stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? a.color : e.FINAL_CONFIG.bar.border.stroke,
|
|
1206
1223
|
"stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
|
|
1207
|
-
}, null, 8,
|
|
1224
|
+
}, null, 8, Nt)) : h("", !0),
|
|
1208
1225
|
s.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), i("foreignObject", {
|
|
1209
1226
|
key: 1,
|
|
1210
1227
|
style: { overflow: "visible" },
|
|
@@ -1216,9 +1233,9 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1216
1233
|
v(l.$slots, "plot-comment", {
|
|
1217
1234
|
plot: { ...s, color: a.color }
|
|
1218
1235
|
}, void 0, !0)
|
|
1219
|
-
], 8,
|
|
1236
|
+
], 8, _t)) : h("", !0)
|
|
1220
1237
|
]))), 128)),
|
|
1221
|
-
Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g",
|
|
1238
|
+
Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g", Ft, [
|
|
1222
1239
|
d("defs", null, [
|
|
1223
1240
|
d("marker", {
|
|
1224
1241
|
id: `bar_arrow_${n}`,
|
|
@@ -1231,8 +1248,8 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1231
1248
|
d("polygon", {
|
|
1232
1249
|
points: `0 0, 7 ${7 / 2}, 0 7`,
|
|
1233
1250
|
fill: a.color
|
|
1234
|
-
}, null, 8,
|
|
1235
|
-
], 8,
|
|
1251
|
+
}, null, 8, yt)
|
|
1252
|
+
], 8, xt)
|
|
1236
1253
|
]),
|
|
1237
1254
|
a.plots.length > 1 ? (r(), i("line", {
|
|
1238
1255
|
key: 0,
|
|
@@ -1244,7 +1261,7 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1244
1261
|
stroke: a.color,
|
|
1245
1262
|
"stroke-dasharray": 2,
|
|
1246
1263
|
"marker-end": `url(#bar_arrow_${n})`
|
|
1247
|
-
}, null, 8,
|
|
1264
|
+
}, null, 8, At)) : h("", !0),
|
|
1248
1265
|
a.plots.length > 1 ? (r(), i("text", {
|
|
1249
1266
|
key: 1,
|
|
1250
1267
|
"text-anchor": "middle",
|
|
@@ -1256,9 +1273,9 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1256
1273
|
v: e.calcLinearProgression(a.plots).trend * 100,
|
|
1257
1274
|
s: "%",
|
|
1258
1275
|
r: 2
|
|
1259
|
-
})), 9,
|
|
1260
|
-
])) :
|
|
1261
|
-
], 6))), 128)) :
|
|
1276
|
+
})), 9, Lt)) : h("", !0)
|
|
1277
|
+
])) : h("", !0)
|
|
1278
|
+
], 6))), 128)) : h("", !0),
|
|
1262
1279
|
!t.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (r(), i("line", {
|
|
1263
1280
|
key: 1,
|
|
1264
1281
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
@@ -1268,11 +1285,11 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1268
1285
|
y1: e.zero,
|
|
1269
1286
|
y2: e.zero,
|
|
1270
1287
|
"stroke-linecap": "round"
|
|
1271
|
-
}, null, 8, St)) :
|
|
1288
|
+
}, null, 8, St)) : h("", !0),
|
|
1272
1289
|
(r(!0), i(I, null, m(e.plotSet, (a, n) => (r(), i("g", {
|
|
1273
1290
|
key: `serie_plot_${n}`,
|
|
1274
1291
|
class: T(`serie_plot_${n}`),
|
|
1275
|
-
style:
|
|
1292
|
+
style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1276
1293
|
}, [
|
|
1277
1294
|
(r(!0), i(I, null, m(a.plots, (s, g) => (r(), i("g", {
|
|
1278
1295
|
key: `circle_plot_${n}_${g}`
|
|
@@ -1285,7 +1302,7 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1285
1302
|
radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === g ? (t.plotRadii.plot || 6) * 1.5 : t.plotRadii.plot || 6,
|
|
1286
1303
|
stroke: e.FINAL_CONFIG.chart.backgroundColor,
|
|
1287
1304
|
strokeWidth: 0.5
|
|
1288
|
-
}, null, 8, ["shape", "color", "plot", "radius", "stroke"])) :
|
|
1305
|
+
}, null, 8, ["shape", "color", "plot", "radius", "stroke"])) : h("", !0),
|
|
1289
1306
|
s.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), i("foreignObject", {
|
|
1290
1307
|
key: 1,
|
|
1291
1308
|
style: { overflow: "visible" },
|
|
@@ -1294,14 +1311,14 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1294
1311
|
x: s.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
|
|
1295
1312
|
y: s.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
|
|
1296
1313
|
}, [
|
|
1297
|
-
d("div",
|
|
1314
|
+
d("div", kt, [
|
|
1298
1315
|
v(l.$slots, "plot-comment", {
|
|
1299
1316
|
plot: { ...s, color: a.color }
|
|
1300
1317
|
}, void 0, !0)
|
|
1301
1318
|
])
|
|
1302
|
-
], 8,
|
|
1319
|
+
], 8, Ct)) : h("", !0)
|
|
1303
1320
|
]))), 128)),
|
|
1304
|
-
Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g",
|
|
1321
|
+
Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g", wt, [
|
|
1305
1322
|
d("defs", null, [
|
|
1306
1323
|
d("marker", {
|
|
1307
1324
|
id: `plot_arrow_${n}`,
|
|
@@ -1314,8 +1331,8 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1314
1331
|
d("polygon", {
|
|
1315
1332
|
points: `0 0, 7 ${7 / 2}, 0 7`,
|
|
1316
1333
|
fill: a.color
|
|
1317
|
-
}, null, 8,
|
|
1318
|
-
], 8,
|
|
1334
|
+
}, null, 8, vt)
|
|
1335
|
+
], 8, Ot)
|
|
1319
1336
|
]),
|
|
1320
1337
|
a.plots.length > 1 ? (r(), i("line", {
|
|
1321
1338
|
key: 0,
|
|
@@ -1327,7 +1344,7 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1327
1344
|
stroke: a.color,
|
|
1328
1345
|
"stroke-dasharray": 2,
|
|
1329
1346
|
"marker-end": `url(#plot_arrow_${n})`
|
|
1330
|
-
}, null, 8,
|
|
1347
|
+
}, null, 8, Gt)) : h("", !0),
|
|
1331
1348
|
a.plots.length > 1 ? (r(), i("text", {
|
|
1332
1349
|
key: 1,
|
|
1333
1350
|
"text-anchor": "middle",
|
|
@@ -1339,13 +1356,13 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1339
1356
|
v: e.calcLinearProgression(a.plots).trend * 100,
|
|
1340
1357
|
s: "%",
|
|
1341
1358
|
r: 2
|
|
1342
|
-
})), 9,
|
|
1343
|
-
])) :
|
|
1359
|
+
})), 9, zt)) : h("", !0)
|
|
1360
|
+
])) : h("", !0)
|
|
1344
1361
|
], 6))), 128)),
|
|
1345
1362
|
(r(!0), i(I, null, m(e.lineSet, (a, n) => (r(), i("g", {
|
|
1346
1363
|
key: `serie_line_${n}`,
|
|
1347
1364
|
class: T(`serie_line_${n}`),
|
|
1348
|
-
style:
|
|
1365
|
+
style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1349
1366
|
}, [
|
|
1350
1367
|
a.smooth && a.plots.length > 1 ? (r(), i("path", {
|
|
1351
1368
|
key: 0,
|
|
@@ -1354,7 +1371,7 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1354
1371
|
"stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
|
|
1355
1372
|
"stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1356
1373
|
fill: "none"
|
|
1357
|
-
}, null, 8,
|
|
1374
|
+
}, null, 8, pt)) : a.plots.length > 1 ? (r(), i("g", Tt, [
|
|
1358
1375
|
(r(!0), i(I, null, m(a.plots, (s, g) => (r(), i("g", {
|
|
1359
1376
|
key: `line_${n}_${g}`
|
|
1360
1377
|
}, [
|
|
@@ -1369,26 +1386,26 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1369
1386
|
"stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1370
1387
|
"stroke-linejoin": "round",
|
|
1371
1388
|
"stroke-linecap": "round"
|
|
1372
|
-
}, null, 8,
|
|
1389
|
+
}, null, 8, Mt)) : h("", !0)
|
|
1373
1390
|
]))), 128))
|
|
1374
|
-
])) :
|
|
1391
|
+
])) : h("", !0)
|
|
1375
1392
|
], 6))), 128)),
|
|
1376
1393
|
(r(!0), i(I, null, m(e.lineSet, (a, n) => (r(), i("g", {
|
|
1377
1394
|
key: `serie_line_${n}`,
|
|
1378
1395
|
class: T(`serie_line_${n}`),
|
|
1379
|
-
style:
|
|
1396
|
+
style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1380
1397
|
}, [
|
|
1381
|
-
a.useArea && a.plots.length > 1 ? (r(), i("g",
|
|
1398
|
+
a.useArea && a.plots.length > 1 ? (r(), i("g", Pt, [
|
|
1382
1399
|
a.smooth ? (r(), i("path", {
|
|
1383
1400
|
key: 0,
|
|
1384
1401
|
d: `M ${a.plots[0] ? a.plots[0].x : Math.min(...a.plots.filter((s) => !!s).map((s) => s.x))},${t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset : e.drawingArea.bottom} ${a.curve} L ${a.plots.at(-1) ? a.plots.at(-1).x : e.drawingArea.left + e.slot.line * n + e.slot.line / 2},${t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset : e.drawingArea.bottom} Z`,
|
|
1385
1402
|
fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${n}_${t.uniqueId})` : `${a.color}${t.opacity[e.FINAL_CONFIG.line.area.opacity]}`
|
|
1386
|
-
}, null, 8,
|
|
1403
|
+
}, null, 8, Vt)) : (r(), i("path", {
|
|
1387
1404
|
key: 1,
|
|
1388
1405
|
d: `M${a.area}Z`,
|
|
1389
1406
|
fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${n}_${t.uniqueId})` : `${a.color}${t.opacity[e.FINAL_CONFIG.line.area.opacity]}`
|
|
1390
|
-
}, null, 8,
|
|
1391
|
-
])) :
|
|
1407
|
+
}, null, 8, Rt))
|
|
1408
|
+
])) : h("", !0),
|
|
1392
1409
|
a.smooth && a.plots.length > 1 ? (r(), i("path", {
|
|
1393
1410
|
key: 1,
|
|
1394
1411
|
d: `M${a.curve}`,
|
|
@@ -1396,7 +1413,7 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1396
1413
|
"stroke-width": e.FINAL_CONFIG.line.strokeWidth,
|
|
1397
1414
|
"stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1398
1415
|
fill: "none"
|
|
1399
|
-
}, null, 8,
|
|
1416
|
+
}, null, 8, Dt)) : a.plots.length > 1 ? (r(), i("g", Ht, [
|
|
1400
1417
|
(r(!0), i(I, null, m(a.plots, (s, g) => (r(), i("g", {
|
|
1401
1418
|
key: `line_${n}_${g}`
|
|
1402
1419
|
}, [
|
|
@@ -1411,9 +1428,9 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1411
1428
|
"stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1412
1429
|
"stroke-linejoin": "round",
|
|
1413
1430
|
"stroke-linecap": "round"
|
|
1414
|
-
}, null, 8,
|
|
1431
|
+
}, null, 8, Bt)) : h("", !0)
|
|
1415
1432
|
]))), 128))
|
|
1416
|
-
])) :
|
|
1433
|
+
])) : h("", !0),
|
|
1417
1434
|
(r(!0), i(I, null, m(a.plots, (s, g) => (r(), i("g", {
|
|
1418
1435
|
key: `circle_line_${n}_${g}`
|
|
1419
1436
|
}, [
|
|
@@ -1425,7 +1442,7 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1425
1442
|
radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === g ? (t.plotRadii.line || 6) * 1.5 : t.plotRadii.line,
|
|
1426
1443
|
stroke: e.FINAL_CONFIG.chart.backgroundColor,
|
|
1427
1444
|
strokeWidth: 0.5
|
|
1428
|
-
}, null, 8, ["shape", "color", "plot", "radius", "stroke"])) :
|
|
1445
|
+
}, null, 8, ["shape", "color", "plot", "radius", "stroke"])) : h("", !0),
|
|
1429
1446
|
s.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), i("foreignObject", {
|
|
1430
1447
|
key: 1,
|
|
1431
1448
|
style: { overflow: "visible" },
|
|
@@ -1434,14 +1451,14 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1434
1451
|
x: s.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
|
|
1435
1452
|
y: s.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
|
|
1436
1453
|
}, [
|
|
1437
|
-
d("div",
|
|
1454
|
+
d("div", Wt, [
|
|
1438
1455
|
v(l.$slots, "plot-comment", {
|
|
1439
1456
|
plot: { ...s, color: a.color }
|
|
1440
1457
|
}, void 0, !0)
|
|
1441
1458
|
])
|
|
1442
|
-
], 8,
|
|
1459
|
+
], 8, Yt)) : h("", !0)
|
|
1443
1460
|
]))), 128)),
|
|
1444
|
-
Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g",
|
|
1461
|
+
Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g", Et, [
|
|
1445
1462
|
d("defs", null, [
|
|
1446
1463
|
d("marker", {
|
|
1447
1464
|
id: `line_arrow_${n}`,
|
|
@@ -1454,8 +1471,8 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1454
1471
|
d("polygon", {
|
|
1455
1472
|
points: `0 0, 7 ${7 / 2}, 0 7`,
|
|
1456
1473
|
fill: a.color
|
|
1457
|
-
}, null, 8,
|
|
1458
|
-
], 8,
|
|
1474
|
+
}, null, 8, qt)
|
|
1475
|
+
], 8, Xt)
|
|
1459
1476
|
]),
|
|
1460
1477
|
a.plots.length > 1 ? (r(), i("line", {
|
|
1461
1478
|
key: 0,
|
|
@@ -1467,7 +1484,7 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1467
1484
|
stroke: a.color,
|
|
1468
1485
|
"stroke-dasharray": 2,
|
|
1469
1486
|
"marker-end": `url(#line_arrow_${n})`
|
|
1470
|
-
}, null, 8,
|
|
1487
|
+
}, null, 8, Zt)) : h("", !0),
|
|
1471
1488
|
a.plots.length > 1 ? (r(), i("text", {
|
|
1472
1489
|
key: 1,
|
|
1473
1490
|
"text-anchor": "middle",
|
|
@@ -1479,14 +1496,14 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1479
1496
|
v: e.calcLinearProgression(a.plots).trend * 100,
|
|
1480
1497
|
s: "%",
|
|
1481
1498
|
r: 2
|
|
1482
|
-
})), 9, Ut)) :
|
|
1483
|
-
])) :
|
|
1499
|
+
})), 9, Ut)) : h("", !0)
|
|
1500
|
+
])) : h("", !0)
|
|
1484
1501
|
], 6))), 128)),
|
|
1485
|
-
(e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && t.mutableConfig.dataLabels.show ? (r(), i("g",
|
|
1502
|
+
(e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && t.mutableConfig.dataLabels.show ? (r(), i("g", Jt, [
|
|
1486
1503
|
(r(!0), i(I, null, m(e.barSet, (a, n) => (r(), i("g", {
|
|
1487
1504
|
key: `xLabel_bar_${n}`,
|
|
1488
1505
|
class: T(`xLabel_bar_${n}`),
|
|
1489
|
-
style:
|
|
1506
|
+
style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1490
1507
|
}, [
|
|
1491
1508
|
(r(!0), i(I, null, m(a.plots, (s, g) => (r(), i("g", {
|
|
1492
1509
|
key: `xLabel_bar_${n}_${g}`
|
|
@@ -1498,7 +1515,20 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1498
1515
|
"text-anchor": "middle",
|
|
1499
1516
|
"font-size": t.fontSizes.plotLabels,
|
|
1500
1517
|
fill: e.FINAL_CONFIG.bar.labels.color
|
|
1501
|
-
}, C(e.canShowValue(s.value) ? e.
|
|
1518
|
+
}, C(e.canShowValue(s.value) ? e.applyDataLabel(
|
|
1519
|
+
e.FINAL_CONFIG.bar.labels.formatter,
|
|
1520
|
+
s.value,
|
|
1521
|
+
e.dataLabel({
|
|
1522
|
+
p: e.FINAL_CONFIG.chart.labels.prefix,
|
|
1523
|
+
v: s.value,
|
|
1524
|
+
s: e.FINAL_CONFIG.chart.labels.suffix,
|
|
1525
|
+
r: e.FINAL_CONFIG.bar.labels.rounding
|
|
1526
|
+
}),
|
|
1527
|
+
{
|
|
1528
|
+
datapoint: s,
|
|
1529
|
+
serie: a
|
|
1530
|
+
}
|
|
1531
|
+
) : ""), 9, Kt)) : h("", !0),
|
|
1502
1532
|
s && e.FINAL_CONFIG.bar.serieName.show ? (r(), i("text", {
|
|
1503
1533
|
key: 1,
|
|
1504
1534
|
x: t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? s.x + e.slot.line / 2 : s.x + e.calcRectWidth() * 1.1,
|
|
@@ -1507,15 +1537,15 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1507
1537
|
"font-size": t.fontSizes.plotLabels,
|
|
1508
1538
|
fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? a.color : e.FINAL_CONFIG.bar.serieName.color,
|
|
1509
1539
|
"font-weight": e.FINAL_CONFIG.bar.serieName.bold ? "bold" : "normal"
|
|
1510
|
-
}, C(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: a.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : a.name), 9,
|
|
1540
|
+
}, C(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: a.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : a.name), 9, Qt)) : h("", !0)
|
|
1511
1541
|
]))), 128))
|
|
1512
1542
|
], 6))), 128))
|
|
1513
|
-
])) :
|
|
1514
|
-
e.FINAL_CONFIG.plot.labels.show && t.mutableConfig.dataLabels.show ? (r(), i("g",
|
|
1543
|
+
])) : h("", !0),
|
|
1544
|
+
e.FINAL_CONFIG.plot.labels.show && t.mutableConfig.dataLabels.show ? (r(), i("g", jt, [
|
|
1515
1545
|
(r(!0), i(I, null, m(e.plotSet, (a, n) => (r(), i("g", {
|
|
1516
1546
|
key: `xLabel_plot_${n}`,
|
|
1517
1547
|
class: T(`xLabel_plot_${n}`),
|
|
1518
|
-
style:
|
|
1548
|
+
style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1519
1549
|
}, [
|
|
1520
1550
|
(r(!0), i(I, null, m(a.plots, (s, g) => (r(), i("g", {
|
|
1521
1551
|
key: `xLabel_plot_${n}_${g}`
|
|
@@ -1527,7 +1557,20 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1527
1557
|
"text-anchor": "middle",
|
|
1528
1558
|
"font-size": t.fontSizes.plotLabels,
|
|
1529
1559
|
fill: e.FINAL_CONFIG.plot.labels.color
|
|
1530
|
-
}, C(e.canShowValue(s.value) ? e.
|
|
1560
|
+
}, C(e.canShowValue(s.value) ? e.applyDataLabel(
|
|
1561
|
+
e.FINAL_CONFIG.plot.labels.formatter,
|
|
1562
|
+
s.value,
|
|
1563
|
+
e.dataLabel({
|
|
1564
|
+
p: e.FINAL_CONFIG.chart.labels.prefix,
|
|
1565
|
+
v: s.value,
|
|
1566
|
+
s: e.FINAL_CONFIG.chart.labels.suffix,
|
|
1567
|
+
r: e.FINAL_CONFIG.plot.labels.rounding
|
|
1568
|
+
}),
|
|
1569
|
+
{
|
|
1570
|
+
datapoint: s,
|
|
1571
|
+
serie: a
|
|
1572
|
+
}
|
|
1573
|
+
) : ""), 9, $t)) : h("", !0),
|
|
1531
1574
|
s && g === 0 && a.useTag && a.useTag === "start" ? (r(), i("foreignObject", {
|
|
1532
1575
|
key: 1,
|
|
1533
1576
|
x: s.x,
|
|
@@ -1537,9 +1580,9 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1537
1580
|
style: { overflow: "visible" }
|
|
1538
1581
|
}, [
|
|
1539
1582
|
d("div", {
|
|
1540
|
-
style:
|
|
1583
|
+
style: L(`padding: 3px; background:${a.color}${t.opacity[80]};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1541
1584
|
}, C(a.name), 5)
|
|
1542
|
-
], 8,
|
|
1585
|
+
], 8, ea)) : h("", !0),
|
|
1543
1586
|
s && g === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (r(), i("foreignObject", {
|
|
1544
1587
|
key: 2,
|
|
1545
1588
|
x: s.x - a.name.length * (t.fontSizes.plotLabels / 2),
|
|
@@ -1549,17 +1592,17 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1549
1592
|
style: { overflow: "visible" }
|
|
1550
1593
|
}, [
|
|
1551
1594
|
d("div", {
|
|
1552
|
-
style:
|
|
1595
|
+
style: L(`padding: 3px; background:${a.color}${t.opacity[80]};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1553
1596
|
}, C(a.name), 5)
|
|
1554
|
-
], 8,
|
|
1597
|
+
], 8, ta)) : h("", !0)
|
|
1555
1598
|
]))), 128))
|
|
1556
1599
|
], 6))), 128))
|
|
1557
|
-
])) :
|
|
1558
|
-
e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (r(), i("g",
|
|
1600
|
+
])) : h("", !0),
|
|
1601
|
+
e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (r(), i("g", aa, [
|
|
1559
1602
|
(r(!0), i(I, null, m(e.lineSet, (a, n) => (r(), i("g", {
|
|
1560
1603
|
key: `xLabel_line_${n}`,
|
|
1561
1604
|
class: T(`xLabel_line_${n}`),
|
|
1562
|
-
style:
|
|
1605
|
+
style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1563
1606
|
}, [
|
|
1564
1607
|
(r(!0), i(I, null, m(a.plots, (s, g) => (r(), i("g", {
|
|
1565
1608
|
key: `xLabel_line_${n}_${g}`
|
|
@@ -1571,7 +1614,20 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1571
1614
|
"text-anchor": "middle",
|
|
1572
1615
|
"font-size": t.fontSizes.plotLabels,
|
|
1573
1616
|
fill: e.FINAL_CONFIG.line.labels.color
|
|
1574
|
-
}, C(e.canShowValue(s.value) ? e.
|
|
1617
|
+
}, C(e.canShowValue(s.value) ? e.applyDataLabel(
|
|
1618
|
+
e.FINAL_CONFIG.line.labels.formatter,
|
|
1619
|
+
s.value,
|
|
1620
|
+
e.dataLabel({
|
|
1621
|
+
p: e.FINAL_CONFIG.chart.labels.prefix,
|
|
1622
|
+
v: s.value,
|
|
1623
|
+
s: e.FINAL_CONFIG.chart.labels.suffix,
|
|
1624
|
+
r: e.FINAL_CONFIG.line.labels.rounding
|
|
1625
|
+
}),
|
|
1626
|
+
{
|
|
1627
|
+
datapoint: s,
|
|
1628
|
+
serie: a
|
|
1629
|
+
}
|
|
1630
|
+
) : ""), 9, la)) : h("", !0),
|
|
1575
1631
|
s && g === 0 && a.useTag && a.useTag === "start" ? (r(), i("foreignObject", {
|
|
1576
1632
|
key: 1,
|
|
1577
1633
|
x: s.x,
|
|
@@ -1581,9 +1637,9 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1581
1637
|
style: { overflow: "visible" }
|
|
1582
1638
|
}, [
|
|
1583
1639
|
d("div", {
|
|
1584
|
-
style:
|
|
1640
|
+
style: L(`padding: 3px; background:${a.color}${t.opacity[80]};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1585
1641
|
}, C(a.name), 5)
|
|
1586
|
-
], 8,
|
|
1642
|
+
], 8, ra)) : h("", !0),
|
|
1587
1643
|
s && g === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (r(), i("foreignObject", {
|
|
1588
1644
|
key: 2,
|
|
1589
1645
|
x: s.x - a.name.length * (t.fontSizes.plotLabels / 2),
|
|
@@ -1593,20 +1649,20 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1593
1649
|
style: { overflow: "visible" }
|
|
1594
1650
|
}, [
|
|
1595
1651
|
d("div", {
|
|
1596
|
-
style:
|
|
1652
|
+
style: L(`padding: 3px; background:${a.color}${t.opacity[80]};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1597
1653
|
}, C(a.name), 5)
|
|
1598
|
-
], 8,
|
|
1654
|
+
], 8, ia)) : h("", !0)
|
|
1599
1655
|
]))), 128))
|
|
1600
1656
|
], 6))), 128))
|
|
1601
|
-
])) :
|
|
1602
|
-
e.hasHighlightArea ? (r(), i("g",
|
|
1657
|
+
])) : h("", !0),
|
|
1658
|
+
e.hasHighlightArea ? (r(), i("g", sa, [
|
|
1603
1659
|
d("rect", {
|
|
1604
1660
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (e.FINAL_CONFIG.chart.highlightArea.from - t.slicer.start),
|
|
1605
1661
|
y: e.drawingArea.top,
|
|
1606
1662
|
height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
|
|
1607
1663
|
width: e.drawingArea.width / e.maxSeries * e.highlightAreaSpan < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries * e.highlightAreaSpan,
|
|
1608
1664
|
fill: `${e.FINAL_CONFIG.chart.highlightArea.color}${t.opacity[e.FINAL_CONFIG.chart.highlightArea.opacity]}`
|
|
1609
|
-
}, null, 8,
|
|
1665
|
+
}, null, 8, oa),
|
|
1610
1666
|
e.FINAL_CONFIG.chart.highlightArea.caption.text ? (r(), i("foreignObject", {
|
|
1611
1667
|
key: 0,
|
|
1612
1668
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (e.FINAL_CONFIG.chart.highlightArea.from - t.slicer.start) - (e.FINAL_CONFIG.chart.highlightArea.caption.width === "auto" ? 0 : e.FINAL_CONFIG.chart.highlightArea.caption.width / 2 - e.drawingArea.width / e.maxSeries * e.highlightAreaSpan / 2),
|
|
@@ -1616,10 +1672,10 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1616
1672
|
width: e.FINAL_CONFIG.chart.highlightArea.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * e.highlightAreaSpan : e.FINAL_CONFIG.chart.highlightArea.caption.width
|
|
1617
1673
|
}, [
|
|
1618
1674
|
d("div", {
|
|
1619
|
-
style:
|
|
1675
|
+
style: L(`padding:${e.FINAL_CONFIG.chart.highlightArea.caption.padding}px;text-align:${e.FINAL_CONFIG.chart.highlightArea.caption.textAlign};font-size:${e.FINAL_CONFIG.chart.highlightArea.caption.fontSize}px;color:${e.FINAL_CONFIG.chart.highlightArea.caption.color};font-weight:${e.FINAL_CONFIG.chart.highlightArea.caption.bold ? "bold" : "normal"}`)
|
|
1620
1676
|
}, C(e.FINAL_CONFIG.chart.highlightArea.caption.text), 5)
|
|
1621
|
-
], 8,
|
|
1622
|
-
])) :
|
|
1677
|
+
], 8, na)) : h("", !0)
|
|
1678
|
+
])) : h("", !0),
|
|
1623
1679
|
d("g", null, [
|
|
1624
1680
|
d("rect", {
|
|
1625
1681
|
x: 0,
|
|
@@ -1627,19 +1683,19 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1627
1683
|
width: e.FINAL_CONFIG.chart.padding.left - 1,
|
|
1628
1684
|
height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
|
|
1629
1685
|
fill: e.FINAL_CONFIG.chart.backgroundColor
|
|
1630
|
-
}, null, 8,
|
|
1686
|
+
}, null, 8, ha),
|
|
1631
1687
|
d("rect", {
|
|
1632
1688
|
x: e.drawingArea.right + 1,
|
|
1633
1689
|
y: e.drawingArea.top,
|
|
1634
1690
|
width: e.FINAL_CONFIG.chart.padding.right,
|
|
1635
1691
|
height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
|
|
1636
1692
|
fill: e.FINAL_CONFIG.chart.backgroundColor
|
|
1637
|
-
}, null, 8,
|
|
1693
|
+
}, null, 8, ca)
|
|
1638
1694
|
]),
|
|
1639
1695
|
(r(!0), i(I, null, m(e.lineSet, (a, n) => (r(), i("g", {
|
|
1640
1696
|
key: `xLabel_line_${n}`,
|
|
1641
1697
|
class: T(`xLabel_line_${n}`),
|
|
1642
|
-
style:
|
|
1698
|
+
style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1643
1699
|
}, [
|
|
1644
1700
|
(r(!0), i(I, null, m(a.plots, (s, g) => (r(), i("g", {
|
|
1645
1701
|
key: `xLabel_line_${n}_${g}`
|
|
@@ -1659,7 +1715,7 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1659
1715
|
y: s.y,
|
|
1660
1716
|
maxWords: 2
|
|
1661
1717
|
})
|
|
1662
|
-
}, null, 8,
|
|
1718
|
+
}, null, 8, ua)) : h("", !0),
|
|
1663
1719
|
s && g === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (r(), i("text", {
|
|
1664
1720
|
key: 1,
|
|
1665
1721
|
x: s.x + t.fontSizes.plotLabels,
|
|
@@ -1675,13 +1731,13 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1675
1731
|
y: s.y,
|
|
1676
1732
|
maxWords: 2
|
|
1677
1733
|
})
|
|
1678
|
-
}, null, 8,
|
|
1734
|
+
}, null, 8, da)) : h("", !0)
|
|
1679
1735
|
]))), 128))
|
|
1680
1736
|
], 6))), 128)),
|
|
1681
1737
|
(r(!0), i(I, null, m(e.plotSet, (a, n) => (r(), i("g", {
|
|
1682
1738
|
key: `xLabel_plot_${n}`,
|
|
1683
1739
|
class: T(`xLabel_plot_${n}`),
|
|
1684
|
-
style:
|
|
1740
|
+
style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1685
1741
|
}, [
|
|
1686
1742
|
(r(!0), i(I, null, m(a.plots, (s, g) => (r(), i("g", {
|
|
1687
1743
|
key: `xLabel_plot_${n}_${g}`
|
|
@@ -1701,7 +1757,7 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1701
1757
|
y: s.y,
|
|
1702
1758
|
maxWords: 2
|
|
1703
1759
|
})
|
|
1704
|
-
}, null, 8,
|
|
1760
|
+
}, null, 8, ga)) : h("", !0),
|
|
1705
1761
|
s && g === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (r(), i("text", {
|
|
1706
1762
|
key: 1,
|
|
1707
1763
|
x: s.x + t.fontSizes.plotLabels,
|
|
@@ -1717,10 +1773,10 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1717
1773
|
y: s.y,
|
|
1718
1774
|
maxWords: 2
|
|
1719
1775
|
})
|
|
1720
|
-
}, null, 8,
|
|
1776
|
+
}, null, 8, fa)) : h("", !0)
|
|
1721
1777
|
]))), 128))
|
|
1722
1778
|
], 6))), 128)),
|
|
1723
|
-
e.FINAL_CONFIG.chart.grid.labels.show ? (r(), i("g",
|
|
1779
|
+
e.FINAL_CONFIG.chart.grid.labels.show ? (r(), i("g", ba, [
|
|
1724
1780
|
t.mutableConfig.useIndividualScale ? (r(), i(I, { key: 0 }, [
|
|
1725
1781
|
(r(!0), i(I, null, m(e.allScales, (a) => (r(), i("g", null, [
|
|
1726
1782
|
d("line", {
|
|
@@ -1731,18 +1787,18 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1731
1787
|
stroke: a.color,
|
|
1732
1788
|
"stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
|
|
1733
1789
|
"stroke-linecap": "round",
|
|
1734
|
-
style:
|
|
1735
|
-
}, null, 12,
|
|
1790
|
+
style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1791
|
+
}, null, 12, Ia)
|
|
1736
1792
|
]))), 256)),
|
|
1737
1793
|
(r(!0), i(I, null, m(e.allScales, (a) => (r(), i("g", {
|
|
1738
|
-
style:
|
|
1794
|
+
style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1739
1795
|
}, [
|
|
1740
1796
|
d("text", {
|
|
1741
1797
|
fill: a.color,
|
|
1742
1798
|
"font-size": t.fontSizes.dataLabels,
|
|
1743
1799
|
"text-anchor": "middle",
|
|
1744
1800
|
transform: `translate(${a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5}, ${t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset - a.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
|
|
1745
|
-
}, C(a.name) + " " + C(a.scaleLabel ? `- ${a.scaleLabel}` : ""), 9,
|
|
1801
|
+
}, C(a.name) + " " + C(a.scaleLabel ? `- ${a.scaleLabel}` : ""), 9, ma),
|
|
1746
1802
|
(r(!0), i(I, null, m(a.yLabels, (n, s) => (r(), i("line", {
|
|
1747
1803
|
x1: a.x - 3,
|
|
1748
1804
|
x2: a.x,
|
|
@@ -1751,14 +1807,23 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1751
1807
|
stroke: a.color,
|
|
1752
1808
|
"stroke-width": 1,
|
|
1753
1809
|
"stroke-linecap": "round"
|
|
1754
|
-
}, null, 8,
|
|
1810
|
+
}, null, 8, Na))), 256)),
|
|
1755
1811
|
(r(!0), i(I, null, m(a.yLabels, (n, s) => (r(), i("text", {
|
|
1756
1812
|
x: a.x - 5,
|
|
1757
1813
|
y: n.y,
|
|
1758
1814
|
"font-size": t.fontSizes.dataLabels,
|
|
1759
1815
|
"text-anchor": "end",
|
|
1760
1816
|
fill: a.color
|
|
1761
|
-
}, C(e.
|
|
1817
|
+
}, C(e.applyDataLabel(
|
|
1818
|
+
e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
|
|
1819
|
+
n.value,
|
|
1820
|
+
e.dataLabel({
|
|
1821
|
+
p: e.FINAL_CONFIG.chart.labels.prefix,
|
|
1822
|
+
v: n.value,
|
|
1823
|
+
s: e.FINAL_CONFIG.chart.labels.suffix,
|
|
1824
|
+
r: 1
|
|
1825
|
+
})
|
|
1826
|
+
)), 9, _a))), 256))
|
|
1762
1827
|
], 4))), 256))
|
|
1763
1828
|
], 64)) : (r(!0), i(I, { key: 1 }, m(e.yLabels, (a, n) => (r(), i("g", {
|
|
1764
1829
|
key: `yLabel_${n}`
|
|
@@ -1772,7 +1837,7 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1772
1837
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1773
1838
|
"stroke-width": "1",
|
|
1774
1839
|
"stroke-linecap": "round"
|
|
1775
|
-
}, null, 8,
|
|
1840
|
+
}, null, 8, Fa)) : h("", !0),
|
|
1776
1841
|
a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (r(), i("text", {
|
|
1777
1842
|
key: 1,
|
|
1778
1843
|
x: e.drawingArea.left - 7,
|
|
@@ -1780,9 +1845,18 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1780
1845
|
"font-size": t.fontSizes.dataLabels,
|
|
1781
1846
|
"text-anchor": "end",
|
|
1782
1847
|
fill: e.FINAL_CONFIG.chart.grid.labels.color
|
|
1783
|
-
}, C(e.canShowValue(a.value) ? e.
|
|
1848
|
+
}, C(e.canShowValue(a.value) ? e.applyDataLabel(
|
|
1849
|
+
e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
|
|
1850
|
+
a.value,
|
|
1851
|
+
e.dataLabel({
|
|
1852
|
+
p: e.FINAL_CONFIG.chart.labels.prefix,
|
|
1853
|
+
v: a.value,
|
|
1854
|
+
s: e.FINAL_CONFIG.chart.labels.suffix,
|
|
1855
|
+
r: 1
|
|
1856
|
+
})
|
|
1857
|
+
) : ""), 9, xa)) : h("", !0)
|
|
1784
1858
|
]))), 128))
|
|
1785
|
-
])) :
|
|
1859
|
+
])) : h("", !0),
|
|
1786
1860
|
t.mutableConfig.useIndividualScale && !t.mutableConfig.isStacked ? (r(!0), i(I, { key: 7 }, m(e.allScales, (a) => (r(), i("rect", {
|
|
1787
1861
|
x: a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
|
|
1788
1862
|
y: e.drawingArea.top,
|
|
@@ -1791,7 +1865,7 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1791
1865
|
fill: t.selectedScale === a.id ? `${a.color}20` : "transparent",
|
|
1792
1866
|
onMouseenter: (n) => t.selectedScale = a.id,
|
|
1793
1867
|
onMouseleave: o[0] || (o[0] = (n) => t.selectedScale = null)
|
|
1794
|
-
}, null, 40,
|
|
1868
|
+
}, null, 40, ya))), 256)) : h("", !0),
|
|
1795
1869
|
d("g", null, [
|
|
1796
1870
|
e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !t.mutableConfig.useIndividualScale ? (r(), i("text", {
|
|
1797
1871
|
key: 0,
|
|
@@ -1800,7 +1874,7 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1800
1874
|
transform: `translate(${t.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
|
|
1801
1875
|
"text-anchor": "middle",
|
|
1802
1876
|
style: { transition: "none" }
|
|
1803
|
-
}, C(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9,
|
|
1877
|
+
}, C(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, Aa)) : h("", !0),
|
|
1804
1878
|
e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (r(), i("text", {
|
|
1805
1879
|
key: 1,
|
|
1806
1880
|
"text-anchor": "middle",
|
|
@@ -1808,9 +1882,9 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1808
1882
|
y: e.drawingArea.bottom + t.fontSizes.yAxis + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
|
|
1809
1883
|
"font-size": t.fontSizes.yAxis,
|
|
1810
1884
|
fill: e.FINAL_CONFIG.chart.grid.labels.color
|
|
1811
|
-
}, C(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9,
|
|
1885
|
+
}, C(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, La)) : h("", !0)
|
|
1812
1886
|
]),
|
|
1813
|
-
e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (r(), i("g",
|
|
1887
|
+
e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (r(), i("g", Sa, [
|
|
1814
1888
|
(r(!0), i(I, null, m(e.timeLabels, (a, n) => (r(), i("g", {
|
|
1815
1889
|
key: `time_label_${n}`
|
|
1816
1890
|
}, [
|
|
@@ -1820,9 +1894,9 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1820
1894
|
"font-size": t.fontSizes.xAxis,
|
|
1821
1895
|
fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
|
|
1822
1896
|
transform: `translate(${e.drawingArea.left + e.drawingArea.width / e.maxSeries * n + e.drawingArea.width / e.maxSeries / 2}, ${e.drawingArea.bottom + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation})`
|
|
1823
|
-
}, C(a || ""), 9,
|
|
1897
|
+
}, C(a || ""), 9, Ca)) : h("", !0)
|
|
1824
1898
|
]))), 128))
|
|
1825
|
-
])) :
|
|
1899
|
+
])) : h("", !0),
|
|
1826
1900
|
d("g", null, [
|
|
1827
1901
|
(r(!0), i(I, null, m(e.maxSeries, (a, n) => (r(), i("g", {
|
|
1828
1902
|
key: `tooltip_trap_${n}`
|
|
@@ -1837,10 +1911,10 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1837
1911
|
onMouseenter: (s) => e.toggleTooltipVisibility(!0, n),
|
|
1838
1912
|
onMouseleave: o[1] || (o[1] = (s) => e.toggleTooltipVisibility(!1)),
|
|
1839
1913
|
onClick: (s) => e.selectX(n)
|
|
1840
|
-
}, null, 40,
|
|
1914
|
+
}, null, 40, ka)
|
|
1841
1915
|
]))), 128))
|
|
1842
1916
|
]),
|
|
1843
|
-
e.FINAL_CONFIG.chart.highlighter.useLine && ![null, void 0].includes(t.selectedSerieIndex) ? (r(), i("g",
|
|
1917
|
+
e.FINAL_CONFIG.chart.highlighter.useLine && ![null, void 0].includes(t.selectedSerieIndex) ? (r(), i("g", wa, [
|
|
1844
1918
|
d("line", {
|
|
1845
1919
|
x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * t.selectedSerieIndex + e.drawingArea.width / e.maxSeries / 2,
|
|
1846
1920
|
x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * t.selectedSerieIndex + e.drawingArea.width / e.maxSeries / 2,
|
|
@@ -1851,9 +1925,9 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1851
1925
|
"stroke-dasharray": e.FINAL_CONFIG.chart.highlighter.lineDasharray,
|
|
1852
1926
|
"stroke-linecap": "round",
|
|
1853
1927
|
style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
|
|
1854
|
-
}, null, 8,
|
|
1855
|
-
])) :
|
|
1856
|
-
e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(t.selectedSerieIndex) ? (r(), i("g",
|
|
1928
|
+
}, null, 8, Oa)
|
|
1929
|
+
])) : h("", !0),
|
|
1930
|
+
e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(t.selectedSerieIndex) ? (r(), i("g", va, [
|
|
1857
1931
|
(r(), i("foreignObject", {
|
|
1858
1932
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * t.selectedSerieIndex - 100 + e.drawingArea.width / e.maxSeries / 2,
|
|
1859
1933
|
y: e.drawingArea.bottom,
|
|
@@ -1863,23 +1937,23 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1863
1937
|
}, [
|
|
1864
1938
|
d("div", {
|
|
1865
1939
|
class: "vue-ui-xy-time-tag",
|
|
1866
|
-
style:
|
|
1940
|
+
style: L(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${e.FINAL_CONFIG.chart.timeTag.backgroundColor};color:${e.FINAL_CONFIG.chart.timeTag.color};font-size:${e.FINAL_CONFIG.chart.timeTag.fontSize}px`)
|
|
1867
1941
|
}, C(e.timeLabels[t.selectedSerieIndex] || t.selectedSerieIndex), 5)
|
|
1868
|
-
], 8,
|
|
1942
|
+
], 8, Ga)),
|
|
1869
1943
|
d("circle", {
|
|
1870
1944
|
cx: e.drawingArea.left + e.drawingArea.width / e.maxSeries * t.selectedSerieIndex + e.drawingArea.width / e.maxSeries / 2,
|
|
1871
1945
|
cy: e.drawingArea.bottom,
|
|
1872
1946
|
r: e.FINAL_CONFIG.chart.timeTag.circleMarker.radius,
|
|
1873
1947
|
fill: e.FINAL_CONFIG.chart.timeTag.circleMarker.color
|
|
1874
|
-
}, null, 8,
|
|
1875
|
-
])) :
|
|
1876
|
-
])) :
|
|
1948
|
+
}, null, 8, za)
|
|
1949
|
+
])) : h("", !0)
|
|
1950
|
+
])) : h("", !0),
|
|
1877
1951
|
v(l.$slots, "svg", { svg: e.svg }, void 0, !0)
|
|
1878
|
-
], 14,
|
|
1879
|
-
l.$slots.watermark ? (r(), i("div",
|
|
1952
|
+
], 14, Ee)) : h("", !0),
|
|
1953
|
+
l.$slots.watermark ? (r(), i("div", pa, [
|
|
1880
1954
|
v(l.$slots, "watermark", Y(W({ isPrinting: t.isPrinting || t.isImaging })), void 0, !0)
|
|
1881
|
-
])) :
|
|
1882
|
-
e.isDataset ?
|
|
1955
|
+
])) : h("", !0),
|
|
1956
|
+
e.isDataset ? h("", !0) : (r(), V(F, {
|
|
1883
1957
|
key: 4,
|
|
1884
1958
|
config: {
|
|
1885
1959
|
type: "line",
|
|
@@ -1923,19 +1997,19 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1923
1997
|
v(l.$slots, "reset-action", Y(W({ reset: a })), void 0, !0)
|
|
1924
1998
|
]),
|
|
1925
1999
|
_: 3
|
|
1926
|
-
}, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "max", "valueStart", "valueEnd", "start", "end", "onReset"])) :
|
|
2000
|
+
}, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "max", "valueStart", "valueEnd", "start", "end", "onReset"])) : h("", !0),
|
|
1927
2001
|
e.FINAL_CONFIG.chart.legend.show ? (r(), i("div", {
|
|
1928
2002
|
key: 6,
|
|
1929
2003
|
ref: "chartLegend",
|
|
1930
2004
|
class: "vue-ui-xy-legend",
|
|
1931
|
-
style:
|
|
2005
|
+
style: L(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
|
|
1932
2006
|
}, [
|
|
1933
2007
|
(r(!0), i(I, null, m(e.absoluteDataset, (a, n) => (r(), i("div", {
|
|
1934
2008
|
key: `div_legend_item_${n}`,
|
|
1935
2009
|
onClick: (s) => e.segregate(a),
|
|
1936
2010
|
class: T({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": t.segregatedSeries.includes(a.id) })
|
|
1937
2011
|
}, [
|
|
1938
|
-
t.icons[a.type] === "line" ? (r(), i("svg",
|
|
2012
|
+
t.icons[a.type] === "line" ? (r(), i("svg", Ma, [
|
|
1939
2013
|
d("rect", {
|
|
1940
2014
|
x: "0",
|
|
1941
2015
|
y: "7",
|
|
@@ -1944,7 +2018,7 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1944
2018
|
height: "4",
|
|
1945
2019
|
width: "20",
|
|
1946
2020
|
fill: a.color
|
|
1947
|
-
}, null, 8,
|
|
2021
|
+
}, null, 8, Pa),
|
|
1948
2022
|
E(f, {
|
|
1949
2023
|
plot: { x: 10, y: 9 },
|
|
1950
2024
|
radius: 4,
|
|
@@ -1953,7 +2027,7 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1953
2027
|
stroke: e.FINAL_CONFIG.chart.backgroundColor,
|
|
1954
2028
|
strokeWidth: 1
|
|
1955
2029
|
}, null, 8, ["color", "shape", "stroke"])
|
|
1956
|
-
])) : (r(), i("svg",
|
|
2030
|
+
])) : (r(), i("svg", Va, [
|
|
1957
2031
|
t.icons[a.type] === "bar" ? (r(), i("rect", {
|
|
1958
2032
|
key: 0,
|
|
1959
2033
|
x: "0",
|
|
@@ -1963,7 +2037,7 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1963
2037
|
width: "12",
|
|
1964
2038
|
stroke: "none",
|
|
1965
2039
|
fill: a.color
|
|
1966
|
-
}, null, 8,
|
|
2040
|
+
}, null, 8, Ra)) : (r(), V(f, {
|
|
1967
2041
|
key: 1,
|
|
1968
2042
|
plot: { x: 6, y: 6 },
|
|
1969
2043
|
radius: 5,
|
|
@@ -1972,10 +2046,10 @@ function Bl(l, o, h, b, t, e) {
|
|
|
1972
2046
|
}, null, 8, ["color", "shape"]))
|
|
1973
2047
|
])),
|
|
1974
2048
|
d("span", {
|
|
1975
|
-
style:
|
|
2049
|
+
style: L(`color:${e.FINAL_CONFIG.chart.legend.color}`)
|
|
1976
2050
|
}, C(a.name), 5)
|
|
1977
|
-
], 10,
|
|
1978
|
-
], 4)) : (r(), i("div",
|
|
2051
|
+
], 10, Ta))), 128))
|
|
2052
|
+
], 4)) : (r(), i("div", Da, [
|
|
1979
2053
|
v(l.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
|
|
1980
2054
|
], 512)),
|
|
1981
2055
|
E(k, {
|
|
@@ -2001,7 +2075,7 @@ function Bl(l, o, h, b, t, e) {
|
|
|
2001
2075
|
]),
|
|
2002
2076
|
_: 3
|
|
2003
2077
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
2004
|
-
e.isDataset ? (r(), V(
|
|
2078
|
+
e.isDataset ? (r(), V(S, {
|
|
2005
2079
|
key: 8,
|
|
2006
2080
|
hideDetails: "",
|
|
2007
2081
|
config: {
|
|
@@ -2019,14 +2093,14 @@ function Bl(l, o, h, b, t, e) {
|
|
|
2019
2093
|
}, {
|
|
2020
2094
|
content: z(() => [
|
|
2021
2095
|
d("div", {
|
|
2022
|
-
style:
|
|
2096
|
+
style: L(`${t.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
|
|
2023
2097
|
}, [
|
|
2024
|
-
d("div",
|
|
2025
|
-
|
|
2098
|
+
d("div", Ha, [
|
|
2099
|
+
Ve(d("input", {
|
|
2026
2100
|
type: "checkbox",
|
|
2027
2101
|
"onUpdate:modelValue": o[4] || (o[4] = (a) => t.showSparklineTable = a)
|
|
2028
2102
|
}, null, 512), [
|
|
2029
|
-
[
|
|
2103
|
+
[Re, t.showSparklineTable]
|
|
2030
2104
|
]),
|
|
2031
2105
|
d("div", {
|
|
2032
2106
|
onClick: o[5] || (o[5] = (a) => t.showSparklineTable = !t.showSparklineTable),
|
|
@@ -2053,20 +2127,25 @@ function Bl(l, o, h, b, t, e) {
|
|
|
2053
2127
|
onClose: o[6] || (o[6] = (a) => t.mutableConfig.showTable = !1)
|
|
2054
2128
|
}, {
|
|
2055
2129
|
th: z(({ th: a }) => [
|
|
2056
|
-
d("div", { innerHTML: a }, null, 8,
|
|
2130
|
+
d("div", { innerHTML: a }, null, 8, Ba)
|
|
2057
2131
|
]),
|
|
2058
2132
|
td: z(({ td: a }) => [
|
|
2059
|
-
|
|
2133
|
+
De(C(isNaN(Number(a)) ? a : e.dataLabel({
|
|
2134
|
+
p: e.FINAL_CONFIG.chart.labels.prefix,
|
|
2135
|
+
v: a,
|
|
2136
|
+
s: e.FINAL_CONFIG.chart.labels.suffix,
|
|
2137
|
+
r: e.FINAL_CONFIG.table.rounding
|
|
2138
|
+
})), 1)
|
|
2060
2139
|
]),
|
|
2061
2140
|
_: 1
|
|
2062
2141
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
2063
2142
|
], 4)
|
|
2064
2143
|
]),
|
|
2065
2144
|
_: 1
|
|
2066
|
-
}, 8, ["config"])) :
|
|
2067
|
-
], 14,
|
|
2145
|
+
}, 8, ["config"])) : h("", !0)
|
|
2146
|
+
], 14, We);
|
|
2068
2147
|
}
|
|
2069
|
-
const
|
|
2148
|
+
const rl = /* @__PURE__ */ He(Ye, [["render", Ya], ["__scopeId", "data-v-6a1d72ac"]]);
|
|
2070
2149
|
export {
|
|
2071
|
-
|
|
2150
|
+
rl as default
|
|
2072
2151
|
};
|