vue-data-ui 2.6.34 → 2.6.35

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 (159) hide show
  1. package/dist/{Arrow-CMEpnHJk.cjs → Arrow-DY4Y3Znd.cjs} +1 -1
  2. package/dist/{Arrow-CTKfItAz.js → Arrow-D_ynXsTa.js} +1 -1
  3. package/dist/{BaseIcon-CualbCzD.cjs → BaseIcon-6LsMRYRb.cjs} +1 -1
  4. package/dist/{BaseIcon-U6sA3acm.js → BaseIcon-WAXP3JMF.js} +1 -1
  5. package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-B14szPRR.cjs → ColorPicker-01KuD_Md.cjs} +1 -1
  6. package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-DB34poDU.js → ColorPicker-CvsmsC5D.js} +3 -3
  7. package/dist/{DataTable-Cet65ROb.js → DataTable-BOGSvP5-.js} +2 -2
  8. package/dist/{DataTable-BUm2bH73.cjs → DataTable-CBDNutfc.cjs} +1 -1
  9. package/dist/{Legend-G5jL0_rX.js → Legend-DYipG-b3.js} +2 -2
  10. package/dist/{Legend-C6uocVOl.cjs → Legend-DkO5vYau.cjs} +1 -1
  11. package/dist/{PackageVersion-CDYaUoXM.js → PackageVersion-BAGT8x6y.js} +1 -1
  12. package/dist/{PackageVersion-Cf-xdR3L.cjs → PackageVersion-hOtn8va8.cjs} +1 -1
  13. package/dist/PenAndPaper-CQ-EdO1i.cjs +1 -0
  14. package/dist/{PenAndPaper-TmkkuGUA.js → PenAndPaper-DiAwciGZ.js} +3 -3
  15. package/dist/{Shape-BBvkk24G.js → Shape-C9XlergR.js} +1 -1
  16. package/dist/{Shape-BJEn7JZp.cjs → Shape-D4yyy-4X.cjs} +1 -1
  17. package/dist/{Slicer-TodWp-ep.cjs → Slicer-Zpek_h4a.cjs} +1 -1
  18. package/dist/{Slicer-Dx_fwhGD.js → Slicer-tRfUE8yg.js} +2 -2
  19. package/dist/{Title-KaNdyZTH.js → Title-CL-wJ9JD.js} +1 -1
  20. package/dist/{Title-Bc6ZFfJm.cjs → Title-DqsO0Ipj.cjs} +1 -1
  21. package/dist/{Tooltip-_RSTEXv2.js → Tooltip-BFQr1PRo.js} +1 -1
  22. package/dist/{Tooltip-NxSon5Pe.cjs → Tooltip-BLMWJhhK.cjs} +1 -1
  23. package/dist/index-BAIJ-Bwp.cjs +9 -0
  24. package/dist/{index-CpYyMEXP.js → index-C3RvlHsZ.js} +39 -17
  25. package/dist/style.css +1 -1
  26. package/dist/types/vue-data-ui.d.cts +10 -0
  27. package/dist/types/vue-data-ui.d.ts +10 -0
  28. package/dist/{useNestedProp-lBuAr7aL.js → useNestedProp-BtOzumux.js} +1 -1
  29. package/dist/{useNestedProp-DW-BafGy.cjs → useNestedProp-C2lYzx8-.cjs} +1 -1
  30. package/dist/{usePrinter-ByQ2nM16.cjs → usePrinter-CrCLuTAu.cjs} +1 -1
  31. package/dist/{usePrinter-CN3LJYGM.js → usePrinter-K69JUYus.js} +1 -1
  32. package/dist/{vue-data-ui-YHcDJCzz.cjs → vue-data-ui-CizHApOs.cjs} +1 -1
  33. package/dist/{vue-data-ui-bphu02kN.js → vue-data-ui-CrdwwaLp.js} +61 -61
  34. package/dist/vue-data-ui.cjs +1 -1
  35. package/dist/vue-data-ui.js +1 -1
  36. package/dist/{vue-ui-3d-bar-7tpyg6Ms.cjs → vue-ui-3d-bar-CP01dLZj.cjs} +1 -1
  37. package/dist/{vue-ui-3d-bar-BouzqFZ-.js → vue-ui-3d-bar-DQQFY2ey.js} +9 -9
  38. package/dist/{vue-ui-accordion-B_ltQN1F.js → vue-ui-accordion-5EwxZ6vm.js} +3 -3
  39. package/dist/{vue-ui-accordion-cKYUwWu1.cjs → vue-ui-accordion-A2FE5Ato.cjs} +1 -1
  40. package/dist/{vue-ui-age-pyramid-Z-yjGwQO.js → vue-ui-age-pyramid-DmG98y06.js} +10 -10
  41. package/dist/{vue-ui-age-pyramid-DTpvUn3m.cjs → vue-ui-age-pyramid-XBUDRbob.cjs} +1 -1
  42. package/dist/{vue-ui-annotator-C4O_3MI7.js → vue-ui-annotator-C5hk8PZA.js} +1 -1
  43. package/dist/{vue-ui-annotator-BxAtclpd.cjs → vue-ui-annotator-CtdFCE5-.cjs} +1 -1
  44. package/dist/{vue-ui-bullet-DvFadxAQ.js → vue-ui-bullet-CSfEBhE0.js} +8 -8
  45. package/dist/{vue-ui-bullet-IhsWc_yI.cjs → vue-ui-bullet-CeotH5y9.cjs} +1 -1
  46. package/dist/{vue-ui-candlestick-BER2sP6f.cjs → vue-ui-candlestick-9equXj90.cjs} +1 -1
  47. package/dist/{vue-ui-candlestick-3XTZCuqk.js → vue-ui-candlestick-CdFnVWGU.js} +11 -11
  48. package/dist/{vue-ui-carousel-table-uuel0IlO.js → vue-ui-carousel-table-BP7H6TjL.js} +4 -4
  49. package/dist/{vue-ui-carousel-table-9dnrtvBi.cjs → vue-ui-carousel-table-CgoYKRYs.cjs} +1 -1
  50. package/dist/{vue-ui-chestnut-6Y7Rm6sD.cjs → vue-ui-chestnut-CpnfJL5E.cjs} +1 -1
  51. package/dist/{vue-ui-chestnut-Don1FFT2.js → vue-ui-chestnut-DV_ARMpF.js} +8 -8
  52. package/dist/{vue-ui-circle-pack-C6E6PHrM.js → vue-ui-circle-pack-BIUtg1qv.js} +9 -9
  53. package/dist/{vue-ui-circle-pack-CldijC6k.cjs → vue-ui-circle-pack-G0i4dlBe.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-B4ZiM-6T.cjs → vue-ui-cursor-BetnONNj.cjs} +1 -1
  55. package/dist/{vue-ui-cursor-r0jjn20E.js → vue-ui-cursor-C23X8MwO.js} +2 -2
  56. package/dist/{vue-ui-dashboard-Cf9C0Ks_.js → vue-ui-dashboard-DuAhwMof.js} +2 -2
  57. package/dist/{vue-ui-dashboard-Cm8z1g1x.cjs → vue-ui-dashboard-DxXM3xgb.cjs} +1 -1
  58. package/dist/{vue-ui-digits-DbGWIsKg.cjs → vue-ui-digits-Bo9qpnzn.cjs} +1 -1
  59. package/dist/{vue-ui-digits-D0GfdIvn.js → vue-ui-digits-CMwWxLts.js} +2 -2
  60. package/dist/{vue-ui-donut-CMHBXfgy.cjs → vue-ui-donut-DWOnUiRH.cjs} +1 -1
  61. package/dist/{vue-ui-donut-DFGOICow.js → vue-ui-donut-TStgfQ16.js} +12 -12
  62. package/dist/{vue-ui-donut-evolution-NxJsCFFm.cjs → vue-ui-donut-evolution-DQYbbiYf.cjs} +1 -1
  63. package/dist/{vue-ui-donut-evolution-KedJhwq1.js → vue-ui-donut-evolution-_AjIBiso.js} +11 -11
  64. package/dist/{vue-ui-dumbbell-DhZaeVib.js → vue-ui-dumbbell-BWr4SW0d.js} +10 -10
  65. package/dist/{vue-ui-dumbbell-CzFdAy2C.cjs → vue-ui-dumbbell-DATkdaw-.cjs} +1 -1
  66. package/dist/{vue-ui-flow-BvnqZssM.js → vue-ui-flow-BrrmCZL1.js} +9 -9
  67. package/dist/{vue-ui-flow-DX47jzql.cjs → vue-ui-flow-UZBLSbKP.cjs} +1 -1
  68. package/dist/{vue-ui-funnel-DmOWVm2O.js → vue-ui-funnel-BHZ4AT16.js} +9 -9
  69. package/dist/{vue-ui-funnel-C6G8Bh6B.cjs → vue-ui-funnel-DSqmUdtV.cjs} +1 -1
  70. package/dist/{vue-ui-galaxy-_UQo1bBj.js → vue-ui-galaxy-0OiW8sEH.js} +11 -11
  71. package/dist/{vue-ui-galaxy-B7fUw4LJ.cjs → vue-ui-galaxy-BvjOq6i9.cjs} +1 -1
  72. package/dist/{vue-ui-gauge-DIoZDiVG.js → vue-ui-gauge-BmMIODwp.js} +7 -7
  73. package/dist/{vue-ui-gauge-BW3f_8nu.cjs → vue-ui-gauge-pk9f1HZZ.cjs} +1 -1
  74. package/dist/{vue-ui-gizmo-epvwj5K_.cjs → vue-ui-gizmo-CLbR-3tk.cjs} +1 -1
  75. package/dist/{vue-ui-gizmo-C-U61MNQ.js → vue-ui-gizmo-DXwKDWbm.js} +3 -3
  76. package/dist/{vue-ui-heatmap-D-kGbOfu.js → vue-ui-heatmap-BDPGjX-T.js} +10 -10
  77. package/dist/{vue-ui-heatmap-1FYDlrki.cjs → vue-ui-heatmap-CMn4Mmfn.cjs} +1 -1
  78. package/dist/{vue-ui-history-plot-DBO0y_JU.js → vue-ui-history-plot-CtnCfdh1.js} +11 -11
  79. package/dist/{vue-ui-history-plot-BCiXdi7v.cjs → vue-ui-history-plot-yLfPBWug.cjs} +1 -1
  80. package/dist/{vue-ui-kpi-Cl5jA8KA.js → vue-ui-kpi-DEHXOpna.js} +3 -3
  81. package/dist/{vue-ui-kpi-BXVGd4iF.cjs → vue-ui-kpi-DgAx6h7W.cjs} +1 -1
  82. package/dist/{vue-ui-mini-loader-CC7sDJ2d.js → vue-ui-mini-loader-1RdxhJbS.js} +2 -2
  83. package/dist/{vue-ui-mini-loader-BgpHllqw.cjs → vue-ui-mini-loader-DZb91ptU.cjs} +1 -1
  84. package/dist/{vue-ui-molecule-BtbSrzek.js → vue-ui-molecule-B2cnuwzS.js} +10 -10
  85. package/dist/{vue-ui-molecule-DKovS5fY.cjs → vue-ui-molecule-DKXbW0fk.cjs} +1 -1
  86. package/dist/{vue-ui-mood-radar-D1OfNJ4s.js → vue-ui-mood-radar-BWJ8usCh.js} +11 -11
  87. package/dist/{vue-ui-mood-radar-DvTIfOKV.cjs → vue-ui-mood-radar-CW1abfGk.cjs} +1 -1
  88. package/dist/{vue-ui-nested-donuts-BHKGhT6n.js → vue-ui-nested-donuts-Mk5gkC3N.js} +11 -11
  89. package/dist/{vue-ui-nested-donuts-CtOkH0Hg.cjs → vue-ui-nested-donuts-WD3rqtQZ.cjs} +1 -1
  90. package/dist/{vue-ui-onion-BIgOrbQ-.cjs → vue-ui-onion-CbTiNfEA.cjs} +1 -1
  91. package/dist/{vue-ui-onion-C3eKVX9G.js → vue-ui-onion-D71IEO2k.js} +11 -11
  92. package/dist/{vue-ui-parallel-coordinate-plot-D5MVyFh2.cjs → vue-ui-parallel-coordinate-plot-Bp_7voLV.cjs} +1 -1
  93. package/dist/{vue-ui-parallel-coordinate-plot---ZpnMe1.js → vue-ui-parallel-coordinate-plot-DF6GpboC.js} +12 -12
  94. package/dist/{vue-ui-quadrant-qW4BfKwA.cjs → vue-ui-quadrant-CKwiEzR-.cjs} +1 -1
  95. package/dist/{vue-ui-quadrant-Y5ew2oHQ.js → vue-ui-quadrant-CgJsVCX9.js} +12 -12
  96. package/dist/{vue-ui-quick-chart-BWmQpISe.cjs → vue-ui-quick-chart-myc-iQmq.cjs} +1 -1
  97. package/dist/{vue-ui-quick-chart-DE980OX7.js → vue-ui-quick-chart-t3wkcB1S.js} +9 -9
  98. package/dist/{vue-ui-radar-DjU8iJyd.cjs → vue-ui-radar-V6irejlj.cjs} +1 -1
  99. package/dist/{vue-ui-radar-mGpwEVoU.js → vue-ui-radar-r3QN-BmS.js} +12 -12
  100. package/dist/{vue-ui-rating-BwcABOB0.js → vue-ui-rating-BHnckQSH.js} +2 -2
  101. package/dist/{vue-ui-rating-D81wmvXD.cjs → vue-ui-rating-CWGSRI7d.cjs} +1 -1
  102. package/dist/{vue-ui-relation-circle-B9ETNDdN.js → vue-ui-relation-circle-BrCMlVtv.js} +7 -7
  103. package/dist/{vue-ui-relation-circle-DAVR7xha.cjs → vue-ui-relation-circle-Vj3O-2qa.cjs} +1 -1
  104. package/dist/{vue-ui-rings-C0Oj-x00.cjs → vue-ui-rings-2wx9HPDS.cjs} +1 -1
  105. package/dist/{vue-ui-rings-B3IUlzQM.js → vue-ui-rings-x7dqyLCG.js} +12 -12
  106. package/dist/{vue-ui-scatter-DbSe_3YM.js → vue-ui-scatter-C3tZSTjD.js} +12 -12
  107. package/dist/{vue-ui-scatter-Cqiq2oqG.cjs → vue-ui-scatter-DMkgKo1K.cjs} +1 -1
  108. package/dist/{vue-ui-screenshot-B9yr_Q8w.cjs → vue-ui-screenshot-DKbsMC6s.cjs} +1 -1
  109. package/dist/{vue-ui-screenshot-Dj2ufZqP.js → vue-ui-screenshot-_zUz3d8D.js} +1 -1
  110. package/dist/{vue-ui-skeleton-s5jsRMt_.cjs → vue-ui-skeleton-By5YO7j7.cjs} +1 -1
  111. package/dist/{vue-ui-skeleton-Oq3E8Fka.js → vue-ui-skeleton-Cz142HVr.js} +3 -3
  112. package/dist/{vue-ui-smiley-CwvFF1sH.cjs → vue-ui-smiley-7fOWEMdx.cjs} +1 -1
  113. package/dist/{vue-ui-smiley-BXTavTGD.js → vue-ui-smiley-vdNFoQwV.js} +2 -2
  114. package/dist/{vue-ui-spark-trend-EYGXY3K6.js → vue-ui-spark-trend-CJoYts8s.js} +5 -5
  115. package/dist/{vue-ui-spark-trend-DkaTDNGH.cjs → vue-ui-spark-trend-Dz8oDyje.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-CGGhVLLN.cjs → vue-ui-sparkbar-Btnkjhdi.cjs} +1 -1
  117. package/dist/{vue-ui-sparkbar-oUGaWrVL.js → vue-ui-sparkbar-DwfzDcna.js} +4 -4
  118. package/dist/{vue-ui-sparkgauge-C1L-Re-K.js → vue-ui-sparkgauge-D2JVyM2b.js} +4 -4
  119. package/dist/{vue-ui-sparkgauge-DGgdECXI.cjs → vue-ui-sparkgauge-DcjwPim7.cjs} +1 -1
  120. package/dist/{vue-ui-sparkhistogram-N-KUUlu-.js → vue-ui-sparkhistogram-3-C7fKol.js} +5 -5
  121. package/dist/{vue-ui-sparkhistogram-DaRY8EV_.cjs → vue-ui-sparkhistogram-5GrnaH_z.cjs} +1 -1
  122. package/dist/{vue-ui-sparkline-XqQL7w01.js → vue-ui-sparkline-B14ncv-o.js} +4 -4
  123. package/dist/{vue-ui-sparkline-DWr7oKX_.cjs → vue-ui-sparkline-pzy8ldDC.cjs} +1 -1
  124. package/dist/{vue-ui-sparkstackbar-BuNOHaDG.js → vue-ui-sparkstackbar-CfZbtOt1.js} +5 -5
  125. package/dist/{vue-ui-sparkstackbar-B9PUi1ZP.cjs → vue-ui-sparkstackbar-DAXcYCtz.cjs} +1 -1
  126. package/dist/{vue-ui-stackbar-CPOYNwAn.cjs → vue-ui-stackbar-DFYbu9cO.cjs} +1 -1
  127. package/dist/{vue-ui-stackbar-DsUPQZTU.js → vue-ui-stackbar-DKULO7v0.js} +13 -13
  128. package/dist/{vue-ui-strip-plot-E6tKIy1q.cjs → vue-ui-strip-plot-7YGkKicW.cjs} +1 -1
  129. package/dist/{vue-ui-strip-plot-TtdHa_ti.js → vue-ui-strip-plot-CwbYwI_5.js} +11 -11
  130. package/dist/{vue-ui-table-BDNQf-eh.cjs → vue-ui-table-CnHIo3ad.cjs} +1 -1
  131. package/dist/{vue-ui-table-heatmap-BwSaMI5p.cjs → vue-ui-table-heatmap-BwZUpIIG.cjs} +1 -1
  132. package/dist/{vue-ui-table-heatmap-BcewsSph.js → vue-ui-table-heatmap-DCSnfXCY.js} +4 -4
  133. package/dist/{vue-ui-table-U0bpRHZi.js → vue-ui-table-nuvVL2RJ.js} +1 -1
  134. package/dist/{vue-ui-table-sparkline-Cr8FpMNC.js → vue-ui-table-sparkline-C2rr-OQ-.js} +5 -5
  135. package/dist/{vue-ui-table-sparkline-4fC6iYiJ.cjs → vue-ui-table-sparkline-ZZF17nq7.cjs} +1 -1
  136. package/dist/{vue-ui-thermometer-BoLOPpkd.cjs → vue-ui-thermometer-BHS5sbKF.cjs} +1 -1
  137. package/dist/{vue-ui-thermometer-C1f20qE7.js → vue-ui-thermometer-Bv2db7TG.js} +7 -7
  138. package/dist/{vue-ui-timer-BVlFcS3H.js → vue-ui-timer-B1IEmXw6.js} +5 -5
  139. package/dist/{vue-ui-timer-DJvh0V_O.cjs → vue-ui-timer-Dx8_p0EE.cjs} +1 -1
  140. package/dist/{vue-ui-tiremarks-BZNSIFGV.js → vue-ui-tiremarks-SMB141Mf.js} +7 -7
  141. package/dist/{vue-ui-tiremarks-Cy2tiFz-.cjs → vue-ui-tiremarks-tBfYKiUj.cjs} +1 -1
  142. package/dist/{vue-ui-treemap-0eKW6ykm.cjs → vue-ui-treemap-BJI4GG2K.cjs} +1 -1
  143. package/dist/{vue-ui-treemap-DWYu50Ug.js → vue-ui-treemap-CPc0v2VK.js} +11 -11
  144. package/dist/{vue-ui-vertical-bar-LXFp5r5I.cjs → vue-ui-vertical-bar-Dln-jvKW.cjs} +1 -1
  145. package/dist/{vue-ui-vertical-bar-Btq84vk8.js → vue-ui-vertical-bar-UbdRfqp-.js} +12 -12
  146. package/dist/{vue-ui-waffle-BEg9K5Cy.js → vue-ui-waffle-CncHUPIc.js} +12 -12
  147. package/dist/{vue-ui-waffle-COjrRzAu.cjs → vue-ui-waffle-DtGkjSH-.cjs} +1 -1
  148. package/dist/{vue-ui-wheel-CkLA7mG4.cjs → vue-ui-wheel-CTiT17bu.cjs} +1 -1
  149. package/dist/{vue-ui-wheel-2GlRucs9.js → vue-ui-wheel-DB9PUsGH.js} +7 -7
  150. package/dist/{vue-ui-word-cloud-CmJFFQj-.cjs → vue-ui-word-cloud-BZnuFPxo.cjs} +1 -1
  151. package/dist/{vue-ui-word-cloud-CFGwcWSh.js → vue-ui-word-cloud-J0ecdMyw.js} +10 -10
  152. package/dist/{vue-ui-xy-D_qwAaL2.js → vue-ui-xy-CUPCfIR0.js} +1200 -872
  153. package/dist/vue-ui-xy-Diodp6pC.cjs +3 -0
  154. package/dist/{vue-ui-xy-canvas-PbL7Oj-L.js → vue-ui-xy-canvas-BRvbGvJb.js} +16 -16
  155. package/dist/{vue-ui-xy-canvas-5ZpDbTqy.cjs → vue-ui-xy-canvas-DeBMq0za.cjs} +2 -2
  156. package/package.json +3 -3
  157. package/dist/PenAndPaper-D1EXjo5B.cjs +0 -1
  158. package/dist/index-BKVs-xif.cjs +0 -9
  159. package/dist/vue-ui-xy-CXaY0q1j.cjs +0 -3
