vue-data-ui 2.3.40 → 2.3.42

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.
Files changed (144) hide show
  1. package/dist/{Arrow-DHJ0seDm.js → Arrow-CkHIA6Xt.js} +1 -1
  2. package/dist/{Arrow-CcJ2U3U0.cjs → Arrow-JjCnte1c.cjs} +1 -1
  3. package/dist/{BaseIcon-Durv5g7g.cjs → BaseIcon-C6qUG3JH.cjs} +1 -1
  4. package/dist/{BaseIcon-D7REqiel.js → BaseIcon-CqWidrgW.js} +1 -1
  5. package/dist/{DataTable-Di-7_6Aq.cjs → DataTable-DkWzYsoO.cjs} +1 -1
  6. package/dist/{DataTable-xRoJJLCK.js → DataTable-zAsuxqFp.js} +2 -2
  7. package/dist/{Legend-DFjWlPTO.js → Legend-BJyEF1AJ.js} +1 -1
  8. package/dist/{Legend-DHtuLr86.cjs → Legend-CMA5DWNL.cjs} +1 -1
  9. package/dist/{Shape-Cnsn1U1B.js → Shape-DNtGmj4U.js} +1 -1
  10. package/dist/{Shape-dOTW06jG.cjs → Shape-uxtn2rUk.cjs} +1 -1
  11. package/dist/{Slicer-B-Doztix.cjs → Slicer-CCRiwPOR.cjs} +1 -1
  12. package/dist/{Slicer-CdoJYj--.js → Slicer-CLvZcQa8.js} +1 -1
  13. package/dist/{Title-WVL1w90F.js → Title-BmBtTM10.js} +1 -1
  14. package/dist/{Title-CUD-K-0i.cjs → Title-Dn_s4xwI.cjs} +1 -1
  15. package/dist/{Tooltip-B5_8pR7S.js → Tooltip-2egolusz.js} +1 -1
  16. package/dist/{Tooltip-CdjFc0lT.cjs → Tooltip-CaVyC-lv.cjs} +1 -1
  17. package/dist/index-BaAW-Jni.cjs +4 -0
  18. package/dist/{index-CLohkSjv.js → index-C0qeGgGL.js} +227 -219
  19. package/dist/style.css +1 -1
  20. package/dist/types/vue-data-ui.d.cts +4 -2
  21. package/dist/types/vue-data-ui.d.ts +4 -2
  22. package/dist/{useNestedProp-y541YeYg.cjs → useNestedProp-BY4cF5vs.cjs} +1 -1
  23. package/dist/{useNestedProp-BsIUgLPI.js → useNestedProp-Dqm0GHPD.js} +1 -1
  24. package/dist/{usePrinter-B9AbYwAC.cjs → usePrinter-BqDyevJ_.cjs} +1 -1
  25. package/dist/{usePrinter-CLjymPxw.js → usePrinter-CBPQ7BTV.js} +1 -1
  26. package/dist/{vue-data-ui-8vGw_xvX.cjs → vue-data-ui-BvHhKOgA.cjs} +1 -1
  27. package/dist/{vue-data-ui-R6Kj9vzU.js → vue-data-ui-DVak_PPl.js} +57 -57
  28. package/dist/vue-data-ui.cjs +1 -1
  29. package/dist/vue-data-ui.js +1 -1
  30. package/dist/{vue-ui-3d-bar-tGkaU8fG.js → vue-ui-3d-bar-BZwJJ7pP.js} +7 -7
  31. package/dist/{vue-ui-3d-bar-D_SoQlA7.cjs → vue-ui-3d-bar-qYMWF7Bo.cjs} +1 -1
  32. package/dist/{vue-ui-accordion-B6lUgTu6.js → vue-ui-accordion-BhMRX1nr.js} +3 -3
  33. package/dist/{vue-ui-accordion-Czitboqc.cjs → vue-ui-accordion-Dx2HnLJU.cjs} +1 -1
  34. package/dist/{vue-ui-age-pyramid-CN27TQYe.cjs → vue-ui-age-pyramid-BAWrJkqT.cjs} +1 -1
  35. package/dist/{vue-ui-age-pyramid-yJgEO7Ur.js → vue-ui-age-pyramid-DJ-XtegC.js} +8 -8
  36. package/dist/{vue-ui-annotator-BByjovvv.cjs → vue-ui-annotator-BtL7EbdF.cjs} +1 -1
  37. package/dist/{vue-ui-annotator-k8KyQmMk.js → vue-ui-annotator-wLCWoFmj.js} +1 -1
  38. package/dist/{vue-ui-candlestick-ClOsAfCQ.js → vue-ui-candlestick-Dmgnbx1q.js} +9 -9
  39. package/dist/{vue-ui-candlestick-DjwGhojD.cjs → vue-ui-candlestick-uIn4m5ME.cjs} +1 -1
  40. package/dist/{vue-ui-carousel-table-nZYD_4Jp.cjs → vue-ui-carousel-table-DRdOHNQW.cjs} +1 -1
  41. package/dist/{vue-ui-carousel-table-xdb3tSHu.js → vue-ui-carousel-table-DarpJWWt.js} +4 -4
  42. package/dist/{vue-ui-chestnut-CQrFwjq4.cjs → vue-ui-chestnut-DUh1_vRz.cjs} +1 -1
  43. package/dist/{vue-ui-chestnut-CKSdf5Wx.js → vue-ui-chestnut-eNdaOYti.js} +6 -6
  44. package/dist/{vue-ui-cursor-R-_LJ7BC.cjs → vue-ui-cursor-D21l-EdL.cjs} +1 -1
  45. package/dist/{vue-ui-cursor-B4fFZ1Xh.js → vue-ui-cursor-dArRavoM.js} +2 -2
  46. package/dist/{vue-ui-dashboard-BGgb7Ylt.cjs → vue-ui-dashboard-CHxdbevB.cjs} +1 -1
  47. package/dist/{vue-ui-dashboard-DkYbzLSj.js → vue-ui-dashboard-CiV6R9qW.js} +2 -2
  48. package/dist/{vue-ui-digits-DdKxR0He.cjs → vue-ui-digits-CXdsqIro.cjs} +1 -1
  49. package/dist/{vue-ui-digits-Lq_MZu0_.js → vue-ui-digits-y-VetFLI.js} +2 -2
  50. package/dist/{vue-ui-donut-qzmnXplU.js → vue-ui-donut-DrVhINsI.js} +9 -9
  51. package/dist/{vue-ui-donut-evolution-D_b9hPYy.js → vue-ui-donut-evolution-BKbTFgau.js} +9 -9
  52. package/dist/{vue-ui-donut-evolution-C2nM8AVm.cjs → vue-ui-donut-evolution-D5rptVFp.cjs} +1 -1
  53. package/dist/{vue-ui-donut-C5benoAI.cjs → vue-ui-donut-xihTW5pJ.cjs} +1 -1
  54. package/dist/{vue-ui-dumbbell-BTbPNzqx.js → vue-ui-dumbbell-kx_eouKE.js} +8 -8
  55. package/dist/{vue-ui-dumbbell-C94N1mry.cjs → vue-ui-dumbbell-yAPsEkRo.cjs} +1 -1
  56. package/dist/{vue-ui-flow-C8jT8any.js → vue-ui-flow-Bh-Zjip1.js} +7 -7
  57. package/dist/{vue-ui-flow-CkZtvF7p.cjs → vue-ui-flow-CyS9hJM4.cjs} +1 -1
  58. package/dist/{vue-ui-galaxy-DuA4MPUu.js → vue-ui-galaxy-CbUgdDdy.js} +9 -9
  59. package/dist/{vue-ui-galaxy-DZKVmKTf.cjs → vue-ui-galaxy-D5GEzhai.cjs} +1 -1
  60. package/dist/{vue-ui-gauge-DBhAo4ED.cjs → vue-ui-gauge-B9ndz1fh.cjs} +1 -1
  61. package/dist/{vue-ui-gauge-CujXhTuR.js → vue-ui-gauge-C4RwPukH.js} +5 -5
  62. package/dist/{vue-ui-gizmo-DlWB95Xv.js → vue-ui-gizmo-B0zFYR1W.js} +2 -2
  63. package/dist/{vue-ui-gizmo-BsxB_JfW.cjs → vue-ui-gizmo-Dn1PAEMe.cjs} +1 -1
  64. package/dist/{vue-ui-heatmap-DlDIlSK-.js → vue-ui-heatmap-B7vrlB4e.js} +8 -8
  65. package/dist/{vue-ui-heatmap-B6MbT38S.cjs → vue-ui-heatmap-DJEZ9rFH.cjs} +1 -1
  66. package/dist/{vue-ui-kpi-C0kZxq3K.js → vue-ui-kpi-B4v-oOGc.js} +3 -3
  67. package/dist/{vue-ui-kpi-CaqMEHto.cjs → vue-ui-kpi-BzsRof5j.cjs} +1 -1
  68. package/dist/{vue-ui-mini-loader-DGVlizno.cjs → vue-ui-mini-loader-C7YsQBAX.cjs} +1 -1
  69. package/dist/{vue-ui-mini-loader-DfiHD95x.js → vue-ui-mini-loader-DFpYM3qb.js} +2 -2
  70. package/dist/{vue-ui-molecule-MmZA7D4v.js → vue-ui-molecule-Ccc6JG58.js} +9 -9
  71. package/dist/{vue-ui-molecule-BTtAYDlx.cjs → vue-ui-molecule-wkMW6l03.cjs} +1 -1
  72. package/dist/{vue-ui-mood-radar-DRHMkdU1.js → vue-ui-mood-radar-Bf6MOhXe.js} +9 -9
  73. package/dist/{vue-ui-mood-radar-C-qaQqJf.cjs → vue-ui-mood-radar-ULMbwa0t.cjs} +1 -1
  74. package/dist/{vue-ui-nested-donuts-BZV-PTLD.js → vue-ui-nested-donuts-DChC17Jl.js} +9 -9
  75. package/dist/{vue-ui-nested-donuts-BkpZgLg7.cjs → vue-ui-nested-donuts-DEQvYS12.cjs} +1 -1
  76. package/dist/{vue-ui-onion-C4OvOsH0.cjs → vue-ui-onion-CL288Y9l.cjs} +1 -1
  77. package/dist/{vue-ui-onion-Bpw8RJ7Y.js → vue-ui-onion-GDYAfq0s.js} +9 -9
  78. package/dist/{vue-ui-parallel-coordinate-plot-Bf64Wi3u.js → vue-ui-parallel-coordinate-plot-BPvbmdgp.js} +10 -10
  79. package/dist/{vue-ui-parallel-coordinate-plot-yFikaAWJ.cjs → vue-ui-parallel-coordinate-plot-DVg4p8pJ.cjs} +1 -1
  80. package/dist/{vue-ui-quadrant-CmCcySxg.js → vue-ui-quadrant-C9ccU6cn.js} +10 -10
  81. package/dist/{vue-ui-quadrant-BVHTFKxd.cjs → vue-ui-quadrant-DDMlTHg_.cjs} +1 -1
  82. package/dist/{vue-ui-quick-chart-Cml1Twya.js → vue-ui-quick-chart-D650NElt.js} +6 -6
  83. package/dist/{vue-ui-quick-chart-DrZwV4mI.cjs → vue-ui-quick-chart-DLLfjVRL.cjs} +1 -1
  84. package/dist/{vue-ui-radar-DE3BMdwV.cjs → vue-ui-radar-CY60jZE-.cjs} +1 -1
  85. package/dist/{vue-ui-radar-DP1EuYGX.js → vue-ui-radar-C_VLLHTH.js} +10 -10
  86. package/dist/{vue-ui-rating-BkYeHWvl.js → vue-ui-rating-7ZwSUZbi.js} +2 -2
  87. package/dist/{vue-ui-rating-RbXEpR6a.cjs → vue-ui-rating-DJAUZh8b.cjs} +1 -1
  88. package/dist/{vue-ui-relation-circle-VO7PJR9n.js → vue-ui-relation-circle-B2AmvtRL.js} +5 -5
  89. package/dist/{vue-ui-relation-circle-Dx2XZJS8.cjs → vue-ui-relation-circle-DG18e4iI.cjs} +1 -1
  90. package/dist/{vue-ui-rings-B-t-1DXJ.cjs → vue-ui-rings-1_76sLwH.cjs} +1 -1
  91. package/dist/{vue-ui-rings-DxG6p7tF.js → vue-ui-rings-rfjVOdTg.js} +9 -9
  92. package/dist/{vue-ui-scatter-ctKFC1hB.cjs → vue-ui-scatter-D5IZlH3t.cjs} +1 -1
  93. package/dist/{vue-ui-scatter-BRrsv69b.js → vue-ui-scatter-GrTwhVP4.js} +10 -10
  94. package/dist/{vue-ui-screenshot-DD0WkpyV.cjs → vue-ui-screenshot-DgHLdia0.cjs} +1 -1
  95. package/dist/{vue-ui-screenshot-BBoHtZtA.js → vue-ui-screenshot-t-Iu3WWR.js} +1 -1
  96. package/dist/{vue-ui-skeleton-Gizw7vdX.cjs → vue-ui-skeleton-BKcDxJU1.cjs} +1 -1
  97. package/dist/{vue-ui-skeleton-Cu-FCvsL.js → vue-ui-skeleton-Bdc0rBji.js} +2 -2
  98. package/dist/{vue-ui-smiley-NkuQEkp8.js → vue-ui-smiley-B79-rzQb.js} +2 -2
  99. package/dist/{vue-ui-smiley-L7yruIOu.cjs → vue-ui-smiley-C-3nhDNp.cjs} +1 -1
  100. package/dist/{vue-ui-spark-trend-DcBzFhgb.cjs → vue-ui-spark-trend-CWv8wyoS.cjs} +1 -1
  101. package/dist/{vue-ui-spark-trend-MaSpDNrO.js → vue-ui-spark-trend-v7LZED-2.js} +4 -4
  102. package/dist/{vue-ui-sparkbar-Dok2sQZ3.cjs → vue-ui-sparkbar-CKCgeXd-.cjs} +1 -1
  103. package/dist/{vue-ui-sparkbar-B7THOIRm.js → vue-ui-sparkbar-DXAVJ6aQ.js} +3 -3
  104. package/dist/{vue-ui-sparkgauge-CJNO8fex.js → vue-ui-sparkgauge-CPSJdO4H.js} +3 -3
  105. package/dist/{vue-ui-sparkgauge-C4Edaz_0.cjs → vue-ui-sparkgauge-LvY-AT9d.cjs} +1 -1
  106. package/dist/{vue-ui-sparkhistogram-CDuYk_7N.cjs → vue-ui-sparkhistogram-CcfeVOxe.cjs} +1 -1
  107. package/dist/{vue-ui-sparkhistogram-DRsRAvI7.js → vue-ui-sparkhistogram-ChvVg_k2.js} +4 -4
  108. package/dist/{vue-ui-sparkline-KOF_6Pig.cjs → vue-ui-sparkline-CZe9QI-o.cjs} +1 -1
  109. package/dist/{vue-ui-sparkline-CfsK5XqX.js → vue-ui-sparkline-DOiZIeq7.js} +3 -3
  110. package/dist/{vue-ui-sparkstackbar-BzvGezvJ.js → vue-ui-sparkstackbar-CiRKGiuH.js} +3 -3
  111. package/dist/{vue-ui-sparkstackbar-Bd4BF7Ij.cjs → vue-ui-sparkstackbar-pgkORrjY.cjs} +1 -1
  112. package/dist/{vue-ui-stackbar-0rdD887I.js → vue-ui-stackbar-D-n_HH0x.js} +10 -10
  113. package/dist/{vue-ui-stackbar-DXvxtOmc.cjs → vue-ui-stackbar-u8Sw84tN.cjs} +1 -1
  114. package/dist/{vue-ui-strip-plot-CynA1j2D.js → vue-ui-strip-plot-Bd8Ygfg6.js} +9 -9
  115. package/dist/{vue-ui-strip-plot-DRTrhZ9F.cjs → vue-ui-strip-plot-KwECKyHZ.cjs} +1 -1
  116. package/dist/{vue-ui-table-DtaMAj7u.cjs → vue-ui-table-Bb3Y8FA8.cjs} +1 -1
  117. package/dist/{vue-ui-table-sVGjMZTH.js → vue-ui-table-C9xcKDzP.js} +1 -1
  118. package/dist/{vue-ui-table-heatmap-BO7xu77L.cjs → vue-ui-table-heatmap--c28F5on.cjs} +1 -1
  119. package/dist/{vue-ui-table-heatmap-BDZuT9Qz.js → vue-ui-table-heatmap-DGgRldii.js} +4 -4
  120. package/dist/{vue-ui-table-sparkline-DSztHLaA.cjs → vue-ui-table-sparkline-BZOTGf_k.cjs} +1 -1
  121. package/dist/{vue-ui-table-sparkline-BYv7kseR.js → vue-ui-table-sparkline-C-R8g7fq.js} +5 -5
  122. package/dist/{vue-ui-thermometer-DDL90Qop.cjs → vue-ui-thermometer-B5nhD_ah.cjs} +1 -1
  123. package/dist/{vue-ui-thermometer-1CmzRurR.js → vue-ui-thermometer-CA1tlOVx.js} +5 -5
  124. package/dist/{vue-ui-timer-CqmIqHeg.cjs → vue-ui-timer-By69Jgs-.cjs} +1 -1
  125. package/dist/{vue-ui-timer-DLf6i56p.js → vue-ui-timer-EoaK8XxQ.js} +4 -4
  126. package/dist/{vue-ui-tiremarks-r7bGmMg-.js → vue-ui-tiremarks-Dzlpp_85.js} +5 -5
  127. package/dist/{vue-ui-tiremarks-BxfUFX-N.cjs → vue-ui-tiremarks-YmBKSs6G.cjs} +1 -1
  128. package/dist/{vue-ui-treemap-Bs4erg0I.cjs → vue-ui-treemap-C9dhqMUT.cjs} +1 -1
  129. package/dist/{vue-ui-treemap-Da1vOiTg.js → vue-ui-treemap-CrHLqEi4.js} +9 -9
  130. package/dist/{vue-ui-vertical-bar-ByBJTeg-.js → vue-ui-vertical-bar-CsQ-X490.js} +9 -9
  131. package/dist/{vue-ui-vertical-bar-Cd4AmrnX.cjs → vue-ui-vertical-bar-DcAnWIcO.cjs} +1 -1
  132. package/dist/{vue-ui-waffle-CHtCkZjz.js → vue-ui-waffle-CkLAdSRm.js} +9 -9
  133. package/dist/{vue-ui-waffle-BEP6xNLO.cjs → vue-ui-waffle-DExGhS_i.cjs} +1 -1
  134. package/dist/{vue-ui-wheel-BBKNe16o.cjs → vue-ui-wheel-2rGm4Ger.cjs} +1 -1
  135. package/dist/{vue-ui-wheel-icxa1L4v.js → vue-ui-wheel-ClLdnjXB.js} +5 -5
  136. package/dist/{vue-ui-word-cloud-CZnELuH6.cjs → vue-ui-word-cloud-Dt2_G407.cjs} +1 -1
  137. package/dist/{vue-ui-word-cloud-DZOxxmkR.js → vue-ui-word-cloud-DxqpAd03.js} +7 -7
  138. package/dist/vue-ui-xy-B3gwrFqE.cjs +3 -0
  139. package/dist/{vue-ui-xy-vIwvvGNZ.js → vue-ui-xy-DGGELzRv.js} +479 -463
  140. package/dist/{vue-ui-xy-canvas-ChKN_Cn-.js → vue-ui-xy-canvas-B2dQTZ84.js} +10 -10
  141. package/dist/{vue-ui-xy-canvas-BvaDluOT.cjs → vue-ui-xy-canvas-BigBCSRq.cjs} +1 -1
  142. package/package.json +1 -1
  143. package/dist/index-Clt49H-j.cjs +0 -4
  144. package/dist/vue-ui-xy-DNbVDgjT.cjs +0 -3
