vue-data-ui 2.4.3 → 2.4.5
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 +3 -1
- package/dist/{Arrow-Dz6AomGr.cjs → Arrow-BeQLfJqp.cjs} +1 -1
- package/dist/{Arrow-C7lNL7sY.js → Arrow-Dvaq-qLp.js} +1 -1
- package/dist/{BaseIcon-uALK38Ov.cjs → BaseIcon-BQM6PtJu.cjs} +1 -1
- package/dist/{BaseIcon-BbvG1AlW.js → BaseIcon-D9DRVW03.js} +1 -1
- package/dist/{DataTable-DTzynbND.cjs → DataTable-DO2GAcBm.cjs} +1 -1
- package/dist/{DataTable-DYqC2pqu.js → DataTable-rs_YrvMR.js} +2 -2
- package/dist/{Legend-Cgw4lO2O.cjs → Legend-BoBvZGqQ.cjs} +1 -1
- package/dist/{Legend-DNgTCgEK.js → Legend-DrmUpnIK.js} +1 -1
- package/dist/{PackageVersion-VkaUzgmt.js → PackageVersion-D9rYHrFZ.js} +1 -1
- package/dist/{PackageVersion-DwI-KhXH.cjs → PackageVersion-DdLmDkTt.cjs} +1 -1
- package/dist/PenAndPaper-C-KjtyNA.js +308 -0
- package/dist/PenAndPaper-DyMNuRla.cjs +1 -0
- package/dist/{Shape-D2Dpshg1.cjs → Shape-BGqIhzPX.cjs} +1 -1
- package/dist/{Shape-Bwon0l0g.js → Shape-CBrmBvYy.js} +1 -1
- package/dist/{Slicer-TfpN2Cr4.js → Slicer-4R6np1wa.js} +3 -3
- package/dist/{Slicer-uSjfNJjG.cjs → Slicer-BLkkkNUl.cjs} +1 -1
- package/dist/{Title-0Tp4hZ4u.cjs → Title-Dn00hErp.cjs} +1 -1
- package/dist/{Title-C5pIfQAz.js → Title-W7iJGPjg.js} +1 -1
- package/dist/{Tooltip-9Tp2Yrd1.cjs → Tooltip-DJiwKA4y.cjs} +1 -1
- package/dist/{Tooltip-Cz24YLfw.js → Tooltip-Pv3Bhir5.js} +1 -1
- package/dist/{index-Bya_q1J-.js → index-C1GB0E49.js} +1 -1
- package/dist/{index-eFox7weK.cjs → index-C9HllqQA.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-B33hazbH.js → useNestedProp-CNAPgW6E.js} +1 -1
- package/dist/{useNestedProp-BkgEhTQY.cjs → useNestedProp-DOr0hj4s.cjs} +1 -1
- package/dist/{usePrinter-CSRFnDBU.cjs → usePrinter-FSAw5pod.cjs} +1 -1
- package/dist/{usePrinter-CiHd1FwD.js → usePrinter-y5uHyknw.js} +1 -1
- package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
- package/dist/{useResponsive-BY8tgM1n.js → useResponsive-CoxXLe23.js} +8 -7
- package/dist/{vue-data-ui-Bduq4f2p.js → vue-data-ui-Bg5KOKEX.js} +58 -58
- package/dist/{vue-data-ui-BTtxyUc3.cjs → vue-data-ui-Bnkz3Xmu.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BUEq_VdY.js → vue-ui-3d-bar-mUrcbG6J.js} +9 -9
- package/dist/{vue-ui-3d-bar-B-P7PMHs.cjs → vue-ui-3d-bar-sjkBzHFn.cjs} +1 -1
- package/dist/{vue-ui-accordion-TEMpM1hO.cjs → vue-ui-accordion-BkUGNe2H.cjs} +1 -1
- package/dist/{vue-ui-accordion-DfUfL2dI.js → vue-ui-accordion-DWyRC3-h.js} +3 -3
- package/dist/vue-ui-age-pyramid-CKQ8OHuS.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CH72tAMb.js → vue-ui-age-pyramid-CVktvXpY.js} +145 -137
- package/dist/{vue-ui-annotator-DPeJ2its.js → vue-ui-annotator-Cp8KDkuP.js} +1 -1
- package/dist/{vue-ui-annotator-DU_DJKCw.cjs → vue-ui-annotator-DSJ25l4s.cjs} +1 -1
- package/dist/vue-ui-bullet-Bg3TPFgV.cjs +34 -0
- package/dist/{vue-ui-bullet-CtP3MlUT.js → vue-ui-bullet-D4atsFQx.js} +75 -69
- package/dist/vue-ui-candlestick-BhdG9CY1.cjs +2 -0
- package/dist/{vue-ui-candlestick-DDil13a0.js → vue-ui-candlestick-DUNyCQ6Z.js} +240 -232
- package/dist/{vue-ui-carousel-table-BaeIxyc0.js → vue-ui-carousel-table-BRrYpr-2.js} +4 -4
- package/dist/{vue-ui-carousel-table-C7SJIOG-.cjs → vue-ui-carousel-table-DF4FhrBd.cjs} +1 -1
- package/dist/vue-ui-chestnut-BLBS9QO2.cjs +6 -0
- package/dist/{vue-ui-chestnut-BczSJF6S.js → vue-ui-chestnut-CjS4qC_J.js} +262 -256
- package/dist/{vue-ui-cursor-Dg_Dmww-.js → vue-ui-cursor-C3SpabMF.js} +2 -2
- package/dist/{vue-ui-cursor-C2Pj_CI_.cjs → vue-ui-cursor-DzVt5_py.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Bul9dqx1.js → vue-ui-dashboard-BCOKtsyJ.js} +2 -2
- package/dist/{vue-ui-dashboard-Cg020NiT.cjs → vue-ui-dashboard-CIv7W8Yn.cjs} +1 -1
- package/dist/{vue-ui-digits-B8iAa4YZ.js → vue-ui-digits-DaMKAZkt.js} +2 -2
- package/dist/{vue-ui-digits-Ctgd84JR.cjs → vue-ui-digits-yNfQgOLZ.cjs} +1 -1
- package/dist/{vue-ui-donut-DUcp-fat.js → vue-ui-donut-B_-VAqBw.js} +338 -330
- package/dist/vue-ui-donut-Bo4SbdEe.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-C_YMbTwq.js → vue-ui-donut-evolution-C9TXFzCm.js} +163 -156
- package/dist/vue-ui-donut-evolution-DOPY3I3Q.cjs +1 -0
- package/dist/{vue-ui-dumbbell-Buwngz_V.js → vue-ui-dumbbell-BP_Vf_u2.js} +208 -200
- package/dist/vue-ui-dumbbell-Cgwng71s.cjs +9 -0
- package/dist/vue-ui-flow-BiQj4v8i.cjs +1 -0
- package/dist/{vue-ui-flow-Bz3c0K5P.js → vue-ui-flow-DHoxK4t1.js} +130 -124
- package/dist/vue-ui-galaxy-C5ZaT8pw.cjs +1 -0
- package/dist/{vue-ui-galaxy-Cjh0XGTX.js → vue-ui-galaxy-DuLPsC4Q.js} +125 -119
- package/dist/vue-ui-gauge-26eHgOjR.cjs +1 -0
- package/dist/{vue-ui-gauge-B1UvGkQa.js → vue-ui-gauge-BhrXiD4S.js} +167 -159
- package/dist/{vue-ui-gizmo-DFW6HnHp.cjs → vue-ui-gizmo-Bb_SWCsE.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DUQ4t-At.js → vue-ui-gizmo-D3kBYI1G.js} +3 -3
- package/dist/vue-ui-heatmap-Bc4HvgMk.cjs +1 -0
- package/dist/{vue-ui-heatmap-C-poazUw.js → vue-ui-heatmap-wjsvn1_e.js} +156 -149
- package/dist/{vue-ui-kpi-Z4Oi4raz.cjs → vue-ui-kpi-BbvfVZn0.cjs} +1 -1
- package/dist/{vue-ui-kpi-DXe-vxAk.js → vue-ui-kpi-DLJuo47I.js} +3 -3
- package/dist/{vue-ui-mini-loader-MMvpm9pz.cjs → vue-ui-mini-loader-BaxwhF7o.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BVtHTqxS.js → vue-ui-mini-loader-D4aLvv-D.js} +2 -2
- package/dist/{vue-ui-molecule-BaJpDZND.js → vue-ui-molecule-DXpMMgdW.js} +109 -103
- package/dist/vue-ui-molecule-ZqAJHh6x.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BUNDwsEI.js → vue-ui-mood-radar-B_uWY92C.js} +173 -166
- package/dist/vue-ui-mood-radar-BhteAPWH.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-mDy2hXa6.js → vue-ui-nested-donuts-By32x0Y7.js} +311 -303
- package/dist/vue-ui-nested-donuts-ClgkX1-p.cjs +17 -0
- package/dist/vue-ui-onion-BdIxJpfA.cjs +5 -0
- package/dist/{vue-ui-onion-DwFG3HAI.js → vue-ui-onion-dQTXKNju.js} +149 -141
- package/dist/{vue-ui-parallel-coordinate-plot-ImET_zeo.js → vue-ui-parallel-coordinate-plot-CTF9Ujab.js} +186 -178
- package/dist/vue-ui-parallel-coordinate-plot-D6MUp-5W.cjs +8 -0
- package/dist/vue-ui-quadrant-CArA4Vmm.cjs +1 -0
- package/dist/{vue-ui-quadrant-BeveRihK.js → vue-ui-quadrant-Coqh0pYO.js} +225 -217
- package/dist/vue-ui-quick-chart-6Av74TTC.cjs +15 -0
- package/dist/{vue-ui-quick-chart-DAhllTfa.js → vue-ui-quick-chart-Bfdddr_B.js} +386 -378
- package/dist/{vue-ui-radar-BllatzRa.js → vue-ui-radar-BpdGMVHw.js} +172 -164
- package/dist/vue-ui-radar-CLr-gu1X.cjs +1 -0
- package/dist/{vue-ui-rating-D1ykV4xO.js → vue-ui-rating-B-YedcK0.js} +2 -2
- package/dist/{vue-ui-rating-BoZo7caL.cjs → vue-ui-rating-KFJoH-JV.cjs} +1 -1
- package/dist/vue-ui-relation-circle-BLVThOqT.js +366 -0
- package/dist/vue-ui-relation-circle-DuGQKFor.cjs +1 -0
- package/dist/{vue-ui-rings-B-ZcX6y1.js → vue-ui-rings-BGeYkj-O.js} +196 -188
- package/dist/vue-ui-rings-DzgehQZ5.cjs +2 -0
- package/dist/{vue-ui-scatter-DG43ck1g.js → vue-ui-scatter-CsBPCCco.js} +288 -280
- package/dist/vue-ui-scatter-jPnr8qI0.cjs +1 -0
- package/dist/{vue-ui-screenshot-C1JBP_N0.cjs → vue-ui-screenshot-1nXVH-hp.cjs} +1 -1
- package/dist/{vue-ui-screenshot-p3ca8cAl.js → vue-ui-screenshot-B2FTnuxH.js} +1 -1
- package/dist/{vue-ui-skeleton-BYssP0K4.js → vue-ui-skeleton-CE6ibl1T.js} +3 -3
- package/dist/{vue-ui-skeleton-BqKzuhkB.cjs → vue-ui-skeleton-CPwED1As.cjs} +1 -1
- package/dist/{vue-ui-smiley-D7dDCdpq.js → vue-ui-smiley-2H9hMFZ_.js} +2 -2
- package/dist/{vue-ui-smiley-BXKVpHl2.cjs → vue-ui-smiley-DqOZwhT4.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-9V60hM3Z.cjs → vue-ui-spark-trend-CLW85O32.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-GWFrO_0z.js → vue-ui-spark-trend-Dx9xVq9a.js} +5 -5
- package/dist/{vue-ui-sparkbar-Bgn6AY0q.cjs → vue-ui-sparkbar-DJDXrRyp.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CwqlyAyv.js → vue-ui-sparkbar-zafUIv1n.js} +4 -4
- package/dist/{vue-ui-sparkgauge-F2XbiXyA.js → vue-ui-sparkgauge-CFAdhTLk.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Dqntz2Zv.cjs → vue-ui-sparkgauge-CPNAXUyl.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DRIKK6Ym.js → vue-ui-sparkhistogram-B3DIjpaE.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DnY4-Sdn.cjs → vue-ui-sparkhistogram-CHc3_xRE.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Cxtzdlhi.js → vue-ui-sparkline-C-LE7J9H.js} +5 -5
- package/dist/{vue-ui-sparkline-CAEs-gtK.cjs → vue-ui-sparkline-U22Yhwy7.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-0A1klq9s.js → vue-ui-sparkstackbar-BzLoGC-y.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-D37ms1rx.cjs → vue-ui-sparkstackbar-nx-Lt8sX.cjs} +1 -1
- package/dist/{vue-ui-stackbar-wun4S3C0.cjs → vue-ui-stackbar-BwgHLhj2.cjs} +1 -1
- package/dist/{vue-ui-stackbar-ByOuJSdM.js → vue-ui-stackbar-C5xNRXnW.js} +13 -13
- package/dist/{vue-ui-strip-plot-CMD0MSqY.js → vue-ui-strip-plot-6khUDDeA.js} +204 -196
- package/dist/vue-ui-strip-plot-BFUtZW4b.cjs +1 -0
- package/dist/{vue-ui-table-aj0XZ7T5.cjs → vue-ui-table-B3Eng0fH.cjs} +1 -1
- package/dist/{vue-ui-table-B75DJ39t.js → vue-ui-table-DsBM7Osw.js} +1 -1
- package/dist/{vue-ui-table-heatmap-Ce93TyBF.cjs → vue-ui-table-heatmap-DwCdS68z.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BO2ugWqD.js → vue-ui-table-heatmap-ccQKInFD.js} +4 -4
- package/dist/{vue-ui-table-sparkline-CbjfAaj2.js → vue-ui-table-sparkline-BU-hOCZ7.js} +5 -5
- package/dist/{vue-ui-table-sparkline-D6KJjDnU.cjs → vue-ui-table-sparkline-CDmrQFKv.cjs} +1 -1
- package/dist/vue-ui-thermometer-BhHYcxmT.cjs +1 -0
- package/dist/{vue-ui-thermometer-Pq4PvSIP.js → vue-ui-thermometer-DuI3uDCZ.js} +171 -165
- package/dist/{vue-ui-timer-B6IB6yS6.cjs → vue-ui-timer-D7EKaAqa.cjs} +1 -1
- package/dist/{vue-ui-timer-Bk3BvB-B.js → vue-ui-timer-Gk3bl_em.js} +6 -6
- package/dist/{vue-ui-tiremarks-CU9HJIqf.js → vue-ui-tiremarks-AcEjMpJH.js} +119 -112
- package/dist/vue-ui-tiremarks-UX2FbnyG.cjs +1 -0
- package/dist/{vue-ui-treemap-DY-lRAhC.js → vue-ui-treemap-CFTpzgX5.js} +266 -258
- package/dist/vue-ui-treemap-D6CTMfsm.cjs +1 -0
- package/dist/vue-ui-vertical-bar-BzY2H3UC.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CtnIKsM1.js → vue-ui-vertical-bar-CuBJx5l1.js} +245 -237
- package/dist/vue-ui-waffle-CZxR13EG.cjs +1 -0
- package/dist/{vue-ui-waffle-reOsx-gJ.js → vue-ui-waffle-rDfZLxvH.js} +224 -216
- package/dist/{vue-ui-wheel-kYxny3vn.js → vue-ui-wheel-BFt2o4yO.js} +125 -117
- package/dist/vue-ui-wheel-BM-St3xT.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DwLY4QdB.cjs → vue-ui-word-cloud-DjKyKUbA.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DbMqrHAf.js → vue-ui-word-cloud-pNPIrJ-g.js} +11 -11
- package/dist/vue-ui-xy-CBZUMMlP.cjs +3 -0
- package/dist/{vue-ui-xy-rbACig0h.js → vue-ui-xy-DwkEc4Np.js} +302 -291
- package/dist/{vue-ui-xy-canvas-B0HTR7OV.js → vue-ui-xy-canvas-CW90CROL.js} +12 -12
- package/dist/{vue-ui-xy-canvas-CgJd5FiT.cjs → vue-ui-xy-canvas-DWGGLom_.cjs} +1 -1
- package/package.json +1 -1
- package/dist/PenAndPaper-CDFVOo7X.cjs +0 -1
- package/dist/PenAndPaper-DAZYA8Ew.js +0 -269
- package/dist/useResponsive-CodiGUOE.cjs +0 -1
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +0 -1
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +0 -34
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +0 -2
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +0 -6
- package/dist/vue-ui-donut-D7KT9EAp.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +0 -1
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +0 -9
- package/dist/vue-ui-flow-D6rc8J-8.cjs +0 -1
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +0 -1
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +0 -1
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +0 -1
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +0 -1
- package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +0 -17
- package/dist/vue-ui-onion-GWNoZRhw.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +0 -8
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +0 -1
- package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +0 -15
- package/dist/vue-ui-radar-BJH5SE6-.cjs +0 -1
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +0 -1
- package/dist/vue-ui-relation-circle-xv2l5Be9.js +0 -358
- package/dist/vue-ui-rings-DjH3CK23.cjs +0 -2
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +0 -1
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +0 -1
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +0 -1
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +0 -1
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +0 -1
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +0 -4
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +0 -1
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +0 -1
- package/dist/vue-ui-xy-CGWzriYn.cjs +0 -3
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { c as J, a as K, t as Q, z as j, p as $, U as q, O as R, f as U, K as ee, F as te, i as ae, $ as ie, Z as re, a0 as le, v as se, a1 as ne, d as oe, B as ce, b as he, q as
|
|
2
|
-
import { D as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { _ as we, u as Oe } from "./Tooltip-
|
|
5
|
-
import { U as Ge } from "./usePrinter-
|
|
6
|
-
import { _ as ve } from "./Shape-
|
|
7
|
-
import pe from "./BaseIcon-
|
|
8
|
-
import ze from "./vue-ui-table-sparkline-
|
|
9
|
-
import Me from "./vue-ui-skeleton-
|
|
10
|
-
import { S as Pe } from "./Slicer-
|
|
11
|
-
import Te from "./vue-ui-accordion-
|
|
12
|
-
import { u as Z } from "./useNestedProp-
|
|
13
|
-
import { _ as Ve } from "./PackageVersion-
|
|
14
|
-
import { P as Re } from "./PenAndPaper-
|
|
15
|
-
import { resolveComponent as T, openBlock as r, createElementBlock as l, normalizeClass as V, normalizeStyle as C, createBlock as D, createCommentVNode as h, createSlots as De, withCtx as M, renderSlot as
|
|
16
|
-
import { _ as
|
|
1
|
+
import { c as J, a as K, t as Q, z as j, p as $, U as q, O as R, f as U, K as ee, F as te, i as ae, $ as ie, Z as re, a0 as le, v as se, a1 as ne, d as oe, B as ce, b as he, q as ue, R as de, a2 as ge, r as fe, e as Ne, y as me, M as Ie, x as xe, a3 as be, o as Fe, s as _e, w as ye, E as Ae, A as Ce, u as Le } from "./index-C1GB0E49.js";
|
|
2
|
+
import { D as ke } from "./DataTable-rs_YrvMR.js";
|
|
3
|
+
import { _ as Se } from "./Title-W7iJGPjg.js";
|
|
4
|
+
import { _ as we, u as Oe } from "./Tooltip-Pv3Bhir5.js";
|
|
5
|
+
import { U as Ge } from "./usePrinter-y5uHyknw.js";
|
|
6
|
+
import { _ as ve } from "./Shape-CBrmBvYy.js";
|
|
7
|
+
import pe from "./BaseIcon-D9DRVW03.js";
|
|
8
|
+
import ze from "./vue-ui-table-sparkline-BU-hOCZ7.js";
|
|
9
|
+
import Me from "./vue-ui-skeleton-CE6ibl1T.js";
|
|
10
|
+
import { S as Pe } from "./Slicer-4R6np1wa.js";
|
|
11
|
+
import Te from "./vue-ui-accordion-DWyRC3-h.js";
|
|
12
|
+
import { u as Z } from "./useNestedProp-CNAPgW6E.js";
|
|
13
|
+
import { _ as Ve } from "./PackageVersion-D9rYHrFZ.js";
|
|
14
|
+
import { P as Re } from "./PenAndPaper-C-KjtyNA.js";
|
|
15
|
+
import { resolveComponent as T, openBlock as r, createElementBlock as l, normalizeClass as V, normalizeStyle as C, createBlock as D, createCommentVNode as h, createSlots as De, withCtx as M, renderSlot as O, normalizeProps as W, guardReactiveProps as B, createVNode as X, createElementVNode as d, Fragment as N, renderList as I, toDisplayString as k, withDirectives as He, vModelCheckbox as We, createTextVNode as Be } from "vue";
|
|
16
|
+
import { _ as Ee } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
const Ye = J(), Xe = {
|
|
18
18
|
name: "vue-ui-xy",
|
|
19
19
|
props: {
|
|
@@ -31,9 +31,9 @@ const Ye = J(), Xe = {
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
components: {
|
|
34
|
-
DataTable:
|
|
34
|
+
DataTable: ke,
|
|
35
35
|
Shape: ve,
|
|
36
|
-
Title:
|
|
36
|
+
Title: Se,
|
|
37
37
|
Tooltip: we,
|
|
38
38
|
UserOptions: Ge,
|
|
39
39
|
BaseIcon: pe,
|
|
@@ -141,6 +141,9 @@ const Ye = J(), Xe = {
|
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
143
|
computed: {
|
|
144
|
+
hasOptionsNoTitle() {
|
|
145
|
+
return this.FINAL_CONFIG.chart.userOptions.show && (!this.FINAL_CONFIG.chart.title.show || !this.FINAL_CONFIG.chart.title.text);
|
|
146
|
+
},
|
|
144
147
|
minimap() {
|
|
145
148
|
if (!this.FINAL_CONFIG.chart.zoom.minimap.show) return [];
|
|
146
149
|
const t = this.datasetWithIds.filter((a) => !this.segregatedSeries.includes(a.id)), s = Math.max(...t.map((a) => a.series.length)), c = [];
|
|
@@ -317,48 +320,48 @@ const Ye = J(), Xe = {
|
|
|
317
320
|
barSet() {
|
|
318
321
|
return this.activeSeriesWithStackRatios.filter((t) => t.type === "bar").map((t, s) => {
|
|
319
322
|
this.checkAutoScaleError(t);
|
|
320
|
-
const c = Math.min(...t.absoluteValues.filter((
|
|
321
|
-
ratios: t.absoluteValues.filter((
|
|
323
|
+
const c = Math.min(...t.absoluteValues.filter((u) => ![null, void 0].includes(u))), f = Math.max(...t.absoluteValues.filter((u) => ![null, void 0].includes(u))), e = {
|
|
324
|
+
ratios: t.absoluteValues.filter((u) => ![null, void 0].includes(u)).map((u) => (u - c) / (f - c)),
|
|
322
325
|
valueMin: c,
|
|
323
326
|
valueMax: f < 0 ? 0 : f
|
|
324
327
|
}, x = {
|
|
325
328
|
max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
|
|
326
|
-
min: t.scaleMin || Math.min(...t.absoluteValues.filter((
|
|
327
|
-
}, y = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps,
|
|
328
|
-
const
|
|
329
|
+
min: t.scaleMin || Math.min(...t.absoluteValues.filter((u) => ![void 0, null].includes(u))) > 0 ? 0 : Math.min(...t.absoluteValues.filter((u) => ![null, void 0].includes(u)))
|
|
330
|
+
}, y = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, S = 1.0000001, m = this.calculateNiceScaleWithExactExtremes(x.min, x.max === x.min ? x.max * S : x.max, y), b = this.calculateNiceScaleWithExactExtremes(e.valueMin, e.valueMax === e.valueMin ? e.valueMax * S : e.valueMax, y), P = m.min >= 0 ? 0 : Math.abs(m.min), v = 0, p = m.max + P, w = b.max + Math.abs(v), _ = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, L = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, z = this.drawingArea.bottom - _ - L * P / p, i = this.drawingArea.bottom - _ - L * v / w, o = this.absoluteDataset.filter((u) => u.type === "bar").filter((u) => !this.segregatedSeries.includes(u.id)).length, n = t.series.map((u, F) => {
|
|
331
|
+
const E = this.mutableConfig.useIndividualScale ? (t.absoluteValues[F] + P) / p : this.ratioToMax(u), Y = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * F : this.drawingArea.left + this.slot.bar * s + this.slot.bar * F * o - this.barSlot / 2 - s * this.barPeriodGap;
|
|
329
332
|
return {
|
|
330
333
|
yOffset: this.checkNaN(_),
|
|
331
334
|
individualHeight: this.checkNaN(L),
|
|
332
335
|
x: this.checkNaN(Y),
|
|
333
|
-
y: this.drawingArea.bottom - _ - L *
|
|
336
|
+
y: this.drawingArea.bottom - _ - L * E,
|
|
334
337
|
value: t.absoluteValues[F],
|
|
335
338
|
zeroPosition: this.checkNaN(z),
|
|
336
|
-
individualMax: this.checkNaN(
|
|
339
|
+
individualMax: this.checkNaN(p),
|
|
337
340
|
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
|
|
338
341
|
};
|
|
339
|
-
}), g = t.absoluteValues.map((
|
|
340
|
-
const
|
|
342
|
+
}), g = t.absoluteValues.map((u) => b.min >= 0 ? (u - Math.abs(b.min)) / (b.max - Math.abs(b.min)) : (u + Math.abs(b.min)) / (b.max + Math.abs(b.min))), H = t.series.map((u, F) => {
|
|
343
|
+
const E = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * F : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * s + this.slot.bar * F * this.absoluteDataset.filter((Y) => Y.type === "bar").filter((Y) => !this.segregatedSeries.includes(Y.id)).length;
|
|
341
344
|
return {
|
|
342
345
|
yOffset: this.checkNaN(_),
|
|
343
346
|
individualHeight: this.checkNaN(L),
|
|
344
|
-
x: this.checkNaN(
|
|
347
|
+
x: this.checkNaN(E),
|
|
345
348
|
y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(_) - (this.checkNaN(L) * g[F] || 0)),
|
|
346
349
|
value: t.absoluteValues[F],
|
|
347
350
|
zeroPosition: this.checkNaN(z),
|
|
348
|
-
individualMax: this.checkNaN(
|
|
351
|
+
individualMax: this.checkNaN(p),
|
|
349
352
|
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
|
|
350
353
|
};
|
|
351
|
-
}), A = m.ticks.map((
|
|
352
|
-
y:
|
|
353
|
-
value:
|
|
354
|
+
}), A = m.ticks.map((u) => ({
|
|
355
|
+
y: u >= 0 ? z - L * (u / p) : z + L * Math.abs(u) / p,
|
|
356
|
+
value: u,
|
|
354
357
|
prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
355
358
|
suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
356
359
|
datapoint: t
|
|
357
|
-
})),
|
|
358
|
-
const F = (
|
|
360
|
+
})), G = b.ticks.map((u) => {
|
|
361
|
+
const F = (u - b.min) / (b.max - b.min);
|
|
359
362
|
return {
|
|
360
|
-
y:
|
|
361
|
-
value:
|
|
363
|
+
y: u >= 0 ? i - L * F : i + L * F,
|
|
364
|
+
value: u,
|
|
362
365
|
prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
363
366
|
suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
364
367
|
datapoint: t
|
|
@@ -367,13 +370,13 @@ const Ye = J(), Xe = {
|
|
|
367
370
|
return {
|
|
368
371
|
...t,
|
|
369
372
|
yOffset: _,
|
|
370
|
-
autoScaleYLabels:
|
|
373
|
+
autoScaleYLabels: G,
|
|
371
374
|
individualHeight: L,
|
|
372
|
-
scaleYLabels: t.autoScaling ?
|
|
375
|
+
scaleYLabels: t.autoScaling ? G : A,
|
|
373
376
|
individualScale: t.autoScaling ? b : m,
|
|
374
|
-
individualMax: t.autoScaling ?
|
|
377
|
+
individualMax: t.autoScaling ? w : p,
|
|
375
378
|
zeroPosition: t.autoScaling ? i : z,
|
|
376
|
-
plots: t.autoScaling ?
|
|
379
|
+
plots: t.autoScaling ? H : n
|
|
377
380
|
};
|
|
378
381
|
});
|
|
379
382
|
},
|
|
@@ -386,42 +389,42 @@ const Ye = J(), Xe = {
|
|
|
386
389
|
lineSet() {
|
|
387
390
|
return this.activeSeriesWithStackRatios.filter((t) => t.type === "line").map((t) => {
|
|
388
391
|
this.checkAutoScaleError(t);
|
|
389
|
-
const s = Math.min(...t.absoluteValues.filter((
|
|
390
|
-
ratios: t.absoluteValues.filter((
|
|
392
|
+
const s = Math.min(...t.absoluteValues.filter((u) => ![void 0, null].includes(u))), c = Math.max(...t.absoluteValues.filter((u) => ![void 0, null].includes(u))) || 1, a = {
|
|
393
|
+
ratios: t.absoluteValues.filter((u) => ![null, void 0].includes(u)).map((u) => (u - s) / (c - s)),
|
|
391
394
|
valueMin: s,
|
|
392
395
|
valueMax: c
|
|
393
396
|
}, e = {
|
|
394
397
|
max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
|
|
395
398
|
min: t.scaleMin || (Math.min(...t.absoluteValues) > 0 ? 0 : Math.min(...t.absoluteValues))
|
|
396
|
-
}, x = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, y = 1.0000001,
|
|
397
|
-
const
|
|
399
|
+
}, x = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, y = 1.0000001, S = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * y : e.max, x), m = this.calculateNiceScaleWithExactExtremes(a.valueMin, a.valueMax === a.valueMin ? a.valueMax * y : a.valueMax, x), b = S.min >= 0 ? 0 : Math.abs(S.min), P = 0, v = S.max + Math.abs(b), p = m.max + Math.abs(P), w = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, L = this.drawingArea.bottom - w - _ * b / v, z = this.drawingArea.bottom - w - _ * P / p, i = t.series.map((u, F) => {
|
|
400
|
+
const E = this.mutableConfig.useIndividualScale ? (t.absoluteValues[F] + Math.abs(b)) / v : this.ratioToMax(u);
|
|
398
401
|
return {
|
|
399
402
|
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * F),
|
|
400
|
-
y: this.checkNaN(this.drawingArea.bottom -
|
|
403
|
+
y: this.checkNaN(this.drawingArea.bottom - w - _ * E),
|
|
401
404
|
value: t.absoluteValues[F],
|
|
402
405
|
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
|
|
403
406
|
};
|
|
404
|
-
}), o = t.absoluteValues.map((
|
|
407
|
+
}), o = t.absoluteValues.map((u) => m.min >= 0 ? (u - Math.abs(m.min)) / (m.max - Math.abs(m.min)) : (u + Math.abs(m.min)) / (m.max + Math.abs(m.min))), n = t.series.map((u, F) => [void 0, null].includes(t.absoluteValues[F]) ? {
|
|
405
408
|
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * F),
|
|
406
409
|
y: L,
|
|
407
410
|
value: t.absoluteValues[F],
|
|
408
411
|
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
|
|
409
412
|
} : {
|
|
410
413
|
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * F),
|
|
411
|
-
y: this.checkNaN(this.drawingArea.bottom -
|
|
414
|
+
y: this.checkNaN(this.drawingArea.bottom - w - (_ * o[F] || 0)),
|
|
412
415
|
value: t.absoluteValues[F],
|
|
413
416
|
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
|
|
414
|
-
}), g = this.createSmoothPath(i),
|
|
415
|
-
y:
|
|
416
|
-
value:
|
|
417
|
+
}), g = this.createSmoothPath(i), H = this.createSmoothPath(n), A = S.ticks.map((u) => ({
|
|
418
|
+
y: u >= 0 ? L - _ * (u / v) : L + _ * Math.abs(u) / v,
|
|
419
|
+
value: u,
|
|
417
420
|
prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
418
421
|
suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
419
422
|
datapoint: t
|
|
420
|
-
})),
|
|
421
|
-
const F = (
|
|
423
|
+
})), G = m.ticks.map((u) => {
|
|
424
|
+
const F = (u - m.min) / (m.max - m.min);
|
|
422
425
|
return {
|
|
423
|
-
y:
|
|
424
|
-
value:
|
|
426
|
+
y: u >= 0 ? z - _ * F : z + _ * F,
|
|
427
|
+
value: u,
|
|
425
428
|
prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
426
429
|
suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
427
430
|
datapoint: t
|
|
@@ -429,14 +432,14 @@ const Ye = J(), Xe = {
|
|
|
429
432
|
});
|
|
430
433
|
return {
|
|
431
434
|
...t,
|
|
432
|
-
yOffset:
|
|
433
|
-
autoScaleYLabels:
|
|
435
|
+
yOffset: w,
|
|
436
|
+
autoScaleYLabels: G,
|
|
434
437
|
individualHeight: _,
|
|
435
|
-
scaleYLabels: t.autoScaling ?
|
|
436
|
-
individualScale: t.autoScaling ? m :
|
|
437
|
-
individualMax: t.autoScaling ?
|
|
438
|
+
scaleYLabels: t.autoScaling ? G : A,
|
|
439
|
+
individualScale: t.autoScaling ? m : S,
|
|
440
|
+
individualMax: t.autoScaling ? p : v,
|
|
438
441
|
zeroPosition: t.autoScaling ? z : L,
|
|
439
|
-
curve: t.autoScaling ?
|
|
442
|
+
curve: t.autoScaling ? H : g,
|
|
440
443
|
plots: t.autoScaling ? n : i,
|
|
441
444
|
area: t.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(t.autoScaling ? n : i, t.autoScaling ? z : L) : this.createArea(i) : ""
|
|
442
445
|
};
|
|
@@ -452,29 +455,29 @@ const Ye = J(), Xe = {
|
|
|
452
455
|
}, e = {
|
|
453
456
|
max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
|
|
454
457
|
min: t.scaleMin || Math.min(...t.absoluteValues) > 0 ? 0 : Math.min(...t.absoluteValues)
|
|
455
|
-
}, x = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, y = 1.0000001,
|
|
456
|
-
const
|
|
458
|
+
}, x = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, y = 1.0000001, S = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * y : e.max, x), m = this.calculateNiceScaleWithExactExtremes(a.valueMin, a.valueMax === a.valueMin ? a.valueMax * y : a.valueMax, x), b = S.min >= 0 ? 0 : Math.abs(S.min), P = 0, v = S.max + b, p = m.max + Math.abs(P), w = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, L = this.drawingArea.bottom - w - _ * b / v, z = this.drawingArea.bottom - w - _ * P / p, i = t.series.map((A, G) => {
|
|
459
|
+
const u = this.mutableConfig.useIndividualScale ? (t.absoluteValues[G] + Math.abs(b)) / v : this.ratioToMax(A);
|
|
457
460
|
return {
|
|
458
|
-
x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot *
|
|
459
|
-
y: this.checkNaN(this.drawingArea.bottom -
|
|
460
|
-
value: t.absoluteValues[
|
|
461
|
-
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[
|
|
461
|
+
x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * G),
|
|
462
|
+
y: this.checkNaN(this.drawingArea.bottom - w - _ * u),
|
|
463
|
+
value: t.absoluteValues[G],
|
|
464
|
+
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[G] || ""
|
|
462
465
|
};
|
|
463
|
-
}), o = t.absoluteValues.map((A) => m.min >= 0 ? (A - Math.abs(m.min)) / (m.max - Math.abs(m.min)) : (A + Math.abs(m.min)) / (m.max + Math.abs(m.min))), n = t.series.map((A,
|
|
464
|
-
x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot *
|
|
465
|
-
y: this.checkNaN(this.drawingArea.bottom -
|
|
466
|
-
value: t.absoluteValues[
|
|
467
|
-
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[
|
|
468
|
-
})), g =
|
|
469
|
-
y: A >= 0 ? L - _ * (A /
|
|
466
|
+
}), o = t.absoluteValues.map((A) => m.min >= 0 ? (A - Math.abs(m.min)) / (m.max - Math.abs(m.min)) : (A + Math.abs(m.min)) / (m.max + Math.abs(m.min))), n = t.series.map((A, G) => ({
|
|
467
|
+
x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * G),
|
|
468
|
+
y: this.checkNaN(this.drawingArea.bottom - w - (_ * o[G] || 0)),
|
|
469
|
+
value: t.absoluteValues[G],
|
|
470
|
+
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[G] || ""
|
|
471
|
+
})), g = S.ticks.map((A) => ({
|
|
472
|
+
y: A >= 0 ? L - _ * (A / v) : L + _ * Math.abs(A) / v,
|
|
470
473
|
value: A,
|
|
471
474
|
prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
472
475
|
suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
473
476
|
datapoint: t
|
|
474
|
-
})),
|
|
475
|
-
const
|
|
477
|
+
})), H = m.ticks.map((A) => {
|
|
478
|
+
const G = (A - m.min) / (m.max - m.min);
|
|
476
479
|
return {
|
|
477
|
-
y: A >= 0 ? z - _ *
|
|
480
|
+
y: A >= 0 ? z - _ * G : z + _ * G,
|
|
478
481
|
value: A,
|
|
479
482
|
prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
480
483
|
suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
@@ -483,12 +486,12 @@ const Ye = J(), Xe = {
|
|
|
483
486
|
});
|
|
484
487
|
return {
|
|
485
488
|
...t,
|
|
486
|
-
yOffset:
|
|
487
|
-
autoScaleYLabels:
|
|
489
|
+
yOffset: w,
|
|
490
|
+
autoScaleYLabels: H,
|
|
488
491
|
individualHeight: _,
|
|
489
|
-
scaleYLabels: t.autoScaling ?
|
|
490
|
-
individualScale: t.autoScaling ? m :
|
|
491
|
-
individualMax: t.autoScaling ?
|
|
492
|
+
scaleYLabels: t.autoScaling ? H : g,
|
|
493
|
+
individualScale: t.autoScaling ? m : S,
|
|
494
|
+
individualMax: t.autoScaling ? p : v,
|
|
492
495
|
zeroPosition: t.autoScaling ? z : L,
|
|
493
496
|
plots: t.autoScaling ? n : i
|
|
494
497
|
};
|
|
@@ -560,7 +563,7 @@ const Ye = J(), Xe = {
|
|
|
560
563
|
t && (s = s.concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>'));
|
|
561
564
|
let c = [];
|
|
562
565
|
for (let e = 0; e < this.maxSeries; e += 1) {
|
|
563
|
-
const x = this.relativeDataset.map((y) => y.absoluteValues[e] ?? 0).reduce((y,
|
|
566
|
+
const x = this.relativeDataset.map((y) => y.absoluteValues[e] ?? 0).reduce((y, S) => y + S, 0);
|
|
564
567
|
c.push(
|
|
565
568
|
[
|
|
566
569
|
this.timeLabels[e] ?? "-"
|
|
@@ -731,8 +734,8 @@ const Ye = J(), Xe = {
|
|
|
731
734
|
convertColorToHex: oe,
|
|
732
735
|
convertConfigColors: ce,
|
|
733
736
|
convertCustomPalette: he,
|
|
734
|
-
createCsvContent:
|
|
735
|
-
createSmoothPath:
|
|
737
|
+
createCsvContent: ue,
|
|
738
|
+
createSmoothPath: de,
|
|
736
739
|
createTSpans: ge,
|
|
737
740
|
dataLabel: U,
|
|
738
741
|
downloadCsv: fe,
|
|
@@ -805,12 +808,14 @@ const Ye = J(), Xe = {
|
|
|
805
808
|
this.FINAL_CONFIG.chart.title.show && (a = this.$refs.chartTitle, e = a.getBoundingClientRect().height);
|
|
806
809
|
let x = null, y = 0;
|
|
807
810
|
this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (x = this.$refs.chartSlicer.$el, y = x.getBoundingClientRect().height);
|
|
808
|
-
let
|
|
809
|
-
this.FINAL_CONFIG.chart.legend.show && (
|
|
811
|
+
let S = null, m = 0;
|
|
812
|
+
this.FINAL_CONFIG.chart.legend.show && (S = this.$refs.chartLegend, m = S.getBoundingClientRect().height);
|
|
810
813
|
let b = 0;
|
|
811
|
-
this.$refs.source && (b = this.$refs.source.getBoundingClientRect().height)
|
|
812
|
-
|
|
813
|
-
|
|
814
|
+
this.$refs.source && (b = this.$refs.source.getBoundingClientRect().height);
|
|
815
|
+
let P = 0;
|
|
816
|
+
this.$refs.noTitle && (P = this.$refs.source.getBoundingClientRect().height), this.height = c - e - m - y - b - P, this.width = f, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((p) => {
|
|
817
|
+
for (const w of p)
|
|
818
|
+
this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (y = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (m = this.$refs.chartLegend.getBoundingClientRect().height), this.$refs.source && (b = this.$refs.source.getBoundingClientRect().height), this.height = w.contentBoxSize[0].blockSize - e - m - y - b - 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();
|
|
814
819
|
}).observe(s);
|
|
815
820
|
} else
|
|
816
821
|
this.height = this.FINAL_CONFIG.chart.height, this.width = this.FINAL_CONFIG.chart.width, this.viewBox = `0 0 ${this.width} ${this.height}`, this.fontSizes.dataLabels = this.FINAL_CONFIG.chart.grid.labels.fontSize, this.fontSizes.yAxis = this.FINAL_CONFIG.chart.grid.labels.axis.fontSize, this.fontSizes.xAxis = this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.fontSize, this.fontSizes.plotLabels = this.FINAL_CONFIG.chart.labels.fontSize, this.plotRadii.plot = this.FINAL_CONFIG.plot.radius, this.plotRadii.line = this.FINAL_CONFIG.line.radius;
|
|
@@ -1017,37 +1022,42 @@ const Ye = J(), Xe = {
|
|
|
1017
1022
|
}, 100);
|
|
1018
1023
|
}
|
|
1019
1024
|
}
|
|
1020
|
-
}, qe = ["id"], Ue =
|
|
1021
|
-
key:
|
|
1025
|
+
}, qe = ["id"], Ue = {
|
|
1026
|
+
key: 1,
|
|
1027
|
+
ref: "noTitle",
|
|
1028
|
+
class: "vue-data-ui-no-title-space",
|
|
1029
|
+
style: "height:36px; width: 100%; background:transparent"
|
|
1030
|
+
}, Ze = ["viewBox"], Je = { key: 0 }, Ke = { class: "vue-ui-xy-grid" }, Qe = ["stroke", "x1", "x2", "y1", "y2"], je = ["stroke", "x1", "x2", "y1", "y2"], $e = { key: 1 }, et = ["x1", "x2", "y1", "y2", "stroke"], tt = ["x1", "x2", "y1", "y2", "stroke"], at = ["x1", "x2", "y1", "y2", "stroke"], it = { key: 3 }, rt = ["x1", "x2", "y1", "y2", "stroke"], lt = ["id"], st = ["stop-color"], nt = ["stop-color"], ot = ["stop-color"], ct = ["id"], ht = ["stop-color"], ut = ["stop-color"], dt = ["stop-color"], gt = ["id"], ft = ["stop-color"], Nt = ["stop-color"], mt = ["id"], It = ["stop-color"], xt = ["stop-color"], bt = ["id"], Ft = ["stop-color"], _t = ["stop-color"], yt = ["x", "y", "height", "width", "fill"], At = ["x", "y", "width"], Ct = ["x", "y", "height", "width", "fill"], Lt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], kt = ["width", "x", "y"], St = { key: 0 }, wt = ["id"], Ot = ["fill"], Gt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], vt = ["x", "y", "font-size", "fill"], pt = ["stroke", "x1", "x2", "y1", "y2"], zt = { key: 2 }, Mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Pt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Tt = { key: 4 }, Vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Rt = ["fill", "font-size", "transform"], Dt = ["x1", "x2", "y1", "y2", "stroke"], Ht = ["x", "y", "font-size", "fill"], Wt = ["x1", "x2", "y1", "y2", "stroke"], Bt = ["x", "y", "font-size", "fill"], Et = ["width", "x", "y"], Yt = { style: { width: "100%" } }, Xt = { key: 0 }, qt = ["id"], Ut = ["fill"], Zt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Jt = ["x", "y", "font-size", "fill"], Kt = ["d", "stroke", "stroke-width", "stroke-dasharray"], Qt = { key: 1 }, jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], $t = { key: 0 }, ea = ["d", "fill"], ta = ["d", "fill"], aa = ["d", "stroke", "stroke-width", "stroke-dasharray"], ia = { key: 2 }, ra = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], la = ["width", "x", "y"], sa = { style: { width: "100%" } }, na = { key: 3 }, oa = ["id"], ca = ["fill"], ha = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ua = ["x", "y", "font-size", "fill"], da = { key: 5 }, ga = ["x", "y", "font-size", "fill"], fa = ["x", "y", "font-size", "fill", "font-weight"], Na = { key: 6 }, ma = ["x", "y", "font-size", "fill"], Ia = ["x", "y"], xa = ["x", "y"], ba = { key: 7 }, Fa = ["x", "y", "font-size", "fill"], _a = ["x", "y"], ya = ["x", "y"], Aa = ["x", "y", "font-size", "fill", "innerHTML"], Ca = ["x", "y", "font-size", "fill", "innerHTML"], La = ["x", "y", "font-size", "fill", "innerHTML"], ka = ["x", "y", "font-size", "fill", "innerHTML"], Sa = ["x", "y", "width", "height", "fill", "onMouseenter"], wa = ["font-size", "fill", "transform"], Oa = ["x", "y", "font-size", "fill"], Ga = { key: 9 }, va = ["text-anchor", "font-size", "fill", "transform"], pa = ["x", "y", "height", "width", "onMouseenter", "onClick"], za = { key: 10 }, Ma = ["x", "y"], Pa = ["cx", "cy", "r", "fill"], Ta = {
|
|
1031
|
+
key: 5,
|
|
1022
1032
|
class: "vue-data-ui-watermark"
|
|
1023
|
-
},
|
|
1033
|
+
}, Va = ["onClick"], Ra = {
|
|
1024
1034
|
key: 0,
|
|
1025
1035
|
viewBox: "0 0 20 12",
|
|
1026
1036
|
height: "14",
|
|
1027
1037
|
width: "20"
|
|
1028
|
-
},
|
|
1038
|
+
}, Da = ["fill"], Ha = {
|
|
1029
1039
|
key: 1,
|
|
1030
1040
|
viewBox: "0 0 12 12",
|
|
1031
1041
|
height: "14",
|
|
1032
1042
|
width: "14"
|
|
1033
|
-
}, Wa = ["fill"],
|
|
1034
|
-
key:
|
|
1043
|
+
}, Wa = ["fill"], Ba = {
|
|
1044
|
+
key: 9,
|
|
1035
1045
|
ref: "chartLegend"
|
|
1036
1046
|
}, Ea = {
|
|
1037
|
-
key:
|
|
1047
|
+
key: 10,
|
|
1038
1048
|
ref: "source",
|
|
1039
1049
|
dir: "auto"
|
|
1040
|
-
},
|
|
1050
|
+
}, Ya = {
|
|
1041
1051
|
style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
|
|
1042
1052
|
"data-html2canvas-ignore": ""
|
|
1043
|
-
},
|
|
1044
|
-
function
|
|
1045
|
-
const x = T("PenAndPaper"), y = T("Title"),
|
|
1053
|
+
}, Xa = ["innerHTML"];
|
|
1054
|
+
function qa(t, s, c, f, a, e) {
|
|
1055
|
+
const x = T("PenAndPaper"), y = T("Title"), S = T("UserOptions"), m = T("PackageVersion"), b = T("Shape"), P = T("Skeleton"), v = T("Slicer"), p = T("Tooltip"), w = T("BaseIcon"), _ = T("TableSparkline"), L = T("DataTable"), z = T("Accordion");
|
|
1046
1056
|
return r(), l("div", {
|
|
1047
1057
|
id: `vue-ui-xy_${a.uniqueId}`,
|
|
1048
1058
|
class: V(`vue-ui-xy ${a.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
1049
1059
|
ref: "chart",
|
|
1050
|
-
style: C(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color};width:100
|
|
1060
|
+
style: C(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color};width:100%;font-family:${e.FINAL_CONFIG.chart.fontFamily};${e.FINAL_CONFIG.responsive ? "height: 100%" : ""}`)
|
|
1051
1061
|
}, [
|
|
1052
1062
|
e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (r(), D(x, {
|
|
1053
1063
|
key: 0,
|
|
@@ -1057,8 +1067,9 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1057
1067
|
active: a.isAnnotator,
|
|
1058
1068
|
onClose: e.toggleAnnotator
|
|
1059
1069
|
}, null, 8, ["parent", "backgroundColor", "color", "active", "onClose"])) : h("", !0),
|
|
1070
|
+
e.hasOptionsNoTitle ? (r(), l("div", Ue, null, 512)) : h("", !0),
|
|
1060
1071
|
e.FINAL_CONFIG.chart.title.show ? (r(), l("div", {
|
|
1061
|
-
key:
|
|
1072
|
+
key: 2,
|
|
1062
1073
|
ref: "chartTitle",
|
|
1063
1074
|
class: "vue-ui-xy-title",
|
|
1064
1075
|
style: C(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
|
|
@@ -1077,7 +1088,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1077
1088
|
}
|
|
1078
1089
|
}, null, 8, ["config"]))
|
|
1079
1090
|
], 4)) : h("", !0),
|
|
1080
|
-
e.FINAL_CONFIG.chart.userOptions.show && e.isDataset ? (r(), D(
|
|
1091
|
+
e.FINAL_CONFIG.chart.userOptions.show && e.isDataset ? (r(), D(S, {
|
|
1081
1092
|
ref: "defails",
|
|
1082
1093
|
key: `user_options_${a.step}`,
|
|
1083
1094
|
backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
|
|
@@ -1114,69 +1125,69 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1114
1125
|
t.$slots.optionTooltip ? {
|
|
1115
1126
|
name: "optionTooltip",
|
|
1116
1127
|
fn: M(() => [
|
|
1117
|
-
|
|
1128
|
+
O(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
1118
1129
|
]),
|
|
1119
1130
|
key: "0"
|
|
1120
1131
|
} : void 0,
|
|
1121
1132
|
t.$slots.optionPdf ? {
|
|
1122
1133
|
name: "optionPdf",
|
|
1123
1134
|
fn: M(() => [
|
|
1124
|
-
|
|
1135
|
+
O(t.$slots, "optionPdf", {}, void 0, !0)
|
|
1125
1136
|
]),
|
|
1126
1137
|
key: "1"
|
|
1127
1138
|
} : void 0,
|
|
1128
1139
|
t.$slots.optionCsv ? {
|
|
1129
1140
|
name: "optionCsv",
|
|
1130
1141
|
fn: M(() => [
|
|
1131
|
-
|
|
1142
|
+
O(t.$slots, "optionCsv", {}, void 0, !0)
|
|
1132
1143
|
]),
|
|
1133
1144
|
key: "2"
|
|
1134
1145
|
} : void 0,
|
|
1135
1146
|
t.$slots.optionImg ? {
|
|
1136
1147
|
name: "optionImg",
|
|
1137
1148
|
fn: M(() => [
|
|
1138
|
-
|
|
1149
|
+
O(t.$slots, "optionImg", {}, void 0, !0)
|
|
1139
1150
|
]),
|
|
1140
1151
|
key: "3"
|
|
1141
1152
|
} : void 0,
|
|
1142
1153
|
t.$slots.optionTable ? {
|
|
1143
1154
|
name: "optionTable",
|
|
1144
1155
|
fn: M(() => [
|
|
1145
|
-
|
|
1156
|
+
O(t.$slots, "optionTable", {}, void 0, !0)
|
|
1146
1157
|
]),
|
|
1147
1158
|
key: "4"
|
|
1148
1159
|
} : void 0,
|
|
1149
1160
|
t.$slots.optionLabels ? {
|
|
1150
1161
|
name: "optionLabels",
|
|
1151
1162
|
fn: M(() => [
|
|
1152
|
-
|
|
1163
|
+
O(t.$slots, "optionLabels", {}, void 0, !0)
|
|
1153
1164
|
]),
|
|
1154
1165
|
key: "5"
|
|
1155
1166
|
} : void 0,
|
|
1156
1167
|
t.$slots.optionStack ? {
|
|
1157
1168
|
name: "optionStack",
|
|
1158
1169
|
fn: M(() => [
|
|
1159
|
-
|
|
1170
|
+
O(t.$slots, "optionStack", {}, void 0, !0)
|
|
1160
1171
|
]),
|
|
1161
1172
|
key: "6"
|
|
1162
1173
|
} : void 0,
|
|
1163
1174
|
t.$slots.optionFullscreen ? {
|
|
1164
1175
|
name: "optionFullscreen",
|
|
1165
1176
|
fn: M(({ toggleFullscreen: i, isFullscreen: o }) => [
|
|
1166
|
-
|
|
1177
|
+
O(t.$slots, "optionFullscreen", W(B({ toggleFullscreen: i, isFullscreen: o })), void 0, !0)
|
|
1167
1178
|
]),
|
|
1168
1179
|
key: "7"
|
|
1169
1180
|
} : void 0,
|
|
1170
1181
|
t.$slots.optionAnnotator ? {
|
|
1171
1182
|
name: "optionAnnotator",
|
|
1172
1183
|
fn: M(({ toggleAnnotator: i, isAnnotator: o }) => [
|
|
1173
|
-
|
|
1184
|
+
O(t.$slots, "optionAnnotator", W(B({ toggleAnnotator: i, isAnnotator: o })), void 0, !0)
|
|
1174
1185
|
]),
|
|
1175
1186
|
key: "8"
|
|
1176
1187
|
} : void 0
|
|
1177
1188
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onToggleFullscreen", "onGeneratePdf", "onGenerateCsv", "onGenerateImage", "onToggleTable", "onToggleLabels", "onToggleStack", "onToggleTooltip", "onToggleAnnotator"])) : h("", !0),
|
|
1178
1189
|
e.isDataset ? (r(), l("svg", {
|
|
1179
|
-
key:
|
|
1190
|
+
key: 4,
|
|
1180
1191
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1181
1192
|
class: V([{ "vue-data-ui-fullscreen--on": a.isFullscreen, "vue-data-ui-fulscreen--off": !a.isFullscreen }, "vue-ui-xy-svg"]),
|
|
1182
1193
|
width: "100%",
|
|
@@ -1184,8 +1195,8 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1184
1195
|
style: C(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
|
|
1185
1196
|
}, [
|
|
1186
1197
|
X(m),
|
|
1187
|
-
e.maxSeries > 0 ? (r(), l("g",
|
|
1188
|
-
|
|
1198
|
+
e.maxSeries > 0 ? (r(), l("g", Je, [
|
|
1199
|
+
d("g", Ke, [
|
|
1189
1200
|
e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (r(), l("line", {
|
|
1190
1201
|
key: 0,
|
|
1191
1202
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
@@ -1195,7 +1206,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1195
1206
|
y1: e.drawingArea.bottom,
|
|
1196
1207
|
y2: e.drawingArea.bottom,
|
|
1197
1208
|
"stroke-linecap": "round"
|
|
1198
|
-
}, null, 8,
|
|
1209
|
+
}, null, 8, Qe)) : h("", !0),
|
|
1199
1210
|
a.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(!0), l(N, { key: 2 }, I(e.allScales, (i) => (r(), l("g", null, [
|
|
1200
1211
|
i.id === a.selectedScale && i.yLabels.length ? (r(!0), l(N, { key: 0 }, I(i.yLabels, (o) => (r(), l("line", {
|
|
1201
1212
|
x1: e.drawingArea.left + e.xPadding,
|
|
@@ -1205,7 +1216,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1205
1216
|
stroke: i.color,
|
|
1206
1217
|
"stroke-width": 0.5,
|
|
1207
1218
|
"stroke-linecap": "round"
|
|
1208
|
-
}, null, 8,
|
|
1219
|
+
}, null, 8, tt))), 256)) : i.yLabels.length ? (r(!0), l(N, { key: 1 }, I(i.yLabels, (o) => (r(), l("line", {
|
|
1209
1220
|
x1: e.drawingArea.left + e.xPadding,
|
|
1210
1221
|
x2: e.drawingArea.right - e.xPadding,
|
|
1211
1222
|
y1: e.checkNaN(o.y),
|
|
@@ -1213,7 +1224,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1213
1224
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1214
1225
|
"stroke-width": 0.5,
|
|
1215
1226
|
"stroke-linecap": "round"
|
|
1216
|
-
}, null, 8,
|
|
1227
|
+
}, null, 8, at))), 256)) : h("", !0)
|
|
1217
1228
|
]))), 256)) : h("", !0) : (r(), l(N, { key: 1 }, [
|
|
1218
1229
|
e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (r(), l("line", {
|
|
1219
1230
|
key: 0,
|
|
@@ -1224,8 +1235,8 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1224
1235
|
y1: e.drawingArea.top,
|
|
1225
1236
|
y2: e.drawingArea.bottom,
|
|
1226
1237
|
"stroke-linecap": "round"
|
|
1227
|
-
}, null, 8,
|
|
1228
|
-
e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(), l("g",
|
|
1238
|
+
}, null, 8, je)) : h("", !0),
|
|
1239
|
+
e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(), l("g", $e, [
|
|
1229
1240
|
(r(!0), l(N, null, I(e.yLabels, (i) => (r(), l("line", {
|
|
1230
1241
|
x1: e.drawingArea.left + e.xPadding,
|
|
1231
1242
|
x2: e.drawingArea.right - e.xPadding,
|
|
@@ -1234,10 +1245,10 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1234
1245
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1235
1246
|
"stroke-width": 0.5,
|
|
1236
1247
|
"stroke-linecap": "round"
|
|
1237
|
-
}, null, 8,
|
|
1248
|
+
}, null, 8, et))), 256))
|
|
1238
1249
|
])) : h("", !0)
|
|
1239
1250
|
], 64)),
|
|
1240
|
-
e.FINAL_CONFIG.chart.grid.showVerticalLines ? (r(), l("g",
|
|
1251
|
+
e.FINAL_CONFIG.chart.grid.showVerticalLines ? (r(), l("g", it, [
|
|
1241
1252
|
(r(!0), l(N, null, I(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (i, o) => (r(), l("line", {
|
|
1242
1253
|
key: `grid_vertical_line_${o}`,
|
|
1243
1254
|
x1: e.drawingArea.width / e.maxSeries * o + e.drawingArea.left + e.xPadding,
|
|
@@ -1246,53 +1257,53 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1246
1257
|
y2: e.drawingArea.bottom,
|
|
1247
1258
|
"stroke-width": "0.5",
|
|
1248
1259
|
stroke: e.FINAL_CONFIG.chart.grid.stroke
|
|
1249
|
-
}, null, 8,
|
|
1260
|
+
}, null, 8, rt))), 128))
|
|
1250
1261
|
])) : h("", !0)
|
|
1251
1262
|
]),
|
|
1252
1263
|
(r(!0), l(N, null, I(e.barSet, (i, o) => (r(), l("defs", {
|
|
1253
1264
|
key: `def_rect_${o}`
|
|
1254
1265
|
}, [
|
|
1255
|
-
|
|
1266
|
+
d("linearGradient", {
|
|
1256
1267
|
id: `rectGradient_pos_${o}_${a.uniqueId}`,
|
|
1257
1268
|
x2: "0%",
|
|
1258
1269
|
y2: "100%"
|
|
1259
1270
|
}, [
|
|
1260
|
-
|
|
1271
|
+
d("stop", {
|
|
1261
1272
|
offset: "0%",
|
|
1262
1273
|
"stop-color": i.color
|
|
1263
|
-
}, null, 8,
|
|
1264
|
-
|
|
1274
|
+
}, null, 8, st),
|
|
1275
|
+
d("stop", {
|
|
1265
1276
|
offset: "62%",
|
|
1266
1277
|
"stop-color": `${e.shiftHue(i.color, 0.02)}`
|
|
1267
|
-
}, null, 8,
|
|
1268
|
-
|
|
1278
|
+
}, null, 8, nt),
|
|
1279
|
+
d("stop", {
|
|
1269
1280
|
offset: "100%",
|
|
1270
1281
|
"stop-color": `${e.shiftHue(i.color, 0.05)}`
|
|
1271
|
-
}, null, 8,
|
|
1272
|
-
], 8,
|
|
1273
|
-
|
|
1282
|
+
}, null, 8, ot)
|
|
1283
|
+
], 8, lt),
|
|
1284
|
+
d("linearGradient", {
|
|
1274
1285
|
id: `rectGradient_neg_${o}_${a.uniqueId}`,
|
|
1275
1286
|
x2: "0%",
|
|
1276
1287
|
y2: "100%"
|
|
1277
1288
|
}, [
|
|
1278
|
-
|
|
1289
|
+
d("stop", {
|
|
1279
1290
|
offset: "0%",
|
|
1280
1291
|
"stop-color": `${e.shiftHue(i.color, 0.05)}`
|
|
1281
|
-
}, null, 8,
|
|
1282
|
-
|
|
1292
|
+
}, null, 8, ht),
|
|
1293
|
+
d("stop", {
|
|
1283
1294
|
offset: "38%",
|
|
1284
1295
|
"stop-color": `${e.shiftHue(i.color, 0.02)}`
|
|
1285
|
-
}, null, 8,
|
|
1286
|
-
|
|
1296
|
+
}, null, 8, ut),
|
|
1297
|
+
d("stop", {
|
|
1287
1298
|
offset: "100%",
|
|
1288
1299
|
"stop-color": i.color
|
|
1289
1300
|
}, null, 8, dt)
|
|
1290
|
-
], 8,
|
|
1301
|
+
], 8, ct)
|
|
1291
1302
|
]))), 128)),
|
|
1292
1303
|
(r(!0), l(N, null, I(e.plotSet, (i, o) => (r(), l("defs", {
|
|
1293
1304
|
key: `def_plot_${o}`
|
|
1294
1305
|
}, [
|
|
1295
|
-
|
|
1306
|
+
d("radialGradient", {
|
|
1296
1307
|
id: `plotGradient_${o}_${a.uniqueId}`,
|
|
1297
1308
|
cx: "50%",
|
|
1298
1309
|
cy: "50%",
|
|
@@ -1300,20 +1311,20 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1300
1311
|
fx: "50%",
|
|
1301
1312
|
fy: "50%"
|
|
1302
1313
|
}, [
|
|
1303
|
-
|
|
1314
|
+
d("stop", {
|
|
1304
1315
|
offset: "0%",
|
|
1305
1316
|
"stop-color": `${e.shiftHue(i.color, 0.05)}`
|
|
1306
|
-
}, null, 8,
|
|
1307
|
-
|
|
1317
|
+
}, null, 8, ft),
|
|
1318
|
+
d("stop", {
|
|
1308
1319
|
offset: "100%",
|
|
1309
1320
|
"stop-color": i.color
|
|
1310
|
-
}, null, 8,
|
|
1311
|
-
], 8,
|
|
1321
|
+
}, null, 8, Nt)
|
|
1322
|
+
], 8, gt)
|
|
1312
1323
|
]))), 128)),
|
|
1313
1324
|
(r(!0), l(N, null, I(e.lineSet, (i, o) => (r(), l("defs", {
|
|
1314
1325
|
key: `def_line_${o}`
|
|
1315
1326
|
}, [
|
|
1316
|
-
|
|
1327
|
+
d("radialGradient", {
|
|
1317
1328
|
id: `lineGradient_${o}_${a.uniqueId}`,
|
|
1318
1329
|
cx: "50%",
|
|
1319
1330
|
cy: "50%",
|
|
@@ -1321,35 +1332,35 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1321
1332
|
fx: "50%",
|
|
1322
1333
|
fy: "50%"
|
|
1323
1334
|
}, [
|
|
1324
|
-
|
|
1335
|
+
d("stop", {
|
|
1325
1336
|
offset: "0%",
|
|
1326
1337
|
"stop-color": `${e.shiftHue(i.color, 0.05)}`
|
|
1327
|
-
}, null, 8,
|
|
1328
|
-
|
|
1338
|
+
}, null, 8, It),
|
|
1339
|
+
d("stop", {
|
|
1329
1340
|
offset: "100%",
|
|
1330
1341
|
"stop-color": i.color
|
|
1331
|
-
}, null, 8,
|
|
1332
|
-
], 8,
|
|
1333
|
-
|
|
1342
|
+
}, null, 8, xt)
|
|
1343
|
+
], 8, mt),
|
|
1344
|
+
d("linearGradient", {
|
|
1334
1345
|
id: `areaGradient_${o}_${a.uniqueId}`,
|
|
1335
1346
|
x1: "0%",
|
|
1336
1347
|
x2: "100%",
|
|
1337
1348
|
y1: "0%",
|
|
1338
1349
|
y2: "0%"
|
|
1339
1350
|
}, [
|
|
1340
|
-
|
|
1351
|
+
d("stop", {
|
|
1341
1352
|
offset: "0%",
|
|
1342
1353
|
"stop-color": `${e.setOpacity(e.shiftHue(i.color, 0.03), e.FINAL_CONFIG.line.area.opacity)}`
|
|
1343
|
-
}, null, 8,
|
|
1344
|
-
|
|
1354
|
+
}, null, 8, Ft),
|
|
1355
|
+
d("stop", {
|
|
1345
1356
|
offset: "100%",
|
|
1346
1357
|
"stop-color": `${e.setOpacity(i.color, e.FINAL_CONFIG.line.area.opacity)}`
|
|
1347
|
-
}, null, 8,
|
|
1348
|
-
], 8,
|
|
1358
|
+
}, null, 8, _t)
|
|
1359
|
+
], 8, bt)
|
|
1349
1360
|
]))), 128)),
|
|
1350
1361
|
(r(!0), l(N, null, I(e.highlightAreas, (i) => (r(), l("g", null, [
|
|
1351
1362
|
i.show ? (r(!0), l(N, { key: 0 }, I(i.span, (o, n) => (r(), l("g", null, [
|
|
1352
|
-
|
|
1363
|
+
d("rect", {
|
|
1353
1364
|
style: C({
|
|
1354
1365
|
transition: "none",
|
|
1355
1366
|
opacity: i.from + n >= a.slicer.start && i.from + n <= a.slicer.end - 1 ? 1 : 0
|
|
@@ -1359,7 +1370,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1359
1370
|
height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
|
|
1360
1371
|
width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
|
|
1361
1372
|
fill: e.setOpacity(i.color, i.opacity)
|
|
1362
|
-
}, null, 12,
|
|
1373
|
+
}, null, 12, yt),
|
|
1363
1374
|
i.caption.text && n === 0 ? (r(), l("foreignObject", {
|
|
1364
1375
|
key: 0,
|
|
1365
1376
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (i.from + n - a.slicer.start) - (i.caption.width === "auto" ? 0 : i.caption.width / 2 - e.drawingArea.width / e.maxSeries * i.span / 2),
|
|
@@ -1371,23 +1382,23 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1371
1382
|
height: "1",
|
|
1372
1383
|
width: i.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * i.span : i.caption.width
|
|
1373
1384
|
}, [
|
|
1374
|
-
|
|
1385
|
+
d("div", {
|
|
1375
1386
|
style: C(`padding:${i.caption.padding}px;text-align:${i.caption.textAlign};font-size:${i.caption.fontSize}px;color:${i.caption.color};font-weight:${i.caption.bold ? "bold" : "normal"}`)
|
|
1376
|
-
},
|
|
1377
|
-
], 12,
|
|
1387
|
+
}, k(i.caption.text), 5)
|
|
1388
|
+
], 12, At)) : h("", !0)
|
|
1378
1389
|
]))), 256)) : h("", !0)
|
|
1379
1390
|
]))), 256)),
|
|
1380
|
-
|
|
1391
|
+
d("g", null, [
|
|
1381
1392
|
(r(!0), l(N, null, I(e.maxSeries, (i, o) => (r(), l("g", {
|
|
1382
1393
|
key: `tooltip_trap_${o}`
|
|
1383
1394
|
}, [
|
|
1384
|
-
|
|
1395
|
+
d("rect", {
|
|
1385
1396
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * o,
|
|
1386
1397
|
y: e.drawingArea.top,
|
|
1387
1398
|
height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
|
|
1388
1399
|
width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
|
|
1389
1400
|
fill: [a.selectedMinimapIndex, a.selectedSerieIndex, a.selectedRowIndex].includes(o) ? e.setOpacity(e.FINAL_CONFIG.chart.highlighter.color, e.FINAL_CONFIG.chart.highlighter.opacity) : "transparent"
|
|
1390
|
-
}, null, 8,
|
|
1401
|
+
}, null, 8, Ct)
|
|
1391
1402
|
]))), 128))
|
|
1392
1403
|
]),
|
|
1393
1404
|
e.barSet.length ? (r(!0), l(N, { key: 0 }, I(e.barSet, (i, o) => (r(), l("g", {
|
|
@@ -1408,7 +1419,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1408
1419
|
fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${o}_${a.uniqueId})` : `url(#rectGradient_neg_${o}_${a.uniqueId})` : i.color,
|
|
1409
1420
|
stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? i.color : e.FINAL_CONFIG.bar.border.stroke,
|
|
1410
1421
|
"stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
|
|
1411
|
-
}, null, 8,
|
|
1422
|
+
}, null, 8, Lt)) : h("", !0),
|
|
1412
1423
|
n.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), l("foreignObject", {
|
|
1413
1424
|
key: 1,
|
|
1414
1425
|
style: { overflow: "visible" },
|
|
@@ -1417,14 +1428,14 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1417
1428
|
x: e.calcRectX(n) - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
|
|
1418
1429
|
y: e.checkNaN(n.y) + e.FINAL_CONFIG.chart.comments.offsetY + 6
|
|
1419
1430
|
}, [
|
|
1420
|
-
|
|
1431
|
+
O(t.$slots, "plot-comment", {
|
|
1421
1432
|
plot: { ...n, color: i.color, seriesIndex: o, datapointIndex: g }
|
|
1422
1433
|
}, void 0, !0)
|
|
1423
|
-
], 8,
|
|
1434
|
+
], 8, kt)) : h("", !0)
|
|
1424
1435
|
]))), 128)),
|
|
1425
1436
|
Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (r(), l("g", St, [
|
|
1426
|
-
|
|
1427
|
-
|
|
1437
|
+
d("defs", null, [
|
|
1438
|
+
d("marker", {
|
|
1428
1439
|
id: `bar_arrow_${o}`,
|
|
1429
1440
|
markerWidth: 7,
|
|
1430
1441
|
markerHeight: 7,
|
|
@@ -1432,11 +1443,11 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1432
1443
|
refY: 7 / 2,
|
|
1433
1444
|
orient: "auto"
|
|
1434
1445
|
}, [
|
|
1435
|
-
|
|
1446
|
+
d("polygon", {
|
|
1436
1447
|
points: `0 0, 7 ${7 / 2}, 0 7`,
|
|
1437
1448
|
fill: i.color
|
|
1438
|
-
}, null, 8,
|
|
1439
|
-
], 8,
|
|
1449
|
+
}, null, 8, Ot)
|
|
1450
|
+
], 8, wt)
|
|
1440
1451
|
]),
|
|
1441
1452
|
i.plots.length > 1 ? (r(), l("line", {
|
|
1442
1453
|
key: 0,
|
|
@@ -1448,7 +1459,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1448
1459
|
stroke: i.color,
|
|
1449
1460
|
"stroke-dasharray": 2,
|
|
1450
1461
|
"marker-end": `url(#bar_arrow_${o})`
|
|
1451
|
-
}, null, 8,
|
|
1462
|
+
}, null, 8, Gt)) : h("", !0),
|
|
1452
1463
|
i.plots.length > 1 ? (r(), l("text", {
|
|
1453
1464
|
key: 1,
|
|
1454
1465
|
"text-anchor": "middle",
|
|
@@ -1456,11 +1467,11 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1456
1467
|
y: e.calcLinearProgression(i.plots).y2 - 6,
|
|
1457
1468
|
"font-size": a.fontSizes.plotLabels,
|
|
1458
1469
|
fill: i.color
|
|
1459
|
-
},
|
|
1470
|
+
}, k(e.dataLabel({
|
|
1460
1471
|
v: e.calcLinearProgression(i.plots).trend * 100,
|
|
1461
1472
|
s: "%",
|
|
1462
1473
|
r: 2
|
|
1463
|
-
})), 9,
|
|
1474
|
+
})), 9, vt)) : h("", !0)
|
|
1464
1475
|
])) : h("", !0)
|
|
1465
1476
|
], 6))), 128)) : h("", !0),
|
|
1466
1477
|
!a.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (r(), l("line", {
|
|
@@ -1472,9 +1483,9 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1472
1483
|
y1: e.checkNaN(e.zero),
|
|
1473
1484
|
y2: e.checkNaN(e.zero),
|
|
1474
1485
|
"stroke-linecap": "round"
|
|
1475
|
-
}, null, 8,
|
|
1476
|
-
e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(a.selectedSerieIndex) || a.selectedMinimapIndex !== null) ? (r(), l("g",
|
|
1477
|
-
|
|
1486
|
+
}, null, 8, pt)) : h("", !0),
|
|
1487
|
+
e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(a.selectedSerieIndex) || a.selectedMinimapIndex !== null) ? (r(), l("g", zt, [
|
|
1488
|
+
d("line", {
|
|
1478
1489
|
x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.selectedSerieIndex || a.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
|
|
1479
1490
|
x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.selectedSerieIndex || a.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
|
|
1480
1491
|
y1: e.drawingArea.top,
|
|
@@ -1484,7 +1495,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1484
1495
|
"stroke-dasharray": e.FINAL_CONFIG.chart.highlighter.lineDasharray,
|
|
1485
1496
|
"stroke-linecap": "round",
|
|
1486
1497
|
style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
|
|
1487
|
-
}, null, 8,
|
|
1498
|
+
}, null, 8, Mt)
|
|
1488
1499
|
])) : h("", !0),
|
|
1489
1500
|
e.FINAL_CONFIG.chart.grid.frame.show ? (r(), l("rect", {
|
|
1490
1501
|
key: 3,
|
|
@@ -1499,11 +1510,11 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1499
1510
|
"stroke-linecap": e.FINAL_CONFIG.chart.grid.frame.strokeLinecap,
|
|
1500
1511
|
"stroke-linejoin": e.FINAL_CONFIG.chart.grid.frame.strokeLinejoin,
|
|
1501
1512
|
"stroke-dasharray": e.FINAL_CONFIG.chart.grid.frame.strokeDasharray
|
|
1502
|
-
}, null, 8,
|
|
1503
|
-
e.FINAL_CONFIG.chart.grid.labels.show ? (r(), l("g",
|
|
1513
|
+
}, null, 8, Pt)) : h("", !0),
|
|
1514
|
+
e.FINAL_CONFIG.chart.grid.labels.show ? (r(), l("g", Tt, [
|
|
1504
1515
|
a.mutableConfig.useIndividualScale ? (r(), l(N, { key: 0 }, [
|
|
1505
1516
|
(r(!0), l(N, null, I(e.allScales, (i) => (r(), l("g", null, [
|
|
1506
|
-
|
|
1517
|
+
d("line", {
|
|
1507
1518
|
x1: i.x + e.xPadding,
|
|
1508
1519
|
x2: i.x + e.xPadding,
|
|
1509
1520
|
y1: a.mutableConfig.isStacked ? e.checkNaN(e.drawingArea.bottom - i.yOffset - i.individualHeight) : e.checkNaN(e.drawingArea.top),
|
|
@@ -1512,17 +1523,17 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1512
1523
|
"stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
|
|
1513
1524
|
"stroke-linecap": "round",
|
|
1514
1525
|
style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1515
|
-
}, null, 12,
|
|
1526
|
+
}, null, 12, Vt)
|
|
1516
1527
|
]))), 256)),
|
|
1517
1528
|
(r(!0), l(N, null, I(e.allScales, (i) => (r(), l("g", {
|
|
1518
1529
|
style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1519
1530
|
}, [
|
|
1520
|
-
|
|
1531
|
+
d("text", {
|
|
1521
1532
|
fill: i.color,
|
|
1522
1533
|
"font-size": a.fontSizes.dataLabels,
|
|
1523
1534
|
"text-anchor": "middle",
|
|
1524
1535
|
transform: `translate(${i.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5}, ${a.mutableConfig.isStacked ? e.drawingArea.bottom - i.yOffset - i.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
|
|
1525
|
-
},
|
|
1536
|
+
}, k(i.name) + " " + k(i.scaleLabel ? `- ${i.scaleLabel}` : ""), 9, Rt),
|
|
1526
1537
|
(r(!0), l(N, null, I(i.yLabels, (o, n) => (r(), l("line", {
|
|
1527
1538
|
x1: i.x - 3 + e.xPadding,
|
|
1528
1539
|
x2: i.x + e.xPadding,
|
|
@@ -1531,14 +1542,14 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1531
1542
|
stroke: i.color,
|
|
1532
1543
|
"stroke-width": 1,
|
|
1533
1544
|
"stroke-linecap": "round"
|
|
1534
|
-
}, null, 8,
|
|
1545
|
+
}, null, 8, Dt))), 256)),
|
|
1535
1546
|
(r(!0), l(N, null, I(i.yLabels, (o, n) => (r(), l("text", {
|
|
1536
1547
|
x: i.x - 5 + e.xPadding,
|
|
1537
1548
|
y: e.checkNaN(o.y) + a.fontSizes.dataLabels / 3,
|
|
1538
1549
|
"font-size": a.fontSizes.dataLabels,
|
|
1539
1550
|
"text-anchor": "end",
|
|
1540
1551
|
fill: i.color
|
|
1541
|
-
},
|
|
1552
|
+
}, k(e.applyDataLabel(
|
|
1542
1553
|
e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
|
|
1543
1554
|
o.value,
|
|
1544
1555
|
e.dataLabel({
|
|
@@ -1548,7 +1559,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1548
1559
|
r: 1
|
|
1549
1560
|
}),
|
|
1550
1561
|
{ datapoint: o.datapoint, seriesIndex: n }
|
|
1551
|
-
)), 9,
|
|
1562
|
+
)), 9, Ht))), 256))
|
|
1552
1563
|
], 4))), 256))
|
|
1553
1564
|
], 64)) : (r(!0), l(N, { key: 1 }, I(e.yLabels, (i, o) => (r(), l("g", {
|
|
1554
1565
|
key: `yLabel_${o}`
|
|
@@ -1570,7 +1581,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1570
1581
|
"font-size": a.fontSizes.dataLabels,
|
|
1571
1582
|
"text-anchor": "end",
|
|
1572
1583
|
fill: e.FINAL_CONFIG.chart.grid.labels.color
|
|
1573
|
-
},
|
|
1584
|
+
}, k(e.canShowValue(i.value) ? e.applyDataLabel(
|
|
1574
1585
|
e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
|
|
1575
1586
|
i.value,
|
|
1576
1587
|
e.dataLabel({
|
|
@@ -1579,7 +1590,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1579
1590
|
s: i.suffix,
|
|
1580
1591
|
r: 1
|
|
1581
1592
|
})
|
|
1582
|
-
) : ""), 9,
|
|
1593
|
+
) : ""), 9, Bt)) : h("", !0)
|
|
1583
1594
|
]))), 128))
|
|
1584
1595
|
])) : h("", !0),
|
|
1585
1596
|
(r(!0), l(N, null, I(e.plotSet, (i, o) => (r(), l("g", {
|
|
@@ -1607,16 +1618,16 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1607
1618
|
x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
|
|
1608
1619
|
y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
|
|
1609
1620
|
}, [
|
|
1610
|
-
|
|
1611
|
-
|
|
1621
|
+
d("div", Yt, [
|
|
1622
|
+
O(t.$slots, "plot-comment", {
|
|
1612
1623
|
plot: { ...n, color: i.color, seriesIndex: o, datapointIndex: g }
|
|
1613
1624
|
}, void 0, !0)
|
|
1614
1625
|
])
|
|
1615
1626
|
], 8, Et)) : h("", !0)
|
|
1616
1627
|
]))), 128)),
|
|
1617
|
-
Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (r(), l("g",
|
|
1618
|
-
|
|
1619
|
-
|
|
1628
|
+
Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (r(), l("g", Xt, [
|
|
1629
|
+
d("defs", null, [
|
|
1630
|
+
d("marker", {
|
|
1620
1631
|
id: `plot_arrow_${o}`,
|
|
1621
1632
|
markerWidth: 7,
|
|
1622
1633
|
markerHeight: 7,
|
|
@@ -1624,11 +1635,11 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1624
1635
|
refY: 7 / 2,
|
|
1625
1636
|
orient: "auto"
|
|
1626
1637
|
}, [
|
|
1627
|
-
|
|
1638
|
+
d("polygon", {
|
|
1628
1639
|
points: `0 0, 7 ${7 / 2}, 0 7`,
|
|
1629
1640
|
fill: i.color
|
|
1630
|
-
}, null, 8,
|
|
1631
|
-
], 8,
|
|
1641
|
+
}, null, 8, Ut)
|
|
1642
|
+
], 8, qt)
|
|
1632
1643
|
]),
|
|
1633
1644
|
i.plots.length > 1 ? (r(), l("line", {
|
|
1634
1645
|
key: 0,
|
|
@@ -1640,7 +1651,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1640
1651
|
stroke: i.color,
|
|
1641
1652
|
"stroke-dasharray": 2,
|
|
1642
1653
|
"marker-end": `url(#plot_arrow_${o})`
|
|
1643
|
-
}, null, 8,
|
|
1654
|
+
}, null, 8, Zt)) : h("", !0),
|
|
1644
1655
|
i.plots.length > 1 ? (r(), l("text", {
|
|
1645
1656
|
key: 1,
|
|
1646
1657
|
"text-anchor": "middle",
|
|
@@ -1648,11 +1659,11 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1648
1659
|
y: e.calcLinearProgression(i.plots).y2 - 6,
|
|
1649
1660
|
"font-size": a.fontSizes.plotLabels,
|
|
1650
1661
|
fill: i.color
|
|
1651
|
-
},
|
|
1662
|
+
}, k(e.dataLabel({
|
|
1652
1663
|
v: e.calcLinearProgression(i.plots).trend * 100,
|
|
1653
1664
|
s: "%",
|
|
1654
1665
|
r: 2
|
|
1655
|
-
})), 9,
|
|
1666
|
+
})), 9, Jt)) : h("", !0)
|
|
1656
1667
|
])) : h("", !0)
|
|
1657
1668
|
], 6))), 128)),
|
|
1658
1669
|
(r(!0), l(N, null, I(e.lineSet, (i, o) => (r(), l("g", {
|
|
@@ -1667,7 +1678,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1667
1678
|
"stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
|
|
1668
1679
|
"stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1669
1680
|
fill: "none"
|
|
1670
|
-
}, null, 8,
|
|
1681
|
+
}, null, 8, Kt)) : i.plots.length > 1 ? (r(), l("g", Qt, [
|
|
1671
1682
|
(r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
|
|
1672
1683
|
key: `line_${o}_${g}`
|
|
1673
1684
|
}, [
|
|
@@ -1682,7 +1693,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1682
1693
|
"stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1683
1694
|
"stroke-linejoin": "round",
|
|
1684
1695
|
"stroke-linecap": "round"
|
|
1685
|
-
}, null, 8,
|
|
1696
|
+
}, null, 8, jt)) : h("", !0)
|
|
1686
1697
|
]))), 128))
|
|
1687
1698
|
])) : h("", !0)
|
|
1688
1699
|
], 6))), 128)),
|
|
@@ -1691,16 +1702,16 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1691
1702
|
class: V(`serie_line_${o}`),
|
|
1692
1703
|
style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1693
1704
|
}, [
|
|
1694
|
-
i.useArea && i.plots.length > 1 ? (r(), l("g",
|
|
1705
|
+
i.useArea && i.plots.length > 1 ? (r(), l("g", $t, [
|
|
1695
1706
|
i.smooth ? (r(), l("path", {
|
|
1696
1707
|
key: 0,
|
|
1697
1708
|
d: `M ${i.plots[0] ? i.plots[0].x : Math.min(...i.plots.filter((n) => !!n).map((n) => n.x))},${a.mutableConfig.isStacked ? e.drawingArea.bottom - i.yOffset : e.drawingArea.bottom} ${i.curve} L ${i.plots.at(-1) ? i.plots.at(-1).x : e.drawingArea.left + e.slot.line * o + e.slot.line / 2},${a.mutableConfig.isStacked ? e.drawingArea.bottom - i.yOffset : e.drawingArea.bottom} Z`,
|
|
1698
1709
|
fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${o}_${a.uniqueId})` : e.setOpacity(i.color, e.FINAL_CONFIG.line.area.opacity)
|
|
1699
|
-
}, null, 8,
|
|
1710
|
+
}, null, 8, ea)) : (r(), l("path", {
|
|
1700
1711
|
key: 1,
|
|
1701
1712
|
d: `M${i.area}Z`,
|
|
1702
1713
|
fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${o}_${a.uniqueId})` : e.setOpacity(i.color, e.FINAL_CONFIG.line.area.opacity)
|
|
1703
|
-
}, null, 8,
|
|
1714
|
+
}, null, 8, ta))
|
|
1704
1715
|
])) : h("", !0),
|
|
1705
1716
|
i.smooth && i.plots.length > 1 ? (r(), l("path", {
|
|
1706
1717
|
key: 1,
|
|
@@ -1709,7 +1720,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1709
1720
|
"stroke-width": e.FINAL_CONFIG.line.strokeWidth,
|
|
1710
1721
|
"stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1711
1722
|
fill: "none"
|
|
1712
|
-
}, null, 8,
|
|
1723
|
+
}, null, 8, aa)) : i.plots.length > 1 ? (r(), l("g", ia, [
|
|
1713
1724
|
(r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
|
|
1714
1725
|
key: `line_${o}_${g}`
|
|
1715
1726
|
}, [
|
|
@@ -1724,7 +1735,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1724
1735
|
"stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1725
1736
|
"stroke-linejoin": "round",
|
|
1726
1737
|
"stroke-linecap": "round"
|
|
1727
|
-
}, null, 8,
|
|
1738
|
+
}, null, 8, ra)) : h("", !0)
|
|
1728
1739
|
]))), 128))
|
|
1729
1740
|
])) : h("", !0),
|
|
1730
1741
|
(r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
|
|
@@ -1747,16 +1758,16 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1747
1758
|
x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
|
|
1748
1759
|
y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
|
|
1749
1760
|
}, [
|
|
1750
|
-
|
|
1751
|
-
|
|
1761
|
+
d("div", sa, [
|
|
1762
|
+
O(t.$slots, "plot-comment", {
|
|
1752
1763
|
plot: { ...n, color: i.color, seriesIndex: o, datapointIndex: g }
|
|
1753
1764
|
}, void 0, !0)
|
|
1754
1765
|
])
|
|
1755
|
-
], 8,
|
|
1766
|
+
], 8, la)) : h("", !0)
|
|
1756
1767
|
]))), 128)),
|
|
1757
|
-
Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (r(), l("g",
|
|
1758
|
-
|
|
1759
|
-
|
|
1768
|
+
Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (r(), l("g", na, [
|
|
1769
|
+
d("defs", null, [
|
|
1770
|
+
d("marker", {
|
|
1760
1771
|
id: `line_arrow_${o}`,
|
|
1761
1772
|
markerWidth: 7,
|
|
1762
1773
|
markerHeight: 7,
|
|
@@ -1764,11 +1775,11 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1764
1775
|
refY: 7 / 2,
|
|
1765
1776
|
orient: "auto"
|
|
1766
1777
|
}, [
|
|
1767
|
-
|
|
1778
|
+
d("polygon", {
|
|
1768
1779
|
points: `0 0, 7 ${7 / 2}, 0 7`,
|
|
1769
1780
|
fill: i.color
|
|
1770
|
-
}, null, 8,
|
|
1771
|
-
], 8,
|
|
1781
|
+
}, null, 8, ca)
|
|
1782
|
+
], 8, oa)
|
|
1772
1783
|
]),
|
|
1773
1784
|
i.plots.length > 1 ? (r(), l("line", {
|
|
1774
1785
|
key: 0,
|
|
@@ -1780,7 +1791,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1780
1791
|
stroke: i.color,
|
|
1781
1792
|
"stroke-dasharray": 2,
|
|
1782
1793
|
"marker-end": `url(#line_arrow_${o})`
|
|
1783
|
-
}, null, 8,
|
|
1794
|
+
}, null, 8, ha)) : h("", !0),
|
|
1784
1795
|
i.plots.length > 1 ? (r(), l("text", {
|
|
1785
1796
|
key: 1,
|
|
1786
1797
|
"text-anchor": "middle",
|
|
@@ -1788,11 +1799,11 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1788
1799
|
y: e.calcLinearProgression(i.plots).y2 - 6,
|
|
1789
1800
|
"font-size": a.fontSizes.plotLabels,
|
|
1790
1801
|
fill: i.color
|
|
1791
|
-
},
|
|
1802
|
+
}, k(e.dataLabel({
|
|
1792
1803
|
v: e.calcLinearProgression(i.plots).trend * 100,
|
|
1793
1804
|
s: "%",
|
|
1794
1805
|
r: 2
|
|
1795
|
-
})), 9,
|
|
1806
|
+
})), 9, ua)) : h("", !0)
|
|
1796
1807
|
])) : h("", !0)
|
|
1797
1808
|
], 6))), 128)),
|
|
1798
1809
|
(e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && a.mutableConfig.dataLabels.show ? (r(), l("g", da, [
|
|
@@ -1811,7 +1822,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1811
1822
|
"text-anchor": "middle",
|
|
1812
1823
|
"font-size": a.fontSizes.plotLabels,
|
|
1813
1824
|
fill: e.FINAL_CONFIG.bar.labels.color
|
|
1814
|
-
},
|
|
1825
|
+
}, k(e.canShowValue(n.value) ? e.applyDataLabel(
|
|
1815
1826
|
e.FINAL_CONFIG.bar.labels.formatter,
|
|
1816
1827
|
n.value,
|
|
1817
1828
|
e.dataLabel({
|
|
@@ -1824,7 +1835,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1824
1835
|
datapoint: n,
|
|
1825
1836
|
serie: i
|
|
1826
1837
|
}
|
|
1827
|
-
) : ""), 9,
|
|
1838
|
+
) : ""), 9, ga)) : h("", !0),
|
|
1828
1839
|
n && e.FINAL_CONFIG.bar.serieName.show ? (r(), l("text", {
|
|
1829
1840
|
key: 1,
|
|
1830
1841
|
x: a.mutableConfig.useIndividualScale && a.mutableConfig.isStacked ? n.x + e.slot.line / 2 : n.x + e.calcRectWidth() * 1.1,
|
|
@@ -1833,11 +1844,11 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1833
1844
|
"font-size": a.fontSizes.plotLabels,
|
|
1834
1845
|
fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? i.color : e.FINAL_CONFIG.bar.serieName.color,
|
|
1835
1846
|
"font-weight": e.FINAL_CONFIG.bar.serieName.bold ? "bold" : "normal"
|
|
1836
|
-
},
|
|
1847
|
+
}, k(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: i.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : i.name), 9, fa)) : h("", !0)
|
|
1837
1848
|
]))), 128))
|
|
1838
1849
|
], 6))), 128))
|
|
1839
1850
|
])) : h("", !0),
|
|
1840
|
-
e.FINAL_CONFIG.plot.labels.show && a.mutableConfig.dataLabels.show ? (r(), l("g",
|
|
1851
|
+
e.FINAL_CONFIG.plot.labels.show && a.mutableConfig.dataLabels.show ? (r(), l("g", Na, [
|
|
1841
1852
|
(r(!0), l(N, null, I(e.plotSet, (i, o) => (r(), l("g", {
|
|
1842
1853
|
key: `xLabel_plot_${o}`,
|
|
1843
1854
|
class: V(`xLabel_plot_${o}`),
|
|
@@ -1853,7 +1864,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1853
1864
|
"text-anchor": "middle",
|
|
1854
1865
|
"font-size": a.fontSizes.plotLabels,
|
|
1855
1866
|
fill: e.FINAL_CONFIG.plot.labels.color
|
|
1856
|
-
},
|
|
1867
|
+
}, k(e.canShowValue(n.value) ? e.applyDataLabel(
|
|
1857
1868
|
e.FINAL_CONFIG.plot.labels.formatter,
|
|
1858
1869
|
n.value,
|
|
1859
1870
|
e.dataLabel({
|
|
@@ -1866,7 +1877,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1866
1877
|
datapoint: n,
|
|
1867
1878
|
serie: i
|
|
1868
1879
|
}
|
|
1869
|
-
) : ""), 9,
|
|
1880
|
+
) : ""), 9, ma)) : h("", !0),
|
|
1870
1881
|
n && g === 0 && i.useTag && i.useTag === "start" ? (r(), l("foreignObject", {
|
|
1871
1882
|
key: 1,
|
|
1872
1883
|
x: n.x,
|
|
@@ -1875,10 +1886,10 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1875
1886
|
width: "150",
|
|
1876
1887
|
style: { overflow: "visible" }
|
|
1877
1888
|
}, [
|
|
1878
|
-
|
|
1889
|
+
d("div", {
|
|
1879
1890
|
style: C(`padding: 3px; background:${e.setOpacity(i.color, 80)};color:${e.adaptColorToBackground(i.color)};width:fit-content;font-size:${a.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1880
|
-
},
|
|
1881
|
-
], 8,
|
|
1891
|
+
}, k(i.name), 5)
|
|
1892
|
+
], 8, Ia)) : h("", !0),
|
|
1882
1893
|
n && g === i.plots.length - 1 && i.useTag && i.useTag === "end" ? (r(), l("foreignObject", {
|
|
1883
1894
|
key: 2,
|
|
1884
1895
|
x: n.x - i.name.length * (a.fontSizes.plotLabels / 2),
|
|
@@ -1887,14 +1898,14 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1887
1898
|
width: "150",
|
|
1888
1899
|
style: { overflow: "visible" }
|
|
1889
1900
|
}, [
|
|
1890
|
-
|
|
1901
|
+
d("div", {
|
|
1891
1902
|
style: C(`padding: 3px; background:${e.setOpacity(i.color, 80)};color:${e.adaptColorToBackground(i.color)};width:fit-content;font-size:${a.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1892
|
-
},
|
|
1893
|
-
], 8,
|
|
1903
|
+
}, k(i.name), 5)
|
|
1904
|
+
], 8, xa)) : h("", !0)
|
|
1894
1905
|
]))), 128))
|
|
1895
1906
|
], 6))), 128))
|
|
1896
1907
|
])) : h("", !0),
|
|
1897
|
-
e.FINAL_CONFIG.line.labels.show && a.mutableConfig.dataLabels.show ? (r(), l("g",
|
|
1908
|
+
e.FINAL_CONFIG.line.labels.show && a.mutableConfig.dataLabels.show ? (r(), l("g", ba, [
|
|
1898
1909
|
(r(!0), l(N, null, I(e.lineSet, (i, o) => (r(), l("g", {
|
|
1899
1910
|
key: `xLabel_line_${o}`,
|
|
1900
1911
|
class: V(`xLabel_line_${o}`),
|
|
@@ -1910,7 +1921,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1910
1921
|
"text-anchor": "middle",
|
|
1911
1922
|
"font-size": a.fontSizes.plotLabels,
|
|
1912
1923
|
fill: e.FINAL_CONFIG.line.labels.color
|
|
1913
|
-
},
|
|
1924
|
+
}, k(e.canShowValue(n.value) ? e.applyDataLabel(
|
|
1914
1925
|
e.FINAL_CONFIG.line.labels.formatter,
|
|
1915
1926
|
n.value,
|
|
1916
1927
|
e.dataLabel({
|
|
@@ -1923,7 +1934,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1923
1934
|
datapoint: n,
|
|
1924
1935
|
serie: i
|
|
1925
1936
|
}
|
|
1926
|
-
) : ""), 9,
|
|
1937
|
+
) : ""), 9, Fa)) : h("", !0),
|
|
1927
1938
|
n && g === 0 && i.useTag && i.useTag === "start" ? (r(), l("foreignObject", {
|
|
1928
1939
|
key: 1,
|
|
1929
1940
|
x: n.x,
|
|
@@ -1932,10 +1943,10 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1932
1943
|
width: "150",
|
|
1933
1944
|
style: { overflow: "visible" }
|
|
1934
1945
|
}, [
|
|
1935
|
-
|
|
1946
|
+
d("div", {
|
|
1936
1947
|
style: C(`padding: 3px; background:${e.setOpacity(i.color, 80)};color:${e.adaptColorToBackground(i.color)};width:fit-content;font-size:${a.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1937
|
-
},
|
|
1938
|
-
], 8,
|
|
1948
|
+
}, k(i.name), 5)
|
|
1949
|
+
], 8, _a)) : h("", !0),
|
|
1939
1950
|
n && g === i.plots.length - 1 && i.useTag && i.useTag === "end" ? (r(), l("foreignObject", {
|
|
1940
1951
|
key: 2,
|
|
1941
1952
|
x: n.x - i.name.length * (a.fontSizes.plotLabels / 2),
|
|
@@ -1944,10 +1955,10 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1944
1955
|
width: "150",
|
|
1945
1956
|
style: { overflow: "visible" }
|
|
1946
1957
|
}, [
|
|
1947
|
-
|
|
1958
|
+
d("div", {
|
|
1948
1959
|
style: C(`padding: 3px; background:${e.setOpacity(i.color, 80)};color:${e.adaptColorToBackground(i.color)};width:fit-content;font-size:${a.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1949
|
-
},
|
|
1950
|
-
], 8,
|
|
1960
|
+
}, k(i.name), 5)
|
|
1961
|
+
], 8, ya)) : h("", !0)
|
|
1951
1962
|
]))), 128))
|
|
1952
1963
|
], 6))), 128))
|
|
1953
1964
|
])) : h("", !0),
|
|
@@ -1974,7 +1985,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1974
1985
|
y: n.y,
|
|
1975
1986
|
maxWords: 2
|
|
1976
1987
|
})
|
|
1977
|
-
}, null, 8,
|
|
1988
|
+
}, null, 8, Aa)) : h("", !0),
|
|
1978
1989
|
n && g === i.plots.length - 1 && i.showSerieName && i.showSerieName === "end" ? (r(), l("text", {
|
|
1979
1990
|
key: 1,
|
|
1980
1991
|
x: n.x + a.fontSizes.plotLabels,
|
|
@@ -1990,7 +2001,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
1990
2001
|
y: n.y,
|
|
1991
2002
|
maxWords: 2
|
|
1992
2003
|
})
|
|
1993
|
-
}, null, 8,
|
|
2004
|
+
}, null, 8, Ca)) : h("", !0)
|
|
1994
2005
|
]))), 128))
|
|
1995
2006
|
], 6))), 128)),
|
|
1996
2007
|
(r(!0), l(N, null, I(e.plotSet, (i, o) => (r(), l("g", {
|
|
@@ -2016,7 +2027,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
2016
2027
|
y: n.y,
|
|
2017
2028
|
maxWords: 2
|
|
2018
2029
|
})
|
|
2019
|
-
}, null, 8,
|
|
2030
|
+
}, null, 8, La)) : h("", !0),
|
|
2020
2031
|
n && g === i.plots.length - 1 && i.showSerieName && i.showSerieName === "end" ? (r(), l("text", {
|
|
2021
2032
|
key: 1,
|
|
2022
2033
|
x: n.x + a.fontSizes.plotLabels,
|
|
@@ -2032,7 +2043,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
2032
2043
|
y: n.y,
|
|
2033
2044
|
maxWords: 2
|
|
2034
2045
|
})
|
|
2035
|
-
}, null, 8,
|
|
2046
|
+
}, null, 8, ka)) : h("", !0)
|
|
2036
2047
|
]))), 128))
|
|
2037
2048
|
], 6))), 128)),
|
|
2038
2049
|
a.mutableConfig.useIndividualScale && !a.mutableConfig.isStacked ? (r(!0), l(N, { key: 8 }, I(e.allScales, (i) => (r(), l("rect", {
|
|
@@ -2044,7 +2055,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
2044
2055
|
onMouseenter: (o) => a.selectedScale = i.id,
|
|
2045
2056
|
onMouseleave: s[0] || (s[0] = (o) => a.selectedScale = null)
|
|
2046
2057
|
}, null, 40, Sa))), 256)) : h("", !0),
|
|
2047
|
-
|
|
2058
|
+
d("g", null, [
|
|
2048
2059
|
e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !a.mutableConfig.useIndividualScale ? (r(), l("text", {
|
|
2049
2060
|
key: 0,
|
|
2050
2061
|
"font-size": a.fontSizes.yAxis,
|
|
@@ -2052,7 +2063,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
2052
2063
|
transform: `translate(${a.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
|
|
2053
2064
|
"text-anchor": "middle",
|
|
2054
2065
|
style: { transition: "none" }
|
|
2055
|
-
},
|
|
2066
|
+
}, k(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, wa)) : h("", !0),
|
|
2056
2067
|
e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (r(), l("text", {
|
|
2057
2068
|
key: 1,
|
|
2058
2069
|
"text-anchor": "middle",
|
|
@@ -2060,9 +2071,9 @@ function Xa(t, s, c, f, a, e) {
|
|
|
2060
2071
|
y: e.drawingArea.bottom + a.fontSizes.yAxis + a.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
|
|
2061
2072
|
"font-size": a.fontSizes.yAxis,
|
|
2062
2073
|
fill: e.FINAL_CONFIG.chart.grid.labels.color
|
|
2063
|
-
},
|
|
2074
|
+
}, k(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, Oa)) : h("", !0)
|
|
2064
2075
|
]),
|
|
2065
|
-
e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (r(), l("g",
|
|
2076
|
+
e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (r(), l("g", Ga, [
|
|
2066
2077
|
(r(!0), l(N, null, I(e.timeLabels, (i, o) => (r(), l("g", {
|
|
2067
2078
|
key: `time_label_${o}`
|
|
2068
2079
|
}, [
|
|
@@ -2072,14 +2083,14 @@ function Xa(t, s, c, f, a, e) {
|
|
|
2072
2083
|
"font-size": a.fontSizes.xAxis,
|
|
2073
2084
|
fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
|
|
2074
2085
|
transform: `translate(${e.drawingArea.left + e.drawingArea.width / e.maxSeries * o + e.drawingArea.width / e.maxSeries / 2}, ${e.drawingArea.bottom + a.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation})`
|
|
2075
|
-
},
|
|
2086
|
+
}, k(i || ""), 9, va)) : h("", !0)
|
|
2076
2087
|
]))), 128))
|
|
2077
2088
|
])) : h("", !0),
|
|
2078
|
-
|
|
2089
|
+
d("g", null, [
|
|
2079
2090
|
(r(!0), l(N, null, I(e.maxSeries, (i, o) => (r(), l("g", {
|
|
2080
2091
|
key: `tooltip_trap_${o}`
|
|
2081
2092
|
}, [
|
|
2082
|
-
|
|
2093
|
+
d("rect", {
|
|
2083
2094
|
"data-cy-trap": "",
|
|
2084
2095
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * o,
|
|
2085
2096
|
y: e.drawingArea.top,
|
|
@@ -2089,10 +2100,10 @@ function Xa(t, s, c, f, a, e) {
|
|
|
2089
2100
|
onMouseenter: (n) => e.toggleTooltipVisibility(!0, o),
|
|
2090
2101
|
onMouseleave: s[1] || (s[1] = (n) => e.toggleTooltipVisibility(!1)),
|
|
2091
2102
|
onClick: (n) => e.selectX(o)
|
|
2092
|
-
}, null, 40,
|
|
2103
|
+
}, null, 40, pa)
|
|
2093
2104
|
]))), 128))
|
|
2094
2105
|
]),
|
|
2095
|
-
e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(a.selectedSerieIndex) ? (r(), l("g",
|
|
2106
|
+
e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(a.selectedSerieIndex) ? (r(), l("g", za, [
|
|
2096
2107
|
(r(), l("foreignObject", {
|
|
2097
2108
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * a.selectedSerieIndex - 100 + e.drawingArea.width / e.maxSeries / 2,
|
|
2098
2109
|
y: e.drawingArea.bottom,
|
|
@@ -2100,26 +2111,26 @@ function Xa(t, s, c, f, a, e) {
|
|
|
2100
2111
|
height: "40",
|
|
2101
2112
|
style: { overflow: "visible !important" }
|
|
2102
2113
|
}, [
|
|
2103
|
-
|
|
2114
|
+
d("div", {
|
|
2104
2115
|
class: "vue-ui-xy-time-tag",
|
|
2105
2116
|
style: C(`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`)
|
|
2106
|
-
},
|
|
2107
|
-
], 8,
|
|
2108
|
-
|
|
2117
|
+
}, k(e.timeLabels[a.selectedSerieIndex] || a.selectedSerieIndex), 5)
|
|
2118
|
+
], 8, Ma)),
|
|
2119
|
+
d("circle", {
|
|
2109
2120
|
cx: e.drawingArea.left + e.drawingArea.width / e.maxSeries * a.selectedSerieIndex + e.drawingArea.width / e.maxSeries / 2,
|
|
2110
2121
|
cy: e.drawingArea.bottom,
|
|
2111
2122
|
r: e.FINAL_CONFIG.chart.timeTag.circleMarker.radius,
|
|
2112
2123
|
fill: e.FINAL_CONFIG.chart.timeTag.circleMarker.color
|
|
2113
|
-
}, null, 8,
|
|
2124
|
+
}, null, 8, Pa)
|
|
2114
2125
|
])) : h("", !0)
|
|
2115
2126
|
])) : h("", !0),
|
|
2116
|
-
|
|
2117
|
-
], 14,
|
|
2118
|
-
t.$slots.watermark ? (r(), l("div",
|
|
2119
|
-
|
|
2127
|
+
O(t.$slots, "svg", { svg: e.svg }, void 0, !0)
|
|
2128
|
+
], 14, Ze)) : h("", !0),
|
|
2129
|
+
t.$slots.watermark ? (r(), l("div", Ta, [
|
|
2130
|
+
O(t.$slots, "watermark", W(B({ isPrinting: a.isPrinting || a.isImaging })), void 0, !0)
|
|
2120
2131
|
])) : h("", !0),
|
|
2121
2132
|
e.isDataset ? h("", !0) : (r(), D(P, {
|
|
2122
|
-
key:
|
|
2133
|
+
key: 6,
|
|
2123
2134
|
config: {
|
|
2124
2135
|
type: "line",
|
|
2125
2136
|
style: {
|
|
@@ -2136,7 +2147,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
2136
2147
|
}
|
|
2137
2148
|
}
|
|
2138
2149
|
}, null, 8, ["config"])),
|
|
2139
|
-
e.FINAL_CONFIG.chart.zoom.show && a.maxX > 6 && e.isDataset ? (r(), D(
|
|
2150
|
+
e.FINAL_CONFIG.chart.zoom.show && a.maxX > 6 && e.isDataset ? (r(), D(v, {
|
|
2140
2151
|
ref: "chartSlicer",
|
|
2141
2152
|
key: `slicer_${a.slicerStep}`,
|
|
2142
2153
|
background: e.FINAL_CONFIG.chart.zoom.color,
|
|
@@ -2168,12 +2179,12 @@ function Xa(t, s, c, f, a, e) {
|
|
|
2168
2179
|
onTrapMouse: e.selectMinimapIndex
|
|
2169
2180
|
}, {
|
|
2170
2181
|
"reset-action": M(({ reset: i }) => [
|
|
2171
|
-
|
|
2182
|
+
O(t.$slots, "reset-action", W(B({ reset: i })), void 0, !0)
|
|
2172
2183
|
]),
|
|
2173
2184
|
_: 3
|
|
2174
2185
|
}, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "max", "valueStart", "valueEnd", "start", "end", "onReset", "onTrapMouse"])) : h("", !0),
|
|
2175
2186
|
e.FINAL_CONFIG.chart.legend.show ? (r(), l("div", {
|
|
2176
|
-
key:
|
|
2187
|
+
key: 8,
|
|
2177
2188
|
ref: "chartLegend",
|
|
2178
2189
|
class: "vue-ui-xy-legend",
|
|
2179
2190
|
style: C(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
|
|
@@ -2183,8 +2194,8 @@ function Xa(t, s, c, f, a, e) {
|
|
|
2183
2194
|
onClick: (n) => e.segregate(i),
|
|
2184
2195
|
class: V({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": a.segregatedSeries.includes(i.id) })
|
|
2185
2196
|
}, [
|
|
2186
|
-
a.icons[i.type] === "line" ? (r(), l("svg",
|
|
2187
|
-
|
|
2197
|
+
a.icons[i.type] === "line" ? (r(), l("svg", Ra, [
|
|
2198
|
+
d("rect", {
|
|
2188
2199
|
x: "0",
|
|
2189
2200
|
y: "7",
|
|
2190
2201
|
rx: "3",
|
|
@@ -2192,7 +2203,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
2192
2203
|
height: "4",
|
|
2193
2204
|
width: "20",
|
|
2194
2205
|
fill: i.color
|
|
2195
|
-
}, null, 8,
|
|
2206
|
+
}, null, 8, Da),
|
|
2196
2207
|
X(b, {
|
|
2197
2208
|
plot: { x: 10, y: 9 },
|
|
2198
2209
|
radius: 4,
|
|
@@ -2201,7 +2212,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
2201
2212
|
stroke: e.FINAL_CONFIG.chart.backgroundColor,
|
|
2202
2213
|
strokeWidth: 1
|
|
2203
2214
|
}, null, 8, ["color", "shape", "stroke"])
|
|
2204
|
-
])) : (r(), l("svg",
|
|
2215
|
+
])) : (r(), l("svg", Ha, [
|
|
2205
2216
|
a.icons[i.type] === "bar" ? (r(), l("rect", {
|
|
2206
2217
|
key: 0,
|
|
2207
2218
|
x: "0",
|
|
@@ -2219,17 +2230,17 @@ function Xa(t, s, c, f, a, e) {
|
|
|
2219
2230
|
shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle"
|
|
2220
2231
|
}, null, 8, ["color", "shape"]))
|
|
2221
2232
|
])),
|
|
2222
|
-
|
|
2233
|
+
d("span", {
|
|
2223
2234
|
style: C(`color:${e.FINAL_CONFIG.chart.legend.color}`)
|
|
2224
|
-
},
|
|
2225
|
-
], 10,
|
|
2226
|
-
], 4)) : (r(), l("div",
|
|
2227
|
-
|
|
2235
|
+
}, k(i.name), 5)
|
|
2236
|
+
], 10, Va))), 128))
|
|
2237
|
+
], 4)) : (r(), l("div", Ba, [
|
|
2238
|
+
O(t.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
|
|
2228
2239
|
], 512)),
|
|
2229
2240
|
t.$slots.source ? (r(), l("div", Ea, [
|
|
2230
|
-
|
|
2241
|
+
O(t.$slots, "source", {}, void 0, !0)
|
|
2231
2242
|
], 512)) : h("", !0),
|
|
2232
|
-
X(
|
|
2243
|
+
X(p, {
|
|
2233
2244
|
show: a.mutableConfig.showTooltip && a.isTooltip,
|
|
2234
2245
|
backgroundColor: e.FINAL_CONFIG.chart.tooltip.backgroundColor,
|
|
2235
2246
|
color: e.FINAL_CONFIG.chart.tooltip.color,
|
|
@@ -2245,15 +2256,15 @@ function Xa(t, s, c, f, a, e) {
|
|
|
2245
2256
|
isCustom: e.FINAL_CONFIG.chart.tooltip.customFormat && typeof e.FINAL_CONFIG.chart.tooltip.customFormat == "function"
|
|
2246
2257
|
}, {
|
|
2247
2258
|
"tooltip-before": M(() => [
|
|
2248
|
-
|
|
2259
|
+
O(t.$slots, "tooltip-before", W(B({ ...e.dataTooltipSlot })), void 0, !0)
|
|
2249
2260
|
]),
|
|
2250
2261
|
"tooltip-after": M(() => [
|
|
2251
|
-
|
|
2262
|
+
O(t.$slots, "tooltip-after", W(B({ ...e.dataTooltipSlot })), void 0, !0)
|
|
2252
2263
|
]),
|
|
2253
2264
|
_: 3
|
|
2254
2265
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
2255
2266
|
e.isDataset ? (r(), D(z, {
|
|
2256
|
-
key:
|
|
2267
|
+
key: 11,
|
|
2257
2268
|
hideDetails: "",
|
|
2258
2269
|
config: {
|
|
2259
2270
|
open: a.mutableConfig.showTable,
|
|
@@ -2269,21 +2280,21 @@ function Xa(t, s, c, f, a, e) {
|
|
|
2269
2280
|
}
|
|
2270
2281
|
}, {
|
|
2271
2282
|
content: M(() => [
|
|
2272
|
-
|
|
2283
|
+
d("div", {
|
|
2273
2284
|
style: C(`${a.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
|
|
2274
2285
|
}, [
|
|
2275
|
-
|
|
2276
|
-
|
|
2286
|
+
d("div", Ya, [
|
|
2287
|
+
He(d("input", {
|
|
2277
2288
|
type: "checkbox",
|
|
2278
2289
|
"onUpdate:modelValue": s[4] || (s[4] = (i) => a.showSparklineTable = i)
|
|
2279
2290
|
}, null, 512), [
|
|
2280
|
-
[
|
|
2291
|
+
[We, a.showSparklineTable]
|
|
2281
2292
|
]),
|
|
2282
|
-
|
|
2293
|
+
d("div", {
|
|
2283
2294
|
onClick: s[5] || (s[5] = (i) => a.showSparklineTable = !a.showSparklineTable),
|
|
2284
2295
|
style: { cursor: "pointer" }
|
|
2285
2296
|
}, [
|
|
2286
|
-
X(
|
|
2297
|
+
X(w, {
|
|
2287
2298
|
name: "chartLine",
|
|
2288
2299
|
size: 20,
|
|
2289
2300
|
stroke: e.FINAL_CONFIG.chart.color
|
|
@@ -2304,10 +2315,10 @@ function Xa(t, s, c, f, a, e) {
|
|
|
2304
2315
|
onClose: s[6] || (s[6] = (i) => a.mutableConfig.showTable = !1)
|
|
2305
2316
|
}, {
|
|
2306
2317
|
th: M(({ th: i }) => [
|
|
2307
|
-
|
|
2318
|
+
d("div", { innerHTML: i }, null, 8, Xa)
|
|
2308
2319
|
]),
|
|
2309
2320
|
td: M(({ td: i }) => [
|
|
2310
|
-
|
|
2321
|
+
Be(k(isNaN(Number(i)) ? i : e.dataLabel({
|
|
2311
2322
|
p: e.FINAL_CONFIG.chart.labels.prefix,
|
|
2312
2323
|
v: i,
|
|
2313
2324
|
s: e.FINAL_CONFIG.chart.labels.suffix,
|
|
@@ -2322,7 +2333,7 @@ function Xa(t, s, c, f, a, e) {
|
|
|
2322
2333
|
}, 8, ["config"])) : h("", !0)
|
|
2323
2334
|
], 14, qe);
|
|
2324
2335
|
}
|
|
2325
|
-
const
|
|
2336
|
+
const ci = /* @__PURE__ */ Ee(Xe, [["render", qa], ["__scopeId", "data-v-843e93cc"]]);
|
|
2326
2337
|
export {
|
|
2327
|
-
|
|
2338
|
+
ci as default
|
|
2328
2339
|
};
|