vue-data-ui 2.3.38 → 2.3.40

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-vS43S38d.cjs → Arrow-CcJ2U3U0.cjs} +1 -1
  2. package/dist/{Arrow-C3soCsF0.js → Arrow-DHJ0seDm.js} +1 -1
  3. package/dist/{BaseIcon-B8hVR5-4.js → BaseIcon-D7REqiel.js} +1 -1
  4. package/dist/{BaseIcon-BoEJRb0e.cjs → BaseIcon-Durv5g7g.cjs} +1 -1
  5. package/dist/{DataTable-BrnFSdXo.cjs → DataTable-Di-7_6Aq.cjs} +1 -1
  6. package/dist/{DataTable-DKkvLXwD.js → DataTable-xRoJJLCK.js} +2 -2
  7. package/dist/{Legend-DpiZXeY0.js → Legend-DFjWlPTO.js} +1 -1
  8. package/dist/{Legend-D7zc_ula.cjs → Legend-DHtuLr86.cjs} +1 -1
  9. package/dist/{Shape-BpneoNiL.js → Shape-Cnsn1U1B.js} +1 -1
  10. package/dist/{Shape-CWtwGdQ_.cjs → Shape-dOTW06jG.cjs} +1 -1
  11. package/dist/{Slicer-DwAQJLPa.cjs → Slicer-B-Doztix.cjs} +1 -1
  12. package/dist/{Slicer-CTBvSici.js → Slicer-CdoJYj--.js} +1 -1
  13. package/dist/{Title-BvczMERR.cjs → Title-CUD-K-0i.cjs} +1 -1
  14. package/dist/{Title-0FYOLRT9.js → Title-WVL1w90F.js} +1 -1
  15. package/dist/{Tooltip-hkjfa0I0.js → Tooltip-B5_8pR7S.js} +1 -1
  16. package/dist/{Tooltip-QvjV7FFJ.cjs → Tooltip-CdjFc0lT.cjs} +1 -1
  17. package/dist/{index-BUQIyeLx.js → index-CLohkSjv.js} +543 -518
  18. package/dist/index-Clt49H-j.cjs +4 -0
  19. package/dist/style.css +1 -1
  20. package/dist/types/vue-data-ui.d.cts +28 -17
  21. package/dist/types/vue-data-ui.d.ts +28 -17
  22. package/dist/{useNestedProp-CW-4h79P.js → useNestedProp-BsIUgLPI.js} +1 -1
  23. package/dist/{useNestedProp-C0FeJ2Gu.cjs → useNestedProp-y541YeYg.cjs} +1 -1
  24. package/dist/{usePrinter-Si0o8ws0.cjs → usePrinter-B9AbYwAC.cjs} +1 -1
  25. package/dist/{usePrinter-Dx2e-dXi.js → usePrinter-CLjymPxw.js} +1 -1
  26. package/dist/{vue-data-ui-BhNefJqd.cjs → vue-data-ui-8vGw_xvX.cjs} +1 -1
  27. package/dist/{vue-data-ui-SFL-vicz.js → vue-data-ui-R6Kj9vzU.js} +57 -57
  28. package/dist/vue-data-ui.cjs +1 -1
  29. package/dist/vue-data-ui.js +4 -4
  30. package/dist/{vue-ui-3d-bar-C6K-OwN2.cjs → vue-ui-3d-bar-D_SoQlA7.cjs} +1 -1
  31. package/dist/{vue-ui-3d-bar-SzGt2SPF.js → vue-ui-3d-bar-tGkaU8fG.js} +7 -7
  32. package/dist/{vue-ui-accordion-B_7G2YRK.js → vue-ui-accordion-B6lUgTu6.js} +3 -3
  33. package/dist/{vue-ui-accordion-COKJwPZR.cjs → vue-ui-accordion-Czitboqc.cjs} +1 -1
  34. package/dist/{vue-ui-age-pyramid-BpENrca-.cjs → vue-ui-age-pyramid-CN27TQYe.cjs} +1 -1
  35. package/dist/{vue-ui-age-pyramid-CCAD1S4K.js → vue-ui-age-pyramid-yJgEO7Ur.js} +8 -8
  36. package/dist/{vue-ui-annotator-DVUPNP51.cjs → vue-ui-annotator-BByjovvv.cjs} +1 -1
  37. package/dist/{vue-ui-annotator-D-af73uG.js → vue-ui-annotator-k8KyQmMk.js} +1 -1
  38. package/dist/{vue-ui-candlestick-Dafy2mS8.js → vue-ui-candlestick-ClOsAfCQ.js} +9 -9
  39. package/dist/{vue-ui-candlestick-DdObXSwq.cjs → vue-ui-candlestick-DjwGhojD.cjs} +1 -1
  40. package/dist/{vue-ui-carousel-table-bYSgV27Q.cjs → vue-ui-carousel-table-nZYD_4Jp.cjs} +1 -1
  41. package/dist/{vue-ui-carousel-table-qft3cy1n.js → vue-ui-carousel-table-xdb3tSHu.js} +4 -4
  42. package/dist/{vue-ui-chestnut-DCIswacl.js → vue-ui-chestnut-CKSdf5Wx.js} +6 -6
  43. package/dist/{vue-ui-chestnut-DSf7prYO.cjs → vue-ui-chestnut-CQrFwjq4.cjs} +1 -1
  44. package/dist/{vue-ui-cursor-C70l6xpc.js → vue-ui-cursor-B4fFZ1Xh.js} +2 -2
  45. package/dist/{vue-ui-cursor-Dc9Esi6P.cjs → vue-ui-cursor-R-_LJ7BC.cjs} +1 -1
  46. package/dist/{vue-ui-dashboard-BQm48CXc.cjs → vue-ui-dashboard-BGgb7Ylt.cjs} +1 -1
  47. package/dist/{vue-ui-dashboard-cG4gRYbw.js → vue-ui-dashboard-DkYbzLSj.js} +2 -2
  48. package/dist/{vue-ui-digits-CeUaMGOT.cjs → vue-ui-digits-DdKxR0He.cjs} +1 -1
  49. package/dist/{vue-ui-digits-D0E4R4fa.js → vue-ui-digits-Lq_MZu0_.js} +2 -2
  50. package/dist/{vue-ui-donut-BMMREL4b.cjs → vue-ui-donut-C5benoAI.cjs} +1 -1
  51. package/dist/{vue-ui-donut-evolution-BdhZKkJR.cjs → vue-ui-donut-evolution-C2nM8AVm.cjs} +1 -1
  52. package/dist/{vue-ui-donut-evolution-BlR9YmXE.js → vue-ui-donut-evolution-D_b9hPYy.js} +9 -9
  53. package/dist/{vue-ui-donut-BkEBJEsA.js → vue-ui-donut-qzmnXplU.js} +9 -9
  54. package/dist/{vue-ui-dumbbell-BF7SZx1w.js → vue-ui-dumbbell-BTbPNzqx.js} +8 -8
  55. package/dist/{vue-ui-dumbbell-WOJbZokq.cjs → vue-ui-dumbbell-C94N1mry.cjs} +1 -1
  56. package/dist/{vue-ui-flow-C3newyQP.js → vue-ui-flow-C8jT8any.js} +7 -7
  57. package/dist/{vue-ui-flow-D5x8svE5.cjs → vue-ui-flow-CkZtvF7p.cjs} +1 -1
  58. package/dist/{vue-ui-galaxy-CIUd-hLW.cjs → vue-ui-galaxy-DZKVmKTf.cjs} +1 -1
  59. package/dist/{vue-ui-galaxy-BJHQBQJ6.js → vue-ui-galaxy-DuA4MPUu.js} +9 -9
  60. package/dist/{vue-ui-gauge-BaAskWex.js → vue-ui-gauge-CujXhTuR.js} +5 -5
  61. package/dist/{vue-ui-gauge-BmXTSe6K.cjs → vue-ui-gauge-DBhAo4ED.cjs} +1 -1
  62. package/dist/{vue-ui-gizmo-k-23quhf.cjs → vue-ui-gizmo-BsxB_JfW.cjs} +1 -1
  63. package/dist/{vue-ui-gizmo-nZu_bqHD.js → vue-ui-gizmo-DlWB95Xv.js} +2 -2
  64. package/dist/{vue-ui-heatmap-GQGsHp13.cjs → vue-ui-heatmap-B6MbT38S.cjs} +1 -1
  65. package/dist/{vue-ui-heatmap-T885Tnk8.js → vue-ui-heatmap-DlDIlSK-.js} +8 -8
  66. package/dist/{vue-ui-kpi-CLlR3RB1.js → vue-ui-kpi-C0kZxq3K.js} +4 -4
  67. package/dist/{vue-ui-kpi-YxP9VEld.cjs → vue-ui-kpi-CaqMEHto.cjs} +1 -1
  68. package/dist/{vue-ui-mini-loader-Ci--uadG.cjs → vue-ui-mini-loader-DGVlizno.cjs} +1 -1
  69. package/dist/{vue-ui-mini-loader-C3STpvno.js → vue-ui-mini-loader-DfiHD95x.js} +2 -2
  70. package/dist/{vue-ui-molecule-C75VtN_7.cjs → vue-ui-molecule-BTtAYDlx.cjs} +1 -1
  71. package/dist/{vue-ui-molecule-BhkU3GG9.js → vue-ui-molecule-MmZA7D4v.js} +9 -9
  72. package/dist/{vue-ui-mood-radar-qkkSh5uu.cjs → vue-ui-mood-radar-C-qaQqJf.cjs} +1 -1
  73. package/dist/{vue-ui-mood-radar-D6TUYY_M.js → vue-ui-mood-radar-DRHMkdU1.js} +9 -9
  74. package/dist/{vue-ui-nested-donuts-BZCpf3YO.js → vue-ui-nested-donuts-BZV-PTLD.js} +9 -9
  75. package/dist/{vue-ui-nested-donuts-CMRz1BD7.cjs → vue-ui-nested-donuts-BkpZgLg7.cjs} +1 -1
  76. package/dist/{vue-ui-onion--dpVGKXA.js → vue-ui-onion-Bpw8RJ7Y.js} +9 -9
  77. package/dist/{vue-ui-onion-DlpliEql.cjs → vue-ui-onion-C4OvOsH0.cjs} +1 -1
  78. package/dist/{vue-ui-parallel-coordinate-plot-DI2yWHex.js → vue-ui-parallel-coordinate-plot-Bf64Wi3u.js} +10 -10
  79. package/dist/{vue-ui-parallel-coordinate-plot-Bk6c5TU6.cjs → vue-ui-parallel-coordinate-plot-yFikaAWJ.cjs} +1 -1
  80. package/dist/{vue-ui-quadrant-DlyQdOTe.cjs → vue-ui-quadrant-BVHTFKxd.cjs} +1 -1
  81. package/dist/{vue-ui-quadrant-61FAsLt_.js → vue-ui-quadrant-CmCcySxg.js} +10 -10
  82. package/dist/{vue-ui-quick-chart-D9118LBz.js → vue-ui-quick-chart-Cml1Twya.js} +6 -6
  83. package/dist/{vue-ui-quick-chart-Bo9EatY6.cjs → vue-ui-quick-chart-DrZwV4mI.cjs} +1 -1
  84. package/dist/{vue-ui-radar-DAcOkXYC.cjs → vue-ui-radar-DE3BMdwV.cjs} +1 -1
  85. package/dist/{vue-ui-radar-VzDbMQrc.js → vue-ui-radar-DP1EuYGX.js} +10 -10
  86. package/dist/{vue-ui-rating-Chd-JwKZ.js → vue-ui-rating-BkYeHWvl.js} +2 -2
  87. package/dist/{vue-ui-rating-C9s1UuCt.cjs → vue-ui-rating-RbXEpR6a.cjs} +1 -1
  88. package/dist/{vue-ui-relation-circle-Byo0UcEM.cjs → vue-ui-relation-circle-Dx2XZJS8.cjs} +1 -1
  89. package/dist/{vue-ui-relation-circle-CtIAIfL4.js → vue-ui-relation-circle-VO7PJR9n.js} +5 -5
  90. package/dist/{vue-ui-rings-DgNSeH6a.cjs → vue-ui-rings-B-t-1DXJ.cjs} +1 -1
  91. package/dist/{vue-ui-rings-CGhwerNx.js → vue-ui-rings-DxG6p7tF.js} +9 -9
  92. package/dist/{vue-ui-scatter-P_2ULGfQ.js → vue-ui-scatter-BRrsv69b.js} +10 -10
  93. package/dist/{vue-ui-scatter-B-ojlWTB.cjs → vue-ui-scatter-ctKFC1hB.cjs} +1 -1
  94. package/dist/{vue-ui-screenshot-tFVVwLtm.js → vue-ui-screenshot-BBoHtZtA.js} +1 -1
  95. package/dist/{vue-ui-screenshot-CI8_1GLp.cjs → vue-ui-screenshot-DD0WkpyV.cjs} +1 -1
  96. package/dist/{vue-ui-skeleton-BxxNQUrb.js → vue-ui-skeleton-Cu-FCvsL.js} +2 -2
  97. package/dist/{vue-ui-skeleton-BnEVwnIx.cjs → vue-ui-skeleton-Gizw7vdX.cjs} +1 -1
  98. package/dist/{vue-ui-smiley-BQNccgAJ.cjs → vue-ui-smiley-L7yruIOu.cjs} +1 -1
  99. package/dist/{vue-ui-smiley-DcpmB774.js → vue-ui-smiley-NkuQEkp8.js} +2 -2
  100. package/dist/{vue-ui-spark-trend-Bh18Pfrn.cjs → vue-ui-spark-trend-DcBzFhgb.cjs} +1 -1
  101. package/dist/{vue-ui-spark-trend-RL_EM0RZ.js → vue-ui-spark-trend-MaSpDNrO.js} +4 -4
  102. package/dist/{vue-ui-sparkbar-qP5wp1Am.js → vue-ui-sparkbar-B7THOIRm.js} +3 -3
  103. package/dist/{vue-ui-sparkbar-IwZY49cH.cjs → vue-ui-sparkbar-Dok2sQZ3.cjs} +1 -1
  104. package/dist/{vue-ui-sparkgauge-C-irMYQ7.cjs → vue-ui-sparkgauge-C4Edaz_0.cjs} +1 -1
  105. package/dist/{vue-ui-sparkgauge-CieVHHem.js → vue-ui-sparkgauge-CJNO8fex.js} +3 -3
  106. package/dist/{vue-ui-sparkhistogram-7PTHSMpu.cjs → vue-ui-sparkhistogram-CDuYk_7N.cjs} +1 -1
  107. package/dist/{vue-ui-sparkhistogram-CxE07zkX.js → vue-ui-sparkhistogram-DRsRAvI7.js} +4 -4
  108. package/dist/{vue-ui-sparkline-BV32rnNA.js → vue-ui-sparkline-CfsK5XqX.js} +3 -3
  109. package/dist/{vue-ui-sparkline-C4Z1nhoS.cjs → vue-ui-sparkline-KOF_6Pig.cjs} +1 -1
  110. package/dist/{vue-ui-sparkstackbar-BPxh6x8e.cjs → vue-ui-sparkstackbar-Bd4BF7Ij.cjs} +1 -1
  111. package/dist/{vue-ui-sparkstackbar-BxVHQmWd.js → vue-ui-sparkstackbar-BzvGezvJ.js} +3 -3
  112. package/dist/{vue-ui-stackbar-BIKMWKTB.js → vue-ui-stackbar-0rdD887I.js} +10 -10
  113. package/dist/{vue-ui-stackbar-BnhTABFS.cjs → vue-ui-stackbar-DXvxtOmc.cjs} +1 -1
  114. package/dist/{vue-ui-strip-plot-Cfev39-s.js → vue-ui-strip-plot-CynA1j2D.js} +9 -9
  115. package/dist/{vue-ui-strip-plot-BoDJjL5h.cjs → vue-ui-strip-plot-DRTrhZ9F.cjs} +1 -1
  116. package/dist/{vue-ui-table-C8Ky-ayZ.cjs → vue-ui-table-DtaMAj7u.cjs} +1 -1
  117. package/dist/{vue-ui-table-heatmap-BJUnCLfJ.js → vue-ui-table-heatmap-BDZuT9Qz.js} +4 -4
  118. package/dist/{vue-ui-table-heatmap-G0YbR7QX.cjs → vue-ui-table-heatmap-BO7xu77L.cjs} +1 -1
  119. package/dist/{vue-ui-table-cc6HxZm6.js → vue-ui-table-sVGjMZTH.js} +1 -1
  120. package/dist/{vue-ui-table-sparkline-CjB5rPvu.js → vue-ui-table-sparkline-BYv7kseR.js} +5 -5
  121. package/dist/{vue-ui-table-sparkline-CB7YeTxk.cjs → vue-ui-table-sparkline-DSztHLaA.cjs} +1 -1
  122. package/dist/{vue-ui-thermometer-oCCUz0GL.js → vue-ui-thermometer-1CmzRurR.js} +5 -5
  123. package/dist/{vue-ui-thermometer-CGwZBdZB.cjs → vue-ui-thermometer-DDL90Qop.cjs} +1 -1
  124. package/dist/{vue-ui-timer-Ckc70jvb.cjs → vue-ui-timer-CqmIqHeg.cjs} +1 -1
  125. package/dist/{vue-ui-timer-BfXXvGcg.js → vue-ui-timer-DLf6i56p.js} +4 -4
  126. package/dist/{vue-ui-tiremarks-Di3x1YHW.cjs → vue-ui-tiremarks-BxfUFX-N.cjs} +1 -1
  127. package/dist/{vue-ui-tiremarks-UswjRrUQ.js → vue-ui-tiremarks-r7bGmMg-.js} +5 -5
  128. package/dist/{vue-ui-treemap-CrAw0owp.cjs → vue-ui-treemap-Bs4erg0I.cjs} +1 -1
  129. package/dist/{vue-ui-treemap-BcPfm4KP.js → vue-ui-treemap-Da1vOiTg.js} +9 -9
  130. package/dist/{vue-ui-vertical-bar-2_WbKIT1.js → vue-ui-vertical-bar-ByBJTeg-.js} +9 -9
  131. package/dist/{vue-ui-vertical-bar-BScBqH6z.cjs → vue-ui-vertical-bar-Cd4AmrnX.cjs} +1 -1
  132. package/dist/{vue-ui-waffle-Dzi3EgQM.cjs → vue-ui-waffle-BEP6xNLO.cjs} +1 -1
  133. package/dist/{vue-ui-waffle-CStE_uxm.js → vue-ui-waffle-CHtCkZjz.js} +9 -9
  134. package/dist/{vue-ui-wheel-Eyej3znn.cjs → vue-ui-wheel-BBKNe16o.cjs} +1 -1
  135. package/dist/{vue-ui-wheel-FI9_Qnln.js → vue-ui-wheel-icxa1L4v.js} +5 -5
  136. package/dist/{vue-ui-word-cloud-M_xW3qre.cjs → vue-ui-word-cloud-CZnELuH6.cjs} +1 -1
  137. package/dist/{vue-ui-word-cloud-Ycqmen8O.js → vue-ui-word-cloud-DZOxxmkR.js} +7 -7
  138. package/dist/vue-ui-xy-DNbVDgjT.cjs +3 -0
  139. package/dist/{vue-ui-xy-canvas-uDottxNK.cjs → vue-ui-xy-canvas-BvaDluOT.cjs} +1 -1
  140. package/dist/{vue-ui-xy-canvas-w5aPclyY.js → vue-ui-xy-canvas-ChKN_Cn-.js} +10 -10
  141. package/dist/{vue-ui-xy-B5_TQJnd.js → vue-ui-xy-vIwvvGNZ.js} +465 -442
  142. package/package.json +1 -1
  143. package/dist/index-6dSPekJy.cjs +0 -4
  144. package/dist/vue-ui-xy-BrdhxozQ.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-Dx2e-dXi.js";