@@ -1,19 +1,19 @@
1
1
  import { p as J } from "./pdf-97UbtKC2.js";
2
- import { U as K, s as Q } from "./usePrinter-CLjymPxw.js";
3
- import { c as Z, 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, V as se, W as oe, M as ne, Y as ce, y as he, s as de, d as ue, z as ge, b as fe, r as be, q as me, D as Ie, S as Ne, Z as _e, w as xe, x as Fe, e as ye, o as Ae, _ as Le, C as Se } from "./index-CLohkSjv.js";
4
- import { D as Ce } from "./DataTable-xRoJJLCK.js";
5
- import { _ as ke } from "./Title-WVL1w90F.js";
6
- import { _ as we, u as Oe } from "./Tooltip-B5_8pR7S.js";
7
- import { _ as ve } from "./Shape-Cnsn1U1B.js";
8
- import Ge from "./BaseIcon-D7REqiel.js";
9
- import ze from "./vue-ui-table-sparkline-BYv7kseR.js";
10
- import pe from "./vue-ui-skeleton-Cu-FCvsL.js";
11
- import { S as Te } from "./Slicer-CdoJYj--.js";
12
- import Me from "./vue-ui-accordion-B6lUgTu6.js";
13
- import { u as U } from "./useNestedProp-BsIUgLPI.js";
14
- import { resolveComponent as P, openBlock as r, createElementBlock as i, normalizeClass as T, normalizeStyle as L, createVNode as Y, createCommentVNode as c, createBlock as V, createSlots as Pe, withCtx as z, renderSlot as v, normalizeProps as W, guardReactiveProps as B, createElementVNode as u, Fragment as b, renderList as I, toDisplayString as C, withDirectives as Ve, vModelCheckbox as Re, createTextVNode as De } from "vue";
15
- import { _ as Ee } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const He = Z(), We = {
2
+ import { U as K, s as Q } from "./usePrinter-CBPQ7BTV.js";
3
+ import { c as Z, a as j, t as $, v as ee, p as te, u as ae, P as X, J as P, f as q, F as le, D as re, i as ie, U as se, S as oe, V as ne, W as he, Y as ce, d as de, z as ue, b as ge, q as fe, M as be, Z as me, r as Ie, e as Ne, x as xe, _ as _e, w as Fe, $ as ye, o as Ae, s as Le, C as Se, y as Ce } from "./index-C0qeGgGL.js";
4
+ import { D as ke } from "./DataTable-zAsuxqFp.js";
5
+ import { _ as we } from "./Title-BmBtTM10.js";
6
+ import { _ as Oe, u as ve } from "./Tooltip-2egolusz.js";
7
+ import { _ as Ge } from "./Shape-DNtGmj4U.js";
8
+ import ze from "./BaseIcon-CqWidrgW.js";
9
+ import pe from "./vue-ui-table-sparkline-C-R8g7fq.js";
10
+ import Me from "./vue-ui-skeleton-Bdc0rBji.js";
11
+ import { S as Pe } from "./Slicer-CLvZcQa8.js";
12
+ import Te from "./vue-ui-accordion-BhMRX1nr.js";
13
+ import { u as U } from "./useNestedProp-Dqm0GHPD.js";
14
+ import { resolveComponent as T, openBlock as r, createElementBlock as i, normalizeClass as M, normalizeStyle as L, createVNode as Y, createCommentVNode as h, createBlock as V, createSlots as Ve, withCtx as z, renderSlot as v, normalizeProps as W, guardReactiveProps as B, createElementVNode as u, Fragment as b, renderList as I, toDisplayString as C, withDirectives as Re, vModelCheckbox as De, createTextVNode as Ee } from "vue";
15
+ import { _ as He } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const We = Z(), Be = {
17
17
  name: "vue-ui-xy",
18
18
  props: {
19
19
  config: {
@@ -30,27 +30,27 @@ const He = Z(), We = {
30
30
  }
31
31
  },
32
32
  components: {
33
- DataTable: Ce,
34
- Shape: ve,
35
- Title: ke,
36
- Tooltip: we,
33
+ DataTable: ke,
34
+ Shape: Ge,
35
+ Title: we,
36
+ Tooltip: Oe,
37
37
  UserOptions: K,
38
- BaseIcon: Ge,
39
- TableSparkline: ze,
40
- Skeleton: pe,
41
- Slicer: Te,
42
- Accordion: Me
38
+ BaseIcon: ze,
39
+ TableSparkline: pe,
40
+ Skeleton: Me,
41
+ Slicer: Pe,
42
+ Accordion: Te
43
43
  },
44
44
  data() {
45
- this.dataset.forEach((h, m) => {
46
- [null, void 0].includes(h.series) && this.error({
45
+ this.dataset.forEach((c, m) => {
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: m
51
51
  });
52
52
  });
53
- const l = Math.max(...this.dataset.map((h) => h.series.length)), o = {
53
+ const l = Math.max(...this.dataset.map((c) => c.series.length)), s = {
54
54
  start: 0,
55
55
  end: l
56
56
  };
@@ -98,12 +98,12 @@ const He = Z(), We = {
98
98
  segregatedSeries: [],
99
99
  uniqueId: Z(),
100
100
  step: 0,
101
- slicer: o,
101
+ slicer: s,
102
102
  __to__: null,
103
103
  maxX: l,
104
104
  showSparklineTable: !0,
105
105
  segregateStep: 0,
106
- sliderId: He,
106
+ sliderId: We,
107
107
  fontSizes: {
108
108
  xAxis: 18,
109
109
  yAxis: 12,
@@ -139,7 +139,7 @@ const He = Z(), We = {
139
139
  yOffset: t.yOffset || 0,
140
140
  individualHeight: t.individualHeight || this.drawingArea.height,
141
141
  autoScaleYLabels: t.autoScaleYLabels
142
- })), o = this.barSet.map((t) => ({
142
+ })), s = this.barSet.map((t) => ({
143
143
  name: t.name,
144
144
  color: t.color,
145
145
  scale: t.individualScale,
@@ -150,7 +150,7 @@ const He = Z(), We = {
150
150
  id: t.id,
151
151
  yOffset: t.yOffset || 0,
152
152
  individualHeight: t.individualHeight || this.drawingArea.height
153
- })), h = this.plotSet.map((t) => ({
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 = Z(), We = {
162
162
  id: t.id,
163
163
  yOffset: t.yOffset || 0,
164
164
  individualHeight: t.individualHeight || this.drawingArea.height
165
- })), m = [...l, ...o, ...h].flatMap((t) => t).length;
166
- return [...l, ...o, ...h].flatMap((t, e) => ({
165
+ })), m = [...l, ...s, ...c].flatMap((t) => t).length;
166
+ return [...l, ...s, ...c].flatMap((t, e) => ({
167
167
  id: t.id,
168
168
  scaleLabel: t.scaleLabel,
169
169
  name: t.name,
@@ -190,17 +190,17 @@ const He = Z(), We = {
190
190
  const l = ae().vue_ui_xy;
191
191
  if (!Object.keys(this.config || {}).length)
192
192
  return l;
193
- const o = this.useNestedProp({
193
+ const s = this.useNestedProp({
194
194
  userConfig: this.config,
195
195
  defaultConfig: l
196
196
  });
197
- return "highlightArea" in this.config.chart && (Array.isArray(this.config.chart.highlightArea) ? o.chart.highlightArea = this.config.chart.highlightArea : o.chart.highlightArea = [this.config.chart.highlightArea]), o.theme ? {
197
+ return this.config && this.hasDeepProperty(this.config, "chart.highlightArea") && (Array.isArray(this.config.chart.highlightArea) ? s.chart.highlightArea = this.config.chart.highlightArea : s.chart.highlightArea = [this.config.chart.highlightArea]), this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMin") ? s.chart.grid.labels.yAxis.scaleMin = this.config.chart.grid.labels.yAxis.scaleMin : s.chart.grid.labels.yAxis.scaleMin = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMax") ? s.chart.grid.labels.yAxis.scaleMax = this.config.chart.grid.labels.yAxis.scaleMax : s.chart.grid.labels.yAxis.scaleMax = null, s.theme ? {
198
198
  ...U({
199
- userConfig: this.themes.vue_ui_xy[o.theme] || this.config,
200
- defaultConfig: o
199
+ userConfig: this.themes.vue_ui_xy[s.theme] || this.config,
200
+ defaultConfig: s
201
201
  }),
202
- customPalette: this.themePalettes[o.theme] || this.palette
203
- } : o;
202
+ customPalette: this.themePalettes[s.theme] || this.palette
203
+ } : s;
204
204
  },
205
205
  set: function(l) {
206
206
  return l;
@@ -211,9 +211,9 @@ const He = Z(), We = {
211
211
  },
212
212
  highlightAreas() {
213
213
  if (Array.isArray(this.FINAL_CONFIG.chart.highlightArea))
214
- return this.FINAL_CONFIG.chart.highlightArea.map((o) => ({
215
- ...o,
216
- span: o.from === o.to ? 1 : o.to < o.from ? 0 : o.to - o.from + 1
214
+ return this.FINAL_CONFIG.chart.highlightArea.map((s) => ({
215
+ ...s,
216
+ span: s.from === s.to ? 1 : s.to < s.from ? 0 : s.to - s.from + 1
217
217
  }));
218
218
  const l = this.FINAL_CONFIG.chart.highlightArea;
219
219
  return [{ ...l, span: l.from === l.to ? 1 : l.to < l.from ? 0 : l.to - l.from + 1 }];
@@ -228,28 +228,28 @@ const He = Z(), We = {
228
228
  return this.niceScale.max + this.relativeZero;
229
229
  },
230
230
  safeDataset() {
231
- return this.useSafeValues ? this.dataset.map((l, o) => ({
231
+ return this.useSafeValues ? this.dataset.map((l, s) => ({
232
232
  ...l,
233
- series: l.series.map((h) => this.isSafeValue(h) ? h : null).slice(this.slicer.start, this.slicer.end),
234
- color: this.convertColorToHex(l.color ? l.color : this.customPalette[o] ? this.customPalette[o] : this.palette[o]),
235
- id: `uniqueId_${o}`
233
+ series: l.series.map((c) => this.isSafeValue(c) ? c : null).slice(this.slicer.start, this.slicer.end),
234
+ color: this.convertColorToHex(l.color ? l.color : this.customPalette[s] ? this.customPalette[s] : this.palette[s]),
235
+ id: `uniqueId_${s}`
236
236
  })) : this.dataset;
237
237
  },
238
238
  relativeDataset() {
239
- return this.safeDataset.map((l, o) => ({
239
+ return this.safeDataset.map((l, s) => ({
240
240
  ...l,
241
- series: l.series.map((h) => h + this.relativeZero),
241
+ series: l.series.map((c) => c + this.relativeZero),
242
242
  absoluteValues: l.series
243
243
  })).filter((l) => !this.segregatedSeries.includes(l.id));
244
244
  },
245
245
  tableSparklineDataset() {
246
246
  return this.relativeDataset.map((l) => {
247
- const o = l.absoluteValues.map((h) => [void 0, null].includes(h) ? 0 : h);
247
+ const s = l.absoluteValues.map((c) => [void 0, null].includes(c) ? 0 : c);
248
248
  return {
249
249
  id: l.id,
250
250
  name: l.name,
251
251
  color: l.color,
252
- values: this.fillArray(this.maxSeries, o)
252
+ values: this.fillArray(this.maxSeries, s)
253
253
  };
254
254
  });
255
255
  },
@@ -280,44 +280,44 @@ const He = Z(), We = {
280
280
  };
281
281
  },
282
282
  absoluteDataset() {
283
- return this.safeDataset.map((l, o) => ({
284
- absoluteIndex: o,
283
+ return this.safeDataset.map((l, s) => ({
284
+ absoluteIndex: s,
285
285
  ...l,
286
- series: l.series.map((h) => h + this.relativeZero),
286
+ series: l.series.map((c) => c + this.relativeZero),
287
287
  absoluteValues: l.series,
288
288
  segregate: () => this.segregate(l),
289
289
  isSegregated: this.segregatedSeries.includes(l.id)
290
290
  }));
291
291
  },
292
292
  barSet() {
293
- return this.activeSeriesWithStackRatios.filter((l) => l.type === "bar").map((l, o) => {
293
+ return this.activeSeriesWithStackRatios.filter((l) => l.type === "bar").map((l, s) => {
294
294
  this.checkAutoScaleError(l);
295
- const h = Math.min(...l.absoluteValues.filter((d) => ![null, void 0].includes(d))), m = Math.max(...l.absoluteValues.filter((d) => ![null, void 0].includes(d))), e = {
296
- ratios: l.absoluteValues.filter((d) => ![null, void 0].includes(d)).map((d) => (d - h) / (m - h)),
297
- valueMin: h,
295
+ const c = Math.min(...l.absoluteValues.filter((d) => ![null, void 0].includes(d))), m = Math.max(...l.absoluteValues.filter((d) => ![null, void 0].includes(d))), e = {
296
+ ratios: l.absoluteValues.filter((d) => ![null, void 0].includes(d)).map((d) => (d - c) / (m - c)),
297
+ valueMin: c,
298
298
  valueMax: m < 0 ? 0 : m
299
299
  }, N = {
300
300
  max: l.scaleMax || Math.max(...l.absoluteValues) || 1,
301
301
  min: l.scaleMin || Math.min(...l.absoluteValues.filter((d) => ![void 0, null].includes(d))) > 0 ? 0 : Math.min(...l.absoluteValues.filter((d) => ![null, void 0].includes(d)))
302
- }, A = l.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, f = this.calculateNiceScaleWithExactExtremes(N.min, N.max, A), x = this.calculateNiceScaleWithExactExtremes(e.valueMin, e.valueMax, A), p = f.min >= 0 ? 0 : Math.abs(f.min), k = 0, w = f.max + p, G = x.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((d) => d.type === "bar").filter((d) => !this.segregatedSeries.includes(d.id)).length, g = l.series.map((d, F) => {
303
- const E = this.mutableConfig.useIndividualScale ? (l.absoluteValues[F] + p) / w : this.ratioToMax(d), H = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * F : this.drawingArea.left + this.slot.bar * o + this.slot.bar * F * s - this.barSlot / 2 - o * this.barPeriodGap;
302
+ }, A = l.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, f = this.calculateNiceScaleWithExactExtremes(N.min, N.max, A), _ = this.calculateNiceScaleWithExactExtremes(e.valueMin, e.valueMax, A), p = f.min >= 0 ? 0 : Math.abs(f.min), k = 0, w = f.max + p, G = _.max + Math.abs(k), x = 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 - x - S * p / w, n = this.drawingArea.bottom - x - S * k / G, o = this.absoluteDataset.filter((d) => d.type === "bar").filter((d) => !this.segregatedSeries.includes(d.id)).length, g = l.series.map((d, F) => {
303
+ const E = this.mutableConfig.useIndividualScale ? (l.absoluteValues[F] + p) / w : this.ratioToMax(d), H = 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;
304
304
  return {
305
- yOffset: _,
305
+ yOffset: x,
306
306
  individualHeight: S,
307
307
  x: H,
308
- y: this.drawingArea.bottom - _ - S * E,
308
+ y: this.drawingArea.bottom - x - S * E,
309
309
  value: l.absoluteValues[F],
310
310
  zeroPosition: a,
311
311
  individualMax: w,
312
312
  comment: l.comments && l.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
313
313
  };
314
- }), D = l.absoluteValues.map((d) => x.min >= 0 ? (d - Math.abs(x.min)) / (x.max - Math.abs(x.min)) : (d + Math.abs(x.min)) / (x.max + Math.abs(x.min))), R = l.series.map((d, F) => {
315
- 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 * o + this.slot.bar * F * this.absoluteDataset.filter((H) => H.type === "bar").filter((H) => !this.segregatedSeries.includes(H.id)).length;
314
+ }), D = l.absoluteValues.map((d) => _.min >= 0 ? (d - Math.abs(_.min)) / (_.max - Math.abs(_.min)) : (d + Math.abs(_.min)) / (_.max + Math.abs(_.min))), R = l.series.map((d, F) => {
315
+ 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((H) => H.type === "bar").filter((H) => !this.segregatedSeries.includes(H.id)).length;
316
316
  return {
317
- yOffset: _,
317
+ yOffset: x,
318
318
  individualHeight: S,
319
319
  x: E,
320
- y: this.drawingArea.bottom - _ - (S * D[F] || 0),
320
+ y: this.drawingArea.bottom - x - (S * D[F] || 0),
321
321
  value: l.absoluteValues[F],
322
322
  zeroPosition: a,
323
323
  individualMax: w,
@@ -326,8 +326,8 @@ const He = Z(), We = {
326
326
  }), y = f.ticks.map((d) => ({
327
327
  y: d >= 0 ? a - S * (d / w) : a + S * Math.abs(d) / w,
328
328
  value: d
329
- })), O = x.ticks.map((d) => {
330
- const F = (d - x.min) / (x.max - x.min);
329
+ })), O = _.ticks.map((d) => {
330
+ const F = (d - _.min) / (_.max - _.min);
331
331
  return {
332
332
  y: d >= 0 ? n - S * F : n + S * F,
333
333
  value: d
@@ -335,11 +335,11 @@ const He = Z(), We = {
335
335
  });
336
336
  return {
337
337
  ...l,
338
- yOffset: _,
338
+ yOffset: x,
339
339
  autoScaleYLabels: O,
340
340
  individualHeight: S,
341
341
  scaleYLabels: l.autoScaling ? O : y,
342
- individualScale: l.autoScaling ? x : f,
342
+ individualScale: l.autoScaling ? _ : f,
343
343
  individualMax: l.autoScaling ? G : w,
344
344
  zeroPosition: l.autoScaling ? n : a,
345
345
  plots: l.autoScaling ? R : g
@@ -355,36 +355,36 @@ const He = Z(), We = {
355
355
  lineSet() {
356
356
  return this.activeSeriesWithStackRatios.filter((l) => l.type === "line").map((l) => {
357
357
  this.checkAutoScaleError(l);
358
- const o = Math.min(...l.absoluteValues.filter((d) => ![void 0, null].includes(d))), h = Math.max(...l.absoluteValues.filter((d) => ![void 0, null].includes(d))) || 1, t = {
359
- ratios: l.absoluteValues.filter((d) => ![null, void 0].includes(d)).map((d) => (d - o) / (h - o)),
360
- valueMin: o,
361
- valueMax: h
358
+ const s = Math.min(...l.absoluteValues.filter((d) => ![void 0, null].includes(d))), c = Math.max(...l.absoluteValues.filter((d) => ![void 0, null].includes(d))) || 1, t = {
359
+ ratios: l.absoluteValues.filter((d) => ![null, void 0].includes(d)).map((d) => (d - s) / (c - s)),
360
+ valueMin: s,
361
+ valueMax: c
362
362
  }, e = {
363
363
  max: l.scaleMax || Math.max(...l.absoluteValues) || 1,
364
364
  min: l.scaleMin || (Math.min(...l.absoluteValues) > 0 ? 0 : Math.min(...l.absoluteValues))
365
- }, N = l.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = this.calculateNiceScaleWithExactExtremes(e.min, e.max, N), f = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax, N), x = A.min >= 0 ? 0 : Math.abs(A.min), p = 0, k = A.max + Math.abs(x), 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 - _ * x / k, a = this.drawingArea.bottom - G - _ * p / w, n = l.series.map((d, F) => {
366
- const E = this.mutableConfig.useIndividualScale ? (l.absoluteValues[F] + Math.abs(x)) / k : this.ratioToMax(d);
365
+ }, N = l.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = this.calculateNiceScaleWithExactExtremes(e.min, e.max, N), f = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax, N), _ = A.min >= 0 ? 0 : Math.abs(A.min), p = 0, k = A.max + Math.abs(_), w = f.max + Math.abs(p), G = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - l.cumulatedStackRatio) : 0, x = this.mutableConfig.isStacked ? this.drawingArea.height * l.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, S = this.drawingArea.bottom - G - x * _ / k, a = this.drawingArea.bottom - G - x * p / w, n = l.series.map((d, F) => {
366
+ const E = this.mutableConfig.useIndividualScale ? (l.absoluteValues[F] + Math.abs(_)) / k : this.ratioToMax(d);
367
367
  return {
368
368
  x: this.drawingArea.left + this.slot.line / 2 + this.slot.line * F,
369
- y: this.drawingArea.bottom - G - _ * E,
369
+ y: this.drawingArea.bottom - G - x * E,
370
370
  value: l.absoluteValues[F],
371
371
  comment: l.comments && l.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
372
372
  };
373
- }), s = l.absoluteValues.map((d) => f.min >= 0 ? (d - Math.abs(f.min)) / (f.max - Math.abs(f.min)) : (d + Math.abs(f.min)) / (f.max + Math.abs(f.min))), g = l.series.map((d, F) => {
373
+ }), o = l.absoluteValues.map((d) => f.min >= 0 ? (d - Math.abs(f.min)) / (f.max - Math.abs(f.min)) : (d + Math.abs(f.min)) / (f.max + Math.abs(f.min))), g = l.series.map((d, F) => {
374
374
  if (![void 0, null].includes(l.absoluteValues[F]))
375
375
  return {
376
376
  x: this.drawingArea.left + this.slot.line / 2 + this.slot.line * F,
377
- y: this.drawingArea.bottom - G - (_ * s[F] || 0),
377
+ y: this.drawingArea.bottom - G - (x * o[F] || 0),
378
378
  value: l.absoluteValues[F],
379
379
  comment: l.comments && l.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
380
380
  };
381
381
  }), D = this.createSmoothPath(n), R = this.createSmoothPath(g), y = A.ticks.map((d) => ({
382
- y: d >= 0 ? S - _ * (d / k) : S + _ * Math.abs(d) / k,
382
+ y: d >= 0 ? S - x * (d / k) : S + x * Math.abs(d) / k,
383
383
  value: d
384
384
  })), O = f.ticks.map((d) => {
385
385
  const F = (d - f.min) / (f.max - f.min);
386
386
  return {
387
- y: d >= 0 ? a - _ * F : a + _ * F,
387
+ y: d >= 0 ? a - x * F : a + x * F,
388
388
  value: d
389
389
  };
390
390
  });
@@ -392,7 +392,7 @@ const He = Z(), We = {
392
392
  ...l,
393
393
  yOffset: G,
394
394
  autoScaleYLabels: O,
395
- individualHeight: _,
395
+ individualHeight: x,
396
396
  scaleYLabels: l.autoScaling ? O : y,
397
397
  individualScale: l.autoScaling ? f : A,
398
398
  individualMax: l.autoScaling ? w : k,
@@ -406,33 +406,33 @@ const He = Z(), We = {
406
406
  plotSet() {
407
407
  return this.activeSeriesWithStackRatios.filter((l) => l.type === "plot").map((l) => {
408
408
  this.checkAutoScaleError(l);
409
- const o = Math.min(...l.absoluteValues.filter((y) => ![null, void 0].includes(y))), h = Math.max(...l.absoluteValues.filter((y) => ![null, void 0].includes(y))) || 1, t = {
410
- ratios: l.absoluteValues.filter((y) => ![null, void 0].includes(y)).map((y) => (y - o) / (h - o)),
411
- valueMin: o,
412
- valueMax: h
409
+ const s = 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 = {
410
+ ratios: l.absoluteValues.filter((y) => ![null, void 0].includes(y)).map((y) => (y - s) / (c - s)),
411
+ valueMin: s,
412
+ valueMax: c
413
413
  }, e = {
414
414
  max: l.scaleMax || Math.max(...l.absoluteValues) || 1,
415
415
  min: l.scaleMin || Math.min(...l.absoluteValues) > 0 ? 0 : Math.min(...l.absoluteValues)
416
- }, N = l.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = this.calculateNiceScaleWithExactExtremes(e.min, e.max, N), f = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax, N), x = A.min >= 0 ? 0 : Math.abs(A.min), p = 0, k = A.max + x, 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 - _ * x / k, a = this.drawingArea.bottom - G - _ * p / w, n = l.series.map((y, O) => {
417
- const d = this.mutableConfig.useIndividualScale ? (l.absoluteValues[O] + Math.abs(x)) / k : this.ratioToMax(y);
416
+ }, N = l.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = this.calculateNiceScaleWithExactExtremes(e.min, e.max, N), f = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax, N), _ = A.min >= 0 ? 0 : Math.abs(A.min), p = 0, k = A.max + _, w = f.max + Math.abs(p), G = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - l.cumulatedStackRatio) : 0, x = this.mutableConfig.isStacked ? this.drawingArea.height * l.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, S = this.drawingArea.bottom - G - x * _ / k, a = this.drawingArea.bottom - G - x * p / w, n = l.series.map((y, O) => {
417
+ const d = this.mutableConfig.useIndividualScale ? (l.absoluteValues[O] + Math.abs(_)) / k : this.ratioToMax(y);
418
418
  return {
419
419
  x: this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * O,
420
- y: this.drawingArea.bottom - G - _ * d,
420
+ y: this.drawingArea.bottom - G - x * d,
421
421
  value: l.absoluteValues[O],
422
422
  comment: l.comments && l.comments.slice(this.slicer.start, this.slicer.end)[O] || ""
423
423
  };
424
- }), s = l.absoluteValues.map((y) => f.min >= 0 ? (y - Math.abs(f.min)) / (f.max - Math.abs(f.min)) : (y + Math.abs(f.min)) / (f.max + Math.abs(f.min))), g = l.series.map((y, O) => ({
424
+ }), o = l.absoluteValues.map((y) => f.min >= 0 ? (y - Math.abs(f.min)) / (f.max - Math.abs(f.min)) : (y + Math.abs(f.min)) / (f.max + Math.abs(f.min))), g = l.series.map((y, O) => ({
425
425
  x: this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * O,
426
- y: this.drawingArea.bottom - G - (_ * s[O] || 0),
426
+ y: this.drawingArea.bottom - G - (x * o[O] || 0),
427
427
  value: l.absoluteValues[O],
428
428
  comment: l.comments && l.comments.slice(this.slicer.start, this.slicer.end)[O] || ""
429
429
  })), D = A.ticks.map((y) => ({
430
- y: y >= 0 ? S - _ * (y / k) : S + _ * Math.abs(y) / k,
430
+ y: y >= 0 ? S - x * (y / k) : S + x * Math.abs(y) / k,
431
431
  value: y
432
432
  })), R = f.ticks.map((y) => {
433
433
  const O = (y - f.min) / (f.max - f.min);
434
434
  return {
435
- y: y >= 0 ? a - _ * O : a + _ * O,
435
+ y: y >= 0 ? a - x * O : a + x * O,
436
436
  value: y
437
437
  };
438
438
  });
@@ -440,7 +440,7 @@ const He = Z(), We = {
440
440
  ...l,
441
441
  yOffset: G,
442
442
  autoScaleYLabels: R,
443
- individualHeight: _,
443
+ individualHeight: x,
444
444
  scaleYLabels: l.autoScaling ? R : D,
445
445
  individualScale: l.autoScaling ? f : A,
446
446
  individualMax: l.autoScaling ? w : k,
@@ -450,7 +450,7 @@ const He = Z(), We = {
450
450
  });
451
451
  },
452
452
  drawingArea() {
453
- const l = this.mutableConfig.useIndividualScale && this.FINAL_CONFIG.chart.grid.labels.show ? this.absoluteDataset.filter((o) => !this.segregatedSeries.includes(o.id)).length * (this.mutableConfig.isStacked ? 0 : this.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth) : 0;
453
+ const l = this.mutableConfig.useIndividualScale && this.FINAL_CONFIG.chart.grid.labels.show ? this.absoluteDataset.filter((s) => !this.segregatedSeries.includes(s.id)).length * (this.mutableConfig.isStacked ? 0 : this.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth) : 0;
454
454
  return {
455
455
  top: this.FINAL_CONFIG.chart.padding.top,
456
456
  right: this.width - this.FINAL_CONFIG.chart.padding.right,
@@ -461,10 +461,12 @@ const He = Z(), We = {
461
461
  };
462
462
  },
463
463
  max() {
464
- return Math.max(...this.safeDataset.filter((l) => !this.segregatedSeries.includes(l.id)).map((l) => Math.max(...l.series)));
464
+ return this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMax ? this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMax : Math.max(...this.safeDataset.filter((l) => !this.segregatedSeries.includes(l.id)).map((l) => Math.max(...l.series)));
465
465
  },
466
466
  min() {
467
- const l = Math.min(...this.safeDataset.filter((o) => !this.segregatedSeries.includes(o.id)).map((o) => Math.min(...o.series)));
467
+ if (console.log(this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin === null), this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin !== null)
468
+ return this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin;
469
+ const l = Math.min(...this.safeDataset.filter((s) => !this.segregatedSeries.includes(s.id)).map((s) => Math.min(...s.series)));
468
470
  return l > 0 ? 0 : l;
469
471
  },
470
472
  niceScale() {
@@ -484,7 +486,7 @@ const He = Z(), We = {
484
486
  };
485
487
  },
486
488
  barSlot() {
487
- const l = this.safeDataset.filter((o) => o.type === "bar").filter((o) => !this.segregatedSeries.includes(o.id)).length;
489
+ const l = this.safeDataset.filter((s) => s.type === "bar").filter((s) => !this.segregatedSeries.includes(s.id)).length;
488
490
  return this.drawingArea.width / this.maxSeries / l - this.barPeriodGap * l;
489
491
  },
490
492
  barPeriodGap() {
@@ -495,26 +497,26 @@ const He = Z(), We = {
495
497
  },
496
498
  table() {
497
499
  if (this.safeDataset.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
498
- const l = this.relativeDataset.map((h) => ({
499
- label: h.name,
500
- color: h.color,
501
- type: h.type
502
- })), o = [];
503
- return this.timeLabels.forEach((h, m) => {
504
- const t = [h];
500
+ const l = this.relativeDataset.map((c) => ({
501
+ label: c.name,
502
+ color: c.color,
503
+ type: c.type
504
+ })), s = [];
505
+ return this.timeLabels.forEach((c, m) => {
506
+ const t = [c];
505
507
  this.relativeDataset.forEach((e) => {
506
508
  t.push(this.canShowValue(e.absoluteValues[m]) ? Number(e.absoluteValues[m].toFixed(this.FINAL_CONFIG.table.rounding)) : "");
507
- }), o.push(t);
508
- }), { head: l, body: o };
509
+ }), s.push(t);
510
+ }), { head: l, body: s };
509
511
  },
510
512
  dataTable() {
511
513
  const l = [""].concat(this.relativeDataset.map((t) => t.name)).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>');
512
- let o = [];
514
+ let s = [];
513
515
  for (let t = 0; t < this.maxSeries; t += 1) {
514
516
  const e = this.relativeDataset.map((N) => N.absoluteValues[t] ?? 0).reduce((N, A) => N + A, 0);
515
- 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)));
517
+ s.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)));
516
518
  }
517
- const h = {
519
+ const c = {
518
520
  th: {
519
521
  backgroundColor: this.FINAL_CONFIG.table.th.backgroundColor,
520
522
  color: this.FINAL_CONFIG.table.th.color,
@@ -527,7 +529,7 @@ const He = Z(), We = {
527
529
  },
528
530
  breakpoint: this.FINAL_CONFIG.table.responsiveBreakpoint
529
531
  }, m = [this.FINAL_CONFIG.table.columnNames.period].concat(this.relativeDataset.map((t) => t.name)).concat(this.FINAL_CONFIG.table.columnNames.total);
530
- return { head: l, body: o, config: h, colNames: m };
532
+ return { head: l, body: s, config: c, colNames: m };
531
533
  },
532
534
  dataTooltipSlot() {
533
535
  return {
@@ -546,13 +548,13 @@ const He = Z(), We = {
546
548
  name: l.name,
547
549
  color: l.color,
548
550
  type: l.type,
549
- value: l.absoluteValues.find((o, h) => h === this.selectedSerieIndex),
551
+ value: l.absoluteValues.find((s, c) => c === this.selectedSerieIndex),
550
552
  comments: l.comments || []
551
553
  }));
552
554
  },
553
555
  tooltipContent() {
554
- 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);
555
- const h = this.timeLabels[this.selectedSerieIndex], m = this.FINAL_CONFIG.chart.tooltip.customFormat;
556
+ let l = "", s = this.selectedSeries.map((t) => t.value).filter((t) => this.isSafeValue(t) && t !== null).reduce((t, e) => Math.abs(t) + Math.abs(e), 0);
557
+ const c = this.timeLabels[this.selectedSerieIndex], m = this.FINAL_CONFIG.chart.tooltip.customFormat;
556
558
  return this.isFunction(m) && this.functionReturnsString(() => m({
557
559
  seriesIndex: this.selectedSerieIndex,
558
560
  datapoint: this.selectedSeries,
@@ -569,7 +571,7 @@ const He = Z(), We = {
569
571
  lines: this.lineSet,
570
572
  plots: this.plotSet,
571
573
  config: this.FINAL_CONFIG
572
- }) : (h && (l += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${this.FINAL_CONFIG.chart.tooltip.borderColor}; width:100%">${h}</div>`), this.selectedSeries.forEach((t) => {
574
+ }) : (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) => {
573
575
  if (this.isSafeValue(t.value)) {
574
576
  let e = "", N = "";
575
577
  switch (this.icons[t.type]) {
@@ -577,7 +579,7 @@ const He = Z(), We = {
577
579
  e = `<svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" rx="1" stroke="none" height="12" width="12" fill="${t.color}" /></svg>`;
578
580
  break;
579
581
  case "line":
580
- !t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ? N = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" />` : t.shape === "triangle" ? N = `<path d="${M({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "square" ? N = `<path d="${M({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "diamond" ? N = `<path d="${M({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "pentagon" ? N = `<path d="${M({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "hexagon" ? N = `<path d="${M({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "star" && (N = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" points="${X({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="3" x="0" y="6" stroke="none" height="4" width="20" fill="${t.color}" />${N}</svg>`;
582
+ !t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ? N = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" />` : t.shape === "triangle" ? N = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "square" ? N = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "diamond" ? N = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "pentagon" ? N = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "hexagon" ? N = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "star" && (N = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" points="${X({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="3" x="0" y="6" stroke="none" height="4" width="20" fill="${t.color}" />${N}</svg>`;
581
583
  break;
582
584
  case "plot":
583
585
  if (!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape)) {
@@ -589,23 +591,23 @@ const He = Z(), We = {
589
591
  break;
590
592
  }
591
593
  if (t.shape === "triangle") {
592
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${M({ plot: { x: 6, y: 6 }, radius: 6, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
594
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${P({ plot: { x: 6, y: 6 }, radius: 6, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
593
595
  break;
594
596
  }
595
597
  if (t.shape === "square") {
596
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${M({ plot: { x: 6, y: 6 }, radius: 6, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
598
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${P({ plot: { x: 6, y: 6 }, radius: 6, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
597
599
  break;
598
600
  }
599
601
  if (t.shape === "diamond") {
600
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${M({ plot: { x: 6, y: 6 }, radius: 5, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
602
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${P({ plot: { x: 6, y: 6 }, radius: 5, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
601
603
  break;
602
604
  }
603
605
  if (t.shape === "pentagon") {
604
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${M({ plot: { x: 6, y: 6 }, radius: 5, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
606
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${P({ plot: { x: 6, y: 6 }, radius: 5, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
605
607
  break;
606
608
  }
607
609
  if (t.shape === "hexagon") {
608
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${M({ plot: { x: 6, y: 6 }, radius: 5, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
610
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${P({ plot: { x: 6, y: 6 }, radius: 5, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
609
611
  break;
610
612
  }
611
613
  }
@@ -620,7 +622,7 @@ const He = Z(), We = {
620
622
  }),
621
623
  { datapoint: t }
622
624
  ) : ""}</b> ${this.FINAL_CONFIG.chart.tooltip.showPercentage ? `(${q({
623
- v: this.checkNaN(Math.abs(t.value) / o * 100),
625
+ v: this.checkNaN(Math.abs(t.value) / s * 100),
624
626
  s: "%",
625
627
  r: this.FINAL_CONFIG.chart.tooltip.roundingPercentage
626
628
  })})` : ""}</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>`);
@@ -647,18 +649,18 @@ const He = Z(), We = {
647
649
  if (this.objectIsEmpty(this.dataset) ? this.error({
648
650
  componentName: "VueUiXy",
649
651
  type: "dataset"
650
- }) : this.dataset.forEach((l, o) => {
652
+ }) : this.dataset.forEach((l, s) => {
651
653
  [null, void 0].includes(l.name) && this.error({
652
654
  componentName: "VueUiXy",
653
655
  type: "datasetSerieAttribute",
654
656
  property: "name (string)",
655
- index: o
657
+ index: s
656
658
  });
657
659
  }), this.FINAL_CONFIG.showWarnings && this.dataset.forEach((l) => {
658
- l.series.forEach((o, h) => {
659
- this.isSafeValue(o) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
660
- -----> The serie '${l.name}' contains the value '${o}' at index ${h}.
661
- '${o}' was converted to null to allow the chart to display.`);
660
+ l.series.forEach((s, c) => {
661
+ this.isSafeValue(s) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
662
+ -----> The serie '${l.name}' contains the value '${s}' at index ${c}.
663
+ '${s}' was converted to null to allow the chart to display.`);
662
664
  });
663
665
  }), document.addEventListener("mousemove", (l) => {
664
666
  this.clientPosition = {
@@ -674,48 +676,49 @@ const He = Z(), We = {
674
676
  isStacked: this.FINAL_CONFIG.chart.grid.labels.yAxis.stacked,
675
677
  useIndividualScale: this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale
676
678
  }, this.FINAL_CONFIG.responsive) {
677
- const o = this.$refs.chart.parentNode, { height: h, width: m } = o.getBoundingClientRect();
679
+ const s = this.$refs.chart.parentNode, { height: c, width: m } = s.getBoundingClientRect();
678
680
  let t = null, e = 0;
679
681
  this.FINAL_CONFIG.chart.title.show && (t = this.$refs.chartTitle, e = t.getBoundingClientRect().height);
680
682
  let N = null, A = 0;
681
683
  this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (N = this.$refs.chartSlicer.$el, A = N.getBoundingClientRect().height);
682
- let f = null, x = 0;
683
- this.FINAL_CONFIG.chart.legend.show && (f = this.$refs.chartLegend, x = f.getBoundingClientRect().height), this.height = h - e - x - A, this.width = m, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((k) => {
684
+ let f = null, _ = 0;
685
+ this.FINAL_CONFIG.chart.legend.show && (f = this.$refs.chartLegend, _ = f.getBoundingClientRect().height), this.height = c - e - _ - A, this.width = m, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((k) => {
684
686
  for (const w of k)
685
- t && (e = t.getBoundingClientRect().height), N && (A = N.getBoundingClientRect().height), f && (x = f.getBoundingClientRect().height), this.height = w.contentBoxSize[0].blockSize - e - x - 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();
686
- }).observe(o);
687
+ t && (e = t.getBoundingClientRect().height), N && (A = N.getBoundingClientRect().height), f && (_ = f.getBoundingClientRect().height), this.height = w.contentBoxSize[0].blockSize - e - _ - 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();
688
+ }).observe(s);
687
689
  } else
688
690
  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;
689
691
  },
690
692
  methods: {
691
693
  abbreviate: le,
692
- assignStackRatios: re,
694
+ adaptColorToBackground: re,
693
695
  applyDataLabel: ie,
694
- calculateNiceScaleWithExactExtremes: se,
695
- checkNaN: oe,
696
- createSmoothPath: ne,
697
- isSafeValue: ce,
698
- treeShake: he,
699
- shiftHue: de,
700
- pdf: J,
701
- img: Q,
702
- convertColorToHex: ue,
703
- convertConfigColors: ge,
704
- convertCustomPalette: fe,
705
- downloadCsv: be,
706
- createCsvContent: me,
707
- adaptColorToBackground: Ie,
708
- calcLinearProgression: Ne,
709
- useMouse: Oe,
710
- closestDecimal: _e,
696
+ assignStackRatios: se,
697
+ calcLinearProgression: oe,
698
+ calculateNiceScaleWithExactExtremes: ne,
699
+ checkNaN: he,
700
+ closestDecimal: ce,
701
+ convertColorToHex: de,
702
+ convertConfigColors: ue,
703
+ convertCustomPalette: ge,
704
+ createCsvContent: fe,
705
+ createSmoothPath: be,
706
+ createTSpans: me,
711
707
  dataLabel: q,
712
- isFunction: xe,
713
- functionReturnsString: Fe,
714
- error: ye,
708
+ downloadCsv: Ie,
709
+ error: Ne,
710
+ functionReturnsString: xe,
711
+ hasDeepProperty: _e,
712
+ img: Q,
713
+ isFunction: Fe,
714
+ isSafeValue: ye,
715
715
  objectIsEmpty: Ae,
716
- createTSpans: Le,
717
- useNestedProp: U,
716
+ pdf: J,
717
+ shiftHue: Le,
718
718
  translateSize: Se,
719
+ treeShake: Ce,
720
+ useMouse: ve,
721
+ useNestedProp: U,
719
722
  convertSizes() {
720
723
  this.fontSizes.dataLabels = this.translateSize({
721
724
  relator: this.height,
@@ -772,25 +775,25 @@ const He = Z(), We = {
772
775
  },
773
776
  createArea(l) {
774
777
  if (!l[0]) return [-10, -10, "", -10, -10];
775
- const o = { x: l[0].x, y: this.zero }, h = { x: l.at(-1).x, y: this.zero }, m = [];
778
+ const s = { x: l[0].x, y: this.zero }, c = { x: l.at(-1).x, y: this.zero }, m = [];
776
779
  return l.forEach((t) => {
777
780
  m.push(`${t.x},${t.y} `);
778
- }), [o.x, o.y, ...m, h.x, h.y].toString();
781
+ }), [s.x, s.y, ...m, c.x, c.y].toString();
779
782
  },
780
- createIndividualArea(l, o) {
783
+ createIndividualArea(l, s) {
781
784
  if (!l[0]) return [-10, -10, "", -10, -10];
782
- const h = { x: l[0] ? l[0].x : Math.min(...l.filter((e) => !!e).map((e) => e.x)), y: o }, m = { x: l.at(-1) ? l.at(-1).x : Math.min(...l.filter((e) => !!e).map((e) => e.x)), y: o }, t = [];
785
+ const c = { x: l[0] ? l[0].x : Math.min(...l.filter((e) => !!e).map((e) => e.x)), y: s }, m = { x: l.at(-1) ? l.at(-1).x : Math.min(...l.filter((e) => !!e).map((e) => e.x)), y: s }, t = [];
783
786
  return l.filter((e) => !!e).forEach((e) => {
784
787
  t.push(`${e.x},${e.y} `);
785
- }), [h.x, h.y, ...t, m.x, m.y].toString();
788
+ }), [c.x, c.y, ...t, m.x, m.y].toString();
786
789
  },
787
790
  createStar: X,
788
- createPolygonPath: M,
789
- fillArray(l, o) {
790
- let h = Array(l).fill(0);
791
- for (let m = 0; m < o.length && m < l; m += 1)
792
- h[m] = o[m];
793
- return h;
791
+ createPolygonPath: P,
792
+ fillArray(l, s) {
793
+ let c = Array(l).fill(0);
794
+ for (let m = 0; m < s.length && m < l; m += 1)
795
+ c[m] = s[m];
796
+ return c;
794
797
  },
795
798
  refreshSlicer() {
796
799
  this.slicer = {
@@ -819,13 +822,13 @@ const He = Z(), We = {
819
822
  canShowValue(l) {
820
823
  return ![null, void 0, NaN].includes(l);
821
824
  },
822
- findClosestValue(l, o) {
823
- let h = o[0], m = Math.abs(l - o[0]);
824
- for (let t = 1; t < o.length; t += 1) {
825
- const e = Math.abs(l - o[t]);
826
- e < m && o[t] < l && (h = o[t], m = e);
825
+ findClosestValue(l, s) {
826
+ let c = s[0], m = Math.abs(l - s[0]);
827
+ for (let t = 1; t < s.length; t += 1) {
828
+ const e = Math.abs(l - s[t]);
829
+ e < m && s[t] < l && (c = s[t], m = e);
827
830
  }
828
- return h;
831
+ return c;
829
832
  },
830
833
  ratioToMax(l) {
831
834
  return l / this.absoluteMax;
@@ -834,11 +837,11 @@ const He = Z(), We = {
834
837
  this.$emit(
835
838
  "selectX",
836
839
  {
837
- dataset: this.relativeDataset.map((o) => ({
838
- name: o.name,
839
- value: [null, void 0, NaN].includes(o.absoluteValues[l]) ? null : o.absoluteValues[l],
840
- color: o.color,
841
- type: o.type
840
+ dataset: this.relativeDataset.map((s) => ({
841
+ name: s.name,
842
+ value: [null, void 0, NaN].includes(s.absoluteValues[l]) ? null : s.absoluteValues[l],
843
+ color: s.color,
844
+ type: s.type
842
845
  })),
843
846
  index: l,
844
847
  indexLabel: this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[l]
@@ -855,20 +858,20 @@ const He = Z(), We = {
855
858
  },
856
859
  segregate(l) {
857
860
  if (this.segregatedSeries.includes(l.id))
858
- this.segregatedSeries = this.segregatedSeries.filter((o) => o !== l.id);
861
+ this.segregatedSeries = this.segregatedSeries.filter((s) => s !== l.id);
859
862
  else {
860
863
  if (this.segregatedSeries.length + 1 === this.safeDataset.length) return;
861
864
  this.segregatedSeries.push(l.id);
862
865
  }
863
- this.$emit("selectLegend", this.relativeDataset.map((o) => ({
864
- name: o.name,
865
- values: o.absoluteValues,
866
- color: o.color,
867
- type: o.type
866
+ this.$emit("selectLegend", this.relativeDataset.map((s) => ({
867
+ name: s.name,
868
+ values: s.absoluteValues,
869
+ color: s.color,
870
+ type: s.type
868
871
  }))), this.segregateStep += 1;
869
872
  },
870
- toggleTooltipVisibility(l, o = null) {
871
- this.isTooltip = l, l ? this.selectedSerieIndex = o : this.selectedSerieIndex = null;
873
+ toggleTooltipVisibility(l, s = null) {
874
+ this.isTooltip = l, l ? this.selectedSerieIndex = s : this.selectedSerieIndex = null;
872
875
  },
873
876
  toggleFullscreen(l) {
874
877
  this.isFullscreen = l, this.step += 1;
@@ -887,7 +890,7 @@ const He = Z(), We = {
887
890
  }, 100);
888
891
  },
889
892
  generateCsv() {
890
- const l = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], o = ["", ...this.table.head.map((e) => e.label)], h = this.table.body, m = l.concat([o]).concat(h), t = this.createCsvContent(m);
893
+ const l = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], s = ["", ...this.table.head.map((e) => e.label)], c = this.table.body, m = l.concat([s]).concat(c), t = this.createCsvContent(m);
891
894
  this.downloadCsv({ csvContent: t, title: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy" });
892
895
  },
893
896
  showSpinnerImage() {
@@ -905,31 +908,31 @@ const He = Z(), We = {
905
908
  }, 100);
906
909
  }
907
910
  }
908
- }, Be = ["id"], Ye = ["viewBox"], Xe = { key: 0 }, qe = { class: "vue-ui-xy-grid" }, Ue = ["stroke", "x1", "x2", "y1", "y2"], Ze = ["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"], ct = ["id"], ht = ["stop-color"], dt = ["stop-color"], ut = ["id"], gt = ["stop-color"], ft = ["stop-color"], bt = ["id"], mt = ["stop-color"], It = ["stop-color"], Nt = ["x", "y", "height", "width", "fill"], _t = ["x", "y", "width"], xt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ft = ["width", "x", "y"], yt = { key: 0 }, At = ["id"], Lt = ["fill"], St = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ct = ["x", "y", "font-size", "fill"], kt = ["stroke", "x1", "x2", "y1", "y2"], wt = ["y", "width", "height", "fill"], Ot = ["x", "y", "width", "height", "fill"], vt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Gt = { key: 3 }, zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], pt = ["fill", "font-size", "transform"], Tt = ["x1", "x2", "y1", "y2", "stroke"], Mt = ["x", "y", "font-size", "fill"], Pt = ["x1", "x2", "y1", "y2", "stroke"], Vt = ["x", "y", "font-size", "fill"], Rt = ["width", "x", "y"], Dt = { style: { width: "100%" } }, Et = { key: 0 }, Ht = ["id"], Wt = ["fill"], Bt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Yt = ["x", "y", "font-size", "fill"], Xt = ["d", "stroke", "stroke-width", "stroke-dasharray"], qt = { key: 1 }, Ut = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Zt = { key: 0 }, Jt = ["d", "fill"], Kt = ["d", "fill"], Qt = ["d", "stroke", "stroke-width", "stroke-dasharray"], jt = { key: 2 }, $t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ea = ["width", "x", "y"], ta = { style: { width: "100%" } }, aa = { key: 3 }, la = ["id"], ra = ["fill"], ia = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], sa = ["x", "y", "font-size", "fill"], oa = { key: 4 }, na = ["x", "y", "font-size", "fill"], ca = ["x", "y", "font-size", "fill", "font-weight"], ha = { key: 5 }, da = ["x", "y", "font-size", "fill"], ua = ["x", "y"], ga = ["x", "y"], fa = { key: 6 }, ba = ["x", "y", "font-size", "fill"], ma = ["x", "y"], Ia = ["x", "y"], Na = ["x", "y", "font-size", "fill", "innerHTML"], _a = ["x", "y", "font-size", "fill", "innerHTML"], xa = ["x", "y", "font-size", "fill", "innerHTML"], Fa = ["x", "y", "font-size", "fill", "innerHTML"], 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 = {
911
+ }, Ye = ["id"], Xe = ["viewBox"], qe = { key: 0 }, Ue = { class: "vue-ui-xy-grid" }, Ze = ["stroke", "x1", "x2", "y1", "y2"], Je = ["stroke", "x1", "x2", "y1", "y2"], Ke = { key: 1 }, Qe = ["x1", "x2", "y1", "y2", "stroke"], je = ["x1", "x2", "y1", "y2", "stroke"], $e = ["x1", "x2", "y1", "y2", "stroke"], et = { key: 3 }, tt = ["x1", "x2", "y1", "y2", "stroke"], at = ["id"], lt = ["stop-color"], rt = ["stop-color"], it = ["stop-color"], st = ["id"], ot = ["stop-color"], nt = ["stop-color"], ht = ["stop-color"], ct = ["id"], dt = ["stop-color"], ut = ["stop-color"], gt = ["id"], ft = ["stop-color"], bt = ["stop-color"], mt = ["id"], It = ["stop-color"], Nt = ["stop-color"], xt = ["x", "y", "height", "width", "fill"], _t = ["x", "y", "width"], Ft = ["x", "y", "height", "width", "fill"], yt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], At = ["width", "x", "y"], Lt = { key: 0 }, St = ["id"], Ct = ["fill"], kt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], wt = ["x", "y", "font-size", "fill"], Ot = ["stroke", "x1", "x2", "y1", "y2"], vt = { key: 2 }, Gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], zt = ["y", "width", "height", "fill"], pt = ["x", "y", "width", "height", "fill"], Mt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Pt = { key: 4 }, Tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = ["fill", "font-size", "transform"], Rt = ["x1", "x2", "y1", "y2", "stroke"], Dt = ["x", "y", "font-size", "fill"], Et = ["x1", "x2", "y1", "y2", "stroke"], Ht = ["x", "y", "font-size", "fill"], Wt = ["width", "x", "y"], Bt = { style: { width: "100%" } }, Yt = { key: 0 }, Xt = ["id"], qt = ["fill"], Ut = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Zt = ["x", "y", "font-size", "fill"], Jt = ["d", "stroke", "stroke-width", "stroke-dasharray"], Kt = { key: 1 }, Qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], jt = { key: 0 }, $t = ["d", "fill"], ea = ["d", "fill"], ta = ["d", "stroke", "stroke-width", "stroke-dasharray"], aa = { key: 2 }, la = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ra = ["width", "x", "y"], ia = { style: { width: "100%" } }, sa = { key: 3 }, oa = ["id"], na = ["fill"], ha = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ca = ["x", "y", "font-size", "fill"], da = { key: 5 }, ua = ["x", "y", "font-size", "fill"], ga = ["x", "y", "font-size", "fill", "font-weight"], fa = { key: 6 }, ba = ["x", "y", "font-size", "fill"], ma = ["x", "y"], Ia = ["x", "y"], Na = { key: 7 }, xa = ["x", "y", "font-size", "fill"], _a = ["x", "y"], Fa = ["x", "y"], ya = ["x", "y", "font-size", "fill", "innerHTML"], Aa = ["x", "y", "font-size", "fill", "innerHTML"], La = ["x", "y", "font-size", "fill", "innerHTML"], Sa = ["x", "y", "font-size", "fill", "innerHTML"], Ca = ["x", "y", "width", "height", "fill", "onMouseenter"], ka = ["font-size", "fill", "transform"], wa = ["x", "y", "font-size", "fill"], Oa = { key: 9 }, va = ["text-anchor", "font-size", "fill", "transform"], Ga = ["x", "y", "height", "width", "onMouseenter", "onClick"], za = { key: 10 }, pa = ["x", "y"], Ma = ["cx", "cy", "r", "fill"], Pa = {
909
912
  key: 3,
910
913
  class: "vue-data-ui-watermark"
911
- }, Ta = ["onClick"], Ma = {
914
+ }, Ta = ["onClick"], Va = {
912
915
  key: 0,
913
916
  viewBox: "0 0 20 12",
914
917
  height: "14",
915
918
  width: "20"
916
- }, Pa = ["fill"], Va = {
919
+ }, Ra = ["fill"], Da = {
917
920
  key: 1,
918
921
  viewBox: "0 0 12 12",
919
922
  height: "14",
920
923
  width: "14"
921
- }, Ra = ["fill"], Da = {
924
+ }, Ea = ["fill"], Ha = {
922
925
  key: 7,
923
926
  ref: "chartLegend"
924
- }, Ea = {
927
+ }, Wa = {
925
928
  style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
926
929
  "data-html2canvas-ignore": ""
927
- }, Ha = ["innerHTML"];
928
- function Wa(l, o, h, m, t, e) {
929
- const N = P("Title"), A = P("UserOptions"), f = P("Shape"), x = P("Skeleton"), p = P("Slicer"), k = P("Tooltip"), w = P("BaseIcon"), G = P("TableSparkline"), _ = P("DataTable"), S = P("Accordion");
930
+ }, Ba = ["innerHTML"];
931
+ function Ya(l, s, c, m, t, e) {
932
+ const N = T("Title"), A = T("UserOptions"), f = T("Shape"), _ = T("Skeleton"), p = T("Slicer"), k = T("Tooltip"), w = T("BaseIcon"), G = T("TableSparkline"), x = T("DataTable"), S = T("Accordion");
930
933
  return r(), i("div", {
931
934
  id: `vue-ui-xy_${t.uniqueId}`,
932
- class: T(`vue-ui-xy ${t.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
935
+ class: M(`vue-ui-xy ${t.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
933
936
  ref: "chart",
934
937
  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%" : ""}`)
935
938
  }, [
@@ -951,7 +954,7 @@ function Wa(l, o, h, m, t, e) {
951
954
  }
952
955
  }
953
956
  }, null, 8, ["config"])
954
- ], 4)) : c("", !0),
957
+ ], 4)) : h("", !0),
955
958
  e.FINAL_CONFIG.chart.userOptions.show && e.isDataset ? (r(), V(A, {
956
959
  ref: "defails",
957
960
  key: `user_options_${t.step}`,
@@ -966,7 +969,7 @@ function Wa(l, o, h, m, t, e) {
966
969
  hasImg: e.FINAL_CONFIG.chart.userOptions.buttons.img,
967
970
  hasLabel: e.FINAL_CONFIG.chart.userOptions.buttons.labels,
968
971
  hasTable: e.FINAL_CONFIG.chart.userOptions.buttons.table,
969
- hasStack: h.dataset.length > 1 && e.FINAL_CONFIG.chart.userOptions.buttons.stack,
972
+ hasStack: c.dataset.length > 1 && e.FINAL_CONFIG.chart.userOptions.buttons.stack,
970
973
  hasFullscreen: e.FINAL_CONFIG.chart.userOptions.buttons.fullscreen,
971
974
  isStacked: t.mutableConfig.isStacked,
972
975
  isFullscreen: t.isFullscreen,
@@ -981,7 +984,7 @@ function Wa(l, o, h, m, t, e) {
981
984
  onToggleLabels: e.toggleLabels,
982
985
  onToggleStack: e.toggleStack,
983
986
  onToggleTooltip: e.toggleTooltip
984
- }, Pe({ _: 2 }, [
987
+ }, Ve({ _: 2 }, [
985
988
  l.$slots.optionTooltip ? {
986
989
  name: "optionTooltip",
987
990
  fn: z(() => [
@@ -1038,17 +1041,17 @@ function Wa(l, o, h, m, t, e) {
1038
1041
  ]),
1039
1042
  key: "7"
1040
1043
  } : void 0
1041
- ]), 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"])) : c("", !0),
1044
+ ]), 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),
1042
1045
  e.isDataset ? (r(), i("svg", {
1043
1046
  key: 2,
1044
1047
  xmlns: "http://www.w3.org/2000/svg",
1045
- class: T([{ "vue-data-ui-fullscreen--on": t.isFullscreen, "vue-data-ui-fulscreen--off": !t.isFullscreen }, "vue-ui-xy-svg"]),
1048
+ class: M([{ "vue-data-ui-fullscreen--on": t.isFullscreen, "vue-data-ui-fulscreen--off": !t.isFullscreen }, "vue-ui-xy-svg"]),
1046
1049
  width: "100%",
1047
1050
  viewBox: t.viewBox,
1048
1051
  style: L(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1049
1052
  }, [
1050
- e.maxSeries > 0 ? (r(), i("g", Xe, [
1051
- u("g", qe, [
1053
+ e.maxSeries > 0 ? (r(), i("g", qe, [
1054
+ u("g", Ue, [
1052
1055
  e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (r(), i("line", {
1053
1056
  key: 0,
1054
1057
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
@@ -1058,7 +1061,7 @@ function Wa(l, o, h, m, t, e) {
1058
1061
  y1: e.drawingArea.bottom,
1059
1062
  y2: e.drawingArea.bottom,
1060
1063
  "stroke-linecap": "round"
1061
- }, null, 8, Ue)) : c("", !0),
1064
+ }, null, 8, Ze)) : h("", !0),
1062
1065
  t.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(!0), i(b, { key: 2 }, I(e.allScales, (a) => (r(), i("g", null, [
1063
1066
  a.id === t.selectedScale && a.yLabels.length ? (r(!0), i(b, { key: 0 }, I(a.yLabels, (n) => (r(), i("line", {
1064
1067
  x1: e.drawingArea.left + e.xPadding,
@@ -1068,7 +1071,7 @@ function Wa(l, o, h, m, t, e) {
1068
1071
  stroke: a.color,
1069
1072
  "stroke-width": 0.5,
1070
1073
  "stroke-linecap": "round"
1071
- }, null, 8, Qe))), 256)) : a.yLabels.length ? (r(!0), i(b, { key: 1 }, I(a.yLabels, (n) => (r(), i("line", {
1074
+ }, null, 8, je))), 256)) : a.yLabels.length ? (r(!0), i(b, { key: 1 }, I(a.yLabels, (n) => (r(), i("line", {
1072
1075
  x1: e.drawingArea.left + e.xPadding,
1073
1076
  x2: e.drawingArea.right - e.xPadding,
1074
1077
  y1: n.y,
@@ -1076,8 +1079,8 @@ function Wa(l, o, h, m, t, e) {
1076
1079
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1077
1080
  "stroke-width": 0.5,
1078
1081
  "stroke-linecap": "round"
1079
- }, null, 8, je))), 256)) : c("", !0)
1080
- ]))), 256)) : c("", !0) : (r(), i(b, { key: 1 }, [
1082
+ }, null, 8, $e))), 256)) : h("", !0)
1083
+ ]))), 256)) : h("", !0) : (r(), i(b, { key: 1 }, [
1081
1084
  e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (r(), i("line", {
1082
1085
  key: 0,
1083
1086
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
@@ -1087,8 +1090,8 @@ function Wa(l, o, h, m, t, e) {
1087
1090
  y1: e.drawingArea.top,
1088
1091
  y2: e.drawingArea.bottom,
1089
1092
  "stroke-linecap": "round"
1090
- }, null, 8, Ze)) : c("", !0),
1091
- e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(), i("g", Je, [
1093
+ }, null, 8, Je)) : h("", !0),
1094
+ e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(), i("g", Ke, [
1092
1095
  (r(!0), i(b, null, I(e.yLabels, (a) => (r(), i("line", {
1093
1096
  x1: e.drawingArea.left + e.xPadding,
1094
1097
  x2: e.drawingArea.right - e.xPadding,
@@ -1097,10 +1100,10 @@ function Wa(l, o, h, m, t, e) {
1097
1100
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1098
1101
  "stroke-width": 0.5,
1099
1102
  "stroke-linecap": "round"
1100
- }, null, 8, Ke))), 256))
1101
- ])) : c("", !0)
1103
+ }, null, 8, Qe))), 256))
1104
+ ])) : h("", !0)
1102
1105
  ], 64)),
1103
- e.FINAL_CONFIG.chart.grid.showVerticalLines ? (r(), i("g", $e, [
1106
+ e.FINAL_CONFIG.chart.grid.showVerticalLines ? (r(), i("g", et, [
1104
1107
  (r(!0), i(b, null, I(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (a, n) => (r(), i("line", {
1105
1108
  key: `grid_vertical_line_${n}`,
1106
1109
  x1: e.drawingArea.width / e.maxSeries * n + e.drawingArea.left + e.xPadding,
@@ -1109,8 +1112,8 @@ function Wa(l, o, h, m, t, e) {
1109
1112
  y2: e.drawingArea.bottom,
1110
1113
  "stroke-width": "0.5",
1111
1114
  stroke: e.FINAL_CONFIG.chart.grid.stroke
1112
- }, null, 8, et))), 128))
1113
- ])) : c("", !0)
1115
+ }, null, 8, tt))), 128))
1116
+ ])) : h("", !0)
1114
1117
  ]),
1115
1118
  (r(!0), i(b, null, I(e.barSet, (a, n) => (r(), i("defs", {
1116
1119
  key: `def_rect_${n}`
@@ -1123,16 +1126,16 @@ function Wa(l, o, h, m, t, e) {
1123
1126
  u("stop", {
1124
1127
  offset: "0%",
1125
1128
  "stop-color": a.color
1126
- }, null, 8, at),
1129
+ }, null, 8, lt),
1127
1130
  u("stop", {
1128
1131
  offset: "62%",
1129
1132
  "stop-color": `${e.shiftHue(a.color, 0.02)}DE`
1130
- }, null, 8, lt),
1133
+ }, null, 8, rt),
1131
1134
  u("stop", {
1132
1135
  offset: "100%",
1133
1136
  "stop-color": `${e.shiftHue(a.color, 0.05)}66`
1134
- }, null, 8, rt)
1135
- ], 8, tt),
1137
+ }, null, 8, it)
1138
+ ], 8, at),
1136
1139
  u("linearGradient", {
1137
1140
  id: `rectGradient_neg_${n}_${t.uniqueId}`,
1138
1141
  x2: "0%",
@@ -1141,16 +1144,16 @@ function Wa(l, o, h, m, t, e) {
1141
1144
  u("stop", {
1142
1145
  offset: "0%",
1143
1146
  "stop-color": `${e.shiftHue(a.color, 0.05)}66`
1144
- }, null, 8, st),
1147
+ }, null, 8, ot),
1145
1148
  u("stop", {
1146
1149
  offset: "38%",
1147
1150
  "stop-color": `${e.shiftHue(a.color, 0.02)}DE`
1148
- }, null, 8, ot),
1151
+ }, null, 8, nt),
1149
1152
  u("stop", {
1150
1153
  offset: "100%",
1151
1154
  "stop-color": a.color
1152
- }, null, 8, nt)
1153
- ], 8, it)
1155
+ }, null, 8, ht)
1156
+ ], 8, st)
1154
1157
  ]))), 128)),
1155
1158
  (r(!0), i(b, null, I(e.plotSet, (a, n) => (r(), i("defs", {
1156
1159
  key: `def_plot_${n}`
@@ -1166,11 +1169,11 @@ function Wa(l, o, h, m, t, e) {
1166
1169
  u("stop", {
1167
1170
  offset: "0%",
1168
1171
  "stop-color": `${e.shiftHue(a.color, 0.05)}`
1169
- }, null, 8, ht),
1172
+ }, null, 8, dt),
1170
1173
  u("stop", {
1171
1174
  offset: "100%",
1172
1175
  "stop-color": a.color
1173
- }, null, 8, dt)
1176
+ }, null, 8, ut)
1174
1177
  ], 8, ct)
1175
1178
  ]))), 128)),
1176
1179
  (r(!0), i(b, null, I(e.lineSet, (a, n) => (r(), i("defs", {
@@ -1187,12 +1190,12 @@ function Wa(l, o, h, m, t, e) {
1187
1190
  u("stop", {
1188
1191
  offset: "0%",
1189
1192
  "stop-color": `${e.shiftHue(a.color, 0.05)}`
1190
- }, null, 8, gt),
1193
+ }, null, 8, ft),
1191
1194
  u("stop", {
1192
1195
  offset: "100%",
1193
1196
  "stop-color": a.color
1194
- }, null, 8, ft)
1195
- ], 8, ut),
1197
+ }, null, 8, bt)
1198
+ ], 8, gt),
1196
1199
  u("linearGradient", {
1197
1200
  id: `areaGradient_${n}_${t.uniqueId}`,
1198
1201
  x1: "0%",
@@ -1203,12 +1206,12 @@ function Wa(l, o, h, m, t, e) {
1203
1206
  u("stop", {
1204
1207
  offset: "0%",
1205
1208
  "stop-color": `${e.shiftHue(a.color, 0.03)}${t.opacity[e.FINAL_CONFIG.line.area.opacity]}`
1206
- }, null, 8, mt),
1209
+ }, null, 8, It),
1207
1210
  u("stop", {
1208
1211
  offset: "100%",
1209
1212
  "stop-color": `${a.color}${t.opacity[e.FINAL_CONFIG.line.area.opacity]}`
1210
- }, null, 8, It)
1211
- ], 8, bt)
1213
+ }, null, 8, Nt)
1214
+ ], 8, mt)
1212
1215
  ]))), 128)),
1213
1216
  (r(!0), i(b, null, I(e.highlightAreas, (a) => (r(), i("g", null, [
1214
1217
  a.show ? (r(), i(b, { key: 0 }, [
@@ -1218,7 +1221,7 @@ function Wa(l, o, h, m, t, e) {
1218
1221
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1219
1222
  width: e.drawingArea.width / e.maxSeries * a.span < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries * a.span,
1220
1223
  fill: `${a.color}${t.opacity[a.opacity]}`
1221
- }, null, 8, Nt),
1224
+ }, null, 8, xt),
1222
1225
  a.caption.text ? (r(), i("foreignObject", {
1223
1226
  key: 0,
1224
1227
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.from - t.slicer.start) - (a.caption.width === "auto" ? 0 : a.caption.width / 2 - e.drawingArea.width / e.maxSeries * a.span / 2),
@@ -1230,42 +1233,55 @@ function Wa(l, o, h, m, t, e) {
1230
1233
  u("div", {
1231
1234
  style: L(`padding:${a.caption.padding}px;text-align:${a.caption.textAlign};font-size:${a.caption.fontSize}px;color:${a.caption.color};font-weight:${a.caption.bold ? "bold" : "normal"}`)
1232
1235
  }, C(a.caption.text), 5)
1233
- ], 8, _t)) : c("", !0)
1234
- ], 64)) : c("", !0)
1236
+ ], 8, _t)) : h("", !0)
1237
+ ], 64)) : h("", !0)
1235
1238
  ]))), 256)),
1239
+ u("g", null, [
1240
+ (r(!0), i(b, null, I(e.maxSeries, (a, n) => (r(), i("g", {
1241
+ key: `tooltip_trap_${n}`
1242
+ }, [
1243
+ u("rect", {
1244
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * n,
1245
+ y: e.drawingArea.top,
1246
+ height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1247
+ width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
1248
+ fill: t.selectedSerieIndex === n || t.selectedRowIndex === n ? `${e.FINAL_CONFIG.chart.highlighter.color}${t.opacity[e.FINAL_CONFIG.chart.highlighter.opacity]}` : "transparent"
1249
+ }, null, 8, Ft)
1250
+ ]))), 128))
1251
+ ]),
1236
1252
  e.barSet.length ? (r(!0), i(b, { key: 0 }, I(e.barSet, (a, n) => (r(), i("g", {
1237
1253
  key: `serie_bar_${n}`,
1238
- class: T(`serie_bar_${n}`),
1254
+ class: M(`serie_bar_${n}`),
1239
1255
  style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1240
1256
  }, [
1241
- (r(!0), i(b, null, I(a.plots, (s, g) => (r(), i("g", {
1257
+ (r(!0), i(b, null, I(a.plots, (o, g) => (r(), i("g", {
1242
1258
  key: `bar_plot_${n}_${g}`
1243
1259
  }, [
1244
- e.canShowValue(s.value) ? (r(), i("rect", {
1260
+ e.canShowValue(o.value) ? (r(), i("rect", {
1245
1261
  key: 0,
1246
- x: e.calcRectX(s),
1247
- y: t.mutableConfig.useIndividualScale ? e.calcIndividualRectY(s) : e.calcRectY(s),
1248
- height: t.mutableConfig.useIndividualScale ? Math.abs(e.calcIndividualHeight(s)) : Math.abs(e.calcRectHeight(s)),
1262
+ x: e.calcRectX(o),
1263
+ y: t.mutableConfig.useIndividualScale ? e.calcIndividualRectY(o) : e.calcRectY(o),
1264
+ height: t.mutableConfig.useIndividualScale ? Math.abs(e.calcIndividualHeight(o)) : Math.abs(e.calcRectHeight(o)),
1249
1265
  width: e.calcRectWidth() - (t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? 0 : e.barPeriodGap) < 0 ? 1e-5 : e.calcRectWidth() - (t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? 0 : e.barPeriodGap),
1250
1266
  rx: e.FINAL_CONFIG.bar.borderRadius,
1251
- fill: e.FINAL_CONFIG.bar.useGradient ? s.value >= 0 ? `url(#rectGradient_pos_${n}_${t.uniqueId})` : `url(#rectGradient_neg_${n}_${t.uniqueId})` : a.color,
1267
+ fill: e.FINAL_CONFIG.bar.useGradient ? o.value >= 0 ? `url(#rectGradient_pos_${n}_${t.uniqueId})` : `url(#rectGradient_neg_${n}_${t.uniqueId})` : a.color,
1252
1268
  stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? a.color : e.FINAL_CONFIG.bar.border.stroke,
1253
1269
  "stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
1254
- }, null, 8, xt)) : c("", !0),
1255
- s.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), i("foreignObject", {
1270
+ }, null, 8, yt)) : h("", !0),
1271
+ o.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), i("foreignObject", {
1256
1272
  key: 1,
1257
1273
  style: { overflow: "visible" },
1258
1274
  height: "12",
1259
1275
  width: (e.calcRectWidth() - (t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? 0 : e.barPeriodGap) < 0 ? 1e-5 : e.calcRectWidth() - (t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? 0 : e.barPeriodGap) / 2) + e.FINAL_CONFIG.chart.comments.width,
1260
- x: e.calcRectX(s) - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1261
- y: s.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1276
+ x: e.calcRectX(o) - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1277
+ y: o.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1262
1278
  }, [
1263
1279
  v(l.$slots, "plot-comment", {
1264
- plot: { ...s, color: a.color }
1280
+ plot: { ...o, color: a.color }
1265
1281
  }, void 0, !0)
1266
- ], 8, Ft)) : c("", !0)
1282
+ ], 8, At)) : h("", !0)
1267
1283
  ]))), 128)),
1268
- Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g", yt, [
1284
+ Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g", Lt, [
1269
1285
  u("defs", null, [
1270
1286
  u("marker", {
1271
1287
  id: `bar_arrow_${n}`,
@@ -1278,8 +1294,8 @@ function Wa(l, o, h, m, t, e) {
1278
1294
  u("polygon", {
1279
1295
  points: `0 0, 7 ${7 / 2}, 0 7`,
1280
1296
  fill: a.color
1281
- }, null, 8, Lt)
1282
- ], 8, At)
1297
+ }, null, 8, Ct)
1298
+ ], 8, St)
1283
1299
  ]),
1284
1300
  a.plots.length > 1 ? (r(), i("line", {
1285
1301
  key: 0,
@@ -1291,7 +1307,7 @@ function Wa(l, o, h, m, t, e) {
1291
1307
  stroke: a.color,
1292
1308
  "stroke-dasharray": 2,
1293
1309
  "marker-end": `url(#bar_arrow_${n})`
1294
- }, null, 8, St)) : c("", !0),
1310
+ }, null, 8, kt)) : h("", !0),
1295
1311
  a.plots.length > 1 ? (r(), i("text", {
1296
1312
  key: 1,
1297
1313
  "text-anchor": "middle",
@@ -1303,9 +1319,9 @@ function Wa(l, o, h, m, t, e) {
1303
1319
  v: e.calcLinearProgression(a.plots).trend * 100,
1304
1320
  s: "%",
1305
1321
  r: 2
1306
- })), 9, Ct)) : c("", !0)
1307
- ])) : c("", !0)
1308
- ], 6))), 128)) : c("", !0),
1322
+ })), 9, wt)) : h("", !0)
1323
+ ])) : h("", !0)
1324
+ ], 6))), 128)) : h("", !0),
1309
1325
  !t.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (r(), i("line", {
1310
1326
  key: 1,
1311
1327
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
@@ -1315,7 +1331,20 @@ function Wa(l, o, h, m, t, e) {
1315
1331
  y1: e.zero,
1316
1332
  y2: e.zero,
1317
1333
  "stroke-linecap": "round"
1318
- }, null, 8, kt)) : c("", !0),
1334
+ }, null, 8, Ot)) : h("", !0),
1335
+ e.FINAL_CONFIG.chart.highlighter.useLine && ![null, void 0].includes(t.selectedSerieIndex) ? (r(), i("g", vt, [
1336
+ u("line", {
1337
+ x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * t.selectedSerieIndex + e.drawingArea.width / e.maxSeries / 2,
1338
+ x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * t.selectedSerieIndex + e.drawingArea.width / e.maxSeries / 2,
1339
+ y1: e.drawingArea.top,
1340
+ y2: e.drawingArea.bottom,
1341
+ stroke: e.FINAL_CONFIG.chart.highlighter.color,
1342
+ "stroke-width": e.FINAL_CONFIG.chart.highlighter.lineWidth,
1343
+ "stroke-dasharray": e.FINAL_CONFIG.chart.highlighter.lineDasharray,
1344
+ "stroke-linecap": "round",
1345
+ style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
1346
+ }, null, 8, Gt)
1347
+ ])) : h("", !0),
1319
1348
  u("g", null, [
1320
1349
  u("rect", {
1321
1350
  x: 0,
@@ -1323,17 +1352,17 @@ function Wa(l, o, h, m, t, e) {
1323
1352
  width: e.FINAL_CONFIG.chart.padding.left - 1 + e.xPadding,
1324
1353
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1325
1354
  fill: e.FINAL_CONFIG.chart.backgroundColor
1326
- }, null, 8, wt),
1355
+ }, null, 8, zt),
1327
1356
  u("rect", {
1328
1357
  x: e.drawingArea.right + 1 - e.xPadding,
1329
1358
  y: e.drawingArea.top,
1330
1359
  width: e.FINAL_CONFIG.chart.padding.right - 1 + e.xPadding,
1331
1360
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1332
1361
  fill: e.FINAL_CONFIG.chart.backgroundColor
1333
- }, null, 8, Ot)
1362
+ }, null, 8, pt)
1334
1363
  ]),