@@ -1,20 +1,20 @@
1
- import { P as D, W as q, c as X, A as j, F as $, w as ee, s as te, o as le, _ as re, a6 as ie, x as ae, C as se, y as ne, a4 as ce, e as oe, r as he, f as U, a7 as ue, R as de, S as ge, q as fe, b as Ie, z as me, d as be, a8 as Ne, v as xe, a9 as Fe, a2 as _e, aa as Ae, i as ye, G as Le, L as Ce, u as Se, p as ke, B as we, a as Oe, t as Ge } from "./index-CpYyMEXP.js";
2
- import { D as ve } from "./DataTable-Cet65ROb.js";
3
- import { _ as pe } from "./Title-KaNdyZTH.js";
4
- import { u as ze, _ as Me } from "./Tooltip-_RSTEXv2.js";
5
- import { U as Te } from "./usePrinter-CN3LJYGM.js";
6
- import { _ as Pe } from "./Shape-BBvkk24G.js";
7
- import Ve from "./BaseIcon-U6sA3acm.js";
8
- import Re from "./vue-ui-table-sparkline-Cr8FpMNC.js";
9
- import De from "./vue-ui-skeleton-Oq3E8Fka.js";
10
- import { S as He } from "./Slicer-Dx_fwhGD.js";
11
- import We from "./vue-ui-accordion-B_ltQN1F.js";
12
- import { u as Z } from "./useNestedProp-lBuAr7aL.js";
13
- import { _ as Be } from "./PackageVersion-CDYaUoXM.js";
14
- import { P as Ee } from "./PenAndPaper-TmkkuGUA.js";
15
- import { resolveComponent as R, createElementBlock as s, openBlock as i, normalizeStyle as F, normalizeClass as W, createBlock as H, createCommentVNode as u, createVNode as Y, createSlots as Ye, withCtx as P, renderSlot as S, normalizeProps as B, guardReactiveProps as E, createElementVNode as d, createTextVNode as J, Fragment as g, renderList as m, toDisplayString as w, mergeProps as K, withDirectives as qe, vModelCheckbox as Xe } from "vue";
16
- import { _ as Ue } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- const Ze = X(), Je = {
1
+ import { P as H, W as q, a6 as j, c as X, A as $, F as ee, w as te, s as le, o as ae, _ as re, a7 as ie, x as se, C as ne, y as ce, a4 as oe, e as he, r as ue, f as U, a8 as de, R as ge, S as fe, q as Ie, b as me, z as Ne, d as xe, a9 as be, v as Fe, aa as _e, a2 as ye, ab as Ae, i as Le, G as Ce, L as Se, u as ke, p as we, B as Oe, a as Ge, t as ve } from "./index-C3RvlHsZ.js";
2
+ import { D as pe } from "./DataTable-BOGSvP5-.js";
3
+ import { _ as Me } from "./Title-CL-wJ9JD.js";
4
+ import { u as ze, _ as Te } from "./Tooltip-BFQr1PRo.js";
5
+ import { U as Pe } from "./usePrinter-K69JUYus.js";
6
+ import { _ as Ve } from "./Shape-C9XlergR.js";
7
+ import Re from "./BaseIcon-WAXP3JMF.js";
8
+ import He from "./vue-ui-table-sparkline-C2rr-OQ-.js";
9
+ import De from "./vue-ui-skeleton-Cz142HVr.js";
10
+ import { S as Be } from "./Slicer-tRfUE8yg.js";
11
+ import Ee from "./vue-ui-accordion-5EwxZ6vm.js";
12
+ import { u as Z } from "./useNestedProp-BtOzumux.js";
13
+ import { _ as We } from "./PackageVersion-BAGT8x6y.js";
14
+ import { P as Ye } from "./PenAndPaper-DiAwciGZ.js";
15
+ import { resolveComponent as R, createElementBlock as i, openBlock as r, normalizeStyle as x, normalizeClass as B, createBlock as D, createCommentVNode as h, createVNode as Y, createSlots as qe, withCtx as P, renderSlot as S, normalizeProps as E, guardReactiveProps as W, createElementVNode as f, createTextVNode as J, Fragment as g, renderList as I, toDisplayString as T, mergeProps as K, withDirectives as Xe, vModelCheckbox as Ue } from "vue";
16
+ import { _ as Ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
+ const Je = X(), Ke = {
18
18
  name: "vue-ui-xy",
19
19
  props: {
20
20
  config: {
@@ -31,42 +31,42 @@ const Ze = X(), Je = {
31
31
  }
32
32
  },
33
33
  components: {
34
- DataTable: ve,
35
- Shape: Pe,
36
- Title: pe,
37
- Tooltip: Me,
38
- UserOptions: Te,
39
- BaseIcon: Ve,
40
- TableSparkline: Re,
34
+ DataTable: pe,
35
+ Shape: Ve,
36
+ Title: Me,
37
+ Tooltip: Te,
38
+ UserOptions: Pe,
39
+ BaseIcon: Re,
40
+ TableSparkline: He,
41
41
  Skeleton: De,
42
- Slicer: He,
43
- Accordion: We,
44
- PackageVersion: Be,
45
- PenAndPaper: Ee
42
+ Slicer: Be,
43
+ Accordion: Ee,
44
+ PackageVersion: We,
45
+ PenAndPaper: Ye
46
46
  },
47
47
  data() {
48
- this.dataset.forEach((h, l) => {
49
- [null, void 0].includes(h.series) && this.error({
48
+ this.dataset.forEach((d, l) => {
49
+ [null, void 0].includes(d.series) && this.error({
50
50
  componentName: "VueUiXy",
51
51
  type: "datasetSerieAttribute",
52
52
  property: "series (number[])",
53
53
  index: l
54
54
  });
55
55
  });
56
- const t = this.config.downsample && this.config.downsample.threshold ? this.config.downsample.threshold : 500, a = Math.max(...this.dataset.map((h) => this.largestTriangleThreeBucketsArray({ data: h.series, threshold: t }).length)), o = {
56
+ const t = this.config.downsample && this.config.downsample.threshold ? this.config.downsample.threshold : 500, s = Math.max(...this.dataset.map((d) => this.largestTriangleThreeBucketsArray({ data: d.series, threshold: t }).length)), o = {
57
57
  start: 0,
58
- end: a
58
+ end: s
59
59
  };
60
60
  return {
61
- themePalettes: Ge,
62
- themes: Oe,
61
+ themePalettes: ve,
62
+ themes: Ge,
63
63
  slicerStep: 0,
64
64
  selectedScale: null,
65
65
  CTX: null,
66
66
  CANVAS: null,
67
- opacity: we,
67
+ opacity: Oe,
68
68
  useSafeValues: !0,
69
- palette: ke,
69
+ palette: we,
70
70
  height: 600,
71
71
  width: 1e3,
72
72
  viewBox: "0 0 1000 600",
@@ -106,10 +106,10 @@ const Ze = X(), Je = {
106
106
  titleStep: 0,
107
107
  slicer: o,
108
108
  __to__: null,
109
- maxX: a,
109
+ maxX: s,
110
110
  showSparklineTable: !0,
111
111
  segregateStep: 0,
112
- sliderId: Ze,
112
+ sliderId: Je,
113
113
  fontSizes: {
114
114
  xAxis: 18,
115
115
  yAxis: 12,
@@ -124,12 +124,13 @@ const Ze = X(), Je = {
124
124
  showUserOptionsOnChartHover: !1,
125
125
  keepUserOptionState: !0,
126
126
  userOptionsVisible: !0,
127
- svgRef: null
127
+ svgRef: null,
128
+ tagRefs: {}
128
129
  };
129
130
  },
130
131
  watch: {
131
132
  dataset: {
132
- handler(t, a) {
133
+ handler(t, s) {
133
134
  this.maxX = Math.max(...this.dataset.map((o) => this.largestTriangleThreeBucketsArray({
134
135
  data: o.series,
135
136
  threshold: this.FINAL_CONFIG.downsample.threshold
@@ -141,7 +142,7 @@ const Ze = X(), Je = {
141
142
  deep: !0
142
143
  },
143
144
  config: {
144
- handler(t, a) {
145
+ handler(t, s) {
145
146
  this.FINAL_CONFIG = this.prepareConfig(), this.prepareChart(), this.titleStep += 1, this.tableStep += 1, this.mutableConfig = {
146
147
  dataLabels: {
147
148
  show: !0
@@ -157,8 +158,8 @@ const Ze = X(), Je = {
157
158
  },
158
159
  computed: {
159
160
  chartAriaLabel() {
160
- const t = this.FINAL_CONFIG.chart.title.text || "Chart visualization", a = this.FINAL_CONFIG.chart.title.subtitle.text || "";
161
- return `${t}. ${a}`;
161
+ const t = this.FINAL_CONFIG.chart.title.text || "Chart visualization", s = this.FINAL_CONFIG.chart.title.subtitle.text || "";
162
+ return `${t}. ${s}`;
162
163
  },
163
164
  optimize() {
164
165
  return {
@@ -170,11 +171,11 @@ const Ze = X(), Je = {
170
171
  },
171
172
  minimap() {
172
173
  if (!this.FINAL_CONFIG.chart.zoom.minimap.show) return [];
173
- const t = this.datasetWithIds.filter((l) => !this.segregatedSeries.includes(l.id)), a = Math.max(...t.map((l) => l.series.length)), o = [];
174
- for (let l = 0; l < a; l += 1)
174
+ const t = this.datasetWithIds.filter((l) => !this.segregatedSeries.includes(l.id)), s = Math.max(...t.map((l) => l.series.length)), o = [];
175
+ for (let l = 0; l < s; l += 1)
175
176
  o.push(t.map((e) => e.series[l] || 0).reduce((e, A) => (e || 0) + (A || 0), 0));
176
- const h = Math.min(...o);
177
- return o.map((l) => l + (h < 0 ? Math.abs(h) : 0));
177
+ const d = Math.min(...o);
178
+ return o.map((l) => l + (d < 0 ? Math.abs(d) : 0));
178
179
  },
179
180
  customPalette() {
180
181
  return this.convertCustomPalette(this.FINAL_CONFIG.customPalette);
@@ -198,7 +199,7 @@ const Ze = X(), Je = {
198
199
  yOffset: e.yOffset || 0,
199
200
  individualHeight: e.individualHeight || this.drawingArea.height,
200
201
  autoScaleYLabels: e.autoScaleYLabels
201
- })), a = this.barSet.map((e) => ({
202
+ })), s = this.barSet.map((e) => ({
202
203
  name: e.name,
203
204
  color: e.color,
204
205
  scale: e.individualScale,
@@ -221,8 +222,8 @@ const Ze = X(), Je = {
221
222
  id: e.id,
222
223
  yOffset: e.yOffset || 0,
223
224
  individualHeight: e.individualHeight || this.drawingArea.height
224
- })), h = this.mutableConfig.useIndividualScale && !this.mutableConfig.isStacked ? Object.values(this.scaleGroups) : [...t, ...a, ...o], l = h.flatMap((e) => e).length;
225
- return h.flatMap((e, A) => ({
225
+ })), d = this.mutableConfig.useIndividualScale && !this.mutableConfig.isStacked ? Object.values(this.scaleGroups) : [...t, ...s, ...o], l = d.flatMap((e) => e).length;
226
+ return d.flatMap((e, A) => ({
226
227
  unique: e.unique,
227
228
  id: e.id,
228
229
  groupId: e.groupId,
@@ -233,9 +234,9 @@ const Ze = X(), Je = {
233
234
  yOffset: e.yOffset,
234
235
  individualHeight: e.individualHeight,
235
236
  x: this.mutableConfig.isStacked ? this.drawingArea.left : this.drawingArea.left / l * (A + 1),
236
- yLabels: e.scaleYLabels || e.scale.ticks.map((b) => ({
237
- y: b >= 0 ? e.zero - e.individualHeight * (b / e.max) : e.zero + e.individualHeight * Math.abs(b) / e.max,
238
- value: b
237
+ yLabels: e.scaleYLabels || e.scale.ticks.map((N) => ({
238
+ y: N >= 0 ? e.zero - e.individualHeight * (N / e.max) : e.zero + e.individualHeight * Math.abs(N) / e.max,
239
+ value: N
239
240
  }))
240
241
  }));
241
242
  },
@@ -259,9 +260,9 @@ const Ze = X(), Je = {
259
260
  },
260
261
  highlightAreas() {
261
262
  if (Array.isArray(this.FINAL_CONFIG.chart.highlightArea))
262
- return this.FINAL_CONFIG.chart.highlightArea.map((a) => ({
263
- ...a,
264
- span: a.from === a.to ? 1 : a.to < a.from ? 0 : a.to - a.from + 1
263
+ return this.FINAL_CONFIG.chart.highlightArea.map((s) => ({
264
+ ...s,
265
+ span: s.from === s.to ? 1 : s.to < s.from ? 0 : s.to - s.from + 1
265
266
  }));
266
267
  const t = this.FINAL_CONFIG.chart.highlightArea;
267
268
  return [{ ...t, span: t.from === t.to ? 1 : t.to < t.from ? 0 : t.to - t.from + 1 }];
@@ -276,33 +277,33 @@ const Ze = X(), Je = {
276
277
  return this.niceScale.max + this.relativeZero;
277
278
  },
278
279
  datasetWithIds() {
279
- return this.useSafeValues ? this.dataset.map((t, a) => ({
280
+ return this.useSafeValues ? this.dataset.map((t, s) => ({
280
281
  ...t,
281
282
  series: this.largestTriangleThreeBucketsArray({
282
283
  data: t.series,
283
284
  threshold: this.FINAL_CONFIG.downsample.threshold
284
285
  }),
285
- id: `uniqueId_${a}`
286
+ id: `uniqueId_${s}`
286
287
  })) : this.dataset;
287
288
  },
288
289
  safeDataset() {
289
- return this.useSafeValues ? this.dataset.map((t, a) => {
290
+ return this.useSafeValues ? this.dataset.map((t, s) => {
290
291
  const o = this.largestTriangleThreeBucketsArray({
291
292
  data: t.series,
292
293
  threshold: this.FINAL_CONFIG.downsample.threshold
293
- }), h = `uniqueId_${a}`;
294
+ }), d = `uniqueId_${s}`;
294
295
  return {
295
296
  ...t,
296
- slotAbsoluteIndex: a,
297
+ slotAbsoluteIndex: s,
297
298
  series: o.map((l) => this.isSafeValue(l) ? l : null).slice(this.slicer.start, this.slicer.end),
298
- color: this.convertColorToHex(t.color ? t.color : this.customPalette[a] ? this.customPalette[a] : this.palette[a]),
299
- id: h,
300
- scaleLabel: t.scaleLabel || h
299
+ color: this.convertColorToHex(t.color ? t.color : this.customPalette[s] ? this.customPalette[s] : this.palette[s]),
300
+ id: d,
301
+ scaleLabel: t.scaleLabel || d
301
302
  };
302
303
  }) : this.dataset;
303
304
  },
304
305
  relativeDataset() {
305
- return this.safeDataset.map((t, a) => ({
306
+ return this.safeDataset.map((t, s) => ({
306
307
  ...t,
307
308
  series: t.series.map((o) => o + this.relativeZero),
308
309
  absoluteValues: t.series
@@ -310,12 +311,12 @@ const Ze = X(), Je = {
310
311
  },
311
312
  tableSparklineDataset() {
312
313
  return this.relativeDataset.map((t) => {
313
- const a = t.absoluteValues.map((o) => [void 0, null].includes(o) ? 0 : o);
314
+ const s = t.absoluteValues.map((o) => [void 0, null].includes(o) ? 0 : o);
314
315
  return {
315
316
  id: t.id,
316
317
  name: t.name,
317
318
  color: t.color,
318
- values: this.fillArray(this.maxSeries, a)
319
+ values: this.fillArray(this.maxSeries, s)
319
320
  };
320
321
  });
321
322
  },
@@ -346,8 +347,8 @@ const Ze = X(), Je = {
346
347
  };
347
348
  },
348
349
  absoluteDataset() {
349
- return this.safeDataset.map((t, a) => ({
350
- absoluteIndex: a,
350
+ return this.safeDataset.map((t, s) => ({
351
+ absoluteIndex: s,
351
352
  ...t,
352
353
  series: t.series.map((o) => o + this.relativeZero),
353
354
  absoluteValues: t.series,
@@ -362,78 +363,78 @@ const Ze = X(), Je = {
362
363
  return this.assignStackRatios(this.absoluteDataset.filter((t) => !this.segregatedSeries.includes(t.id)));
363
364
  },
364
365
  scaleGroups() {
365
- const t = Object.groupBy(this.activeSeriesWithStackRatios, (o) => o.scaleLabel), a = {};
366
- for (const [o, h] of Object.entries(t)) {
367
- const l = h.flatMap((e) => e.absoluteValues);
368
- a[o] = {
366
+ const t = Object.groupBy(this.activeSeriesWithStackRatios, (o) => o.scaleLabel), s = {};
367
+ for (const [o, d] of Object.entries(t)) {
368
+ const l = d.flatMap((e) => e.absoluteValues);
369
+ s[o] = {
369
370
  min: Math.min(...l) || 0,
370
371
  max: Math.max(...l) || 1,
371
372
  groupId: `scale_group_${this.createUid()}`
372
373
  };
373
374
  }
374
- return a;
375
+ return s;
375
376
  },
376
377
  barSet() {
377
- return this.activeSeriesWithStackRatios.filter((t) => t.type === "bar").map((t, a) => {
378
+ return this.activeSeriesWithStackRatios.filter((t) => t.type === "bar").map((t, s) => {
378
379
  this.checkAutoScaleError(t);
379
- const o = this.scaleGroups[t.scaleLabel].min, h = this.scaleGroups[t.scaleLabel].max;
380
- t.absoluteValues.filter((x) => ![null, void 0].includes(x)).map((x) => (x - o) / (h - o));
380
+ const o = this.scaleGroups[t.scaleLabel].min, d = this.scaleGroups[t.scaleLabel].max;
381
+ t.absoluteValues.filter((_) => ![null, void 0].includes(_)).map((_) => (_ - o) / (d - o));
381
382
  const l = {
382
383
  valueMin: o,
383
- valueMax: h < 0 ? 0 : h
384
+ valueMax: d < 0 ? 0 : d
384
385
  }, e = {
385
386
  max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
386
- min: t.scaleMin || Math.min(...t.absoluteValues.filter((x) => ![void 0, null].includes(x))) > 0 ? 0 : Math.min(...t.absoluteValues.filter((x) => ![null, void 0].includes(x)))
387
- }, A = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, b = 1.0000001, I = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * b : e.max, A), y = this.calculateNiceScaleWithExactExtremes(l.valueMin, l.valueMax === l.valueMin ? l.valueMax * b : l.valueMax, A), v = I.min >= 0 ? 0 : Math.abs(I.min), O = 0, p = I.max + v, G = y.max + Math.abs(O), N = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, L = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, z = this.drawingArea.bottom - N - L * v / p, V = this.drawingArea.bottom - N - L * O / G, r = this.absoluteDataset.filter((x) => x.type === "bar").filter((x) => !this.segregatedSeries.includes(x.id)).length, c = t.series.map((x, T) => {
388
- const _ = this.mutableConfig.useIndividualScale ? (t.absoluteValues[T] + v) / p : this.ratioToMax(x), k = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * T : this.drawingArea.left + this.slot.bar * a + this.slot.bar * T * r - this.barSlot / 2 - a * this.barPeriodGap;
387
+ min: t.scaleMin || Math.min(...t.absoluteValues.filter((_) => ![void 0, null].includes(_))) > 0 ? 0 : Math.min(...t.absoluteValues.filter((_) => ![null, void 0].includes(_)))
388
+ }, A = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, N = 1.0000001, m = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * N : e.max, A), L = this.calculateNiceScaleWithExactExtremes(l.valueMin, l.valueMax === l.valueMin ? l.valueMax * N : l.valueMax, A), G = m.min >= 0 ? 0 : Math.abs(m.min), w = 0, v = m.max + G, O = L.max + Math.abs(w), b = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, C = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, p = this.drawingArea.bottom - b - C * G / v, V = this.drawingArea.bottom - b - C * w / O, a = this.absoluteDataset.filter((_) => _.type === "bar").filter((_) => !this.segregatedSeries.includes(_.id)).length, c = t.series.map((_, z) => {
389
+ const y = this.mutableConfig.useIndividualScale ? (t.absoluteValues[z] + G) / v : this.ratioToMax(_), k = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * z : this.drawingArea.left + this.slot.bar * s + this.slot.bar * z * a - this.barSlot / 2 - s * this.barPeriodGap;
389
390
  return {
390
- yOffset: this.checkNaN(N),
391
- individualHeight: this.checkNaN(L),
391
+ yOffset: this.checkNaN(b),
392
+ individualHeight: this.checkNaN(C),
392
393
  x: this.checkNaN(k),
393
- y: this.drawingArea.bottom - N - L * _,
394
- value: t.absoluteValues[T],
395
- zeroPosition: this.checkNaN(z),
396
- individualMax: this.checkNaN(p),
397
- comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[T] || ""
394
+ y: this.drawingArea.bottom - b - C * y,
395
+ value: t.absoluteValues[z],
396
+ zeroPosition: this.checkNaN(p),
397
+ individualMax: this.checkNaN(v),
398
+ comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[z] || ""
398
399
  };
399
- }), n = t.absoluteValues.map((x) => y.min >= 0 ? (x - Math.abs(y.min)) / (y.max - Math.abs(y.min)) : (x + Math.abs(y.min)) / (y.max + Math.abs(y.min))), f = t.series.map((x, T) => {
400
- const _ = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * T : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * a + this.slot.bar * T * this.absoluteDataset.filter((k) => k.type === "bar").filter((k) => !this.segregatedSeries.includes(k.id)).length;
400
+ }), n = t.absoluteValues.map((_) => L.min >= 0 ? (_ - Math.abs(L.min)) / (L.max - Math.abs(L.min)) : (_ + Math.abs(L.min)) / (L.max + Math.abs(L.min))), u = t.series.map((_, z) => {
401
+ const y = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * z : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * s + this.slot.bar * z * this.absoluteDataset.filter((k) => k.type === "bar").filter((k) => !this.segregatedSeries.includes(k.id)).length;
401
402
  return {
402
- yOffset: this.checkNaN(N),
403
- individualHeight: this.checkNaN(L),
404
- x: this.checkNaN(_),
405
- y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(N) - (this.checkNaN(L) * n[T] || 0)),
406
- value: t.absoluteValues[T],
407
- zeroPosition: this.checkNaN(z),
408
- individualMax: this.checkNaN(p),
409
- comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[T] || ""
403
+ yOffset: this.checkNaN(b),
404
+ individualHeight: this.checkNaN(C),
405
+ x: this.checkNaN(y),
406
+ y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(b) - (this.checkNaN(C) * n[z] || 0)),
407
+ value: t.absoluteValues[z],
408
+ zeroPosition: this.checkNaN(p),
409
+ individualMax: this.checkNaN(v),
410
+ comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[z] || ""
410
411
  };
411
- }), C = I.ticks.map((x) => ({
412
- y: x >= 0 ? z - L * (x / p) : z + L * Math.abs(x) / p,
413
- value: x,
412
+ }), F = m.ticks.map((_) => ({
413
+ y: _ >= 0 ? p - C * (_ / v) : p + C * Math.abs(_) / v,
414
+ value: _,
414
415
  prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
415
416
  suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
416
417
  datapoint: t
417
- })), M = y.ticks.map((x) => {
418
- const T = (x - y.min) / (y.max - y.min);
418
+ })), M = L.ticks.map((_) => {
419
+ const z = (_ - L.min) / (L.max - L.min);
419
420
  return {
420
- y: x >= 0 ? V - L * T : V + L * T,
421
- value: x,
421
+ y: _ >= 0 ? V - C * z : V + C * z,
422
+ value: _,
422
423
  prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
423
424
  suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
424
425
  datapoint: t
425
426
  };
426
427
  });
427
- return this.scaleGroups[t.scaleLabel].name = t.name, this.scaleGroups[t.scaleLabel].groupName = t.scaleLabel, this.scaleGroups[t.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || t.color, this.scaleGroups[t.scaleLabel].color = t.color, this.scaleGroups[t.scaleLabel].scaleYLabels = t.autoScaling ? M : C, this.scaleGroups[t.scaleLabel].zeroPosition = t.autoScaling ? V : z, this.scaleGroups[t.scaleLabel].individualMax = t.autoScaling ? G : p, this.scaleGroups[t.scaleLabel].scaleLabel = t.scaleLabel, this.scaleGroups[t.scaleLabel].id = t.id, this.scaleGroups[t.scaleLabel].yOffset = N, this.scaleGroups[t.scaleLabel].individualHeight = L, this.scaleGroups[t.scaleLabel].autoScaleYLabels = M, this.scaleGroups[t.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((x) => x.scaleLabel === t.scaleLabel).length === 1, {
428
+ return this.scaleGroups[t.scaleLabel].name = t.name, this.scaleGroups[t.scaleLabel].groupName = t.scaleLabel, this.scaleGroups[t.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || t.color, this.scaleGroups[t.scaleLabel].color = t.color, this.scaleGroups[t.scaleLabel].scaleYLabels = t.autoScaling ? M : F, this.scaleGroups[t.scaleLabel].zeroPosition = t.autoScaling ? V : p, this.scaleGroups[t.scaleLabel].individualMax = t.autoScaling ? O : v, this.scaleGroups[t.scaleLabel].scaleLabel = t.scaleLabel, this.scaleGroups[t.scaleLabel].id = t.id, this.scaleGroups[t.scaleLabel].yOffset = b, this.scaleGroups[t.scaleLabel].individualHeight = C, this.scaleGroups[t.scaleLabel].autoScaleYLabels = M, this.scaleGroups[t.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((_) => _.scaleLabel === t.scaleLabel).length === 1, {
428
429
  ...t,
429
- yOffset: N,
430
+ yOffset: b,
430
431
  autoScaleYLabels: M,
431
- individualHeight: L,
432
- scaleYLabels: t.autoScaling ? M : C,
433
- individualScale: t.autoScaling ? y : I,
434
- individualMax: t.autoScaling ? G : p,
435
- zeroPosition: t.autoScaling ? V : z,
436
- plots: t.autoScaling ? f : c,
432
+ individualHeight: C,
433
+ scaleYLabels: t.autoScaling ? M : F,
434
+ individualScale: t.autoScaling ? L : m,
435
+ individualMax: t.autoScaling ? O : v,
436
+ zeroPosition: t.autoScaling ? V : p,
437
+ plots: t.autoScaling ? u : c,
437
438
  groupId: this.scaleGroups[t.scaleLabel].groupId
438
439
  };
439
440
  });
@@ -441,61 +442,61 @@ const Ze = X(), Je = {
441
442
  lineSet() {
442
443
  return this.activeSeriesWithStackRatios.filter((t) => t.type === "line").map((t) => {
443
444
  this.checkAutoScaleError(t);
444
- const a = this.scaleGroups[t.scaleLabel].min, o = this.scaleGroups[t.scaleLabel].max;
445
- t.absoluteValues.filter((_) => ![null, void 0].includes(_)).map((_) => (_ - a) / (o - a));
446
- const h = {
447
- valueMin: a,
445
+ const s = this.scaleGroups[t.scaleLabel].min, o = this.scaleGroups[t.scaleLabel].max;
446
+ t.absoluteValues.filter((y) => ![null, void 0].includes(y)).map((y) => (y - s) / (o - s));
447
+ const d = {
448
+ valueMin: s,
448
449
  valueMax: o
449
450
  }, l = {
450
451
  max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
451
452
  min: t.scaleMin || (Math.min(...t.absoluteValues) > 0 ? 0 : Math.min(...t.absoluteValues))
452
- }, e = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = 1.0000001, b = this.calculateNiceScaleWithExactExtremes(l.min, l.max === l.min ? l.max * A : l.max, e), I = this.calculateNiceScaleWithExactExtremes(h.valueMin, h.valueMax === h.valueMin ? h.valueMax * A : h.valueMax, e), y = b.min >= 0 ? 0 : Math.abs(b.min), v = 0, O = b.max + Math.abs(y), p = I.max + Math.abs(v), G = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, N = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, L = this.drawingArea.bottom - G - N * y / O, z = this.drawingArea.bottom - G - N * v / p, V = t.series.map((_, k) => {
453
- const Q = this.mutableConfig.useIndividualScale ? (t.absoluteValues[k] + Math.abs(y)) / O : this.ratioToMax(_);
453
+ }, e = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = 1.0000001, N = this.calculateNiceScaleWithExactExtremes(l.min, l.max === l.min ? l.max * A : l.max, e), m = this.calculateNiceScaleWithExactExtremes(d.valueMin, d.valueMax === d.valueMin ? d.valueMax * A : d.valueMax, e), L = N.min >= 0 ? 0 : Math.abs(N.min), G = 0, w = N.max + Math.abs(L), v = m.max + Math.abs(G), O = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, b = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - O - b * L / w, p = this.drawingArea.bottom - O - b * G / v, V = t.series.map((y, k) => {
454
+ const Q = this.mutableConfig.useIndividualScale ? (t.absoluteValues[k] + Math.abs(L)) / w : this.ratioToMax(y);
454
455
  return {
455
456
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * k),
456
- y: this.checkNaN(this.drawingArea.bottom - G - N * Q),
457
+ y: this.checkNaN(this.drawingArea.bottom - O - b * Q),
457
458
  value: t.absoluteValues[k],
458
459
  comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[k] || ""
459
460
  };
460
- }), r = t.absoluteValues.map((_) => I.min >= 0 ? (_ - Math.abs(I.min)) / (I.max - Math.abs(I.min)) : (_ + Math.abs(I.min)) / (I.max + Math.abs(I.min))), c = t.series.map((_, k) => [void 0, null].includes(t.absoluteValues[k]) ? {
461
+ }), a = t.absoluteValues.map((y) => m.min >= 0 ? (y - Math.abs(m.min)) / (m.max - Math.abs(m.min)) : (y + Math.abs(m.min)) / (m.max + Math.abs(m.min))), c = t.series.map((y, k) => [void 0, null].includes(t.absoluteValues[k]) ? {
461
462
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * k),
462
- y: L,
463
+ y: C,
463
464
  value: t.absoluteValues[k],
464
465
  comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[k] || ""
465
466
  } : {
466
467
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * k),
467
- y: this.checkNaN(this.drawingArea.bottom - G - (N * r[k] || 0)),
468
+ y: this.checkNaN(this.drawingArea.bottom - O - (b * a[k] || 0)),
468
469
  value: t.absoluteValues[k],
469
470
  comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[k] || ""
470
- }), n = this.createSmoothPath(V.filter((_) => _.value !== null)), f = this.createSmoothPath(c.filter((_) => _.value !== null)), C = this.createStraightPath(V.filter((_) => _.value !== null)), M = this.createStraightPath(c.filter((_) => _.value !== null)), x = b.ticks.map((_) => ({
471
- y: _ >= 0 ? L - N * (_ / O) : L + N * Math.abs(_) / O,
472
- value: _,
471
+ }), n = this.createSmoothPath(V.filter((y) => y.value !== null)), u = this.createSmoothPath(c.filter((y) => y.value !== null)), F = this.createStraightPath(V.filter((y) => y.value !== null)), M = this.createStraightPath(c.filter((y) => y.value !== null)), _ = N.ticks.map((y) => ({
472
+ y: y >= 0 ? C - b * (y / w) : C + b * Math.abs(y) / w,
473
+ value: y,
473
474
  prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
474
475
  suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
475
476
  datapoint: t
476
- })), T = I.ticks.map((_) => {
477
- const k = (_ - I.min) / (I.max - I.min);
477
+ })), z = m.ticks.map((y) => {
478
+ const k = (y - m.min) / (m.max - m.min);
478
479
  return {
479
- y: _ >= 0 ? z - N * k : z + N * k,
480
- value: _,
480
+ y: y >= 0 ? p - b * k : p + b * k,
481
+ value: y,
481
482
  prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
482
483
  suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
483
484
  datapoint: t
484
485
  };
485
486
  });
486
- return this.scaleGroups[t.scaleLabel].name = t.name, this.scaleGroups[t.scaleLabel].groupName = t.scaleLabel, this.scaleGroups[t.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || t.color, this.scaleGroups[t.scaleLabel].color = t.color, this.scaleGroups[t.scaleLabel].scaleYLabels = t.autoScaling ? T : x, this.scaleGroups[t.scaleLabel].zeroPosition = t.autoScaling ? z : L, this.scaleGroups[t.scaleLabel].individualMax = t.autoScaling ? p : O, this.scaleGroups[t.scaleLabel].scaleLabel = t.scaleLabel, this.scaleGroups[t.scaleLabel].id = t.id, this.scaleGroups[t.scaleLabel].yOffset = G, this.scaleGroups[t.scaleLabel].individualHeight = N, this.scaleGroups[t.scaleLabel].autoScaleYLabels = T, this.scaleGroups[t.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((_) => _.scaleLabel === t.scaleLabel).length === 1, {
487
+ return this.scaleGroups[t.scaleLabel].name = t.name, this.scaleGroups[t.scaleLabel].groupName = t.scaleLabel, this.scaleGroups[t.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || t.color, this.scaleGroups[t.scaleLabel].color = t.color, this.scaleGroups[t.scaleLabel].scaleYLabels = t.autoScaling ? z : _, this.scaleGroups[t.scaleLabel].zeroPosition = t.autoScaling ? p : C, this.scaleGroups[t.scaleLabel].individualMax = t.autoScaling ? v : w, this.scaleGroups[t.scaleLabel].scaleLabel = t.scaleLabel, this.scaleGroups[t.scaleLabel].id = t.id, this.scaleGroups[t.scaleLabel].yOffset = O, this.scaleGroups[t.scaleLabel].individualHeight = b, this.scaleGroups[t.scaleLabel].autoScaleYLabels = z, this.scaleGroups[t.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((y) => y.scaleLabel === t.scaleLabel).length === 1, {
487
488
  ...t,
488
- yOffset: G,
489
- autoScaleYLabels: T,
490
- individualHeight: N,
491
- scaleYLabels: t.autoScaling ? T : x,
492
- individualScale: t.autoScaling ? I : b,
493
- individualMax: t.autoScaling ? p : O,
494
- zeroPosition: t.autoScaling ? z : L,
495
- curve: t.autoScaling ? f : n,
489
+ yOffset: O,
490
+ autoScaleYLabels: z,
491
+ individualHeight: b,
492
+ scaleYLabels: t.autoScaling ? z : _,
493
+ individualScale: t.autoScaling ? m : N,
494
+ individualMax: t.autoScaling ? v : w,
495
+ zeroPosition: t.autoScaling ? p : C,
496
+ curve: t.autoScaling ? u : n,
496
497
  plots: t.autoScaling ? c : V,
497
- area: t.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(t.autoScaling ? c : V, t.autoScaling ? z : L) : this.createArea(V) : "",
498
- straight: t.autoScaling ? M : C,
498
+ area: t.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(t.autoScaling ? c : V, t.autoScaling ? p : C) : this.createArea(V) : "",
499
+ straight: t.autoScaling ? M : F,
499
500
  groupId: this.scaleGroups[t.scaleLabel].groupId
500
501
  };
501
502
  });
@@ -503,66 +504,66 @@ const Ze = X(), Je = {
503
504
  plotSet() {
504
505
  return this.activeSeriesWithStackRatios.filter((t) => t.type === "plot").map((t) => {
505
506
  this.checkAutoScaleError(t);
506
- const a = this.scaleGroups[t.scaleLabel].min, o = this.scaleGroups[t.scaleLabel].max;
507
- t.absoluteValues.filter((C) => ![null, void 0].includes(C)).map((C) => (C - a) / (o - a));
508
- const h = {
509
- valueMin: a,
507
+ const s = this.scaleGroups[t.scaleLabel].min, o = this.scaleGroups[t.scaleLabel].max;
508
+ t.absoluteValues.filter((F) => ![null, void 0].includes(F)).map((F) => (F - s) / (o - s));
509
+ const d = {
510
+ valueMin: s,
510
511
  valueMax: o
511
512
  }, l = {
512
513
  max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
513
514
  min: t.scaleMin || Math.min(...t.absoluteValues) > 0 ? 0 : Math.min(...t.absoluteValues)
514
- }, e = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = 1.0000001, b = this.calculateNiceScaleWithExactExtremes(l.min, l.max === l.min ? l.max * A : l.max, e), I = this.calculateNiceScaleWithExactExtremes(h.valueMin, h.valueMax === h.valueMin ? h.valueMax * A : h.valueMax, e), y = b.min >= 0 ? 0 : Math.abs(b.min), v = 0, O = b.max + y, p = I.max + Math.abs(v), G = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, N = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, L = this.drawingArea.bottom - G - N * y / O, z = this.drawingArea.bottom - G - N * v / p, V = t.series.map((C, M) => {
515
- const x = this.mutableConfig.useIndividualScale ? (t.absoluteValues[M] + Math.abs(y)) / O : this.ratioToMax(C);
515
+ }, e = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = 1.0000001, N = this.calculateNiceScaleWithExactExtremes(l.min, l.max === l.min ? l.max * A : l.max, e), m = this.calculateNiceScaleWithExactExtremes(d.valueMin, d.valueMax === d.valueMin ? d.valueMax * A : d.valueMax, e), L = N.min >= 0 ? 0 : Math.abs(N.min), G = 0, w = N.max + L, v = m.max + Math.abs(G), O = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, b = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - O - b * L / w, p = this.drawingArea.bottom - O - b * G / v, V = t.series.map((F, M) => {
516
+ const _ = this.mutableConfig.useIndividualScale ? (t.absoluteValues[M] + Math.abs(L)) / w : this.ratioToMax(F);
516
517
  return {
517
518
  x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * M),
518
- y: this.checkNaN(this.drawingArea.bottom - G - N * x),
519
+ y: this.checkNaN(this.drawingArea.bottom - O - b * _),
519
520
  value: t.absoluteValues[M],
520
521
  comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[M] || ""
521
522
  };
522
- }), r = t.absoluteValues.map((C) => I.min >= 0 ? (C - Math.abs(I.min)) / (I.max - Math.abs(I.min)) : (C + Math.abs(I.min)) / (I.max + Math.abs(I.min))), c = t.series.map((C, M) => ({
523
+ }), a = t.absoluteValues.map((F) => m.min >= 0 ? (F - Math.abs(m.min)) / (m.max - Math.abs(m.min)) : (F + Math.abs(m.min)) / (m.max + Math.abs(m.min))), c = t.series.map((F, M) => ({
523
524
  x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * M),
524
- y: this.checkNaN(this.drawingArea.bottom - G - (N * r[M] || 0)),
525
+ y: this.checkNaN(this.drawingArea.bottom - O - (b * a[M] || 0)),
525
526
  value: t.absoluteValues[M],
526
527
  comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[M] || ""
527
- })), n = b.ticks.map((C) => ({
528
- y: C >= 0 ? L - N * (C / O) : L + N * Math.abs(C) / O,
529
- value: C,
528
+ })), n = N.ticks.map((F) => ({
529
+ y: F >= 0 ? C - b * (F / w) : C + b * Math.abs(F) / w,
530
+ value: F,
530
531
  prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
531
532
  suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
532
533
  datapoint: t
533
- })), f = I.ticks.map((C) => {
534
- const M = (C - I.min) / (I.max - I.min);
534
+ })), u = m.ticks.map((F) => {
535
+ const M = (F - m.min) / (m.max - m.min);
535
536
  return {
536
- y: C >= 0 ? z - N * M : z + N * M,
537
- value: C,
537
+ y: F >= 0 ? p - b * M : p + b * M,
538
+ value: F,
538
539
  prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
539
540
  suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
540
541
  datapoint: t
541
542
  };
542
543
  });
543
- return this.scaleGroups[t.scaleLabel].name = t.name, this.scaleGroups[t.scaleLabel].groupName = t.scaleLabel, this.scaleGroups[t.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || t.color, this.scaleGroups[t.scaleLabel].color = t.color, this.scaleGroups[t.scaleLabel].scaleYLabels = t.autoScaling ? f : n, this.scaleGroups[t.scaleLabel].zeroPosition = t.autoScaling ? z : L, this.scaleGroups[t.scaleLabel].individualMax = t.autoScaling ? p : O, this.scaleGroups[t.scaleLabel].scaleLabel = t.scaleLabel, this.scaleGroups[t.scaleLabel].id = t.id, this.scaleGroups[t.scaleLabel].yOffset = G, this.scaleGroups[t.scaleLabel].individualHeight = N, this.scaleGroups[t.scaleLabel].autoScaleYLabels = f, this.scaleGroups[t.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((C) => C.scaleLabel === t.scaleLabel).length === 1, {
544
+ return this.scaleGroups[t.scaleLabel].name = t.name, this.scaleGroups[t.scaleLabel].groupName = t.scaleLabel, this.scaleGroups[t.scaleLabel].groupColor = this.FINAL_CONFIG.chart.grid.labels.yAxis.groupColor || t.color, this.scaleGroups[t.scaleLabel].color = t.color, this.scaleGroups[t.scaleLabel].scaleYLabels = t.autoScaling ? u : n, this.scaleGroups[t.scaleLabel].zeroPosition = t.autoScaling ? p : C, this.scaleGroups[t.scaleLabel].individualMax = t.autoScaling ? v : w, this.scaleGroups[t.scaleLabel].scaleLabel = t.scaleLabel, this.scaleGroups[t.scaleLabel].id = t.id, this.scaleGroups[t.scaleLabel].yOffset = O, this.scaleGroups[t.scaleLabel].individualHeight = b, this.scaleGroups[t.scaleLabel].autoScaleYLabels = u, this.scaleGroups[t.scaleLabel].unique = this.activeSeriesWithStackRatios.filter((F) => F.scaleLabel === t.scaleLabel).length === 1, {
544
545
  ...t,
545
- yOffset: G,
546
- autoScaleYLabels: f,
547
- individualHeight: N,
548
- scaleYLabels: t.autoScaling ? f : n,
549
- individualScale: t.autoScaling ? I : b,
550
- individualMax: t.autoScaling ? p : O,
551
- zeroPosition: t.autoScaling ? z : L,
546
+ yOffset: O,
547
+ autoScaleYLabels: u,
548
+ individualHeight: b,
549
+ scaleYLabels: t.autoScaling ? u : n,
550
+ individualScale: t.autoScaling ? m : N,
551
+ individualMax: t.autoScaling ? v : w,
552
+ zeroPosition: t.autoScaling ? p : C,
552
553
  plots: t.autoScaling ? c : V,
553
554
  groupId: this.scaleGroups[t.scaleLabel].groupId
554
555
  };
555
556
  });
556
557
  },
557
558
  drawingArea() {
558
- function t(h) {
559
+ function t(d) {
559
560
  const l = /* @__PURE__ */ new Set();
560
- return h.forEach((e) => {
561
+ return d.forEach((e) => {
561
562
  const A = e.scaleLabel || "__noScaleLabel__";
562
563
  l.add(A);
563
564
  }), l.size;
564
565
  }
565
- const a = t(this.absoluteDataset.filter((h) => !this.segregatedSeries.includes(h.id))), o = this.mutableConfig.useIndividualScale && this.FINAL_CONFIG.chart.grid.labels.show ? a * (this.mutableConfig.isStacked ? 0 : this.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth) : 0;
566
+ const s = t(this.absoluteDataset.filter((d) => !this.segregatedSeries.includes(d.id))), o = this.mutableConfig.useIndividualScale && this.FINAL_CONFIG.chart.grid.labels.show ? s * (this.mutableConfig.isStacked ? 0 : this.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth) : 0;
566
567
  return {
567
568
  top: this.FINAL_CONFIG.chart.padding.top,
568
569
  right: this.width - this.FINAL_CONFIG.chart.padding.right,
@@ -578,7 +579,7 @@ const Ze = X(), Je = {
578
579
  min() {
579
580
  if (this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin !== null)
580
581
  return this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin;
581
- const t = Math.min(...this.safeDataset.filter((a) => !this.segregatedSeries.includes(a.id)).map((a) => Math.min(...a.series)));
582
+ const t = Math.min(...this.safeDataset.filter((s) => !this.segregatedSeries.includes(s.id)).map((s) => Math.min(...s.series)));
582
583
  return t > 0 ? 0 : t;
583
584
  },
584
585
  niceScale() {
@@ -588,13 +589,13 @@ const Ze = X(), Je = {
588
589
  return this.slicer.end - this.slicer.start;
589
590
  },
590
591
  timeLabels() {
591
- const t = Math.max(...this.dataset.map((o) => this.largestTriangleThreeBucketsArray({ data: o.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length)), a = [];
592
+ const t = Math.max(...this.dataset.map((o) => this.largestTriangleThreeBucketsArray({ data: o.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length)), s = [];
592
593
  for (let o = 0; o < t; o += 1)
593
- a.push({
594
+ s.push({
594
595
  text: this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[o] || String(o),
595
596
  absoluteIndex: o
596
597
  });
597
- return a.slice(this.slicer.start, this.slicer.end);
598
+ return s.slice(this.slicer.start, this.slicer.end);
598
599
  },
599
600
  slot() {
600
601
  return {
@@ -604,7 +605,7 @@ const Ze = X(), Je = {
604
605
  };
605
606
  },
606
607
  barSlot() {
607
- const t = this.safeDataset.filter((a) => a.type === "bar").filter((a) => !this.segregatedSeries.includes(a.id)).length;
608
+ const t = this.safeDataset.filter((s) => s.type === "bar").filter((s) => !this.segregatedSeries.includes(s.id)).length;
608
609
  return this.drawingArea.width / this.maxSeries / t - this.barPeriodGap * t;
609
610
  },
610
611
  barPeriodGap() {
@@ -619,39 +620,39 @@ const Ze = X(), Je = {
619
620
  label: o.name,
620
621
  color: o.color,
621
622
  type: o.type
622
- })), a = [];
623
- return this.timeLabels.forEach((o, h) => {
623
+ })), s = [];
624
+ return this.timeLabels.forEach((o, d) => {
624
625
  const l = [o.text];
625
626
  this.relativeDataset.forEach((e) => {
626
- l.push(this.canShowValue(e.absoluteValues[h]) ? Number(e.absoluteValues[h].toFixed(this.FINAL_CONFIG.table.rounding)) : "");
627
- }), a.push(l);
628
- }), { head: t, body: a };
627
+ l.push(this.canShowValue(e.absoluteValues[d]) ? Number(e.absoluteValues[d].toFixed(this.FINAL_CONFIG.table.rounding)) : "");
628
+ }), s.push(l);
629
+ }), { head: t, body: s };
629
630
  },
630
631
  dataTable() {
631
632
  const t = this.FINAL_CONFIG.table.showSum;
632
- let a = [""].concat(this.relativeDataset.map((e) => e.name));
633
- t && (a = a.concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>'));
633
+ let s = [""].concat(this.relativeDataset.map((e) => e.name));
634
+ t && (s = s.concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>'));
634
635
  let o = [];
635
636
  for (let e = 0; e < this.maxSeries; e += 1) {
636
- const A = this.relativeDataset.map((b) => b.absoluteValues[e] ?? 0).reduce((b, I) => b + I, 0);
637
+ const A = this.relativeDataset.map((N) => N.absoluteValues[e] ?? 0).reduce((N, m) => N + m, 0);
637
638
  o.push(
638
639
  [
639
640
  this.timeLabels[e].text ?? "-"
640
641
  ].concat(this.relativeDataset.map(
641
- (b) => this.applyDataLabel(
642
- b.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : b.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
643
- b.absoluteValues[e] ?? 0,
642
+ (N) => this.applyDataLabel(
643
+ N.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : N.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
644
+ N.absoluteValues[e] ?? 0,
644
645
  this.dataLabel({
645
- p: b.prefix || this.FINAL_CONFIG.chart.labels.prefix,
646
- v: b.absoluteValues[e] ?? 0,
647
- s: b.suffix || this.FINAL_CONFIG.chart.labels.suffix,
646
+ p: N.prefix || this.FINAL_CONFIG.chart.labels.prefix,
647
+ v: N.absoluteValues[e] ?? 0,
648
+ s: N.suffix || this.FINAL_CONFIG.chart.labels.suffix,
648
649
  r: this.FINAL_CONFIG.table.rounding
649
650
  })
650
651
  )
651
652
  )).concat(t ? (A ?? 0).toFixed(this.FINAL_CONFIG.table.rounding) : [])
652
653
  );
653
654
  }
654
- const h = {
655
+ const d = {
655
656
  th: {
656
657
  backgroundColor: this.FINAL_CONFIG.table.th.backgroundColor,
657
658
  color: this.FINAL_CONFIG.table.th.color,
@@ -664,7 +665,7 @@ const Ze = X(), Je = {
664
665
  },
665
666
  breakpoint: this.FINAL_CONFIG.table.responsiveBreakpoint
666
667
  }, l = [this.FINAL_CONFIG.table.columnNames.period].concat(this.relativeDataset.map((e) => e.name)).concat(this.FINAL_CONFIG.table.columnNames.total);
667
- return { head: a, body: o, config: h, colNames: l };
668
+ return { head: s, body: o, config: d, colNames: l };
668
669
  },
669
670
  dataTooltipSlot() {
670
671
  return {
@@ -684,16 +685,16 @@ const Ze = X(), Je = {
684
685
  name: t.name,
685
686
  color: t.color,
686
687
  type: t.type,
687
- value: t.absoluteValues.find((a, o) => o === this.selectedSerieIndex),
688
+ value: t.absoluteValues.find((s, o) => o === this.selectedSerieIndex),
688
689
  comments: t.comments || [],
689
690
  prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
690
691
  suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix
691
692
  }));
692
693
  },
693
694
  tooltipContent() {
694
- let t = "", a = this.selectedSeries.map((l) => l.value).filter((l) => this.isSafeValue(l) && l !== null).reduce((l, e) => Math.abs(l) + Math.abs(e), 0);
695
- const o = this.timeLabels[this.selectedSerieIndex], h = this.FINAL_CONFIG.chart.tooltip.customFormat;
696
- return this.isFunction(h) && this.functionReturnsString(() => h({
695
+ let t = "", s = this.selectedSeries.map((l) => l.value).filter((l) => this.isSafeValue(l) && l !== null).reduce((l, e) => Math.abs(l) + Math.abs(e), 0);
696
+ const o = this.timeLabels[this.selectedSerieIndex], d = this.FINAL_CONFIG.chart.tooltip.customFormat;
697
+ return this.isFunction(d) && this.functionReturnsString(() => d({
697
698
  seriesIndex: this.selectedSerieIndex,
698
699
  datapoint: this.selectedSeries,
699
700
  series: this.absoluteDataset,
@@ -701,7 +702,7 @@ const Ze = X(), Je = {
701
702
  lines: this.lineSet,
702
703
  plots: this.plotSet,
703
704
  config: this.FINAL_CONFIG
704
- })) ? h({
705
+ })) ? d({
705
706
  seriesIndex: this.selectedSerieIndex,
706
707
  datapoint: this.selectedSeries,
707
708
  series: this.absoluteDataset,
@@ -717,7 +718,7 @@ const Ze = X(), Je = {
717
718
  e = `<svg viewBox="0 0 40 40" height="14" width="14">${this.$slots.pattern ? `<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${l.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${this.$slots.pattern ? `url(#pattern_${this.uniqueId}_${l.slotAbsoluteIndex}` : l.color}" /></svg>`;
718
719
  break;
719
720
  case "line":
720
- !l.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(l.shape) ? A = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${l.color}" />` : l.shape === "triangle" ? A = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "square" ? A = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "diamond" ? A = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "pentagon" ? A = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "hexagon" ? A = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "star" && (A = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${l.color}" points="${q({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${l.color}" />${A}</svg>`;
721
+ !l.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(l.shape) ? A = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${l.color}" />` : l.shape === "triangle" ? A = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "square" ? A = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "diamond" ? A = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "pentagon" ? A = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "hexagon" ? A = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : l.shape === "star" && (A = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${l.color}" points="${q({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${l.color}" />${A}</svg>`;
721
722
  break;
722
723
  case "plot":
723
724
  if (!l.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(l.shape)) {
@@ -729,23 +730,23 @@ const Ze = X(), Je = {
729
730
  break;
730
731
  }
731
732
  if (l.shape === "triangle") {
732
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${D({ plot: { x: 6, y: 6 }, radius: 6, sides: 3, rotation: 0.52 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
733
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${H({ plot: { x: 6, y: 6 }, radius: 6, sides: 3, rotation: 0.52 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
733
734
  break;
734
735
  }
735
736
  if (l.shape === "square") {
736
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${D({ plot: { x: 6, y: 6 }, radius: 6, sides: 4, rotation: 0.8 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
737
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${H({ plot: { x: 6, y: 6 }, radius: 6, sides: 4, rotation: 0.8 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
737
738
  break;
738
739
  }
739
740
  if (l.shape === "diamond") {
740
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${D({ plot: { x: 6, y: 6 }, radius: 5, sides: 4, rotation: 0 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
741
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${H({ plot: { x: 6, y: 6 }, radius: 5, sides: 4, rotation: 0 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
741
742
  break;
742
743
  }
743
744
  if (l.shape === "pentagon") {
744
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${D({ plot: { x: 6, y: 6 }, radius: 5, sides: 5, rotation: 0.95 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
745
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${H({ plot: { x: 6, y: 6 }, radius: 5, sides: 5, rotation: 0.95 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
745
746
  break;
746
747
  }
747
748
  if (l.shape === "hexagon") {
748
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${D({ plot: { x: 6, y: 6 }, radius: 5, sides: 6, rotation: 0 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
749
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${H({ plot: { x: 6, y: 6 }, radius: 5, sides: 6, rotation: 0 }).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
749
750
  break;
750
751
  }
751
752
  }
@@ -760,7 +761,7 @@ const Ze = X(), Je = {
760
761
  }),
761
762
  { datapoint: l }
762
763
  ) : ""}</b> ${this.FINAL_CONFIG.chart.tooltip.showPercentage ? `(${U({
763
- v: this.checkNaN(Math.abs(l.value) / a * 100),
764
+ v: this.checkNaN(Math.abs(l.value) / s * 100),
764
765
  s: "%",
765
766
  r: this.FINAL_CONFIG.chart.tooltip.roundingPercentage
766
767
  })})` : ""}</div>`, this.FINAL_CONFIG.chart.comments.showInTooltip && l.comments.length && l.comments.slice(this.slicer.start, this.slicer.end)[this.selectedSerieIndex] && (t += `<div class="vue-data-ui-tooltip-comment" style="background:${l.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${l.color}">${l.comments.slice(this.slicer.start, this.slicer.end)[this.selectedSerieIndex]}</div>`);
@@ -791,57 +792,68 @@ const Ze = X(), Je = {
791
792
  x: t.clientX,
792
793
  y: t.clientY
793
794
  };
794
- });
795
+ }), document.addEventListener("scroll", this.hideTags);
796
+ },
797
+ beforeUnmount() {
798
+ document.removeEventListener("scroll", this.hideTags);
795
799
  },
796
800
  methods: {
797
- abbreviate: Ce,
798
- adaptColorToBackground: Le,
799
- applyDataLabel: ye,
801
+ abbreviate: Se,
802
+ adaptColorToBackground: Ce,
803
+ applyDataLabel: Le,
800
804
  assignStackRatios: Ae,
801
- calcLinearProgression: _e,
802
- calculateNiceScaleWithExactExtremes: Fe,
803
- checkNaN: xe,
804
- closestDecimal: Ne,
805
- convertColorToHex: be,
806
- convertConfigColors: me,
807
- convertCustomPalette: Ie,
808
- createCsvContent: fe,
809
- createSmoothPath: ge,
810
- createStraightPath: de,
811
- createTSpans: ue,
805
+ calcLinearProgression: ye,
806
+ calculateNiceScaleWithExactExtremes: _e,
807
+ checkNaN: Fe,
808
+ closestDecimal: be,
809
+ convertColorToHex: xe,
810
+ convertConfigColors: Ne,
811
+ convertCustomPalette: me,
812
+ createCsvContent: Ie,
813
+ createSmoothPath: fe,
814
+ createStraightPath: ge,
815
+ createTSpans: de,
812
816
  dataLabel: U,
813
- downloadCsv: he,
814
- error: oe,
815
- forceValidValue: ce,
816
- functionReturnsString: ne,
817
- hasDeepProperty: se,
818
- isFunction: ae,
817
+ downloadCsv: ue,
818
+ error: he,
819
+ forceValidValue: oe,
820
+ functionReturnsString: ce,
821
+ hasDeepProperty: ne,
822
+ isFunction: se,
819
823
  isSafeValue: ie,
820
824
  largestTriangleThreeBucketsArray: re,
821
- objectIsEmpty: le,
822
- setOpacity: te,
823
- shiftHue: ee,
824
- translateSize: $,
825
- treeShake: j,
825
+ objectIsEmpty: ae,
826
+ setOpacity: le,
827
+ shiftHue: te,
828
+ translateSize: ee,
829
+ treeShake: $,
826
830
  useMouse: ze,
827
831
  useNestedProp: Z,
828
832
  createUid: X,
833
+ placeXYTag: j,
834
+ hideTags() {
835
+ const t = document.querySelectorAll(".vue-ui-xy-tag");
836
+ t.length && Array.from(t).forEach((s) => s.style.opacity = "0");
837
+ },
838
+ setTagRef(t, s, o, d, l) {
839
+ o && (this.tagRefs[`${t}_${s}_${d}_${l}`] = o);
840
+ },
829
841
  setUserOptionsVisibility(t = !1) {
830
842
  this.showUserOptionsOnChartHover && (this.userOptionsVisible = t);
831
843
  },
832
844
  toggleAnnotator() {
833
845
  this.isAnnotator = !this.isAnnotator;
834
846
  },
835
- selectTimeLabel(t, a) {
836
- const o = this.relativeDataset.map((h) => ({
837
- shape: h.shape || null,
838
- name: h.name,
839
- color: h.color,
840
- type: h.type,
841
- value: h.absoluteValues.find((l, e) => e === a),
842
- comments: h.comments || [],
843
- prefix: h.prefix || this.FINAL_CONFIG.chart.labels.prefix,
844
- suffix: h.suffix || this.FINAL_CONFIG.chart.labels.suffix
847
+ selectTimeLabel(t, s) {
848
+ const o = this.relativeDataset.map((d) => ({
849
+ shape: d.shape || null,
850
+ name: d.name,
851
+ color: d.color,
852
+ type: d.type,
853
+ value: d.absoluteValues.find((l, e) => e === s),
854
+ comments: d.comments || [],
855
+ prefix: d.prefix || this.FINAL_CONFIG.chart.labels.prefix,
856
+ suffix: d.suffix || this.FINAL_CONFIG.chart.labels.suffix
845
857
  }));
846
858
  this.$emit("selectTimeLabel", {
847
859
  datapoint: o,
@@ -850,44 +862,44 @@ const Ze = X(), Je = {
850
862
  });
851
863
  },
852
864
  getHighlightAreaPosition(t) {
853
- const a = this.drawingArea.left + this.drawingArea.width / this.maxSeries * (t.from - this.slicer.start), o = this.drawingArea.width / (this.slicer.end - this.slicer.start) * t.span < 0 ? 1e-5 : this.drawingArea.width / (this.slicer.end - this.slicer.start) * t.span;
865
+ const s = this.drawingArea.left + this.drawingArea.width / this.maxSeries * (t.from - this.slicer.start), o = this.drawingArea.width / (this.slicer.end - this.slicer.start) * t.span < 0 ? 1e-5 : this.drawingArea.width / (this.slicer.end - this.slicer.start) * t.span;
854
866
  return {
855
- x: a < this.drawingArea.left ? this.drawingArea.left : a,
867
+ x: s < this.drawingArea.left ? this.drawingArea.left : s,
856
868
  width: o
857
869
  };
858
870
  },
859
871
  prepareConfig() {
860
- const t = Se().vue_ui_xy;
872
+ const t = ke().vue_ui_xy;
861
873
  if (!Object.keys(this.config || {}).length)
862
874
  return t;
863
- const a = this.useNestedProp({
875
+ const s = this.useNestedProp({
864
876
  userConfig: this.config,
865
877
  defaultConfig: t
866
878
  });
867
- return this.config && this.hasDeepProperty(this.config, "chart.highlightArea") && (Array.isArray(this.config.chart.highlightArea) ? a.chart.highlightArea = this.config.chart.highlightArea : a.chart.highlightArea = [this.config.chart.highlightArea]), this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMin") ? a.chart.grid.labels.yAxis.scaleMin = this.config.chart.grid.labels.yAxis.scaleMin : a.chart.grid.labels.yAxis.scaleMin = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMax") ? a.chart.grid.labels.yAxis.scaleMax = this.config.chart.grid.labels.yAxis.scaleMax : a.chart.grid.labels.yAxis.scaleMax = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.startIndex") ? a.chart.zoom.startIndex = this.config.chart.zoom.startIndex : a.chart.zoom.startIndex = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.endIndex") ? a.chart.zoom.endIndex = this.config.chart.zoom.endIndex : a.chart.zoom.endIndex = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.groupColor") ? a.chart.grid.labels.yAxis.groupColor = this.config.chart.grid.labels.yAxis.groupColor : a.chart.grid.labels.yAxis.groupColor = null, a.theme ? {
879
+ return this.config && this.hasDeepProperty(this.config, "chart.highlightArea") && (Array.isArray(this.config.chart.highlightArea) ? s.chart.highlightArea = this.config.chart.highlightArea : s.chart.highlightArea = [this.config.chart.highlightArea]), this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMin") ? s.chart.grid.labels.yAxis.scaleMin = this.config.chart.grid.labels.yAxis.scaleMin : s.chart.grid.labels.yAxis.scaleMin = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMax") ? s.chart.grid.labels.yAxis.scaleMax = this.config.chart.grid.labels.yAxis.scaleMax : s.chart.grid.labels.yAxis.scaleMax = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.startIndex") ? s.chart.zoom.startIndex = this.config.chart.zoom.startIndex : s.chart.zoom.startIndex = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.endIndex") ? s.chart.zoom.endIndex = this.config.chart.zoom.endIndex : s.chart.zoom.endIndex = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.groupColor") ? s.chart.grid.labels.yAxis.groupColor = this.config.chart.grid.labels.yAxis.groupColor : s.chart.grid.labels.yAxis.groupColor = null, s.theme ? {
868
880
  ...Z({
869
- userConfig: this.themes.vue_ui_xy[a.theme] || this.config,
870
- defaultConfig: a
881
+ userConfig: this.themes.vue_ui_xy[s.theme] || this.config,
882
+ defaultConfig: s
871
883
  }),
872
- customPalette: this.themePalettes[a.theme] || this.palette
873
- } : a;
884
+ customPalette: this.themePalettes[s.theme] || this.palette
885
+ } : s;
874
886
  },
875
887
  prepareChart() {
876
888
  if (this.objectIsEmpty(this.dataset) ? this.error({
877
889
  componentName: "VueUiXy",
878
890
  type: "dataset"
879
- }) : this.dataset.forEach((t, a) => {
891
+ }) : this.dataset.forEach((t, s) => {
880
892
  [null, void 0].includes(t.name) && this.error({
881
893
  componentName: "VueUiXy",
882
894
  type: "datasetSerieAttribute",
883
895
  property: "name (string)",
884
- index: a
896
+ index: s
885
897
  });
886
898
  }), this.FINAL_CONFIG.showWarnings && this.dataset.forEach((t) => {
887
- t.series.forEach((a, o) => {
888
- this.isSafeValue(a) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
889
- -----> The serie '${t.name}' contains the value '${a}' at index ${o}.
890
- '${a}' was converted to null to allow the chart to display.`);
899
+ t.series.forEach((s, o) => {
900
+ this.isSafeValue(s) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
901
+ -----> The serie '${t.name}' contains the value '${s}' at index ${o}.
902
+ '${s}' was converted to null to allow the chart to display.`);
891
903
  });
892
904
  }), this.showUserOptionsOnChartHover = this.FINAL_CONFIG.chart.userOptions.showOnChartHover, this.keepUserOptionState = this.FINAL_CONFIG.chart.userOptions.keepStateOnChartLeave, this.userOptionsVisible = !this.FINAL_CONFIG.chart.userOptions.showOnChartHover, this.mutableConfig = {
893
905
  dataLabels: {
@@ -898,22 +910,22 @@ const Ze = X(), Je = {
898
910
  isStacked: this.FINAL_CONFIG.chart.grid.labels.yAxis.stacked,
899
911
  useIndividualScale: this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale
900
912
  }, this.FINAL_CONFIG.responsive) {
901
- const a = this.$refs.chart.parentNode, { height: o, width: h } = a.getBoundingClientRect();
913
+ const s = this.$refs.chart.parentNode, { height: o, width: d } = s.getBoundingClientRect();
902
914
  let l = null, e = 0;
903
915
  this.FINAL_CONFIG.chart.title.show && (l = this.$refs.chartTitle, e = l.getBoundingClientRect().height);
904
- let A = null, b = 0;
905
- this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (A = this.$refs.chartSlicer.$el, b = A.getBoundingClientRect().height);
906
- let I = null, y = 0;
907
- this.FINAL_CONFIG.chart.legend.show && (I = this.$refs.chartLegend, y = I.getBoundingClientRect().height);
908
- let v = 0;
909
- this.$refs.source && (v = this.$refs.source.getBoundingClientRect().height);
910
- let O = 0;
911
- this.$refs.noTitle && (O = this.$refs.noTitle.getBoundingClientRect().height), this.height = o - e - y - b - v - O, this.width = h, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((G) => {
912
- for (const N of G)
913
- this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (b = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (y = this.$refs.chartLegend.getBoundingClientRect().height), this.$refs.source && (v = this.$refs.source.getBoundingClientRect().height), requestAnimationFrame(() => {
914
- this.height = N.contentBoxSize[0].blockSize - e - y - b - v - 24, this.width = N.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
916
+ let A = null, N = 0;
917
+ this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (A = this.$refs.chartSlicer.$el, N = A.getBoundingClientRect().height);
918
+ let m = null, L = 0;
919
+ this.FINAL_CONFIG.chart.legend.show && (m = this.$refs.chartLegend, L = m.getBoundingClientRect().height);
920
+ let G = 0;
921
+ this.$refs.source && (G = this.$refs.source.getBoundingClientRect().height);
922
+ let w = 0;
923
+ this.$refs.noTitle && (w = this.$refs.noTitle.getBoundingClientRect().height), this.height = o - e - L - N - G - w, this.width = d, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((O) => {
924
+ for (const b of O)
925
+ this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (N = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (L = this.$refs.chartLegend.getBoundingClientRect().height), this.$refs.source && (G = this.$refs.source.getBoundingClientRect().height), requestAnimationFrame(() => {
926
+ this.height = b.contentBoxSize[0].blockSize - e - L - N - G - 24, this.width = b.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
915
927
  });
916
- }).observe(a);
928
+ }).observe(s);
917
929
  } else
918
930
  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;
919
931
  },
@@ -976,24 +988,24 @@ const Ze = X(), Je = {
976
988
  },
977
989
  createArea(t) {
978
990
  if (!t[0]) return [-10, -10, "", -10, -10];
979
- const a = { x: t[0].x, y: this.zero }, o = { x: t.at(-1).x, y: this.zero }, h = [];
991
+ const s = { x: t[0].x, y: this.zero }, o = { x: t.at(-1).x, y: this.zero }, d = [];
980
992
  return t.forEach((l) => {
981
- h.push(`${l.x},${l.y} `);
982
- }), [a.x, a.y, ...h, o.x, o.y].toString();
993
+ d.push(`${l.x},${l.y} `);
994
+ }), [s.x, s.y, ...d, o.x, o.y].toString();
983
995
  },
984
- createIndividualArea(t, a) {
996
+ createIndividualArea(t, s) {
985
997
  if (!t[0]) return [-10, -10, "", -10, -10];
986
- const o = { x: t[0] ? t[0].x : Math.min(...t.filter((e) => !!e).map((e) => e.x)), y: a }, h = { x: t.at(-1) ? t.at(-1).x : Math.min(...t.filter((e) => !!e).map((e) => e.x)), y: a }, l = [];
998
+ const o = { x: t[0] ? t[0].x : Math.min(...t.filter((e) => !!e).map((e) => e.x)), y: s }, d = { x: t.at(-1) ? t.at(-1).x : Math.min(...t.filter((e) => !!e).map((e) => e.x)), y: s }, l = [];
987
999
  return t.filter((e) => !!e).forEach((e) => {
988
1000
  l.push(`${e.x},${e.y} `);
989
- }), [o.x, o.y, ...l, h.x, h.y].toString();
1001
+ }), [o.x, o.y, ...l, d.x, d.y].toString();
990
1002
  },
991
1003
  createStar: q,
992
- createPolygonPath: D,
993
- fillArray(t, a) {
1004
+ createPolygonPath: H,
1005
+ fillArray(t, s) {
994
1006
  let o = Array(t).fill(0);
995
- for (let h = 0; h < a.length && h < t; h += 1)
996
- o[h] = a[h];
1007
+ for (let d = 0; d < s.length && d < t; d += 1)
1008
+ o[d] = s[d];
997
1009
  return o;
998
1010
  },
999
1011
  async setupSlicer() {
@@ -1006,12 +1018,12 @@ const Ze = X(), Je = {
1006
1018
  this.setupSlicer();
1007
1019
  },
1008
1020
  validSlicerEnd(t) {
1009
- const a = Math.max(...this.dataset.map((o) => this.largestTriangleThreeBucketsArray({ data: o.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length));
1010
- return t > a ? a : t < 0 || this.FINAL_CONFIG.chart.zoom.startIndex !== null && t < this.FINAL_CONFIG.chart.zoom.startIndex ? this.FINAL_CONFIG.chart.zoom.startIndex !== null ? this.FINAL_CONFIG.chart.zoom.startIndex + 1 : 1 : t;
1021
+ const s = Math.max(...this.dataset.map((o) => this.largestTriangleThreeBucketsArray({ data: o.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length));
1022
+ return t > s ? s : t < 0 || this.FINAL_CONFIG.chart.zoom.startIndex !== null && t < this.FINAL_CONFIG.chart.zoom.startIndex ? this.FINAL_CONFIG.chart.zoom.startIndex !== null ? this.FINAL_CONFIG.chart.zoom.startIndex + 1 : 1 : t;
1011
1023
  },
1012
1024
  calcRectHeight(t) {
1013
- const a = ![null, void 0].includes(this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin) && this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin > 0 && this.min >= 0 ? this.drawingArea.bottom : this.zero;
1014
- return t.value >= 0 ? this.checkNaN(a - t.y <= 0 ? 1e-5 : a - t.y) : this.checkNaN(t.y - this.zero <= 0 ? 1e-5 : t.y - this.zero);
1025
+ const s = ![null, void 0].includes(this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin) && this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin > 0 && this.min >= 0 ? this.drawingArea.bottom : this.zero;
1026
+ return t.value >= 0 ? this.checkNaN(s - t.y <= 0 ? 1e-5 : s - t.y) : this.checkNaN(t.y - this.zero <= 0 ? 1e-5 : t.y - this.zero);
1015
1027
  },
1016
1028
  calcIndividualHeight(t) {
1017
1029
  return t.value >= 0 ? this.checkNaN(t.zeroPosition - t.y <= 0 ? 1e-5 : t.zeroPosition - t.y) : this.checkNaN(t.y - t.zeroPosition <= 0 ? 1e-5 : t.zeroPosition - t.y);
@@ -1031,11 +1043,11 @@ const Ze = X(), Je = {
1031
1043
  canShowValue(t) {
1032
1044
  return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(t);
1033
1045
  },
1034
- findClosestValue(t, a) {
1035
- let o = a[0], h = Math.abs(t - a[0]);
1036
- for (let l = 1; l < a.length; l += 1) {
1037
- const e = Math.abs(t - a[l]);
1038
- e < h && a[l] < t && (o = a[l], h = e);
1046
+ findClosestValue(t, s) {
1047
+ let o = s[0], d = Math.abs(t - s[0]);
1048
+ for (let l = 1; l < s.length; l += 1) {
1049
+ const e = Math.abs(t - s[l]);
1050
+ e < d && s[l] < t && (o = s[l], d = e);
1039
1051
  }
1040
1052
  return o;
1041
1053
  },
@@ -1046,11 +1058,11 @@ const Ze = X(), Je = {
1046
1058
  this.$emit(
1047
1059
  "selectX",
1048
1060
  {
1049
- dataset: this.relativeDataset.map((a) => ({
1050
- name: a.name,
1051
- value: [null, void 0, NaN].includes(a.absoluteValues[t]) ? null : a.absoluteValues[t],
1052
- color: a.color,
1053
- type: a.type
1061
+ dataset: this.relativeDataset.map((s) => ({
1062
+ name: s.name,
1063
+ value: [null, void 0, NaN].includes(s.absoluteValues[t]) ? null : s.absoluteValues[t],
1064
+ color: s.color,
1065
+ type: s.type
1054
1066
  })),
1055
1067
  index: t,
1056
1068
  indexLabel: this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[t]
@@ -1067,20 +1079,20 @@ const Ze = X(), Je = {
1067
1079
  },
1068
1080
  segregate(t) {
1069
1081
  if (this.segregatedSeries.includes(t.id))
1070
- this.segregatedSeries = this.segregatedSeries.filter((a) => a !== t.id);
1082
+ this.segregatedSeries = this.segregatedSeries.filter((s) => s !== t.id);
1071
1083
  else {
1072
1084
  if (this.segregatedSeries.length + 1 === this.safeDataset.length) return;
1073
1085
  this.segregatedSeries.push(t.id);
1074
1086
  }
1075
- this.$emit("selectLegend", this.relativeDataset.map((a) => ({
1076
- name: a.name,
1077
- values: a.absoluteValues,
1078
- color: a.color,
1079
- type: a.type
1087
+ this.$emit("selectLegend", this.relativeDataset.map((s) => ({
1088
+ name: s.name,
1089
+ values: s.absoluteValues,
1090
+ color: s.color,
1091
+ type: s.type
1080
1092
  }))), this.segregateStep += 1;
1081
1093
  },
1082
- toggleTooltipVisibility(t, a = null) {
1083
- this.isTooltip = t, t ? this.selectedSerieIndex = a : this.selectedSerieIndex = null;
1094
+ toggleTooltipVisibility(t, s = null) {
1095
+ this.isTooltip = t, t ? this.selectedSerieIndex = s : this.selectedSerieIndex = null;
1084
1096
  },
1085
1097
  toggleFullscreen(t) {
1086
1098
  this.isFullscreen = t, this.step += 1;
@@ -1104,7 +1116,7 @@ const Ze = X(), Je = {
1104
1116
  }, 100);
1105
1117
  },
1106
1118
  generateCsv() {
1107
- const t = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], a = ["", ...this.table.head.map((e) => e.label)], o = this.table.body, h = t.concat([a]).concat(o), l = this.createCsvContent(h);
1119
+ const t = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], s = ["", ...this.table.head.map((e) => e.label)], o = this.table.body, d = t.concat([s]).concat(o), l = this.createCsvContent(d);
1108
1120
  this.downloadCsv({ csvContent: l, title: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy" });
1109
1121
  },
1110
1122
  showSpinnerImage() {
@@ -1127,69 +1139,89 @@ const Ze = X(), Je = {
1127
1139
  }, 100);
1128
1140
  }
1129
1141
  }
1130
- }, Ke = ["id"], Qe = {
1142
+ }, Qe = ["id"], je = {
1131
1143
  key: 1,
1132
1144
  ref: "noTitle",
1133
1145
  class: "vue-data-ui-no-title-space",
1134
1146
  style: "height:36px; width: 100%; background:transparent"
1135
- }, je = ["viewBox", "aria-label"], $e = ["x", "y", "width", "height"], et = { key: 1 }, tt = { class: "vue-ui-xy-grid" }, lt = ["stroke", "x1", "x2", "y1", "y2"], rt = ["stroke", "x1", "x2", "y1", "y2"], it = { key: 1 }, at = ["x1", "x2", "y1", "y2", "stroke"], st = ["x1", "x2", "y1", "y2", "stroke"], nt = ["x1", "x2", "y1", "y2", "stroke"], ct = { key: 3 }, ot = ["x1", "x2", "y1", "y2", "stroke"], ht = ["id"], ut = ["stop-color"], dt = ["stop-color"], gt = ["stop-color"], ft = ["id"], It = ["stop-color"], mt = ["stop-color"], bt = ["stop-color"], Nt = ["id"], xt = ["stop-color"], Ft = ["stop-color"], _t = ["id"], At = ["stop-color"], yt = ["stop-color"], Lt = ["id"], Ct = ["stop-color"], St = ["stop-color"], kt = ["x", "y", "height", "width", "fill"], wt = ["x", "y", "width"], Ot = ["x", "y", "height", "width", "fill"], Gt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], vt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], pt = ["width", "x", "y"], zt = { key: 0 }, Mt = ["id"], Tt = ["fill"], Pt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Vt = ["x", "y", "font-size", "fill"], Rt = ["stroke", "x1", "x2", "y1", "y2"], Dt = { key: 2 }, Ht = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Wt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Bt = { key: 4 }, Et = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Yt = ["fill", "font-size", "transform"], qt = ["x1", "x2", "y1", "y2", "stroke"], Xt = ["x", "y", "font-size", "fill"], Ut = ["x1", "x2", "y1", "y2", "stroke"], Zt = ["x", "y", "font-size", "fill"], Jt = ["width", "x", "y"], Kt = { style: { width: "100%" } }, Qt = { key: 0 }, jt = ["id"], $t = ["fill"], el = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], tl = ["x", "y", "font-size", "fill"], ll = ["d", "stroke", "stroke-width", "stroke-dasharray"], rl = ["d", "stroke", "stroke-width", "stroke-dasharray"], il = { key: 5 }, al = { key: 0 }, sl = ["d", "fill"], nl = ["d", "fill"], cl = ["d", "fill"], ol = ["d", "fill"], hl = ["d", "stroke", "stroke-width", "stroke-dasharray"], ul = ["d", "stroke", "stroke-width", "stroke-dasharray"], dl = ["width", "x", "y"], gl = { style: { width: "100%" } }, fl = { key: 3 }, Il = ["id"], ml = ["fill"], bl = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Nl = ["x", "y", "font-size", "fill"], xl = { key: 6 }, Fl = ["x", "y", "font-size", "fill"], _l = ["x", "y", "font-size", "fill", "font-weight"], Al = { key: 7 }, yl = ["x", "y", "font-size", "fill"], Ll = ["x", "y"], Cl = ["x", "y"], Sl = { key: 8 }, kl = ["x", "y", "font-size", "fill"], wl = ["x", "y"], Ol = ["x", "y"], Gl = ["x", "y", "font-size", "fill", "innerHTML"], vl = ["x", "y", "font-size", "fill", "innerHTML"], pl = ["x", "y", "font-size", "fill", "innerHTML"], zl = ["x", "y", "font-size", "fill", "innerHTML"], Ml = ["id"], Tl = ["stop-color"], Pl = ["stop-color"], Vl = ["x", "y", "width", "height", "fill", "onMouseenter"], Rl = ["font-size", "fill", "transform"], Dl = ["x", "y", "font-size", "fill"], Hl = { key: 10 }, Wl = ["text-anchor", "font-size", "fill", "transform", "onClick"], Bl = ["x", "y", "height", "width", "onMouseenter", "onClick"], El = {
1147
+ }, $e = ["viewBox", "aria-label"], et = ["x", "y", "width", "height"], tt = { key: 1 }, lt = { class: "vue-ui-xy-grid" }, at = ["stroke", "x1", "x2", "y1", "y2"], rt = ["stroke", "x1", "x2", "y1", "y2"], it = { key: 1 }, st = ["x1", "x2", "y1", "y2", "stroke"], nt = ["x1", "x2", "y1", "y2", "stroke"], ct = ["x1", "x2", "y1", "y2", "stroke"], ot = { key: 3 }, ht = ["x1", "x2", "y1", "y2", "stroke"], ut = ["id"], dt = ["stop-color"], gt = ["stop-color"], ft = ["stop-color"], It = ["id"], mt = ["stop-color"], Nt = ["stop-color"], xt = ["stop-color"], bt = ["id"], Ft = ["stop-color"], _t = ["stop-color"], yt = ["id"], At = ["stop-color"], Lt = ["stop-color"], Ct = ["id"], St = ["stop-color"], kt = ["stop-color"], wt = ["x", "y", "height", "width", "fill"], Ot = ["x", "y", "width"], Gt = ["x", "y", "height", "width", "fill"], vt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], pt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Mt = ["width", "x", "y"], zt = { key: 0 }, Tt = ["id"], Pt = ["fill"], Vt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Rt = ["x", "y", "font-size", "fill"], Ht = ["stroke", "x1", "x2", "y1", "y2"], Dt = { key: 2 }, Bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Et = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Wt = { key: 4 }, Yt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], qt = ["fill", "font-size", "transform"], Xt = ["x1", "x2", "y1", "y2", "stroke"], Ut = ["x", "y", "font-size", "fill"], Zt = ["x1", "x2", "y1", "y2", "stroke"], Jt = ["x", "y", "font-size", "fill"], Kt = ["width", "x", "y"], Qt = { style: { width: "100%" } }, jt = { key: 0 }, $t = ["id"], el = ["fill"], tl = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ll = ["x", "y", "font-size", "fill"], al = ["d", "stroke", "stroke-width", "stroke-dasharray"], rl = ["d", "stroke", "stroke-width", "stroke-dasharray"], il = { key: 5 }, sl = { key: 0 }, nl = ["d", "fill"], cl = ["d", "fill"], ol = ["d", "fill"], hl = ["d", "fill"], ul = ["d", "stroke", "stroke-width", "stroke-dasharray"], dl = ["d", "stroke", "stroke-width", "stroke-dasharray"], gl = ["width", "x", "y"], fl = { style: { width: "100%" } }, Il = { key: 3 }, ml = ["id"], Nl = ["fill"], xl = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], bl = ["x", "y", "font-size", "fill"], Fl = { key: 6 }, _l = ["x", "y", "font-size", "fill"], yl = ["x", "y", "font-size", "fill", "font-weight"], Al = { key: 7 }, Ll = ["x", "y", "font-size", "fill"], Cl = ["x", "y"], Sl = ["innerHTML"], kl = ["x", "y"], wl = ["innerHTML"], Ol = ["x1", "x2", "y1", "y2", "stroke"], Gl = { key: 8 }, vl = ["x", "y", "font-size", "fill"], pl = ["x", "y"], Ml = ["innerHTML"], zl = ["x", "y"], Tl = ["innerHTML"], Pl = ["x1", "x2", "y1", "y2", "stroke"], Vl = ["x", "y", "font-size", "fill", "innerHTML"], Rl = ["x", "y", "font-size", "fill", "innerHTML"], Hl = ["x", "y", "font-size", "fill", "innerHTML"], Dl = ["x", "y", "font-size", "fill", "innerHTML"], Bl = ["id"], El = ["stop-color"], Wl = ["stop-color"], Yl = ["x", "y", "width", "height", "fill", "onMouseenter"], ql = ["font-size", "fill", "transform"], Xl = ["x", "y", "font-size", "fill"], Ul = { key: 10 }, Zl = ["text-anchor", "font-size", "fill", "transform", "onClick"], Jl = ["x", "y", "height", "width", "onMouseenter", "onClick"], Kl = {
1136
1148
  key: 11,
1137
1149
  style: { "pointer-events": "none" }
1138
- }, Yl = ["x", "y"], ql = ["cx", "cy", "r", "fill"], Xl = {
1150
+ }, Ql = ["x", "y"], jl = ["cx", "cy", "r", "fill"], $l = {
1139
1151
  key: 5,
1140
1152
  class: "vue-data-ui-watermark"
1141
- }, Ul = ["onClick"], Zl = {
1153
+ }, ea = {
1154
+ class: "vue-ui-xy-tag-arrow",
1155
+ height: "100%",
1156
+ viewBox: "0 0 10 20",
1157
+ style: { position: "absolute", right: "100%", top: "50%", transform: "translateY(-50%)" }
1158
+ }, ta = ["fill"], la = ["innerHTML"], aa = {
1159
+ class: "vue-ui-xy-tag-arrow",
1160
+ height: "100%",
1161
+ viewBox: "0 0 10 20",
1162
+ style: { position: "absolute", left: "100%", top: "50%", transform: "translateY(-50%)" }
1163
+ }, ra = ["fill"], ia = ["innerHTML"], sa = {
1164
+ class: "vue-ui-xy-tag-arrow",
1165
+ height: "100%",
1166
+ viewBox: "0 0 10 20",
1167
+ style: { position: "absolute", right: "100%", top: "50%", transform: "translateY(-50%)" }
1168
+ }, na = ["fill"], ca = ["innerHTML"], oa = {
1169
+ class: "vue-ui-xy-tag-arrow",
1170
+ height: "100%",
1171
+ viewBox: "0 0 10 20",
1172
+ style: { position: "absolute", left: "100%", top: "50%", transform: "translateY(-50%)" }
1173
+ }, ha = ["fill"], ua = ["innerHTML"], da = ["onClick"], ga = {
1142
1174
  key: 0,
1143
1175
  viewBox: "0 0 20 12",
1144
1176
  height: "14",
1145
1177
  width: "20"
1146
- }, Jl = ["stroke", "fill"], Kl = {
1178
+ }, fa = ["stroke", "fill"], Ia = {
1147
1179
  key: 1,
1148
1180
  viewBox: "0 0 40 40",
1149
1181
  height: "14",
1150
1182
  width: "14"
1151
- }, Ql = ["fill"], jl = ["fill"], $l = {
1183
+ }, ma = ["fill"], Na = ["fill"], xa = {
1152
1184
  key: 2,
1153
1185
  viewBox: "0 0 12 12",
1154
1186
  height: "14",
1155
1187
  width: "14"
1156
- }, er = {
1157
- key: 9,
1158
- ref: "chartLegend"
1159
- }, tr = {
1188
+ }, ba = {
1160
1189
  key: 10,
1190
+ ref: "chartLegend"
1191
+ }, Fa = {
1192
+ key: 11,
1161
1193
  ref: "source",
1162
1194
  dir: "auto"
1163
- }, lr = {
1195
+ }, _a = {
1164
1196
  style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
1165
1197
  "data-html2canvas-ignore": ""
1166
- }, rr = ["innerHTML"];
1167
- function ir(t, a, o, h, l, e) {
1168
- const A = R("PenAndPaper"), b = R("Title"), I = R("UserOptions"), y = R("PackageVersion"), v = R("Shape"), O = R("Skeleton"), p = R("Slicer"), G = R("Tooltip"), N = R("BaseIcon"), L = R("TableSparkline"), z = R("DataTable"), V = R("Accordion");
1169
- return i(), s("div", {
1198
+ }, ya = ["innerHTML"];
1199
+ function Aa(t, s, o, d, l, e) {
1200
+ const A = R("PenAndPaper"), N = R("Title"), m = R("UserOptions"), L = R("PackageVersion"), G = R("Shape"), w = R("Skeleton"), v = R("Slicer"), O = R("Tooltip"), b = R("BaseIcon"), C = R("TableSparkline"), p = R("DataTable"), V = R("Accordion");
1201
+ return r(), i("div", {
1170
1202
  id: `vue-ui-xy_${l.uniqueId}`,
1171
- class: W(`vue-ui-xy ${l.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
1203
+ class: B(`vue-ui-xy ${l.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
1172
1204
  ref: "chart",
1173
- style: F(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color};width:100%;font-family:${e.FINAL_CONFIG.chart.fontFamily};${e.FINAL_CONFIG.responsive ? "height: 100%" : ""}`),
1174
- onMouseenter: a[7] || (a[7] = () => e.setUserOptionsVisibility(!0)),
1175
- onMouseleave: a[8] || (a[8] = () => e.setUserOptionsVisibility(!1))
1205
+ style: x(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color};width:100%;font-family:${e.FINAL_CONFIG.chart.fontFamily};${e.FINAL_CONFIG.responsive ? "height: 100%" : ""}`),
1206
+ onMouseenter: s[7] || (s[7] = () => e.setUserOptionsVisibility(!0)),
1207
+ onMouseleave: s[8] || (s[8] = () => e.setUserOptionsVisibility(!1))
1176
1208
  }, [
1177
- e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (i(), H(A, {
1209
+ e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (r(), D(A, {
1178
1210
  key: 0,
1179
1211
  svgRef: l.svgRef,
1180
1212
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
1181
1213
  color: e.FINAL_CONFIG.chart.color,
1182
1214
  active: l.isAnnotator,
1183
1215
  onClose: e.toggleAnnotator
1184
- }, null, 8, ["svgRef", "backgroundColor", "color", "active", "onClose"])) : u("", !0),
1185
- e.hasOptionsNoTitle ? (i(), s("div", Qe, null, 512)) : u("", !0),
1186
- e.FINAL_CONFIG.chart.title.show ? (i(), s("div", {
1216
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active", "onClose"])) : h("", !0),
1217
+ e.hasOptionsNoTitle ? (r(), i("div", je, null, 512)) : h("", !0),
1218
+ e.FINAL_CONFIG.chart.title.show ? (r(), i("div", {
1187
1219
  key: 2,
1188
1220
  ref: "chartTitle",
1189
1221
  class: "vue-ui-xy-title",
1190
- style: F(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1222
+ style: x(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1191
1223
  }, [
1192
- (i(), H(b, {
1224
+ (r(), D(N, {
1193
1225
  key: `title_${l.titleStep}`,
1194
1226
  config: {
1195
1227
  title: {
@@ -1202,8 +1234,8 @@ function ir(t, a, o, h, l, e) {
1202
1234
  }
1203
1235
  }
1204
1236
  }, null, 8, ["config"]))
1205
- ], 4)) : u("", !0),
1206
- e.FINAL_CONFIG.chart.userOptions.show && e.isDataset && (l.keepUserOptionState || l.userOptionsVisible) ? (i(), H(I, {
1237
+ ], 4)) : h("", !0),
1238
+ e.FINAL_CONFIG.chart.userOptions.show && e.isDataset && (l.keepUserOptionState || l.userOptionsVisible) ? (r(), D(m, {
1207
1239
  ref: "defails",
1208
1240
  key: `user_options_${l.step}`,
1209
1241
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
@@ -1236,14 +1268,14 @@ function ir(t, a, o, h, l, e) {
1236
1268
  onToggleStack: e.toggleStack,
1237
1269
  onToggleTooltip: e.toggleTooltip,
1238
1270
  onToggleAnnotator: e.toggleAnnotator,
1239
- style: F({
1271
+ style: x({
1240
1272
  visibility: l.keepUserOptionState ? l.userOptionsVisible ? "visible" : "hidden" : "visible"
1241
1273
  })
1242
- }, Ye({ _: 2 }, [
1274
+ }, qe({ _: 2 }, [
1243
1275
  t.$slots.menuIcon ? {
1244
1276
  name: "menuIcon",
1245
- fn: P(({ isOpen: r, color: c }) => [
1246
- S(t.$slots, "menuIcon", B(E({ isOpen: r, color: c })), void 0, !0)
1277
+ fn: P(({ isOpen: a, color: c }) => [
1278
+ S(t.$slots, "menuIcon", E(W({ isOpen: a, color: c })), void 0, !0)
1247
1279
  ]),
1248
1280
  key: "0"
1249
1281
  } : void 0,
@@ -1298,33 +1330,33 @@ function ir(t, a, o, h, l, e) {
1298
1330
  } : void 0,
1299
1331
  t.$slots.optionFullscreen ? {
1300
1332
  name: "optionFullscreen",
1301
- fn: P(({ toggleFullscreen: r, isFullscreen: c }) => [
1302
- S(t.$slots, "optionFullscreen", B(E({ toggleFullscreen: r, isFullscreen: c })), void 0, !0)
1333
+ fn: P(({ toggleFullscreen: a, isFullscreen: c }) => [
1334
+ S(t.$slots, "optionFullscreen", E(W({ toggleFullscreen: a, isFullscreen: c })), void 0, !0)
1303
1335
  ]),
1304
1336
  key: "8"
1305
1337
  } : void 0,
1306
1338
  t.$slots.optionAnnotator ? {
1307
1339
  name: "optionAnnotator",
1308
- fn: P(({ toggleAnnotator: r, isAnnotator: c }) => [
1309
- S(t.$slots, "optionAnnotator", B(E({ toggleAnnotator: r, isAnnotator: c })), void 0, !0)
1340
+ fn: P(({ toggleAnnotator: a, isAnnotator: c }) => [
1341
+ S(t.$slots, "optionAnnotator", E(W({ toggleAnnotator: a, isAnnotator: c })), void 0, !0)
1310
1342
  ]),
1311
1343
  key: "9"
1312
1344
  } : void 0
1313
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onToggleFullscreen", "onGeneratePdf", "onGenerateCsv", "onGenerateImage", "onToggleTable", "onToggleLabels", "onToggleStack", "onToggleTooltip", "onToggleAnnotator", "style"])) : u("", !0),
1314
- e.isDataset ? (i(), s("svg", {
1345
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onToggleFullscreen", "onGeneratePdf", "onGenerateCsv", "onGenerateImage", "onToggleTable", "onToggleLabels", "onToggleStack", "onToggleTooltip", "onToggleAnnotator", "style"])) : h("", !0),
1346
+ e.isDataset ? (r(), i("svg", {
1315
1347
  key: 4,
1316
1348
  ref: "svgRef",
1317
1349
  xmlns: "http://www.w3.org/2000/svg",
1318
- class: W([{ "vue-data-ui-fullscreen--on": l.isFullscreen, "vue-data-ui-fulscreen--off": !l.isFullscreen }, "vue-ui-xy-svg"]),
1350
+ class: B([{ "vue-data-ui-fullscreen--on": l.isFullscreen, "vue-data-ui-fulscreen--off": !l.isFullscreen }, "vue-ui-xy-svg"]),
1319
1351
  width: "100%",
1320
1352
  viewBox: l.viewBox,
1321
- style: F(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`),
1353
+ style: x(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`),
1322
1354
  "aria-label": e.chartAriaLabel,
1323
1355
  role: "img",
1324
1356
  "aria-live": "polite"
1325
1357
  }, [
1326
- Y(y),
1327
- t.$slots["chart-background"] ? (i(), s("foreignObject", {
1358
+ Y(L),
1359
+ t.$slots["chart-background"] ? (r(), i("foreignObject", {
1328
1360
  key: 0,
1329
1361
  x: e.drawingArea.left + e.xPadding < 0 ? 0 : e.drawingArea.left + e.xPadding,
1330
1362
  y: e.drawingArea.top,
@@ -1335,10 +1367,10 @@ function ir(t, a, o, h, l, e) {
1335
1367
  }
1336
1368
  }, [
1337
1369
  S(t.$slots, "chart-background", {}, void 0, !0)
1338
- ], 8, $e)) : u("", !0),
1339
- e.maxSeries > 0 ? (i(), s("g", et, [
1340
- d("g", tt, [
1341
- e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (i(), s("line", {
1370
+ ], 8, et)) : h("", !0),
1371
+ e.maxSeries > 0 ? (r(), i("g", tt, [
1372
+ f("g", lt, [
1373
+ e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (r(), i("line", {
1342
1374
  key: 0,
1343
1375
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1344
1376
  "stroke-width": "1",
@@ -1347,17 +1379,17 @@ function ir(t, a, o, h, l, e) {
1347
1379
  y1: e.forceValidValue(e.drawingArea.bottom),
1348
1380
  y2: e.forceValidValue(e.drawingArea.bottom),
1349
1381
  "stroke-linecap": "round"
1350
- }, null, 8, lt)) : u("", !0),
1351
- l.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (i(!0), s(g, { key: 2 }, m(e.allScales, (r) => (i(), s("g", null, [
1352
- r.id === l.selectedScale && r.yLabels.length ? (i(!0), s(g, { key: 0 }, m(r.yLabels, (c) => (i(), s("line", {
1382
+ }, null, 8, at)) : h("", !0),
1383
+ l.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(!0), i(g, { key: 2 }, I(e.allScales, (a) => (r(), i("g", null, [
1384
+ a.id === l.selectedScale && a.yLabels.length ? (r(!0), i(g, { key: 0 }, I(a.yLabels, (c) => (r(), i("line", {
1353
1385
  x1: e.drawingArea.left + e.xPadding,
1354
1386
  x2: e.drawingArea.right - e.xPadding,
1355
1387
  y1: e.forceValidValue(c.y),
1356
1388
  y2: e.forceValidValue(c.y),
1357
- stroke: r.color,
1389
+ stroke: a.color,
1358
1390
  "stroke-width": 0.5,
1359
1391
  "stroke-linecap": "round"
1360
- }, null, 8, st))), 256)) : r.yLabels.length ? (i(!0), s(g, { key: 1 }, m(r.yLabels, (c) => (i(), s("line", {
1392
+ }, null, 8, nt))), 256)) : a.yLabels.length ? (r(!0), i(g, { key: 1 }, I(a.yLabels, (c) => (r(), i("line", {
1361
1393
  x1: e.drawingArea.left + e.xPadding,
1362
1394
  x2: e.drawingArea.right - e.xPadding,
1363
1395
  y1: e.forceValidValue(c.y),
@@ -1365,9 +1397,9 @@ function ir(t, a, o, h, l, e) {
1365
1397
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1366
1398
  "stroke-width": 0.5,
1367
1399
  "stroke-linecap": "round"
1368
- }, null, 8, nt))), 256)) : u("", !0)
1369
- ]))), 256)) : u("", !0) : (i(), s(g, { key: 1 }, [
1370
- e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (i(), s("line", {
1400
+ }, null, 8, ct))), 256)) : h("", !0)
1401
+ ]))), 256)) : h("", !0) : (r(), i(g, { key: 1 }, [
1402
+ e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (r(), i("line", {
1371
1403
  key: 0,
1372
1404
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1373
1405
  "stroke-width": "1",
@@ -1376,21 +1408,21 @@ function ir(t, a, o, h, l, e) {
1376
1408
  y1: e.forceValidValue(e.drawingArea.top),
1377
1409
  y2: e.forceValidValue(e.drawingArea.bottom),
1378
1410
  "stroke-linecap": "round"
1379
- }, null, 8, rt)) : u("", !0),
1380
- e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (i(), s("g", it, [
1381
- (i(!0), s(g, null, m(e.yLabels, (r) => (i(), s("line", {
1411
+ }, null, 8, rt)) : h("", !0),
1412
+ e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(), i("g", it, [
1413
+ (r(!0), i(g, null, I(e.yLabels, (a) => (r(), i("line", {
1382
1414
  x1: e.drawingArea.left + e.xPadding,
1383
1415
  x2: e.drawingArea.right - e.xPadding,
1384
- y1: e.forceValidValue(r.y),
1385
- y2: e.forceValidValue(r.y),
1416
+ y1: e.forceValidValue(a.y),
1417
+ y2: e.forceValidValue(a.y),
1386
1418
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1387
1419
  "stroke-width": 0.5,
1388
1420
  "stroke-linecap": "round"
1389
- }, null, 8, at))), 256))
1390
- ])) : u("", !0)
1421
+ }, null, 8, st))), 256))
1422
+ ])) : h("", !0)
1391
1423
  ], 64)),
1392
- e.FINAL_CONFIG.chart.grid.showVerticalLines ? (i(), s("g", ct, [
1393
- (i(!0), s(g, null, m(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (r, c) => (i(), s("line", {
1424
+ e.FINAL_CONFIG.chart.grid.showVerticalLines ? (r(), i("g", ot, [
1425
+ (r(!0), i(g, null, I(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (a, c) => (r(), i("line", {
1394
1426
  key: `grid_vertical_line_${c}`,
1395
1427
  x1: e.drawingArea.width / e.maxSeries * c + e.drawingArea.left + e.xPadding,
1396
1428
  x2: e.drawingArea.width / e.maxSeries * c + e.drawingArea.left + e.xPadding,
@@ -1398,53 +1430,53 @@ function ir(t, a, o, h, l, e) {
1398
1430
  y2: e.forceValidValue(e.drawingArea.bottom),
1399
1431
  "stroke-width": "0.5",
1400
1432
  stroke: e.FINAL_CONFIG.chart.grid.stroke
1401
- }, null, 8, ot))), 128))
1402
- ])) : u("", !0)
1433
+ }, null, 8, ht))), 128))
1434
+ ])) : h("", !0)
1403
1435
  ]),
1404
- (i(!0), s(g, null, m(e.barSet, (r, c) => (i(), s("defs", {
1436
+ (r(!0), i(g, null, I(e.barSet, (a, c) => (r(), i("defs", {
1405
1437
  key: `def_rect_${c}`
1406
1438
  }, [
1407
- d("linearGradient", {
1439
+ f("linearGradient", {
1408
1440
  id: `rectGradient_pos_${c}_${l.uniqueId}`,
1409
1441
  x2: "0%",
1410
1442
  y2: "100%"
1411
1443
  }, [
1412
- d("stop", {
1444
+ f("stop", {
1413
1445
  offset: "0%",
1414
- "stop-color": r.color
1415
- }, null, 8, ut),
1416
- d("stop", {
1417
- offset: "62%",
1418
- "stop-color": `${e.shiftHue(r.color, 0.02)}`
1446
+ "stop-color": a.color
1419
1447
  }, null, 8, dt),
1420
- d("stop", {
1448
+ f("stop", {
1449
+ offset: "62%",
1450
+ "stop-color": `${e.shiftHue(a.color, 0.02)}`
1451
+ }, null, 8, gt),
1452
+ f("stop", {
1421
1453
  offset: "100%",
1422
- "stop-color": `${e.shiftHue(r.color, 0.05)}`
1423
- }, null, 8, gt)
1424
- ], 8, ht),
1425
- d("linearGradient", {
1454
+ "stop-color": `${e.shiftHue(a.color, 0.05)}`
1455
+ }, null, 8, ft)
1456
+ ], 8, ut),
1457
+ f("linearGradient", {
1426
1458
  id: `rectGradient_neg_${c}_${l.uniqueId}`,
1427
1459
  x2: "0%",
1428
1460
  y2: "100%"
1429
1461
  }, [
1430
- d("stop", {
1462
+ f("stop", {
1431
1463
  offset: "0%",
1432
- "stop-color": `${e.shiftHue(r.color, 0.05)}`
1433
- }, null, 8, It),
1434
- d("stop", {
1435
- offset: "38%",
1436
- "stop-color": `${e.shiftHue(r.color, 0.02)}`
1464
+ "stop-color": `${e.shiftHue(a.color, 0.05)}`
1437
1465
  }, null, 8, mt),
1438
- d("stop", {
1466
+ f("stop", {
1467
+ offset: "38%",
1468
+ "stop-color": `${e.shiftHue(a.color, 0.02)}`
1469
+ }, null, 8, Nt),
1470
+ f("stop", {
1439
1471
  offset: "100%",
1440
- "stop-color": r.color
1441
- }, null, 8, bt)
1442
- ], 8, ft)
1472
+ "stop-color": a.color
1473
+ }, null, 8, xt)
1474
+ ], 8, It)
1443
1475
  ]))), 128)),
1444
- (i(!0), s(g, null, m(e.plotSet, (r, c) => (i(), s("defs", {
1476
+ (r(!0), i(g, null, I(e.plotSet, (a, c) => (r(), i("defs", {
1445
1477
  key: `def_plot_${c}`
1446
1478
  }, [
1447
- d("radialGradient", {
1479
+ f("radialGradient", {
1448
1480
  id: `plotGradient_${c}_${l.uniqueId}`,
1449
1481
  cx: "50%",
1450
1482
  cy: "50%",
@@ -1452,20 +1484,20 @@ function ir(t, a, o, h, l, e) {
1452
1484
  fx: "50%",
1453
1485
  fy: "50%"
1454
1486
  }, [
1455
- d("stop", {
1487
+ f("stop", {
1456
1488
  offset: "0%",
1457
- "stop-color": `${e.shiftHue(r.color, 0.05)}`
1458
- }, null, 8, xt),
1459
- d("stop", {
1489
+ "stop-color": `${e.shiftHue(a.color, 0.05)}`
1490
+ }, null, 8, Ft),
1491
+ f("stop", {
1460
1492
  offset: "100%",
1461
- "stop-color": r.color
1462
- }, null, 8, Ft)
1463
- ], 8, Nt)
1493
+ "stop-color": a.color
1494
+ }, null, 8, _t)
1495
+ ], 8, bt)
1464
1496
  ]))), 128)),
1465
- (i(!0), s(g, null, m(e.lineSet, (r, c) => (i(), s("defs", {
1497
+ (r(!0), i(g, null, I(e.lineSet, (a, c) => (r(), i("defs", {
1466
1498
  key: `def_line_${c}`
1467
1499
  }, [
1468
- d("radialGradient", {
1500
+ f("radialGradient", {
1469
1501
  id: `lineGradient_${c}_${l.uniqueId}`,
1470
1502
  cx: "50%",
1471
1503
  cy: "50%",
@@ -1473,106 +1505,106 @@ function ir(t, a, o, h, l, e) {
1473
1505
  fx: "50%",
1474
1506
  fy: "50%"
1475
1507
  }, [
1476
- d("stop", {
1508
+ f("stop", {
1477
1509
  offset: "0%",
1478
- "stop-color": `${e.shiftHue(r.color, 0.05)}`
1510
+ "stop-color": `${e.shiftHue(a.color, 0.05)}`
1479
1511
  }, null, 8, At),
1480
- d("stop", {
1512
+ f("stop", {
1481
1513
  offset: "100%",
1482
- "stop-color": r.color
1483
- }, null, 8, yt)
1484
- ], 8, _t),
1485
- d("linearGradient", {
1514
+ "stop-color": a.color
1515
+ }, null, 8, Lt)
1516
+ ], 8, yt),
1517
+ f("linearGradient", {
1486
1518
  id: `areaGradient_${c}_${l.uniqueId}`,
1487
1519
  x1: "0%",
1488
1520
  x2: "100%",
1489
1521
  y1: "0%",
1490
1522
  y2: "0%"
1491
1523
  }, [
1492
- d("stop", {
1524
+ f("stop", {
1493
1525
  offset: "0%",
1494
- "stop-color": `${e.setOpacity(e.shiftHue(r.color, 0.03), e.FINAL_CONFIG.line.area.opacity)}`
1495
- }, null, 8, Ct),
1496
- d("stop", {
1526
+ "stop-color": `${e.setOpacity(e.shiftHue(a.color, 0.03), e.FINAL_CONFIG.line.area.opacity)}`
1527
+ }, null, 8, St),
1528
+ f("stop", {
1497
1529
  offset: "100%",
1498
- "stop-color": `${e.setOpacity(r.color, e.FINAL_CONFIG.line.area.opacity)}`
1499
- }, null, 8, St)
1500
- ], 8, Lt)
1530
+ "stop-color": `${e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)}`
1531
+ }, null, 8, kt)
1532
+ ], 8, Ct)
1501
1533
  ]))), 128)),
1502
- (i(!0), s(g, null, m(e.highlightAreas, (r) => (i(), s("g", null, [
1503
- r.show ? (i(!0), s(g, { key: 0 }, m(r.span, (c, n) => (i(), s("g", null, [
1504
- d("rect", {
1505
- style: F({
1534
+ (r(!0), i(g, null, I(e.highlightAreas, (a) => (r(), i("g", null, [
1535
+ a.show ? (r(!0), i(g, { key: 0 }, I(a.span, (c, n) => (r(), i("g", null, [
1536
+ f("rect", {
1537
+ style: x({
1506
1538
  transition: "none",
1507
- opacity: r.from + n >= l.slicer.start && r.from + n <= l.slicer.end - 1 ? 1 : 0
1539
+ opacity: a.from + n >= l.slicer.start && a.from + n <= l.slicer.end - 1 ? 1 : 0
1508
1540
  }),
1509
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (r.from + n - l.slicer.start),
1541
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.from + n - l.slicer.start),
1510
1542
  y: e.drawingArea.top,
1511
1543
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1512
1544
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
1513
- fill: e.setOpacity(r.color, r.opacity)
1514
- }, null, 12, kt),
1515
- r.caption.text && n === 0 ? (i(), s("foreignObject", {
1545
+ fill: e.setOpacity(a.color, a.opacity)
1546
+ }, null, 12, wt),
1547
+ a.caption.text && n === 0 ? (r(), i("foreignObject", {
1516
1548
  key: 0,
1517
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (r.from + n - l.slicer.start) - (r.caption.width === "auto" ? 0 : r.caption.width / 2 - e.drawingArea.width / e.maxSeries * r.span / 2),
1518
- y: e.drawingArea.top + r.caption.offsetY,
1519
- style: F({
1549
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.from + n - l.slicer.start) - (a.caption.width === "auto" ? 0 : a.caption.width / 2 - e.drawingArea.width / e.maxSeries * a.span / 2),
1550
+ y: e.drawingArea.top + a.caption.offsetY,
1551
+ style: x({
1520
1552
  overflow: "visible",
1521
- opacity: r.to >= l.slicer.start && r.from < l.slicer.end ? 1 : 0
1553
+ opacity: a.to >= l.slicer.start && a.from < l.slicer.end ? 1 : 0
1522
1554
  }),
1523
1555
  height: "1",
1524
- width: r.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * r.span : r.caption.width
1556
+ width: a.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * a.span : a.caption.width
1525
1557
  }, [
1526
- d("div", {
1527
- style: F(`padding:${r.caption.padding}px;text-align:${r.caption.textAlign};font-size:${r.caption.fontSize}px;color:${r.caption.color};font-weight:${r.caption.bold ? "bold" : "normal"}`)
1528
- }, w(r.caption.text), 5)
1529
- ], 12, wt)) : u("", !0)
1530
- ]))), 256)) : u("", !0)
1558
+ f("div", {
1559
+ style: x(`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"}`)
1560
+ }, T(a.caption.text), 5)
1561
+ ], 12, Ot)) : h("", !0)
1562
+ ]))), 256)) : h("", !0)
1531
1563
  ]))), 256)),
1532
- d("g", null, [
1533
- (i(!0), s(g, null, m(e.maxSeries, (r, c) => (i(), s("g", {
1564
+ f("g", null, [
1565
+ (r(!0), i(g, null, I(e.maxSeries, (a, c) => (r(), i("g", {
1534
1566
  key: `tooltip_trap_highlighter_${c}`
1535
1567
  }, [
1536
- d("rect", {
1568
+ f("rect", {
1537
1569
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * c,
1538
1570
  y: e.drawingArea.top,
1539
1571
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1540
1572
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
1541
1573
  fill: [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(c) ? e.setOpacity(e.FINAL_CONFIG.chart.highlighter.color, e.FINAL_CONFIG.chart.highlighter.opacity) : "transparent"
1542
- }, null, 8, Ot)
1574
+ }, null, 8, Gt)
1543
1575
  ]))), 128))
1544
1576
  ]),
1545
- e.barSet.length ? (i(!0), s(g, { key: 0 }, m(e.barSet, (r, c) => (i(), s("g", {
1577
+ e.barSet.length ? (r(!0), i(g, { key: 0 }, I(e.barSet, (a, c) => (r(), i("g", {
1546
1578
  key: `serie_bar_${c}`,
1547
- class: W(`serie_bar_${c}`),
1548
- style: F(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1579
+ class: B(`serie_bar_${c}`),
1580
+ style: x(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1549
1581
  }, [
1550
- (i(!0), s(g, null, m(r.plots, (n, f) => (i(), s("g", {
1551
- key: `bar_plot_${c}_${f}`
1582
+ (r(!0), i(g, null, I(a.plots, (n, u) => (r(), i("g", {
1583
+ key: `bar_plot_${c}_${u}`
1552
1584
  }, [
1553
- e.canShowValue(n.value) ? (i(), s("rect", {
1585
+ e.canShowValue(n.value) ? (r(), i("rect", {
1554
1586
  key: 0,
1555
1587
  x: e.calcRectX(n),
1556
1588
  y: l.mutableConfig.useIndividualScale ? e.calcIndividualRectY(n) : e.calcRectY(n),
1557
1589
  height: l.mutableConfig.useIndividualScale ? Math.abs(e.calcIndividualHeight(n)) : Math.abs(e.calcRectHeight(n)),
1558
1590
  width: e.calcRectWidth() - (l.mutableConfig.useIndividualScale && l.mutableConfig.isStacked ? 0 : e.barPeriodGap) < 0 ? 1e-5 : e.calcRectWidth() - (l.mutableConfig.useIndividualScale && l.mutableConfig.isStacked ? 0 : e.barPeriodGap),
1559
1591
  rx: e.FINAL_CONFIG.bar.borderRadius,
1560
- fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${c}_${l.uniqueId})` : `url(#rectGradient_neg_${c}_${l.uniqueId})` : r.color,
1561
- stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? r.color : e.FINAL_CONFIG.bar.border.stroke,
1592
+ fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${c}_${l.uniqueId})` : `url(#rectGradient_neg_${c}_${l.uniqueId})` : a.color,
1593
+ stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? a.color : e.FINAL_CONFIG.bar.border.stroke,
1562
1594
  "stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
1563
- }, null, 8, Gt)) : u("", !0),
1564
- e.canShowValue(n.value) && t.$slots.pattern ? (i(), s("rect", {
1595
+ }, null, 8, vt)) : h("", !0),
1596
+ e.canShowValue(n.value) && t.$slots.pattern ? (r(), i("rect", {
1565
1597
  key: 1,
1566
1598
  x: e.calcRectX(n),
1567
1599
  y: l.mutableConfig.useIndividualScale ? e.calcIndividualRectY(n) : e.calcRectY(n),
1568
1600
  height: l.mutableConfig.useIndividualScale ? Math.abs(e.calcIndividualHeight(n)) : Math.abs(e.calcRectHeight(n)),
1569
1601
  width: e.calcRectWidth() - (l.mutableConfig.useIndividualScale && l.mutableConfig.isStacked ? 0 : e.barPeriodGap) < 0 ? 1e-5 : e.calcRectWidth() - (l.mutableConfig.useIndividualScale && l.mutableConfig.isStacked ? 0 : e.barPeriodGap),
1570
1602
  rx: e.FINAL_CONFIG.bar.borderRadius,
1571
- fill: `url(#pattern_${l.uniqueId}_${r.slotAbsoluteIndex})`,
1572
- stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? r.color : e.FINAL_CONFIG.bar.border.stroke,
1603
+ fill: `url(#pattern_${l.uniqueId}_${a.slotAbsoluteIndex})`,
1604
+ stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? a.color : e.FINAL_CONFIG.bar.border.stroke,
1573
1605
  "stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
1574
- }, null, 8, vt)) : u("", !0),
1575
- n.comment && e.FINAL_CONFIG.chart.comments.show ? (i(), s("foreignObject", {
1606
+ }, null, 8, pt)) : h("", !0),
1607
+ n.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), i("foreignObject", {
1576
1608
  key: 2,
1577
1609
  style: { overflow: "visible" },
1578
1610
  height: "12",
@@ -1581,13 +1613,13 @@ function ir(t, a, o, h, l, e) {
1581
1613
  y: e.checkNaN(n.y) + e.FINAL_CONFIG.chart.comments.offsetY + 6
1582
1614
  }, [
1583
1615
  S(t.$slots, "plot-comment", {
1584
- plot: { ...n, color: r.color, seriesIndex: c, datapointIndex: f }
1616
+ plot: { ...n, color: a.color, seriesIndex: c, datapointIndex: u }
1585
1617
  }, void 0, !0)
1586
- ], 8, pt)) : u("", !0)
1618
+ ], 8, Mt)) : h("", !0)
1587
1619
  ]))), 128)),
1588
- Object.hasOwn(r, "useProgression") && r.useProgression === !0 && !isNaN(e.calcLinearProgression(r.plots).trend) ? (i(), s("g", zt, [
1589
- d("defs", null, [
1590
- d("marker", {
1620
+ Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g", zt, [
1621
+ f("defs", null, [
1622
+ f("marker", {
1591
1623
  id: `bar_arrow_${c}`,
1592
1624
  markerWidth: 7,
1593
1625
  markerHeight: 7,
@@ -1595,38 +1627,38 @@ function ir(t, a, o, h, l, e) {
1595
1627
  refY: 7 / 2,
1596
1628
  orient: "auto"
1597
1629
  }, [
1598
- d("polygon", {
1630
+ f("polygon", {
1599
1631
  points: `0 0, 7 ${7 / 2}, 0 7`,
1600
- fill: r.color
1601
- }, null, 8, Tt)
1602
- ], 8, Mt)
1632
+ fill: a.color
1633
+ }, null, 8, Pt)
1634
+ ], 8, Tt)
1603
1635
  ]),
1604
- r.plots.length > 1 ? (i(), s("line", {
1636
+ a.plots.length > 1 ? (r(), i("line", {
1605
1637
  key: 0,
1606
- x1: e.calcLinearProgression(r.plots).x1,
1607
- x2: e.calcLinearProgression(r.plots).x2,
1608
- y1: e.forceValidValue(e.calcLinearProgression(r.plots).y1),
1609
- y2: e.forceValidValue(e.calcLinearProgression(r.plots).y2),
1638
+ x1: e.calcLinearProgression(a.plots).x1,
1639
+ x2: e.calcLinearProgression(a.plots).x2,
1640
+ y1: e.forceValidValue(e.calcLinearProgression(a.plots).y1),
1641
+ y2: e.forceValidValue(e.calcLinearProgression(a.plots).y2),
1610
1642
  "stroke-width": 1,
1611
- stroke: r.color,
1643
+ stroke: a.color,
1612
1644
  "stroke-dasharray": 2,
1613
1645
  "marker-end": `url(#bar_arrow_${c})`
1614
- }, null, 8, Pt)) : u("", !0),
1615
- r.plots.length > 1 ? (i(), s("text", {
1646
+ }, null, 8, Vt)) : h("", !0),
1647
+ a.plots.length > 1 ? (r(), i("text", {
1616
1648
  key: 1,
1617
1649
  "text-anchor": "middle",
1618
- x: e.calcLinearProgression(r.plots).x2,
1619
- y: e.calcLinearProgression(r.plots).y2 - 6,
1650
+ x: e.calcLinearProgression(a.plots).x2,
1651
+ y: e.calcLinearProgression(a.plots).y2 - 6,
1620
1652
  "font-size": l.fontSizes.plotLabels,
1621
- fill: r.color
1622
- }, w(e.dataLabel({
1623
- v: e.calcLinearProgression(r.plots).trend * 100,
1653
+ fill: a.color
1654
+ }, T(e.dataLabel({
1655
+ v: e.calcLinearProgression(a.plots).trend * 100,
1624
1656
  s: "%",
1625
1657
  r: 2
1626
- })), 9, Vt)) : u("", !0)
1627
- ])) : u("", !0)
1628
- ], 6))), 128)) : u("", !0),
1629
- !l.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (i(), s("line", {
1658
+ })), 9, Rt)) : h("", !0)
1659
+ ])) : h("", !0)
1660
+ ], 6))), 128)) : h("", !0),
1661
+ !l.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (r(), i("line", {
1630
1662
  key: 1,
1631
1663
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1632
1664
  "stroke-width": "1",
@@ -1635,9 +1667,9 @@ function ir(t, a, o, h, l, e) {
1635
1667
  y1: e.forceValidValue(e.zero),
1636
1668
  y2: e.forceValidValue(e.zero),
1637
1669
  "stroke-linecap": "round"
1638
- }, null, 8, Rt)) : u("", !0),
1639
- e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (i(), s("g", Dt, [
1640
- d("line", {
1670
+ }, null, 8, Ht)) : h("", !0),
1671
+ e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (r(), i("g", Dt, [
1672
+ f("line", {
1641
1673
  x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)) + e.drawingArea.width / e.maxSeries / 2,
1642
1674
  x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)) + e.drawingArea.width / e.maxSeries / 2,
1643
1675
  y1: e.forceValidValue(e.drawingArea.top),
@@ -1647,9 +1679,9 @@ function ir(t, a, o, h, l, e) {
1647
1679
  "stroke-dasharray": e.FINAL_CONFIG.chart.highlighter.lineDasharray,
1648
1680
  "stroke-linecap": "round",
1649
1681
  style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
1650
- }, null, 8, Ht)
1651
- ])) : u("", !0),
1652
- e.FINAL_CONFIG.chart.grid.frame.show ? (i(), s("rect", {
1682
+ }, null, 8, Bt)
1683
+ ])) : h("", !0),
1684
+ e.FINAL_CONFIG.chart.grid.frame.show ? (r(), i("rect", {
1653
1685
  key: 3,
1654
1686
  style: { pointerEvents: "none", transition: "none" },
1655
1687
  x: e.drawingArea.left + e.xPadding < 0 ? 0 : e.drawingArea.left + e.xPadding,
@@ -1662,46 +1694,46 @@ function ir(t, a, o, h, l, e) {
1662
1694
  "stroke-linecap": e.FINAL_CONFIG.chart.grid.frame.strokeLinecap,
1663
1695
  "stroke-linejoin": e.FINAL_CONFIG.chart.grid.frame.strokeLinejoin,
1664
1696
  "stroke-dasharray": e.FINAL_CONFIG.chart.grid.frame.strokeDasharray
1665
- }, null, 8, Wt)) : u("", !0),
1666
- e.FINAL_CONFIG.chart.grid.labels.show ? (i(), s("g", Bt, [
1667
- l.mutableConfig.useIndividualScale ? (i(), s(g, { key: 0 }, [
1668
- (i(!0), s(g, null, m(e.allScales, (r) => (i(), s("g", null, [
1669
- d("line", {
1670
- x1: r.x + e.xPadding,
1671
- x2: r.x + e.xPadding,
1672
- y1: l.mutableConfig.isStacked ? e.forceValidValue(e.drawingArea.bottom - r.yOffset - r.individualHeight) : e.forceValidValue(e.drawingArea.top),
1673
- y2: l.mutableConfig.isStacked ? e.forceValidValue(e.drawingArea.bottom - r.yOffset) : e.forceValidValue(e.drawingArea.bottom),
1674
- stroke: r.color,
1697
+ }, null, 8, Et)) : h("", !0),
1698
+ e.FINAL_CONFIG.chart.grid.labels.show ? (r(), i("g", Wt, [
1699
+ l.mutableConfig.useIndividualScale ? (r(), i(g, { key: 0 }, [
1700
+ (r(!0), i(g, null, I(e.allScales, (a) => (r(), i("g", null, [
1701
+ f("line", {
1702
+ x1: a.x + e.xPadding,
1703
+ x2: a.x + e.xPadding,
1704
+ y1: l.mutableConfig.isStacked ? e.forceValidValue(e.drawingArea.bottom - a.yOffset - a.individualHeight) : e.forceValidValue(e.drawingArea.top),
1705
+ y2: l.mutableConfig.isStacked ? e.forceValidValue(e.drawingArea.bottom - a.yOffset) : e.forceValidValue(e.drawingArea.bottom),
1706
+ stroke: a.color,
1675
1707
  "stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
1676
1708
  "stroke-linecap": "round",
1677
- style: F(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1678
- }, null, 12, Et)
1709
+ style: x(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1710
+ }, null, 12, Yt)
1679
1711
  ]))), 256)),
1680
- (i(!0), s(g, null, m(e.allScales, (r) => (i(), s("g", {
1681
- style: F(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1712
+ (r(!0), i(g, null, I(e.allScales, (a) => (r(), i("g", {
1713
+ style: x(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1682
1714
  }, [
1683
- d("text", {
1684
- fill: r.color,
1715
+ f("text", {
1716
+ fill: a.color,
1685
1717
  "font-size": l.fontSizes.dataLabels,
1686
1718
  "text-anchor": "middle",
1687
- transform: `translate(${r.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5 + e.xPadding + e.FINAL_CONFIG.chart.grid.labels.yAxis.scaleLabelOffsetX}, ${l.mutableConfig.isStacked ? e.drawingArea.bottom - r.yOffset - r.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
1688
- }, w(r.name) + " " + w(r.scaleLabel && r.unique && r.scaleLabel !== r.id ? `- ${r.scaleLabel}` : ""), 9, Yt),
1689
- (i(!0), s(g, null, m(r.yLabels, (c, n) => (i(), s("line", {
1690
- x1: r.x - 3 + e.xPadding,
1691
- x2: r.x + e.xPadding,
1719
+ transform: `translate(${a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5 + e.xPadding + e.FINAL_CONFIG.chart.grid.labels.yAxis.scaleLabelOffsetX}, ${l.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset - a.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
1720
+ }, T(a.name) + " " + T(a.scaleLabel && a.unique && a.scaleLabel !== a.id ? `- ${a.scaleLabel}` : ""), 9, qt),
1721
+ (r(!0), i(g, null, I(a.yLabels, (c, n) => (r(), i("line", {
1722
+ x1: a.x - 3 + e.xPadding,
1723
+ x2: a.x + e.xPadding,
1692
1724
  y1: e.forceValidValue(c.y),
1693
1725
  y2: e.forceValidValue(c.y),
1694
- stroke: r.color,
1726
+ stroke: a.color,
1695
1727
  "stroke-width": 1,
1696
1728
  "stroke-linecap": "round"
1697
- }, null, 8, qt))), 256)),
1698
- (i(!0), s(g, null, m(r.yLabels, (c, n) => (i(), s("text", {
1699
- x: r.x - 5 + e.xPadding + e.FINAL_CONFIG.chart.grid.labels.yAxis.scaleValueOffsetX,
1729
+ }, null, 8, Xt))), 256)),
1730
+ (r(!0), i(g, null, I(a.yLabels, (c, n) => (r(), i("text", {
1731
+ x: a.x - 5 + e.xPadding + e.FINAL_CONFIG.chart.grid.labels.yAxis.scaleValueOffsetX,
1700
1732
  y: e.forceValidValue(c.y) + l.fontSizes.dataLabels / 3,
1701
1733
  "font-size": l.fontSizes.dataLabels,
1702
1734
  "text-anchor": "end",
1703
- fill: r.color
1704
- }, w(e.applyDataLabel(
1735
+ fill: a.color
1736
+ }, T(e.applyDataLabel(
1705
1737
  e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1706
1738
  c.value,
1707
1739
  e.dataLabel({
@@ -1711,58 +1743,58 @@ function ir(t, a, o, h, l, e) {
1711
1743
  r: 1
1712
1744
  }),
1713
1745
  { datapoint: c.datapoint, seriesIndex: n }
1714
- )), 9, Xt))), 256))
1746
+ )), 9, Ut))), 256))
1715
1747
  ], 4))), 256))
1716
- ], 64)) : (i(!0), s(g, { key: 1 }, m(e.yLabels, (r, c) => (i(), s("g", {
1748
+ ], 64)) : (r(!0), i(g, { key: 1 }, I(e.yLabels, (a, c) => (r(), i("g", {
1717
1749
  key: `yLabel_${c}`
1718
1750
  }, [
1719
- e.canShowValue(r) && r.value >= e.niceScale.min && r.value <= e.niceScale.max ? (i(), s("line", {
1751
+ e.canShowValue(a) && a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (r(), i("line", {
1720
1752
  key: 0,
1721
1753
  x1: e.drawingArea.left + e.xPadding,
1722
1754
  x2: e.drawingArea.left - 5 + e.xPadding,
1723
- y1: e.forceValidValue(r.y),
1724
- y2: e.forceValidValue(r.y),
1755
+ y1: e.forceValidValue(a.y),
1756
+ y2: e.forceValidValue(a.y),
1725
1757
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1726
1758
  "stroke-width": "1",
1727
1759
  "stroke-linecap": "round"
1728
- }, null, 8, Ut)) : u("", !0),
1729
- r.value >= e.niceScale.min && r.value <= e.niceScale.max ? (i(), s("text", {
1760
+ }, null, 8, Zt)) : h("", !0),
1761
+ a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (r(), i("text", {
1730
1762
  key: 1,
1731
1763
  x: e.drawingArea.left - 7 + e.xPadding,
1732
- y: e.checkNaN(r.y + l.fontSizes.dataLabels / 3),
1764
+ y: e.checkNaN(a.y + l.fontSizes.dataLabels / 3),
1733
1765
  "font-size": l.fontSizes.dataLabels,
1734
1766
  "text-anchor": "end",
1735
1767
  fill: e.FINAL_CONFIG.chart.grid.labels.color
1736
- }, w(e.canShowValue(r.value) ? e.applyDataLabel(
1768
+ }, T(e.canShowValue(a.value) ? e.applyDataLabel(
1737
1769
  e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1738
- r.value,
1770
+ a.value,
1739
1771
  e.dataLabel({
1740
- p: r.prefix,
1741
- v: r.value,
1742
- s: r.suffix,
1772
+ p: a.prefix,
1773
+ v: a.value,
1774
+ s: a.suffix,
1743
1775
  r: 1
1744
1776
  })
1745
- ) : ""), 9, Zt)) : u("", !0)
1777
+ ) : ""), 9, Jt)) : h("", !0)
1746
1778
  ]))), 128))
1747
- ])) : u("", !0),
1748
- (i(!0), s(g, null, m(e.plotSet, (r, c) => (i(), s("g", {
1779
+ ])) : h("", !0),
1780
+ (r(!0), i(g, null, I(e.plotSet, (a, c) => (r(), i("g", {
1749
1781
  key: `serie_plot_${c}`,
1750
- class: W(`serie_plot_${c}`),
1751
- style: F(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1782
+ class: B(`serie_plot_${c}`),
1783
+ style: x(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1752
1784
  }, [
1753
- (i(!0), s(g, null, m(r.plots, (n, f) => (i(), s("g", {
1754
- key: `circle_plot_${c}_${f}`
1785
+ (r(!0), i(g, null, I(a.plots, (n, u) => (r(), i("g", {
1786
+ key: `circle_plot_${c}_${u}`
1755
1787
  }, [
1756
- n && e.canShowValue(n.value) ? (i(), H(v, {
1788
+ n && e.canShowValue(n.value) ? (r(), D(G, {
1757
1789
  key: 0,
1758
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(r.shape) ? r.shape : "circle",
1759
- color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${c}_${l.uniqueId})` : e.FINAL_CONFIG.plot.dot.useSerieColor ? r.color : e.FINAL_CONFIG.plot.dot.fill,
1790
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
1791
+ color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${c}_${l.uniqueId})` : e.FINAL_CONFIG.plot.dot.useSerieColor ? a.color : e.FINAL_CONFIG.plot.dot.fill,
1760
1792
  plot: { x: e.checkNaN(n.x), y: e.checkNaN(n.y) },
1761
- radius: l.selectedSerieIndex !== null && l.selectedSerieIndex === f || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === f ? (l.plotRadii.plot || 6) * 1.5 : l.plotRadii.plot || 6,
1762
- stroke: e.FINAL_CONFIG.plot.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : r.color,
1793
+ radius: l.selectedSerieIndex !== null && l.selectedSerieIndex === u || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === u ? (l.plotRadii.plot || 6) * 1.5 : l.plotRadii.plot || 6,
1794
+ stroke: e.FINAL_CONFIG.plot.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : a.color,
1763
1795
  strokeWidth: e.FINAL_CONFIG.plot.dot.strokeWidth
1764
- }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : u("", !0),
1765
- n.comment && e.FINAL_CONFIG.chart.comments.show ? (i(), s("foreignObject", {
1796
+ }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : h("", !0),
1797
+ n.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), i("foreignObject", {
1766
1798
  key: 1,
1767
1799
  style: { overflow: "visible" },
1768
1800
  height: "12",
@@ -1770,16 +1802,16 @@ function ir(t, a, o, h, l, e) {
1770
1802
  x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1771
1803
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1772
1804
  }, [
1773
- d("div", Kt, [
1805
+ f("div", Qt, [
1774
1806
  S(t.$slots, "plot-comment", {
1775
- plot: { ...n, color: r.color, seriesIndex: c, datapointIndex: f }
1807
+ plot: { ...n, color: a.color, seriesIndex: c, datapointIndex: u }
1776
1808
  }, void 0, !0)
1777
1809
  ])
1778
- ], 8, Jt)) : u("", !0)
1810
+ ], 8, Kt)) : h("", !0)
1779
1811
  ]))), 128)),
1780
- Object.hasOwn(r, "useProgression") && r.useProgression === !0 && !isNaN(e.calcLinearProgression(r.plots).trend) ? (i(), s("g", Qt, [
1781
- d("defs", null, [
1782
- d("marker", {
1812
+ Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g", jt, [
1813
+ f("defs", null, [
1814
+ f("marker", {
1783
1815
  id: `plot_arrow_${c}`,
1784
1816
  markerWidth: 7,
1785
1817
  markerHeight: 7,
@@ -1787,125 +1819,125 @@ function ir(t, a, o, h, l, e) {
1787
1819
  refY: 7 / 2,
1788
1820
  orient: "auto"
1789
1821
  }, [
1790
- d("polygon", {
1822
+ f("polygon", {
1791
1823
  points: `0 0, 7 ${7 / 2}, 0 7`,
1792
- fill: r.color
1793
- }, null, 8, $t)
1794
- ], 8, jt)
1824
+ fill: a.color
1825
+ }, null, 8, el)
1826
+ ], 8, $t)
1795
1827
  ]),
1796
- r.plots.length > 1 ? (i(), s("line", {
1828
+ a.plots.length > 1 ? (r(), i("line", {
1797
1829
  key: 0,
1798
- x1: e.calcLinearProgression(r.plots).x1,
1799
- x2: e.calcLinearProgression(r.plots).x2,
1800
- y1: e.forceValidValue(e.calcLinearProgression(r.plots).y1),
1801
- y2: e.forceValidValue(e.calcLinearProgression(r.plots).y2),
1830
+ x1: e.calcLinearProgression(a.plots).x1,
1831
+ x2: e.calcLinearProgression(a.plots).x2,
1832
+ y1: e.forceValidValue(e.calcLinearProgression(a.plots).y1),
1833
+ y2: e.forceValidValue(e.calcLinearProgression(a.plots).y2),
1802
1834
  "stroke-width": 1,
1803
- stroke: r.color,
1835
+ stroke: a.color,
1804
1836
  "stroke-dasharray": 2,
1805
1837
  "marker-end": `url(#plot_arrow_${c})`
1806
- }, null, 8, el)) : u("", !0),
1807
- r.plots.length > 1 ? (i(), s("text", {
1838
+ }, null, 8, tl)) : h("", !0),
1839
+ a.plots.length > 1 ? (r(), i("text", {
1808
1840
  key: 1,
1809
1841
  "text-anchor": "middle",
1810
- x: e.calcLinearProgression(r.plots).x2,
1811
- y: e.calcLinearProgression(r.plots).y2 - 6,
1842
+ x: e.calcLinearProgression(a.plots).x2,
1843
+ y: e.calcLinearProgression(a.plots).y2 - 6,
1812
1844
  "font-size": l.fontSizes.plotLabels,
1813
- fill: r.color
1814
- }, w(e.dataLabel({
1815
- v: e.calcLinearProgression(r.plots).trend * 100,
1845
+ fill: a.color
1846
+ }, T(e.dataLabel({
1847
+ v: e.calcLinearProgression(a.plots).trend * 100,
1816
1848
  s: "%",
1817
1849
  r: 2
1818
- })), 9, tl)) : u("", !0)
1819
- ])) : u("", !0)
1850
+ })), 9, ll)) : h("", !0)
1851
+ ])) : h("", !0)
1820
1852
  ], 6))), 128)),
1821
- (i(!0), s(g, null, m(e.lineSet, (r, c) => (i(), s("g", {
1853
+ (r(!0), i(g, null, I(e.lineSet, (a, c) => (r(), i("g", {
1822
1854
  key: `serie_line_${c}`,
1823
- class: W(`serie_line_${c}`),
1824
- style: F(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1855
+ class: B(`serie_line_${c}`),
1856
+ style: x(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1825
1857
  }, [
1826
- r.smooth && r.plots.length > 1 ? (i(), s("path", {
1858
+ a.smooth && a.plots.length > 1 ? (r(), i("path", {
1827
1859
  key: 0,
1828
- d: `M${r.curve}`,
1860
+ d: `M${a.curve}`,
1829
1861
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1830
1862
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1831
- "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1863
+ "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1832
1864
  fill: "none"
1833
- }, null, 8, ll)) : r.plots.length > 1 ? (i(), s("path", {
1865
+ }, null, 8, al)) : a.plots.length > 1 ? (r(), i("path", {
1834
1866
  key: 1,
1835
- d: `M${r.straight}`,
1867
+ d: `M${a.straight}`,
1836
1868
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1837
1869
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1838
- "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1870
+ "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1839
1871
  fill: "none",
1840
1872
  "stroke-linecap": "round",
1841
1873
  "stroke-linejoin": "round"
1842
- }, null, 8, rl)) : u("", !0)
1874
+ }, null, 8, rl)) : h("", !0)
1843
1875
  ], 6))), 128)),
1844
- t.$slots.pattern ? (i(), s("defs", il, [
1845
- (i(!0), s(g, null, m(e.safeDataset, (r, c) => S(t.$slots, "pattern", K({
1876
+ t.$slots.pattern ? (r(), i("defs", il, [
1877
+ (r(!0), i(g, null, I(e.safeDataset, (a, c) => S(t.$slots, "pattern", K({
1846
1878
  key: `serie_pattern_slot_${c}`,
1847
1879
  ref_for: !0
1848
- }, { ...r, seriesIndex: r.slotAbsoluteIndex, patternId: `pattern_${l.uniqueId}_${c}` }), void 0, !0)), 128))
1849
- ])) : u("", !0),
1850
- (i(!0), s(g, null, m(e.lineSet, (r, c) => (i(), s("g", {
1880
+ }, { ...a, seriesIndex: a.slotAbsoluteIndex, patternId: `pattern_${l.uniqueId}_${c}` }), void 0, !0)), 128))
1881
+ ])) : h("", !0),
1882
+ (r(!0), i(g, null, I(e.lineSet, (a, c) => (r(), i("g", {
1851
1883
  key: `serie_line_${c}`,
1852
- class: W(`serie_line_${c}`),
1853
- style: F(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1884
+ class: B(`serie_line_${c}`),
1885
+ style: x(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1854
1886
  }, [
1855
- r.useArea && r.plots.length > 1 ? (i(), s("g", al, [
1856
- r.smooth ? (i(), s(g, { key: 0 }, [
1857
- d("path", {
1858
- d: `M ${r.plots[0] ? r.plots[0].x : Math.min(...r.plots.filter((n) => !!n).map((n) => n.x))},${l.mutableConfig.isStacked ? e.drawingArea.bottom - r.yOffset : e.drawingArea.bottom} ${r.curve} L ${r.plots.at(-1) ? r.plots.at(-1).x : e.drawingArea.left + e.slot.line * c + e.slot.line / 2},${l.mutableConfig.isStacked ? e.drawingArea.bottom - r.yOffset : e.drawingArea.bottom} Z`,
1859
- fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${l.uniqueId})` : e.setOpacity(r.color, e.FINAL_CONFIG.line.area.opacity)
1860
- }, null, 8, sl),
1861
- t.$slots.pattern ? (i(), s("path", {
1887
+ a.useArea && a.plots.length > 1 ? (r(), i("g", sl, [
1888
+ a.smooth ? (r(), i(g, { key: 0 }, [
1889
+ f("path", {
1890
+ d: `M ${a.plots[0] ? a.plots[0].x : Math.min(...a.plots.filter((n) => !!n).map((n) => n.x))},${l.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 * c + e.slot.line / 2},${l.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset : e.drawingArea.bottom} Z`,
1891
+ fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${l.uniqueId})` : e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)
1892
+ }, null, 8, nl),
1893
+ t.$slots.pattern ? (r(), i("path", {
1862
1894
  key: 0,
1863
- d: `M ${r.plots[0] ? r.plots[0].x : Math.min(...r.plots.filter((n) => !!n).map((n) => n.x))},${l.mutableConfig.isStacked ? e.drawingArea.bottom - r.yOffset : e.drawingArea.bottom} ${r.curve} L ${r.plots.at(-1) ? r.plots.at(-1).x : e.drawingArea.left + e.slot.line * c + e.slot.line / 2},${l.mutableConfig.isStacked ? e.drawingArea.bottom - r.yOffset : e.drawingArea.bottom} Z`,
1864
- fill: `url(#pattern_${l.uniqueId}_${r.slotAbsoluteIndex})`
1865
- }, null, 8, nl)) : u("", !0)
1866
- ], 64)) : (i(), s(g, { key: 1 }, [
1867
- d("path", {
1868
- d: `M${r.area}Z`,
1869
- fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${l.uniqueId})` : e.setOpacity(r.color, e.FINAL_CONFIG.line.area.opacity)
1870
- }, null, 8, cl),
1871
- t.$slots.pattern ? (i(), s("path", {
1895
+ d: `M ${a.plots[0] ? a.plots[0].x : Math.min(...a.plots.filter((n) => !!n).map((n) => n.x))},${l.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 * c + e.slot.line / 2},${l.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset : e.drawingArea.bottom} Z`,
1896
+ fill: `url(#pattern_${l.uniqueId}_${a.slotAbsoluteIndex})`
1897
+ }, null, 8, cl)) : h("", !0)
1898
+ ], 64)) : (r(), i(g, { key: 1 }, [
1899
+ f("path", {
1900
+ d: `M${a.area}Z`,
1901
+ fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${l.uniqueId})` : e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)
1902
+ }, null, 8, ol),
1903
+ t.$slots.pattern ? (r(), i("path", {
1872
1904
  key: 0,
1873
- d: `M${r.area}Z`,
1874
- fill: `url(#pattern_${l.uniqueId}_${r.slotAbsoluteIndex})`
1875
- }, null, 8, ol)) : u("", !0)
1905
+ d: `M${a.area}Z`,
1906
+ fill: `url(#pattern_${l.uniqueId}_${a.slotAbsoluteIndex})`
1907
+ }, null, 8, hl)) : h("", !0)
1876
1908
  ], 64))
1877
- ])) : u("", !0),
1878
- r.smooth && r.plots.length > 1 ? (i(), s("path", {
1909
+ ])) : h("", !0),
1910
+ a.smooth && a.plots.length > 1 ? (r(), i("path", {
1879
1911
  key: 1,
1880
- d: `M${r.curve}`,
1881
- stroke: r.color,
1912
+ d: `M${a.curve}`,
1913
+ stroke: a.color,
1882
1914
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1883
- "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1915
+ "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1884
1916
  fill: "none",
1885
1917
  "stroke-linecap": "round"
1886
- }, null, 8, hl)) : r.plots.length > 1 ? (i(), s("path", {
1918
+ }, null, 8, ul)) : a.plots.length > 1 ? (r(), i("path", {
1887
1919
  key: 2,
1888
- d: `M${r.straight}`,
1889
- stroke: r.color,
1920
+ d: `M${a.straight}`,
1921
+ stroke: a.color,
1890
1922
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1891
- "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1923
+ "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1892
1924
  fill: "none",
1893
1925
  "stroke-linecap": "round",
1894
1926
  "stroke-linejoin": "round"
1895
- }, null, 8, ul)) : u("", !0),
1896
- (i(!0), s(g, null, m(r.plots, (n, f) => (i(), s(g, {
1897
- key: `circle_line_${c}_${f}`
1927
+ }, null, 8, dl)) : h("", !0),
1928
+ (r(!0), i(g, null, I(a.plots, (n, u) => (r(), i(g, {
1929
+ key: `circle_line_${c}_${u}`
1898
1930
  }, [
1899
- !e.optimize.linePlot && n && e.canShowValue(n.value) || e.optimize.linePlot && n && e.canShowValue(n.value) && (l.selectedSerieIndex !== null && l.selectedSerieIndex === f || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === f) ? (i(), H(v, {
1931
+ !e.optimize.linePlot && n && e.canShowValue(n.value) || e.optimize.linePlot && n && e.canShowValue(n.value) && (l.selectedSerieIndex !== null && l.selectedSerieIndex === u || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === u) ? (r(), D(G, {
1900
1932
  key: 0,
1901
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(r.shape) ? r.shape : "circle",
1902
- color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${c}_${l.uniqueId})` : e.FINAL_CONFIG.line.dot.useSerieColor ? r.color : e.FINAL_CONFIG.line.dot.fill,
1933
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
1934
+ color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${c}_${l.uniqueId})` : e.FINAL_CONFIG.line.dot.useSerieColor ? a.color : e.FINAL_CONFIG.line.dot.fill,
1903
1935
  plot: { x: e.checkNaN(n.x), y: e.checkNaN(n.y) },
1904
- radius: l.selectedSerieIndex !== null && l.selectedSerieIndex === f || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === f ? (l.plotRadii.line || 6) * 1.5 : l.plotRadii.line || 6,
1905
- stroke: e.FINAL_CONFIG.line.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : r.color,
1936
+ radius: l.selectedSerieIndex !== null && l.selectedSerieIndex === u || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === u ? (l.plotRadii.line || 6) * 1.5 : l.plotRadii.line || 6,
1937
+ stroke: e.FINAL_CONFIG.line.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : a.color,
1906
1938
  strokeWidth: e.FINAL_CONFIG.line.dot.strokeWidth
1907
- }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : u("", !0),
1908
- n.comment && e.FINAL_CONFIG.chart.comments.show ? (i(), s("foreignObject", {
1939
+ }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : h("", !0),
1940
+ n.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), i("foreignObject", {
1909
1941
  key: 1,
1910
1942
  style: { overflow: "visible" },
1911
1943
  height: "12",
@@ -1913,16 +1945,16 @@ function ir(t, a, o, h, l, e) {
1913
1945
  x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1914
1946
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1915
1947
  }, [
1916
- d("div", gl, [
1948
+ f("div", fl, [
1917
1949
  S(t.$slots, "plot-comment", {
1918
- plot: { ...n, color: r.color, seriesIndex: c, datapointIndex: f }
1950
+ plot: { ...n, color: a.color, seriesIndex: c, datapointIndex: u }
1919
1951
  }, void 0, !0)
1920
1952
  ])
1921
- ], 8, dl)) : u("", !0)
1953
+ ], 8, gl)) : h("", !0)
1922
1954
  ], 64))), 128)),
1923
- Object.hasOwn(r, "useProgression") && r.useProgression === !0 && !isNaN(e.calcLinearProgression(r.plots).trend) ? (i(), s("g", fl, [
1924
- d("defs", null, [
1925
- d("marker", {
1955
+ Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g", Il, [
1956
+ f("defs", null, [
1957
+ f("marker", {
1926
1958
  id: `line_arrow_${c}`,
1927
1959
  markerWidth: 7,
1928
1960
  markerHeight: 7,
@@ -1930,327 +1962,397 @@ function ir(t, a, o, h, l, e) {
1930
1962
  refY: 7 / 2,
1931
1963
  orient: "auto"
1932
1964
  }, [
1933
- d("polygon", {
1965
+ f("polygon", {
1934
1966
  points: `0 0, 7 ${7 / 2}, 0 7`,
1935
- fill: r.color
1936
- }, null, 8, ml)
1937
- ], 8, Il)
1967
+ fill: a.color
1968
+ }, null, 8, Nl)
1969
+ ], 8, ml)
1938
1970
  ]),
1939
- r.plots.length > 1 ? (i(), s("line", {
1971
+ a.plots.length > 1 ? (r(), i("line", {
1940
1972
  key: 0,
1941
- x1: e.calcLinearProgression(r.plots).x1,
1942
- x2: e.calcLinearProgression(r.plots).x2,
1943
- y1: e.forceValidValue(e.calcLinearProgression(r.plots).y1),
1944
- y2: e.forceValidValue(e.calcLinearProgression(r.plots).y2),
1973
+ x1: e.calcLinearProgression(a.plots).x1,
1974
+ x2: e.calcLinearProgression(a.plots).x2,
1975
+ y1: e.forceValidValue(e.calcLinearProgression(a.plots).y1),
1976
+ y2: e.forceValidValue(e.calcLinearProgression(a.plots).y2),
1945
1977
  "stroke-width": 1,
1946
- stroke: r.color,
1978
+ stroke: a.color,
1947
1979
  "stroke-dasharray": 2,
1948
1980
  "marker-end": `url(#line_arrow_${c})`
1949
- }, null, 8, bl)) : u("", !0),
1950
- r.plots.length > 1 ? (i(), s("text", {
1981
+ }, null, 8, xl)) : h("", !0),
1982
+ a.plots.length > 1 ? (r(), i("text", {
1951
1983
  key: 1,
1952
1984
  "text-anchor": "middle",
1953
- x: e.calcLinearProgression(r.plots).x2,
1954
- y: e.calcLinearProgression(r.plots).y2 - 6,
1985
+ x: e.calcLinearProgression(a.plots).x2,
1986
+ y: e.calcLinearProgression(a.plots).y2 - 6,
1955
1987
  "font-size": l.fontSizes.plotLabels,
1956
- fill: r.color
1957
- }, w(e.dataLabel({
1958
- v: e.calcLinearProgression(r.plots).trend * 100,
1988
+ fill: a.color
1989
+ }, T(e.dataLabel({
1990
+ v: e.calcLinearProgression(a.plots).trend * 100,
1959
1991
  s: "%",
1960
1992
  r: 2
1961
- })), 9, Nl)) : u("", !0)
1962
- ])) : u("", !0)
1993
+ })), 9, bl)) : h("", !0)
1994
+ ])) : h("", !0)
1963
1995
  ], 6))), 128)),
1964
- (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && l.mutableConfig.dataLabels.show ? (i(), s("g", xl, [
1965
- (i(!0), s(g, null, m(e.barSet, (r, c) => (i(), s(g, {
1996
+ (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && l.mutableConfig.dataLabels.show ? (r(), i("g", Fl, [
1997
+ (r(!0), i(g, null, I(e.barSet, (a, c) => (r(), i(g, {
1966
1998
  key: `xLabel_bar_${c}`
1967
1999
  }, [
1968
- (i(!0), s(g, null, m(r.plots, (n, f) => (i(), s(g, {
1969
- key: `xLabel_bar_${c}_${f}`
2000
+ (r(!0), i(g, null, I(a.plots, (n, u) => (r(), i(g, {
2001
+ key: `xLabel_bar_${c}_${u}`
1970
2002
  }, [
1971
- n && (!Object.hasOwn(r, "dataLabels") || r.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === f || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === f) && e.FINAL_CONFIG.bar.labels.show ? (i(), s("text", {
2003
+ n && (!Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === u || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === u) && e.FINAL_CONFIG.bar.labels.show ? (r(), i("text", {
1972
2004
  key: 0,
1973
2005
  x: l.mutableConfig.useIndividualScale && l.mutableConfig.isStacked ? n.x + e.slot.line / 2 : e.calcRectX(n) + e.calcRectWidth() / 2 - e.barPeriodGap / 2,
1974
2006
  y: e.checkNaN(n.y) + (n.value >= 0 ? e.FINAL_CONFIG.bar.labels.offsetY : -e.FINAL_CONFIG.bar.labels.offsetY * 3),
1975
2007
  "text-anchor": "middle",
1976
2008
  "font-size": l.fontSizes.plotLabels,
1977
2009
  fill: e.FINAL_CONFIG.bar.labels.color,
1978
- style: F(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1979
- }, w(e.canShowValue(n.value) ? e.applyDataLabel(
2010
+ style: x(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2011
+ }, T(e.canShowValue(n.value) ? e.applyDataLabel(
1980
2012
  e.FINAL_CONFIG.bar.labels.formatter,
1981
2013
  n.value,
1982
2014
  e.dataLabel({
1983
- p: r.prefix || e.FINAL_CONFIG.chart.labels.prefix,
2015
+ p: a.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1984
2016
  v: n.value,
1985
- s: r.suffix || e.FINAL_CONFIG.chart.labels.suffix,
2017
+ s: a.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1986
2018
  r: e.FINAL_CONFIG.bar.labels.rounding
1987
2019
  }),
1988
2020
  {
1989
2021
  datapoint: n,
1990
- serie: r
2022
+ serie: a
1991
2023
  }
1992
- ) : ""), 13, Fl)) : u("", !0),
1993
- n && e.FINAL_CONFIG.bar.serieName.show ? (i(), s("text", {
2024
+ ) : ""), 13, _l)) : h("", !0),
2025
+ n && e.FINAL_CONFIG.bar.serieName.show ? (r(), i("text", {
1994
2026
  key: 1,
1995
2027
  x: l.mutableConfig.useIndividualScale && l.mutableConfig.isStacked ? n.x + e.slot.line / 2 : n.x + e.calcRectWidth() * 1.1,
1996
2028
  y: n.y + (n.value > 0 ? e.FINAL_CONFIG.bar.serieName.offsetY : -e.FINAL_CONFIG.bar.serieName.offsetY * 3),
1997
2029
  "text-anchor": "middle",
1998
2030
  "font-size": l.fontSizes.plotLabels,
1999
- fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? r.color : e.FINAL_CONFIG.bar.serieName.color,
2031
+ fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? a.color : e.FINAL_CONFIG.bar.serieName.color,
2000
2032
  "font-weight": e.FINAL_CONFIG.bar.serieName.bold ? "bold" : "normal",
2001
- style: F(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2002
- }, w(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: r.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : r.name), 13, _l)) : u("", !0)
2033
+ style: x(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2034
+ }, T(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: a.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : a.name), 13, yl)) : h("", !0)
2003
2035
  ], 64))), 128))
2004
2036
  ], 64))), 128))
2005
- ])) : u("", !0),
2006
- e.FINAL_CONFIG.plot.labels.show && l.mutableConfig.dataLabels.show ? (i(), s("g", Al, [
2007
- (i(!0), s(g, null, m(e.plotSet, (r, c) => (i(), s(g, {
2037
+ ])) : h("", !0),
2038
+ e.FINAL_CONFIG.plot.labels.show && l.mutableConfig.dataLabels.show ? (r(), i("g", Al, [
2039
+ (r(!0), i(g, null, I(e.plotSet, (a, c) => (r(), i(g, {
2008
2040
  key: `xLabel_plot_${c}`
2009
2041
  }, [
2010
- (i(!0), s(g, null, m(r.plots, (n, f) => (i(), s(g, {
2011
- key: `xLabel_plot_${c}_${f}`
2042
+ (r(!0), i(g, null, I(a.plots, (n, u) => (r(), i(g, {
2043
+ key: `xLabel_plot_${c}_${u}`
2012
2044
  }, [
2013
- n && !Object.hasOwn(r, "dataLabels") || r.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === f || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === f ? (i(), s("text", {
2045
+ n && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === u || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === u ? (r(), i("text", {
2014
2046
  key: 0,
2015
2047
  x: n.x,
2016
2048
  y: n.y + e.FINAL_CONFIG.plot.labels.offsetY,
2017
2049
  "text-anchor": "middle",
2018
2050
  "font-size": l.fontSizes.plotLabels,
2019
2051
  fill: e.FINAL_CONFIG.plot.labels.color,
2020
- style: F(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2021
- }, w(e.canShowValue(n.value) ? e.applyDataLabel(
2052
+ style: x(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2053
+ }, T(e.canShowValue(n.value) ? e.applyDataLabel(
2022
2054
  e.FINAL_CONFIG.plot.labels.formatter,
2023
2055
  n.value,
2024
2056
  e.dataLabel({
2025
- p: r.prefix || e.FINAL_CONFIG.chart.labels.prefix,
2057
+ p: a.prefix || e.FINAL_CONFIG.chart.labels.prefix,
2026
2058
  v: n.value,
2027
- s: r.suffix || e.FINAL_CONFIG.chart.labels.suffix,
2059
+ s: a.suffix || e.FINAL_CONFIG.chart.labels.suffix,
2028
2060
  r: e.FINAL_CONFIG.plot.labels.rounding
2029
2061
  }),
2030
2062
  {
2031
2063
  datapoint: n,
2032
- serie: r
2064
+ serie: a
2033
2065
  }
2034
- ) : ""), 13, yl)) : u("", !0),
2035
- n && f === 0 && r.useTag && r.useTag === "start" ? (i(), s("foreignObject", {
2036
- key: 1,
2037
- x: n.x,
2038
- y: n.y - 20,
2039
- height: 24,
2040
- width: "150",
2041
- style: F(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2042
- }, [
2043
- d("div", {
2044
- style: F(`padding: 3px; background:${e.setOpacity(r.color, 80)};color:${e.adaptColorToBackground(r.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`)
2045
- }, w(r.name), 5)
2046
- ], 12, Ll)) : u("", !0),
2047
- n && f === r.plots.length - 1 && r.useTag && r.useTag === "end" ? (i(), s("foreignObject", {
2048
- key: 2,
2049
- x: n.x - r.name.length * (l.fontSizes.plotLabels / 2),
2050
- y: n.y - 20,
2051
- height: 24,
2052
- width: "150",
2053
- style: F(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2054
- }, [
2055
- d("div", {
2056
- style: F(`padding: 3px; background:${e.setOpacity(r.color, 80)};color:${e.adaptColorToBackground(r.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`)
2057
- }, w(r.name), 5)
2058
- ], 12, Cl)) : u("", !0)
2066
+ ) : ""), 13, Ll)) : h("", !0),
2067
+ e.FINAL_CONFIG.plot.tag.followValue ? (r(), i(g, { key: 2 }, [
2068
+ [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(u) && a.useTag ? (r(), i("line", {
2069
+ key: 0,
2070
+ class: "vue-ui-xy-tag-plot",
2071
+ x1: e.drawingArea.left,
2072
+ x2: e.drawingArea.right,
2073
+ y1: n.y,
2074
+ y2: n.y,
2075
+ "stroke-width": 1,
2076
+ "stroke-linecap": "round",
2077
+ "stroke-dasharray": "2",
2078
+ stroke: a.color
2079
+ }, null, 8, Ol)) : h("", !0)
2080
+ ], 64)) : (r(), i(g, { key: 1 }, [
2081
+ n && u === 0 && a.useTag && a.useTag === "start" ? (r(), i("foreignObject", {
2082
+ key: 0,
2083
+ x: n.x,
2084
+ y: n.y - 20,
2085
+ height: 24,
2086
+ width: "150",
2087
+ style: x(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2088
+ }, [
2089
+ f("div", {
2090
+ style: x(`padding: 3px; background:${e.setOpacity(a.color, 80)};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2091
+ innerHTML: e.applyDataLabel(
2092
+ e.FINAL_CONFIG.plot.tag.formatter,
2093
+ n.value,
2094
+ a.name,
2095
+ {
2096
+ datapoint: n,
2097
+ seriesIndex: u,
2098
+ serieName: a.name
2099
+ }
2100
+ )
2101
+ }, null, 12, Sl)
2102
+ ], 12, Cl)) : h("", !0),
2103
+ n && u === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (r(), i("foreignObject", {
2104
+ key: 1,
2105
+ x: n.x - a.name.length * (l.fontSizes.plotLabels / 2),
2106
+ y: n.y - 20,
2107
+ height: 24,
2108
+ width: "150",
2109
+ style: x(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2110
+ }, [
2111
+ f("div", {
2112
+ style: x(`padding: 3px; background:${e.setOpacity(a.color, 80)};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2113
+ innerHTML: e.applyDataLabel(
2114
+ e.FINAL_CONFIG.plot.tag.formatter,
2115
+ n.value,
2116
+ a.name,
2117
+ {
2118
+ datapoint: n,
2119
+ seriesIndex: u,
2120
+ serieName: a.name
2121
+ }
2122
+ )
2123
+ }, null, 12, wl)
2124
+ ], 12, kl)) : h("", !0)
2125
+ ], 64))
2059
2126
  ], 64))), 128))
2060
2127
  ], 64))), 128))
2061
- ])) : u("", !0),
2062
- e.FINAL_CONFIG.line.labels.show && l.mutableConfig.dataLabels.show ? (i(), s("g", Sl, [
2063
- (i(!0), s(g, null, m(e.lineSet, (r, c) => (i(), s(g, {
2128
+ ])) : h("", !0),
2129
+ e.FINAL_CONFIG.line.labels.show && l.mutableConfig.dataLabels.show ? (r(), i("g", Gl, [
2130
+ (r(!0), i(g, null, I(e.lineSet, (a, c) => (r(), i(g, {
2064
2131
  key: `xLabel_line_${c}`
2065
2132
  }, [
2066
- (i(!0), s(g, null, m(r.plots, (n, f) => (i(), s(g, {
2067
- key: `xLabel_line_${c}_${f}`
2133
+ (r(!0), i(g, null, I(a.plots, (n, u) => (r(), i(g, {
2134
+ key: `xLabel_line_${c}_${u}`
2068
2135
  }, [
2069
- n && !Object.hasOwn(r, "dataLabels") || r.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === f || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === f ? (i(), s("text", {
2136
+ n && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 || l.selectedSerieIndex !== null && l.selectedSerieIndex === u || l.selectedMinimapIndex !== null && l.selectedMinimapIndex === u ? (r(), i("text", {
2070
2137
  key: 0,
2071
2138
  x: n.x,
2072
2139
  y: n.y + (n.value >= 0 ? e.FINAL_CONFIG.line.labels.offsetY : -e.FINAL_CONFIG.line.labels.offsetY * 3),
2073
2140
  "text-anchor": "middle",
2074
2141
  "font-size": l.fontSizes.plotLabels,
2075
2142
  fill: e.FINAL_CONFIG.line.labels.color,
2076
- style: F(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2077
- }, w(e.canShowValue(n.value) ? e.applyDataLabel(
2143
+ style: x(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2144
+ }, T(e.canShowValue(n.value) ? e.applyDataLabel(
2078
2145
  e.FINAL_CONFIG.line.labels.formatter,
2079
2146
  n.value,
2080
2147
  e.dataLabel({
2081
- p: r.prefix || e.FINAL_CONFIG.chart.labels.prefix,
2148
+ p: a.prefix || e.FINAL_CONFIG.chart.labels.prefix,
2082
2149
  v: n.value,
2083
- s: r.suffix || e.FINAL_CONFIG.chart.labels.suffix,
2150
+ s: a.suffix || e.FINAL_CONFIG.chart.labels.suffix,
2084
2151
  r: e.FINAL_CONFIG.line.labels.rounding
2085
2152
  }),
2086
2153
  {
2087
2154
  datapoint: n,
2088
- serie: r
2155
+ serie: a
2089
2156
  }
2090
- ) : ""), 13, kl)) : u("", !0),
2091
- n && f === 0 && r.useTag && r.useTag === "start" ? (i(), s("foreignObject", {
2092
- key: 1,
2093
- x: n.x,
2094
- y: n.y - 20,
2095
- height: 24,
2096
- width: "150",
2097
- style: F(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2098
- }, [
2099
- d("div", {
2100
- style: F(`padding: 3px; background:${e.setOpacity(r.color, 80)};color:${e.adaptColorToBackground(r.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`)
2101
- }, w(r.name), 5)
2102
- ], 12, wl)) : u("", !0),
2103
- n && f === r.plots.length - 1 && r.useTag && r.useTag === "end" ? (i(), s("foreignObject", {
2104
- key: 2,
2105
- x: n.x - r.name.length * (l.fontSizes.plotLabels / 2),
2106
- y: n.y - 20,
2107
- height: 24,
2108
- width: "150",
2109
- style: F(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2110
- }, [
2111
- d("div", {
2112
- style: F(`padding: 3px; background:${e.setOpacity(r.color, 80)};color:${e.adaptColorToBackground(r.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`)
2113
- }, w(r.name), 5)
2114
- ], 12, Ol)) : u("", !0)
2157
+ ) : ""), 13, vl)) : h("", !0),
2158
+ e.FINAL_CONFIG.line.tag.followValue ? (r(), i(g, { key: 2 }, [
2159
+ [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(u) && a.useTag ? (r(), i("line", {
2160
+ key: 0,
2161
+ class: "vue-ui-xy-tag-line",
2162
+ x1: e.drawingArea.left,
2163
+ x2: e.drawingArea.right,
2164
+ y1: n.y,
2165
+ y2: n.y,
2166
+ "stroke-width": 1,
2167
+ "stroke-linecap": "round",
2168
+ "stroke-dasharray": "2",
2169
+ stroke: a.color
2170
+ }, null, 8, Pl)) : h("", !0)
2171
+ ], 64)) : (r(), i(g, { key: 1 }, [
2172
+ n && u === 0 && a.useTag && a.useTag === "start" ? (r(), i("foreignObject", {
2173
+ key: 0,
2174
+ x: n.x,
2175
+ y: n.y - 20,
2176
+ height: 24,
2177
+ width: "150",
2178
+ style: x(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2179
+ }, [
2180
+ f("div", {
2181
+ style: x(`padding: 3px; background:${e.setOpacity(a.color, 80)};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2182
+ innerHTML: e.applyDataLabel(
2183
+ e.FINAL_CONFIG.line.tag.formatter,
2184
+ n.value,
2185
+ a.name,
2186
+ {
2187
+ datapoint: n,
2188
+ seriesIndex: u,
2189
+ serieName: a.name
2190
+ }
2191
+ )
2192
+ }, null, 12, Ml)
2193
+ ], 12, pl)) : h("", !0),
2194
+ n && u === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (r(), i("foreignObject", {
2195
+ key: 1,
2196
+ x: n.x,
2197
+ y: n.y - 20,
2198
+ height: 24,
2199
+ width: "150",
2200
+ style: x(`overflow: visible; opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2201
+ }, [
2202
+ f("div", {
2203
+ style: x(`padding: 3px; background:${e.setOpacity(a.color, 80)};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`),
2204
+ innerHTML: e.applyDataLabel(
2205
+ e.FINAL_CONFIG.line.tag.formatter,
2206
+ n.value,
2207
+ a.name,
2208
+ {
2209
+ datapoint: n,
2210
+ seriesIndex: u,
2211
+ serieName: a.name
2212
+ }
2213
+ )
2214
+ }, null, 12, Tl)
2215
+ ], 12, zl)) : h("", !0)
2216
+ ], 64))
2115
2217
  ], 64))), 128))
2116
2218
  ], 64))), 128))
2117
- ])) : u("", !0),
2118
- (i(!0), s(g, null, m(e.lineSet, (r, c) => (i(), s(g, {
2219
+ ])) : h("", !0),
2220
+ (r(!0), i(g, null, I(e.lineSet, (a, c) => (r(), i(g, {
2119
2221
  key: `xLabel_line_${c}`
2120
2222
  }, [
2121
- (i(!0), s(g, null, m(r.plots, (n, f) => (i(), s(g, {
2122
- key: `xLabel_line_${c}_${f}`
2223
+ (r(!0), i(g, null, I(a.plots, (n, u) => (r(), i(g, {
2224
+ key: `xLabel_line_${c}_${u}`
2123
2225
  }, [
2124
- n && f === 0 && r.showSerieName && r.showSerieName === "start" ? (i(), s("text", {
2226
+ n && u === 0 && a.showSerieName && a.showSerieName === "start" ? (r(), i("text", {
2125
2227
  key: 0,
2126
2228
  x: n.x - l.fontSizes.plotLabels,
2127
2229
  y: n.y,
2128
2230
  "font-size": l.fontSizes.plotLabels,
2129
2231
  "text-anchor": "end",
2130
- fill: r.color,
2232
+ fill: a.color,
2131
2233
  innerHTML: e.createTSpans({
2132
- content: r.name,
2234
+ content: a.name,
2133
2235
  fontSize: l.fontSizes.plotLabels,
2134
- fill: r.color,
2236
+ fill: a.color,
2135
2237
  x: n.x - l.fontSizes.plotLabels,
2136
2238
  y: n.y,
2137
2239
  maxWords: 2
2138
2240
  }),
2139
- style: F(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2140
- }, null, 12, Gl)) : u("", !0),
2141
- n && f === r.plots.length - 1 && r.showSerieName && r.showSerieName === "end" ? (i(), s("text", {
2241
+ style: x(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2242
+ }, null, 12, Vl)) : h("", !0),
2243
+ n && u === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (r(), i("text", {
2142
2244
  key: 1,
2143
2245
  x: n.x + l.fontSizes.plotLabels,
2144
2246
  y: n.y,
2145
2247
  "font-size": l.fontSizes.plotLabels,
2146
2248
  "text-anchor": "start",
2147
- fill: r.color,
2249
+ fill: a.color,
2148
2250
  innerHTML: e.createTSpans({
2149
- content: r.name,
2251
+ content: a.name,
2150
2252
  fontSize: l.fontSizes.plotLabels,
2151
- fill: r.color,
2253
+ fill: a.color,
2152
2254
  x: n.x + l.fontSizes.plotLabels,
2153
2255
  y: n.y,
2154
2256
  maxWords: 2
2155
2257
  }),
2156
- style: F(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2157
- }, null, 12, vl)) : u("", !0)
2258
+ style: x(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2259
+ }, null, 12, Rl)) : h("", !0)
2158
2260
  ], 64))), 128))
2159
2261
  ], 64))), 128)),
2160
- (i(!0), s(g, null, m(e.plotSet, (r, c) => (i(), s(g, {
2262
+ (r(!0), i(g, null, I(e.plotSet, (a, c) => (r(), i(g, {
2161
2263
  key: `xLabel_plot_${c}`
2162
2264
  }, [
2163
- (i(!0), s(g, null, m(r.plots, (n, f) => (i(), s(g, {
2164
- key: `xLabel_plot_${c}_${f}`
2265
+ (r(!0), i(g, null, I(a.plots, (n, u) => (r(), i(g, {
2266
+ key: `xLabel_plot_${c}_${u}`
2165
2267
  }, [
2166
- n && f === 0 && r.showSerieName && r.showSerieName === "start" ? (i(), s("text", {
2268
+ n && u === 0 && a.showSerieName && a.showSerieName === "start" ? (r(), i("text", {
2167
2269
  key: 0,
2168
2270
  x: n.x - l.fontSizes.plotLabels,
2169
2271
  y: n.y,
2170
2272
  "font-size": l.fontSizes.plotLabels,
2171
2273
  "text-anchor": "end",
2172
- fill: r.color,
2274
+ fill: a.color,
2173
2275
  innerHTML: e.createTSpans({
2174
- content: r.name,
2276
+ content: a.name,
2175
2277
  fontSize: l.fontSizes.plotLabels,
2176
- fill: r.color,
2278
+ fill: a.color,
2177
2279
  x: n.x - l.fontSizes.plotLabels,
2178
2280
  y: n.y,
2179
2281
  maxWords: 2
2180
2282
  }),
2181
- style: F(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2182
- }, null, 12, pl)) : u("", !0),
2183
- n && f === r.plots.length - 1 && r.showSerieName && r.showSerieName === "end" ? (i(), s("text", {
2283
+ style: x(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2284
+ }, null, 12, Hl)) : h("", !0),
2285
+ n && u === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (r(), i("text", {
2184
2286
  key: 1,
2185
2287
  x: n.x + l.fontSizes.plotLabels,
2186
2288
  y: n.y,
2187
2289
  "font-size": l.fontSizes.plotLabels,
2188
2290
  "text-anchor": "start",
2189
- fill: r.color,
2291
+ fill: a.color,
2190
2292
  innerHTML: e.createTSpans({
2191
- content: r.name,
2293
+ content: a.name,
2192
2294
  fontSize: l.fontSizes.plotLabels,
2193
- fill: r.color,
2295
+ fill: a.color,
2194
2296
  x: n.x + l.fontSizes.plotLabels,
2195
2297
  y: n.y,
2196
2298
  maxWords: 2
2197
2299
  }),
2198
- style: F(`opacity:${l.selectedScale ? l.selectedScale === r.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2199
- }, null, 12, zl)) : u("", !0)
2300
+ style: x(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2301
+ }, null, 12, Dl)) : h("", !0)
2200
2302
  ], 64))), 128))
2201
2303
  ], 64))), 128)),
2202
- l.mutableConfig.useIndividualScale && !l.mutableConfig.isStacked ? (i(), s(g, { key: 9 }, [
2203
- d("defs", null, [
2204
- (i(!0), s(g, null, m(e.allScales, (r, c) => (i(), s("linearGradient", {
2304
+ l.mutableConfig.useIndividualScale && !l.mutableConfig.isStacked ? (r(), i(g, { key: 9 }, [
2305
+ f("defs", null, [
2306
+ (r(!0), i(g, null, I(e.allScales, (a, c) => (r(), i("linearGradient", {
2205
2307
  id: `individual_scale_gradient_${l.uniqueId}_${c}`,
2206
2308
  x1: "0%",
2207
2309
  x2: "100%",
2208
2310
  y1: "0%",
2209
2311
  y2: "0%"
2210
2312
  }, [
2211
- d("stop", {
2313
+ f("stop", {
2212
2314
  offset: "0%",
2213
2315
  "stop-color": e.FINAL_CONFIG.chart.backgroundColor,
2214
2316
  "stop-opacity": "0"
2215
- }, null, 8, Tl),
2216
- d("stop", {
2317
+ }, null, 8, El),
2318
+ f("stop", {
2217
2319
  offset: "100%",
2218
- "stop-color": r.color,
2320
+ "stop-color": a.color,
2219
2321
  "stop-opacity": "0.2"
2220
- }, null, 8, Pl)
2221
- ], 8, Ml))), 256))
2322
+ }, null, 8, Wl)
2323
+ ], 8, Bl))), 256))
2222
2324
  ]),
2223
- (i(!0), s(g, null, m(e.allScales, (r, c) => (i(), s("rect", {
2224
- x: r.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + e.xPadding,
2325
+ (r(!0), i(g, null, I(e.allScales, (a, c) => (r(), i("rect", {
2326
+ x: a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + e.xPadding,
2225
2327
  y: e.drawingArea.top,
2226
2328
  width: e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
2227
2329
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
2228
- fill: l.selectedScale === r.groupId ? `url(#individual_scale_gradient_${l.uniqueId}_${c})` : "transparent",
2229
- onMouseenter: (n) => l.selectedScale = r.groupId,
2230
- onMouseleave: a[0] || (a[0] = (n) => l.selectedScale = null)
2231
- }, null, 40, Vl))), 256))
2232
- ], 64)) : u("", !0),
2233
- d("g", null, [
2234
- e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !l.mutableConfig.useIndividualScale ? (i(), s("text", {
2330
+ fill: l.selectedScale === a.groupId ? `url(#individual_scale_gradient_${l.uniqueId}_${c})` : "transparent",
2331
+ onMouseenter: (n) => l.selectedScale = a.groupId,
2332
+ onMouseleave: s[0] || (s[0] = (n) => l.selectedScale = null)
2333
+ }, null, 40, Yl))), 256))
2334
+ ], 64)) : h("", !0),
2335
+ f("g", null, [
2336
+ e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !l.mutableConfig.useIndividualScale ? (r(), i("text", {
2235
2337
  key: 0,
2236
2338
  "font-size": l.fontSizes.yAxis,
2237
2339
  fill: e.FINAL_CONFIG.chart.grid.labels.color,
2238
2340
  transform: `translate(${l.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
2239
2341
  "text-anchor": "middle",
2240
2342
  style: { transition: "none" }
2241
- }, w(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, Rl)) : u("", !0),
2242
- e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (i(), s("text", {
2343
+ }, T(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, ql)) : h("", !0),
2344
+ e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (r(), i("text", {
2243
2345
  key: 1,
2244
2346
  "text-anchor": "middle",
2245
2347
  x: l.width / 2,
2246
2348
  y: e.drawingArea.bottom + l.fontSizes.yAxis + l.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
2247
2349
  "font-size": l.fontSizes.yAxis,
2248
2350
  fill: e.FINAL_CONFIG.chart.grid.labels.color
2249
- }, w(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, Dl)) : u("", !0)
2351
+ }, T(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, Xl)) : h("", !0)
2250
2352
  ]),
2251
- a[9] || (a[9] = J('v-for="(label, i) in timeLabels" :key="`time_label_${i}`" ')),
2252
- e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (i(), s("g", Hl, [
2253
- t.$slots["time-label"] ? (i(!0), s(g, { key: 0 }, m(e.timeLabels, (r, c) => S(t.$slots, "time-label", K({
2353
+ s[9] || (s[9] = J('v-for="(label, i) in timeLabels" :key="`time_label_${i}`" ')),
2354
+ e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (r(), i("g", Ul, [
2355
+ t.$slots["time-label"] ? (r(!0), i(g, { key: 0 }, I(e.timeLabels, (a, c) => S(t.$slots, "time-label", K({
2254
2356
  key: `time_label_${c}`,
2255
2357
  ref_for: !0
2256
2358
  }, {
@@ -2259,14 +2361,14 @@ function ir(t, a, o, h, l, e) {
2259
2361
  fontSize: l.fontSizes.xAxis,
2260
2362
  fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
2261
2363
  transform: `translate(${e.drawingArea.left + e.drawingArea.width / e.maxSeries * c + e.drawingArea.width / e.maxSeries / 2}, ${e.drawingArea.bottom + l.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation})`,
2262
- absoluteIndex: r.absoluteIndex,
2263
- content: r.text,
2364
+ absoluteIndex: a.absoluteIndex,
2365
+ content: a.text,
2264
2366
  textAnchor: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2265
- show: r && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || r && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || r && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === c && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || r && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && c % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0
2266
- }), void 0, !0)), 128)) : (i(!0), s(g, { key: 1 }, m(e.timeLabels, (r, c) => (i(), s("g", {
2367
+ show: 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 && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === c && !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 && c % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0
2368
+ }), void 0, !0)), 128)) : (r(!0), i(g, { key: 1 }, I(e.timeLabels, (a, c) => (r(), i("g", {
2267
2369
  key: `time_label_${c}`
2268
2370
  }, [
2269
- r && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || r && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || r && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === c && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || r && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && c % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (i(), s("text", {
2371
+ 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 && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && l.selectedSerieIndex === c && !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 && c % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (r(), i("text", {
2270
2372
  key: 0,
2271
2373
  "text-anchor": e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2272
2374
  "font-size": l.fontSizes.xAxis,
@@ -2275,12 +2377,12 @@ function ir(t, a, o, h, l, e) {
2275
2377
  style: {
2276
2378
  cursor: "pointer"
2277
2379
  },
2278
- onClick: () => e.selectTimeLabel(r, c)
2279
- }, w(r.text || ""), 9, Wl)) : u("", !0)
2380
+ onClick: () => e.selectTimeLabel(a, c)
2381
+ }, T(a.text || ""), 9, Zl)) : h("", !0)
2280
2382
  ]))), 128))
2281
- ])) : u("", !0),
2282
- d("g", null, [
2283
- (i(!0), s(g, null, m(e.maxSeries, (r, c) => (i(), s("rect", {
2383
+ ])) : h("", !0),
2384
+ f("g", null, [
2385
+ (r(!0), i(g, null, I(e.maxSeries, (a, c) => (r(), i("rect", {
2284
2386
  key: `tooltip_trap_${c}`,
2285
2387
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * c,
2286
2388
  y: e.drawingArea.top,
@@ -2288,38 +2390,264 @@ function ir(t, a, o, h, l, e) {
2288
2390
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
2289
2391
  fill: "transparent",
2290
2392
  onMouseenter: (n) => e.toggleTooltipVisibility(!0, c),
2291
- onMouseleave: a[1] || (a[1] = (n) => e.toggleTooltipVisibility(!1)),
2393
+ onMouseleave: s[1] || (s[1] = (n) => e.toggleTooltipVisibility(!1)),
2292
2394
  onClick: (n) => e.selectX(c)
2293
- }, null, 40, Bl))), 128))
2395
+ }, null, 40, Jl))), 128))
2294
2396
  ]),
2295
- e.FINAL_CONFIG.chart.timeTag.show && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (i(), s("g", El, [
2296
- (i(), s("foreignObject", {
2397
+ e.FINAL_CONFIG.chart.timeTag.show && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (r(), i("g", Kl, [
2398
+ (r(), i("foreignObject", {
2297
2399
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)) - 100 + e.drawingArea.width / e.maxSeries / 2,
2298
2400
  y: e.drawingArea.bottom,
2299
2401
  width: "200",
2300
2402
  height: "40",
2301
2403
  style: { overflow: "visible !important" }
2302
2404
  }, [
2303
- d("div", {
2405
+ f("div", {
2304
2406
  class: "vue-ui-xy-time-tag",
2305
- style: F(`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`)
2306
- }, w(e.timeLabels[(l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)].text || (l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)), 5)
2307
- ], 8, Yl)),
2308
- d("circle", {
2407
+ style: x(`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`)
2408
+ }, T(e.timeLabels[(l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)].text || (l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)), 5)
2409
+ ], 8, Ql)),
2410
+ f("circle", {
2309
2411
  cx: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((l.selectedSerieIndex !== null ? l.selectedSerieIndex : 0) || (l.selectedMinimapIndex !== null ? l.selectedMinimapIndex : 0)) + e.drawingArea.width / e.maxSeries / 2,
2310
2412
  cy: e.drawingArea.bottom,
2311
2413
  r: e.FINAL_CONFIG.chart.timeTag.circleMarker.radius,
2312
2414
  fill: e.FINAL_CONFIG.chart.timeTag.circleMarker.color
2313
- }, null, 8, ql)
2314
- ])) : u("", !0)
2315
- ])) : u("", !0),
2415
+ }, null, 8, jl)
2416
+ ])) : h("", !0)
2417
+ ])) : h("", !0),
2316
2418
  S(t.$slots, "svg", { svg: e.svg }, void 0, !0)
2317
- ], 14, je)) : u("", !0),
2318
- t.$slots.watermark ? (i(), s("div", Xl, [
2319
- S(t.$slots, "watermark", B(E({ isPrinting: l.isPrinting || l.isImaging })), void 0, !0)
2320
- ])) : u("", !0),
2321
- e.isDataset ? u("", !0) : (i(), H(O, {
2322
- key: 6,
2419
+ ], 14, $e)) : h("", !0),
2420
+ t.$slots.watermark ? (r(), i("div", $l, [
2421
+ S(t.$slots, "watermark", E(W({ isPrinting: l.isPrinting || l.isImaging })), void 0, !0)
2422
+ ])) : h("", !0),
2423
+ e.FINAL_CONFIG.line.labels.show && l.mutableConfig.dataLabels.show ? (r(), i(g, { key: 6 }, [
2424
+ (r(!0), i(g, null, I(e.lineSet, (a, c) => (r(), i(g, {
2425
+ key: `tag_line_${c}`
2426
+ }, [
2427
+ (r(!0), i(g, null, I(a.plots, (n, u) => (r(), i(g, {
2428
+ key: `tag_line_${c}_${u}`
2429
+ }, [
2430
+ [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(u) && a.useTag && a.useTag === "end" && e.FINAL_CONFIG.line.tag.followValue ? (r(), i("div", {
2431
+ key: 0,
2432
+ ref_for: !0,
2433
+ ref: (F) => e.setTagRef(c, u, F, "right", "line"),
2434
+ class: "vue-ui-xy-tag",
2435
+ "data-tag": "right",
2436
+ style: x({
2437
+ position: "fixed",
2438
+ top: e.placeXYTag({
2439
+ svgElement: l.svgRef,
2440
+ x: e.drawingArea.right + e.FINAL_CONFIG.line.tag.fontSize / 1.5,
2441
+ y: n.y,
2442
+ element: l.tagRefs[`${c}_${u}_right_line`],
2443
+ position: "right"
2444
+ }).top + "px",
2445
+ left: e.placeXYTag({
2446
+ svgElement: l.svgRef,
2447
+ x: e.drawingArea.right + e.FINAL_CONFIG.line.tag.fontSize / 1.5,
2448
+ y: n.y,
2449
+ element: l.tagRefs[`${c}_${u}_right_line`],
2450
+ position: "right"
2451
+ }).left + "px",
2452
+ height: "fit-content",
2453
+ width: "fit-content",
2454
+ background: a.color,
2455
+ color: e.adaptColorToBackground(a.color),
2456
+ padding: "0 6px",
2457
+ fontSize: e.FINAL_CONFIG.line.tag.fontSize + "px",
2458
+ opacity: 1
2459
+ })
2460
+ }, [
2461
+ (r(), i("svg", ea, [
2462
+ f("path", {
2463
+ d: "M 0,10 10,0 10,20 Z",
2464
+ fill: a.color,
2465
+ stroke: "none"
2466
+ }, null, 8, ta)
2467
+ ])),
2468
+ f("div", {
2469
+ class: "vue-ui-xy-tag-content",
2470
+ innerHTML: e.applyDataLabel(
2471
+ e.FINAL_CONFIG.line.tag.formatter,
2472
+ n.value,
2473
+ a.name,
2474
+ {
2475
+ datapoint: n,
2476
+ seriesIndex: u,
2477
+ serieName: a.name
2478
+ }
2479
+ )
2480
+ }, null, 8, la)
2481
+ ], 4)) : h("", !0),
2482
+ [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(u) && a.useTag && a.useTag === "start" && e.FINAL_CONFIG.line.tag.followValue ? (r(), i("div", {
2483
+ key: 1,
2484
+ ref_for: !0,
2485
+ ref: (F) => e.setTagRef(c, u, F, "left", "line"),
2486
+ class: "vue-ui-xy-tag",
2487
+ "data-tag": "left",
2488
+ style: x({
2489
+ position: "fixed",
2490
+ top: e.placeXYTag({
2491
+ svgElement: l.svgRef,
2492
+ x: e.drawingArea.left - e.FINAL_CONFIG.line.tag.fontSize / 1.5,
2493
+ y: n.y,
2494
+ element: l.tagRefs[`${c}_${u}_left_line`],
2495
+ position: "left"
2496
+ }).top + "px",
2497
+ left: e.placeXYTag({
2498
+ svgElement: l.svgRef,
2499
+ x: e.drawingArea.left - e.FINAL_CONFIG.line.tag.fontSize / 1.5,
2500
+ y: n.y,
2501
+ element: l.tagRefs[`${c}_${u}_left_line`],
2502
+ position: "left"
2503
+ }).left + "px",
2504
+ height: "fit-content",
2505
+ width: "fit-content",
2506
+ background: a.color,
2507
+ color: e.adaptColorToBackground(a.color),
2508
+ padding: "0 6px",
2509
+ fontSize: e.FINAL_CONFIG.line.tag.fontSize + "px",
2510
+ opacity: 1
2511
+ })
2512
+ }, [
2513
+ (r(), i("svg", aa, [
2514
+ f("path", {
2515
+ d: "M 0,0 10,10 0,20 Z",
2516
+ fill: a.color,
2517
+ stroke: "none"
2518
+ }, null, 8, ra)
2519
+ ])),
2520
+ f("div", {
2521
+ class: "vue-ui-xy-tag-content",
2522
+ innerHTML: e.applyDataLabel(
2523
+ e.FINAL_CONFIG.line.tag.formatter,
2524
+ n.value,
2525
+ a.name,
2526
+ {
2527
+ datapoint: n,
2528
+ seriesIndex: u,
2529
+ serieName: a.name
2530
+ }
2531
+ )
2532
+ }, null, 8, ia)
2533
+ ], 4)) : h("", !0)
2534
+ ], 64))), 128))
2535
+ ], 64))), 128)),
2536
+ (r(!0), i(g, null, I(e.plotSet, (a, c) => (r(), i(g, {
2537
+ key: `tag_plot_${c}`
2538
+ }, [
2539
+ (r(!0), i(g, null, I(a.plots, (n, u) => (r(), i(g, {
2540
+ key: `tag_plot_${c}_${u}`
2541
+ }, [
2542
+ [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(u) && a.useTag && a.useTag === "end" && e.FINAL_CONFIG.plot.tag.followValue ? (r(), i("div", {
2543
+ key: 0,
2544
+ ref_for: !0,
2545
+ ref: (F) => e.setTagRef(c, u, F, "right", "plot"),
2546
+ class: "vue-ui-xy-tag",
2547
+ "data-tag": "right",
2548
+ style: x({
2549
+ position: "fixed",
2550
+ top: e.placeXYTag({
2551
+ svgElement: l.svgRef,
2552
+ x: e.drawingArea.right + e.FINAL_CONFIG.plot.tag.fontSize / 1.5,
2553
+ y: n.y,
2554
+ element: l.tagRefs[`${c}_${u}_right_plot`],
2555
+ position: "right"
2556
+ }).top + "px",
2557
+ left: e.placeXYTag({
2558
+ svgElement: l.svgRef,
2559
+ x: e.drawingArea.right + e.FINAL_CONFIG.plot.tag.fontSize / 1.5,
2560
+ y: n.y,
2561
+ element: l.tagRefs[`${c}_${u}_right_plot`],
2562
+ position: "right"
2563
+ }).left + "px",
2564
+ height: "fit-content",
2565
+ width: "fit-content",
2566
+ background: a.color,
2567
+ color: e.adaptColorToBackground(a.color),
2568
+ padding: "0 6px",
2569
+ fontSize: e.FINAL_CONFIG.plot.tag.fontSize + "px",
2570
+ opacity: 1
2571
+ })
2572
+ }, [
2573
+ (r(), i("svg", sa, [
2574
+ f("path", {
2575
+ d: "M 0,10 10,0 10,20 Z",
2576
+ fill: a.color,
2577
+ stroke: "none"
2578
+ }, null, 8, na)
2579
+ ])),
2580
+ f("div", {
2581
+ class: "vue-ui-xy-tag-content",
2582
+ innerHTML: e.applyDataLabel(
2583
+ e.FINAL_CONFIG.plot.tag.formatter,
2584
+ n.value,
2585
+ a.name,
2586
+ {
2587
+ datapoint: n,
2588
+ seriesIndex: u,
2589
+ serieName: a.name
2590
+ }
2591
+ )
2592
+ }, null, 8, ca)
2593
+ ], 4)) : h("", !0),
2594
+ [l.selectedMinimapIndex, l.selectedSerieIndex, l.selectedRowIndex].includes(u) && a.useTag && a.useTag === "start" && e.FINAL_CONFIG.plot.tag.followValue ? (r(), i("div", {
2595
+ key: 1,
2596
+ ref_for: !0,
2597
+ ref: (F) => e.setTagRef(c, u, F, "left", "plot"),
2598
+ class: "vue-ui-xy-tag",
2599
+ "data-tag": "left",
2600
+ style: x({
2601
+ position: "fixed",
2602
+ top: e.placeXYTag({
2603
+ svgElement: l.svgRef,
2604
+ x: e.drawingArea.left - e.FINAL_CONFIG.plot.tag.fontSize / 1.5,
2605
+ y: n.y,
2606
+ element: l.tagRefs[`${c}_${u}_left_plot`],
2607
+ position: "left"
2608
+ }).top + "px",
2609
+ left: e.placeXYTag({
2610
+ svgElement: l.svgRef,
2611
+ x: e.drawingArea.left - e.FINAL_CONFIG.plot.tag.fontSize / 1.5,
2612
+ y: n.y,
2613
+ element: l.tagRefs[`${c}_${u}_left_plot`],
2614
+ position: "left"
2615
+ }).left + "px",
2616
+ height: "fit-content",
2617
+ width: "fit-content",
2618
+ background: a.color,
2619
+ color: e.adaptColorToBackground(a.color),
2620
+ padding: "0 6px",
2621
+ fontSize: e.FINAL_CONFIG.plot.tag.fontSize + "px",
2622
+ opacity: 1
2623
+ })
2624
+ }, [
2625
+ (r(), i("svg", oa, [
2626
+ f("path", {
2627
+ d: "M 0,0 10,10 0,20 Z",
2628
+ fill: a.color,
2629
+ stroke: "none"
2630
+ }, null, 8, ha)
2631
+ ])),
2632
+ f("div", {
2633
+ class: "vue-ui-xy-tag-content",
2634
+ innerHTML: e.applyDataLabel(
2635
+ e.FINAL_CONFIG.plot.tag.formatter,
2636
+ n.value,
2637
+ a.name,
2638
+ {
2639
+ datapoint: n,
2640
+ seriesIndex: u,
2641
+ serieName: a.name
2642
+ }
2643
+ )
2644
+ }, null, 8, ua)
2645
+ ], 4)) : h("", !0)
2646
+ ], 64))), 128))
2647
+ ], 64))), 128))
2648
+ ], 64)) : h("", !0),
2649
+ e.isDataset ? h("", !0) : (r(), D(w, {
2650
+ key: 7,
2323
2651
  config: {
2324
2652
  type: "line",
2325
2653
  style: {
@@ -2336,7 +2664,7 @@ function ir(t, a, o, h, l, e) {
2336
2664
  }
2337
2665
  }
2338
2666
  }, null, 8, ["config"])),
2339
- e.FINAL_CONFIG.chart.zoom.show && l.maxX > 6 && e.isDataset ? (i(), H(p, {
2667
+ e.FINAL_CONFIG.chart.zoom.show && l.maxX > 6 && e.isDataset ? (r(), D(v, {
2340
2668
  ref: "chartSlicer",
2341
2669
  key: `slicer_${l.slicerStep}`,
2342
2670
  background: e.FINAL_CONFIG.chart.zoom.color,
@@ -2362,34 +2690,34 @@ function ir(t, a, o, h, l, e) {
2362
2690
  valueStart: l.slicer.start,
2363
2691
  valueEnd: l.slicer.end,
2364
2692
  start: l.slicer.start,
2365
- "onUpdate:start": a[2] || (a[2] = (r) => l.slicer.start = r),
2693
+ "onUpdate:start": s[2] || (s[2] = (a) => l.slicer.start = a),
2366
2694
  end: l.slicer.end,
2367
- "onUpdate:end": a[3] || (a[3] = (r) => l.slicer.end = r),
2695
+ "onUpdate:end": s[3] || (s[3] = (a) => l.slicer.end = a),
2368
2696
  refreshStartPoint: e.FINAL_CONFIG.chart.zoom.startIndex !== null ? e.FINAL_CONFIG.chart.zoom.startIndex : 0,
2369
- refreshEndPoint: e.FINAL_CONFIG.chart.zoom.endIndex !== null ? e.FINAL_CONFIG.chart.zoom.endIndex + 1 : Math.max(...o.dataset.map((r) => e.largestTriangleThreeBucketsArray({ data: r.series, threshold: e.FINAL_CONFIG.downsample.threshold }).length)),
2697
+ refreshEndPoint: e.FINAL_CONFIG.chart.zoom.endIndex !== null ? e.FINAL_CONFIG.chart.zoom.endIndex + 1 : Math.max(...o.dataset.map((a) => e.largestTriangleThreeBucketsArray({ data: a.series, threshold: e.FINAL_CONFIG.downsample.threshold }).length)),
2370
2698
  enableRangeHandles: e.FINAL_CONFIG.chart.zoom.enableRangeHandles,
2371
2699
  enableSelectionDrag: e.FINAL_CONFIG.chart.zoom.enableSelectionDrag,
2372
2700
  onReset: e.refreshSlicer,
2373
2701
  onTrapMouse: e.selectMinimapIndex
2374
2702
  }, {
2375
- "reset-action": P(({ reset: r }) => [
2376
- S(t.$slots, "reset-action", B(E({ reset: r })), void 0, !0)
2703
+ "reset-action": P(({ reset: a }) => [
2704
+ S(t.$slots, "reset-action", E(W({ reset: a })), void 0, !0)
2377
2705
  ]),
2378
2706
  _: 3
2379
- }, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "verticalHandles", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "onReset", "onTrapMouse"])) : u("", !0),
2380
- e.FINAL_CONFIG.chart.legend.show ? (i(), s("div", {
2381
- key: 8,
2707
+ }, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "verticalHandles", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "onReset", "onTrapMouse"])) : h("", !0),
2708
+ e.FINAL_CONFIG.chart.legend.show ? (r(), i("div", {
2709
+ key: 9,
2382
2710
  ref: "chartLegend",
2383
2711
  class: "vue-ui-xy-legend",
2384
- style: F(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
2712
+ style: x(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
2385
2713
  }, [
2386
- (i(!0), s(g, null, m(e.absoluteDataset, (r, c) => (i(), s("div", {
2714
+ (r(!0), i(g, null, I(e.absoluteDataset, (a, c) => (r(), i("div", {
2387
2715
  key: `div_legend_item_${c}`,
2388
- onClick: (n) => e.segregate(r),
2389
- class: W({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": l.segregatedSeries.includes(r.id) })
2716
+ onClick: (n) => e.segregate(a),
2717
+ class: B({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": l.segregatedSeries.includes(a.id) })
2390
2718
  }, [
2391
- l.icons[r.type] === "line" ? (i(), s("svg", Zl, [
2392
- d("rect", {
2719
+ l.icons[a.type] === "line" ? (r(), i("svg", ga, [
2720
+ f("rect", {
2393
2721
  x: "0",
2394
2722
  y: "7.5",
2395
2723
  rx: "1.5",
@@ -2397,18 +2725,18 @@ function ir(t, a, o, h, l, e) {
2397
2725
  "stroke-width": 0.5,
2398
2726
  height: "3",
2399
2727
  width: "20",
2400
- fill: r.color
2401
- }, null, 8, Jl),
2402
- Y(v, {
2728
+ fill: a.color
2729
+ }, null, 8, fa),
2730
+ Y(G, {
2403
2731
  plot: { x: 10, y: 9 },
2404
2732
  radius: 4,
2405
- color: r.color,
2406
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(r.shape) ? r.shape : "circle",
2733
+ color: a.color,
2734
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
2407
2735
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
2408
2736
  strokeWidth: 0.5
2409
2737
  }, null, 8, ["color", "shape", "stroke"])
2410
- ])) : l.icons[r.type] === "bar" ? (i(), s("svg", Kl, [
2411
- l.icons[r.type] === "bar" && t.$slots.pattern ? (i(), s("rect", {
2738
+ ])) : l.icons[a.type] === "bar" ? (r(), i("svg", Ia, [
2739
+ l.icons[a.type] === "bar" && t.$slots.pattern ? (r(), i("rect", {
2412
2740
  key: 0,
2413
2741
  x: "0",
2414
2742
  y: "0",
@@ -2416,9 +2744,9 @@ function ir(t, a, o, h, l, e) {
2416
2744
  height: "40",
2417
2745
  width: "40",
2418
2746
  stroke: "none",
2419
- fill: r.color
2420
- }, null, 8, Ql)) : u("", !0),
2421
- l.icons[r.type] === "bar" ? (i(), s("rect", {
2747
+ fill: a.color
2748
+ }, null, 8, ma)) : h("", !0),
2749
+ l.icons[a.type] === "bar" ? (r(), i("rect", {
2422
2750
  key: 1,
2423
2751
  x: "0",
2424
2752
  y: "0",
@@ -2426,27 +2754,27 @@ function ir(t, a, o, h, l, e) {
2426
2754
  height: "40",
2427
2755
  width: "40",
2428
2756
  stroke: "none",
2429
- fill: t.$slots.pattern ? `url(#pattern_${l.uniqueId}_${r.slotAbsoluteIndex})` : r.color
2430
- }, null, 8, jl)) : u("", !0)
2431
- ])) : (i(), s("svg", $l, [
2432
- Y(v, {
2757
+ fill: t.$slots.pattern ? `url(#pattern_${l.uniqueId}_${a.slotAbsoluteIndex})` : a.color
2758
+ }, null, 8, Na)) : h("", !0)
2759
+ ])) : (r(), i("svg", xa, [
2760
+ Y(G, {
2433
2761
  plot: { x: 6, y: 6 },
2434
2762
  radius: 5,
2435
- color: r.color,
2436
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(r.shape) ? r.shape : "circle"
2763
+ color: a.color,
2764
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle"
2437
2765
  }, null, 8, ["color", "shape"])
2438
2766
  ])),
2439
- d("span", {
2440
- style: F(`color:${e.FINAL_CONFIG.chart.legend.color}`)
2441
- }, w(r.name), 5)
2442
- ], 10, Ul))), 128))
2443
- ], 4)) : (i(), s("div", er, [
2767
+ f("span", {
2768
+ style: x(`color:${e.FINAL_CONFIG.chart.legend.color}`)
2769
+ }, T(a.name), 5)
2770
+ ], 10, da))), 128))
2771
+ ], 4)) : (r(), i("div", ba, [
2444
2772
  S(t.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
2445
2773
  ], 512)),
2446
- t.$slots.source ? (i(), s("div", tr, [
2774
+ t.$slots.source ? (r(), i("div", Fa, [
2447
2775
  S(t.$slots, "source", {}, void 0, !0)
2448
- ], 512)) : u("", !0),
2449
- Y(G, {
2776
+ ], 512)) : h("", !0),
2777
+ Y(O, {
2450
2778
  show: l.mutableConfig.showTooltip && l.isTooltip,
2451
2779
  backgroundColor: e.FINAL_CONFIG.chart.tooltip.backgroundColor,
2452
2780
  color: e.FINAL_CONFIG.chart.tooltip.color,
@@ -2463,15 +2791,15 @@ function ir(t, a, o, h, l, e) {
2463
2791
  isCustom: e.FINAL_CONFIG.chart.tooltip.customFormat && typeof e.FINAL_CONFIG.chart.tooltip.customFormat == "function"
2464
2792
  }, {
2465
2793
  "tooltip-before": P(() => [
2466
- S(t.$slots, "tooltip-before", B(E({ ...e.dataTooltipSlot })), void 0, !0)
2794
+ S(t.$slots, "tooltip-before", E(W({ ...e.dataTooltipSlot })), void 0, !0)
2467
2795
  ]),
2468
2796
  "tooltip-after": P(() => [
2469
- S(t.$slots, "tooltip-after", B(E({ ...e.dataTooltipSlot })), void 0, !0)
2797
+ S(t.$slots, "tooltip-after", E(W({ ...e.dataTooltipSlot })), void 0, !0)
2470
2798
  ]),
2471
2799
  _: 3
2472
2800
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
2473
- e.isDataset ? (i(), H(V, {
2474
- key: 11,
2801
+ e.isDataset ? (r(), D(V, {
2802
+ key: 12,
2475
2803
  hideDetails: "",
2476
2804
  config: {
2477
2805
  open: l.mutableConfig.showTable,
@@ -2487,47 +2815,47 @@ function ir(t, a, o, h, l, e) {
2487
2815
  }
2488
2816
  }, {
2489
2817
  content: P(() => [
2490
- d("div", {
2491
- style: F(`${l.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2818
+ f("div", {
2819
+ style: x(`${l.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2492
2820
  }, [
2493
- d("div", lr, [
2494
- qe(d("input", {
2821
+ f("div", _a, [
2822
+ Xe(f("input", {
2495
2823
  type: "checkbox",
2496
- "onUpdate:modelValue": a[4] || (a[4] = (r) => l.showSparklineTable = r)
2824
+ "onUpdate:modelValue": s[4] || (s[4] = (a) => l.showSparklineTable = a)
2497
2825
  }, null, 512), [
2498
- [Xe, l.showSparklineTable]
2826
+ [Ue, l.showSparklineTable]
2499
2827
  ]),
2500
- d("div", {
2501
- onClick: a[5] || (a[5] = (r) => l.showSparklineTable = !l.showSparklineTable),
2828
+ f("div", {
2829
+ onClick: s[5] || (s[5] = (a) => l.showSparklineTable = !l.showSparklineTable),
2502
2830
  style: { cursor: "pointer" }
2503
2831
  }, [
2504
- Y(N, {
2832
+ Y(b, {
2505
2833
  name: "chartLine",
2506
2834
  size: 20,
2507
2835
  stroke: e.FINAL_CONFIG.chart.color
2508
2836
  }, null, 8, ["stroke"])
2509
2837
  ])
2510
2838
  ]),
2511
- l.showSparklineTable ? (i(), H(L, {
2839
+ l.showSparklineTable ? (r(), D(C, {
2512
2840
  key: `sparkline_${l.segregateStep}`,
2513
2841
  dataset: e.tableSparklineDataset,
2514
2842
  config: e.tableSparklineConfig
2515
- }, null, 8, ["dataset", "config"])) : (i(), H(z, {
2843
+ }, null, 8, ["dataset", "config"])) : (r(), D(p, {
2516
2844
  key: `table_${l.tableStep}`,
2517
2845
  colNames: e.dataTable.colNames,
2518
2846
  head: e.dataTable.head,
2519
2847
  body: e.dataTable.body,
2520
2848
  config: e.dataTable.config,
2521
2849
  title: `${e.FINAL_CONFIG.chart.title.text}${e.FINAL_CONFIG.chart.title.subtitle.text ? ` : ${e.FINAL_CONFIG.chart.title.subtitle.text}` : ""}`,
2522
- onClose: a[6] || (a[6] = (r) => l.mutableConfig.showTable = !1)
2850
+ onClose: s[6] || (s[6] = (a) => l.mutableConfig.showTable = !1)
2523
2851
  }, {
2524
- th: P(({ th: r }) => [
2525
- d("div", { innerHTML: r }, null, 8, rr)
2852
+ th: P(({ th: a }) => [
2853
+ f("div", { innerHTML: a }, null, 8, ya)
2526
2854
  ]),
2527
- td: P(({ td: r }) => [
2528
- J(w(isNaN(Number(r)) ? r : e.dataLabel({
2855
+ td: P(({ td: a }) => [
2856
+ J(T(isNaN(Number(a)) ? a : e.dataLabel({
2529
2857
  p: e.FINAL_CONFIG.chart.labels.prefix,
2530
- v: r,
2858
+ v: a,
2531
2859
  s: e.FINAL_CONFIG.chart.labels.suffix,
2532
2860
  r: e.FINAL_CONFIG.table.rounding
2533
2861
  })), 1)
@@ -2537,10 +2865,10 @@ function ir(t, a, o, h, l, e) {
2537
2865
  ], 4)
2538
2866
  ]),
2539
2867
  _: 1
2540
- }, 8, ["config"])) : u("", !0)
2541
- ], 46, Ke);
2868
+ }, 8, ["config"])) : h("", !0)
2869
+ ], 46, Qe);
2542
2870
  }
2543
- const _r = /* @__PURE__ */ Ue(Je, [["render", ir], ["__scopeId", "data-v-70e7f546"]]);
2871
+ const Da = /* @__PURE__ */ Ze(Ke, [["render", Aa], ["__scopeId", "data-v-815414af"]]);
2544
2872
  export {
2545
- _r as default
2873
+ Da as default
2546
2874
  };