3
- import { c as U, a as j, t as $, v as ee, p as te, u as ae, P as X, J as M, f as q, F as le, U as re, i as ie, A as se, V as oe, M as ne, W as he, y as ce, s as ue, d as de, z as ge, b as fe, r as be, q as Ie, D as me, S as Ne, Y as _e, w as Fe, x as xe, e as ye, o as Ae, Z as Le, C as Se } from "./index-BUQIyeLx.js";
4
- import { D as Ce } from "./DataTable-DKkvLXwD.js";
5
- import { _ as ke } from "./Title-0FYOLRT9.js";
6
- import { _ as we, u as Oe } from "./Tooltip-hkjfa0I0.js";
7
- import { _ as ve } from "./Shape-BpneoNiL.js";
8
- import Ge from "./BaseIcon-B8hVR5-4.js";
9
- import ze from "./vue-ui-table-sparkline-CjB5rPvu.js";
10
- import pe from "./vue-ui-skeleton-BxxNQUrb.js";
11
- import { S as Te } from "./Slicer-CTBvSici.js";
12
- import Me from "./vue-ui-accordion-B_7G2YRK.js";
13
- import { u as Z } from "./useNestedProp-CW-4h79P.js";
14
- import { resolveComponent as P, openBlock as r, createElementBlock as i, normalizeClass as T, normalizeStyle as L, createVNode as E, createCommentVNode as h, createBlock as V, createSlots as Pe, withCtx as z, renderSlot as v, normalizeProps as Y, guardReactiveProps as W, createElementVNode as d, Fragment as I, renderList as m, toDisplayString as C, withDirectives as Ve, vModelCheckbox as Re, createTextVNode as De } from "vue";
15
- import { _ as He } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const Be = U(), Ye = {
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 = {
17
17
  name: "vue-ui-xy",
18
18
  props: {
19
19
  config: {
@@ -42,15 +42,15 @@ const Be = U(), Ye = {
42
42
  Accordion: Me
43
43
  },
44
44
  data() {
45
- this.dataset.forEach((c, b) => {
46
- [null, void 0].includes(c.series) && this.error({
45
+ this.dataset.forEach((h, m) => {
46
+ [null, void 0].includes(h.series) && this.error({
47
47
  componentName: "VueUiXy",
48
48
  type: "datasetSerieAttribute",
49
49
  property: "series (number[])",
50
- index: b
50
+ index: m
51
51
  });
52
52
  });
53
- const l = Math.max(...this.dataset.map((c) => c.series.length)), o = {
53
+ const l = Math.max(...this.dataset.map((h) => h.series.length)), o = {
54
54
  start: 0,
55
55
  end: l
56
56
  };
@@ -96,14 +96,14 @@ const Be = U(), Ye = {
96
96
  selectedSerieIndex: null,
97
97
  selectedRowIndex: null,
98
98
  segregatedSeries: [],
99
- uniqueId: U(),
99
+ uniqueId: Z(),
100
100
  step: 0,
101
101
  slicer: o,
102
102
  __to__: null,
103
103
  maxX: l,
104
104
  showSparklineTable: !0,
105
105
  segregateStep: 0,
106
- sliderId: Be,
106
+ sliderId: He,
107
107
  fontSizes: {
108
108
  xAxis: 18,
109
109
  yAxis: 12,
@@ -150,7 +150,7 @@ const Be = U(), Ye = {
150
150
  id: t.id,
151
151
  yOffset: t.yOffset || 0,
152
152
  individualHeight: t.individualHeight || this.drawingArea.height
153
- })), c = this.plotSet.map((t) => ({
153
+ })), h = this.plotSet.map((t) => ({
154
154
  name: t.name,
155
155
  color: t.color,
156
156
  scale: t.individualScale,
@@ -162,8 +162,8 @@ const Be = U(), Ye = {
162
162
  id: t.id,
163
163
  yOffset: t.yOffset || 0,
164
164
  individualHeight: t.individualHeight || this.drawingArea.height
165
- })), b = [...l, ...o, ...c].flatMap((t) => t).length;
166
- return [...l, ...o, ...c].flatMap((t, e) => ({
165
+ })), m = [...l, ...o, ...h].flatMap((t) => t).length;
166
+ return [...l, ...o, ...h].flatMap((t, e) => ({
167
167
  id: t.id,
168
168
  scaleLabel: t.scaleLabel,
169
169
  name: t.name,
@@ -171,7 +171,7 @@ const Be = U(), Ye = {
171
171
  scale: t.scale,
172
172
  yOffset: t.yOffset,
173
173
  individualHeight: t.individualHeight,
174
- x: this.mutableConfig.isStacked ? this.drawingArea.left : this.drawingArea.left / b * (e + 1),
174
+ x: this.mutableConfig.isStacked ? this.drawingArea.left : this.drawingArea.left / m * (e + 1),
175
175
  yLabels: t.scaleYLabels || t.scale.ticks.map((N) => ({
176
176
  y: N >= 0 ? t.zero - t.individualHeight * (N / t.max) : t.zero + t.individualHeight * Math.abs(N) / t.max,
177
177
  value: N
@@ -194,8 +194,8 @@ const Be = U(), Ye = {
194
194
  userConfig: this.config,
195
195
  defaultConfig: l
196
196
  });
197
- return o.theme ? {
198
- ...Z({
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 ? {
198
+ ...U({
199
199
  userConfig: this.themes.vue_ui_xy[o.theme] || this.config,
200
200
  defaultConfig: o
201
201
  }),
@@ -207,11 +207,19 @@ const Be = U(), Ye = {
207
207
  }
208
208
  },
209
209
  hasHighlightArea() {
210
- return this.FINAL_CONFIG.chart.highlightArea && this.FINAL_CONFIG.chart.highlightArea.show;
210
+ return Array.isArray(this.FINAL_CONFIG.chart.highlightArea) ? this.FINAL_CONFIG.chart.highlightArea.some((l) => l.show) : this.FINAL_CONFIG.chart.highlightArea && this.FINAL_CONFIG.chart.highlightArea.show;
211
211
  },
212
- highlightAreaSpan() {
213
- const { from: l, to: o } = this.FINAL_CONFIG.chart.highlightArea;
214
- return l === o ? 1 : o < l ? 0 : o - l + 1;
212
+ highlightAreas() {
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
217
+ }));
218
+ const l = this.FINAL_CONFIG.chart.highlightArea;
219
+ return [{ ...l, span: l.from === l.to ? 1 : l.to < l.from ? 0 : l.to - l.from + 1 }];
220
+ },
221
+ xPadding() {
222
+ return this.FINAL_CONFIG.chart.grid.position === "middle" ? 0 : this.drawingArea.width / this.maxSeries / 2;
215
223
  },
216
224
  relativeZero() {
217
225
  return this.niceScale.min >= 0 ? 0 : Math.abs(this.niceScale.min);
@@ -222,7 +230,7 @@ const Be = U(), Ye = {
222
230
  safeDataset() {
223
231
  return this.useSafeValues ? this.dataset.map((l, o) => ({
224
232
  ...l,
225
- series: l.series.map((c) => this.isSafeValue(c) ? c : null).slice(this.slicer.start, this.slicer.end),
233
+ series: l.series.map((h) => this.isSafeValue(h) ? h : null).slice(this.slicer.start, this.slicer.end),
226
234
  color: this.convertColorToHex(l.color ? l.color : this.customPalette[o] ? this.customPalette[o] : this.palette[o]),
227
235
  id: `uniqueId_${o}`
228
236
  })) : this.dataset;
@@ -230,13 +238,13 @@ const Be = U(), Ye = {
230
238
  relativeDataset() {
231
239
  return this.safeDataset.map((l, o) => ({
232
240
  ...l,
233
- series: l.series.map((c) => c + this.relativeZero),
241
+ series: l.series.map((h) => h + this.relativeZero),
234
242
  absoluteValues: l.series
235
243
  })).filter((l) => !this.segregatedSeries.includes(l.id));
236
244
  },
237
245
  tableSparklineDataset() {
238
246
  return this.relativeDataset.map((l) => {
239
- const o = l.absoluteValues.map((c) => [void 0, null].includes(c) ? 0 : c);
247
+ const o = l.absoluteValues.map((h) => [void 0, null].includes(h) ? 0 : h);
240
248
  return {
241
249
  id: l.id,
242
250
  name: l.name,
@@ -275,7 +283,7 @@ const Be = U(), Ye = {
275
283
  return this.safeDataset.map((l, o) => ({
276
284
  absoluteIndex: o,
277
285
  ...l,
278
- series: l.series.map((c) => c + this.relativeZero),
286
+ series: l.series.map((h) => h + this.relativeZero),
279
287
  absoluteValues: l.series,
280
288
  segregate: () => this.segregate(l),
281
289
  isSegregated: this.segregatedSeries.includes(l.id)
@@ -284,45 +292,45 @@ const Be = U(), Ye = {
284
292
  barSet() {
285
293
  return this.activeSeriesWithStackRatios.filter((l) => l.type === "bar").map((l, o) => {
286
294
  this.checkAutoScaleError(l);
287
- const c = Math.min(...l.absoluteValues.filter((u) => ![null, void 0].includes(u))), b = Math.max(...l.absoluteValues.filter((u) => ![null, void 0].includes(u))), e = {
288
- ratios: l.absoluteValues.filter((u) => ![null, void 0].includes(u)).map((u) => (u - c) / (b - c)),
289
- valueMin: c,
290
- valueMax: b < 0 ? 0 : b
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,
298
+ valueMax: m < 0 ? 0 : m
291
299
  }, N = {
292
300
  max: l.scaleMax || Math.max(...l.absoluteValues) || 1,
293
- min: l.scaleMin || Math.min(...l.absoluteValues.filter((u) => ![void 0, null].includes(u))) > 0 ? 0 : Math.min(...l.absoluteValues.filter((u) => ![null, void 0].includes(u)))
294
- }, A = l.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, f = this.calculateNiceScale(N.min, N.max, A), F = this.calculateNiceScale(e.valueMin, e.valueMax, A), p = f.min >= 0 ? 0 : Math.abs(f.min), k = 0, w = f.max + p, G = F.max + Math.abs(k), _ = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - l.cumulatedStackRatio) : 0, S = this.mutableConfig.isStacked ? this.drawingArea.height * l.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, a = this.drawingArea.bottom - _ - S * p / w, n = this.drawingArea.bottom - _ - S * k / G, s = this.absoluteDataset.filter((u) => u.type === "bar").filter((u) => !this.segregatedSeries.includes(u.id)).length, g = l.series.map((u, x) => {
295
- const H = this.mutableConfig.useIndividualScale ? (l.absoluteValues[x] + p) / w : this.ratioToMax(u), B = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * x : this.drawingArea.left + this.slot.bar * o + this.slot.bar * x * s - this.barSlot / 2 - o * this.barPeriodGap;
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;
296
304
  return {
297
305
  yOffset: _,
298
306
  individualHeight: S,
299
- x: B,
300
- y: this.drawingArea.bottom - _ - S * H,
301
- value: l.absoluteValues[x],
307
+ x: H,
308
+ y: this.drawingArea.bottom - _ - S * E,
309
+ value: l.absoluteValues[F],
302
310
  zeroPosition: a,
303
311
  individualMax: w,
304
- comment: l.comments && l.comments.slice(this.slicer.start, this.slicer.end)[x] || ""
312
+ comment: l.comments && l.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
305
313
  };
306
- }), D = l.absoluteValues.map((u) => F.min >= 0 ? (u - Math.abs(F.min)) / (F.max - Math.abs(F.min)) : (u + Math.abs(F.min)) / (F.max + Math.abs(F.min))), R = l.series.map((u, x) => {
307
- const H = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * x : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * o + this.slot.bar * x * this.absoluteDataset.filter((B) => B.type === "bar").filter((B) => !this.segregatedSeries.includes(B.id)).length;
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;
308
316
  return {
309
317
  yOffset: _,
310
318
  individualHeight: S,
311
- x: H,
312
- y: this.drawingArea.bottom - _ - (S * D[x] || 0),
313
- value: l.absoluteValues[x],
319
+ x: E,
320
+ y: this.drawingArea.bottom - _ - (S * D[F] || 0),
321
+ value: l.absoluteValues[F],
314
322
  zeroPosition: a,
315
323
  individualMax: w,
316
- comment: l.comments && l.comments.slice(this.slicer.start, this.slicer.end)[x] || ""
324
+ comment: l.comments && l.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
317
325
  };
318
- }), y = f.ticks.map((u) => ({
319
- y: u >= 0 ? a - S * (u / w) : a + S * Math.abs(u) / w,
320
- value: u
321
- })), O = F.ticks.map((u) => {
322
- const x = (u - F.min) / (F.max - F.min);
326
+ }), y = f.ticks.map((d) => ({
327
+ y: d >= 0 ? a - S * (d / w) : a + S * Math.abs(d) / w,
328
+ value: d
329
+ })), O = x.ticks.map((d) => {
330
+ const F = (d - x.min) / (x.max - x.min);
323
331
  return {
324
- y: u >= 0 ? n - S * x : n + S * x,
325
- value: u
332
+ y: d >= 0 ? n - S * F : n + S * F,
333
+ value: d
326
334
  };
327
335
  });
328
336
  return {
@@ -331,7 +339,7 @@ const Be = U(), Ye = {
331
339
  autoScaleYLabels: O,
332
340
  individualHeight: S,
333
341
  scaleYLabels: l.autoScaling ? O : y,
334
- individualScale: l.autoScaling ? F : f,
342
+ individualScale: l.autoScaling ? x : f,
335
343
  individualMax: l.autoScaling ? G : w,
336
344
  zeroPosition: l.autoScaling ? n : a,
337
345
  plots: l.autoScaling ? R : g
@@ -347,37 +355,37 @@ const Be = U(), Ye = {
347
355
  lineSet() {
348
356
  return this.activeSeriesWithStackRatios.filter((l) => l.type === "line").map((l) => {
349
357
  this.checkAutoScaleError(l);
350
- const o = Math.min(...l.absoluteValues.filter((u) => ![void 0, null].includes(u))), c = Math.max(...l.absoluteValues.filter((u) => ![void 0, null].includes(u))) || 1, t = {
351
- ratios: l.absoluteValues.filter((u) => ![null, void 0].includes(u)).map((u) => (u - o) / (c - o)),
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)),
352
360
  valueMin: o,
353
- valueMax: c
361
+ valueMax: h
354
362
  }, e = {
355
363
  max: l.scaleMax || Math.max(...l.absoluteValues) || 1,
356
364
  min: l.scaleMin || (Math.min(...l.absoluteValues) > 0 ? 0 : Math.min(...l.absoluteValues))
357
- }, N = l.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = this.calculateNiceScale(e.min, e.max, N), f = this.calculateNiceScale(t.valueMin, t.valueMax, N), F = A.min >= 0 ? 0 : Math.abs(A.min), p = 0, k = A.max + Math.abs(F), w = f.max + Math.abs(p), G = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - l.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * l.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, S = this.drawingArea.bottom - G - _ * F / k, a = this.drawingArea.bottom - G - _ * p / w, n = l.series.map((u, x) => {
358
- const H = this.mutableConfig.useIndividualScale ? (l.absoluteValues[x] + Math.abs(F)) / k : this.ratioToMax(u);
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);
359
367
  return {
360
- x: this.drawingArea.left + this.slot.line / 2 + this.slot.line * x,
361
- y: this.drawingArea.bottom - G - _ * H,
362
- value: l.absoluteValues[x],
363
- comment: l.comments && l.comments.slice(this.slicer.start, this.slicer.end)[x] || ""
368
+ x: this.drawingArea.left + this.slot.line / 2 + this.slot.line * F,
369
+ y: this.drawingArea.bottom - G - _ * E,
370
+ value: l.absoluteValues[F],
371
+ comment: l.comments && l.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
364
372
  };
365
- }), s = l.absoluteValues.map((u) => f.min >= 0 ? (u - Math.abs(f.min)) / (f.max - Math.abs(f.min)) : (u + Math.abs(f.min)) / (f.max + Math.abs(f.min))), g = l.series.map((u, x) => {
366
- if (![void 0, null].includes(l.absoluteValues[x]))
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) => {
374
+ if (![void 0, null].includes(l.absoluteValues[F]))
367
375
  return {
368
- x: this.drawingArea.left + this.slot.line / 2 + this.slot.line * x,
369
- y: this.drawingArea.bottom - G - (_ * s[x] || 0),
370
- value: l.absoluteValues[x],
371
- comment: l.comments && l.comments.slice(this.slicer.start, this.slicer.end)[x] || ""
376
+ x: this.drawingArea.left + this.slot.line / 2 + this.slot.line * F,
377
+ y: this.drawingArea.bottom - G - (_ * s[F] || 0),
378
+ value: l.absoluteValues[F],
379
+ comment: l.comments && l.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
372
380
  };
373
- }), D = this.createSmoothPath(n), R = this.createSmoothPath(g), y = A.ticks.map((u) => ({
374
- y: u >= 0 ? S - _ * (u / k) : S + _ * Math.abs(u) / k,
375
- value: u
376
- })), O = f.ticks.map((u) => {
377
- const x = (u - f.min) / (f.max - f.min);
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,
383
+ value: d
384
+ })), O = f.ticks.map((d) => {
385
+ const F = (d - f.min) / (f.max - f.min);
378
386
  return {
379
- y: u >= 0 ? a - _ * x : a + _ * x,
380
- value: u
387
+ y: d >= 0 ? a - _ * F : a + _ * F,
388
+ value: d
381
389
  };
382
390
  });
383
391
  return {
@@ -398,18 +406,18 @@ const Be = U(), Ye = {
398
406
  plotSet() {
399
407
  return this.activeSeriesWithStackRatios.filter((l) => l.type === "plot").map((l) => {
400
408
  this.checkAutoScaleError(l);
401
- const o = Math.min(...l.absoluteValues.filter((y) => ![null, void 0].includes(y))), c = Math.max(...l.absoluteValues.filter((y) => ![null, void 0].includes(y))) || 1, t = {
402
- ratios: l.absoluteValues.filter((y) => ![null, void 0].includes(y)).map((y) => (y - o) / (c - o)),
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)),
403
411
  valueMin: o,
404
- valueMax: c
412
+ valueMax: h
405
413
  }, e = {
406
414
  max: l.scaleMax || Math.max(...l.absoluteValues) || 1,
407
415
  min: l.scaleMin || Math.min(...l.absoluteValues) > 0 ? 0 : Math.min(...l.absoluteValues)
408
- }, N = l.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = this.calculateNiceScale(e.min, e.max, N), f = this.calculateNiceScale(t.valueMin, t.valueMax, N), F = A.min >= 0 ? 0 : Math.abs(A.min), p = 0, k = A.max + F, w = f.max + Math.abs(p), G = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - l.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * l.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, S = this.drawingArea.bottom - G - _ * F / k, a = this.drawingArea.bottom - G - _ * p / w, n = l.series.map((y, O) => {
409
- const u = this.mutableConfig.useIndividualScale ? (l.absoluteValues[O] + Math.abs(F)) / 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), 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);
410
418
  return {
411
419
  x: this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * O,
412
- y: this.drawingArea.bottom - G - _ * u,
420
+ y: this.drawingArea.bottom - G - _ * d,
413
421
  value: l.absoluteValues[O],
414
422
  comment: l.comments && l.comments.slice(this.slicer.start, this.slicer.end)[O] || ""
415
423
  };
@@ -460,7 +468,7 @@ const Be = U(), Ye = {
460
468
  return l > 0 ? 0 : l;
461
469
  },
462
470
  niceScale() {
463
- return this.calculateNiceScale(this.min, this.max < 0 ? 0 : this.max, this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps);
471
+ return this.calculateNiceScaleWithExactExtremes(this.min, this.max < 0 ? 0 : this.max, this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps);
464
472
  },
465
473
  maxSeries() {
466
474
  return this.slicer.end - this.slicer.start;
@@ -487,15 +495,15 @@ const Be = U(), Ye = {
487
495
  },
488
496
  table() {
489
497
  if (this.safeDataset.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
490
- const l = this.relativeDataset.map((c) => ({
491
- label: c.name,
492
- color: c.color,
493
- type: c.type
498
+ const l = this.relativeDataset.map((h) => ({
499
+ label: h.name,
500
+ color: h.color,
501
+ type: h.type
494
502
  })), o = [];
495
- return this.timeLabels.forEach((c, b) => {
496
- const t = [c];
503
+ return this.timeLabels.forEach((h, m) => {
504
+ const t = [h];
497
505
  this.relativeDataset.forEach((e) => {
498
- t.push(this.canShowValue(e.absoluteValues[b]) ? Number(e.absoluteValues[b].toFixed(this.FINAL_CONFIG.table.rounding)) : "");
506
+ t.push(this.canShowValue(e.absoluteValues[m]) ? Number(e.absoluteValues[m].toFixed(this.FINAL_CONFIG.table.rounding)) : "");
499
507
  }), o.push(t);
500
508
  }), { head: l, body: o };
501
509
  },
@@ -506,7 +514,7 @@ const Be = U(), Ye = {
506
514
  const e = this.relativeDataset.map((N) => N.absoluteValues[t] ?? 0).reduce((N, A) => N + A, 0);
507
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)));
508
516
  }
509
- const c = {
517
+ const h = {
510
518
  th: {
511
519
  backgroundColor: this.FINAL_CONFIG.table.th.backgroundColor,
512
520
  color: this.FINAL_CONFIG.table.th.color,
@@ -518,8 +526,8 @@ const Be = U(), Ye = {
518
526
  outline: this.FINAL_CONFIG.table.td.outline
519
527
  },
520
528
  breakpoint: this.FINAL_CONFIG.table.responsiveBreakpoint
521
- }, b = [this.FINAL_CONFIG.table.columnNames.period].concat(this.relativeDataset.map((t) => t.name)).concat(this.FINAL_CONFIG.table.columnNames.total);
522
- return { head: l, body: o, config: c, colNames: b };
529
+ }, 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 };
523
531
  },
524
532
  dataTooltipSlot() {
525
533
  return {
@@ -538,14 +546,14 @@ const Be = U(), Ye = {
538
546
  name: l.name,
539
547
  color: l.color,
540
548
  type: l.type,
541
- value: l.absoluteValues.find((o, c) => c === this.selectedSerieIndex),
549
+ value: l.absoluteValues.find((o, h) => h === this.selectedSerieIndex),
542
550
  comments: l.comments || []
543
551
  }));
544
552
  },
545
553
  tooltipContent() {
546
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);
547
- const c = this.timeLabels[this.selectedSerieIndex], b = this.FINAL_CONFIG.chart.tooltip.customFormat;
548
- return this.isFunction(b) && this.functionReturnsString(() => b({
555
+ const h = this.timeLabels[this.selectedSerieIndex], m = this.FINAL_CONFIG.chart.tooltip.customFormat;
556
+ return this.isFunction(m) && this.functionReturnsString(() => m({
549
557
  seriesIndex: this.selectedSerieIndex,
550
558
  datapoint: this.selectedSeries,
551
559
  series: this.absoluteDataset,
@@ -553,7 +561,7 @@ const Be = U(), Ye = {
553
561
  lines: this.lineSet,
554
562
  plots: this.plotSet,
555
563
  config: this.FINAL_CONFIG
556
- })) ? b({
564
+ })) ? m({
557
565
  seriesIndex: this.selectedSerieIndex,
558
566
  datapoint: this.selectedSeries,
559
567
  series: this.absoluteDataset,
@@ -561,7 +569,7 @@ const Be = U(), Ye = {
561
569
  lines: this.lineSet,
562
570
  plots: this.plotSet,
563
571
  config: this.FINAL_CONFIG
564
- }) : (c && (l += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${this.FINAL_CONFIG.chart.tooltip.borderColor}; width:100%">${c}</div>`), this.selectedSeries.forEach((t) => {
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) => {
565
573
  if (this.isSafeValue(t.value)) {
566
574
  let e = "", N = "";
567
575
  switch (this.icons[t.type]) {
@@ -647,9 +655,9 @@ const Be = U(), Ye = {
647
655
  index: o
648
656
  });
649
657
  }), this.FINAL_CONFIG.showWarnings && this.dataset.forEach((l) => {
650
- l.series.forEach((o, c) => {
651
- this.isSafeValue(o) || console.warn(`SmartXY has detected an unsafe value in your dataset:
652
- -----> The serie '${l.name}' contains the value '${o}' at index ${c}.
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}.
653
661
  '${o}' was converted to null to allow the chart to display.`);
654
662
  });
655
663
  }), document.addEventListener("mousemove", (l) => {
@@ -666,15 +674,15 @@ const Be = U(), Ye = {
666
674
  isStacked: this.FINAL_CONFIG.chart.grid.labels.yAxis.stacked,
667
675
  useIndividualScale: this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale
668
676
  }, this.FINAL_CONFIG.responsive) {
669
- const o = this.$refs.chart.parentNode, { height: c, width: b } = o.getBoundingClientRect();
677
+ const o = this.$refs.chart.parentNode, { height: h, width: m } = o.getBoundingClientRect();
670
678
  let t = null, e = 0;
671
679
  this.FINAL_CONFIG.chart.title.show && (t = this.$refs.chartTitle, e = t.getBoundingClientRect().height);
672
680
  let N = null, A = 0;
673
681
  this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (N = this.$refs.chartSlicer.$el, A = N.getBoundingClientRect().height);
674
- let f = null, F = 0;
675
- this.FINAL_CONFIG.chart.legend.show && (f = this.$refs.chartLegend, F = f.getBoundingClientRect().height), this.height = c - e - F - A, this.width = b, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((k) => {
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) => {
676
684
  for (const w of k)
677
- t && (e = t.getBoundingClientRect().height), N && (A = N.getBoundingClientRect().height), f && (F = f.getBoundingClientRect().height), this.height = w.contentBoxSize[0].blockSize - e - F - A - 24, this.width = w.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
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();
678
686
  }).observe(o);
679
687
  } else
680
688
  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;
@@ -683,30 +691,30 @@ const Be = U(), Ye = {
683
691
  abbreviate: le,
684
692
  assignStackRatios: re,
685
693
  applyDataLabel: ie,
686
- calculateNiceScale: se,
694
+ calculateNiceScaleWithExactExtremes: se,
687
695
  checkNaN: oe,
688
696
  createSmoothPath: ne,
689
- isSafeValue: he,
690
- treeShake: ce,
691
- shiftHue: ue,
697
+ isSafeValue: ce,
698
+ treeShake: he,
699
+ shiftHue: de,
692
700
  pdf: J,
693
701
  img: Q,
694
- convertColorToHex: de,
702
+ convertColorToHex: ue,
695
703
  convertConfigColors: ge,
696
704
  convertCustomPalette: fe,
697
705
  downloadCsv: be,
698
- createCsvContent: Ie,
699
- adaptColorToBackground: me,
706
+ createCsvContent: me,
707
+ adaptColorToBackground: Ie,
700
708
  calcLinearProgression: Ne,
701
709
  useMouse: Oe,
702
710
  closestDecimal: _e,
703
711
  dataLabel: q,
704
- isFunction: Fe,
705
- functionReturnsString: xe,
712
+ isFunction: xe,
713
+ functionReturnsString: Fe,
706
714
  error: ye,
707
715
  objectIsEmpty: Ae,
708
716
  createTSpans: Le,
709
- useNestedProp: Z,
717
+ useNestedProp: U,
710
718
  translateSize: Se,
711
719
  convertSizes() {
712
720
  this.fontSizes.dataLabels = this.translateSize({
@@ -764,26 +772,25 @@ const Be = U(), Ye = {
764
772
  },
765
773
  createArea(l) {
766
774
  if (!l[0]) return [-10, -10, "", -10, -10];
767
- const o = { x: l[0].x, y: this.zero }, c = { x: l.at(-1).x, y: this.zero }, b = [];
775
+ const o = { x: l[0].x, y: this.zero }, h = { x: l.at(-1).x, y: this.zero }, m = [];
768
776
  return l.forEach((t) => {
769
- b.push(`${t.x},${t.y} `);
770
- }), [o.x, o.y, ...b, c.x, c.y].toString();
777
+ m.push(`${t.x},${t.y} `);
778
+ }), [o.x, o.y, ...m, h.x, h.y].toString();
771
779
  },
772
780
  createIndividualArea(l, o) {
773
781
  if (!l[0]) return [-10, -10, "", -10, -10];
774
- const c = { x: l[0] ? l[0].x : Math.min(...l.filter((e) => !!e).map((e) => e.x)), y: o }, b = { x: l.at(-1) ? l.at(-1).x : Math.min(...l.filter((e) => !!e).map((e) => e.x)), y: o }, t = [];
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 = [];
775
783
  return l.filter((e) => !!e).forEach((e) => {
776
784
  t.push(`${e.x},${e.y} `);
777
- }), [c.x, c.y, ...t, b.x, b.y].toString();
785
+ }), [h.x, h.y, ...t, m.x, m.y].toString();
778
786
  },
779
787
  createStar: X,
780
788
  createPolygonPath: M,
781
- /////////////////////////////// CANVAS /////////////////////////////////
782
789
  fillArray(l, o) {
783
- let c = Array(l).fill(0);
784
- for (let b = 0; b < o.length && b < l; b += 1)
785
- c[b] = o[b];
786
- return c;
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;
787
794
  },
788
795
  refreshSlicer() {
789
796
  this.slicer = {
@@ -813,12 +820,12 @@ const Be = U(), Ye = {
813
820
  return ![null, void 0, NaN].includes(l);
814
821
  },
815
822
  findClosestValue(l, o) {
816
- let c = o[0], b = Math.abs(l - o[0]);
823
+ let h = o[0], m = Math.abs(l - o[0]);
817
824
  for (let t = 1; t < o.length; t += 1) {
818
825
  const e = Math.abs(l - o[t]);
819
- e < b && o[t] < l && (c = o[t], b = e);
826
+ e < m && o[t] < l && (h = o[t], m = e);
820
827
  }
821
- return c;
828
+ return h;
822
829
  },
823
830
  ratioToMax(l) {
824
831
  return l / this.absoluteMax;
@@ -880,7 +887,7 @@ const Be = U(), Ye = {
880
887
  }, 100);
881
888
  },
882
889
  generateCsv() {
883
- const l = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], o = ["", ...this.table.head.map((e) => e.label)], c = this.table.body, b = l.concat([o]).concat(c), t = this.createCsvContent(b);
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);
884
891
  this.downloadCsv({ csvContent: t, title: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy" });
885
892
  },
886
893
  showSpinnerImage() {
@@ -898,7 +905,7 @@ const Be = U(), Ye = {
898
905
  }, 100);
899
906
  }
900
907
  }
901
- }, We = ["id"], Ee = ["viewBox"], Xe = { key: 0 }, qe = { class: "vue-ui-xy-grid" }, Ze = ["stroke", "x1", "x2", "y1", "y2"], Ue = ["stroke", "x1", "x2", "y1", "y2"], Je = { key: 1 }, Ke = ["x1", "x2", "y1", "y2", "stroke"], Qe = ["x1", "x2", "y1", "y2", "stroke"], je = ["x1", "x2", "y1", "y2", "stroke"], $e = { key: 3 }, et = ["x1", "x2", "y1", "y2", "stroke"], tt = ["id"], at = ["stop-color"], lt = ["stop-color"], rt = ["stop-color"], it = ["id"], st = ["stop-color"], ot = ["stop-color"], nt = ["stop-color"], ht = ["id"], ct = ["stop-color"], ut = ["stop-color"], dt = ["id"], gt = ["stop-color"], ft = ["stop-color"], bt = ["id"], It = ["stop-color"], mt = ["stop-color"], Nt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], _t = ["width", "x", "y"], Ft = { key: 0 }, xt = ["id"], yt = ["fill"], At = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Lt = ["x", "y", "font-size", "fill"], St = ["stroke", "x1", "x2", "y1", "y2"], Ct = ["width", "x", "y"], kt = { style: { width: "100%" } }, wt = { key: 0 }, Ot = ["id"], vt = ["fill"], Gt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], zt = ["x", "y", "font-size", "fill"], pt = ["d", "stroke", "stroke-width", "stroke-dasharray"], Tt = { key: 1 }, Mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Pt = { key: 0 }, Vt = ["d", "fill"], Rt = ["d", "fill"], Dt = ["d", "stroke", "stroke-width", "stroke-dasharray"], Ht = { key: 2 }, Bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Yt = ["width", "x", "y"], Wt = { style: { width: "100%" } }, Et = { key: 3 }, Xt = ["id"], qt = ["fill"], Zt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ut = ["x", "y", "font-size", "fill"], Jt = { key: 2 }, Kt = ["x", "y", "font-size", "fill"], Qt = ["x", "y", "font-size", "fill", "font-weight"], jt = { key: 3 }, $t = ["x", "y", "font-size", "fill"], ea = ["x", "y"], ta = ["x", "y"], aa = { key: 4 }, la = ["x", "y", "font-size", "fill"], ra = ["x", "y"], ia = ["x", "y"], sa = { key: 5 }, oa = ["x", "y", "height", "width", "fill"], na = ["x", "y", "width"], ha = ["y", "width", "height", "fill"], ca = ["x", "y", "width", "height", "fill"], ua = ["x", "y", "font-size", "fill", "innerHTML"], da = ["x", "y", "font-size", "fill", "innerHTML"], ga = ["x", "y", "font-size", "fill", "innerHTML"], fa = ["x", "y", "font-size", "fill", "innerHTML"], ba = { key: 6 }, Ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ma = ["fill", "font-size", "transform"], Na = ["x1", "x2", "y1", "y2", "stroke"], _a = ["x", "y", "font-size", "fill"], Fa = ["x1", "x2", "y1", "y2", "stroke"], xa = ["x", "y", "font-size", "fill"], ya = ["x", "y", "width", "height", "fill", "onMouseenter"], Aa = ["font-size", "fill", "transform"], La = ["x", "y", "font-size", "fill"], Sa = { key: 8 }, Ca = ["text-anchor", "font-size", "fill", "transform"], ka = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], wa = { key: 9 }, Oa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], va = { key: 10 }, Ga = ["x", "y"], za = ["cx", "cy", "r", "fill"], pa = {
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 = {
902
909
  key: 3,
903
910
  class: "vue-data-ui-watermark"
904
911
  }, Ta = ["onClick"], Ma = {
@@ -914,12 +921,12 @@ const Be = U(), Ye = {
914
921
  }, Ra = ["fill"], Da = {
915
922
  key: 7,
916
923
  ref: "chartLegend"
917
- }, Ha = {
924
+ }, Ea = {
918
925
  style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
919
926
  "data-html2canvas-ignore": ""
920
- }, Ba = ["innerHTML"];
921
- function Ya(l, o, c, b, t, e) {
922
- const N = P("Title"), A = P("UserOptions"), f = P("Shape"), F = P("Skeleton"), p = P("Slicer"), k = P("Tooltip"), w = P("BaseIcon"), G = P("TableSparkline"), _ = P("DataTable"), S = P("Accordion");
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");
923
930
  return r(), i("div", {
924
931
  id: `vue-ui-xy_${t.uniqueId}`,
925
932
  class: T(`vue-ui-xy ${t.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
@@ -932,7 +939,7 @@ function Ya(l, o, c, b, t, e) {
932
939
  class: "vue-ui-xy-title",
933
940
  style: L(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
934
941
  }, [
935
- E(N, {
942
+ Y(N, {
936
943
  config: {
937
944
  title: {
938
945
  cy: "xy-div-title",
@@ -944,7 +951,7 @@ function Ya(l, o, c, b, t, e) {
944
951
  }
945
952
  }
946
953
  }, null, 8, ["config"])
947
- ], 4)) : h("", !0),
954
+ ], 4)) : c("", !0),
948
955
  e.FINAL_CONFIG.chart.userOptions.show && e.isDataset ? (r(), V(A, {
949
956
  ref: "defails",
950
957
  key: `user_options_${t.step}`,
@@ -959,7 +966,7 @@ function Ya(l, o, c, b, t, e) {
959
966
  hasImg: e.FINAL_CONFIG.chart.userOptions.buttons.img,
960
967
  hasLabel: e.FINAL_CONFIG.chart.userOptions.buttons.labels,
961
968
  hasTable: e.FINAL_CONFIG.chart.userOptions.buttons.table,
962
- hasStack: c.dataset.length > 1 && e.FINAL_CONFIG.chart.userOptions.buttons.stack,
969
+ hasStack: h.dataset.length > 1 && e.FINAL_CONFIG.chart.userOptions.buttons.stack,
963
970
  hasFullscreen: e.FINAL_CONFIG.chart.userOptions.buttons.fullscreen,
964
971
  isStacked: t.mutableConfig.isStacked,
965
972
  isFullscreen: t.isFullscreen,
@@ -1027,11 +1034,11 @@ function Ya(l, o, c, b, t, e) {
1027
1034
  l.$slots.optionFullscreen ? {
1028
1035
  name: "optionFullscreen",
1029
1036
  fn: z(({ toggleFullscreen: a, isFullscreen: n }) => [
1030
- v(l.$slots, "optionFullscreen", Y(W({ toggleFullscreen: a, isFullscreen: n })), void 0, !0)
1037
+ v(l.$slots, "optionFullscreen", W(B({ toggleFullscreen: a, isFullscreen: n })), void 0, !0)
1031
1038
  ]),
1032
1039
  key: "7"
1033
1040
  } : void 0
1034
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "isTooltip", "titles", "onToggleFullscreen", "onGeneratePdf", "onGenerateCsv", "onGenerateImage", "onToggleTable", "onToggleLabels", "onToggleStack", "onToggleTooltip"])) : h("", !0),
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),
1035
1042
  e.isDataset ? (r(), i("svg", {
1036
1043
  key: 2,
1037
1044
  xmlns: "http://www.w3.org/2000/svg",
@@ -1041,114 +1048,114 @@ function Ya(l, o, c, b, t, e) {
1041
1048
  style: L(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1042
1049
  }, [
1043
1050
  e.maxSeries > 0 ? (r(), i("g", Xe, [
1044
- d("g", qe, [
1051
+ u("g", qe, [
1045
1052
  e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (r(), i("line", {
1046
1053
  key: 0,
1047
1054
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1048
1055
  "stroke-width": "1",
1049
- x1: e.drawingArea.left,
1050
- x2: e.drawingArea.right,
1056
+ x1: e.drawingArea.left + e.xPadding,
1057
+ x2: e.drawingArea.right - e.xPadding,
1051
1058
  y1: e.drawingArea.bottom,
1052
1059
  y2: e.drawingArea.bottom,
1053
1060
  "stroke-linecap": "round"
1054
- }, null, 8, Ze)) : h("", !0),
1055
- t.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(!0), i(I, { key: 2 }, m(e.allScales, (a) => (r(), i("g", null, [
1056
- a.id === t.selectedScale && a.yLabels.length ? (r(!0), i(I, { key: 0 }, m(a.yLabels, (n) => (r(), i("line", {
1057
- x1: e.drawingArea.left,
1058
- x2: e.drawingArea.right,
1061
+ }, null, 8, Ue)) : c("", !0),
1062
+ t.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(!0), i(b, { key: 2 }, I(e.allScales, (a) => (r(), i("g", null, [
1063
+ a.id === t.selectedScale && a.yLabels.length ? (r(!0), i(b, { key: 0 }, I(a.yLabels, (n) => (r(), i("line", {
1064
+ x1: e.drawingArea.left + e.xPadding,
1065
+ x2: e.drawingArea.right - e.xPadding,
1059
1066
  y1: n.y,
1060
1067
  y2: n.y,
1061
1068
  stroke: a.color,
1062
1069
  "stroke-width": 0.5,
1063
1070
  "stroke-linecap": "round"
1064
- }, null, 8, Qe))), 256)) : a.yLabels.length ? (r(!0), i(I, { key: 1 }, m(a.yLabels, (n) => (r(), i("line", {
1065
- x1: e.drawingArea.left,
1066
- x2: e.drawingArea.right,
1071
+ }, null, 8, Qe))), 256)) : a.yLabels.length ? (r(!0), i(b, { key: 1 }, I(a.yLabels, (n) => (r(), i("line", {
1072
+ x1: e.drawingArea.left + e.xPadding,
1073
+ x2: e.drawingArea.right - e.xPadding,
1067
1074
  y1: n.y,
1068
1075
  y2: n.y,
1069
1076
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1070
1077
  "stroke-width": 0.5,
1071
1078
  "stroke-linecap": "round"
1072
- }, null, 8, je))), 256)) : h("", !0)
1073
- ]))), 256)) : h("", !0) : (r(), i(I, { key: 1 }, [
1079
+ }, null, 8, je))), 256)) : c("", !0)
1080
+ ]))), 256)) : c("", !0) : (r(), i(b, { key: 1 }, [
1074
1081
  e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (r(), i("line", {
1075
1082
  key: 0,
1076
1083
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1077
1084
  "stroke-width": "1",
1078
- x1: e.drawingArea.left,
1079
- x2: e.drawingArea.left,
1085
+ x1: e.drawingArea.left + e.xPadding,
1086
+ x2: e.drawingArea.left + e.xPadding,
1080
1087
  y1: e.drawingArea.top,
1081
1088
  y2: e.drawingArea.bottom,
1082
1089
  "stroke-linecap": "round"
1083
- }, null, 8, Ue)) : h("", !0),
1090
+ }, null, 8, Ze)) : c("", !0),
1084
1091
  e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(), i("g", Je, [
1085
- (r(!0), i(I, null, m(e.yLabels, (a) => (r(), i("line", {
1086
- x1: e.drawingArea.left,
1087
- x2: e.drawingArea.right,
1092
+ (r(!0), i(b, null, I(e.yLabels, (a) => (r(), i("line", {
1093
+ x1: e.drawingArea.left + e.xPadding,
1094
+ x2: e.drawingArea.right - e.xPadding,
1088
1095
  y1: a.y,
1089
1096
  y2: a.y,
1090
1097
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1091
1098
  "stroke-width": 0.5,
1092
1099
  "stroke-linecap": "round"
1093
1100
  }, null, 8, Ke))), 256))
1094
- ])) : h("", !0)
1101
+ ])) : c("", !0)
1095
1102
  ], 64)),
1096
1103
  e.FINAL_CONFIG.chart.grid.showVerticalLines ? (r(), i("g", $e, [
1097
- (r(!0), i(I, null, m(e.maxSeries + 1, (a, n) => (r(), i("line", {
1104
+ (r(!0), i(b, null, I(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (a, n) => (r(), i("line", {
1098
1105
  key: `grid_vertical_line_${n}`,
1099
- x1: e.drawingArea.width / e.maxSeries * n + e.drawingArea.left,
1100
- x2: e.drawingArea.width / e.maxSeries * n + e.drawingArea.left,
1106
+ x1: e.drawingArea.width / e.maxSeries * n + e.drawingArea.left + e.xPadding,
1107
+ x2: e.drawingArea.width / e.maxSeries * n + e.drawingArea.left + e.xPadding,
1101
1108
  y1: e.drawingArea.top,
1102
1109
  y2: e.drawingArea.bottom,
1103
1110
  "stroke-width": "0.5",
1104
1111
  stroke: e.FINAL_CONFIG.chart.grid.stroke
1105
1112
  }, null, 8, et))), 128))
1106
- ])) : h("", !0)
1113
+ ])) : c("", !0)
1107
1114
  ]),
1108
- (r(!0), i(I, null, m(e.barSet, (a, n) => (r(), i("defs", {
1115
+ (r(!0), i(b, null, I(e.barSet, (a, n) => (r(), i("defs", {
1109
1116
  key: `def_rect_${n}`
1110
1117
  }, [
1111
- d("linearGradient", {
1118
+ u("linearGradient", {
1112
1119
  id: `rectGradient_pos_${n}_${t.uniqueId}`,
1113
1120
  x2: "0%",
1114
1121
  y2: "100%"
1115
1122
  }, [
1116
- d("stop", {
1123
+ u("stop", {
1117
1124
  offset: "0%",
1118
1125
  "stop-color": a.color
1119
1126
  }, null, 8, at),
1120
- d("stop", {
1127
+ u("stop", {
1121
1128
  offset: "62%",
1122
1129
  "stop-color": `${e.shiftHue(a.color, 0.02)}DE`
1123
1130
  }, null, 8, lt),
1124
- d("stop", {
1131
+ u("stop", {
1125
1132
  offset: "100%",
1126
1133
  "stop-color": `${e.shiftHue(a.color, 0.05)}66`
1127
1134
  }, null, 8, rt)
1128
1135
  ], 8, tt),
1129
- d("linearGradient", {
1136
+ u("linearGradient", {
1130
1137
  id: `rectGradient_neg_${n}_${t.uniqueId}`,
1131
1138
  x2: "0%",
1132
1139
  y2: "100%"
1133
1140
  }, [
1134
- d("stop", {
1141
+ u("stop", {
1135
1142
  offset: "0%",
1136
1143
  "stop-color": `${e.shiftHue(a.color, 0.05)}66`
1137
1144
  }, null, 8, st),
1138
- d("stop", {
1145
+ u("stop", {
1139
1146
  offset: "38%",
1140
1147
  "stop-color": `${e.shiftHue(a.color, 0.02)}DE`
1141
1148
  }, null, 8, ot),
1142
- d("stop", {
1149
+ u("stop", {
1143
1150
  offset: "100%",
1144
1151
  "stop-color": a.color
1145
1152
  }, null, 8, nt)
1146
1153
  ], 8, it)
1147
1154
  ]))), 128)),
1148
- (r(!0), i(I, null, m(e.plotSet, (a, n) => (r(), i("defs", {
1155
+ (r(!0), i(b, null, I(e.plotSet, (a, n) => (r(), i("defs", {
1149
1156
  key: `def_plot_${n}`
1150
1157
  }, [
1151
- d("radialGradient", {
1158
+ u("radialGradient", {
1152
1159
  id: `plotGradient_${n}_${t.uniqueId}`,
1153
1160
  cx: "50%",
1154
1161
  cy: "50%",
@@ -1156,20 +1163,20 @@ function Ya(l, o, c, b, t, e) {
1156
1163
  fx: "50%",
1157
1164
  fy: "50%"
1158
1165
  }, [
1159
- d("stop", {
1166
+ u("stop", {
1160
1167
  offset: "0%",
1161
1168
  "stop-color": `${e.shiftHue(a.color, 0.05)}`
1162
- }, null, 8, ct),
1163
- d("stop", {
1169
+ }, null, 8, ht),
1170
+ u("stop", {
1164
1171
  offset: "100%",
1165
1172
  "stop-color": a.color
1166
- }, null, 8, ut)
1167
- ], 8, ht)
1173
+ }, null, 8, dt)
1174
+ ], 8, ct)
1168
1175
  ]))), 128)),
1169
- (r(!0), i(I, null, m(e.lineSet, (a, n) => (r(), i("defs", {
1176
+ (r(!0), i(b, null, I(e.lineSet, (a, n) => (r(), i("defs", {
1170
1177
  key: `def_line_${n}`
1171
1178
  }, [
1172
- d("radialGradient", {
1179
+ u("radialGradient", {
1173
1180
  id: `lineGradient_${n}_${t.uniqueId}`,
1174
1181
  cx: "50%",
1175
1182
  cy: "50%",
@@ -1177,38 +1184,61 @@ function Ya(l, o, c, b, t, e) {
1177
1184
  fx: "50%",
1178
1185
  fy: "50%"
1179
1186
  }, [
1180
- d("stop", {
1187
+ u("stop", {
1181
1188
  offset: "0%",
1182
1189
  "stop-color": `${e.shiftHue(a.color, 0.05)}`
1183
1190
  }, null, 8, gt),
1184
- d("stop", {
1191
+ u("stop", {
1185
1192
  offset: "100%",
1186
1193
  "stop-color": a.color
1187
1194
  }, null, 8, ft)
1188
- ], 8, dt),
1189
- d("linearGradient", {
1195
+ ], 8, ut),
1196
+ u("linearGradient", {
1190
1197
  id: `areaGradient_${n}_${t.uniqueId}`,
1191
1198
  x1: "0%",
1192
1199
  x2: "100%",
1193
1200
  y1: "0%",
1194
1201
  y2: "0%"
1195
1202
  }, [
1196
- d("stop", {
1203
+ u("stop", {
1197
1204
  offset: "0%",
1198
1205
  "stop-color": `${e.shiftHue(a.color, 0.03)}${t.opacity[e.FINAL_CONFIG.line.area.opacity]}`
1199
- }, null, 8, It),
1200
- d("stop", {
1206
+ }, null, 8, mt),
1207
+ u("stop", {
1201
1208
  offset: "100%",
1202
1209
  "stop-color": `${a.color}${t.opacity[e.FINAL_CONFIG.line.area.opacity]}`
1203
- }, null, 8, mt)
1210
+ }, null, 8, It)
1204
1211
  ], 8, bt)
1205
1212
  ]))), 128)),
1206
- e.barSet.length ? (r(!0), i(I, { key: 0 }, m(e.barSet, (a, n) => (r(), i("g", {
1213
+ (r(!0), i(b, null, I(e.highlightAreas, (a) => (r(), i("g", null, [
1214
+ a.show ? (r(), i(b, { key: 0 }, [
1215
+ u("rect", {
1216
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.from - t.slicer.start),
1217
+ y: e.drawingArea.top,
1218
+ height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1219
+ width: e.drawingArea.width / e.maxSeries * a.span < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries * a.span,
1220
+ fill: `${a.color}${t.opacity[a.opacity]}`
1221
+ }, null, 8, Nt),
1222
+ a.caption.text ? (r(), i("foreignObject", {
1223
+ key: 0,
1224
+ 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),
1225
+ y: e.drawingArea.top + a.caption.offsetY,
1226
+ style: { overflow: "visible" },
1227
+ height: "1",
1228
+ width: a.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * a.span : a.caption.width
1229
+ }, [
1230
+ u("div", {
1231
+ 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
+ }, C(a.caption.text), 5)
1233
+ ], 8, _t)) : c("", !0)
1234
+ ], 64)) : c("", !0)
1235
+ ]))), 256)),
1236
+ e.barSet.length ? (r(!0), i(b, { key: 0 }, I(e.barSet, (a, n) => (r(), i("g", {
1207
1237
  key: `serie_bar_${n}`,
1208
1238
  class: T(`serie_bar_${n}`),
1209
1239
  style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1210
1240
  }, [
1211
- (r(!0), i(I, null, m(a.plots, (s, g) => (r(), i("g", {
1241
+ (r(!0), i(b, null, I(a.plots, (s, g) => (r(), i("g", {
1212
1242
  key: `bar_plot_${n}_${g}`
1213
1243
  }, [
1214
1244
  e.canShowValue(s.value) ? (r(), i("rect", {
@@ -1221,7 +1251,7 @@ function Ya(l, o, c, b, t, e) {
1221
1251
  fill: e.FINAL_CONFIG.bar.useGradient ? s.value >= 0 ? `url(#rectGradient_pos_${n}_${t.uniqueId})` : `url(#rectGradient_neg_${n}_${t.uniqueId})` : a.color,
1222
1252
  stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? a.color : e.FINAL_CONFIG.bar.border.stroke,
1223
1253
  "stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
1224
- }, null, 8, Nt)) : h("", !0),
1254
+ }, null, 8, xt)) : c("", !0),
1225
1255
  s.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), i("foreignObject", {
1226
1256
  key: 1,
1227
1257
  style: { overflow: "visible" },
@@ -1233,11 +1263,11 @@ function Ya(l, o, c, b, t, e) {
1233
1263
  v(l.$slots, "plot-comment", {
1234
1264
  plot: { ...s, color: a.color }
1235
1265
  }, void 0, !0)
1236
- ], 8, _t)) : h("", !0)
1266
+ ], 8, Ft)) : c("", !0)
1237
1267
  ]))), 128)),
1238
- Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g", Ft, [
1239
- d("defs", null, [
1240
- d("marker", {
1268
+ Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g", yt, [
1269
+ u("defs", null, [
1270
+ u("marker", {
1241
1271
  id: `bar_arrow_${n}`,
1242
1272
  markerWidth: 7,
1243
1273
  markerHeight: 7,
@@ -1245,11 +1275,11 @@ function Ya(l, o, c, b, t, e) {
1245
1275
  refY: 7 / 2,
1246
1276
  orient: "auto"
1247
1277
  }, [
1248
- d("polygon", {
1278
+ u("polygon", {
1249
1279
  points: `0 0, 7 ${7 / 2}, 0 7`,
1250
1280
  fill: a.color
1251
- }, null, 8, yt)
1252
- ], 8, xt)
1281
+ }, null, 8, Lt)
1282
+ ], 8, At)
1253
1283
  ]),
1254
1284
  a.plots.length > 1 ? (r(), i("line", {
1255
1285
  key: 0,
@@ -1261,7 +1291,7 @@ function Ya(l, o, c, b, t, e) {
1261
1291
  stroke: a.color,
1262
1292
  "stroke-dasharray": 2,
1263
1293
  "marker-end": `url(#bar_arrow_${n})`
1264
- }, null, 8, At)) : h("", !0),
1294
+ }, null, 8, St)) : c("", !0),
1265
1295
  a.plots.length > 1 ? (r(), i("text", {
1266
1296
  key: 1,
1267
1297
  "text-anchor": "middle",
@@ -1273,25 +1303,136 @@ function Ya(l, o, c, b, t, e) {
1273
1303
  v: e.calcLinearProgression(a.plots).trend * 100,
1274
1304
  s: "%",
1275
1305
  r: 2
1276
- })), 9, Lt)) : h("", !0)
1277
- ])) : h("", !0)
1278
- ], 6))), 128)) : h("", !0),
1306
+ })), 9, Ct)) : c("", !0)
1307
+ ])) : c("", !0)
1308
+ ], 6))), 128)) : c("", !0),
1279
1309
  !t.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (r(), i("line", {
1280
1310
  key: 1,
1281
1311
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1282
1312
  "stroke-width": "1",
1283
- x1: e.drawingArea.left,
1284
- x2: e.drawingArea.right,
1313
+ x1: e.drawingArea.left + e.xPadding,
1314
+ x2: e.drawingArea.right - e.xPadding,
1285
1315
  y1: e.zero,
1286
1316
  y2: e.zero,
1287
1317
  "stroke-linecap": "round"
1288
- }, null, 8, St)) : h("", !0),
1289
- (r(!0), i(I, null, m(e.plotSet, (a, n) => (r(), i("g", {
1318
+ }, null, 8, kt)) : c("", !0),
1319
+ u("g", null, [
1320
+ u("rect", {
1321
+ x: 0,
1322
+ y: e.drawingArea.top,
1323
+ width: e.FINAL_CONFIG.chart.padding.left - 1 + e.xPadding,
1324
+ height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1325
+ fill: e.FINAL_CONFIG.chart.backgroundColor
1326
+ }, null, 8, wt),
1327
+ u("rect", {
1328
+ x: e.drawingArea.right + 1 - e.xPadding,
1329
+ y: e.drawingArea.top,
1330
+ width: e.FINAL_CONFIG.chart.padding.right - 1 + e.xPadding,
1331
+ height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1332
+ fill: e.FINAL_CONFIG.chart.backgroundColor
1333
+ }, null, 8, Ot)
1334
+ ]),
1335
+ e.FINAL_CONFIG.chart.grid.frame.show ? (r(), i("rect", {
1336
+ key: 2,
1337
+ style: { pointerEvents: "none" },
1338
+ x: e.drawingArea.left + e.xPadding,
1339
+ y: e.drawingArea.top,
1340
+ width: e.drawingArea.width - (e.FINAL_CONFIG.chart.grid.position === "middle" ? 0 : e.drawingArea.width / e.maxSeries),
1341
+ height: e.drawingArea.height,
1342
+ fill: "transparent",
1343
+ stroke: e.FINAL_CONFIG.chart.grid.frame.stroke,
1344
+ "stroke-width": e.FINAL_CONFIG.chart.grid.frame.strokeWidth,
1345
+ "stroke-linecap": e.FINAL_CONFIG.chart.grid.frame.strokeLinecap,
1346
+ "stroke-linejoin": e.FINAL_CONFIG.chart.grid.frame.strokeLinejoin,
1347
+ "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, [
1350
+ t.mutableConfig.useIndividualScale ? (r(), i(b, { key: 0 }, [
1351
+ (r(!0), i(b, null, I(e.allScales, (a) => (r(), i("g", null, [
1352
+ u("line", {
1353
+ x1: a.x + e.xPadding,
1354
+ x2: a.x + e.xPadding,
1355
+ y1: t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset - a.individualHeight : e.drawingArea.top,
1356
+ y2: t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset : e.drawingArea.bottom,
1357
+ stroke: a.color,
1358
+ "stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
1359
+ "stroke-linecap": "round",
1360
+ style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1361
+ }, null, 12, zt)
1362
+ ]))), 256)),
1363
+ (r(!0), i(b, null, I(e.allScales, (a) => (r(), i("g", {
1364
+ style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1365
+ }, [
1366
+ u("text", {
1367
+ fill: a.color,
1368
+ "font-size": t.fontSizes.dataLabels,
1369
+ "text-anchor": "middle",
1370
+ 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", {
1373
+ x1: a.x - 3 + e.xPadding,
1374
+ x2: a.x + e.xPadding,
1375
+ y1: n.y,
1376
+ y2: n.y,
1377
+ stroke: a.color,
1378
+ "stroke-width": 1,
1379
+ "stroke-linecap": "round"
1380
+ }, null, 8, Tt))), 256)),
1381
+ (r(!0), i(b, null, I(a.yLabels, (n, s) => (r(), i("text", {
1382
+ x: a.x - 5 + e.xPadding,
1383
+ y: n.y + e.xPadding,
1384
+ "font-size": t.fontSizes.dataLabels,
1385
+ "text-anchor": "end",
1386
+ fill: a.color
1387
+ }, C(e.applyDataLabel(
1388
+ e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1389
+ n.value,
1390
+ e.dataLabel({
1391
+ p: e.FINAL_CONFIG.chart.labels.prefix,
1392
+ v: n.value,
1393
+ s: e.FINAL_CONFIG.chart.labels.suffix,
1394
+ r: 1
1395
+ })
1396
+ )), 9, Mt))), 256))
1397
+ ], 4))), 256))
1398
+ ], 64)) : (r(!0), i(b, { key: 1 }, I(e.yLabels, (a, n) => (r(), i("g", {
1399
+ key: `yLabel_${n}`
1400
+ }, [
1401
+ e.canShowValue(a) && a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (r(), i("line", {
1402
+ key: 0,
1403
+ x1: e.drawingArea.left + e.xPadding,
1404
+ x2: e.drawingArea.left - 5 + e.xPadding,
1405
+ y1: a.y,
1406
+ y2: a.y,
1407
+ stroke: e.FINAL_CONFIG.chart.grid.stroke,
1408
+ "stroke-width": "1",
1409
+ "stroke-linecap": "round"
1410
+ }, null, 8, Pt)) : c("", !0),
1411
+ a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (r(), i("text", {
1412
+ key: 1,
1413
+ x: e.drawingArea.left - 7 + e.xPadding,
1414
+ y: a.y + t.fontSizes.dataLabels / 3,
1415
+ "font-size": t.fontSizes.dataLabels,
1416
+ "text-anchor": "end",
1417
+ fill: e.FINAL_CONFIG.chart.grid.labels.color
1418
+ }, C(e.canShowValue(a.value) ? e.applyDataLabel(
1419
+ e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1420
+ a.value,
1421
+ e.dataLabel({
1422
+ p: e.FINAL_CONFIG.chart.labels.prefix,
1423
+ v: a.value,
1424
+ s: e.FINAL_CONFIG.chart.labels.suffix,
1425
+ r: 1
1426
+ })
1427
+ ) : ""), 9, Vt)) : c("", !0)
1428
+ ]))), 128))
1429
+ ])) : c("", !0),
1430
+ (r(!0), i(b, null, I(e.plotSet, (a, n) => (r(), i("g", {
1290
1431
  key: `serie_plot_${n}`,
1291
1432
  class: T(`serie_plot_${n}`),
1292
1433
  style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1293
1434
  }, [
1294
- (r(!0), i(I, null, m(a.plots, (s, g) => (r(), i("g", {
1435
+ (r(!0), i(b, null, I(a.plots, (s, g) => (r(), i("g", {
1295
1436
  key: `circle_plot_${n}_${g}`
1296
1437
  }, [
1297
1438
  e.canShowValue(s.value) ? (r(), V(f, {
@@ -1302,7 +1443,7 @@ function Ya(l, o, c, b, t, e) {
1302
1443
  radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === g ? (t.plotRadii.plot || 6) * 1.5 : t.plotRadii.plot || 6,
1303
1444
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1304
1445
  strokeWidth: 0.5
1305
- }, null, 8, ["shape", "color", "plot", "radius", "stroke"])) : h("", !0),
1446
+ }, null, 8, ["shape", "color", "plot", "radius", "stroke"])) : c("", !0),
1306
1447
  s.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), i("foreignObject", {
1307
1448
  key: 1,
1308
1449
  style: { overflow: "visible" },
@@ -1311,16 +1452,16 @@ function Ya(l, o, c, b, t, e) {
1311
1452
  x: s.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1312
1453
  y: s.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1313
1454
  }, [
1314
- d("div", kt, [
1455
+ u("div", Dt, [
1315
1456
  v(l.$slots, "plot-comment", {
1316
1457
  plot: { ...s, color: a.color }
1317
1458
  }, void 0, !0)
1318
1459
  ])
1319
- ], 8, Ct)) : h("", !0)
1460
+ ], 8, Rt)) : c("", !0)
1320
1461
  ]))), 128)),
1321
- Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g", wt, [
1322
- d("defs", null, [
1323
- d("marker", {
1462
+ Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g", Et, [
1463
+ u("defs", null, [
1464
+ u("marker", {
1324
1465
  id: `plot_arrow_${n}`,
1325
1466
  markerWidth: 7,
1326
1467
  markerHeight: 7,
@@ -1328,11 +1469,11 @@ function Ya(l, o, c, b, t, e) {
1328
1469
  refY: 7 / 2,
1329
1470
  orient: "auto"
1330
1471
  }, [
1331
- d("polygon", {
1472
+ u("polygon", {
1332
1473
  points: `0 0, 7 ${7 / 2}, 0 7`,
1333
1474
  fill: a.color
1334
- }, null, 8, vt)
1335
- ], 8, Ot)
1475
+ }, null, 8, Wt)
1476
+ ], 8, Ht)
1336
1477
  ]),
1337
1478
  a.plots.length > 1 ? (r(), i("line", {
1338
1479
  key: 0,
@@ -1344,7 +1485,7 @@ function Ya(l, o, c, b, t, e) {
1344
1485
  stroke: a.color,
1345
1486
  "stroke-dasharray": 2,
1346
1487
  "marker-end": `url(#plot_arrow_${n})`
1347
- }, null, 8, Gt)) : h("", !0),
1488
+ }, null, 8, Bt)) : c("", !0),
1348
1489
  a.plots.length > 1 ? (r(), i("text", {
1349
1490
  key: 1,
1350
1491
  "text-anchor": "middle",
@@ -1356,10 +1497,10 @@ function Ya(l, o, c, b, t, e) {
1356
1497
  v: e.calcLinearProgression(a.plots).trend * 100,
1357
1498
  s: "%",
1358
1499
  r: 2
1359
- })), 9, zt)) : h("", !0)
1360
- ])) : h("", !0)
1500
+ })), 9, Yt)) : c("", !0)
1501
+ ])) : c("", !0)
1361
1502
  ], 6))), 128)),