1335
1364
  e.FINAL_CONFIG.chart.grid.frame.show ? (r(), i("rect", {
1336
- key: 2,
1365
+ key: 3,
1337
1366
  style: { pointerEvents: "none" },
1338
1367
  x: e.drawingArea.left + e.xPadding,
1339
1368
  y: e.drawingArea.top,
@@ -1345,8 +1374,8 @@ function Wa(l, o, h, m, t, e) {
1345
1374
  "stroke-linecap": e.FINAL_CONFIG.chart.grid.frame.strokeLinecap,
1346
1375
  "stroke-linejoin": e.FINAL_CONFIG.chart.grid.frame.strokeLinejoin,
1347
1376
  "stroke-dasharray": e.FINAL_CONFIG.chart.grid.frame.strokeDasharray
1348
- }, null, 8, vt)) : c("", !0),
1349
- e.FINAL_CONFIG.chart.grid.labels.show ? (r(), i("g", Gt, [
1377
+ }, null, 8, Mt)) : h("", !0),
1378
+ e.FINAL_CONFIG.chart.grid.labels.show ? (r(), i("g", Pt, [
1350
1379
  t.mutableConfig.useIndividualScale ? (r(), i(b, { key: 0 }, [
1351
1380
  (r(!0), i(b, null, I(e.allScales, (a) => (r(), i("g", null, [
1352
1381
  u("line", {
@@ -1358,7 +1387,7 @@ function Wa(l, o, h, m, t, e) {
1358
1387
  "stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
1359
1388
  "stroke-linecap": "round",
1360
1389
  style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1361
- }, null, 12, zt)
1390
+ }, null, 12, Tt)
1362
1391
  ]))), 256)),
1363
1392
  (r(!0), i(b, null, I(e.allScales, (a) => (r(), i("g", {
1364
1393
  style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
@@ -1368,8 +1397,8 @@ function Wa(l, o, h, m, t, e) {
1368
1397
  "font-size": t.fontSizes.dataLabels,
1369
1398
  "text-anchor": "middle",
1370
1399
  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)`
1371
- }, C(a.name) + " " + C(a.scaleLabel ? `- ${a.scaleLabel}` : ""), 9, pt),
1372
- (r(!0), i(b, null, I(a.yLabels, (n, s) => (r(), i("line", {
1400
+ }, C(a.name) + " " + C(a.scaleLabel ? `- ${a.scaleLabel}` : ""), 9, Vt),
1401
+ (r(!0), i(b, null, I(a.yLabels, (n, o) => (r(), i("line", {
1373
1402
  x1: a.x - 3 + e.xPadding,
1374
1403
  x2: a.x + e.xPadding,
1375
1404
  y1: n.y,
@@ -1377,8 +1406,8 @@ function Wa(l, o, h, m, t, e) {
1377
1406
  stroke: a.color,
1378
1407
  "stroke-width": 1,
1379
1408
  "stroke-linecap": "round"
1380
- }, null, 8, Tt))), 256)),
1381
- (r(!0), i(b, null, I(a.yLabels, (n, s) => (r(), i("text", {
1409
+ }, null, 8, Rt))), 256)),
1410
+ (r(!0), i(b, null, I(a.yLabels, (n, o) => (r(), i("text", {
1382
1411
  x: a.x - 5 + e.xPadding,
1383
1412
  y: n.y + e.xPadding,
1384
1413
  "font-size": t.fontSizes.dataLabels,
@@ -1393,7 +1422,7 @@ function Wa(l, o, h, m, t, e) {
1393
1422
  s: e.FINAL_CONFIG.chart.labels.suffix,
1394
1423
  r: 1
1395
1424
  })
1396
- )), 9, Mt))), 256))
1425
+ )), 9, Dt))), 256))
1397
1426
  ], 4))), 256))
1398
1427
  ], 64)) : (r(!0), i(b, { key: 1 }, I(e.yLabels, (a, n) => (r(), i("g", {
1399
1428
  key: `yLabel_${n}`
@@ -1407,7 +1436,7 @@ function Wa(l, o, h, m, t, e) {
1407
1436
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1408
1437
  "stroke-width": "1",
1409
1438
  "stroke-linecap": "round"
1410
- }, null, 8, Pt)) : c("", !0),
1439
+ }, null, 8, Et)) : h("", !0),
1411
1440
  a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (r(), i("text", {
1412
1441
  key: 1,
1413
1442
  x: e.drawingArea.left - 7 + e.xPadding,
@@ -1424,42 +1453,42 @@ function Wa(l, o, h, m, t, e) {
1424
1453
  s: e.FINAL_CONFIG.chart.labels.suffix,
1425
1454
  r: 1
1426
1455
  })
1427
- ) : ""), 9, Vt)) : c("", !0)
1456
+ ) : ""), 9, Ht)) : h("", !0)
1428
1457
  ]))), 128))
1429
- ])) : c("", !0),
1458
+ ])) : h("", !0),
1430
1459
  (r(!0), i(b, null, I(e.plotSet, (a, n) => (r(), i("g", {
1431
1460
  key: `serie_plot_${n}`,
1432
- class: T(`serie_plot_${n}`),
1461
+ class: M(`serie_plot_${n}`),
1433
1462
  style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1434
1463
  }, [
1435
- (r(!0), i(b, null, I(a.plots, (s, g) => (r(), i("g", {
1464
+ (r(!0), i(b, null, I(a.plots, (o, g) => (r(), i("g", {
1436
1465
  key: `circle_plot_${n}_${g}`
1437
1466
  }, [
1438
- e.canShowValue(s.value) ? (r(), V(f, {
1467
+ e.canShowValue(o.value) ? (r(), V(f, {
1439
1468
  key: 0,
1440
1469
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
1441
1470
  color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${n}_${t.uniqueId})` : a.color,
1442
- plot: { x: s.x, y: s.y },
1471
+ plot: { x: o.x, y: o.y },
1443
1472
  radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === g ? (t.plotRadii.plot || 6) * 1.5 : t.plotRadii.plot || 6,
1444
1473
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1445
1474
  strokeWidth: 0.5
1446
- }, null, 8, ["shape", "color", "plot", "radius", "stroke"])) : c("", !0),
1447
- s.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), i("foreignObject", {
1475
+ }, null, 8, ["shape", "color", "plot", "radius", "stroke"])) : h("", !0),
1476
+ o.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), i("foreignObject", {
1448
1477
  key: 1,
1449
1478
  style: { overflow: "visible" },
1450
1479
  height: "12",
1451
1480
  width: e.FINAL_CONFIG.chart.comments.width,
1452
- x: s.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1453
- y: s.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1481
+ x: o.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1482
+ y: o.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1454
1483
  }, [
1455
- u("div", Dt, [
1484
+ u("div", Bt, [
1456
1485
  v(l.$slots, "plot-comment", {
1457
- plot: { ...s, color: a.color }
1486
+ plot: { ...o, color: a.color }
1458
1487
  }, void 0, !0)
1459
1488
  ])
1460
- ], 8, Rt)) : c("", !0)
1489
+ ], 8, Wt)) : h("", !0)
1461
1490
  ]))), 128)),