1362
- (r(!0), i(I, null, m(e.lineSet, (a, n) => (r(), i("g", {
1503
+ (r(!0), i(b, null, I(e.lineSet, (a, n) => (r(), i("g", {
1363
1504
  key: `serie_line_${n}`,
1364
1505
  class: T(`serie_line_${n}`),
1365
1506
  style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
@@ -1371,8 +1512,8 @@ function Ya(l, o, c, b, t, e) {
1371
1512
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1372
1513
  "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1373
1514
  fill: "none"
1374
- }, null, 8, pt)) : a.plots.length > 1 ? (r(), i("g", Tt, [
1375
- (r(!0), i(I, null, m(a.plots, (s, g) => (r(), i("g", {
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", {
1376
1517
  key: `line_${n}_${g}`
1377
1518
  }, [
1378
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", {
@@ -1386,26 +1527,26 @@ function Ya(l, o, c, b, t, e) {
1386
1527
  "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1387
1528
  "stroke-linejoin": "round",
1388
1529
  "stroke-linecap": "round"
1389
- }, null, 8, Mt)) : h("", !0)
1530
+ }, null, 8, Ut)) : c("", !0)
1390
1531
  ]))), 128))
1391
- ])) : h("", !0)
1532
+ ])) : c("", !0)
1392
1533
  ], 6))), 128)),
1393
- (r(!0), i(I, null, m(e.lineSet, (a, n) => (r(), i("g", {
1534
+ (r(!0), i(b, null, I(e.lineSet, (a, n) => (r(), i("g", {
1394
1535
  key: `serie_line_${n}`,
1395
1536
  class: T(`serie_line_${n}`),
1396
1537
  style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1397
1538
  }, [
1398
- a.useArea && a.plots.length > 1 ? (r(), i("g", Pt, [
1539
+ a.useArea && a.plots.length > 1 ? (r(), i("g", Zt, [
1399
1540
  a.smooth ? (r(), i("path", {
1400
1541
  key: 0,
1401
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`,
1402
1543
  fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${n}_${t.uniqueId})` : `${a.color}${t.opacity[e.FINAL_CONFIG.line.area.opacity]}`
1403
- }, null, 8, Vt)) : (r(), i("path", {
1544
+ }, null, 8, Jt)) : (r(), i("path", {
1404
1545
  key: 1,
1405
1546
  d: `M${a.area}Z`,
1406
1547
  fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${n}_${t.uniqueId})` : `${a.color}${t.opacity[e.FINAL_CONFIG.line.area.opacity]}`
1407
- }, null, 8, Rt))
1408
- ])) : h("", !0),
1548
+ }, null, 8, Kt))
1549
+ ])) : c("", !0),
1409
1550
  a.smooth && a.plots.length > 1 ? (r(), i("path", {
1410
1551
  key: 1,
1411
1552
  d: `M${a.curve}`,
@@ -1413,8 +1554,8 @@ function Ya(l, o, c, b, t, e) {
1413
1554
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1414
1555
  "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1415
1556
  fill: "none"
1416
- }, null, 8, Dt)) : a.plots.length > 1 ? (r(), i("g", Ht, [
1417
- (r(!0), i(I, null, m(a.plots, (s, g) => (r(), i("g", {
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", {
1418
1559
  key: `line_${n}_${g}`
1419
1560
  }, [
1420
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", {
@@ -1428,10 +1569,10 @@ function Ya(l, o, c, b, t, e) {
1428
1569
  "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1429
1570
  "stroke-linejoin": "round",
1430
1571
  "stroke-linecap": "round"
1431
- }, null, 8, Bt)) : h("", !0)
1572
+ }, null, 8, $t)) : c("", !0)
1432
1573
  ]))), 128))
1433
- ])) : h("", !0),
1434
- (r(!0), i(I, null, m(a.plots, (s, g) => (r(), i("g", {
1574
+ ])) : c("", !0),
1575
+ (r(!0), i(b, null, I(a.plots, (s, g) => (r(), i("g", {
1435
1576
  key: `circle_line_${n}_${g}`
1436
1577
  }, [
1437
1578
  s && e.canShowValue(s.value) ? (r(), V(f, {
@@ -1442,7 +1583,7 @@ function Ya(l, o, c, b, t, e) {
1442
1583
  radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === g ? (t.plotRadii.line || 6) * 1.5 : t.plotRadii.line,
1443
1584
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1444
1585
  strokeWidth: 0.5
1445
- }, null, 8, ["shape", "color", "plot", "radius", "stroke"])) : h("", !0),
1586
+ }, null, 8, ["shape", "color", "plot", "radius", "stroke"])) : c("", !0),
1446
1587
  s.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), i("foreignObject", {
1447
1588
  key: 1,
1448
1589
  style: { overflow: "visible" },
@@ -1451,16 +1592,16 @@ function Ya(l, o, c, b, t, e) {
1451
1592
  x: s.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1452
1593
  y: s.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1453
1594
  }, [
1454
- d("div", Wt, [
1595
+ u("div", ta, [
1455
1596
  v(l.$slots, "plot-comment", {
1456
1597
  plot: { ...s, color: a.color }
1457
1598
  }, void 0, !0)
1458
1599
  ])
1459
- ], 8, Yt)) : h("", !0)
1600
+ ], 8, ea)) : c("", !0)
1460
1601
  ]))), 128)),
1461
- Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g", Et, [
1462
- d("defs", null, [
1463
- d("marker", {
1602
+ Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g", aa, [
1603
+ u("defs", null, [
1604
+ u("marker", {
1464
1605
  id: `line_arrow_${n}`,
1465
1606
  markerWidth: 7,
1466
1607
  markerHeight: 7,
@@ -1468,11 +1609,11 @@ function Ya(l, o, c, b, t, e) {
1468
1609
  refY: 7 / 2,
1469
1610
  orient: "auto"
1470
1611
  }, [
1471
- d("polygon", {
1612
+ u("polygon", {
1472
1613
  points: `0 0, 7 ${7 / 2}, 0 7`,
1473
1614
  fill: a.color
1474
- }, null, 8, qt)
1475
- ], 8, Xt)
1615
+ }, null, 8, ra)
1616
+ ], 8, la)
1476
1617
  ]),
1477
1618
  a.plots.length > 1 ? (r(), i("line", {
1478
1619
  key: 0,
@@ -1484,7 +1625,7 @@ function Ya(l, o, c, b, t, e) {
1484
1625
  stroke: a.color,
1485
1626
  "stroke-dasharray": 2,
1486
1627
  "marker-end": `url(#line_arrow_${n})`
1487
- }, null, 8, Zt)) : h("", !0),
1628
+ }, null, 8, ia)) : c("", !0),
1488
1629
  a.plots.length > 1 ? (r(), i("text", {
1489
1630
  key: 1,
1490
1631
  "text-anchor": "middle",
@@ -1496,16 +1637,16 @@ function Ya(l, o, c, b, t, e) {
1496
1637
  v: e.calcLinearProgression(a.plots).trend * 100,
1497
1638
  s: "%",
1498
1639
  r: 2
1499
- })), 9, Ut)) : h("", !0)
1500
- ])) : h("", !0)
1640
+ })), 9, sa)) : c("", !0)
1641
+ ])) : c("", !0)
1501
1642
  ], 6))), 128)),