1462
- Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g", Et, [
1491
+ Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g", Yt, [
1463
1492
  u("defs", null, [
1464
1493
  u("marker", {
1465
1494
  id: `plot_arrow_${n}`,
@@ -1472,8 +1501,8 @@ function Wa(l, o, h, m, t, e) {
1472
1501
  u("polygon", {
1473
1502
  points: `0 0, 7 ${7 / 2}, 0 7`,
1474
1503
  fill: a.color
1475
- }, null, 8, Wt)
1476
- ], 8, Ht)
1504
+ }, null, 8, qt)
1505
+ ], 8, Xt)
1477
1506
  ]),
1478
1507
  a.plots.length > 1 ? (r(), i("line", {
1479
1508
  key: 0,
@@ -1485,7 +1514,7 @@ function Wa(l, o, h, m, t, e) {
1485
1514
  stroke: a.color,
1486
1515
  "stroke-dasharray": 2,
1487
1516
  "marker-end": `url(#plot_arrow_${n})`
1488
- }, null, 8, Bt)) : c("", !0),
1517
+ }, null, 8, Ut)) : h("", !0),
1489
1518
  a.plots.length > 1 ? (r(), i("text", {
1490
1519
  key: 1,
1491
1520
  "text-anchor": "middle",
@@ -1497,12 +1526,12 @@ function Wa(l, o, h, m, t, e) {
1497
1526
  v: e.calcLinearProgression(a.plots).trend * 100,
1498
1527
  s: "%",
1499
1528
  r: 2
1500
- })), 9, Yt)) : c("", !0)
1501
- ])) : c("", !0)
1529
+ })), 9, Zt)) : h("", !0)
1530
+ ])) : h("", !0)
1502
1531
  ], 6))), 128)),
1503
1532
  (r(!0), i(b, null, I(e.lineSet, (a, n) => (r(), i("g", {
1504
1533
  key: `serie_line_${n}`,
1505
- class: T(`serie_line_${n}`),
1534
+ class: M(`serie_line_${n}`),
1506
1535
  style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1507
1536
  }, [
1508
1537
  a.smooth && a.plots.length > 1 ? (r(), i("path", {
@@ -1512,41 +1541,41 @@ function Wa(l, o, h, m, t, e) {
1512
1541
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1513
1542
  "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1514
1543
  fill: "none"
1515
- }, null, 8, Xt)) : a.plots.length > 1 ? (r(), i("g", qt, [
1516
- (r(!0), i(b, null, I(a.plots, (s, g) => (r(), i("g", {
1544
+ }, null, 8, Jt)) : a.plots.length > 1 ? (r(), i("g", Kt, [
1545
+ (r(!0), i(b, null, I(a.plots, (o, g) => (r(), i("g", {
1517
1546
  key: `line_${n}_${g}`
1518
1547
  }, [
1519
- s && g < a.plots.length - 1 && a.plots[g + 1] && e.canShowValue(s.value) && e.canShowValue(a.plots[g + 1].value) ? (r(), i("line", {
1548
+ o && g < a.plots.length - 1 && a.plots[g + 1] && e.canShowValue(o.value) && e.canShowValue(a.plots[g + 1].value) ? (r(), i("line", {
1520
1549
  key: 0,
1521
- x1: s.x,
1550
+ x1: o.x,
1522
1551
  x2: a.plots[g + 1].x,
1523
- y1: s.y,
1552
+ y1: o.y,
1524
1553
  y2: a.plots[g + 1].y,
1525
1554
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1526
1555
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1527
1556
  "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1528
1557
  "stroke-linejoin": "round",
1529
1558
  "stroke-linecap": "round"
1530
- }, null, 8, Ut)) : c("", !0)
1559
+ }, null, 8, Qt)) : h("", !0)
1531
1560
  ]))), 128))
1532
- ])) : c("", !0)
1561
+ ])) : h("", !0)
1533
1562
  ], 6))), 128)),
1534
1563
  (r(!0), i(b, null, I(e.lineSet, (a, n) => (r(), i("g", {
1535
1564
  key: `serie_line_${n}`,
1536
- class: T(`serie_line_${n}`),
1565
+ class: M(`serie_line_${n}`),
1537
1566
  style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1538
1567
  }, [
1539
- a.useArea && a.plots.length > 1 ? (r(), i("g", Zt, [
1568
+ a.useArea && a.plots.length > 1 ? (r(), i("g", jt, [
1540
1569
  a.smooth ? (r(), i("path", {
1541
1570
  key: 0,
1542
- 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`,
1571
+ d: `M ${a.plots[0] ? a.plots[0].x : Math.min(...a.plots.filter((o) => !!o).map((o) => o.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`,
1543
1572
  fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${n}_${t.uniqueId})` : `${a.color}${t.opacity[e.FINAL_CONFIG.line.area.opacity]}`
1544
- }, null, 8, Jt)) : (r(), i("path", {
1573
+ }, null, 8, $t)) : (r(), i("path", {
1545
1574
  key: 1,
1546
1575
  d: `M${a.area}Z`,
1547
1576
  fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${n}_${t.uniqueId})` : `${a.color}${t.opacity[e.FINAL_CONFIG.line.area.opacity]}`
1548
- }, null, 8, Kt))
1549
- ])) : c("", !0),
1577
+ }, null, 8, ea))
1578
+ ])) : h("", !0),
1550
1579
  a.smooth && a.plots.length > 1 ? (r(), i("path", {
1551
1580
  key: 1,
1552
1581
  d: `M${a.curve}`,
@@ -1554,52 +1583,52 @@ function Wa(l, o, h, m, t, e) {
1554
1583
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1555
1584
  "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1556
1585
  fill: "none"
1557
- }, null, 8, Qt)) : a.plots.length > 1 ? (r(), i("g", jt, [
1558
- (r(!0), i(b, null, I(a.plots, (s, g) => (r(), i("g", {
1586
+ }, null, 8, ta)) : a.plots.length > 1 ? (r(), i("g", aa, [
1587
+ (r(!0), i(b, null, I(a.plots, (o, g) => (r(), i("g", {
1559
1588
  key: `line_${n}_${g}`
1560
1589
  }, [
1561
- s && g < a.plots.length - 1 && a.plots[g + 1] && e.canShowValue(s.value) && e.canShowValue(a.plots[g + 1].value) ? (r(), i("line", {
1590
+ o && g < a.plots.length - 1 && a.plots[g + 1] && e.canShowValue(o.value) && e.canShowValue(a.plots[g + 1].value) ? (r(), i("line", {
1562
1591
  key: 0,
1563
- x1: s.x,
1592
+ x1: o.x,
1564
1593
  x2: a.plots[g + 1].x,
1565
- y1: s.y,
1594
+ y1: o.y,
1566
1595
  y2: a.plots[g + 1].y,
1567
1596
  stroke: a.color,
1568
1597
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1569
1598
  "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1570
1599
  "stroke-linejoin": "round",
1571
1600
  "stroke-linecap": "round"
1572
- }, null, 8, $t)) : c("", !0)
1601
+ }, null, 8, la)) : h("", !0)
1573
1602
  ]))), 128))
1574
- ])) : c("", !0),
1575
- (r(!0), i(b, null, I(a.plots, (s, g) => (r(), i("g", {
1603
+ ])) : h("", !0),
1604
+ (r(!0), i(b, null, I(a.plots, (o, g) => (r(), i("g", {
1576
1605
  key: `circle_line_${n}_${g}`
1577
1606
  }, [
1578
- s && e.canShowValue(s.value) ? (r(), V(f, {
1607
+ o && e.canShowValue(o.value) ? (r(), V(f, {
1579
1608
  key: 0,
1580
1609
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
1581
1610
  color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${n}_${t.uniqueId})` : a.color,
1582
- plot: { x: s.x, y: s.y },
1611
+ plot: { x: o.x, y: o.y },
1583
1612
  radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === g ? (t.plotRadii.line || 6) * 1.5 : t.plotRadii.line,
1584
1613
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1585
1614
  strokeWidth: 0.5
1586
- }, null, 8, ["shape", "color", "plot", "radius", "stroke"])) : c("", !0),
1587
- s.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), i("foreignObject", {
1615
+ }, null, 8, ["shape", "color", "plot", "radius", "stroke"])) : h("", !0),
1616
+ o.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), i("foreignObject", {
1588
1617
  key: 1,
1589
1618
  style: { overflow: "visible" },
1590
1619
  height: "12",
1591
1620
  width: e.FINAL_CONFIG.chart.comments.width,
1592
- x: s.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1593
- y: s.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1621
+ x: o.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1622
+ y: o.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1594
1623
  }, [
1595
- u("div", ta, [
1624
+ u("div", ia, [
1596
1625
  v(l.$slots, "plot-comment", {
1597
- plot: { ...s, color: a.color }
1626
+ plot: { ...o, color: a.color }
1598
1627
  }, void 0, !0)
1599
1628
  ])
1600
- ], 8, ea)) : c("", !0)
1629
+ ], 8, ra)) : h("", !0)
1601
1630
  ]))), 128)),
1602
- Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g", aa, [
1631
+ Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g", sa, [
1603
1632
  u("defs", null, [
1604
1633
  u("marker", {
1605
1634
  id: `line_arrow_${n}`,
@@ -1612,8 +1641,8 @@ function Wa(l, o, h, m, t, e) {
1612
1641
  u("polygon", {
1613
1642
  points: `0 0, 7 ${7 / 2}, 0 7`,
1614
1643
  fill: a.color
1615
- }, null, 8, ra)
1616
- ], 8, la)
1644
+ }, null, 8, na)
1645
+ ], 8, oa)
1617
1646
  ]),
1618
1647
  a.plots.length > 1 ? (r(), i("line", {
1619
1648
  key: 0,
@@ -1625,7 +1654,7 @@ function Wa(l, o, h, m, t, e) {
1625
1654
  stroke: a.color,
1626
1655
  "stroke-dasharray": 2,
1627
1656
  "marker-end": `url(#line_arrow_${n})`
1628
- }, null, 8, ia)) : c("", !0),
1657
+ }, null, 8, ha)) : h("", !0),
1629
1658
  a.plots.length > 1 ? (r(), i("text", {
1630
1659
  key: 1,
1631
1660
  "text-anchor": "middle",
@@ -1637,85 +1666,85 @@ function Wa(l, o, h, m, t, e) {
1637
1666
  v: e.calcLinearProgression(a.plots).trend * 100,
1638
1667
  s: "%",
1639
1668
  r: 2
1640
- })), 9, sa)) : c("", !0)
1641
- ])) : c("", !0)
1669
+ })), 9, ca)) : h("", !0)
1670
+ ])) : h("", !0)
1642
1671
  ], 6))), 128)),