1502
- (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && t.mutableConfig.dataLabels.show ? (r(), i("g", Jt, [
1503
- (r(!0), i(I, null, m(e.barSet, (a, n) => (r(), i("g", {
1643
+ (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && t.mutableConfig.dataLabels.show ? (r(), i("g", oa, [
1644
+ (r(!0), i(b, null, I(e.barSet, (a, n) => (r(), i("g", {
1504
1645
  key: `xLabel_bar_${n}`,
1505
1646
  class: T(`xLabel_bar_${n}`),
1506
1647
  style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1507
1648
  }, [
1508
- (r(!0), i(I, null, m(a.plots, (s, g) => (r(), i("g", {
1649
+ (r(!0), i(b, null, I(a.plots, (s, g) => (r(), i("g", {
1509
1650
  key: `xLabel_bar_${n}_${g}`
1510
1651
  }, [
1511
1652
  s && (!Object.hasOwn(a, "dataLabels") || a.dataLabels === !0) && e.FINAL_CONFIG.bar.labels.show ? (r(), i("text", {
@@ -1528,7 +1669,7 @@ function Ya(l, o, c, b, t, e) {
1528
1669
  datapoint: s,
1529
1670
  serie: a
1530
1671
  }
1531
- ) : ""), 9, Kt)) : h("", !0),
1672
+ ) : ""), 9, na)) : c("", !0),
1532
1673
  s && e.FINAL_CONFIG.bar.serieName.show ? (r(), i("text", {
1533
1674
  key: 1,
1534
1675
  x: t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? s.x + e.slot.line / 2 : s.x + e.calcRectWidth() * 1.1,
@@ -1537,17 +1678,17 @@ function Ya(l, o, c, b, t, e) {
1537
1678
  "font-size": t.fontSizes.plotLabels,
1538
1679
  fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? a.color : e.FINAL_CONFIG.bar.serieName.color,
1539
1680
  "font-weight": e.FINAL_CONFIG.bar.serieName.bold ? "bold" : "normal"
1540
- }, C(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: a.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : a.name), 9, Qt)) : h("", !0)
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)
1541
1682
  ]))), 128))
1542
1683
  ], 6))), 128))
1543
- ])) : h("", !0),
1544
- e.FINAL_CONFIG.plot.labels.show && t.mutableConfig.dataLabels.show ? (r(), i("g", jt, [
1545
- (r(!0), i(I, null, m(e.plotSet, (a, n) => (r(), i("g", {
1684
+ ])) : c("", !0),
1685
+ e.FINAL_CONFIG.plot.labels.show && t.mutableConfig.dataLabels.show ? (r(), i("g", ha, [
1686
+ (r(!0), i(b, null, I(e.plotSet, (a, n) => (r(), i("g", {
1546
1687
  key: `xLabel_plot_${n}`,
1547
1688
  class: T(`xLabel_plot_${n}`),
1548
1689
  style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1549
1690
  }, [
1550
- (r(!0), i(I, null, m(a.plots, (s, g) => (r(), i("g", {
1691
+ (r(!0), i(b, null, I(a.plots, (s, g) => (r(), i("g", {
1551
1692
  key: `xLabel_plot_${n}_${g}`
1552
1693
  }, [
1553
1694
  s && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 ? (r(), i("text", {
@@ -1570,7 +1711,7 @@ function Ya(l, o, c, b, t, e) {
1570
1711
  datapoint: s,
1571
1712
  serie: a
1572
1713
  }
1573
- ) : ""), 9, $t)) : h("", !0),
1714
+ ) : ""), 9, da)) : c("", !0),
1574
1715
  s && g === 0 && a.useTag && a.useTag === "start" ? (r(), i("foreignObject", {
1575
1716
  key: 1,
1576
1717
  x: s.x,
@@ -1579,10 +1720,10 @@ function Ya(l, o, c, b, t, e) {
1579
1720
  width: "150",
1580
1721
  style: { overflow: "visible" }
1581
1722
  }, [
1582
- d("div", {
1723
+ u("div", {
1583
1724
  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;`)
1584
1725
  }, C(a.name), 5)
1585
- ], 8, ea)) : h("", !0),
1726
+ ], 8, ua)) : c("", !0),
1586
1727
  s && g === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (r(), i("foreignObject", {
1587
1728
  key: 2,
1588
1729
  x: s.x - a.name.length * (t.fontSizes.plotLabels / 2),
@@ -1591,20 +1732,20 @@ function Ya(l, o, c, b, t, e) {
1591
1732
  width: "150",
1592
1733
  style: { overflow: "visible" }
1593
1734
  }, [
1594
- d("div", {
1735
+ u("div", {
1595
1736
  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;`)
1596
1737
  }, C(a.name), 5)
1597
- ], 8, ta)) : h("", !0)
1738
+ ], 8, ga)) : c("", !0)
1598
1739
  ]))), 128))
1599
1740
  ], 6))), 128))
1600
- ])) : h("", !0),
1601
- e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (r(), i("g", aa, [
1602
- (r(!0), i(I, null, m(e.lineSet, (a, n) => (r(), i("g", {
1741
+ ])) : c("", !0),
1742
+ e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (r(), i("g", fa, [
1743
+ (r(!0), i(b, null, I(e.lineSet, (a, n) => (r(), i("g", {
1603
1744
  key: `xLabel_line_${n}`,
1604
1745
  class: T(`xLabel_line_${n}`),
1605
1746
  style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1606
1747
  }, [
1607
- (r(!0), i(I, null, m(a.plots, (s, g) => (r(), i("g", {
1748
+ (r(!0), i(b, null, I(a.plots, (s, g) => (r(), i("g", {
1608
1749
  key: `xLabel_line_${n}_${g}`
1609
1750
  }, [
1610
1751
  s && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 ? (r(), i("text", {
@@ -1627,7 +1768,7 @@ function Ya(l, o, c, b, t, e) {
1627
1768
  datapoint: s,
1628
1769
  serie: a
1629
1770
  }
1630
- ) : ""), 9, la)) : h("", !0),
1771
+ ) : ""), 9, ba)) : c("", !0),
1631
1772
  s && g === 0 && a.useTag && a.useTag === "start" ? (r(), i("foreignObject", {
1632
1773
  key: 1,
1633
1774
  x: s.x,
@@ -1636,10 +1777,10 @@ function Ya(l, o, c, b, t, e) {
1636
1777
  width: "150",
1637
1778
  style: { overflow: "visible" }
1638
1779
  }, [
1639
- d("div", {
1780
+ u("div", {
1640
1781
  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;`)
1641
1782
  }, C(a.name), 5)
1642
- ], 8, ra)) : h("", !0),
1783
+ ], 8, ma)) : c("", !0),
1643
1784
  s && g === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (r(), i("foreignObject", {
1644
1785
  key: 2,
1645
1786
  x: s.x - a.name.length * (t.fontSizes.plotLabels / 2),
@@ -1648,56 +1789,19 @@ function Ya(l, o, c, b, t, e) {
1648
1789
  width: "150",
1649
1790
  style: { overflow: "visible" }
1650
1791
  }, [
1651
- d("div", {
1792
+ u("div", {
1652
1793
  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;`)
1653
1794
  }, C(a.name), 5)
1654
- ], 8, ia)) : h("", !0)
1795
+ ], 8, Ia)) : c("", !0)
1655
1796
  ]))), 128))
1656
1797
  ], 6))), 128))
1657
- ])) : h("", !0),
1658
- e.hasHighlightArea ? (r(), i("g", sa, [
1659
- d("rect", {
1660
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (e.FINAL_CONFIG.chart.highlightArea.from - t.slicer.start),
1661
- y: e.drawingArea.top,
1662
- height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1663
- width: e.drawingArea.width / e.maxSeries * e.highlightAreaSpan < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries * e.highlightAreaSpan,
1664
- fill: `${e.FINAL_CONFIG.chart.highlightArea.color}${t.opacity[e.FINAL_CONFIG.chart.highlightArea.opacity]}`
1665
- }, null, 8, oa),
1666
- e.FINAL_CONFIG.chart.highlightArea.caption.text ? (r(), i("foreignObject", {
1667
- key: 0,
1668
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (e.FINAL_CONFIG.chart.highlightArea.from - t.slicer.start) - (e.FINAL_CONFIG.chart.highlightArea.caption.width === "auto" ? 0 : e.FINAL_CONFIG.chart.highlightArea.caption.width / 2 - e.drawingArea.width / e.maxSeries * e.highlightAreaSpan / 2),
1669
- y: e.drawingArea.top + e.FINAL_CONFIG.chart.highlightArea.caption.offsetY,
1670
- style: { overflow: "visible" },
1671
- height: "1",
1672
- width: e.FINAL_CONFIG.chart.highlightArea.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * e.highlightAreaSpan : e.FINAL_CONFIG.chart.highlightArea.caption.width
1673
- }, [
1674
- d("div", {
1675
- style: L(`padding:${e.FINAL_CONFIG.chart.highlightArea.caption.padding}px;text-align:${e.FINAL_CONFIG.chart.highlightArea.caption.textAlign};font-size:${e.FINAL_CONFIG.chart.highlightArea.caption.fontSize}px;color:${e.FINAL_CONFIG.chart.highlightArea.caption.color};font-weight:${e.FINAL_CONFIG.chart.highlightArea.caption.bold ? "bold" : "normal"}`)
1676
- }, C(e.FINAL_CONFIG.chart.highlightArea.caption.text), 5)
1677
- ], 8, na)) : h("", !0)
1678
- ])) : h("", !0),
1679
- d("g", null, [
1680
- d("rect", {
1681
- x: 0,
1682
- y: e.drawingArea.top,
1683
- width: e.FINAL_CONFIG.chart.padding.left - 1,
1684
- height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1685
- fill: e.FINAL_CONFIG.chart.backgroundColor
1686
- }, null, 8, ha),
1687
- d("rect", {
1688
- x: e.drawingArea.right + 1,
1689
- y: e.drawingArea.top,
1690
- width: e.FINAL_CONFIG.chart.padding.right,
1691
- height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1692
- fill: e.FINAL_CONFIG.chart.backgroundColor
1693
- }, null, 8, ca)
1694
- ]),
1695
- (r(!0), i(I, null, m(e.lineSet, (a, n) => (r(), i("g", {
1798
+ ])) : c("", !0),
1799
+ (r(!0), i(b, null, I(e.lineSet, (a, n) => (r(), i("g", {
1696
1800
  key: `xLabel_line_${n}`,
1697
1801
  class: T(`xLabel_line_${n}`),
1698
1802
  style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1699
1803
  }, [
1700
- (r(!0), i(I, null, m(a.plots, (s, g) => (r(), i("g", {
1804
+ (r(!0), i(b, null, I(a.plots, (s, g) => (r(), i("g", {
1701
1805
  key: `xLabel_line_${n}_${g}`
1702
1806
  }, [
1703
1807
  s && g === 0 && a.showSerieName && a.showSerieName === "start" ? (r(), i("text", {
@@ -1715,7 +1819,7 @@ function Ya(l, o, c, b, t, e) {
1715
1819
  y: s.y,
1716
1820
  maxWords: 2
1717
1821
  })
1718
- }, null, 8, ua)) : h("", !0),
1822
+ }, null, 8, Na)) : c("", !0),
1719
1823
  s && g === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (r(), i("text", {
1720
1824
  key: 1,
1721
1825
  x: s.x + t.fontSizes.plotLabels,
@@ -1731,15 +1835,15 @@ function Ya(l, o, c, b, t, e) {
1731
1835
  y: s.y,
1732
1836
  maxWords: 2
1733
1837
  })
1734
- }, null, 8, da)) : h("", !0)
1838
+ }, null, 8, _a)) : c("", !0)
1735
1839
  ]))), 128))
1736
1840
  ], 6))), 128)),
1737
- (r(!0), i(I, null, m(e.plotSet, (a, n) => (r(), i("g", {
1841
+ (r(!0), i(b, null, I(e.plotSet, (a, n) => (r(), i("g", {
1738
1842
  key: `xLabel_plot_${n}`,
1739
1843
  class: T(`xLabel_plot_${n}`),
1740
1844
  style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1741
1845
  }, [
1742
- (r(!0), i(I, null, m(a.plots, (s, g) => (r(), i("g", {
1846
+ (r(!0), i(b, null, I(a.plots, (s, g) => (r(), i("g", {
1743
1847
  key: `xLabel_plot_${n}_${g}`
1744
1848
  }, [
1745
1849
  s && g === 0 && a.showSerieName && a.showSerieName === "start" ? (r(), i("text", {
@@ -1757,7 +1861,7 @@ function Ya(l, o, c, b, t, e) {
1757
1861
  y: s.y,
1758
1862
  maxWords: 2
1759
1863
  })
1760
- }, null, 8, ga)) : h("", !0),
1864
+ }, null, 8, xa)) : c("", !0),
1761
1865
  s && g === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (r(), i("text", {
1762
1866
  key: 1,
1763
1867
  x: s.x + t.fontSizes.plotLabels,
@@ -1773,91 +1877,10 @@ function Ya(l, o, c, b, t, e) {
1773
1877
  y: s.y,
1774
1878
  maxWords: 2
1775
1879
  })
1776
- }, null, 8, fa)) : h("", !0)
1880
+ }, null, 8, Fa)) : c("", !0)
1777
1881
  ]))), 128))
1778
1882
  ], 6))), 128)),
1779
- e.FINAL_CONFIG.chart.grid.labels.show ? (r(), i("g", ba, [
1780
- t.mutableConfig.useIndividualScale ? (r(), i(I, { key: 0 }, [
1781
- (r(!0), i(I, null, m(e.allScales, (a) => (r(), i("g", null, [
1782
- d("line", {
1783
- x1: a.x,
1784
- x2: a.x,
1785
- y1: t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset - a.individualHeight : e.drawingArea.top,
1786
- y2: t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset : e.drawingArea.bottom,
1787
- stroke: a.color,
1788
- "stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
1789
- "stroke-linecap": "round",
1790
- style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1791
- }, null, 12, Ia)
1792
- ]))), 256)),
1793
- (r(!0), i(I, null, m(e.allScales, (a) => (r(), i("g", {
1794
- style: L(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1795
- }, [
1796
- d("text", {
1797
- fill: a.color,
1798
- "font-size": t.fontSizes.dataLabels,
1799
- "text-anchor": "middle",
1800
- transform: `translate(${a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5}, ${t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset - a.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
1801
- }, C(a.name) + " " + C(a.scaleLabel ? `- ${a.scaleLabel}` : ""), 9, ma),
1802
- (r(!0), i(I, null, m(a.yLabels, (n, s) => (r(), i("line", {
1803
- x1: a.x - 3,
1804
- x2: a.x,
1805
- y1: n.y,
1806
- y2: n.y,
1807
- stroke: a.color,
1808
- "stroke-width": 1,
1809
- "stroke-linecap": "round"
1810
- }, null, 8, Na))), 256)),
1811
- (r(!0), i(I, null, m(a.yLabels, (n, s) => (r(), i("text", {
1812
- x: a.x - 5,
1813
- y: n.y,
1814
- "font-size": t.fontSizes.dataLabels,
1815
- "text-anchor": "end",
1816
- fill: a.color
1817
- }, C(e.applyDataLabel(
1818
- e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1819
- n.value,
1820
- e.dataLabel({
1821
- p: e.FINAL_CONFIG.chart.labels.prefix,
1822
- v: n.value,
1823
- s: e.FINAL_CONFIG.chart.labels.suffix,
1824
- r: 1
1825
- })
1826
- )), 9, _a))), 256))
1827
- ], 4))), 256))
1828
- ], 64)) : (r(!0), i(I, { key: 1 }, m(e.yLabels, (a, n) => (r(), i("g", {
1829
- key: `yLabel_${n}`
1830
- }, [
1831
- e.canShowValue(a) && a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (r(), i("line", {
1832
- key: 0,
1833
- x1: e.drawingArea.left,
1834
- x2: e.drawingArea.left - 5,
1835
- y1: a.y,
1836
- y2: a.y,
1837
- stroke: e.FINAL_CONFIG.chart.grid.stroke,
1838
- "stroke-width": "1",
1839
- "stroke-linecap": "round"
1840
- }, null, 8, Fa)) : h("", !0),
1841
- a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (r(), i("text", {
1842
- key: 1,
1843
- x: e.drawingArea.left - 7,
1844
- y: a.y + t.fontSizes.dataLabels / 3,
1845
- "font-size": t.fontSizes.dataLabels,
1846
- "text-anchor": "end",
1847
- fill: e.FINAL_CONFIG.chart.grid.labels.color
1848
- }, C(e.canShowValue(a.value) ? e.applyDataLabel(
1849
- e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1850
- a.value,
1851
- e.dataLabel({
1852
- p: e.FINAL_CONFIG.chart.labels.prefix,
1853
- v: a.value,
1854
- s: e.FINAL_CONFIG.chart.labels.suffix,
1855
- r: 1
1856
- })
1857
- ) : ""), 9, xa)) : h("", !0)
1858
- ]))), 128))
1859
- ])) : h("", !0),
1860
- t.mutableConfig.useIndividualScale && !t.mutableConfig.isStacked ? (r(!0), i(I, { key: 7 }, m(e.allScales, (a) => (r(), i("rect", {
1883
+ t.mutableConfig.useIndividualScale && !t.mutableConfig.isStacked ? (r(!0), i(b, { key: 7 }, I(e.allScales, (a) => (r(), i("rect", {
1861
1884
  x: a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
1862
1885
  y: e.drawingArea.top,
1863
1886
  width: e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
@@ -1865,8 +1888,8 @@ function Ya(l, o, c, b, t, e) {
1865
1888
  fill: t.selectedScale === a.id ? `${a.color}20` : "transparent",
1866
1889
  onMouseenter: (n) => t.selectedScale = a.id,
1867
1890
  onMouseleave: o[0] || (o[0] = (n) => t.selectedScale = null)
1868
- }, null, 40, ya))), 256)) : h("", !0),
1869
- d("g", null, [
1891
+ }, null, 40, ya))), 256)) : c("", !0),
1892
+ u("g", null, [
1870
1893
  e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !t.mutableConfig.useIndividualScale ? (r(), i("text", {
1871
1894
  key: 0,
1872
1895
  "font-size": t.fontSizes.yAxis,
@@ -1874,7 +1897,7 @@ function Ya(l, o, c, b, t, e) {
1874
1897
  transform: `translate(${t.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
1875
1898
  "text-anchor": "middle",
1876
1899
  style: { transition: "none" }
1877
- }, C(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, Aa)) : h("", !0),
1900
+ }, C(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, Aa)) : c("", !0),
1878
1901
  e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (r(), i("text", {
1879
1902
  key: 1,
1880
1903
  "text-anchor": "middle",
@@ -1882,10 +1905,10 @@ function Ya(l, o, c, b, t, e) {
1882
1905
  y: e.drawingArea.bottom + t.fontSizes.yAxis + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
1883
1906
  "font-size": t.fontSizes.yAxis,
1884
1907
  fill: e.FINAL_CONFIG.chart.grid.labels.color
1885
- }, C(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, La)) : h("", !0)
1908
+ }, C(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, La)) : c("", !0)
1886
1909
  ]),
1887
1910
  e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (r(), i("g", Sa, [
1888
- (r(!0), i(I, null, m(e.timeLabels, (a, n) => (r(), i("g", {
1911
+ (r(!0), i(b, null, I(e.timeLabels, (a, n) => (r(), i("g", {
1889
1912
  key: `time_label_${n}`
1890
1913
  }, [
1891
1914
  a && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (n === 0 || n === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && t.selectedSerieIndex === n && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && n % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (r(), i("text", {
@@ -1894,14 +1917,14 @@ function Ya(l, o, c, b, t, e) {
1894
1917
  "font-size": t.fontSizes.xAxis,
1895
1918
  fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
1896
1919
  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})`
1897
- }, C(a || ""), 9, Ca)) : h("", !0)
1920
+ }, C(a || ""), 9, Ca)) : c("", !0)
1898
1921
  ]))), 128))
1899
- ])) : h("", !0),
1900
- d("g", null, [
1901
- (r(!0), i(I, null, m(e.maxSeries, (a, n) => (r(), i("g", {
1922
+ ])) : c("", !0),
1923
+ u("g", null, [
1924
+ (r(!0), i(b, null, I(e.maxSeries, (a, n) => (r(), i("g", {
1902
1925
  key: `tooltip_trap_${n}`
1903
1926
  }, [
1904
- d("rect", {
1927
+ u("rect", {
1905
1928
  "data-cy-trap": "",
1906
1929
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * n,
1907
1930
  y: e.drawingArea.top,
@@ -1915,7 +1938,7 @@ function Ya(l, o, c, b, t, e) {
1915
1938
  ]))), 128))
1916
1939
  ]),
1917
1940
  e.FINAL_CONFIG.chart.highlighter.useLine && ![null, void 0].includes(t.selectedSerieIndex) ? (r(), i("g", wa, [
1918
- d("line", {
1941
+ u("line", {
1919
1942
  x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * t.selectedSerieIndex + e.drawingArea.width / e.maxSeries / 2,
1920
1943
  x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * t.selectedSerieIndex + e.drawingArea.width / e.maxSeries / 2,
1921
1944
  y1: e.drawingArea.top,
@@ -1926,7 +1949,7 @@ function Ya(l, o, c, b, t, e) {
1926
1949
  "stroke-linecap": "round",
1927
1950
  style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
1928
1951
  }, null, 8, Oa)
1929
- ])) : h("", !0),
1952
+ ])) : c("", !0),
1930
1953
  e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(t.selectedSerieIndex) ? (r(), i("g", va, [
1931
1954
  (r(), i("foreignObject", {
1932
1955
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * t.selectedSerieIndex - 100 + e.drawingArea.width / e.maxSeries / 2,
@@ -1935,25 +1958,25 @@ function Ya(l, o, c, b, t, e) {
1935
1958
  height: "40",
1936
1959
  style: { overflow: "visible !important" }
1937
1960
  }, [
1938
- d("div", {
1961
+ u("div", {
1939
1962
  class: "vue-ui-xy-time-tag",
1940
1963
  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`)
1941
1964
  }, C(e.timeLabels[t.selectedSerieIndex] || t.selectedSerieIndex), 5)
1942
1965
  ], 8, Ga)),
1943
- d("circle", {
1966
+ u("circle", {
1944
1967
  cx: e.drawingArea.left + e.drawingArea.width / e.maxSeries * t.selectedSerieIndex + e.drawingArea.width / e.maxSeries / 2,
1945
1968
  cy: e.drawingArea.bottom,
1946
1969
  r: e.FINAL_CONFIG.chart.timeTag.circleMarker.radius,
1947
1970
  fill: e.FINAL_CONFIG.chart.timeTag.circleMarker.color
1948
1971
  }, null, 8, za)
1949
- ])) : h("", !0)
1950
- ])) : h("", !0),
1972
+ ])) : c("", !0)
1973
+ ])) : c("", !0),
1951
1974
  v(l.$slots, "svg", { svg: e.svg }, void 0, !0)
1952
- ], 14, Ee)) : h("", !0),
1975
+ ], 14, Ye)) : c("", !0),
1953
1976
  l.$slots.watermark ? (r(), i("div", pa, [
1954
- v(l.$slots, "watermark", Y(W({ isPrinting: t.isPrinting || t.isImaging })), void 0, !0)
1955
- ])) : h("", !0),
1956
- e.isDataset ? h("", !0) : (r(), V(F, {
1977
+ 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, {
1957
1980
  key: 4,
1958
1981
  config: {
1959
1982
  type: "line",
@@ -1994,23 +2017,23 @@ function Ya(l, o, c, b, t, e) {
1994
2017
  onReset: e.refreshSlicer
1995
2018
  }, {
1996
2019
  "reset-action": z(({ reset: a }) => [
1997
- v(l.$slots, "reset-action", Y(W({ reset: a })), void 0, !0)
2020
+ v(l.$slots, "reset-action", W(B({ reset: a })), void 0, !0)
1998
2021
  ]),
1999
2022
  _: 3
2000
- }, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "max", "valueStart", "valueEnd", "start", "end", "onReset"])) : h("", !0),
2023
+ }, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "max", "valueStart", "valueEnd", "start", "end", "onReset"])) : c("", !0),
2001
2024
  e.FINAL_CONFIG.chart.legend.show ? (r(), i("div", {
2002
2025
  key: 6,
2003
2026
  ref: "chartLegend",
2004
2027
  class: "vue-ui-xy-legend",
2005
2028
  style: L(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
2006
2029
  }, [
2007
- (r(!0), i(I, null, m(e.absoluteDataset, (a, n) => (r(), i("div", {
2030
+ (r(!0), i(b, null, I(e.absoluteDataset, (a, n) => (r(), i("div", {
2008
2031
  key: `div_legend_item_${n}`,
2009
2032
  onClick: (s) => e.segregate(a),
2010
2033
  class: T({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": t.segregatedSeries.includes(a.id) })
2011
2034
  }, [
2012
2035
  t.icons[a.type] === "line" ? (r(), i("svg", Ma, [
2013
- d("rect", {
2036
+ u("rect", {
2014
2037
  x: "0",
2015
2038
  y: "7",
2016
2039
  rx: "3",
@@ -2019,7 +2042,7 @@ function Ya(l, o, c, b, t, e) {
2019
2042
  width: "20",
2020
2043
  fill: a.color
2021
2044
  }, null, 8, Pa),
2022
- E(f, {
2045
+ Y(f, {
2023
2046
  plot: { x: 10, y: 9 },
2024
2047
  radius: 4,
2025
2048
  color: a.color,
@@ -2045,14 +2068,14 @@ function Ya(l, o, c, b, t, e) {
2045
2068
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle"
2046
2069
  }, null, 8, ["color", "shape"]))
2047
2070
  ])),
2048
- d("span", {
2071
+ u("span", {
2049
2072
  style: L(`color:${e.FINAL_CONFIG.chart.legend.color}`)
2050
2073
  }, C(a.name), 5)
2051
2074
  ], 10, Ta))), 128))
2052
2075
  ], 4)) : (r(), i("div", Da, [
2053
2076
  v(l.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
2054
2077
  ], 512)),
2055
- E(k, {
2078
+ Y(k, {
2056
2079
  show: t.mutableConfig.showTooltip && t.isTooltip,
2057
2080
  backgroundColor: e.FINAL_CONFIG.chart.tooltip.backgroundColor,
2058
2081
  color: e.FINAL_CONFIG.chart.tooltip.color,
@@ -2068,10 +2091,10 @@ function Ya(l, o, c, b, t, e) {
2068
2091
  isCustom: e.FINAL_CONFIG.chart.tooltip.customFormat && typeof e.FINAL_CONFIG.chart.tooltip.customFormat == "function"
2069
2092
  }, {
2070
2093
  "tooltip-before": z(() => [
2071
- v(l.$slots, "tooltip-before", Y(W({ ...e.dataTooltipSlot })), void 0, !0)
2094
+ v(l.$slots, "tooltip-before", W(B({ ...e.dataTooltipSlot })), void 0, !0)
2072
2095
  ]),
2073
2096
  "tooltip-after": z(() => [
2074
- v(l.$slots, "tooltip-after", Y(W({ ...e.dataTooltipSlot })), void 0, !0)
2097
+ v(l.$slots, "tooltip-after", W(B({ ...e.dataTooltipSlot })), void 0, !0)
2075
2098
  ]),
2076
2099
  _: 3
2077
2100
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
@@ -2092,21 +2115,21 @@ function Ya(l, o, c, b, t, e) {
2092
2115
  }
2093
2116
  }, {
2094
2117
  content: z(() => [
2095
- d("div", {
2118
+ u("div", {
2096
2119
  style: L(`${t.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2097
2120
  }, [
2098
- d("div", Ha, [
2099
- Ve(d("input", {
2121
+ u("div", Ea, [
2122
+ Ve(u("input", {
2100
2123
  type: "checkbox",
2101
2124
  "onUpdate:modelValue": o[4] || (o[4] = (a) => t.showSparklineTable = a)
2102
2125
  }, null, 512), [
2103
2126
  [Re, t.showSparklineTable]
2104
2127
  ]),
2105
- d("div", {
2128
+ u("div", {
2106
2129
  onClick: o[5] || (o[5] = (a) => t.showSparklineTable = !t.showSparklineTable),
2107
2130
  style: { cursor: "pointer" }
2108
2131
  }, [
2109
- E(w, {
2132
+ Y(w, {
2110
2133
  name: "chartLine",
2111
2134
  size: 20,
2112
2135
  stroke: e.FINAL_CONFIG.chart.color
@@ -2127,7 +2150,7 @@ function Ya(l, o, c, b, t, e) {
2127
2150
  onClose: o[6] || (o[6] = (a) => t.mutableConfig.showTable = !1)
2128
2151
  }, {
2129
2152
  th: z(({ th: a }) => [
2130
- d("div", { innerHTML: a }, null, 8, Ba)
2153
+ u("div", { innerHTML: a }, null, 8, Ha)
2131
2154
  ]),
2132
2155
  td: z(({ td: a }) => [
2133
2156
  De(C(isNaN(Number(a)) ? a : e.dataLabel({
@@ -2142,10 +2165,10 @@ function Ya(l, o, c, b, t, e) {
2142
2165
  ], 4)
2143
2166
  ]),
2144
2167
  _: 1
2145
- }, 8, ["config"])) : h("", !0)
2146
- ], 14, We);
2168
+ }, 8, ["config"])) : c("", !0)
2169
+ ], 14, Be);
2147
2170
  }
2148
- const rl = /* @__PURE__ */ He(Ye, [["render", Ya], ["__scopeId", "data-v-6a1d72ac"]]);
2171
+ const rl = /* @__PURE__ */ Ee(We, [["render", Wa], ["__scopeId", "data-v-58a339d5"]]);
2149
2172
  export {
2150
2173
  rl as default
2151
2174
  };