1643
- (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && t.mutableConfig.dataLabels.show ? (r(), i("g", oa, [
1672
+ (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && t.mutableConfig.dataLabels.show ? (r(), i("g", da, [
1644
1673
  (r(!0), i(b, null, I(e.barSet, (a, n) => (r(), i("g", {
1645
1674
  key: `xLabel_bar_${n}`,
1646
- class: T(`xLabel_bar_${n}`),
1675
+ class: M(`xLabel_bar_${n}`),
1647
1676
  style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1648
1677
  }, [
1649
- (r(!0), i(b, null, I(a.plots, (s, g) => (r(), i("g", {
1678
+ (r(!0), i(b, null, I(a.plots, (o, g) => (r(), i("g", {
1650
1679
  key: `xLabel_bar_${n}_${g}`
1651
1680
  }, [
1652
- s && (!Object.hasOwn(a, "dataLabels") || a.dataLabels === !0) && e.FINAL_CONFIG.bar.labels.show ? (r(), i("text", {
1681
+ o && (!Object.hasOwn(a, "dataLabels") || a.dataLabels === !0) && e.FINAL_CONFIG.bar.labels.show ? (r(), i("text", {
1653
1682
  key: 0,
1654
- x: t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? s.x + e.slot.line / 2 : e.calcRectX(s) + e.calcRectWidth() / 2 - e.barPeriodGap / 2,
1655
- y: s.y + (s.value > 0 ? e.FINAL_CONFIG.bar.labels.offsetY : -e.FINAL_CONFIG.bar.labels.offsetY * 3),
1683
+ x: t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? o.x + e.slot.line / 2 : e.calcRectX(o) + e.calcRectWidth() / 2 - e.barPeriodGap / 2,
1684
+ y: o.y + (o.value > 0 ? e.FINAL_CONFIG.bar.labels.offsetY : -e.FINAL_CONFIG.bar.labels.offsetY * 3),
1656
1685
  "text-anchor": "middle",
1657
1686
  "font-size": t.fontSizes.plotLabels,
1658
1687
  fill: e.FINAL_CONFIG.bar.labels.color
1659
- }, C(e.canShowValue(s.value) ? e.applyDataLabel(
1688
+ }, C(e.canShowValue(o.value) ? e.applyDataLabel(
1660
1689
  e.FINAL_CONFIG.bar.labels.formatter,
1661
- s.value,
1690
+ o.value,
1662
1691
  e.dataLabel({
1663
1692
  p: e.FINAL_CONFIG.chart.labels.prefix,
1664
- v: s.value,
1693
+ v: o.value,
1665
1694
  s: e.FINAL_CONFIG.chart.labels.suffix,
1666
1695
  r: e.FINAL_CONFIG.bar.labels.rounding
1667
1696
  }),
1668
1697
  {
1669
- datapoint: s,
1698
+ datapoint: o,
1670
1699
  serie: a
1671
1700
  }
1672
- ) : ""), 9, na)) : c("", !0),
1673
- s && e.FINAL_CONFIG.bar.serieName.show ? (r(), i("text", {
1701
+ ) : ""), 9, ua)) : h("", !0),
1702
+ o && e.FINAL_CONFIG.bar.serieName.show ? (r(), i("text", {
1674
1703
  key: 1,
1675
- x: t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? s.x + e.slot.line / 2 : s.x + e.calcRectWidth() * 1.1,
1676
- y: s.y + (s.value > 0 ? e.FINAL_CONFIG.bar.serieName.offsetY : -e.FINAL_CONFIG.bar.serieName.offsetY * 3),
1704
+ x: t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? o.x + e.slot.line / 2 : o.x + e.calcRectWidth() * 1.1,
1705
+ y: o.y + (o.value > 0 ? e.FINAL_CONFIG.bar.serieName.offsetY : -e.FINAL_CONFIG.bar.serieName.offsetY * 3),
1677
1706
  "text-anchor": "middle",
1678
1707
  "font-size": t.fontSizes.plotLabels,
1679
1708
  fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? a.color : e.FINAL_CONFIG.bar.serieName.color,
1680
1709
  "font-weight": e.FINAL_CONFIG.bar.serieName.bold ? "bold" : "normal"
1681
- }, C(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: a.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : a.name), 9, ca)) : c("", !0)
1710
+ }, C(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: a.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : a.name), 9, ga)) : h("", !0)
1682
1711
  ]))), 128))
1683
1712
  ], 6))), 128))
1684
- ])) : c("", !0),
1685
- e.FINAL_CONFIG.plot.labels.show && t.mutableConfig.dataLabels.show ? (r(), i("g", ha, [
1713
+ ])) : h("", !0),
1714
+ e.FINAL_CONFIG.plot.labels.show && t.mutableConfig.dataLabels.show ? (r(), i("g", fa, [
1686
1715
  (r(!0), i(b, null, I(e.plotSet, (a, n) => (r(), i("g", {
1687
1716
  key: `xLabel_plot_${n}`,
1688
- class: T(`xLabel_plot_${n}`),
1717
+ class: M(`xLabel_plot_${n}`),
1689
1718
  style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1690
1719
  }, [
1691
- (r(!0), i(b, null, I(a.plots, (s, g) => (r(), i("g", {
1720
+ (r(!0), i(b, null, I(a.plots, (o, g) => (r(), i("g", {
1692
1721
  key: `xLabel_plot_${n}_${g}`
1693
1722
  }, [
1694
- s && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 ? (r(), i("text", {
1723
+ o && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 ? (r(), i("text", {
1695
1724
  key: 0,
1696
- x: s.x,
1697
- y: s.y + e.FINAL_CONFIG.plot.labels.offsetY,
1725
+ x: o.x,
1726
+ y: o.y + e.FINAL_CONFIG.plot.labels.offsetY,
1698
1727
  "text-anchor": "middle",
1699
1728
  "font-size": t.fontSizes.plotLabels,
1700
1729
  fill: e.FINAL_CONFIG.plot.labels.color
1701
- }, C(e.canShowValue(s.value) ? e.applyDataLabel(
1730
+ }, C(e.canShowValue(o.value) ? e.applyDataLabel(
1702
1731
  e.FINAL_CONFIG.plot.labels.formatter,
1703
- s.value,
1732
+ o.value,
1704
1733
  e.dataLabel({
1705
1734
  p: e.FINAL_CONFIG.chart.labels.prefix,
1706
- v: s.value,
1735
+ v: o.value,
1707
1736
  s: e.FINAL_CONFIG.chart.labels.suffix,
1708
1737
  r: e.FINAL_CONFIG.plot.labels.rounding
1709
1738
  }),
1710
1739
  {
1711
- datapoint: s,
1740
+ datapoint: o,
1712
1741
  serie: a
1713
1742
  }
1714
- ) : ""), 9, da)) : c("", !0),
1715
- s && g === 0 && a.useTag && a.useTag === "start" ? (r(), i("foreignObject", {
1743
+ ) : ""), 9, ba)) : h("", !0),
1744
+ o && g === 0 && a.useTag && a.useTag === "start" ? (r(), i("foreignObject", {
1716
1745
  key: 1,
1717
- x: s.x,
1718
- y: s.y - 20,
1746
+ x: o.x,
1747
+ y: o.y - 20,
1719
1748
  height: 24,
1720
1749
  width: "150",
1721
1750
  style: { overflow: "visible" }
@@ -1723,11 +1752,11 @@ function Wa(l, o, h, m, t, e) {
1723
1752
  u("div", {
1724
1753
  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;`)
1725
1754
  }, C(a.name), 5)
1726
- ], 8, ua)) : c("", !0),
1727
- s && g === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (r(), i("foreignObject", {
1755
+ ], 8, ma)) : h("", !0),
1756
+ o && g === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (r(), i("foreignObject", {
1728
1757
  key: 2,
1729
- x: s.x - a.name.length * (t.fontSizes.plotLabels / 2),
1730
- y: s.y - 20,
1758
+ x: o.x - a.name.length * (t.fontSizes.plotLabels / 2),
1759
+ y: o.y - 20,
1731
1760
  height: 24,
1732
1761
  width: "150",
1733
1762
  style: { overflow: "visible" }
@@ -1735,44 +1764,44 @@ function Wa(l, o, h, m, t, e) {
1735
1764
  u("div", {
1736
1765
  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;`)
1737
1766
  }, C(a.name), 5)
1738
- ], 8, ga)) : c("", !0)
1767
+ ], 8, Ia)) : h("", !0)
1739
1768
  ]))), 128))
1740
1769
  ], 6))), 128))
1741
- ])) : c("", !0),
1742
- e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (r(), i("g", fa, [
1770
+ ])) : h("", !0),
1771
+ e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (r(), i("g", Na, [
1743
1772
  (r(!0), i(b, null, I(e.lineSet, (a, n) => (r(), i("g", {
1744
1773
  key: `xLabel_line_${n}`,
1745
- class: T(`xLabel_line_${n}`),
1774
+ class: M(`xLabel_line_${n}`),
1746
1775
  style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1747
1776
  }, [
1748
- (r(!0), i(b, null, I(a.plots, (s, g) => (r(), i("g", {
1777
+ (r(!0), i(b, null, I(a.plots, (o, g) => (r(), i("g", {
1749
1778
  key: `xLabel_line_${n}_${g}`
1750
1779
  }, [
1751
- s && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 ? (r(), i("text", {
1780
+ o && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 ? (r(), i("text", {
1752
1781
  key: 0,
1753
- x: s.x,
1754
- y: s.y + (s.value > 0 ? e.FINAL_CONFIG.line.labels.offsetY : -e.FINAL_CONFIG.line.labels.offsetY * 3),
1782
+ x: o.x,
1783
+ y: o.y + (o.value > 0 ? e.FINAL_CONFIG.line.labels.offsetY : -e.FINAL_CONFIG.line.labels.offsetY * 3),
1755
1784
  "text-anchor": "middle",
1756
1785
  "font-size": t.fontSizes.plotLabels,
1757
1786
  fill: e.FINAL_CONFIG.line.labels.color
1758
- }, C(e.canShowValue(s.value) ? e.applyDataLabel(
1787
+ }, C(e.canShowValue(o.value) ? e.applyDataLabel(
1759
1788
  e.FINAL_CONFIG.line.labels.formatter,
1760
- s.value,
1789
+ o.value,
1761
1790
  e.dataLabel({
1762
1791
  p: e.FINAL_CONFIG.chart.labels.prefix,
1763
- v: s.value,
1792
+ v: o.value,
1764
1793
  s: e.FINAL_CONFIG.chart.labels.suffix,
1765
1794
  r: e.FINAL_CONFIG.line.labels.rounding
1766
1795
  }),
1767
1796
  {
1768
- datapoint: s,
1797
+ datapoint: o,
1769
1798
  serie: a
1770
1799
  }
1771
- ) : ""), 9, ba)) : c("", !0),
1772
- s && g === 0 && a.useTag && a.useTag === "start" ? (r(), i("foreignObject", {
1800
+ ) : ""), 9, xa)) : h("", !0),
1801
+ o && g === 0 && a.useTag && a.useTag === "start" ? (r(), i("foreignObject", {
1773
1802
  key: 1,
1774
- x: s.x,
1775
- y: s.y - 20,
1803
+ x: o.x,
1804
+ y: o.y - 20,
1776
1805
  height: 24,
1777
1806
  width: "150",
1778
1807
  style: { overflow: "visible" }
@@ -1780,11 +1809,11 @@ function Wa(l, o, h, m, t, e) {
1780
1809
  u("div", {
1781
1810
  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;`)
1782
1811
  }, C(a.name), 5)
1783
- ], 8, ma)) : c("", !0),
1784
- s && g === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (r(), i("foreignObject", {
1812
+ ], 8, _a)) : h("", !0),
1813
+ o && g === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (r(), i("foreignObject", {
1785
1814
  key: 2,
1786
- x: s.x - a.name.length * (t.fontSizes.plotLabels / 2),
1787
- y: s.y - 20,
1815
+ x: o.x - a.name.length * (t.fontSizes.plotLabels / 2),
1816
+ y: o.y - 20,
1788
1817
  height: 24,
1789
1818
  width: "150",
1790
1819
  style: { overflow: "visible" }
@@ -1792,22 +1821,22 @@ function Wa(l, o, h, m, t, e) {
1792
1821
  u("div", {
1793
1822
  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;`)
1794
1823
  }, C(a.name), 5)
1795
- ], 8, Ia)) : c("", !0)
1824
+ ], 8, Fa)) : h("", !0)
1796
1825
  ]))), 128))
1797
1826
  ], 6))), 128))
1798
- ])) : c("", !0),
1827
+ ])) : h("", !0),
1799
1828
  (r(!0), i(b, null, I(e.lineSet, (a, n) => (r(), i("g", {
1800
1829
  key: `xLabel_line_${n}`,
1801
- class: T(`xLabel_line_${n}`),
1830
+ class: M(`xLabel_line_${n}`),
1802
1831
  style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1803
1832
  }, [
1804
- (r(!0), i(b, null, I(a.plots, (s, g) => (r(), i("g", {
1833
+ (r(!0), i(b, null, I(a.plots, (o, g) => (r(), i("g", {
1805
1834
  key: `xLabel_line_${n}_${g}`
1806
1835
  }, [
1807
- s && g === 0 && a.showSerieName && a.showSerieName === "start" ? (r(), i("text", {
1836
+ o && g === 0 && a.showSerieName && a.showSerieName === "start" ? (r(), i("text", {
1808
1837
  key: 0,
1809
- x: s.x - t.fontSizes.plotLabels,
1810
- y: s.y,
1838
+ x: o.x - t.fontSizes.plotLabels,
1839
+ y: o.y,
1811
1840
  "font-size": t.fontSizes.plotLabels,
1812
1841
  "text-anchor": "end",
1813
1842
  fill: a.color,
@@ -1815,15 +1844,15 @@ function Wa(l, o, h, m, t, e) {
1815
1844
  content: a.name,
1816
1845
  fontSize: t.fontSizes.plotLabels,
1817
1846
  fill: a.color,
1818
- x: s.x - t.fontSizes.plotLabels,
1819
- y: s.y,
1847
+ x: o.x - t.fontSizes.plotLabels,
1848
+ y: o.y,
1820
1849
  maxWords: 2
1821
1850
  })
1822
- }, null, 8, Na)) : c("", !0),
1823
- s && g === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (r(), i("text", {
1851
+ }, null, 8, ya)) : h("", !0),
1852
+ o && g === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (r(), i("text", {
1824
1853
  key: 1,
1825
- x: s.x + t.fontSizes.plotLabels,
1826
- y: s.y,
1854
+ x: o.x + t.fontSizes.plotLabels,
1855
+ y: o.y,
1827
1856
  "font-size": t.fontSizes.plotLabels,
1828
1857
  "text-anchor": "start",
1829
1858
  fill: a.color,
@@ -1831,25 +1860,25 @@ function Wa(l, o, h, m, t, e) {
1831
1860
  content: a.name,
1832
1861
  fontSize: t.fontSizes.plotLabels,
1833
1862
  fill: a.color,
1834
- x: s.x + t.fontSizes.plotLabels,
1835
- y: s.y,
1863
+ x: o.x + t.fontSizes.plotLabels,
1864
+ y: o.y,
1836
1865
  maxWords: 2
1837
1866
  })
1838
- }, null, 8, _a)) : c("", !0)
1867
+ }, null, 8, Aa)) : h("", !0)
1839
1868
  ]))), 128))
1840
1869
  ], 6))), 128)),
1841
1870
  (r(!0), i(b, null, I(e.plotSet, (a, n) => (r(), i("g", {
1842
1871
  key: `xLabel_plot_${n}`,
1843
- class: T(`xLabel_plot_${n}`),
1872
+ class: M(`xLabel_plot_${n}`),
1844
1873
  style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1845
1874
  }, [
1846
- (r(!0), i(b, null, I(a.plots, (s, g) => (r(), i("g", {
1875
+ (r(!0), i(b, null, I(a.plots, (o, g) => (r(), i("g", {
1847
1876
  key: `xLabel_plot_${n}_${g}`
1848
1877
  }, [
1849
- s && g === 0 && a.showSerieName && a.showSerieName === "start" ? (r(), i("text", {
1878
+ o && g === 0 && a.showSerieName && a.showSerieName === "start" ? (r(), i("text", {
1850
1879
  key: 0,
1851
- x: s.x - t.fontSizes.plotLabels,
1852
- y: s.y,
1880
+ x: o.x - t.fontSizes.plotLabels,
1881
+ y: o.y,
1853
1882
  "font-size": t.fontSizes.plotLabels,
1854
1883
  "text-anchor": "end",
1855
1884
  fill: a.color,
@@ -1857,15 +1886,15 @@ function Wa(l, o, h, m, t, e) {
1857
1886
  content: a.name,
1858
1887
  fontSize: t.fontSizes.plotLabels,
1859
1888
  fill: a.color,
1860
- x: s.x - t.fontSizes.plotLabels,
1861
- y: s.y,
1889
+ x: o.x - t.fontSizes.plotLabels,
1890
+ y: o.y,
1862
1891
  maxWords: 2
1863
1892
  })
1864
- }, null, 8, xa)) : c("", !0),
1865
- s && g === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (r(), i("text", {
1893
+ }, null, 8, La)) : h("", !0),
1894
+ o && g === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (r(), i("text", {
1866
1895
  key: 1,
1867
- x: s.x + t.fontSizes.plotLabels,
1868
- y: s.y,
1896
+ x: o.x + t.fontSizes.plotLabels,
1897
+ y: o.y,
1869
1898
  "font-size": t.fontSizes.plotLabels,
1870
1899
  "text-anchor": "start",
1871
1900
  fill: a.color,
@@ -1873,22 +1902,22 @@ function Wa(l, o, h, m, t, e) {
1873
1902
  content: a.name,
1874
1903
  fontSize: t.fontSizes.plotLabels,
1875
1904
  fill: a.color,
1876
- x: s.x + t.fontSizes.plotLabels,
1877
- y: s.y,
1905
+ x: o.x + t.fontSizes.plotLabels,
1906
+ y: o.y,
1878
1907
  maxWords: 2
1879
1908
  })
1880
- }, null, 8, Fa)) : c("", !0)
1909
+ }, null, 8, Sa)) : h("", !0)
1881
1910
  ]))), 128))
1882
1911
  ], 6))), 128)),
1883
- t.mutableConfig.useIndividualScale && !t.mutableConfig.isStacked ? (r(!0), i(b, { key: 7 }, I(e.allScales, (a) => (r(), i("rect", {
1912
+ t.mutableConfig.useIndividualScale && !t.mutableConfig.isStacked ? (r(!0), i(b, { key: 8 }, I(e.allScales, (a) => (r(), i("rect", {
1884
1913
  x: a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
1885
1914
  y: e.drawingArea.top,
1886
1915
  width: e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
1887
1916
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1888
1917
  fill: t.selectedScale === a.id ? `${a.color}20` : "transparent",
1889
1918
  onMouseenter: (n) => t.selectedScale = a.id,
1890
- onMouseleave: o[0] || (o[0] = (n) => t.selectedScale = null)
1891
- }, null, 40, ya))), 256)) : c("", !0),
1919
+ onMouseleave: s[0] || (s[0] = (n) => t.selectedScale = null)
1920
+ }, null, 40, Ca))), 256)) : h("", !0),
1892
1921
  u("g", null, [
1893
1922
  e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !t.mutableConfig.useIndividualScale ? (r(), i("text", {
1894
1923
  key: 0,
@@ -1897,7 +1926,7 @@ function Wa(l, o, h, m, t, e) {
1897
1926
  transform: `translate(${t.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
1898
1927
  "text-anchor": "middle",
1899
1928
  style: { transition: "none" }
1900
- }, C(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, Aa)) : c("", !0),
1929
+ }, C(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, ka)) : h("", !0),
1901
1930
  e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (r(), i("text", {
1902
1931
  key: 1,
1903
1932
  "text-anchor": "middle",
@@ -1905,9 +1934,9 @@ function Wa(l, o, h, m, t, e) {
1905
1934
  y: e.drawingArea.bottom + t.fontSizes.yAxis + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
1906
1935
  "font-size": t.fontSizes.yAxis,
1907
1936
  fill: e.FINAL_CONFIG.chart.grid.labels.color
1908
- }, C(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, La)) : c("", !0)
1937
+ }, C(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, wa)) : h("", !0)
1909
1938
  ]),
1910
- e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (r(), i("g", Sa, [
1939
+ e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (r(), i("g", Oa, [
1911
1940
  (r(!0), i(b, null, I(e.timeLabels, (a, n) => (r(), i("g", {
1912
1941
  key: `time_label_${n}`
1913
1942
  }, [
@@ -1917,9 +1946,9 @@ function Wa(l, o, h, m, t, e) {
1917
1946
  "font-size": t.fontSizes.xAxis,
1918
1947
  fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
1919
1948
  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})`
1920
- }, C(a || ""), 9, Ca)) : c("", !0)
1949
+ }, C(a || ""), 9, va)) : h("", !0)
1921
1950
  ]))), 128))
1922
- ])) : c("", !0),
1951
+ ])) : h("", !0),
1923
1952
  u("g", null, [
1924
1953
  (r(!0), i(b, null, I(e.maxSeries, (a, n) => (r(), i("g", {
1925
1954
  key: `tooltip_trap_${n}`
@@ -1930,27 +1959,14 @@ function Wa(l, o, h, m, t, e) {
1930
1959
  y: e.drawingArea.top,
1931
1960
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1932
1961
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
1933
- fill: t.selectedSerieIndex === n || t.selectedRowIndex === n ? `${e.FINAL_CONFIG.chart.highlighter.color}${t.opacity[e.FINAL_CONFIG.chart.highlighter.opacity]}` : "transparent",
1934
- onMouseenter: (s) => e.toggleTooltipVisibility(!0, n),
1935
- onMouseleave: o[1] || (o[1] = (s) => e.toggleTooltipVisibility(!1)),
1936
- onClick: (s) => e.selectX(n)
1937
- }, null, 40, ka)
1962
+ fill: "transparent",
1963
+ onMouseenter: (o) => e.toggleTooltipVisibility(!0, n),
1964
+ onMouseleave: s[1] || (s[1] = (o) => e.toggleTooltipVisibility(!1)),
1965
+ onClick: (o) => e.selectX(n)
1966
+ }, null, 40, Ga)
1938
1967
  ]))), 128))
1939
1968
  ]),
1940
- e.FINAL_CONFIG.chart.highlighter.useLine && ![null, void 0].includes(t.selectedSerieIndex) ? (r(), i("g", wa, [
1941
- u("line", {
1942
- x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * t.selectedSerieIndex + e.drawingArea.width / e.maxSeries / 2,
1943
- x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * t.selectedSerieIndex + e.drawingArea.width / e.maxSeries / 2,
1944
- y1: e.drawingArea.top,
1945
- y2: e.drawingArea.bottom,
1946
- stroke: e.FINAL_CONFIG.chart.highlighter.color,
1947
- "stroke-width": e.FINAL_CONFIG.chart.highlighter.lineWidth,
1948
- "stroke-dasharray": e.FINAL_CONFIG.chart.highlighter.lineDasharray,
1949
- "stroke-linecap": "round",
1950
- style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
1951
- }, null, 8, Oa)
1952
- ])) : c("", !0),
1953
- e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(t.selectedSerieIndex) ? (r(), i("g", va, [
1969
+ e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(t.selectedSerieIndex) ? (r(), i("g", za, [
1954
1970
  (r(), i("foreignObject", {
1955
1971
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * t.selectedSerieIndex - 100 + e.drawingArea.width / e.maxSeries / 2,
1956
1972
  y: e.drawingArea.bottom,
@@ -1962,21 +1978,21 @@ function Wa(l, o, h, m, t, e) {
1962
1978
  class: "vue-ui-xy-time-tag",
1963
1979
  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`)
1964
1980
  }, C(e.timeLabels[t.selectedSerieIndex] || t.selectedSerieIndex), 5)
1965
- ], 8, Ga)),
1981
+ ], 8, pa)),
1966
1982
  u("circle", {
1967
1983
  cx: e.drawingArea.left + e.drawingArea.width / e.maxSeries * t.selectedSerieIndex + e.drawingArea.width / e.maxSeries / 2,
1968
1984
  cy: e.drawingArea.bottom,
1969
1985
  r: e.FINAL_CONFIG.chart.timeTag.circleMarker.radius,
1970
1986
  fill: e.FINAL_CONFIG.chart.timeTag.circleMarker.color
1971
- }, null, 8, za)
1972
- ])) : c("", !0)
1973
- ])) : c("", !0),
1987
+ }, null, 8, Ma)
1988
+ ])) : h("", !0)
1989
+ ])) : h("", !0),
1974
1990
  v(l.$slots, "svg", { svg: e.svg }, void 0, !0)
1975
- ], 14, Ye)) : c("", !0),
1976
- l.$slots.watermark ? (r(), i("div", pa, [
1991
+ ], 14, Xe)) : h("", !0),
1992
+ l.$slots.watermark ? (r(), i("div", Pa, [
1977
1993
  v(l.$slots, "watermark", W(B({ isPrinting: t.isPrinting || t.isImaging })), void 0, !0)
1978
- ])) : c("", !0),
1979
- e.isDataset ? c("", !0) : (r(), V(x, {
1994
+ ])) : h("", !0),
1995
+ e.isDataset ? h("", !0) : (r(), V(_, {
1980
1996
  key: 4,
1981
1997
  config: {
1982
1998
  type: "line",
@@ -2011,16 +2027,16 @@ function Wa(l, o, h, m, t, e) {
2011
2027
  valueStart: t.slicer.start,
2012
2028
  valueEnd: t.slicer.end,
2013
2029
  start: t.slicer.start,
2014
- "onUpdate:start": o[2] || (o[2] = (a) => t.slicer.start = a),
2030
+ "onUpdate:start": s[2] || (s[2] = (a) => t.slicer.start = a),
2015
2031
  end: t.slicer.end,
2016
- "onUpdate:end": o[3] || (o[3] = (a) => t.slicer.end = a),
2032
+ "onUpdate:end": s[3] || (s[3] = (a) => t.slicer.end = a),
2017
2033
  onReset: e.refreshSlicer
2018
2034
  }, {
2019
2035
  "reset-action": z(({ reset: a }) => [
2020
2036
  v(l.$slots, "reset-action", W(B({ reset: a })), void 0, !0)
2021
2037
  ]),
2022
2038
  _: 3
2023
- }, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "max", "valueStart", "valueEnd", "start", "end", "onReset"])) : c("", !0),
2039
+ }, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "max", "valueStart", "valueEnd", "start", "end", "onReset"])) : h("", !0),
2024
2040
  e.FINAL_CONFIG.chart.legend.show ? (r(), i("div", {
2025
2041
  key: 6,
2026
2042
  ref: "chartLegend",
@@ -2029,10 +2045,10 @@ function Wa(l, o, h, m, t, e) {
2029
2045
  }, [
2030
2046
  (r(!0), i(b, null, I(e.absoluteDataset, (a, n) => (r(), i("div", {
2031
2047
  key: `div_legend_item_${n}`,
2032
- onClick: (s) => e.segregate(a),
2033
- class: T({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": t.segregatedSeries.includes(a.id) })
2048
+ onClick: (o) => e.segregate(a),
2049
+ class: M({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": t.segregatedSeries.includes(a.id) })
2034
2050
  }, [
2035
- t.icons[a.type] === "line" ? (r(), i("svg", Ma, [
2051
+ t.icons[a.type] === "line" ? (r(), i("svg", Va, [
2036
2052
  u("rect", {
2037
2053
  x: "0",
2038
2054
  y: "7",
@@ -2041,7 +2057,7 @@ function Wa(l, o, h, m, t, e) {
2041
2057
  height: "4",
2042
2058
  width: "20",
2043
2059
  fill: a.color
2044
- }, null, 8, Pa),
2060
+ }, null, 8, Ra),
2045
2061
  Y(f, {
2046
2062
  plot: { x: 10, y: 9 },
2047
2063
  radius: 4,
@@ -2050,7 +2066,7 @@ function Wa(l, o, h, m, t, e) {
2050
2066
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
2051
2067
  strokeWidth: 1
2052
2068
  }, null, 8, ["color", "shape", "stroke"])
2053
- ])) : (r(), i("svg", Va, [
2069
+ ])) : (r(), i("svg", Da, [
2054
2070
  t.icons[a.type] === "bar" ? (r(), i("rect", {
2055
2071
  key: 0,
2056
2072
  x: "0",
@@ -2060,7 +2076,7 @@ function Wa(l, o, h, m, t, e) {
2060
2076
  width: "12",
2061
2077
  stroke: "none",
2062
2078
  fill: a.color
2063
- }, null, 8, Ra)) : (r(), V(f, {
2079
+ }, null, 8, Ea)) : (r(), V(f, {
2064
2080
  key: 1,
2065
2081
  plot: { x: 6, y: 6 },
2066
2082
  radius: 5,
@@ -2072,7 +2088,7 @@ function Wa(l, o, h, m, t, e) {
2072
2088
  style: L(`color:${e.FINAL_CONFIG.chart.legend.color}`)
2073
2089
  }, C(a.name), 5)
2074
2090
  ], 10, Ta))), 128))
2075
- ], 4)) : (r(), i("div", Da, [
2091
+ ], 4)) : (r(), i("div", Ha, [
2076
2092
  v(l.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
2077
2093
  ], 512)),
2078
2094
  Y(k, {
@@ -2118,15 +2134,15 @@ function Wa(l, o, h, m, t, e) {
2118
2134
  u("div", {
2119
2135
  style: L(`${t.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2120
2136
  }, [
2121
- u("div", Ea, [
2122
- Ve(u("input", {
2137
+ u("div", Wa, [
2138
+ Re(u("input", {
2123
2139
  type: "checkbox",
2124
- "onUpdate:modelValue": o[4] || (o[4] = (a) => t.showSparklineTable = a)
2140
+ "onUpdate:modelValue": s[4] || (s[4] = (a) => t.showSparklineTable = a)
2125
2141
  }, null, 512), [
2126
- [Re, t.showSparklineTable]
2142
+ [De, t.showSparklineTable]
2127
2143
  ]),
2128
2144
  u("div", {
2129
- onClick: o[5] || (o[5] = (a) => t.showSparklineTable = !t.showSparklineTable),
2145
+ onClick: s[5] || (s[5] = (a) => t.showSparklineTable = !t.showSparklineTable),
2130
2146
  style: { cursor: "pointer" }
2131
2147
  }, [
2132
2148
  Y(w, {
@@ -2140,20 +2156,20 @@ function Wa(l, o, h, m, t, e) {
2140
2156
  key: `sparkline_${t.segregateStep}`,
2141
2157
  dataset: e.tableSparklineDataset,
2142
2158
  config: e.tableSparklineConfig
2143
- }, null, 8, ["dataset", "config"])) : (r(), V(_, {
2159
+ }, null, 8, ["dataset", "config"])) : (r(), V(x, {
2144
2160
  key: 1,
2145
2161
  colNames: e.dataTable.colNames,
2146
2162
  head: e.dataTable.head,
2147
2163
  body: e.dataTable.body,
2148
2164
  config: e.dataTable.config,
2149
2165
  title: `${e.FINAL_CONFIG.chart.title.text}${e.FINAL_CONFIG.chart.title.subtitle.text ? ` : ${e.FINAL_CONFIG.chart.title.subtitle.text}` : ""}`,
2150
- onClose: o[6] || (o[6] = (a) => t.mutableConfig.showTable = !1)
2166
+ onClose: s[6] || (s[6] = (a) => t.mutableConfig.showTable = !1)
2151
2167
  }, {
2152
2168
  th: z(({ th: a }) => [
2153
- u("div", { innerHTML: a }, null, 8, Ha)
2169
+ u("div", { innerHTML: a }, null, 8, Ba)
2154
2170
  ]),
2155
2171
  td: z(({ td: a }) => [
2156
- De(C(isNaN(Number(a)) ? a : e.dataLabel({
2172
+ Ee(C(isNaN(Number(a)) ? a : e.dataLabel({
2157
2173
  p: e.FINAL_CONFIG.chart.labels.prefix,
2158
2174
  v: a,
2159
2175
  s: e.FINAL_CONFIG.chart.labels.suffix,
@@ -2165,10 +2181,10 @@ function Wa(l, o, h, m, t, e) {
2165
2181
  ], 4)
2166
2182
  ]),
2167
2183
  _: 1
2168
- }, 8, ["config"])) : c("", !0)
2169
- ], 14, Be);
2184
+ }, 8, ["config"])) : h("", !0)
2185
+ ], 14, Ye);
2170
2186
  }
2171
- const rl = /* @__PURE__ */ Ee(We, [["render", Wa], ["__scopeId", "data-v-58a339d5"]]);
2187
+ const sl = /* @__PURE__ */ He(Be, [["render", Ya], ["__scopeId", "data-v-b788e438"]]);
2172
2188
  export {
2173
- rl as default
2189
+ sl as default
2174
2190
  };