vue-data-ui 2.4.85 → 2.4.87

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 (170) hide show
  1. package/dist/{Arrow-Ajt3NMEa.cjs → Arrow-B6C-c2DT.cjs} +1 -1
  2. package/dist/{Arrow-Qayb_B0s.js → Arrow-C8PrFeHS.js} +1 -1
  3. package/dist/{BaseIcon-BVrsMbvi.cjs → BaseIcon-CdOKZmHr.cjs} +1 -1
  4. package/dist/{BaseIcon-B8U62FEj.js → BaseIcon-plElWres.js} +1 -1
  5. package/dist/{DataTable-1PQD-SFb.cjs → DataTable-BmKl4AAb.cjs} +1 -1
  6. package/dist/{DataTable-C0tCPQ9i.js → DataTable-CKke7C6w.js} +2 -2
  7. package/dist/{Legend-BJ2Wbqut.cjs → Legend-CY6wjCYY.cjs} +1 -1
  8. package/dist/{Legend-BTpe6qQB.js → Legend-DMeEvZOT.js} +2 -2
  9. package/dist/{PackageVersion-BjfedMsH.cjs → PackageVersion-DvDNPRrJ.cjs} +1 -1
  10. package/dist/{PackageVersion-CENy3Lm2.js → PackageVersion-Rh3rgo6A.js} +1 -1
  11. package/dist/{PenAndPaper-nqRtAh6J.cjs → PenAndPaper--xHLJRME.cjs} +1 -1
  12. package/dist/{PenAndPaper-Dr7ndoP_.js → PenAndPaper-DqVsdeLc.js} +3 -3
  13. package/dist/{Shape-zFv85Gc2.js → Shape-CL3HglYL.js} +1 -1
  14. package/dist/{Shape-Boa32JEn.cjs → Shape-DEwnzwRB.cjs} +1 -1
  15. package/dist/{Slicer-D6QLMg5N.cjs → Slicer-CnNbe-dl.cjs} +1 -1
  16. package/dist/{Slicer-BUYuk07t.js → Slicer-ZryQKOl5.js} +2 -2
  17. package/dist/{Title-CaET2xuF.js → Title-BU5Aq1_x.js} +1 -1
  18. package/dist/{Title-DJUxOiaO.cjs → Title-C10173bN.cjs} +1 -1
  19. package/dist/{Tooltip-C5QuW94e.cjs → Tooltip-CL7aSMgq.cjs} +1 -1
  20. package/dist/{Tooltip-Bkc4233T.js → Tooltip-Dm-obTbx.js} +1 -1
  21. package/dist/{index-COIn1phv.cjs → index-1HOIfTy2.cjs} +1 -1
  22. package/dist/{index-B7nCQFK0.js → index-BG5J_ybN.js} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/{useNestedProp-CbMuGGl3.cjs → useNestedProp-BFNnjpX-.cjs} +1 -1
  25. package/dist/{useNestedProp-C9rlBRTT.js → useNestedProp-BN1ZmAKT.js} +1 -1
  26. package/dist/{usePrinter-CQMn1b4E.js → usePrinter-CWeJt84b.js} +1 -1
  27. package/dist/{usePrinter-CXXfgFFN.cjs → usePrinter-i-j4CdEi.cjs} +1 -1
  28. package/dist/{vue-data-ui-Bu_VIHgr.cjs → vue-data-ui-549nX1yu.cjs} +1 -1
  29. package/dist/{vue-data-ui-BnsKGbqb.js → vue-data-ui-B5u9V9lC.js} +60 -60
  30. package/dist/vue-data-ui.cjs +1 -1
  31. package/dist/vue-data-ui.js +1 -1
  32. package/dist/{vue-ui-3d-bar-V5FBS9MA.js → vue-ui-3d-bar-DBtozgXL.js} +38 -38
  33. package/dist/{vue-ui-3d-bar-D39F2dKF.cjs → vue-ui-3d-bar-J7LkJgTZ.cjs} +11 -11
  34. package/dist/{vue-ui-accordion-CGlnNTr8.cjs → vue-ui-accordion-Cd6GaDwU.cjs} +1 -1
  35. package/dist/{vue-ui-accordion-B8ptB5BQ.js → vue-ui-accordion-JBOceVq2.js} +3 -3
  36. package/dist/{vue-ui-age-pyramid-Bjp1R8Ku.js → vue-ui-age-pyramid-BIkYjL8e.js} +29 -29
  37. package/dist/vue-ui-age-pyramid-DeryBRqg.cjs +1 -0
  38. package/dist/{vue-ui-annotator-V9m5fTGG.js → vue-ui-annotator-Bt90Iec6.js} +1 -1
  39. package/dist/{vue-ui-annotator-BoWZZRPg.cjs → vue-ui-annotator-Dw8cVACs.cjs} +1 -1
  40. package/dist/{vue-ui-bullet-DLIxlhFF.cjs → vue-ui-bullet-BMAYQESQ.cjs} +1 -1
  41. package/dist/{vue-ui-bullet-Bqvb5PV-.js → vue-ui-bullet-DzosZUYl.js} +8 -8
  42. package/dist/{vue-ui-candlestick-D4BD8LyJ.cjs → vue-ui-candlestick-BaLnAKB9.cjs} +2 -2
  43. package/dist/{vue-ui-candlestick-DHCtmsh3.js → vue-ui-candlestick-dTATEFOU.js} +48 -48
  44. package/dist/{vue-ui-carousel-table-VIuoh2QI.cjs → vue-ui-carousel-table-CWNI7Ri5.cjs} +1 -1
  45. package/dist/{vue-ui-carousel-table-Cn2RJkSb.js → vue-ui-carousel-table-rMcj65Bo.js} +4 -4
  46. package/dist/{vue-ui-chestnut-C5qUO1uK.js → vue-ui-chestnut-B_NLFSaY.js} +29 -29
  47. package/dist/{vue-ui-chestnut-ClG9HZoC.cjs → vue-ui-chestnut-DjOEVM3w.cjs} +2 -2
  48. package/dist/{vue-ui-cursor-Bo8et-dD.cjs → vue-ui-cursor-CBUwAZd1.cjs} +1 -1
  49. package/dist/{vue-ui-cursor-eJau3iyr.js → vue-ui-cursor-CTvVj3YO.js} +2 -2
  50. package/dist/{vue-ui-dashboard-DnaH9bCw.js → vue-ui-dashboard-CG9J3DLT.js} +2 -2
  51. package/dist/{vue-ui-dashboard-WJqGQ8iR.cjs → vue-ui-dashboard-DcfhPFVi.cjs} +1 -1
  52. package/dist/{vue-ui-digits-qIckO4-r.cjs → vue-ui-digits-B8lUQcKK.cjs} +1 -1
  53. package/dist/{vue-ui-digits-Cqjts2eq.js → vue-ui-digits-CF6qbsmO.js} +2 -2
  54. package/dist/{vue-ui-donut-pprcnbIw.js → vue-ui-donut-Bbkz0M-R.js} +76 -76
  55. package/dist/vue-ui-donut-CzmOCuxn.cjs +1 -0
  56. package/dist/{vue-ui-donut-evolution-EzYvP11F.js → vue-ui-donut-evolution-BkE-sAyn.js} +66 -66
  57. package/dist/vue-ui-donut-evolution-CjFUAKXU.cjs +1 -0
  58. package/dist/vue-ui-dumbbell-BiHzKPGP.cjs +9 -0
  59. package/dist/{vue-ui-dumbbell-DaxcxmnU.js → vue-ui-dumbbell-D8JuHhzi.js} +28 -28
  60. package/dist/vue-ui-flow-CR1Qo5Rt.cjs +1 -0
  61. package/dist/{vue-ui-flow-DbRgaKBu.js → vue-ui-flow-Cie8iHDK.js} +31 -31
  62. package/dist/vue-ui-funnel-B8uRuzDx.cjs +1 -0
  63. package/dist/{vue-ui-funnel-B2del8KB.js → vue-ui-funnel-tW6PGqcE.js} +32 -32
  64. package/dist/vue-ui-galaxy-BfbYEvnO.cjs +1 -0
  65. package/dist/{vue-ui-galaxy-pUYeASJf.js → vue-ui-galaxy-p4j0h3ZX.js} +81 -81
  66. package/dist/{vue-ui-gauge-DpsXpEaW.js → vue-ui-gauge-CtVmazzP.js} +7 -7
  67. package/dist/{vue-ui-gauge-BOXoAgWk.cjs → vue-ui-gauge-DnTOvr4T.cjs} +1 -1
  68. package/dist/{vue-ui-gizmo-Bq9uAmqd.cjs → vue-ui-gizmo-BdlVxVqD.cjs} +1 -1
  69. package/dist/{vue-ui-gizmo-BpYrhkon.js → vue-ui-gizmo-wjZJgWPe.js} +3 -3
  70. package/dist/{vue-ui-heatmap-Cz6_9Veh.js → vue-ui-heatmap-DJXLmzGL.js} +63 -63
  71. package/dist/vue-ui-heatmap-Gd3nkwzC.cjs +1 -0
  72. package/dist/vue-ui-history-plot-CevSrT7E.cjs +1 -0
  73. package/dist/{vue-ui-history-plot-DAotUjSF.js → vue-ui-history-plot-DJQck-9N.js} +69 -69
  74. package/dist/{vue-ui-kpi-D6mp6EQ2.cjs → vue-ui-kpi-D8NVXEfO.cjs} +1 -1
  75. package/dist/{vue-ui-kpi-Ch2p7m-i.js → vue-ui-kpi-MK6JH8yi.js} +3 -3
  76. package/dist/{vue-ui-mini-loader-E13lmwfO.js → vue-ui-mini-loader-UiC0NYsO.js} +2 -2
  77. package/dist/{vue-ui-mini-loader-CO-KGVlC.cjs → vue-ui-mini-loader-a8JZaxIy.cjs} +1 -1
  78. package/dist/vue-ui-molecule-CXgKUNCL.cjs +1 -0
  79. package/dist/{vue-ui-molecule-C69K6EPO.js → vue-ui-molecule-Cz9zZQ95.js} +155 -155
  80. package/dist/vue-ui-mood-radar-B-PSds5c.cjs +1 -0
  81. package/dist/{vue-ui-mood-radar-DDtky572.js → vue-ui-mood-radar-BMMCFkEk.js} +33 -33
  82. package/dist/{vue-ui-nested-donuts-DMCd6DqT.cjs → vue-ui-nested-donuts-Cdx6UQwF.cjs} +5 -5
  83. package/dist/{vue-ui-nested-donuts-AYPYIRrE.js → vue-ui-nested-donuts-Da9c-H0Y.js} +147 -147
  84. package/dist/{vue-ui-onion-Bsa88sKK.js → vue-ui-onion-D1wExDGP.js} +44 -44
  85. package/dist/{vue-ui-onion-BedLvfFe.cjs → vue-ui-onion-HAS4P8nS.cjs} +2 -2
  86. package/dist/{vue-ui-parallel-coordinate-plot-KCEb4iRs.js → vue-ui-parallel-coordinate-plot-BH0xKZAE.js} +79 -79
  87. package/dist/{vue-ui-parallel-coordinate-plot-CSOMIABF.cjs → vue-ui-parallel-coordinate-plot-BYeyzJnE.cjs} +3 -3
  88. package/dist/{vue-ui-quadrant-Bd_88Eht.js → vue-ui-quadrant-BDkbMaNf.js} +108 -108
  89. package/dist/vue-ui-quadrant-DbWSZWfP.cjs +1 -0
  90. package/dist/{vue-ui-quick-chart-CXAYKYHa.js → vue-ui-quick-chart-D3b2YwMY.js} +212 -212
  91. package/dist/vue-ui-quick-chart-qnbmA75J.cjs +15 -0
  92. package/dist/{vue-ui-radar-De397oTB.js → vue-ui-radar--Bt67L0i.js} +107 -107
  93. package/dist/vue-ui-radar-DSZpmaIZ.cjs +1 -0
  94. package/dist/{vue-ui-rating-wK3_ZWE5.js → vue-ui-rating-Bgr7tvIq.js} +2 -2
  95. package/dist/{vue-ui-rating-BjiMVoyX.cjs → vue-ui-rating-Z_ANkBeZ.cjs} +1 -1
  96. package/dist/{vue-ui-relation-circle-BEGyr1h-.cjs → vue-ui-relation-circle-3cgv8yC-.cjs} +1 -1
  97. package/dist/{vue-ui-relation-circle-BxlK8MVs.js → vue-ui-relation-circle-B22VP_p1.js} +7 -7
  98. package/dist/{vue-ui-rings-BcNMBXxq.cjs → vue-ui-rings-DZEwaUv5.cjs} +2 -2
  99. package/dist/{vue-ui-rings-BXrtMSML.js → vue-ui-rings-DgzfAEvJ.js} +66 -66
  100. package/dist/{vue-ui-scatter-BWZfLJ9P.js → vue-ui-scatter-BwlbShJE.js} +85 -85
  101. package/dist/vue-ui-scatter-CSI15Dgp.cjs +1 -0
  102. package/dist/{vue-ui-screenshot-BJgOwFMW.cjs → vue-ui-screenshot-DK2xyINC.cjs} +1 -1
  103. package/dist/{vue-ui-screenshot-hw4PC9Uu.js → vue-ui-screenshot-Dk0TqQpi.js} +1 -1
  104. package/dist/{vue-ui-skeleton-BIqMxXV7.cjs → vue-ui-skeleton-CLiDRcQX.cjs} +1 -1
  105. package/dist/{vue-ui-skeleton-D66ZIUln.js → vue-ui-skeleton-c211TxZ8.js} +3 -3
  106. package/dist/{vue-ui-smiley-Duy5Xo-j.cjs → vue-ui-smiley-Kr6bQ-7L.cjs} +1 -1
  107. package/dist/{vue-ui-smiley-DWPYdcDB.js → vue-ui-smiley-hIooew3m.js} +2 -2
  108. package/dist/{vue-ui-spark-trend-Ce4IaqPz.js → vue-ui-spark-trend-CgpDYM8f.js} +5 -5
  109. package/dist/{vue-ui-spark-trend-DP5foaNi.cjs → vue-ui-spark-trend-SVqMwS1X.cjs} +1 -1
  110. package/dist/{vue-ui-sparkbar-Bbns4V16.cjs → vue-ui-sparkbar-DY1J0X8K.cjs} +1 -1
  111. package/dist/{vue-ui-sparkbar-Fa-Kc9Fr.js → vue-ui-sparkbar-D_HgtfBM.js} +4 -4
  112. package/dist/{vue-ui-sparkgauge-BrLrvNLH.cjs → vue-ui-sparkgauge-C4p0nAHp.cjs} +1 -1
  113. package/dist/{vue-ui-sparkgauge-DUWcJ7cM.js → vue-ui-sparkgauge-jO5jKAyz.js} +4 -4
  114. package/dist/{vue-ui-sparkhistogram-PgC-c-5a.js → vue-ui-sparkhistogram-BpQfz14e.js} +5 -5
  115. package/dist/{vue-ui-sparkhistogram-B0rhs_UN.cjs → vue-ui-sparkhistogram-gSNvSVcP.cjs} +1 -1
  116. package/dist/{vue-ui-sparkline-BqNlrKjb.js → vue-ui-sparkline-BTgaJjMj.js} +4 -4
  117. package/dist/{vue-ui-sparkline-c5Awoj8J.cjs → vue-ui-sparkline-D53BDGCi.cjs} +1 -1
  118. package/dist/{vue-ui-sparkstackbar-DyJIUulr.js → vue-ui-sparkstackbar-COm1EqFN.js} +5 -5
  119. package/dist/{vue-ui-sparkstackbar-BmYIcpVZ.cjs → vue-ui-sparkstackbar-DcEhBuvP.cjs} +1 -1
  120. package/dist/{vue-ui-stackbar-BebRtOYL.js → vue-ui-stackbar-BHyysJyj.js} +51 -51
  121. package/dist/{vue-ui-stackbar-DJ9NH_l1.cjs → vue-ui-stackbar-D4-vrvMz.cjs} +3 -3
  122. package/dist/{vue-ui-strip-plot-BGHj1BHd.js → vue-ui-strip-plot-BOLWDlTl.js} +118 -118
  123. package/dist/vue-ui-strip-plot-iUjpocRA.cjs +1 -0
  124. package/dist/{vue-ui-table-BFdGppRF.cjs → vue-ui-table-DG3-RAEv.cjs} +1 -1
  125. package/dist/{vue-ui-table-ClPMKcMn.js → vue-ui-table-XThR7HtD.js} +1 -1
  126. package/dist/{vue-ui-table-heatmap-B7wTjM-H.cjs → vue-ui-table-heatmap-B82Dmfv2.cjs} +1 -1
  127. package/dist/{vue-ui-table-heatmap-DVQtPt-M.js → vue-ui-table-heatmap-DxWQ3cdf.js} +4 -4
  128. package/dist/{vue-ui-table-sparkline-DjxKXWQm.js → vue-ui-table-sparkline-BIQAc-eX.js} +5 -5
  129. package/dist/{vue-ui-table-sparkline-DaKODjfM.cjs → vue-ui-table-sparkline-C3JrSwmi.cjs} +1 -1
  130. package/dist/{vue-ui-thermometer-CV_9k37V.js → vue-ui-thermometer-Ci0OBAEN.js} +7 -7
  131. package/dist/{vue-ui-thermometer-DE9r0emf.cjs → vue-ui-thermometer-t1cul6jD.cjs} +1 -1
  132. package/dist/{vue-ui-timer-Ct-KYWSX.cjs → vue-ui-timer-BLqulQx5.cjs} +1 -1
  133. package/dist/{vue-ui-timer-2w5Ayq7G.js → vue-ui-timer-CwJoQApu.js} +5 -5
  134. package/dist/{vue-ui-tiremarks-BJnh0GBj.js → vue-ui-tiremarks-CFVl_w7d.js} +7 -7
  135. package/dist/{vue-ui-tiremarks-Cf04zARl.cjs → vue-ui-tiremarks-_d9WOe-N.cjs} +1 -1
  136. package/dist/vue-ui-treemap-BaQFfbqL.cjs +1 -0
  137. package/dist/{vue-ui-treemap-BD546LBi.js → vue-ui-treemap-BtjPxOzu.js} +108 -108
  138. package/dist/{vue-ui-vertical-bar-D3QKHHnS.cjs → vue-ui-vertical-bar-BcjM9qCI.cjs} +3 -3
  139. package/dist/{vue-ui-vertical-bar-E5CTb1Bd.js → vue-ui-vertical-bar-xnQDjCLE.js} +54 -54
  140. package/dist/{vue-ui-waffle-BAJIMbZK.js → vue-ui-waffle-BMFtG4mh.js} +99 -99
  141. package/dist/vue-ui-waffle-DGarEDP5.cjs +1 -0
  142. package/dist/{vue-ui-wheel-CPPLUSFq.js → vue-ui-wheel-DIr8JQt0.js} +7 -7
  143. package/dist/{vue-ui-wheel-Dy_B7BTG.cjs → vue-ui-wheel-DLFWUmdm.cjs} +1 -1
  144. package/dist/vue-ui-word-cloud-CDQ4rkP-.cjs +1 -0
  145. package/dist/{vue-ui-word-cloud-BVZcDY7m.js → vue-ui-word-cloud-CrSkUMkN.js} +81 -81
  146. package/dist/{vue-ui-xy-tB-6IP2y.js → vue-ui-xy-DPT3SYuU.js} +815 -818
  147. package/dist/vue-ui-xy-DfnDyl8o.cjs +3 -0
  148. package/dist/{vue-ui-xy-canvas-DFUfTZwz.js → vue-ui-xy-canvas-C3iMSkvP.js} +35 -35
  149. package/dist/{vue-ui-xy-canvas-BSZTrqci.cjs → vue-ui-xy-canvas-DEyhDtC-.cjs} +3 -3
  150. package/package.json +1 -1
  151. package/dist/vue-ui-age-pyramid-BdseHKUc.cjs +0 -1
  152. package/dist/vue-ui-donut-BP7yj2DU.cjs +0 -1
  153. package/dist/vue-ui-donut-evolution-Cz8uFJp8.cjs +0 -1
  154. package/dist/vue-ui-dumbbell-CYqHCr2S.cjs +0 -9
  155. package/dist/vue-ui-flow-HeRCplGL.cjs +0 -1
  156. package/dist/vue-ui-funnel-DxniWNkD.cjs +0 -1
  157. package/dist/vue-ui-galaxy-BDA64dud.cjs +0 -1
  158. package/dist/vue-ui-heatmap-CbKgGLtN.cjs +0 -1
  159. package/dist/vue-ui-history-plot-BoMdvItE.cjs +0 -1
  160. package/dist/vue-ui-molecule-CeoDnPXB.cjs +0 -1
  161. package/dist/vue-ui-mood-radar-BwOqQUuT.cjs +0 -1
  162. package/dist/vue-ui-quadrant-BXQVOvpY.cjs +0 -1
  163. package/dist/vue-ui-quick-chart-dLItYwM_.cjs +0 -15
  164. package/dist/vue-ui-radar-BuNtocmn.cjs +0 -1
  165. package/dist/vue-ui-scatter-DTy3yPVu.cjs +0 -1
  166. package/dist/vue-ui-strip-plot-f7vejZht.cjs +0 -1
  167. package/dist/vue-ui-treemap-D0vi4bv4.cjs +0 -1
  168. package/dist/vue-ui-waffle-BL0e3Yeq.cjs +0 -1
  169. package/dist/vue-ui-word-cloud-BPoAoeWZ.cjs +0 -1
  170. package/dist/vue-ui-xy-D4hRtHAi.cjs +0 -3
@@ -1,20 +1,20 @@
1
- import { c as J, a as K, t as j, z as $, p as ee, V as X, O as H, f as U, L as te, G as ie, i as re, a4 as ae, a1 as le, a5 as se, v as ne, a6 as he, d as oe, B as ce, b as de, q as ue, R as ge, Q as fe, a7 as Ie, r as me, e as Ne, a2 as xe, y as be, C as Fe, x as _e, a8 as Ae, Z as ye, o as Le, s as Ce, w as Se, F as ke, A as we, u as Oe } from "./index-B7nCQFK0.js";
2
- import { D as Ge } from "./DataTable-C0tCPQ9i.js";
3
- import { _ as ve } from "./Title-CaET2xuF.js";
4
- import { _ as ze, u as Me } from "./Tooltip-Bkc4233T.js";
5
- import { U as pe } from "./usePrinter-CQMn1b4E.js";
6
- import { _ as Te } from "./Shape-zFv85Gc2.js";
7
- import Pe from "./BaseIcon-B8U62FEj.js";
8
- import Ve from "./vue-ui-table-sparkline-DjxKXWQm.js";
9
- import Re from "./vue-ui-skeleton-D66ZIUln.js";
10
- import { S as De } from "./Slicer-BUYuk07t.js";
11
- import He from "./vue-ui-accordion-B8ptB5BQ.js";
12
- import { u as Z } from "./useNestedProp-C9rlBRTT.js";
13
- import { _ as Be } from "./PackageVersion-CENy3Lm2.js";
14
- import { P as We } from "./PenAndPaper-Dr7ndoP_.js";
15
- import { resolveComponent as R, openBlock as a, createElementBlock as s, normalizeClass as D, normalizeStyle as L, createBlock as B, createCommentVNode as c, createSlots as Ee, withCtx as P, renderSlot as k, normalizeProps as W, guardReactiveProps as E, createVNode as q, createElementVNode as u, Fragment as f, renderList as m, toDisplayString as w, mergeProps as Ye, withDirectives as qe, vModelCheckbox as Xe, createTextVNode as Ue } from "vue";
1
+ import { c as K, a as $, t as ee, z as te, p as re, V as X, O as D, f as U, L as ie, G as ae, i as le, a4 as se, a1 as ne, a5 as he, v as oe, a6 as ce, d as de, B as ue, b as ge, q as fe, R as Ie, Q as me, a7 as Ne, r as xe, e as be, a2 as Fe, y as _e, C as Ae, x as ye, a8 as Ce, Z as Le, o as Se, s as ke, w as we, F as Oe, A as Ge, u as ve } from "./index-BG5J_ybN.js";
2
+ import { D as ze } from "./DataTable-CKke7C6w.js";
3
+ import { _ as Me } from "./Title-BU5Aq1_x.js";
4
+ import { _ as pe, u as Te } from "./Tooltip-Dm-obTbx.js";
5
+ import { U as Pe } from "./usePrinter-CWeJt84b.js";
6
+ import { _ as Ve } from "./Shape-CL3HglYL.js";
7
+ import Re from "./BaseIcon-plElWres.js";
8
+ import De from "./vue-ui-table-sparkline-BIQAc-eX.js";
9
+ import He from "./vue-ui-skeleton-c211TxZ8.js";
10
+ import { S as Be } from "./Slicer-ZryQKOl5.js";
11
+ import We from "./vue-ui-accordion-JBOceVq2.js";
12
+ import { u as Z } from "./useNestedProp-BN1ZmAKT.js";
13
+ import { _ as Ee } from "./PackageVersion-Rh3rgo6A.js";
14
+ import { P as Ye } from "./PenAndPaper-DqVsdeLc.js";
15
+ import { resolveComponent as R, openBlock as a, createElementBlock as s, normalizeClass as B, normalizeStyle as O, createBlock as H, createCommentVNode as c, createSlots as qe, withCtx as P, renderSlot as S, normalizeProps as W, guardReactiveProps as Y, createVNode as q, createElementVNode as g, Fragment as u, renderList as m, toDisplayString as k, mergeProps as J, createTextVNode as Q, withDirectives as Xe, vModelCheckbox as Ue } from "vue";
16
16
  import { _ as Ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- const Je = J(), Qe = {
17
+ const Je = K(), Qe = {
18
18
  name: "vue-ui-xy",
19
19
  props: {
20
20
  config: {
@@ -31,18 +31,18 @@ const Je = J(), Qe = {
31
31
  }
32
32
  },
33
33
  components: {
34
- DataTable: Ge,
35
- Shape: Te,
36
- Title: ve,
37
- Tooltip: ze,
38
- UserOptions: pe,
39
- BaseIcon: Pe,
40
- TableSparkline: Ve,
41
- Skeleton: Re,
42
- Slicer: De,
43
- Accordion: He,
44
- PackageVersion: Be,
45
- PenAndPaper: We
34
+ DataTable: ze,
35
+ Shape: Ve,
36
+ Title: Me,
37
+ Tooltip: pe,
38
+ UserOptions: Pe,
39
+ BaseIcon: Re,
40
+ TableSparkline: De,
41
+ Skeleton: He,
42
+ Slicer: Be,
43
+ Accordion: We,
44
+ PackageVersion: Ee,
45
+ PenAndPaper: Ye
46
46
  },
47
47
  data() {
48
48
  this.dataset.forEach((d, t) => {
@@ -53,20 +53,20 @@ const Je = J(), Qe = {
53
53
  index: t
54
54
  });
55
55
  });
56
- const i = this.config.downsample && this.config.downsample.threshold ? this.config.downsample.threshold : 500, l = Math.max(...this.dataset.map((d) => this.largestTriangleThreeBucketsArray({ data: d.series, threshold: i }).length)), o = {
56
+ const r = this.config.downsample && this.config.downsample.threshold ? this.config.downsample.threshold : 500, l = Math.max(...this.dataset.map((d) => this.largestTriangleThreeBucketsArray({ data: d.series, threshold: r }).length)), o = {
57
57
  start: 0,
58
58
  end: l
59
59
  };
60
60
  return {
61
- themePalettes: K,
62
- themes: j,
61
+ themePalettes: $,
62
+ themes: ee,
63
63
  slicerStep: 0,
64
64
  selectedScale: null,
65
65
  CTX: null,
66
66
  CANVAS: null,
67
- opacity: $,
67
+ opacity: te,
68
68
  useSafeValues: !0,
69
- palette: ee,
69
+ palette: re,
70
70
  height: 600,
71
71
  width: 1e3,
72
72
  viewBox: "0 0 1000 600",
@@ -100,7 +100,7 @@ const Je = J(), Qe = {
100
100
  selectedSerieIndex: null,
101
101
  selectedRowIndex: null,
102
102
  segregatedSeries: [],
103
- uniqueId: J(),
103
+ uniqueId: K(),
104
104
  step: 0,
105
105
  tableStep: 0,
106
106
  titleStep: 0,
@@ -128,7 +128,7 @@ const Je = J(), Qe = {
128
128
  },
129
129
  watch: {
130
130
  dataset: {
131
- handler(i, l) {
131
+ handler(r, l) {
132
132
  this.maxX = Math.max(...this.dataset.map((o) => this.largestTriangleThreeBucketsArray({
133
133
  data: o.series,
134
134
  threshold: this.FINAL_CONFIG.downsample.threshold
@@ -140,8 +140,16 @@ const Je = J(), Qe = {
140
140
  deep: !0
141
141
  },
142
142
  config: {
143
- handler(i, l) {
144
- this.FINAL_CONFIG = this.prepareConfig(), this.prepareChart(), this.titleStep += 1, this.tableStep += 1;
143
+ handler(r, l) {
144
+ this.FINAL_CONFIG = this.prepareConfig(), this.prepareChart(), this.titleStep += 1, this.tableStep += 1, this.mutableConfig = {
145
+ dataLabels: {
146
+ show: !0
147
+ },
148
+ showTooltip: this.FINAL_CONFIG.chart.tooltip.show === !0,
149
+ showTable: this.FINAL_CONFIG.showTable === !0,
150
+ isStacked: this.FINAL_CONFIG.chart.grid.labels.yAxis.stacked,
151
+ useIndividualScale: this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale
152
+ };
145
153
  },
146
154
  deep: !0
147
155
  }
@@ -157,9 +165,9 @@ const Je = J(), Qe = {
157
165
  },
158
166
  minimap() {
159
167
  if (!this.FINAL_CONFIG.chart.zoom.minimap.show) return [];
160
- const i = this.datasetWithIds.filter((t) => !this.segregatedSeries.includes(t.id)), l = Math.max(...i.map((t) => t.series.length)), o = [];
168
+ const r = this.datasetWithIds.filter((t) => !this.segregatedSeries.includes(t.id)), l = Math.max(...r.map((t) => t.series.length)), o = [];
161
169
  for (let t = 0; t < l; t += 1)
162
- o.push(i.map((e) => e.series[t] || 0).reduce((e, N) => (e || 0) + (N || 0), 0));
170
+ o.push(r.map((e) => e.series[t] || 0).reduce((e, N) => (e || 0) + (N || 0), 0));
163
171
  const d = Math.min(...o);
164
172
  return o.map((t) => t + (d < 0 ? Math.abs(d) : 0));
165
173
  },
@@ -173,7 +181,7 @@ const Je = J(), Qe = {
173
181
  return this.FINAL_CONFIG.chart.zoom.color;
174
182
  },
175
183
  allScales() {
176
- const i = this.lineSet.map((t) => ({
184
+ const r = this.lineSet.map((t) => ({
177
185
  name: t.name,
178
186
  color: t.color,
179
187
  scale: t.individualScale,
@@ -208,8 +216,8 @@ const Je = J(), Qe = {
208
216
  id: t.id,
209
217
  yOffset: t.yOffset || 0,
210
218
  individualHeight: t.individualHeight || this.drawingArea.height
211
- })), d = [...i, ...l, ...o].flatMap((t) => t).length;
212
- return [...i, ...l, ...o].flatMap((t, e) => ({
219
+ })), d = [...r, ...l, ...o].flatMap((t) => t).length;
220
+ return [...r, ...l, ...o].flatMap((t, e) => ({
213
221
  id: t.id,
214
222
  scaleLabel: t.scaleLabel,
215
223
  name: t.name,
@@ -228,19 +236,19 @@ const Je = J(), Qe = {
228
236
  return !!this.dataset && this.dataset.length;
229
237
  },
230
238
  chartFont() {
231
- const i = document.getElementById(`vue-ui-xy_${this.uniqueId}`);
232
- return window.getComputedStyle(i, null).getPropertyValue("font-family");
239
+ const r = document.getElementById(`vue-ui-xy_${this.uniqueId}`);
240
+ return window.getComputedStyle(r, null).getPropertyValue("font-family");
233
241
  },
234
242
  FINAL_CONFIG: {
235
243
  get: function() {
236
244
  return this.prepareConfig();
237
245
  },
238
- set: function(i) {
239
- return i;
246
+ set: function(r) {
247
+ return r;
240
248
  }
241
249
  },
242
250
  hasHighlightArea() {
243
- return Array.isArray(this.FINAL_CONFIG.chart.highlightArea) ? this.FINAL_CONFIG.chart.highlightArea.some((i) => i.show) : this.FINAL_CONFIG.chart.highlightArea && this.FINAL_CONFIG.chart.highlightArea.show;
251
+ return Array.isArray(this.FINAL_CONFIG.chart.highlightArea) ? this.FINAL_CONFIG.chart.highlightArea.some((r) => r.show) : this.FINAL_CONFIG.chart.highlightArea && this.FINAL_CONFIG.chart.highlightArea.show;
244
252
  },
245
253
  highlightAreas() {
246
254
  if (Array.isArray(this.FINAL_CONFIG.chart.highlightArea))
@@ -248,8 +256,8 @@ const Je = J(), Qe = {
248
256
  ...l,
249
257
  span: l.from === l.to ? 1 : l.to < l.from ? 0 : l.to - l.from + 1
250
258
  }));
251
- const i = this.FINAL_CONFIG.chart.highlightArea;
252
- return [{ ...i, span: i.from === i.to ? 1 : i.to < i.from ? 0 : i.to - i.from + 1 }];
259
+ const r = this.FINAL_CONFIG.chart.highlightArea;
260
+ return [{ ...r, span: r.from === r.to ? 1 : r.to < r.from ? 0 : r.to - r.from + 1 }];
253
261
  },
254
262
  xPadding() {
255
263
  return this.FINAL_CONFIG.chart.grid.position === "middle" ? 0 : this.drawingArea.width / this.maxSeries / 2;
@@ -261,44 +269,44 @@ const Je = J(), Qe = {
261
269
  return this.niceScale.max + this.relativeZero;
262
270
  },
263
271
  datasetWithIds() {
264
- return this.useSafeValues ? this.dataset.map((i, l) => ({
265
- ...i,
272
+ return this.useSafeValues ? this.dataset.map((r, l) => ({
273
+ ...r,
266
274
  series: this.largestTriangleThreeBucketsArray({
267
- data: i.series,
275
+ data: r.series,
268
276
  threshold: this.FINAL_CONFIG.downsample.threshold
269
277
  }),
270
278
  id: `uniqueId_${l}`
271
279
  })) : this.dataset;
272
280
  },
273
281
  safeDataset() {
274
- return this.useSafeValues ? this.dataset.map((i, l) => {
282
+ return this.useSafeValues ? this.dataset.map((r, l) => {
275
283
  const o = this.largestTriangleThreeBucketsArray({
276
- data: i.series,
284
+ data: r.series,
277
285
  threshold: this.FINAL_CONFIG.downsample.threshold
278
286
  });
279
287
  return {
280
- ...i,
288
+ ...r,
281
289
  slotAbsoluteIndex: l,
282
290
  series: o.map((d) => this.isSafeValue(d) ? d : null).slice(this.slicer.start, this.slicer.end),
283
- color: this.convertColorToHex(i.color ? i.color : this.customPalette[l] ? this.customPalette[l] : this.palette[l]),
291
+ color: this.convertColorToHex(r.color ? r.color : this.customPalette[l] ? this.customPalette[l] : this.palette[l]),
284
292
  id: `uniqueId_${l}`
285
293
  };
286
294
  }) : this.dataset;
287
295
  },
288
296
  relativeDataset() {
289
- return this.safeDataset.map((i, l) => ({
290
- ...i,
291
- series: i.series.map((o) => o + this.relativeZero),
292
- absoluteValues: i.series
293
- })).filter((i) => !this.segregatedSeries.includes(i.id));
297
+ return this.safeDataset.map((r, l) => ({
298
+ ...r,
299
+ series: r.series.map((o) => o + this.relativeZero),
300
+ absoluteValues: r.series
301
+ })).filter((r) => !this.segregatedSeries.includes(r.id));
294
302
  },
295
303
  tableSparklineDataset() {
296
- return this.relativeDataset.map((i) => {
297
- const l = i.absoluteValues.map((o) => [void 0, null].includes(o) ? 0 : o);
304
+ return this.relativeDataset.map((r) => {
305
+ const l = r.absoluteValues.map((o) => [void 0, null].includes(o) ? 0 : o);
298
306
  return {
299
- id: i.id,
300
- name: i.name,
301
- color: i.color,
307
+ id: r.id,
308
+ name: r.name,
309
+ color: r.color,
302
310
  values: this.fillArray(this.maxSeries, l)
303
311
  };
304
312
  });
@@ -330,75 +338,75 @@ const Je = J(), Qe = {
330
338
  };
331
339
  },
332
340
  absoluteDataset() {
333
- return this.safeDataset.map((i, l) => ({
341
+ return this.safeDataset.map((r, l) => ({
334
342
  absoluteIndex: l,
335
- ...i,
336
- series: i.series.map((o) => o + this.relativeZero),
337
- absoluteValues: i.series,
338
- segregate: () => this.segregate(i),
339
- isSegregated: this.segregatedSeries.includes(i.id)
343
+ ...r,
344
+ series: r.series.map((o) => o + this.relativeZero),
345
+ absoluteValues: r.series,
346
+ segregate: () => this.segregate(r),
347
+ isSegregated: this.segregatedSeries.includes(r.id)
340
348
  }));
341
349
  },
342
350
  barSet() {
343
- return this.activeSeriesWithStackRatios.filter((i) => i.type === "bar").map((i, l) => {
344
- this.checkAutoScaleError(i);
345
- const o = Math.min(...i.absoluteValues.filter((x) => ![null, void 0].includes(x))), d = Math.max(...i.absoluteValues.filter((x) => ![null, void 0].includes(x))), e = {
346
- ratios: i.absoluteValues.filter((x) => ![null, void 0].includes(x)).map((x) => (x - o) / (d - o)),
351
+ return this.activeSeriesWithStackRatios.filter((r) => r.type === "bar").map((r, l) => {
352
+ this.checkAutoScaleError(r);
353
+ const o = Math.min(...r.absoluteValues.filter((x) => ![null, void 0].includes(x))), d = Math.max(...r.absoluteValues.filter((x) => ![null, void 0].includes(x))), e = {
354
+ ratios: r.absoluteValues.filter((x) => ![null, void 0].includes(x)).map((x) => (x - o) / (d - o)),
347
355
  valueMin: o,
348
356
  valueMax: d < 0 ? 0 : d
349
357
  }, N = {
350
- max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
351
- min: i.scaleMin || Math.min(...i.absoluteValues.filter((x) => ![void 0, null].includes(x))) > 0 ? 0 : Math.min(...i.absoluteValues.filter((x) => ![null, void 0].includes(x)))
352
- }, _ = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, O = 1.0000001, I = this.calculateNiceScaleWithExactExtremes(N.min, N.max === N.min ? N.max * O : N.max, _), b = this.calculateNiceScaleWithExactExtremes(e.valueMin, e.valueMax === e.valueMin ? e.valueMax * O : e.valueMax, _), V = I.min >= 0 ? 0 : Math.abs(I.min), v = 0, z = I.max + V, G = b.max + Math.abs(v), F = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - i.cumulatedStackRatio) : 0, C = this.mutableConfig.isStacked ? this.drawingArea.height * i.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, T = this.drawingArea.bottom - F - C * V / z, r = this.drawingArea.bottom - F - C * v / G, h = this.absoluteDataset.filter((x) => x.type === "bar").filter((x) => !this.segregatedSeries.includes(x.id)).length, n = i.series.map((x, p) => {
353
- const y = this.mutableConfig.useIndividualScale ? (i.absoluteValues[p] + V) / z : this.ratioToMax(x), S = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * p : this.drawingArea.left + this.slot.bar * l + this.slot.bar * p * h - this.barSlot / 2 - l * this.barPeriodGap;
358
+ max: r.scaleMax || Math.max(...r.absoluteValues) || 1,
359
+ min: r.scaleMin || Math.min(...r.absoluteValues.filter((x) => ![void 0, null].includes(x))) > 0 ? 0 : Math.min(...r.absoluteValues.filter((x) => ![null, void 0].includes(x)))
360
+ }, _ = r.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, w = 1.0000001, I = this.calculateNiceScaleWithExactExtremes(N.min, N.max === N.min ? N.max * w : N.max, _), b = this.calculateNiceScaleWithExactExtremes(e.valueMin, e.valueMax === e.valueMin ? e.valueMax * w : e.valueMax, _), V = I.min >= 0 ? 0 : Math.abs(I.min), v = 0, z = I.max + V, G = b.max + Math.abs(v), F = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - r.cumulatedStackRatio) : 0, C = this.mutableConfig.isStacked ? this.drawingArea.height * r.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, T = this.drawingArea.bottom - F - C * V / z, i = this.drawingArea.bottom - F - C * v / G, h = this.absoluteDataset.filter((x) => x.type === "bar").filter((x) => !this.segregatedSeries.includes(x.id)).length, n = r.series.map((x, p) => {
361
+ const y = this.mutableConfig.useIndividualScale ? (r.absoluteValues[p] + V) / z : this.ratioToMax(x), L = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * p : this.drawingArea.left + this.slot.bar * l + this.slot.bar * p * h - this.barSlot / 2 - l * this.barPeriodGap;
354
362
  return {
355
363
  yOffset: this.checkNaN(F),
356
364
  individualHeight: this.checkNaN(C),
357
- x: this.checkNaN(S),
365
+ x: this.checkNaN(L),
358
366
  y: this.drawingArea.bottom - F - C * y,
359
- value: i.absoluteValues[p],
367
+ value: r.absoluteValues[p],
360
368
  zeroPosition: this.checkNaN(T),
361
369
  individualMax: this.checkNaN(z),
362
- comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[p] || ""
370
+ comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[p] || ""
363
371
  };
364
- }), g = i.absoluteValues.map((x) => b.min >= 0 ? (x - Math.abs(b.min)) / (b.max - Math.abs(b.min)) : (x + Math.abs(b.min)) / (b.max + Math.abs(b.min))), Y = i.series.map((x, p) => {
365
- const y = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * p : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * l + this.slot.bar * p * this.absoluteDataset.filter((S) => S.type === "bar").filter((S) => !this.segregatedSeries.includes(S.id)).length;
372
+ }), f = r.absoluteValues.map((x) => b.min >= 0 ? (x - Math.abs(b.min)) / (b.max - Math.abs(b.min)) : (x + Math.abs(b.min)) / (b.max + Math.abs(b.min))), E = r.series.map((x, p) => {
373
+ const y = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * p : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * l + this.slot.bar * p * this.absoluteDataset.filter((L) => L.type === "bar").filter((L) => !this.segregatedSeries.includes(L.id)).length;
366
374
  return {
367
375
  yOffset: this.checkNaN(F),
368
376
  individualHeight: this.checkNaN(C),
369
377
  x: this.checkNaN(y),
370
- y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(F) - (this.checkNaN(C) * g[p] || 0)),
371
- value: i.absoluteValues[p],
378
+ y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(F) - (this.checkNaN(C) * f[p] || 0)),
379
+ value: r.absoluteValues[p],
372
380
  zeroPosition: this.checkNaN(T),
373
381
  individualMax: this.checkNaN(z),
374
- comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[p] || ""
382
+ comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[p] || ""
375
383
  };
376
384
  }), A = I.ticks.map((x) => ({
377
385
  y: x >= 0 ? T - C * (x / z) : T + C * Math.abs(x) / z,
378
386
  value: x,
379
- prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
380
- suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
381
- datapoint: i
387
+ prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
388
+ suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
389
+ datapoint: r
382
390
  })), M = b.ticks.map((x) => {
383
391
  const p = (x - b.min) / (b.max - b.min);
384
392
  return {
385
- y: x >= 0 ? r - C * p : r + C * p,
393
+ y: x >= 0 ? i - C * p : i + C * p,
386
394
  value: x,
387
- prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
388
- suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
389
- datapoint: i
395
+ prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
396
+ suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
397
+ datapoint: r
390
398
  };
391
399
  });
392
400
  return {
393
- ...i,
401
+ ...r,
394
402
  yOffset: F,
395
403
  autoScaleYLabels: M,
396
404
  individualHeight: C,
397
- scaleYLabels: i.autoScaling ? M : A,
398
- individualScale: i.autoScaling ? b : I,
399
- individualMax: i.autoScaling ? G : z,
400
- zeroPosition: i.autoScaling ? r : T,
401
- plots: i.autoScaling ? Y : n
405
+ scaleYLabels: r.autoScaling ? M : A,
406
+ individualScale: r.autoScaling ? b : I,
407
+ individualMax: r.autoScaling ? G : z,
408
+ zeroPosition: r.autoScaling ? i : T,
409
+ plots: r.autoScaling ? E : n
402
410
  };
403
411
  });
404
412
  },
@@ -406,139 +414,139 @@ const Je = J(), Qe = {
406
414
  return this.absoluteDataset.length;
407
415
  },
408
416
  activeSeriesWithStackRatios() {
409
- return this.assignStackRatios(this.absoluteDataset.filter((i) => !this.segregatedSeries.includes(i.id)));
417
+ return this.assignStackRatios(this.absoluteDataset.filter((r) => !this.segregatedSeries.includes(r.id)));
410
418
  },
411
419
  lineSet() {
412
- return this.activeSeriesWithStackRatios.filter((i) => i.type === "line").map((i) => {
413
- this.checkAutoScaleError(i);
414
- const l = Math.min(...i.absoluteValues.filter((y) => ![void 0, null].includes(y))), o = Math.max(...i.absoluteValues.filter((y) => ![void 0, null].includes(y))) || 1, t = {
415
- ratios: i.absoluteValues.filter((y) => ![null, void 0].includes(y)).map((y) => (y - l) / (o - l)),
420
+ return this.activeSeriesWithStackRatios.filter((r) => r.type === "line").map((r) => {
421
+ this.checkAutoScaleError(r);
422
+ const l = Math.min(...r.absoluteValues.filter((y) => ![void 0, null].includes(y))), o = Math.max(...r.absoluteValues.filter((y) => ![void 0, null].includes(y))) || 1, t = {
423
+ ratios: r.absoluteValues.filter((y) => ![null, void 0].includes(y)).map((y) => (y - l) / (o - l)),
416
424
  valueMin: l,
417
425
  valueMax: o
418
426
  }, e = {
419
- max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
420
- min: i.scaleMin || (Math.min(...i.absoluteValues) > 0 ? 0 : Math.min(...i.absoluteValues))
421
- }, N = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, O = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * _ : e.max, N), I = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * _ : t.valueMax, N), b = O.min >= 0 ? 0 : Math.abs(O.min), V = 0, v = O.max + Math.abs(b), z = I.max + Math.abs(V), G = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - i.cumulatedStackRatio) : 0, F = this.mutableConfig.isStacked ? this.drawingArea.height * i.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - G - F * b / v, T = this.drawingArea.bottom - G - F * V / z, r = i.series.map((y, S) => {
422
- const Q = this.mutableConfig.useIndividualScale ? (i.absoluteValues[S] + Math.abs(b)) / v : this.ratioToMax(y);
427
+ max: r.scaleMax || Math.max(...r.absoluteValues) || 1,
428
+ min: r.scaleMin || (Math.min(...r.absoluteValues) > 0 ? 0 : Math.min(...r.absoluteValues))
429
+ }, N = r.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, w = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * _ : e.max, N), I = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * _ : t.valueMax, N), b = w.min >= 0 ? 0 : Math.abs(w.min), V = 0, v = w.max + Math.abs(b), z = I.max + Math.abs(V), G = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - r.cumulatedStackRatio) : 0, F = this.mutableConfig.isStacked ? this.drawingArea.height * r.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - G - F * b / v, T = this.drawingArea.bottom - G - F * V / z, i = r.series.map((y, L) => {
430
+ const j = this.mutableConfig.useIndividualScale ? (r.absoluteValues[L] + Math.abs(b)) / v : this.ratioToMax(y);
423
431
  return {
424
- x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * S),
425
- y: this.checkNaN(this.drawingArea.bottom - G - F * Q),
426
- value: i.absoluteValues[S],
427
- comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[S] || ""
432
+ x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * L),
433
+ y: this.checkNaN(this.drawingArea.bottom - G - F * j),
434
+ value: r.absoluteValues[L],
435
+ comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[L] || ""
428
436
  };
429
- }), h = i.absoluteValues.map((y) => I.min >= 0 ? (y - Math.abs(I.min)) / (I.max - Math.abs(I.min)) : (y + Math.abs(I.min)) / (I.max + Math.abs(I.min))), n = i.series.map((y, S) => [void 0, null].includes(i.absoluteValues[S]) ? {
430
- x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * S),
437
+ }), h = r.absoluteValues.map((y) => I.min >= 0 ? (y - Math.abs(I.min)) / (I.max - Math.abs(I.min)) : (y + Math.abs(I.min)) / (I.max + Math.abs(I.min))), n = r.series.map((y, L) => [void 0, null].includes(r.absoluteValues[L]) ? {
438
+ x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * L),
431
439
  y: C,
432
- value: i.absoluteValues[S],
433
- comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[S] || ""
440
+ value: r.absoluteValues[L],
441
+ comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[L] || ""
434
442
  } : {
435
- x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * S),
436
- y: this.checkNaN(this.drawingArea.bottom - G - (F * h[S] || 0)),
437
- value: i.absoluteValues[S],
438
- comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[S] || ""
439
- }), g = this.createSmoothPath(r), Y = this.createSmoothPath(n), A = this.createStraightPath(r), M = this.createStraightPath(n), x = O.ticks.map((y) => ({
443
+ x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * L),
444
+ y: this.checkNaN(this.drawingArea.bottom - G - (F * h[L] || 0)),
445
+ value: r.absoluteValues[L],
446
+ comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[L] || ""
447
+ }), f = this.createSmoothPath(i), E = this.createSmoothPath(n), A = this.createStraightPath(i), M = this.createStraightPath(n), x = w.ticks.map((y) => ({
440
448
  y: y >= 0 ? C - F * (y / v) : C + F * Math.abs(y) / v,
441
449
  value: y,
442
- prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
443
- suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
444
- datapoint: i
450
+ prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
451
+ suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
452
+ datapoint: r
445
453
  })), p = I.ticks.map((y) => {
446
- const S = (y - I.min) / (I.max - I.min);
454
+ const L = (y - I.min) / (I.max - I.min);
447
455
  return {
448
- y: y >= 0 ? T - F * S : T + F * S,
456
+ y: y >= 0 ? T - F * L : T + F * L,
449
457
  value: y,
450
- prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
451
- suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
452
- datapoint: i
458
+ prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
459
+ suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
460
+ datapoint: r
453
461
  };
454
462
  });
455
463
  return {
456
- ...i,
464
+ ...r,
457
465
  yOffset: G,
458
466
  autoScaleYLabels: p,
459
467
  individualHeight: F,
460
- scaleYLabels: i.autoScaling ? p : x,
461
- individualScale: i.autoScaling ? I : O,
462
- individualMax: i.autoScaling ? z : v,
463
- zeroPosition: i.autoScaling ? T : C,
464
- curve: i.autoScaling ? Y : g,
465
- plots: i.autoScaling ? n : r,
466
- area: i.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(i.autoScaling ? n : r, i.autoScaling ? T : C) : this.createArea(r) : "",
467
- straight: i.autoScaling ? M : A
468
+ scaleYLabels: r.autoScaling ? p : x,
469
+ individualScale: r.autoScaling ? I : w,
470
+ individualMax: r.autoScaling ? z : v,
471
+ zeroPosition: r.autoScaling ? T : C,
472
+ curve: r.autoScaling ? E : f,
473
+ plots: r.autoScaling ? n : i,
474
+ area: r.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(r.autoScaling ? n : i, r.autoScaling ? T : C) : this.createArea(i) : "",
475
+ straight: r.autoScaling ? M : A
468
476
  };
469
477
  });
470
478
  },
471
479
  plotSet() {
472
- return this.activeSeriesWithStackRatios.filter((i) => i.type === "plot").map((i) => {
473
- this.checkAutoScaleError(i);
474
- const l = Math.min(...i.absoluteValues.filter((A) => ![null, void 0].includes(A))), o = Math.max(...i.absoluteValues.filter((A) => ![null, void 0].includes(A))) || 1, t = {
475
- ratios: i.absoluteValues.filter((A) => ![null, void 0].includes(A)).map((A) => (A - l) / (o - l)),
480
+ return this.activeSeriesWithStackRatios.filter((r) => r.type === "plot").map((r) => {
481
+ this.checkAutoScaleError(r);
482
+ const l = Math.min(...r.absoluteValues.filter((A) => ![null, void 0].includes(A))), o = Math.max(...r.absoluteValues.filter((A) => ![null, void 0].includes(A))) || 1, t = {
483
+ ratios: r.absoluteValues.filter((A) => ![null, void 0].includes(A)).map((A) => (A - l) / (o - l)),
476
484
  valueMin: l,
477
485
  valueMax: o
478
486
  }, e = {
479
- max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
480
- min: i.scaleMin || Math.min(...i.absoluteValues) > 0 ? 0 : Math.min(...i.absoluteValues)
481
- }, N = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, O = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * _ : e.max, N), I = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * _ : t.valueMax, N), b = O.min >= 0 ? 0 : Math.abs(O.min), V = 0, v = O.max + b, z = I.max + Math.abs(V), G = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - i.cumulatedStackRatio) : 0, F = this.mutableConfig.isStacked ? this.drawingArea.height * i.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - G - F * b / v, T = this.drawingArea.bottom - G - F * V / z, r = i.series.map((A, M) => {
482
- const x = this.mutableConfig.useIndividualScale ? (i.absoluteValues[M] + Math.abs(b)) / v : this.ratioToMax(A);
487
+ max: r.scaleMax || Math.max(...r.absoluteValues) || 1,
488
+ min: r.scaleMin || Math.min(...r.absoluteValues) > 0 ? 0 : Math.min(...r.absoluteValues)
489
+ }, N = r.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, w = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * _ : e.max, N), I = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * _ : t.valueMax, N), b = w.min >= 0 ? 0 : Math.abs(w.min), V = 0, v = w.max + b, z = I.max + Math.abs(V), G = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - r.cumulatedStackRatio) : 0, F = this.mutableConfig.isStacked ? this.drawingArea.height * r.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - G - F * b / v, T = this.drawingArea.bottom - G - F * V / z, i = r.series.map((A, M) => {
490
+ const x = this.mutableConfig.useIndividualScale ? (r.absoluteValues[M] + Math.abs(b)) / v : this.ratioToMax(A);
483
491
  return {
484
492
  x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * M),
485
493
  y: this.checkNaN(this.drawingArea.bottom - G - F * x),
486
- value: i.absoluteValues[M],
487
- comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[M] || ""
494
+ value: r.absoluteValues[M],
495
+ comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[M] || ""
488
496
  };
489
- }), h = i.absoluteValues.map((A) => I.min >= 0 ? (A - Math.abs(I.min)) / (I.max - Math.abs(I.min)) : (A + Math.abs(I.min)) / (I.max + Math.abs(I.min))), n = i.series.map((A, M) => ({
497
+ }), h = r.absoluteValues.map((A) => I.min >= 0 ? (A - Math.abs(I.min)) / (I.max - Math.abs(I.min)) : (A + Math.abs(I.min)) / (I.max + Math.abs(I.min))), n = r.series.map((A, M) => ({
490
498
  x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * M),
491
499
  y: this.checkNaN(this.drawingArea.bottom - G - (F * h[M] || 0)),
492
- value: i.absoluteValues[M],
493
- comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[M] || ""
494
- })), g = O.ticks.map((A) => ({
500
+ value: r.absoluteValues[M],
501
+ comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[M] || ""
502
+ })), f = w.ticks.map((A) => ({
495
503
  y: A >= 0 ? C - F * (A / v) : C + F * Math.abs(A) / v,
496
504
  value: A,
497
- prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
498
- suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
499
- datapoint: i
500
- })), Y = I.ticks.map((A) => {
505
+ prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
506
+ suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
507
+ datapoint: r
508
+ })), E = I.ticks.map((A) => {
501
509
  const M = (A - I.min) / (I.max - I.min);
502
510
  return {
503
511
  y: A >= 0 ? T - F * M : T + F * M,
504
512
  value: A,
505
- prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
506
- suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
507
- datapoint: i
513
+ prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
514
+ suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
515
+ datapoint: r
508
516
  };
509
517
  });
510
518
  return {
511
- ...i,
519
+ ...r,
512
520
  yOffset: G,
513
- autoScaleYLabels: Y,
521
+ autoScaleYLabels: E,
514
522
  individualHeight: F,
515
- scaleYLabels: i.autoScaling ? Y : g,
516
- individualScale: i.autoScaling ? I : O,
517
- individualMax: i.autoScaling ? z : v,
518
- zeroPosition: i.autoScaling ? T : C,
519
- plots: i.autoScaling ? n : r
523
+ scaleYLabels: r.autoScaling ? E : f,
524
+ individualScale: r.autoScaling ? I : w,
525
+ individualMax: r.autoScaling ? z : v,
526
+ zeroPosition: r.autoScaling ? T : C,
527
+ plots: r.autoScaling ? n : i
520
528
  };
521
529
  });
522
530
  },
523
531
  drawingArea() {
524
- const i = this.mutableConfig.useIndividualScale && this.FINAL_CONFIG.chart.grid.labels.show ? this.absoluteDataset.filter((l) => !this.segregatedSeries.includes(l.id)).length * (this.mutableConfig.isStacked ? 0 : this.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth) : 0;
532
+ const r = this.mutableConfig.useIndividualScale && this.FINAL_CONFIG.chart.grid.labels.show ? this.absoluteDataset.filter((l) => !this.segregatedSeries.includes(l.id)).length * (this.mutableConfig.isStacked ? 0 : this.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth) : 0;
525
533
  return {
526
534
  top: this.FINAL_CONFIG.chart.padding.top,
527
535
  right: this.width - this.FINAL_CONFIG.chart.padding.right,
528
536
  bottom: this.height - this.FINAL_CONFIG.chart.padding.bottom,
529
- left: this.FINAL_CONFIG.chart.padding.left + i,
537
+ left: this.FINAL_CONFIG.chart.padding.left + r,
530
538
  height: this.height - (this.FINAL_CONFIG.chart.padding.top + this.FINAL_CONFIG.chart.padding.bottom),
531
- width: this.width - (this.FINAL_CONFIG.chart.padding.right + this.FINAL_CONFIG.chart.padding.left + i)
539
+ width: this.width - (this.FINAL_CONFIG.chart.padding.right + this.FINAL_CONFIG.chart.padding.left + r)
532
540
  };
533
541
  },
534
542
  max() {
535
- return this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMax ? this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMax : Math.max(...this.safeDataset.filter((i) => !this.segregatedSeries.includes(i.id)).map((i) => Math.max(...i.series)));
543
+ return this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMax ? this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMax : Math.max(...this.safeDataset.filter((r) => !this.segregatedSeries.includes(r.id)).map((r) => Math.max(...r.series)));
536
544
  },
537
545
  min() {
538
546
  if (this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin !== null)
539
547
  return this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin;
540
- const i = Math.min(...this.safeDataset.filter((l) => !this.segregatedSeries.includes(l.id)).map((l) => Math.min(...l.series)));
541
- return i > 0 ? 0 : i;
548
+ const r = Math.min(...this.safeDataset.filter((l) => !this.segregatedSeries.includes(l.id)).map((l) => Math.min(...l.series)));
549
+ return r > 0 ? 0 : r;
542
550
  },
543
551
  niceScale() {
544
552
  return this.calculateNiceScaleWithExactExtremes(this.min, this.max < 0 ? 0 : this.max, this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps);
@@ -547,8 +555,8 @@ const Je = J(), Qe = {
547
555
  return this.slicer.end - this.slicer.start;
548
556
  },
549
557
  timeLabels() {
550
- const i = Math.max(...this.dataset.map((o) => this.largestTriangleThreeBucketsArray({ data: o.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length)), l = [];
551
- for (let o = 0; o < i; o += 1)
558
+ const r = Math.max(...this.dataset.map((o) => this.largestTriangleThreeBucketsArray({ data: o.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length)), l = [];
559
+ for (let o = 0; o < r; o += 1)
552
560
  l.push({
553
561
  text: this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[o] || String(o),
554
562
  absoluteIndex: o
@@ -557,24 +565,24 @@ const Je = J(), Qe = {
557
565
  },
558
566
  slot() {
559
567
  return {
560
- bar: this.drawingArea.width / this.maxSeries / this.safeDataset.filter((i) => i.type === "bar").filter((i) => !this.segregatedSeries.includes(i.id)).length,
568
+ bar: this.drawingArea.width / this.maxSeries / this.safeDataset.filter((r) => r.type === "bar").filter((r) => !this.segregatedSeries.includes(r.id)).length,
561
569
  plot: this.drawingArea.width / this.maxSeries,
562
570
  line: this.drawingArea.width / this.maxSeries
563
571
  };
564
572
  },
565
573
  barSlot() {
566
- const i = this.safeDataset.filter((l) => l.type === "bar").filter((l) => !this.segregatedSeries.includes(l.id)).length;
567
- return this.drawingArea.width / this.maxSeries / i - this.barPeriodGap * i;
574
+ const r = this.safeDataset.filter((l) => l.type === "bar").filter((l) => !this.segregatedSeries.includes(l.id)).length;
575
+ return this.drawingArea.width / this.maxSeries / r - this.barPeriodGap * r;
568
576
  },
569
577
  barPeriodGap() {
570
578
  return this.slot.line * this.FINAL_CONFIG.bar.periodGap;
571
579
  },
572
580
  maxSlot() {
573
- return Math.max(...Object.values(this.slot).filter((i) => i !== 1 / 0));
581
+ return Math.max(...Object.values(this.slot).filter((r) => r !== 1 / 0));
574
582
  },
575
583
  table() {
576
584
  if (this.safeDataset.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
577
- const i = this.relativeDataset.map((o) => ({
585
+ const r = this.relativeDataset.map((o) => ({
578
586
  label: o.name,
579
587
  color: o.color,
580
588
  type: o.type
@@ -584,15 +592,15 @@ const Je = J(), Qe = {
584
592
  this.relativeDataset.forEach((e) => {
585
593
  t.push(this.canShowValue(e.absoluteValues[d]) ? Number(e.absoluteValues[d].toFixed(this.FINAL_CONFIG.table.rounding)) : "");
586
594
  }), l.push(t);
587
- }), { head: i, body: l };
595
+ }), { head: r, body: l };
588
596
  },
589
597
  dataTable() {
590
- const i = this.FINAL_CONFIG.table.showSum;
598
+ const r = this.FINAL_CONFIG.table.showSum;
591
599
  let l = [""].concat(this.relativeDataset.map((e) => e.name));
592
- i && (l = l.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>'));
600
+ r && (l = l.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>'));
593
601
  let o = [];
594
602
  for (let e = 0; e < this.maxSeries; e += 1) {
595
- const N = this.relativeDataset.map((_) => _.absoluteValues[e] ?? 0).reduce((_, O) => _ + O, 0);
603
+ const N = this.relativeDataset.map((_) => _.absoluteValues[e] ?? 0).reduce((_, w) => _ + w, 0);
596
604
  o.push(
597
605
  [
598
606
  this.timeLabels[e].text ?? "-"
@@ -607,7 +615,7 @@ const Je = J(), Qe = {
607
615
  r: this.FINAL_CONFIG.table.rounding
608
616
  })
609
617
  )
610
- )).concat(i ? (N ?? 0).toFixed(this.FINAL_CONFIG.table.rounding) : [])
618
+ )).concat(r ? (N ?? 0).toFixed(this.FINAL_CONFIG.table.rounding) : [])
611
619
  );
612
620
  }
613
621
  const d = {
@@ -637,20 +645,20 @@ const Je = J(), Qe = {
637
645
  };
638
646
  },
639
647
  selectedSeries() {
640
- return this.relativeDataset.map((i) => ({
641
- slotAbsoluteIndex: i.slotAbsoluteIndex,
642
- shape: i.shape || null,
643
- name: i.name,
644
- color: i.color,
645
- type: i.type,
646
- value: i.absoluteValues.find((l, o) => o === this.selectedSerieIndex),
647
- comments: i.comments || [],
648
- prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
649
- suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix
648
+ return this.relativeDataset.map((r) => ({
649
+ slotAbsoluteIndex: r.slotAbsoluteIndex,
650
+ shape: r.shape || null,
651
+ name: r.name,
652
+ color: r.color,
653
+ type: r.type,
654
+ value: r.absoluteValues.find((l, o) => o === this.selectedSerieIndex),
655
+ comments: r.comments || [],
656
+ prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
657
+ suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix
650
658
  }));
651
659
  },
652
660
  tooltipContent() {
653
- let i = "", l = this.selectedSeries.map((t) => t.value).filter((t) => this.isSafeValue(t) && t !== null).reduce((t, e) => Math.abs(t) + Math.abs(e), 0);
661
+ let r = "", l = this.selectedSeries.map((t) => t.value).filter((t) => this.isSafeValue(t) && t !== null).reduce((t, e) => Math.abs(t) + Math.abs(e), 0);
654
662
  const o = this.timeLabels[this.selectedSerieIndex], d = this.FINAL_CONFIG.chart.tooltip.customFormat;
655
663
  return this.isFunction(d) && this.functionReturnsString(() => d({
656
664
  seriesIndex: this.selectedSerieIndex,
@@ -668,7 +676,7 @@ const Je = J(), Qe = {
668
676
  lines: this.lineSet,
669
677
  plots: this.plotSet,
670
678
  config: this.FINAL_CONFIG
671
- }) : (o && o.text && this.FINAL_CONFIG.chart.tooltip.showTimeLabel && (i += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${this.FINAL_CONFIG.chart.tooltip.borderColor}; width:100%">${o.text}</div>`), this.selectedSeries.forEach((t) => {
679
+ }) : (o && o.text && this.FINAL_CONFIG.chart.tooltip.showTimeLabel && (r += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${this.FINAL_CONFIG.chart.tooltip.borderColor}; width:100%">${o.text}</div>`), this.selectedSeries.forEach((t) => {
672
680
  if (this.isSafeValue(t.value)) {
673
681
  let e = "", N = "";
674
682
  switch (this.icons[t.type]) {
@@ -676,7 +684,7 @@ const Je = J(), Qe = {
676
684
  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="${t.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${this.$slots.pattern ? `url(#pattern_${this.uniqueId}_${t.slotAbsoluteIndex}` : t.color}" /></svg>`;
677
685
  break;
678
686
  case "line":
679
- !t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ? N = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" />` : t.shape === "triangle" ? N = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "square" ? N = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "diamond" ? N = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "pentagon" ? N = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "hexagon" ? N = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "star" && (N = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" points="${X({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${t.color}" />${N}</svg>`;
687
+ !t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ? N = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" />` : t.shape === "triangle" ? N = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "square" ? N = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "diamond" ? N = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "pentagon" ? N = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "hexagon" ? N = `<path d="${D({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "star" && (N = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" points="${X({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${t.color}" />${N}</svg>`;
680
688
  break;
681
689
  case "plot":
682
690
  if (!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape)) {
@@ -688,27 +696,27 @@ const Je = J(), Qe = {
688
696
  break;
689
697
  }
690
698
  if (t.shape === "triangle") {
691
- 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="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
699
+ 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="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
692
700
  break;
693
701
  }
694
702
  if (t.shape === "square") {
695
- 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="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
703
+ 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="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
696
704
  break;
697
705
  }
698
706
  if (t.shape === "diamond") {
699
- 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="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
707
+ 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="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
700
708
  break;
701
709
  }
702
710
  if (t.shape === "pentagon") {
703
- 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="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
711
+ 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="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
704
712
  break;
705
713
  }
706
714
  if (t.shape === "hexagon") {
707
- 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="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
715
+ 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="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
708
716
  break;
709
717
  }
710
718
  }
711
- i += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;"><div style="width:20px">${e}</div> ${t.name}: <b>${this.FINAL_CONFIG.chart.tooltip.showValue ? this.applyDataLabel(
719
+ r += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;"><div style="width:20px">${e}</div> ${t.name}: <b>${this.FINAL_CONFIG.chart.tooltip.showValue ? this.applyDataLabel(
712
720
  t.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : t.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
713
721
  t.value,
714
722
  this.dataLabel({
@@ -722,9 +730,9 @@ const Je = J(), Qe = {
722
730
  v: this.checkNaN(Math.abs(t.value) / l * 100),
723
731
  s: "%",
724
732
  r: this.FINAL_CONFIG.chart.tooltip.roundingPercentage
725
- })})` : ""}</div>`, this.FINAL_CONFIG.chart.comments.showInTooltip && t.comments.length && t.comments.slice(this.slicer.start, this.slicer.end)[this.selectedSerieIndex] && (i += `<div class="vue-data-ui-tooltip-comment" style="background:${t.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${t.color}">${t.comments.slice(this.slicer.start, this.slicer.end)[this.selectedSerieIndex]}</div>`);
733
+ })})` : ""}</div>`, this.FINAL_CONFIG.chart.comments.showInTooltip && t.comments.length && t.comments.slice(this.slicer.start, this.slicer.end)[this.selectedSerieIndex] && (r += `<div class="vue-data-ui-tooltip-comment" style="background:${t.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${t.color}">${t.comments.slice(this.slicer.start, this.slicer.end)[this.selectedSerieIndex]}</div>`);
726
734
  }
727
- }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${this.FINAL_CONFIG.chart.tooltip.color}">${i}</div>`);
735
+ }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${this.FINAL_CONFIG.chart.tooltip.color}">${r}</div>`);
728
736
  },
729
737
  svg() {
730
738
  return {
@@ -733,9 +741,9 @@ const Je = J(), Qe = {
733
741
  };
734
742
  },
735
743
  yLabels() {
736
- return this.niceScale.ticks.map((i) => ({
737
- y: i >= 0 ? this.zero - this.drawingArea.height * this.ratioToMax(i) : this.zero + this.drawingArea.height * this.ratioToMax(Math.abs(i)),
738
- value: i,
744
+ return this.niceScale.ticks.map((r) => ({
745
+ y: r >= 0 ? this.zero - this.drawingArea.height * this.ratioToMax(r) : this.zero + this.drawingArea.height * this.ratioToMax(Math.abs(r)),
746
+ value: r,
739
747
  prefix: this.FINAL_CONFIG.chart.labels.prefix,
740
748
  suffix: this.FINAL_CONFIG.chart.labels.suffix
741
749
  }));
@@ -745,52 +753,52 @@ const Je = J(), Qe = {
745
753
  }
746
754
  },
747
755
  mounted() {
748
- this.prepareChart(), this.setupSlicer(), document.addEventListener("mousemove", (i) => {
756
+ this.prepareChart(), this.setupSlicer(), document.addEventListener("mousemove", (r) => {
749
757
  this.clientPosition = {
750
- x: i.clientX,
751
- y: i.clientY
758
+ x: r.clientX,
759
+ y: r.clientY
752
760
  };
753
761
  });
754
762
  },
755
763
  methods: {
756
- abbreviate: te,
757
- adaptColorToBackground: ie,
758
- applyDataLabel: re,
759
- assignStackRatios: ae,
760
- calcLinearProgression: le,
761
- calculateNiceScaleWithExactExtremes: se,
762
- checkNaN: ne,
763
- closestDecimal: he,
764
- convertColorToHex: oe,
765
- convertConfigColors: ce,
766
- convertCustomPalette: de,
767
- createCsvContent: ue,
768
- createSmoothPath: ge,
769
- createStraightPath: fe,
770
- createTSpans: Ie,
764
+ abbreviate: ie,
765
+ adaptColorToBackground: ae,
766
+ applyDataLabel: le,
767
+ assignStackRatios: se,
768
+ calcLinearProgression: ne,
769
+ calculateNiceScaleWithExactExtremes: he,
770
+ checkNaN: oe,
771
+ closestDecimal: ce,
772
+ convertColorToHex: de,
773
+ convertConfigColors: ue,
774
+ convertCustomPalette: ge,
775
+ createCsvContent: fe,
776
+ createSmoothPath: Ie,
777
+ createStraightPath: me,
778
+ createTSpans: Ne,
771
779
  dataLabel: U,
772
- downloadCsv: me,
773
- error: Ne,
774
- forceValidValue: xe,
775
- functionReturnsString: be,
776
- hasDeepProperty: Fe,
777
- isFunction: _e,
778
- isSafeValue: Ae,
779
- largestTriangleThreeBucketsArray: ye,
780
- objectIsEmpty: Le,
781
- setOpacity: Ce,
782
- shiftHue: Se,
783
- translateSize: ke,
784
- treeShake: we,
785
- useMouse: Me,
780
+ downloadCsv: xe,
781
+ error: be,
782
+ forceValidValue: Fe,
783
+ functionReturnsString: _e,
784
+ hasDeepProperty: Ae,
785
+ isFunction: ye,
786
+ isSafeValue: Ce,
787
+ largestTriangleThreeBucketsArray: Le,
788
+ objectIsEmpty: Se,
789
+ setOpacity: ke,
790
+ shiftHue: we,
791
+ translateSize: Oe,
792
+ treeShake: Ge,
793
+ useMouse: Te,
786
794
  useNestedProp: Z,
787
- setUserOptionsVisibility(i = !1) {
788
- this.showUserOptionsOnChartHover && (this.userOptionsVisible = i);
795
+ setUserOptionsVisibility(r = !1) {
796
+ this.showUserOptionsOnChartHover && (this.userOptionsVisible = r);
789
797
  },
790
798
  toggleAnnotator() {
791
799
  this.isAnnotator = !this.isAnnotator;
792
800
  },
793
- selectTimeLabel(i, l) {
801
+ selectTimeLabel(r, l) {
794
802
  const o = this.relativeDataset.map((d) => ({
795
803
  shape: d.shape || null,
796
804
  name: d.name,
@@ -803,24 +811,24 @@ const Je = J(), Qe = {
803
811
  }));
804
812
  this.$emit("selectTimeLabel", {
805
813
  datapoint: o,
806
- absoluteIndex: i.absoluteIndex,
807
- label: i.text
814
+ absoluteIndex: r.absoluteIndex,
815
+ label: r.text
808
816
  });
809
817
  },
810
- getHighlightAreaPosition(i) {
811
- const l = this.drawingArea.left + this.drawingArea.width / this.maxSeries * (i.from - this.slicer.start), o = this.drawingArea.width / (this.slicer.end - this.slicer.start) * i.span < 0 ? 1e-5 : this.drawingArea.width / (this.slicer.end - this.slicer.start) * i.span;
818
+ getHighlightAreaPosition(r) {
819
+ const l = this.drawingArea.left + this.drawingArea.width / this.maxSeries * (r.from - this.slicer.start), o = this.drawingArea.width / (this.slicer.end - this.slicer.start) * r.span < 0 ? 1e-5 : this.drawingArea.width / (this.slicer.end - this.slicer.start) * r.span;
812
820
  return {
813
821
  x: l < this.drawingArea.left ? this.drawingArea.left : l,
814
822
  width: o
815
823
  };
816
824
  },
817
825
  prepareConfig() {
818
- const i = Oe().vue_ui_xy;
826
+ const r = ve().vue_ui_xy;
819
827
  if (!Object.keys(this.config || {}).length)
820
- return i;
828
+ return r;
821
829
  const l = this.useNestedProp({
822
830
  userConfig: this.config,
823
- defaultConfig: i
831
+ defaultConfig: r
824
832
  });
825
833
  return this.config && this.hasDeepProperty(this.config, "chart.highlightArea") && (Array.isArray(this.config.chart.highlightArea) ? l.chart.highlightArea = this.config.chart.highlightArea : l.chart.highlightArea = [this.config.chart.highlightArea]), this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMin") ? l.chart.grid.labels.yAxis.scaleMin = this.config.chart.grid.labels.yAxis.scaleMin : l.chart.grid.labels.yAxis.scaleMin = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMax") ? l.chart.grid.labels.yAxis.scaleMax = this.config.chart.grid.labels.yAxis.scaleMax : l.chart.grid.labels.yAxis.scaleMax = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.startIndex") ? l.chart.zoom.startIndex = this.config.chart.zoom.startIndex : l.chart.zoom.startIndex = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.endIndex") ? l.chart.zoom.endIndex = this.config.chart.zoom.endIndex : l.chart.zoom.endIndex = null, l.theme ? {
826
834
  ...Z({
@@ -834,17 +842,17 @@ const Je = J(), Qe = {
834
842
  if (this.objectIsEmpty(this.dataset) ? this.error({
835
843
  componentName: "VueUiXy",
836
844
  type: "dataset"
837
- }) : this.dataset.forEach((i, l) => {
838
- [null, void 0].includes(i.name) && this.error({
845
+ }) : this.dataset.forEach((r, l) => {
846
+ [null, void 0].includes(r.name) && this.error({
839
847
  componentName: "VueUiXy",
840
848
  type: "datasetSerieAttribute",
841
849
  property: "name (string)",
842
850
  index: l
843
851
  });
844
- }), this.FINAL_CONFIG.showWarnings && this.dataset.forEach((i) => {
845
- i.series.forEach((l, o) => {
852
+ }), this.FINAL_CONFIG.showWarnings && this.dataset.forEach((r) => {
853
+ r.series.forEach((l, o) => {
846
854
  this.isSafeValue(l) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
847
- -----> The serie '${i.name}' contains the value '${l}' at index ${o}.
855
+ -----> The serie '${r.name}' contains the value '${l}' at index ${o}.
848
856
  '${l}' was converted to null to allow the chart to display.`);
849
857
  });
850
858
  }), 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 = {
@@ -861,8 +869,8 @@ const Je = J(), Qe = {
861
869
  this.FINAL_CONFIG.chart.title.show && (t = this.$refs.chartTitle, e = t.getBoundingClientRect().height);
862
870
  let N = null, _ = 0;
863
871
  this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (N = this.$refs.chartSlicer.$el, _ = N.getBoundingClientRect().height);
864
- let O = null, I = 0;
865
- this.FINAL_CONFIG.chart.legend.show && (O = this.$refs.chartLegend, I = O.getBoundingClientRect().height);
872
+ let w = null, I = 0;
873
+ this.FINAL_CONFIG.chart.legend.show && (w = this.$refs.chartLegend, I = w.getBoundingClientRect().height);
866
874
  let b = 0;
867
875
  this.$refs.source && (b = this.$refs.source.getBoundingClientRect().height);
868
876
  let V = 0;
@@ -875,8 +883,8 @@ const Je = J(), Qe = {
875
883
  } else
876
884
  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;
877
885
  },
878
- selectMinimapIndex(i) {
879
- this.selectedMinimapIndex = i;
886
+ selectMinimapIndex(r) {
887
+ this.selectedMinimapIndex = r;
880
888
  },
881
889
  convertSizes() {
882
890
  this.fontSizes.dataLabels = this.translateSize({
@@ -929,106 +937,106 @@ const Je = J(), Qe = {
929
937
  toggleTooltip() {
930
938
  this.mutableConfig.showTooltip = !this.mutableConfig.showTooltip;
931
939
  },
932
- checkAutoScaleError(i) {
933
- i.autoScaling && (this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale || console.warn(`VueUiXy (datapoint: ${i.name}) : autoScaling only works when config.chart.grid.labels.yAxis.useIndividualScale is set to true`), this.FINAL_CONFIG.chart.grid.labels.yAxis.stacked || console.warn(`VueUiXy (datapoint: ${i.name}) : autoScaling only works when config.chart.grid.labels.yAxis.stacked is set to true`));
940
+ checkAutoScaleError(r) {
941
+ r.autoScaling && (this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale || console.warn(`VueUiXy (datapoint: ${r.name}) : autoScaling only works when config.chart.grid.labels.yAxis.useIndividualScale is set to true`), this.FINAL_CONFIG.chart.grid.labels.yAxis.stacked || console.warn(`VueUiXy (datapoint: ${r.name}) : autoScaling only works when config.chart.grid.labels.yAxis.stacked is set to true`));
934
942
  },
935
- createArea(i) {
936
- if (!i[0]) return [-10, -10, "", -10, -10];
937
- const l = { x: i[0].x, y: this.zero }, o = { x: i.at(-1).x, y: this.zero }, d = [];
938
- return i.forEach((t) => {
943
+ createArea(r) {
944
+ if (!r[0]) return [-10, -10, "", -10, -10];
945
+ const l = { x: r[0].x, y: this.zero }, o = { x: r.at(-1).x, y: this.zero }, d = [];
946
+ return r.forEach((t) => {
939
947
  d.push(`${t.x},${t.y} `);
940
948
  }), [l.x, l.y, ...d, o.x, o.y].toString();
941
949
  },
942
- createIndividualArea(i, l) {
943
- if (!i[0]) return [-10, -10, "", -10, -10];
944
- const o = { x: i[0] ? i[0].x : Math.min(...i.filter((e) => !!e).map((e) => e.x)), y: l }, d = { x: i.at(-1) ? i.at(-1).x : Math.min(...i.filter((e) => !!e).map((e) => e.x)), y: l }, t = [];
945
- return i.filter((e) => !!e).forEach((e) => {
950
+ createIndividualArea(r, l) {
951
+ if (!r[0]) return [-10, -10, "", -10, -10];
952
+ const o = { x: r[0] ? r[0].x : Math.min(...r.filter((e) => !!e).map((e) => e.x)), y: l }, d = { x: r.at(-1) ? r.at(-1).x : Math.min(...r.filter((e) => !!e).map((e) => e.x)), y: l }, t = [];
953
+ return r.filter((e) => !!e).forEach((e) => {
946
954
  t.push(`${e.x},${e.y} `);
947
955
  }), [o.x, o.y, ...t, d.x, d.y].toString();
948
956
  },
949
957
  createStar: X,
950
- createPolygonPath: H,
951
- fillArray(i, l) {
952
- let o = Array(i).fill(0);
953
- for (let d = 0; d < l.length && d < i; d += 1)
958
+ createPolygonPath: D,
959
+ fillArray(r, l) {
960
+ let o = Array(r).fill(0);
961
+ for (let d = 0; d < l.length && d < r; d += 1)
954
962
  o[d] = l[d];
955
963
  return o;
956
964
  },
957
965
  async setupSlicer() {
958
966
  (this.FINAL_CONFIG.chart.zoom.startIndex !== null || this.FINAL_CONFIG.chart.zoom.endIndex !== null) && this.$refs.chartSlicer ? (this.FINAL_CONFIG.chart.zoom.startIndex !== null && (await this.$nextTick(), await this.$nextTick(), this.$refs.chartSlicer.setStartValue(this.FINAL_CONFIG.chart.zoom.startIndex)), this.FINAL_CONFIG.chart.zoom.endIndex !== null && (await this.$nextTick(), await this.$nextTick(), this.$refs.chartSlicer.setEndValue(this.validSlicerEnd(this.FINAL_CONFIG.chart.zoom.endIndex + 1)))) : (this.slicer = {
959
967
  start: 0,
960
- end: Math.max(...this.dataset.map((i) => this.largestTriangleThreeBucketsArray({ data: i.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length))
968
+ end: Math.max(...this.dataset.map((r) => this.largestTriangleThreeBucketsArray({ data: r.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length))
961
969
  }, this.slicerStep += 1);
962
970
  },
963
971
  refreshSlicer() {
964
972
  this.setupSlicer();
965
973
  },
966
- validSlicerEnd(i) {
974
+ validSlicerEnd(r) {
967
975
  const l = Math.max(...this.dataset.map((o) => this.largestTriangleThreeBucketsArray({ data: o.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length));
968
- return i > l ? l : i < 0 || this.FINAL_CONFIG.chart.zoom.startIndex !== null && i < this.FINAL_CONFIG.chart.zoom.startIndex ? this.FINAL_CONFIG.chart.zoom.startIndex !== null ? this.FINAL_CONFIG.chart.zoom.startIndex + 1 : 1 : i;
976
+ return r > l ? l : r < 0 || this.FINAL_CONFIG.chart.zoom.startIndex !== null && r < this.FINAL_CONFIG.chart.zoom.startIndex ? this.FINAL_CONFIG.chart.zoom.startIndex !== null ? this.FINAL_CONFIG.chart.zoom.startIndex + 1 : 1 : r;
969
977
  },
970
- calcRectHeight(i) {
978
+ calcRectHeight(r) {
971
979
  const l = ![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;
972
- return i.value >= 0 ? this.checkNaN(l - i.y <= 0 ? 1e-5 : l - i.y) : this.checkNaN(i.y - this.zero <= 0 ? 1e-5 : i.y - this.zero);
980
+ return r.value >= 0 ? this.checkNaN(l - r.y <= 0 ? 1e-5 : l - r.y) : this.checkNaN(r.y - this.zero <= 0 ? 1e-5 : r.y - this.zero);
973
981
  },
974
- calcIndividualHeight(i) {
975
- return i.value >= 0 ? this.checkNaN(i.zeroPosition - i.y <= 0 ? 1e-5 : i.zeroPosition - i.y) : this.checkNaN(i.y - i.zeroPosition <= 0 ? 1e-5 : i.zeroPosition - i.y);
982
+ calcIndividualHeight(r) {
983
+ return r.value >= 0 ? this.checkNaN(r.zeroPosition - r.y <= 0 ? 1e-5 : r.zeroPosition - r.y) : this.checkNaN(r.y - r.zeroPosition <= 0 ? 1e-5 : r.zeroPosition - r.y);
976
984
  },
977
985
  calcRectWidth() {
978
986
  return this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.slot.line - this.drawingArea.width / this.maxSeries * 0.1 : this.slot.bar;
979
987
  },
980
- calcRectX(i) {
981
- return this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? i.x + this.drawingArea.width / this.maxSeries * 0.05 : i.x + this.slot.bar / 2;
988
+ calcRectX(r) {
989
+ return this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? r.x + this.drawingArea.width / this.maxSeries * 0.05 : r.x + this.slot.bar / 2;
982
990
  },
983
- calcRectY(i) {
984
- return i.value >= 0 ? i.y : this.zero;
991
+ calcRectY(r) {
992
+ return r.value >= 0 ? r.y : this.zero;
985
993
  },
986
- calcIndividualRectY(i) {
987
- return i.value >= 0 ? i.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(i.zeroPosition) ? 0 : i.zeroPosition;
994
+ calcIndividualRectY(r) {
995
+ return r.value >= 0 ? r.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(r.zeroPosition) ? 0 : r.zeroPosition;
988
996
  },
989
- canShowValue(i) {
990
- return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(i);
997
+ canShowValue(r) {
998
+ return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(r);
991
999
  },
992
- findClosestValue(i, l) {
993
- let o = l[0], d = Math.abs(i - l[0]);
1000
+ findClosestValue(r, l) {
1001
+ let o = l[0], d = Math.abs(r - l[0]);
994
1002
  for (let t = 1; t < l.length; t += 1) {
995
- const e = Math.abs(i - l[t]);
996
- e < d && l[t] < i && (o = l[t], d = e);
1003
+ const e = Math.abs(r - l[t]);
1004
+ e < d && l[t] < r && (o = l[t], d = e);
997
1005
  }
998
1006
  return o;
999
1007
  },
1000
- ratioToMax(i) {
1001
- return i / (this.canShowValue(this.absoluteMax) ? this.absoluteMax : 1);
1008
+ ratioToMax(r) {
1009
+ return r / (this.canShowValue(this.absoluteMax) ? this.absoluteMax : 1);
1002
1010
  },
1003
- selectX(i) {
1011
+ selectX(r) {
1004
1012
  this.$emit(
1005
1013
  "selectX",
1006
1014
  {
1007
1015
  dataset: this.relativeDataset.map((l) => ({
1008
1016
  name: l.name,
1009
- value: [null, void 0, NaN].includes(l.absoluteValues[i]) ? null : l.absoluteValues[i],
1017
+ value: [null, void 0, NaN].includes(l.absoluteValues[r]) ? null : l.absoluteValues[r],
1010
1018
  color: l.color,
1011
1019
  type: l.type
1012
1020
  })),
1013
- index: i,
1014
- indexLabel: this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[i]
1021
+ index: r,
1022
+ indexLabel: this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[r]
1015
1023
  }
1016
1024
  );
1017
1025
  },
1018
1026
  getData() {
1019
- return this.absoluteDataset.map((i) => ({
1020
- values: i.absoluteValues,
1021
- color: i.color,
1022
- name: i.name,
1023
- type: i.type
1027
+ return this.absoluteDataset.map((r) => ({
1028
+ values: r.absoluteValues,
1029
+ color: r.color,
1030
+ name: r.name,
1031
+ type: r.type
1024
1032
  }));
1025
1033
  },
1026
- segregate(i) {
1027
- if (this.segregatedSeries.includes(i.id))
1028
- this.segregatedSeries = this.segregatedSeries.filter((l) => l !== i.id);
1034
+ segregate(r) {
1035
+ if (this.segregatedSeries.includes(r.id))
1036
+ this.segregatedSeries = this.segregatedSeries.filter((l) => l !== r.id);
1029
1037
  else {
1030
1038
  if (this.segregatedSeries.length + 1 === this.safeDataset.length) return;
1031
- this.segregatedSeries.push(i.id);
1039
+ this.segregatedSeries.push(r.id);
1032
1040
  }
1033
1041
  this.$emit("selectLegend", this.relativeDataset.map((l) => ({
1034
1042
  name: l.name,
@@ -1037,11 +1045,11 @@ const Je = J(), Qe = {
1037
1045
  type: l.type
1038
1046
  }))), this.segregateStep += 1;
1039
1047
  },
1040
- toggleTooltipVisibility(i, l = null) {
1041
- this.isTooltip = i, i ? this.selectedSerieIndex = l : this.selectedSerieIndex = null;
1048
+ toggleTooltipVisibility(r, l = null) {
1049
+ this.isTooltip = r, r ? this.selectedSerieIndex = l : this.selectedSerieIndex = null;
1042
1050
  },
1043
- toggleFullscreen(i) {
1044
- this.isFullscreen = i, this.step += 1;
1051
+ toggleFullscreen(r) {
1052
+ this.isFullscreen = r, this.step += 1;
1045
1053
  },
1046
1054
  showSpinnerPdf() {
1047
1055
  this.isPrinting = !0;
@@ -1049,20 +1057,20 @@ const Je = J(), Qe = {
1049
1057
  async generatePdf() {
1050
1058
  this.showSpinnerPdf(), clearTimeout(this.__to__), this.isPrinting = !0, this.__to__ = setTimeout(async () => {
1051
1059
  try {
1052
- const { default: i } = await import("./pdf-B7oVat64.js");
1053
- await i({
1060
+ const { default: r } = await import("./pdf-B7oVat64.js");
1061
+ await r({
1054
1062
  domElement: document.getElementById(`vue-ui-xy_${this.uniqueId}`),
1055
1063
  fileName: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy"
1056
1064
  });
1057
- } catch (i) {
1058
- console.error("Error generating PDF:", i);
1065
+ } catch (r) {
1066
+ console.error("Error generating PDF:", r);
1059
1067
  } finally {
1060
1068
  this.isPrinting = !1;
1061
1069
  }
1062
1070
  }, 100);
1063
1071
  },
1064
1072
  generateCsv() {
1065
- const i = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], l = ["", ...this.table.head.map((e) => e.label)], o = this.table.body, d = i.concat([l]).concat(o), t = this.createCsvContent(d);
1073
+ const r = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], l = ["", ...this.table.head.map((e) => e.label)], o = this.table.body, d = r.concat([l]).concat(o), t = this.createCsvContent(d);
1066
1074
  this.downloadCsv({ csvContent: t, title: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy" });
1067
1075
  },
1068
1076
  showSpinnerImage() {
@@ -1071,14 +1079,14 @@ const Je = J(), Qe = {
1071
1079
  async generateImage() {
1072
1080
  this.showSpinnerImage(), clearTimeout(this.__to__), this.isImaging = !0, this.__to__ = setTimeout(async () => {
1073
1081
  try {
1074
- const { default: i } = await import("./img-DGzWcJ4Y.js");
1075
- await i({
1082
+ const { default: r } = await import("./img-DGzWcJ4Y.js");
1083
+ await r({
1076
1084
  domElement: document.getElementById(`vue-ui-xy_${this.uniqueId}`),
1077
1085
  fileName: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy",
1078
1086
  format: "png"
1079
1087
  });
1080
- } catch (i) {
1081
- console.error("Error generating image:", i);
1088
+ } catch (r) {
1089
+ console.error("Error generating image:", r);
1082
1090
  } finally {
1083
1091
  this.isImaging = !1;
1084
1092
  }
@@ -1090,48 +1098,51 @@ const Je = J(), Qe = {
1090
1098
  ref: "noTitle",
1091
1099
  class: "vue-data-ui-no-title-space",
1092
1100
  style: "height:36px; width: 100%; background:transparent"
1093
- }, $e = ["viewBox"], et = ["x", "y", "width", "height"], tt = { key: 1 }, it = { class: "vue-ui-xy-grid" }, rt = ["stroke", "x1", "x2", "y1", "y2"], at = ["stroke", "x1", "x2", "y1", "y2"], lt = { key: 1 }, st = ["x1", "x2", "y1", "y2", "stroke"], nt = ["x1", "x2", "y1", "y2", "stroke"], ht = ["x1", "x2", "y1", "y2", "stroke"], ot = { key: 3 }, ct = ["x1", "x2", "y1", "y2", "stroke"], dt = ["id"], ut = ["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"], At = ["id"], yt = ["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"], zt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Mt = ["width", "x", "y"], pt = { key: 0 }, Tt = ["id"], Pt = ["fill"], Vt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Rt = ["x", "y", "font-size", "fill"], Dt = ["stroke", "x1", "x2", "y1", "y2"], Ht = { key: 2 }, Bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Wt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Et = { 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"], Qt = ["width", "x", "y"], Kt = { style: { width: "100%" } }, jt = { key: 0 }, $t = ["id"], ei = ["fill"], ti = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ii = ["x", "y", "font-size", "fill"], ri = ["d", "stroke", "stroke-width", "stroke-dasharray"], ai = ["d", "stroke", "stroke-width", "stroke-dasharray"], li = { key: 5 }, si = { key: 0 }, ni = ["d", "fill"], hi = ["d", "fill"], oi = ["d", "fill"], ci = ["d", "fill"], di = ["d", "stroke", "stroke-width", "stroke-dasharray"], ui = ["d", "stroke", "stroke-width", "stroke-dasharray"], gi = ["width", "x", "y"], fi = { style: { width: "100%" } }, Ii = { key: 3 }, mi = ["id"], Ni = ["fill"], xi = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], bi = ["x", "y", "font-size", "fill"], Fi = { key: 6 }, _i = ["x", "y", "font-size", "fill"], Ai = ["x", "y", "font-size", "fill", "font-weight"], yi = { key: 7 }, Li = ["x", "y", "font-size", "fill"], Ci = ["x", "y"], Si = ["x", "y"], ki = { key: 8 }, wi = ["x", "y", "font-size", "fill"], Oi = ["x", "y"], Gi = ["x", "y"], vi = ["x", "y", "font-size", "fill", "innerHTML"], zi = ["x", "y", "font-size", "fill", "innerHTML"], Mi = ["x", "y", "font-size", "fill", "innerHTML"], pi = ["x", "y", "font-size", "fill", "innerHTML"], Ti = ["x", "y", "width", "height", "fill", "onMouseenter"], Pi = ["font-size", "fill", "transform"], Vi = ["x", "y", "font-size", "fill"], Ri = { key: 10 }, Di = ["text-anchor", "font-size", "fill", "transform", "onClick"], Hi = ["x", "y", "height", "width", "onMouseenter", "onClick"], Bi = { key: 11 }, Wi = ["x", "y"], Ei = ["cx", "cy", "r", "fill"], Yi = {
1101
+ }, $e = ["viewBox"], et = ["x", "y", "width", "height"], tt = { key: 1 }, rt = { class: "vue-ui-xy-grid" }, it = ["stroke", "x1", "x2", "y1", "y2"], at = ["stroke", "x1", "x2", "y1", "y2"], lt = { key: 1 }, st = ["x1", "x2", "y1", "y2", "stroke"], nt = ["x1", "x2", "y1", "y2", "stroke"], ht = ["x1", "x2", "y1", "y2", "stroke"], ot = { key: 3 }, ct = ["x1", "x2", "y1", "y2", "stroke"], dt = ["id"], ut = ["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"], At = ["id"], yt = ["stop-color"], Ct = ["stop-color"], Lt = ["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"], zt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Mt = ["width", "x", "y"], pt = { key: 0 }, Tt = ["id"], Pt = ["fill"], Vt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Rt = ["x", "y", "font-size", "fill"], Dt = ["stroke", "x1", "x2", "y1", "y2"], Ht = { key: 2 }, Bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Wt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Et = { 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"], Qt = ["width", "x", "y"], Kt = { style: { width: "100%" } }, jt = { key: 0 }, $t = ["id"], er = ["fill"], tr = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], rr = ["x", "y", "font-size", "fill"], ir = ["d", "stroke", "stroke-width", "stroke-dasharray"], ar = ["d", "stroke", "stroke-width", "stroke-dasharray"], lr = { key: 5 }, sr = { key: 0 }, nr = ["d", "fill"], hr = ["d", "fill"], or = ["d", "fill"], cr = ["d", "fill"], dr = ["d", "stroke", "stroke-width", "stroke-dasharray"], ur = ["d", "stroke", "stroke-width", "stroke-dasharray"], gr = ["width", "x", "y"], fr = { style: { width: "100%" } }, Ir = { key: 3 }, mr = ["id"], Nr = ["fill"], xr = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], br = ["x", "y", "font-size", "fill"], Fr = { key: 6 }, _r = ["x", "y", "font-size", "fill"], Ar = ["x", "y", "font-size", "fill", "font-weight"], yr = { key: 7 }, Cr = ["x", "y", "font-size", "fill"], Lr = ["x", "y"], Sr = ["x", "y"], kr = { key: 8 }, wr = ["x", "y", "font-size", "fill"], Or = ["x", "y"], Gr = ["x", "y"], vr = ["x", "y", "font-size", "fill", "innerHTML"], zr = ["x", "y", "font-size", "fill", "innerHTML"], Mr = ["x", "y", "font-size", "fill", "innerHTML"], pr = ["x", "y", "font-size", "fill", "innerHTML"], Tr = ["x", "y", "width", "height", "fill", "onMouseenter"], Pr = ["font-size", "fill", "transform"], Vr = ["x", "y", "font-size", "fill"], Rr = { key: 10 }, Dr = ["text-anchor", "font-size", "fill", "transform", "onClick"], Hr = ["x", "y", "height", "width", "onMouseenter", "onClick"], Br = {
1102
+ key: 11,
1103
+ style: { "pointer-events": "none" }
1104
+ }, Wr = ["x", "y"], Er = ["cx", "cy", "r", "fill"], Yr = {
1094
1105
  key: 5,
1095
1106
  class: "vue-data-ui-watermark"
1096
- }, qi = ["onClick"], Xi = {
1107
+ }, qr = ["onClick"], Xr = {
1097
1108
  key: 0,
1098
1109
  viewBox: "0 0 20 12",
1099
1110
  height: "14",
1100
1111
  width: "20"
1101
- }, Ui = ["stroke", "fill"], Zi = {
1112
+ }, Ur = ["stroke", "fill"], Zr = {
1102
1113
  key: 1,
1103
1114
  viewBox: "0 0 40 40",
1104
1115
  height: "14",
1105
1116
  width: "14"
1106
- }, Ji = ["fill"], Qi = ["fill"], Ki = {
1117
+ }, Jr = ["fill"], Qr = ["fill"], Kr = {
1107
1118
  key: 2,
1108
1119
  viewBox: "0 0 12 12",
1109
1120
  height: "14",
1110
1121
  width: "14"
1111
- }, ji = {
1122
+ }, jr = {
1112
1123
  key: 9,
1113
1124
  ref: "chartLegend"
1114
- }, $i = {
1125
+ }, $r = {
1115
1126
  key: 10,
1116
1127
  ref: "source",
1117
1128
  dir: "auto"
1118
- }, er = {
1129
+ }, ei = {
1119
1130
  style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
1120
1131
  "data-html2canvas-ignore": ""
1121
- }, tr = ["innerHTML"];
1122
- function ir(i, l, o, d, t, e) {
1123
- const N = R("PenAndPaper"), _ = R("Title"), O = R("UserOptions"), I = R("PackageVersion"), b = R("Shape"), V = R("Skeleton"), v = R("Slicer"), z = R("Tooltip"), G = R("BaseIcon"), F = R("TableSparkline"), C = R("DataTable"), T = R("Accordion");
1132
+ }, ti = ["innerHTML"];
1133
+ function ri(r, l, o, d, t, e) {
1134
+ const N = R("PenAndPaper"), _ = R("Title"), w = R("UserOptions"), I = R("PackageVersion"), b = R("Shape"), V = R("Skeleton"), v = R("Slicer"), z = R("Tooltip"), G = R("BaseIcon"), F = R("TableSparkline"), C = R("DataTable"), T = R("Accordion");
1124
1135
  return a(), s("div", {
1125
1136
  id: `vue-ui-xy_${t.uniqueId}`,
1126
- class: D(`vue-ui-xy ${t.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
1137
+ class: B(`vue-ui-xy ${t.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
1127
1138
  ref: "chart",
1128
- style: L(`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%" : ""}`),
1139
+ style: O(`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%" : ""}`),
1129
1140
  onMouseenter: l[7] || (l[7] = () => e.setUserOptionsVisibility(!0)),
1130
1141
  onMouseleave: l[8] || (l[8] = () => e.setUserOptionsVisibility(!1))
1131
1142
  }, [
1132
- e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (a(), B(N, {
1143
+ e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (a(), H(N, {
1133
1144
  key: 0,
1134
- parent: i.$refs.chart,
1145
+ parent: r.$refs.chart,
1135
1146
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
1136
1147
  color: e.FINAL_CONFIG.chart.color,
1137
1148
  active: t.isAnnotator,
@@ -1142,9 +1153,9 @@ function ir(i, l, o, d, t, e) {
1142
1153
  key: 2,
1143
1154
  ref: "chartTitle",
1144
1155
  class: "vue-ui-xy-title",
1145
- style: L(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1156
+ style: O(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1146
1157
  }, [
1147
- (a(), B(_, {
1158
+ (a(), H(_, {
1148
1159
  key: `title_${t.titleStep}`,
1149
1160
  config: {
1150
1161
  title: {
@@ -1158,7 +1169,7 @@ function ir(i, l, o, d, t, e) {
1158
1169
  }
1159
1170
  }, null, 8, ["config"]))
1160
1171
  ], 4)) : c("", !0),
1161
- e.FINAL_CONFIG.chart.userOptions.show && e.isDataset && (t.keepUserOptionState || t.userOptionsVisible) ? (a(), B(O, {
1172
+ e.FINAL_CONFIG.chart.userOptions.show && e.isDataset && (t.keepUserOptionState || t.userOptionsVisible) ? (a(), H(w, {
1162
1173
  ref: "defails",
1163
1174
  key: `user_options_${t.step}`,
1164
1175
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
@@ -1176,7 +1187,7 @@ function ir(i, l, o, d, t, e) {
1176
1187
  hasFullscreen: e.FINAL_CONFIG.chart.userOptions.buttons.fullscreen,
1177
1188
  isStacked: t.mutableConfig.isStacked,
1178
1189
  isFullscreen: t.isFullscreen,
1179
- chartElement: i.$refs.chart,
1190
+ chartElement: r.$refs.chart,
1180
1191
  position: e.FINAL_CONFIG.chart.userOptions.position,
1181
1192
  isTooltip: t.mutableConfig.showTooltip,
1182
1193
  titles: { ...e.FINAL_CONFIG.chart.userOptions.buttonTitles },
@@ -1191,70 +1202,70 @@ function ir(i, l, o, d, t, e) {
1191
1202
  onToggleStack: e.toggleStack,
1192
1203
  onToggleTooltip: e.toggleTooltip,
1193
1204
  onToggleAnnotator: e.toggleAnnotator,
1194
- style: L({
1205
+ style: O({
1195
1206
  visibility: t.keepUserOptionState ? t.userOptionsVisible ? "visible" : "hidden" : "visible"
1196
1207
  })
1197
- }, Ee({ _: 2 }, [
1198
- i.$slots.optionTooltip ? {
1208
+ }, qe({ _: 2 }, [
1209
+ r.$slots.optionTooltip ? {
1199
1210
  name: "optionTooltip",
1200
1211
  fn: P(() => [
1201
- k(i.$slots, "optionTooltip", {}, void 0, !0)
1212
+ S(r.$slots, "optionTooltip", {}, void 0, !0)
1202
1213
  ]),
1203
1214
  key: "0"
1204
1215
  } : void 0,
1205
- i.$slots.optionPdf ? {
1216
+ r.$slots.optionPdf ? {
1206
1217
  name: "optionPdf",
1207
1218
  fn: P(() => [
1208
- k(i.$slots, "optionPdf", {}, void 0, !0)
1219
+ S(r.$slots, "optionPdf", {}, void 0, !0)
1209
1220
  ]),
1210
1221
  key: "1"
1211
1222
  } : void 0,
1212
- i.$slots.optionCsv ? {
1223
+ r.$slots.optionCsv ? {
1213
1224
  name: "optionCsv",
1214
1225
  fn: P(() => [
1215
- k(i.$slots, "optionCsv", {}, void 0, !0)
1226
+ S(r.$slots, "optionCsv", {}, void 0, !0)
1216
1227
  ]),
1217
1228
  key: "2"
1218
1229
  } : void 0,
1219
- i.$slots.optionImg ? {
1230
+ r.$slots.optionImg ? {
1220
1231
  name: "optionImg",
1221
1232
  fn: P(() => [
1222
- k(i.$slots, "optionImg", {}, void 0, !0)
1233
+ S(r.$slots, "optionImg", {}, void 0, !0)
1223
1234
  ]),
1224
1235
  key: "3"
1225
1236
  } : void 0,
1226
- i.$slots.optionTable ? {
1237
+ r.$slots.optionTable ? {
1227
1238
  name: "optionTable",
1228
1239
  fn: P(() => [
1229
- k(i.$slots, "optionTable", {}, void 0, !0)
1240
+ S(r.$slots, "optionTable", {}, void 0, !0)
1230
1241
  ]),
1231
1242
  key: "4"
1232
1243
  } : void 0,
1233
- i.$slots.optionLabels ? {
1244
+ r.$slots.optionLabels ? {
1234
1245
  name: "optionLabels",
1235
1246
  fn: P(() => [
1236
- k(i.$slots, "optionLabels", {}, void 0, !0)
1247
+ S(r.$slots, "optionLabels", {}, void 0, !0)
1237
1248
  ]),
1238
1249
  key: "5"
1239
1250
  } : void 0,
1240
- i.$slots.optionStack ? {
1251
+ r.$slots.optionStack ? {
1241
1252
  name: "optionStack",
1242
1253
  fn: P(() => [
1243
- k(i.$slots, "optionStack", {}, void 0, !0)
1254
+ S(r.$slots, "optionStack", {}, void 0, !0)
1244
1255
  ]),
1245
1256
  key: "6"
1246
1257
  } : void 0,
1247
- i.$slots.optionFullscreen ? {
1258
+ r.$slots.optionFullscreen ? {
1248
1259
  name: "optionFullscreen",
1249
- fn: P(({ toggleFullscreen: r, isFullscreen: h }) => [
1250
- k(i.$slots, "optionFullscreen", W(E({ toggleFullscreen: r, isFullscreen: h })), void 0, !0)
1260
+ fn: P(({ toggleFullscreen: i, isFullscreen: h }) => [
1261
+ S(r.$slots, "optionFullscreen", W(Y({ toggleFullscreen: i, isFullscreen: h })), void 0, !0)
1251
1262
  ]),
1252
1263
  key: "7"
1253
1264
  } : void 0,
1254
- i.$slots.optionAnnotator ? {
1265
+ r.$slots.optionAnnotator ? {
1255
1266
  name: "optionAnnotator",
1256
- fn: P(({ toggleAnnotator: r, isAnnotator: h }) => [
1257
- k(i.$slots, "optionAnnotator", W(E({ toggleAnnotator: r, isAnnotator: h })), void 0, !0)
1267
+ fn: P(({ toggleAnnotator: i, isAnnotator: h }) => [
1268
+ S(r.$slots, "optionAnnotator", W(Y({ toggleAnnotator: i, isAnnotator: h })), void 0, !0)
1258
1269
  ]),
1259
1270
  key: "8"
1260
1271
  } : void 0
@@ -1262,13 +1273,13 @@ function ir(i, l, o, d, t, e) {
1262
1273
  e.isDataset ? (a(), s("svg", {
1263
1274
  key: 4,
1264
1275
  xmlns: "http://www.w3.org/2000/svg",
1265
- class: D([{ "vue-data-ui-fullscreen--on": t.isFullscreen, "vue-data-ui-fulscreen--off": !t.isFullscreen }, "vue-ui-xy-svg"]),
1276
+ class: B([{ "vue-data-ui-fullscreen--on": t.isFullscreen, "vue-data-ui-fulscreen--off": !t.isFullscreen }, "vue-ui-xy-svg"]),
1266
1277
  width: "100%",
1267
1278
  viewBox: t.viewBox,
1268
- style: L(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1279
+ style: O(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1269
1280
  }, [
1270
1281
  q(I),
1271
- i.$slots["chart-background"] ? (a(), s("foreignObject", {
1282
+ r.$slots["chart-background"] ? (a(), s("foreignObject", {
1272
1283
  key: 0,
1273
1284
  x: e.drawingArea.left + e.xPadding < 0 ? 0 : e.drawingArea.left + e.xPadding,
1274
1285
  y: e.drawingArea.top,
@@ -1278,10 +1289,10 @@ function ir(i, l, o, d, t, e) {
1278
1289
  pointerEvents: "none"
1279
1290
  }
1280
1291
  }, [
1281
- k(i.$slots, "chart-background", {}, void 0, !0)
1292
+ S(r.$slots, "chart-background", {}, void 0, !0)
1282
1293
  ], 8, et)) : c("", !0),
1283
1294
  e.maxSeries > 0 ? (a(), s("g", tt, [
1284
- u("g", it, [
1295
+ g("g", rt, [
1285
1296
  e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (a(), s("line", {
1286
1297
  key: 0,
1287
1298
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
@@ -1291,17 +1302,17 @@ function ir(i, l, o, d, t, e) {
1291
1302
  y1: e.forceValidValue(e.drawingArea.bottom),
1292
1303
  y2: e.forceValidValue(e.drawingArea.bottom),
1293
1304
  "stroke-linecap": "round"
1294
- }, null, 8, rt)) : c("", !0),
1295
- t.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (a(!0), s(f, { key: 2 }, m(e.allScales, (r) => (a(), s("g", null, [
1296
- r.id === t.selectedScale && r.yLabels.length ? (a(!0), s(f, { key: 0 }, m(r.yLabels, (h) => (a(), s("line", {
1305
+ }, null, 8, it)) : c("", !0),
1306
+ t.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (a(!0), s(u, { key: 2 }, m(e.allScales, (i) => (a(), s("g", null, [
1307
+ i.id === t.selectedScale && i.yLabels.length ? (a(!0), s(u, { key: 0 }, m(i.yLabels, (h) => (a(), s("line", {
1297
1308
  x1: e.drawingArea.left + e.xPadding,
1298
1309
  x2: e.drawingArea.right - e.xPadding,
1299
1310
  y1: e.forceValidValue(h.y),
1300
1311
  y2: e.forceValidValue(h.y),
1301
- stroke: r.color,
1312
+ stroke: i.color,
1302
1313
  "stroke-width": 0.5,
1303
1314
  "stroke-linecap": "round"
1304
- }, null, 8, nt))), 256)) : r.yLabels.length ? (a(!0), s(f, { key: 1 }, m(r.yLabels, (h) => (a(), s("line", {
1315
+ }, null, 8, nt))), 256)) : i.yLabels.length ? (a(!0), s(u, { key: 1 }, m(i.yLabels, (h) => (a(), s("line", {
1305
1316
  x1: e.drawingArea.left + e.xPadding,
1306
1317
  x2: e.drawingArea.right - e.xPadding,
1307
1318
  y1: e.forceValidValue(h.y),
@@ -1310,7 +1321,7 @@ function ir(i, l, o, d, t, e) {
1310
1321
  "stroke-width": 0.5,
1311
1322
  "stroke-linecap": "round"
1312
1323
  }, null, 8, ht))), 256)) : c("", !0)
1313
- ]))), 256)) : c("", !0) : (a(), s(f, { key: 1 }, [
1324
+ ]))), 256)) : c("", !0) : (a(), s(u, { key: 1 }, [
1314
1325
  e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (a(), s("line", {
1315
1326
  key: 0,
1316
1327
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
@@ -1322,11 +1333,11 @@ function ir(i, l, o, d, t, e) {
1322
1333
  "stroke-linecap": "round"
1323
1334
  }, null, 8, at)) : c("", !0),
1324
1335
  e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (a(), s("g", lt, [
1325
- (a(!0), s(f, null, m(e.yLabels, (r) => (a(), s("line", {
1336
+ (a(!0), s(u, null, m(e.yLabels, (i) => (a(), s("line", {
1326
1337
  x1: e.drawingArea.left + e.xPadding,
1327
1338
  x2: e.drawingArea.right - e.xPadding,
1328
- y1: e.forceValidValue(r.y),
1329
- y2: e.forceValidValue(r.y),
1339
+ y1: e.forceValidValue(i.y),
1340
+ y2: e.forceValidValue(i.y),
1330
1341
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1331
1342
  "stroke-width": 0.5,
1332
1343
  "stroke-linecap": "round"
@@ -1334,7 +1345,7 @@ function ir(i, l, o, d, t, e) {
1334
1345
  ])) : c("", !0)
1335
1346
  ], 64)),
1336
1347
  e.FINAL_CONFIG.chart.grid.showVerticalLines ? (a(), s("g", ot, [
1337
- (a(!0), s(f, null, m(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (r, h) => (a(), s("line", {
1348
+ (a(!0), s(u, null, m(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (i, h) => (a(), s("line", {
1338
1349
  key: `grid_vertical_line_${h}`,
1339
1350
  x1: e.drawingArea.width / e.maxSeries * h + e.drawingArea.left + e.xPadding,
1340
1351
  x2: e.drawingArea.width / e.maxSeries * h + e.drawingArea.left + e.xPadding,
@@ -1345,50 +1356,50 @@ function ir(i, l, o, d, t, e) {
1345
1356
  }, null, 8, ct))), 128))
1346
1357
  ])) : c("", !0)
1347
1358
  ]),
1348
- (a(!0), s(f, null, m(e.barSet, (r, h) => (a(), s("defs", {
1359
+ (a(!0), s(u, null, m(e.barSet, (i, h) => (a(), s("defs", {
1349
1360
  key: `def_rect_${h}`
1350
1361
  }, [
1351
- u("linearGradient", {
1362
+ g("linearGradient", {
1352
1363
  id: `rectGradient_pos_${h}_${t.uniqueId}`,
1353
1364
  x2: "0%",
1354
1365
  y2: "100%"
1355
1366
  }, [
1356
- u("stop", {
1367
+ g("stop", {
1357
1368
  offset: "0%",
1358
- "stop-color": r.color
1369
+ "stop-color": i.color
1359
1370
  }, null, 8, ut),
1360
- u("stop", {
1371
+ g("stop", {
1361
1372
  offset: "62%",
1362
- "stop-color": `${e.shiftHue(r.color, 0.02)}`
1373
+ "stop-color": `${e.shiftHue(i.color, 0.02)}`
1363
1374
  }, null, 8, gt),
1364
- u("stop", {
1375
+ g("stop", {
1365
1376
  offset: "100%",
1366
- "stop-color": `${e.shiftHue(r.color, 0.05)}`
1377
+ "stop-color": `${e.shiftHue(i.color, 0.05)}`
1367
1378
  }, null, 8, ft)
1368
1379
  ], 8, dt),
1369
- u("linearGradient", {
1380
+ g("linearGradient", {
1370
1381
  id: `rectGradient_neg_${h}_${t.uniqueId}`,
1371
1382
  x2: "0%",
1372
1383
  y2: "100%"
1373
1384
  }, [
1374
- u("stop", {
1385
+ g("stop", {
1375
1386
  offset: "0%",
1376
- "stop-color": `${e.shiftHue(r.color, 0.05)}`
1387
+ "stop-color": `${e.shiftHue(i.color, 0.05)}`
1377
1388
  }, null, 8, mt),
1378
- u("stop", {
1389
+ g("stop", {
1379
1390
  offset: "38%",
1380
- "stop-color": `${e.shiftHue(r.color, 0.02)}`
1391
+ "stop-color": `${e.shiftHue(i.color, 0.02)}`
1381
1392
  }, null, 8, Nt),
1382
- u("stop", {
1393
+ g("stop", {
1383
1394
  offset: "100%",
1384
- "stop-color": r.color
1395
+ "stop-color": i.color
1385
1396
  }, null, 8, xt)
1386
1397
  ], 8, It)
1387
1398
  ]))), 128)),
1388
- (a(!0), s(f, null, m(e.plotSet, (r, h) => (a(), s("defs", {
1399
+ (a(!0), s(u, null, m(e.plotSet, (i, h) => (a(), s("defs", {
1389
1400
  key: `def_plot_${h}`
1390
1401
  }, [
1391
- u("radialGradient", {
1402
+ g("radialGradient", {
1392
1403
  id: `plotGradient_${h}_${t.uniqueId}`,
1393
1404
  cx: "50%",
1394
1405
  cy: "50%",
@@ -1396,20 +1407,20 @@ function ir(i, l, o, d, t, e) {
1396
1407
  fx: "50%",
1397
1408
  fy: "50%"
1398
1409
  }, [
1399
- u("stop", {
1410
+ g("stop", {
1400
1411
  offset: "0%",
1401
- "stop-color": `${e.shiftHue(r.color, 0.05)}`
1412
+ "stop-color": `${e.shiftHue(i.color, 0.05)}`
1402
1413
  }, null, 8, Ft),
1403
- u("stop", {
1414
+ g("stop", {
1404
1415
  offset: "100%",
1405
- "stop-color": r.color
1416
+ "stop-color": i.color
1406
1417
  }, null, 8, _t)
1407
1418
  ], 8, bt)
1408
1419
  ]))), 128)),
1409
- (a(!0), s(f, null, m(e.lineSet, (r, h) => (a(), s("defs", {
1420
+ (a(!0), s(u, null, m(e.lineSet, (i, h) => (a(), s("defs", {
1410
1421
  key: `def_line_${h}`
1411
1422
  }, [
1412
- u("radialGradient", {
1423
+ g("radialGradient", {
1413
1424
  id: `lineGradient_${h}_${t.uniqueId}`,
1414
1425
  cx: "50%",
1415
1426
  cy: "50%",
@@ -1417,67 +1428,67 @@ function ir(i, l, o, d, t, e) {
1417
1428
  fx: "50%",
1418
1429
  fy: "50%"
1419
1430
  }, [
1420
- u("stop", {
1431
+ g("stop", {
1421
1432
  offset: "0%",
1422
- "stop-color": `${e.shiftHue(r.color, 0.05)}`
1433
+ "stop-color": `${e.shiftHue(i.color, 0.05)}`
1423
1434
  }, null, 8, yt),
1424
- u("stop", {
1435
+ g("stop", {
1425
1436
  offset: "100%",
1426
- "stop-color": r.color
1427
- }, null, 8, Lt)
1437
+ "stop-color": i.color
1438
+ }, null, 8, Ct)
1428
1439
  ], 8, At),
1429
- u("linearGradient", {
1440
+ g("linearGradient", {
1430
1441
  id: `areaGradient_${h}_${t.uniqueId}`,
1431
1442
  x1: "0%",
1432
1443
  x2: "100%",
1433
1444
  y1: "0%",
1434
1445
  y2: "0%"
1435
1446
  }, [
1436
- u("stop", {
1447
+ g("stop", {
1437
1448
  offset: "0%",
1438
- "stop-color": `${e.setOpacity(e.shiftHue(r.color, 0.03), e.FINAL_CONFIG.line.area.opacity)}`
1449
+ "stop-color": `${e.setOpacity(e.shiftHue(i.color, 0.03), e.FINAL_CONFIG.line.area.opacity)}`
1439
1450
  }, null, 8, St),
1440
- u("stop", {
1451
+ g("stop", {
1441
1452
  offset: "100%",
1442
- "stop-color": `${e.setOpacity(r.color, e.FINAL_CONFIG.line.area.opacity)}`
1453
+ "stop-color": `${e.setOpacity(i.color, e.FINAL_CONFIG.line.area.opacity)}`
1443
1454
  }, null, 8, kt)
1444
- ], 8, Ct)
1455
+ ], 8, Lt)
1445
1456
  ]))), 128)),
1446
- (a(!0), s(f, null, m(e.highlightAreas, (r) => (a(), s("g", null, [
1447
- r.show ? (a(!0), s(f, { key: 0 }, m(r.span, (h, n) => (a(), s("g", null, [
1448
- u("rect", {
1449
- style: L({
1457
+ (a(!0), s(u, null, m(e.highlightAreas, (i) => (a(), s("g", null, [
1458
+ i.show ? (a(!0), s(u, { key: 0 }, m(i.span, (h, n) => (a(), s("g", null, [
1459
+ g("rect", {
1460
+ style: O({
1450
1461
  transition: "none",
1451
- opacity: r.from + n >= t.slicer.start && r.from + n <= t.slicer.end - 1 ? 1 : 0
1462
+ opacity: i.from + n >= t.slicer.start && i.from + n <= t.slicer.end - 1 ? 1 : 0
1452
1463
  }),
1453
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (r.from + n - t.slicer.start),
1464
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (i.from + n - t.slicer.start),
1454
1465
  y: e.drawingArea.top,
1455
1466
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1456
1467
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
1457
- fill: e.setOpacity(r.color, r.opacity)
1468
+ fill: e.setOpacity(i.color, i.opacity)
1458
1469
  }, null, 12, wt),
1459
- r.caption.text && n === 0 ? (a(), s("foreignObject", {
1470
+ i.caption.text && n === 0 ? (a(), s("foreignObject", {
1460
1471
  key: 0,
1461
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (r.from + n - t.slicer.start) - (r.caption.width === "auto" ? 0 : r.caption.width / 2 - e.drawingArea.width / e.maxSeries * r.span / 2),
1462
- y: e.drawingArea.top + r.caption.offsetY,
1463
- style: L({
1472
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (i.from + n - t.slicer.start) - (i.caption.width === "auto" ? 0 : i.caption.width / 2 - e.drawingArea.width / e.maxSeries * i.span / 2),
1473
+ y: e.drawingArea.top + i.caption.offsetY,
1474
+ style: O({
1464
1475
  overflow: "visible",
1465
- opacity: r.to >= t.slicer.start && r.from < t.slicer.end ? 1 : 0
1476
+ opacity: i.to >= t.slicer.start && i.from < t.slicer.end ? 1 : 0
1466
1477
  }),
1467
1478
  height: "1",
1468
- width: r.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * r.span : r.caption.width
1479
+ width: i.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * i.span : i.caption.width
1469
1480
  }, [
1470
- u("div", {
1471
- style: L(`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"}`)
1472
- }, w(r.caption.text), 5)
1481
+ g("div", {
1482
+ style: O(`padding:${i.caption.padding}px;text-align:${i.caption.textAlign};font-size:${i.caption.fontSize}px;color:${i.caption.color};font-weight:${i.caption.bold ? "bold" : "normal"}`)
1483
+ }, k(i.caption.text), 5)
1473
1484
  ], 12, Ot)) : c("", !0)
1474
1485
  ]))), 256)) : c("", !0)
1475
1486
  ]))), 256)),
1476
- u("g", null, [
1477
- (a(!0), s(f, null, m(e.maxSeries, (r, h) => (a(), s("g", {
1487
+ g("g", null, [
1488
+ (a(!0), s(u, null, m(e.maxSeries, (i, h) => (a(), s("g", {
1478
1489
  key: `tooltip_trap_highlighter_${h}`
1479
1490
  }, [
1480
- u("rect", {
1491
+ g("rect", {
1481
1492
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * h,
1482
1493
  y: e.drawingArea.top,
1483
1494
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
@@ -1486,13 +1497,13 @@ function ir(i, l, o, d, t, e) {
1486
1497
  }, null, 8, Gt)
1487
1498
  ]))), 128))
1488
1499
  ]),
1489
- e.barSet.length ? (a(!0), s(f, { key: 0 }, m(e.barSet, (r, h) => (a(), s("g", {
1500
+ e.barSet.length ? (a(!0), s(u, { key: 0 }, m(e.barSet, (i, h) => (a(), s("g", {
1490
1501
  key: `serie_bar_${h}`,
1491
- class: D(`serie_bar_${h}`),
1492
- style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1502
+ class: B(`serie_bar_${h}`),
1503
+ style: O(`opacity:${t.selectedScale ? t.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1493
1504
  }, [
1494
- (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
1495
- key: `bar_plot_${h}_${g}`
1505
+ (a(!0), s(u, null, m(i.plots, (n, f) => (a(), s("g", {
1506
+ key: `bar_plot_${h}_${f}`
1496
1507
  }, [
1497
1508
  e.canShowValue(n.value) ? (a(), s("rect", {
1498
1509
  key: 0,
@@ -1501,19 +1512,19 @@ function ir(i, l, o, d, t, e) {
1501
1512
  height: t.mutableConfig.useIndividualScale ? Math.abs(e.calcIndividualHeight(n)) : Math.abs(e.calcRectHeight(n)),
1502
1513
  width: e.calcRectWidth() - (t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? 0 : e.barPeriodGap) < 0 ? 1e-5 : e.calcRectWidth() - (t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? 0 : e.barPeriodGap),
1503
1514
  rx: e.FINAL_CONFIG.bar.borderRadius,
1504
- fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${h}_${t.uniqueId})` : `url(#rectGradient_neg_${h}_${t.uniqueId})` : r.color,
1505
- stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? r.color : e.FINAL_CONFIG.bar.border.stroke,
1515
+ fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${h}_${t.uniqueId})` : `url(#rectGradient_neg_${h}_${t.uniqueId})` : i.color,
1516
+ stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? i.color : e.FINAL_CONFIG.bar.border.stroke,
1506
1517
  "stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
1507
1518
  }, null, 8, vt)) : c("", !0),
1508
- e.canShowValue(n.value) && i.$slots.pattern ? (a(), s("rect", {
1519
+ e.canShowValue(n.value) && r.$slots.pattern ? (a(), s("rect", {
1509
1520
  key: 1,
1510
1521
  x: e.calcRectX(n),
1511
1522
  y: t.mutableConfig.useIndividualScale ? e.calcIndividualRectY(n) : e.calcRectY(n),
1512
1523
  height: t.mutableConfig.useIndividualScale ? Math.abs(e.calcIndividualHeight(n)) : Math.abs(e.calcRectHeight(n)),
1513
1524
  width: e.calcRectWidth() - (t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? 0 : e.barPeriodGap) < 0 ? 1e-5 : e.calcRectWidth() - (t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? 0 : e.barPeriodGap),
1514
1525
  rx: e.FINAL_CONFIG.bar.borderRadius,
1515
- fill: `url(#pattern_${t.uniqueId}_${r.slotAbsoluteIndex})`,
1516
- stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? r.color : e.FINAL_CONFIG.bar.border.stroke,
1526
+ fill: `url(#pattern_${t.uniqueId}_${i.slotAbsoluteIndex})`,
1527
+ stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? i.color : e.FINAL_CONFIG.bar.border.stroke,
1517
1528
  "stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
1518
1529
  }, null, 8, zt)) : c("", !0),
1519
1530
  n.comment && e.FINAL_CONFIG.chart.comments.show ? (a(), s("foreignObject", {
@@ -1524,14 +1535,14 @@ function ir(i, l, o, d, t, e) {
1524
1535
  x: e.calcRectX(n) - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1525
1536
  y: e.checkNaN(n.y) + e.FINAL_CONFIG.chart.comments.offsetY + 6
1526
1537
  }, [
1527
- k(i.$slots, "plot-comment", {
1528
- plot: { ...n, color: r.color, seriesIndex: h, datapointIndex: g }
1538
+ S(r.$slots, "plot-comment", {
1539
+ plot: { ...n, color: i.color, seriesIndex: h, datapointIndex: f }
1529
1540
  }, void 0, !0)
1530
1541
  ], 8, Mt)) : c("", !0)
1531
1542
  ]))), 128)),
1532
- Object.hasOwn(r, "useProgression") && r.useProgression === !0 && !isNaN(e.calcLinearProgression(r.plots).trend) ? (a(), s("g", pt, [
1533
- u("defs", null, [
1534
- u("marker", {
1543
+ Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (a(), s("g", pt, [
1544
+ g("defs", null, [
1545
+ g("marker", {
1535
1546
  id: `bar_arrow_${h}`,
1536
1547
  markerWidth: 7,
1537
1548
  markerHeight: 7,
@@ -1539,32 +1550,32 @@ function ir(i, l, o, d, t, e) {
1539
1550
  refY: 7 / 2,
1540
1551
  orient: "auto"
1541
1552
  }, [
1542
- u("polygon", {
1553
+ g("polygon", {
1543
1554
  points: `0 0, 7 ${7 / 2}, 0 7`,
1544
- fill: r.color
1555
+ fill: i.color
1545
1556
  }, null, 8, Pt)
1546
1557
  ], 8, Tt)
1547
1558
  ]),
1548
- r.plots.length > 1 ? (a(), s("line", {
1559
+ i.plots.length > 1 ? (a(), s("line", {
1549
1560
  key: 0,
1550
- x1: e.calcLinearProgression(r.plots).x1,
1551
- x2: e.calcLinearProgression(r.plots).x2,
1552
- y1: e.forceValidValue(e.calcLinearProgression(r.plots).y1),
1553
- y2: e.forceValidValue(e.calcLinearProgression(r.plots).y2),
1561
+ x1: e.calcLinearProgression(i.plots).x1,
1562
+ x2: e.calcLinearProgression(i.plots).x2,
1563
+ y1: e.forceValidValue(e.calcLinearProgression(i.plots).y1),
1564
+ y2: e.forceValidValue(e.calcLinearProgression(i.plots).y2),
1554
1565
  "stroke-width": 1,
1555
- stroke: r.color,
1566
+ stroke: i.color,
1556
1567
  "stroke-dasharray": 2,
1557
1568
  "marker-end": `url(#bar_arrow_${h})`
1558
1569
  }, null, 8, Vt)) : c("", !0),
1559
- r.plots.length > 1 ? (a(), s("text", {
1570
+ i.plots.length > 1 ? (a(), s("text", {
1560
1571
  key: 1,
1561
1572
  "text-anchor": "middle",
1562
- x: e.calcLinearProgression(r.plots).x2,
1563
- y: e.calcLinearProgression(r.plots).y2 - 6,
1573
+ x: e.calcLinearProgression(i.plots).x2,
1574
+ y: e.calcLinearProgression(i.plots).y2 - 6,
1564
1575
  "font-size": t.fontSizes.plotLabels,
1565
- fill: r.color
1566
- }, w(e.dataLabel({
1567
- v: e.calcLinearProgression(r.plots).trend * 100,
1576
+ fill: i.color
1577
+ }, k(e.dataLabel({
1578
+ v: e.calcLinearProgression(i.plots).trend * 100,
1568
1579
  s: "%",
1569
1580
  r: 2
1570
1581
  })), 9, Rt)) : c("", !0)
@@ -1581,7 +1592,7 @@ function ir(i, l, o, d, t, e) {
1581
1592
  "stroke-linecap": "round"
1582
1593
  }, null, 8, Dt)) : c("", !0),
1583
1594
  e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(t.selectedSerieIndex) || ![null, void 0].includes(t.selectedMinimapIndex)) ? (a(), s("g", Ht, [
1584
- u("line", {
1595
+ g("line", {
1585
1596
  x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((t.selectedSerieIndex !== null ? t.selectedSerieIndex : 0) || (t.selectedMinimapIndex !== null ? t.selectedMinimapIndex : 0)) + e.drawingArea.width / e.maxSeries / 2,
1586
1597
  x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((t.selectedSerieIndex !== null ? t.selectedSerieIndex : 0) || (t.selectedMinimapIndex !== null ? t.selectedMinimapIndex : 0)) + e.drawingArea.width / e.maxSeries / 2,
1587
1598
  y1: e.forceValidValue(e.drawingArea.top),
@@ -1608,44 +1619,44 @@ function ir(i, l, o, d, t, e) {
1608
1619
  "stroke-dasharray": e.FINAL_CONFIG.chart.grid.frame.strokeDasharray
1609
1620
  }, null, 8, Wt)) : c("", !0),
1610
1621
  e.FINAL_CONFIG.chart.grid.labels.show ? (a(), s("g", Et, [
1611
- t.mutableConfig.useIndividualScale ? (a(), s(f, { key: 0 }, [
1612
- (a(!0), s(f, null, m(e.allScales, (r) => (a(), s("g", null, [
1613
- u("line", {
1614
- x1: r.x + e.xPadding,
1615
- x2: r.x + e.xPadding,
1616
- y1: t.mutableConfig.isStacked ? e.forceValidValue(e.drawingArea.bottom - r.yOffset - r.individualHeight) : e.forceValidValue(e.drawingArea.top),
1617
- y2: t.mutableConfig.isStacked ? e.forceValidValue(e.drawingArea.bottom - r.yOffset) : e.forceValidValue(e.drawingArea.bottom),
1618
- stroke: r.color,
1622
+ t.mutableConfig.useIndividualScale ? (a(), s(u, { key: 0 }, [
1623
+ (a(!0), s(u, null, m(e.allScales, (i) => (a(), s("g", null, [
1624
+ g("line", {
1625
+ x1: i.x + e.xPadding,
1626
+ x2: i.x + e.xPadding,
1627
+ y1: t.mutableConfig.isStacked ? e.forceValidValue(e.drawingArea.bottom - i.yOffset - i.individualHeight) : e.forceValidValue(e.drawingArea.top),
1628
+ y2: t.mutableConfig.isStacked ? e.forceValidValue(e.drawingArea.bottom - i.yOffset) : e.forceValidValue(e.drawingArea.bottom),
1629
+ stroke: i.color,
1619
1630
  "stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
1620
1631
  "stroke-linecap": "round",
1621
- style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1632
+ style: O(`opacity:${t.selectedScale ? t.selectedScale === i.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1622
1633
  }, null, 12, Yt)
1623
1634
  ]))), 256)),
1624
- (a(!0), s(f, null, m(e.allScales, (r) => (a(), s("g", {
1625
- style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1635
+ (a(!0), s(u, null, m(e.allScales, (i) => (a(), s("g", {
1636
+ style: O(`opacity:${t.selectedScale ? t.selectedScale === i.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1626
1637
  }, [
1627
- u("text", {
1628
- fill: r.color,
1638
+ g("text", {
1639
+ fill: i.color,
1629
1640
  "font-size": t.fontSizes.dataLabels,
1630
1641
  "text-anchor": "middle",
1631
- transform: `translate(${r.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5 + e.xPadding}, ${t.mutableConfig.isStacked ? e.drawingArea.bottom - r.yOffset - r.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
1632
- }, w(r.name) + " " + w(r.scaleLabel ? `- ${r.scaleLabel}` : ""), 9, qt),
1633
- (a(!0), s(f, null, m(r.yLabels, (h, n) => (a(), s("line", {
1634
- x1: r.x - 3 + e.xPadding,
1635
- x2: r.x + e.xPadding,
1642
+ transform: `translate(${i.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5 + e.xPadding}, ${t.mutableConfig.isStacked ? e.drawingArea.bottom - i.yOffset - i.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
1643
+ }, k(i.name) + " " + k(i.scaleLabel ? `- ${i.scaleLabel}` : ""), 9, qt),
1644
+ (a(!0), s(u, null, m(i.yLabels, (h, n) => (a(), s("line", {
1645
+ x1: i.x - 3 + e.xPadding,
1646
+ x2: i.x + e.xPadding,
1636
1647
  y1: e.forceValidValue(h.y),
1637
1648
  y2: e.forceValidValue(h.y),
1638
- stroke: r.color,
1649
+ stroke: i.color,
1639
1650
  "stroke-width": 1,
1640
1651
  "stroke-linecap": "round"
1641
1652
  }, null, 8, Xt))), 256)),
1642
- (a(!0), s(f, null, m(r.yLabels, (h, n) => (a(), s("text", {
1643
- x: r.x - 5 + e.xPadding,
1653
+ (a(!0), s(u, null, m(i.yLabels, (h, n) => (a(), s("text", {
1654
+ x: i.x - 5 + e.xPadding,
1644
1655
  y: e.forceValidValue(h.y) + t.fontSizes.dataLabels / 3,
1645
1656
  "font-size": t.fontSizes.dataLabels,
1646
1657
  "text-anchor": "end",
1647
- fill: r.color
1648
- }, w(e.applyDataLabel(
1658
+ fill: i.color
1659
+ }, k(e.applyDataLabel(
1649
1660
  e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1650
1661
  h.value,
1651
1662
  e.dataLabel({
@@ -1657,53 +1668,53 @@ function ir(i, l, o, d, t, e) {
1657
1668
  { datapoint: h.datapoint, seriesIndex: n }
1658
1669
  )), 9, Ut))), 256))
1659
1670
  ], 4))), 256))
1660
- ], 64)) : (a(!0), s(f, { key: 1 }, m(e.yLabels, (r, h) => (a(), s("g", {
1671
+ ], 64)) : (a(!0), s(u, { key: 1 }, m(e.yLabels, (i, h) => (a(), s("g", {
1661
1672
  key: `yLabel_${h}`
1662
1673
  }, [
1663
- e.canShowValue(r) && r.value >= e.niceScale.min && r.value <= e.niceScale.max ? (a(), s("line", {
1674
+ e.canShowValue(i) && i.value >= e.niceScale.min && i.value <= e.niceScale.max ? (a(), s("line", {
1664
1675
  key: 0,
1665
1676
  x1: e.drawingArea.left + e.xPadding,
1666
1677
  x2: e.drawingArea.left - 5 + e.xPadding,
1667
- y1: e.forceValidValue(r.y),
1668
- y2: e.forceValidValue(r.y),
1678
+ y1: e.forceValidValue(i.y),
1679
+ y2: e.forceValidValue(i.y),
1669
1680
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1670
1681
  "stroke-width": "1",
1671
1682
  "stroke-linecap": "round"
1672
1683
  }, null, 8, Zt)) : c("", !0),
1673
- r.value >= e.niceScale.min && r.value <= e.niceScale.max ? (a(), s("text", {
1684
+ i.value >= e.niceScale.min && i.value <= e.niceScale.max ? (a(), s("text", {
1674
1685
  key: 1,
1675
1686
  x: e.drawingArea.left - 7 + e.xPadding,
1676
- y: e.checkNaN(r.y + t.fontSizes.dataLabels / 3),
1687
+ y: e.checkNaN(i.y + t.fontSizes.dataLabels / 3),
1677
1688
  "font-size": t.fontSizes.dataLabels,
1678
1689
  "text-anchor": "end",
1679
1690
  fill: e.FINAL_CONFIG.chart.grid.labels.color
1680
- }, w(e.canShowValue(r.value) ? e.applyDataLabel(
1691
+ }, k(e.canShowValue(i.value) ? e.applyDataLabel(
1681
1692
  e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1682
- r.value,
1693
+ i.value,
1683
1694
  e.dataLabel({
1684
- p: r.prefix,
1685
- v: r.value,
1686
- s: r.suffix,
1695
+ p: i.prefix,
1696
+ v: i.value,
1697
+ s: i.suffix,
1687
1698
  r: 1
1688
1699
  })
1689
1700
  ) : ""), 9, Jt)) : c("", !0)
1690
1701
  ]))), 128))
1691
1702
  ])) : c("", !0),
1692
- (a(!0), s(f, null, m(e.plotSet, (r, h) => (a(), s("g", {
1703
+ (a(!0), s(u, null, m(e.plotSet, (i, h) => (a(), s("g", {
1693
1704
  key: `serie_plot_${h}`,
1694
- class: D(`serie_plot_${h}`),
1695
- style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1705
+ class: B(`serie_plot_${h}`),
1706
+ style: O(`opacity:${t.selectedScale ? t.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1696
1707
  }, [
1697
- (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
1698
- key: `circle_plot_${h}_${g}`
1708
+ (a(!0), s(u, null, m(i.plots, (n, f) => (a(), s("g", {
1709
+ key: `circle_plot_${h}_${f}`
1699
1710
  }, [
1700
- n && e.canShowValue(n.value) ? (a(), B(b, {
1711
+ n && e.canShowValue(n.value) ? (a(), H(b, {
1701
1712
  key: 0,
1702
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(r.shape) ? r.shape : "circle",
1703
- color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${h}_${t.uniqueId})` : e.FINAL_CONFIG.plot.dot.useSerieColor ? r.color : e.FINAL_CONFIG.plot.dot.fill,
1713
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle",
1714
+ color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${h}_${t.uniqueId})` : e.FINAL_CONFIG.plot.dot.useSerieColor ? i.color : e.FINAL_CONFIG.plot.dot.fill,
1704
1715
  plot: { x: e.checkNaN(n.x), y: e.checkNaN(n.y) },
1705
- radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g ? (t.plotRadii.plot || 6) * 1.5 : t.plotRadii.plot || 6,
1706
- stroke: e.FINAL_CONFIG.plot.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : r.color,
1716
+ radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === f || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === f ? (t.plotRadii.plot || 6) * 1.5 : t.plotRadii.plot || 6,
1717
+ stroke: e.FINAL_CONFIG.plot.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : i.color,
1707
1718
  strokeWidth: e.FINAL_CONFIG.plot.dot.strokeWidth
1708
1719
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : c("", !0),
1709
1720
  n.comment && e.FINAL_CONFIG.chart.comments.show ? (a(), s("foreignObject", {
@@ -1714,16 +1725,16 @@ function ir(i, l, o, d, t, e) {
1714
1725
  x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1715
1726
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1716
1727
  }, [
1717
- u("div", Kt, [
1718
- k(i.$slots, "plot-comment", {
1719
- plot: { ...n, color: r.color, seriesIndex: h, datapointIndex: g }
1728
+ g("div", Kt, [
1729
+ S(r.$slots, "plot-comment", {
1730
+ plot: { ...n, color: i.color, seriesIndex: h, datapointIndex: f }
1720
1731
  }, void 0, !0)
1721
1732
  ])
1722
1733
  ], 8, Qt)) : c("", !0)
1723
1734
  ]))), 128)),
1724
- Object.hasOwn(r, "useProgression") && r.useProgression === !0 && !isNaN(e.calcLinearProgression(r.plots).trend) ? (a(), s("g", jt, [
1725
- u("defs", null, [
1726
- u("marker", {
1735
+ Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (a(), s("g", jt, [
1736
+ g("defs", null, [
1737
+ g("marker", {
1727
1738
  id: `plot_arrow_${h}`,
1728
1739
  markerWidth: 7,
1729
1740
  markerHeight: 7,
@@ -1731,121 +1742,121 @@ function ir(i, l, o, d, t, e) {
1731
1742
  refY: 7 / 2,
1732
1743
  orient: "auto"
1733
1744
  }, [
1734
- u("polygon", {
1745
+ g("polygon", {
1735
1746
  points: `0 0, 7 ${7 / 2}, 0 7`,
1736
- fill: r.color
1737
- }, null, 8, ei)
1747
+ fill: i.color
1748
+ }, null, 8, er)
1738
1749
  ], 8, $t)
1739
1750
  ]),
1740
- r.plots.length > 1 ? (a(), s("line", {
1751
+ i.plots.length > 1 ? (a(), s("line", {
1741
1752
  key: 0,
1742
- x1: e.calcLinearProgression(r.plots).x1,
1743
- x2: e.calcLinearProgression(r.plots).x2,
1744
- y1: e.forceValidValue(e.calcLinearProgression(r.plots).y1),
1745
- y2: e.forceValidValue(e.calcLinearProgression(r.plots).y2),
1753
+ x1: e.calcLinearProgression(i.plots).x1,
1754
+ x2: e.calcLinearProgression(i.plots).x2,
1755
+ y1: e.forceValidValue(e.calcLinearProgression(i.plots).y1),
1756
+ y2: e.forceValidValue(e.calcLinearProgression(i.plots).y2),
1746
1757
  "stroke-width": 1,
1747
- stroke: r.color,
1758
+ stroke: i.color,
1748
1759
  "stroke-dasharray": 2,
1749
1760
  "marker-end": `url(#plot_arrow_${h})`
1750
- }, null, 8, ti)) : c("", !0),
1751
- r.plots.length > 1 ? (a(), s("text", {
1761
+ }, null, 8, tr)) : c("", !0),
1762
+ i.plots.length > 1 ? (a(), s("text", {
1752
1763
  key: 1,
1753
1764
  "text-anchor": "middle",
1754
- x: e.calcLinearProgression(r.plots).x2,
1755
- y: e.calcLinearProgression(r.plots).y2 - 6,
1765
+ x: e.calcLinearProgression(i.plots).x2,
1766
+ y: e.calcLinearProgression(i.plots).y2 - 6,
1756
1767
  "font-size": t.fontSizes.plotLabels,
1757
- fill: r.color
1758
- }, w(e.dataLabel({
1759
- v: e.calcLinearProgression(r.plots).trend * 100,
1768
+ fill: i.color
1769
+ }, k(e.dataLabel({
1770
+ v: e.calcLinearProgression(i.plots).trend * 100,
1760
1771
  s: "%",
1761
1772
  r: 2
1762
- })), 9, ii)) : c("", !0)
1773
+ })), 9, rr)) : c("", !0)
1763
1774
  ])) : c("", !0)
1764
1775
  ], 6))), 128)),
1765
- (a(!0), s(f, null, m(e.lineSet, (r, h) => (a(), s("g", {
1776
+ (a(!0), s(u, null, m(e.lineSet, (i, h) => (a(), s("g", {
1766
1777
  key: `serie_line_${h}`,
1767
- class: D(`serie_line_${h}`),
1768
- style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1778
+ class: B(`serie_line_${h}`),
1779
+ style: O(`opacity:${t.selectedScale ? t.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1769
1780
  }, [
1770
- r.smooth && r.plots.length > 1 ? (a(), s("path", {
1781
+ i.smooth && i.plots.length > 1 ? (a(), s("path", {
1771
1782
  key: 0,
1772
- d: `M${r.curve}`,
1783
+ d: `M${i.curve}`,
1773
1784
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1774
1785
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1775
- "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1786
+ "stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1776
1787
  fill: "none"
1777
- }, null, 8, ri)) : r.plots.length > 1 ? (a(), s("path", {
1788
+ }, null, 8, ir)) : i.plots.length > 1 ? (a(), s("path", {
1778
1789
  key: 1,
1779
- d: `M${r.straight}`,
1790
+ d: `M${i.straight}`,
1780
1791
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1781
1792
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1782
- "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1793
+ "stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1783
1794
  fill: "none",
1784
1795
  "stroke-linecap": "round",
1785
1796
  "stroke-linejoin": "round"
1786
- }, null, 8, ai)) : c("", !0)
1797
+ }, null, 8, ar)) : c("", !0)
1787
1798
  ], 6))), 128)),
1788
- i.$slots.pattern ? (a(), s("defs", li, [
1789
- (a(!0), s(f, null, m(e.safeDataset, (r, h) => k(i.$slots, "pattern", Ye({
1799
+ r.$slots.pattern ? (a(), s("defs", lr, [
1800
+ (a(!0), s(u, null, m(e.safeDataset, (i, h) => S(r.$slots, "pattern", J({
1790
1801
  key: `serie_pattern_slot_${h}`
1791
- }, { ...r, seriesIndex: r.slotAbsoluteIndex, patternId: `pattern_${t.uniqueId}_${h}` }), void 0, !0)), 128))
1802
+ }, { ...i, seriesIndex: i.slotAbsoluteIndex, patternId: `pattern_${t.uniqueId}_${h}` }), void 0, !0)), 128))
1792
1803
  ])) : c("", !0),
1793
- (a(!0), s(f, null, m(e.lineSet, (r, h) => (a(), s("g", {
1804
+ (a(!0), s(u, null, m(e.lineSet, (i, h) => (a(), s("g", {
1794
1805
  key: `serie_line_${h}`,
1795
- class: D(`serie_line_${h}`),
1796
- style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1806
+ class: B(`serie_line_${h}`),
1807
+ style: O(`opacity:${t.selectedScale ? t.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1797
1808
  }, [
1798
- r.useArea && r.plots.length > 1 ? (a(), s("g", si, [
1799
- r.smooth ? (a(), s(f, { key: 0 }, [
1800
- u("path", {
1801
- d: `M ${r.plots[0] ? r.plots[0].x : Math.min(...r.plots.filter((n) => !!n).map((n) => n.x))},${t.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 * h + e.slot.line / 2},${t.mutableConfig.isStacked ? e.drawingArea.bottom - r.yOffset : e.drawingArea.bottom} Z`,
1802
- fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${h}_${t.uniqueId})` : e.setOpacity(r.color, e.FINAL_CONFIG.line.area.opacity)
1803
- }, null, 8, ni),
1804
- i.$slots.pattern ? (a(), s("path", {
1809
+ i.useArea && i.plots.length > 1 ? (a(), s("g", sr, [
1810
+ i.smooth ? (a(), s(u, { key: 0 }, [
1811
+ g("path", {
1812
+ d: `M ${i.plots[0] ? i.plots[0].x : Math.min(...i.plots.filter((n) => !!n).map((n) => n.x))},${t.mutableConfig.isStacked ? e.drawingArea.bottom - i.yOffset : e.drawingArea.bottom} ${i.curve} L ${i.plots.at(-1) ? i.plots.at(-1).x : e.drawingArea.left + e.slot.line * h + e.slot.line / 2},${t.mutableConfig.isStacked ? e.drawingArea.bottom - i.yOffset : e.drawingArea.bottom} Z`,
1813
+ fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${h}_${t.uniqueId})` : e.setOpacity(i.color, e.FINAL_CONFIG.line.area.opacity)
1814
+ }, null, 8, nr),
1815
+ r.$slots.pattern ? (a(), s("path", {
1805
1816
  key: 0,
1806
- d: `M ${r.plots[0] ? r.plots[0].x : Math.min(...r.plots.filter((n) => !!n).map((n) => n.x))},${t.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 * h + e.slot.line / 2},${t.mutableConfig.isStacked ? e.drawingArea.bottom - r.yOffset : e.drawingArea.bottom} Z`,
1807
- fill: `url(#pattern_${t.uniqueId}_${r.slotAbsoluteIndex})`
1808
- }, null, 8, hi)) : c("", !0)
1809
- ], 64)) : (a(), s(f, { key: 1 }, [
1810
- u("path", {
1811
- d: `M${r.area}Z`,
1812
- fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${h}_${t.uniqueId})` : e.setOpacity(r.color, e.FINAL_CONFIG.line.area.opacity)
1813
- }, null, 8, oi),
1814
- i.$slots.pattern ? (a(), s("path", {
1817
+ d: `M ${i.plots[0] ? i.plots[0].x : Math.min(...i.plots.filter((n) => !!n).map((n) => n.x))},${t.mutableConfig.isStacked ? e.drawingArea.bottom - i.yOffset : e.drawingArea.bottom} ${i.curve} L ${i.plots.at(-1) ? i.plots.at(-1).x : e.drawingArea.left + e.slot.line * h + e.slot.line / 2},${t.mutableConfig.isStacked ? e.drawingArea.bottom - i.yOffset : e.drawingArea.bottom} Z`,
1818
+ fill: `url(#pattern_${t.uniqueId}_${i.slotAbsoluteIndex})`
1819
+ }, null, 8, hr)) : c("", !0)
1820
+ ], 64)) : (a(), s(u, { key: 1 }, [
1821
+ g("path", {
1822
+ d: `M${i.area}Z`,
1823
+ fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${h}_${t.uniqueId})` : e.setOpacity(i.color, e.FINAL_CONFIG.line.area.opacity)
1824
+ }, null, 8, or),
1825
+ r.$slots.pattern ? (a(), s("path", {
1815
1826
  key: 0,
1816
- d: `M${r.area}Z`,
1817
- fill: `url(#pattern_${t.uniqueId}_${r.slotAbsoluteIndex})`
1818
- }, null, 8, ci)) : c("", !0)
1827
+ d: `M${i.area}Z`,
1828
+ fill: `url(#pattern_${t.uniqueId}_${i.slotAbsoluteIndex})`
1829
+ }, null, 8, cr)) : c("", !0)
1819
1830
  ], 64))
1820
1831
  ])) : c("", !0),
1821
- r.smooth && r.plots.length > 1 ? (a(), s("path", {
1832
+ i.smooth && i.plots.length > 1 ? (a(), s("path", {
1822
1833
  key: 1,
1823
- d: `M${r.curve}`,
1824
- stroke: r.color,
1834
+ d: `M${i.curve}`,
1835
+ stroke: i.color,
1825
1836
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1826
- "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1837
+ "stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1827
1838
  fill: "none",
1828
1839
  "stroke-linecap": "round"
1829
- }, null, 8, di)) : r.plots.length > 1 ? (a(), s("path", {
1840
+ }, null, 8, dr)) : i.plots.length > 1 ? (a(), s("path", {
1830
1841
  key: 2,
1831
- d: `M${r.straight}`,
1832
- stroke: r.color,
1842
+ d: `M${i.straight}`,
1843
+ stroke: i.color,
1833
1844
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1834
- "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1845
+ "stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1835
1846
  fill: "none",
1836
1847
  "stroke-linecap": "round",
1837
1848
  "stroke-linejoin": "round"
1838
- }, null, 8, ui)) : c("", !0),
1839
- (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
1840
- key: `circle_line_${h}_${g}`
1849
+ }, null, 8, ur)) : c("", !0),
1850
+ (a(!0), s(u, null, m(i.plots, (n, f) => (a(), s(u, {
1851
+ key: `circle_line_${h}_${f}`
1841
1852
  }, [
1842
- !e.optimize.linePlot && n && e.canShowValue(n.value) || e.optimize.linePlot && n && e.canShowValue(n.value) && (t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g) ? (a(), B(b, {
1853
+ !e.optimize.linePlot && n && e.canShowValue(n.value) || e.optimize.linePlot && n && e.canShowValue(n.value) && (t.selectedSerieIndex !== null && t.selectedSerieIndex === f || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === f) ? (a(), H(b, {
1843
1854
  key: 0,
1844
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(r.shape) ? r.shape : "circle",
1845
- color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${h}_${t.uniqueId})` : e.FINAL_CONFIG.line.dot.useSerieColor ? r.color : e.FINAL_CONFIG.line.dot.fill,
1855
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle",
1856
+ color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${h}_${t.uniqueId})` : e.FINAL_CONFIG.line.dot.useSerieColor ? i.color : e.FINAL_CONFIG.line.dot.fill,
1846
1857
  plot: { x: e.checkNaN(n.x), y: e.checkNaN(n.y) },
1847
- radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g ? (t.plotRadii.line || 6) * 1.5 : t.plotRadii.line || 6,
1848
- stroke: e.FINAL_CONFIG.line.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : r.color,
1858
+ radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === f || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === f ? (t.plotRadii.line || 6) * 1.5 : t.plotRadii.line || 6,
1859
+ stroke: e.FINAL_CONFIG.line.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : i.color,
1849
1860
  strokeWidth: e.FINAL_CONFIG.line.dot.strokeWidth
1850
1861
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : c("", !0),
1851
1862
  n.comment && e.FINAL_CONFIG.chart.comments.show ? (a(), s("foreignObject", {
@@ -1856,16 +1867,16 @@ function ir(i, l, o, d, t, e) {
1856
1867
  x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1857
1868
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1858
1869
  }, [
1859
- u("div", fi, [
1860
- k(i.$slots, "plot-comment", {
1861
- plot: { ...n, color: r.color, seriesIndex: h, datapointIndex: g }
1870
+ g("div", fr, [
1871
+ S(r.$slots, "plot-comment", {
1872
+ plot: { ...n, color: i.color, seriesIndex: h, datapointIndex: f }
1862
1873
  }, void 0, !0)
1863
1874
  ])
1864
- ], 8, gi)) : c("", !0)
1865
- ]))), 128)),
1866
- Object.hasOwn(r, "useProgression") && r.useProgression === !0 && !isNaN(e.calcLinearProgression(r.plots).trend) ? (a(), s("g", Ii, [
1867
- u("defs", null, [
1868
- u("marker", {
1875
+ ], 8, gr)) : c("", !0)
1876
+ ], 64))), 128)),
1877
+ Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (a(), s("g", Ir, [
1878
+ g("defs", null, [
1879
+ g("marker", {
1869
1880
  id: `line_arrow_${h}`,
1870
1881
  markerWidth: 7,
1871
1882
  markerHeight: 7,
@@ -1873,110 +1884,106 @@ function ir(i, l, o, d, t, e) {
1873
1884
  refY: 7 / 2,
1874
1885
  orient: "auto"
1875
1886
  }, [
1876
- u("polygon", {
1887
+ g("polygon", {
1877
1888
  points: `0 0, 7 ${7 / 2}, 0 7`,
1878
- fill: r.color
1879
- }, null, 8, Ni)
1880
- ], 8, mi)
1889
+ fill: i.color
1890
+ }, null, 8, Nr)
1891
+ ], 8, mr)
1881
1892
  ]),
1882
- r.plots.length > 1 ? (a(), s("line", {
1893
+ i.plots.length > 1 ? (a(), s("line", {
1883
1894
  key: 0,
1884
- x1: e.calcLinearProgression(r.plots).x1,
1885
- x2: e.calcLinearProgression(r.plots).x2,
1886
- y1: e.forceValidValue(e.calcLinearProgression(r.plots).y1),
1887
- y2: e.forceValidValue(e.calcLinearProgression(r.plots).y2),
1895
+ x1: e.calcLinearProgression(i.plots).x1,
1896
+ x2: e.calcLinearProgression(i.plots).x2,
1897
+ y1: e.forceValidValue(e.calcLinearProgression(i.plots).y1),
1898
+ y2: e.forceValidValue(e.calcLinearProgression(i.plots).y2),
1888
1899
  "stroke-width": 1,
1889
- stroke: r.color,
1900
+ stroke: i.color,
1890
1901
  "stroke-dasharray": 2,
1891
1902
  "marker-end": `url(#line_arrow_${h})`
1892
- }, null, 8, xi)) : c("", !0),
1893
- r.plots.length > 1 ? (a(), s("text", {
1903
+ }, null, 8, xr)) : c("", !0),
1904
+ i.plots.length > 1 ? (a(), s("text", {
1894
1905
  key: 1,
1895
1906
  "text-anchor": "middle",
1896
- x: e.calcLinearProgression(r.plots).x2,
1897
- y: e.calcLinearProgression(r.plots).y2 - 6,
1907
+ x: e.calcLinearProgression(i.plots).x2,
1908
+ y: e.calcLinearProgression(i.plots).y2 - 6,
1898
1909
  "font-size": t.fontSizes.plotLabels,
1899
- fill: r.color
1900
- }, w(e.dataLabel({
1901
- v: e.calcLinearProgression(r.plots).trend * 100,
1910
+ fill: i.color
1911
+ }, k(e.dataLabel({
1912
+ v: e.calcLinearProgression(i.plots).trend * 100,
1902
1913
  s: "%",
1903
1914
  r: 2
1904
- })), 9, bi)) : c("", !0)
1915
+ })), 9, br)) : c("", !0)
1905
1916
  ])) : c("", !0)
1906
1917
  ], 6))), 128)),
1907
- (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && t.mutableConfig.dataLabels.show ? (a(), s("g", Fi, [
1908
- (a(!0), s(f, null, m(e.barSet, (r, h) => (a(), s("g", {
1909
- key: `xLabel_bar_${h}`,
1910
- class: D(`xLabel_bar_${h}`),
1911
- style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1918
+ (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && t.mutableConfig.dataLabels.show ? (a(), s("g", Fr, [
1919
+ (a(!0), s(u, null, m(e.barSet, (i, h) => (a(), s(u, {
1920
+ key: `xLabel_bar_${h}`
1912
1921
  }, [
1913
- (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
1914
- key: `xLabel_bar_${h}_${g}`
1922
+ (a(!0), s(u, null, m(i.plots, (n, f) => (a(), s(u, {
1923
+ key: `xLabel_bar_${h}_${f}`
1915
1924
  }, [
1916
- n && (!Object.hasOwn(r, "dataLabels") || r.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g) && e.FINAL_CONFIG.bar.labels.show ? (a(), s("text", {
1925
+ n && (!Object.hasOwn(i, "dataLabels") || i.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === f || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === f) && e.FINAL_CONFIG.bar.labels.show ? (a(), s("text", {
1917
1926
  key: 0,
1918
1927
  x: t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? n.x + e.slot.line / 2 : e.calcRectX(n) + e.calcRectWidth() / 2 - e.barPeriodGap / 2,
1919
1928
  y: e.checkNaN(n.y) + (n.value >= 0 ? e.FINAL_CONFIG.bar.labels.offsetY : -e.FINAL_CONFIG.bar.labels.offsetY * 3),
1920
1929
  "text-anchor": "middle",
1921
1930
  "font-size": t.fontSizes.plotLabels,
1922
1931
  fill: e.FINAL_CONFIG.bar.labels.color
1923
- }, w(e.canShowValue(n.value) ? e.applyDataLabel(
1932
+ }, k(e.canShowValue(n.value) ? e.applyDataLabel(
1924
1933
  e.FINAL_CONFIG.bar.labels.formatter,
1925
1934
  n.value,
1926
1935
  e.dataLabel({
1927
- p: r.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1936
+ p: i.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1928
1937
  v: n.value,
1929
- s: r.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1938
+ s: i.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1930
1939
  r: e.FINAL_CONFIG.bar.labels.rounding
1931
1940
  }),
1932
1941
  {
1933
1942
  datapoint: n,
1934
- serie: r
1943
+ serie: i
1935
1944
  }
1936
- ) : ""), 9, _i)) : c("", !0),
1945
+ ) : ""), 9, _r)) : c("", !0),
1937
1946
  n && e.FINAL_CONFIG.bar.serieName.show ? (a(), s("text", {
1938
1947
  key: 1,
1939
1948
  x: t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? n.x + e.slot.line / 2 : n.x + e.calcRectWidth() * 1.1,
1940
1949
  y: n.y + (n.value > 0 ? e.FINAL_CONFIG.bar.serieName.offsetY : -e.FINAL_CONFIG.bar.serieName.offsetY * 3),
1941
1950
  "text-anchor": "middle",
1942
1951
  "font-size": t.fontSizes.plotLabels,
1943
- fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? r.color : e.FINAL_CONFIG.bar.serieName.color,
1952
+ fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? i.color : e.FINAL_CONFIG.bar.serieName.color,
1944
1953
  "font-weight": e.FINAL_CONFIG.bar.serieName.bold ? "bold" : "normal"
1945
- }, w(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: r.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : r.name), 9, Ai)) : c("", !0)
1946
- ]))), 128))
1947
- ], 6))), 128))
1954
+ }, k(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: i.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : i.name), 9, Ar)) : c("", !0)
1955
+ ], 64))), 128))
1956
+ ], 64))), 128))
1948
1957
  ])) : c("", !0),
1949
- e.FINAL_CONFIG.plot.labels.show && t.mutableConfig.dataLabels.show ? (a(), s("g", yi, [
1950
- (a(!0), s(f, null, m(e.plotSet, (r, h) => (a(), s("g", {
1951
- key: `xLabel_plot_${h}`,
1952
- class: D(`xLabel_plot_${h}`),
1953
- style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1958
+ e.FINAL_CONFIG.plot.labels.show && t.mutableConfig.dataLabels.show ? (a(), s("g", yr, [
1959
+ (a(!0), s(u, null, m(e.plotSet, (i, h) => (a(), s(u, {
1960
+ key: `xLabel_plot_${h}`
1954
1961
  }, [
1955
- (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
1956
- key: `xLabel_plot_${h}_${g}`
1962
+ (a(!0), s(u, null, m(i.plots, (n, f) => (a(), s(u, {
1963
+ key: `xLabel_plot_${h}_${f}`
1957
1964
  }, [
1958
- n && !Object.hasOwn(r, "dataLabels") || r.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g ? (a(), s("text", {
1965
+ n && !Object.hasOwn(i, "dataLabels") || i.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === f || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === f ? (a(), s("text", {
1959
1966
  key: 0,
1960
1967
  x: n.x,
1961
1968
  y: n.y + e.FINAL_CONFIG.plot.labels.offsetY,
1962
1969
  "text-anchor": "middle",
1963
1970
  "font-size": t.fontSizes.plotLabels,
1964
1971
  fill: e.FINAL_CONFIG.plot.labels.color
1965
- }, w(e.canShowValue(n.value) ? e.applyDataLabel(
1972
+ }, k(e.canShowValue(n.value) ? e.applyDataLabel(
1966
1973
  e.FINAL_CONFIG.plot.labels.formatter,
1967
1974
  n.value,
1968
1975
  e.dataLabel({
1969
- p: r.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1976
+ p: i.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1970
1977
  v: n.value,
1971
- s: r.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1978
+ s: i.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1972
1979
  r: e.FINAL_CONFIG.plot.labels.rounding
1973
1980
  }),
1974
1981
  {
1975
1982
  datapoint: n,
1976
- serie: r
1983
+ serie: i
1977
1984
  }
1978
- ) : ""), 9, Li)) : c("", !0),
1979
- n && g === 0 && r.useTag && r.useTag === "start" ? (a(), s("foreignObject", {
1985
+ ) : ""), 9, Cr)) : c("", !0),
1986
+ n && f === 0 && i.useTag && i.useTag === "start" ? (a(), s("foreignObject", {
1980
1987
  key: 1,
1981
1988
  x: n.x,
1982
1989
  y: n.y - 20,
@@ -1984,56 +1991,54 @@ function ir(i, l, o, d, t, e) {
1984
1991
  width: "150",
1985
1992
  style: { overflow: "visible" }
1986
1993
  }, [
1987
- u("div", {
1988
- style: L(`padding: 3px; background:${e.setOpacity(r.color, 80)};color:${e.adaptColorToBackground(r.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
1989
- }, w(r.name), 5)
1990
- ], 8, Ci)) : c("", !0),
1991
- n && g === r.plots.length - 1 && r.useTag && r.useTag === "end" ? (a(), s("foreignObject", {
1994
+ g("div", {
1995
+ style: O(`padding: 3px; background:${e.setOpacity(i.color, 80)};color:${e.adaptColorToBackground(i.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
1996
+ }, k(i.name), 5)
1997
+ ], 8, Lr)) : c("", !0),
1998
+ n && f === i.plots.length - 1 && i.useTag && i.useTag === "end" ? (a(), s("foreignObject", {
1992
1999
  key: 2,
1993
- x: n.x - r.name.length * (t.fontSizes.plotLabels / 2),
2000
+ x: n.x - i.name.length * (t.fontSizes.plotLabels / 2),
1994
2001
  y: n.y - 20,
1995
2002
  height: 24,
1996
2003
  width: "150",
1997
2004
  style: { overflow: "visible" }
1998
2005
  }, [
1999
- u("div", {
2000
- style: L(`padding: 3px; background:${e.setOpacity(r.color, 80)};color:${e.adaptColorToBackground(r.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
2001
- }, w(r.name), 5)
2002
- ], 8, Si)) : c("", !0)
2003
- ]))), 128))
2004
- ], 6))), 128))
2006
+ g("div", {
2007
+ style: O(`padding: 3px; background:${e.setOpacity(i.color, 80)};color:${e.adaptColorToBackground(i.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
2008
+ }, k(i.name), 5)
2009
+ ], 8, Sr)) : c("", !0)
2010
+ ], 64))), 128))
2011
+ ], 64))), 128))
2005
2012
  ])) : c("", !0),
2006
- e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (a(), s("g", ki, [
2007
- (a(!0), s(f, null, m(e.lineSet, (r, h) => (a(), s("g", {
2008
- key: `xLabel_line_${h}`,
2009
- class: D(`xLabel_line_${h}`),
2010
- style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2013
+ e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (a(), s("g", kr, [
2014
+ (a(!0), s(u, null, m(e.lineSet, (i, h) => (a(), s(u, {
2015
+ key: `xLabel_line_${h}`
2011
2016
  }, [
2012
- (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
2013
- key: `xLabel_line_${h}_${g}`
2017
+ (a(!0), s(u, null, m(i.plots, (n, f) => (a(), s(u, {
2018
+ key: `xLabel_line_${h}_${f}`
2014
2019
  }, [
2015
- n && !Object.hasOwn(r, "dataLabels") || r.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g ? (a(), s("text", {
2020
+ n && !Object.hasOwn(i, "dataLabels") || i.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === f || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === f ? (a(), s("text", {
2016
2021
  key: 0,
2017
2022
  x: n.x,
2018
2023
  y: n.y + (n.value >= 0 ? e.FINAL_CONFIG.line.labels.offsetY : -e.FINAL_CONFIG.line.labels.offsetY * 3),
2019
2024
  "text-anchor": "middle",
2020
2025
  "font-size": t.fontSizes.plotLabels,
2021
2026
  fill: e.FINAL_CONFIG.line.labels.color
2022
- }, w(e.canShowValue(n.value) ? e.applyDataLabel(
2027
+ }, k(e.canShowValue(n.value) ? e.applyDataLabel(
2023
2028
  e.FINAL_CONFIG.line.labels.formatter,
2024
2029
  n.value,
2025
2030
  e.dataLabel({
2026
- p: r.prefix || e.FINAL_CONFIG.chart.labels.prefix,
2031
+ p: i.prefix || e.FINAL_CONFIG.chart.labels.prefix,
2027
2032
  v: n.value,
2028
- s: r.suffix || e.FINAL_CONFIG.chart.labels.suffix,
2033
+ s: i.suffix || e.FINAL_CONFIG.chart.labels.suffix,
2029
2034
  r: e.FINAL_CONFIG.line.labels.rounding
2030
2035
  }),
2031
2036
  {
2032
2037
  datapoint: n,
2033
- serie: r
2038
+ serie: i
2034
2039
  }
2035
- ) : ""), 9, wi)) : c("", !0),
2036
- n && g === 0 && r.useTag && r.useTag === "start" ? (a(), s("foreignObject", {
2040
+ ) : ""), 9, wr)) : c("", !0),
2041
+ n && f === 0 && i.useTag && i.useTag === "start" ? (a(), s("foreignObject", {
2037
2042
  key: 1,
2038
2043
  x: n.x,
2039
2044
  y: n.y - 20,
@@ -2041,119 +2046,115 @@ function ir(i, l, o, d, t, e) {
2041
2046
  width: "150",
2042
2047
  style: { overflow: "visible" }
2043
2048
  }, [
2044
- u("div", {
2045
- style: L(`padding: 3px; background:${e.setOpacity(r.color, 80)};color:${e.adaptColorToBackground(r.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
2046
- }, w(r.name), 5)
2047
- ], 8, Oi)) : c("", !0),
2048
- n && g === r.plots.length - 1 && r.useTag && r.useTag === "end" ? (a(), s("foreignObject", {
2049
+ g("div", {
2050
+ style: O(`padding: 3px; background:${e.setOpacity(i.color, 80)};color:${e.adaptColorToBackground(i.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
2051
+ }, k(i.name), 5)
2052
+ ], 8, Or)) : c("", !0),
2053
+ n && f === i.plots.length - 1 && i.useTag && i.useTag === "end" ? (a(), s("foreignObject", {
2049
2054
  key: 2,
2050
- x: n.x - r.name.length * (t.fontSizes.plotLabels / 2),
2055
+ x: n.x - i.name.length * (t.fontSizes.plotLabels / 2),
2051
2056
  y: n.y - 20,
2052
2057
  height: 24,
2053
2058
  width: "150",
2054
2059
  style: { overflow: "visible" }
2055
2060
  }, [
2056
- u("div", {
2057
- style: L(`padding: 3px; background:${e.setOpacity(r.color, 80)};color:${e.adaptColorToBackground(r.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
2058
- }, w(r.name), 5)
2059
- ], 8, Gi)) : c("", !0)
2060
- ]))), 128))
2061
- ], 6))), 128))
2061
+ g("div", {
2062
+ style: O(`padding: 3px; background:${e.setOpacity(i.color, 80)};color:${e.adaptColorToBackground(i.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
2063
+ }, k(i.name), 5)
2064
+ ], 8, Gr)) : c("", !0)
2065
+ ], 64))), 128))
2066
+ ], 64))), 128))
2062
2067
  ])) : c("", !0),
2063
- (a(!0), s(f, null, m(e.lineSet, (r, h) => (a(), s("g", {
2064
- key: `xLabel_line_${h}`,
2065
- class: D(`xLabel_line_${h}`),
2066
- style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2068
+ (a(!0), s(u, null, m(e.lineSet, (i, h) => (a(), s(u, {
2069
+ key: `xLabel_line_${h}`
2067
2070
  }, [
2068
- (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
2069
- key: `xLabel_line_${h}_${g}`
2071
+ (a(!0), s(u, null, m(i.plots, (n, f) => (a(), s(u, {
2072
+ key: `xLabel_line_${h}_${f}`
2070
2073
  }, [
2071
- n && g === 0 && r.showSerieName && r.showSerieName === "start" ? (a(), s("text", {
2074
+ n && f === 0 && i.showSerieName && i.showSerieName === "start" ? (a(), s("text", {
2072
2075
  key: 0,
2073
2076
  x: n.x - t.fontSizes.plotLabels,
2074
2077
  y: n.y,
2075
2078
  "font-size": t.fontSizes.plotLabels,
2076
2079
  "text-anchor": "end",
2077
- fill: r.color,
2080
+ fill: i.color,
2078
2081
  innerHTML: e.createTSpans({
2079
- content: r.name,
2082
+ content: i.name,
2080
2083
  fontSize: t.fontSizes.plotLabels,
2081
- fill: r.color,
2084
+ fill: i.color,
2082
2085
  x: n.x - t.fontSizes.plotLabels,
2083
2086
  y: n.y,
2084
2087
  maxWords: 2
2085
2088
  })
2086
- }, null, 8, vi)) : c("", !0),
2087
- n && g === r.plots.length - 1 && r.showSerieName && r.showSerieName === "end" ? (a(), s("text", {
2089
+ }, null, 8, vr)) : c("", !0),
2090
+ n && f === i.plots.length - 1 && i.showSerieName && i.showSerieName === "end" ? (a(), s("text", {
2088
2091
  key: 1,
2089
2092
  x: n.x + t.fontSizes.plotLabels,
2090
2093
  y: n.y,
2091
2094
  "font-size": t.fontSizes.plotLabels,
2092
2095
  "text-anchor": "start",
2093
- fill: r.color,
2096
+ fill: i.color,
2094
2097
  innerHTML: e.createTSpans({
2095
- content: r.name,
2098
+ content: i.name,
2096
2099
  fontSize: t.fontSizes.plotLabels,
2097
- fill: r.color,
2100
+ fill: i.color,
2098
2101
  x: n.x + t.fontSizes.plotLabels,
2099
2102
  y: n.y,
2100
2103
  maxWords: 2
2101
2104
  })
2102
- }, null, 8, zi)) : c("", !0)
2103
- ]))), 128))
2104
- ], 6))), 128)),
2105
- (a(!0), s(f, null, m(e.plotSet, (r, h) => (a(), s("g", {
2106
- key: `xLabel_plot_${h}`,
2107
- class: D(`xLabel_plot_${h}`),
2108
- style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2105
+ }, null, 8, zr)) : c("", !0)
2106
+ ], 64))), 128))
2107
+ ], 64))), 128)),
2108
+ (a(!0), s(u, null, m(e.plotSet, (i, h) => (a(), s(u, {
2109
+ key: `xLabel_plot_${h}`
2109
2110
  }, [
2110
- (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
2111
- key: `xLabel_plot_${h}_${g}`
2111
+ (a(!0), s(u, null, m(i.plots, (n, f) => (a(), s(u, {
2112
+ key: `xLabel_plot_${h}_${f}`
2112
2113
  }, [
2113
- n && g === 0 && r.showSerieName && r.showSerieName === "start" ? (a(), s("text", {
2114
+ n && f === 0 && i.showSerieName && i.showSerieName === "start" ? (a(), s("text", {
2114
2115
  key: 0,
2115
2116
  x: n.x - t.fontSizes.plotLabels,
2116
2117
  y: n.y,
2117
2118
  "font-size": t.fontSizes.plotLabels,
2118
2119
  "text-anchor": "end",
2119
- fill: r.color,
2120
+ fill: i.color,
2120
2121
  innerHTML: e.createTSpans({
2121
- content: r.name,
2122
+ content: i.name,
2122
2123
  fontSize: t.fontSizes.plotLabels,
2123
- fill: r.color,
2124
+ fill: i.color,
2124
2125
  x: n.x - t.fontSizes.plotLabels,
2125
2126
  y: n.y,
2126
2127
  maxWords: 2
2127
2128
  })
2128
- }, null, 8, Mi)) : c("", !0),
2129
- n && g === r.plots.length - 1 && r.showSerieName && r.showSerieName === "end" ? (a(), s("text", {
2129
+ }, null, 8, Mr)) : c("", !0),
2130
+ n && f === i.plots.length - 1 && i.showSerieName && i.showSerieName === "end" ? (a(), s("text", {
2130
2131
  key: 1,
2131
2132
  x: n.x + t.fontSizes.plotLabels,
2132
2133
  y: n.y,
2133
2134
  "font-size": t.fontSizes.plotLabels,
2134
2135
  "text-anchor": "start",
2135
- fill: r.color,
2136
+ fill: i.color,
2136
2137
  innerHTML: e.createTSpans({
2137
- content: r.name,
2138
+ content: i.name,
2138
2139
  fontSize: t.fontSizes.plotLabels,
2139
- fill: r.color,
2140
+ fill: i.color,
2140
2141
  x: n.x + t.fontSizes.plotLabels,
2141
2142
  y: n.y,
2142
2143
  maxWords: 2
2143
2144
  })
2144
- }, null, 8, pi)) : c("", !0)
2145
- ]))), 128))
2146
- ], 6))), 128)),
2147
- t.mutableConfig.useIndividualScale && !t.mutableConfig.isStacked ? (a(!0), s(f, { key: 9 }, m(e.allScales, (r) => (a(), s("rect", {
2148
- x: r.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + e.xPadding,
2145
+ }, null, 8, pr)) : c("", !0)
2146
+ ], 64))), 128))
2147
+ ], 64))), 128)),
2148
+ t.mutableConfig.useIndividualScale && !t.mutableConfig.isStacked ? (a(!0), s(u, { key: 9 }, m(e.allScales, (i) => (a(), s("rect", {
2149
+ x: i.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + e.xPadding,
2149
2150
  y: e.drawingArea.top,
2150
2151
  width: e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
2151
2152
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
2152
- fill: t.selectedScale === r.id ? e.setOpacity(r.color, 20) : "transparent",
2153
- onMouseenter: (h) => t.selectedScale = r.id,
2153
+ fill: t.selectedScale === i.id ? e.setOpacity(i.color, 20) : "transparent",
2154
+ onMouseenter: (h) => t.selectedScale = i.id,
2154
2155
  onMouseleave: l[0] || (l[0] = (h) => t.selectedScale = null)
2155
- }, null, 40, Ti))), 256)) : c("", !0),
2156
- u("g", null, [
2156
+ }, null, 40, Tr))), 256)) : c("", !0),
2157
+ g("g", null, [
2157
2158
  e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !t.mutableConfig.useIndividualScale ? (a(), s("text", {
2158
2159
  key: 0,
2159
2160
  "font-size": t.fontSizes.yAxis,
@@ -2161,7 +2162,7 @@ function ir(i, l, o, d, t, e) {
2161
2162
  transform: `translate(${t.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
2162
2163
  "text-anchor": "middle",
2163
2164
  style: { transition: "none" }
2164
- }, w(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, Pi)) : c("", !0),
2165
+ }, k(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, Pr)) : c("", !0),
2165
2166
  e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (a(), s("text", {
2166
2167
  key: 1,
2167
2168
  "text-anchor": "middle",
@@ -2169,27 +2170,26 @@ function ir(i, l, o, d, t, e) {
2169
2170
  y: e.drawingArea.bottom + t.fontSizes.yAxis + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
2170
2171
  "font-size": t.fontSizes.yAxis,
2171
2172
  fill: e.FINAL_CONFIG.chart.grid.labels.color
2172
- }, w(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, Vi)) : c("", !0)
2173
+ }, k(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, Vr)) : c("", !0)
2173
2174
  ]),
2174
- e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (a(), s("g", Ri, [
2175
- i.$slots["time-label"] ? (a(!0), s(f, { key: 0 }, m(e.timeLabels, (r, h) => (a(), s("g", {
2175
+ Q('v-for="(label, i) in timeLabels" :key="`time_label_${i}`" '),
2176
+ e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (a(), s("g", Rr, [
2177
+ r.$slots["time-label"] ? (a(!0), s(u, { key: 0 }, m(e.timeLabels, (i, h) => S(r.$slots, "time-label", W(J({
2176
2178
  key: `time_label_${h}`
2177
- }, [
2178
- k(i.$slots, "time-label", W(E({
2179
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * h + e.drawingArea.width / e.maxSeries / 2,
2180
- y: e.drawingArea.bottom + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset,
2181
- fontSize: t.fontSizes.xAxis,
2182
- fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
2183
- transform: `translate(${e.drawingArea.left + e.drawingArea.width / e.maxSeries * h + e.drawingArea.width / e.maxSeries / 2}, ${e.drawingArea.bottom + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation})`,
2184
- absoluteIndex: r.absoluteIndex,
2185
- content: r.text,
2186
- textAnchor: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2187
- 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 && (h === 0 || h === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || r && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && t.selectedSerieIndex === h && !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 && h % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0
2188
- })), void 0, !0)
2189
- ]))), 128)) : (a(!0), s(f, { key: 1 }, m(e.timeLabels, (r, h) => (a(), s("g", {
2179
+ }, {
2180
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * h + e.drawingArea.width / e.maxSeries / 2,
2181
+ y: e.drawingArea.bottom + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset,
2182
+ fontSize: t.fontSizes.xAxis,
2183
+ fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
2184
+ transform: `translate(${e.drawingArea.left + e.drawingArea.width / e.maxSeries * h + e.drawingArea.width / e.maxSeries / 2}, ${e.drawingArea.bottom + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation})`,
2185
+ absoluteIndex: i.absoluteIndex,
2186
+ content: i.text,
2187
+ textAnchor: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2188
+ show: i && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || i && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (h === 0 || h === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || i && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && t.selectedSerieIndex === h && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || i && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && h % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0
2189
+ })), void 0, !0)), 128)) : (a(!0), s(u, { key: 1 }, m(e.timeLabels, (i, h) => (a(), s("g", {
2190
2190
  key: `time_label_${h}`
2191
2191
  }, [
2192
- 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 && (h === 0 || h === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || r && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && t.selectedSerieIndex === h && !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 && h % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (a(), s("text", {
2192
+ i && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || i && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (h === 0 || h === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || i && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && t.selectedSerieIndex === h && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || i && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && h % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (a(), s("text", {
2193
2193
  key: 0,
2194
2194
  "text-anchor": e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2195
2195
  "font-size": t.fontSizes.xAxis,
@@ -2198,28 +2198,25 @@ function ir(i, l, o, d, t, e) {
2198
2198
  style: {
2199
2199
  cursor: "pointer"
2200
2200
  },
2201
- onClick: () => e.selectTimeLabel(r, h)
2202
- }, w(r.text || ""), 9, Di)) : c("", !0)
2201
+ onClick: () => e.selectTimeLabel(i, h)
2202
+ }, k(i.text || ""), 9, Dr)) : c("", !0)
2203
2203
  ]))), 128))
2204
2204
  ])) : c("", !0),
2205
- u("g", null, [
2206
- (a(!0), s(f, null, m(e.maxSeries, (r, h) => (a(), s("g", {
2207
- key: `tooltip_trap_${h}`
2208
- }, [
2209
- u("rect", {
2210
- "data-cy-trap": "",
2211
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * h,
2212
- y: e.drawingArea.top,
2213
- height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
2214
- width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
2215
- fill: "transparent",
2216
- onMouseenter: (n) => e.toggleTooltipVisibility(!0, h),
2217
- onMouseleave: l[1] || (l[1] = (n) => e.toggleTooltipVisibility(!1)),
2218
- onClick: (n) => e.selectX(h)
2219
- }, null, 40, Hi)
2220
- ]))), 128))
2205
+ g("g", null, [
2206
+ (a(!0), s(u, null, m(e.maxSeries, (i, h) => (a(), s("rect", {
2207
+ key: `tooltip_trap_${h}`,
2208
+ "data-cy-trap": "",
2209
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * h,
2210
+ y: e.drawingArea.top,
2211
+ height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
2212
+ width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
2213
+ fill: "transparent",
2214
+ onMouseenter: (n) => e.toggleTooltipVisibility(!0, h),
2215
+ onMouseleave: l[1] || (l[1] = (n) => e.toggleTooltipVisibility(!1)),
2216
+ onClick: (n) => e.selectX(h)
2217
+ }, null, 40, Hr))), 128))
2221
2218
  ]),
2222
- e.FINAL_CONFIG.chart.timeTag.show && (![null, void 0].includes(t.selectedSerieIndex) || ![null, void 0].includes(t.selectedMinimapIndex)) ? (a(), s("g", Bi, [
2219
+ e.FINAL_CONFIG.chart.timeTag.show && (![null, void 0].includes(t.selectedSerieIndex) || ![null, void 0].includes(t.selectedMinimapIndex)) ? (a(), s("g", Br, [
2223
2220
  (a(), s("foreignObject", {
2224
2221
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((t.selectedSerieIndex !== null ? t.selectedSerieIndex : 0) || (t.selectedMinimapIndex !== null ? t.selectedMinimapIndex : 0)) - 100 + e.drawingArea.width / e.maxSeries / 2,
2225
2222
  y: e.drawingArea.bottom,
@@ -2227,25 +2224,25 @@ function ir(i, l, o, d, t, e) {
2227
2224
  height: "40",
2228
2225
  style: { overflow: "visible !important" }
2229
2226
  }, [
2230
- u("div", {
2227
+ g("div", {
2231
2228
  class: "vue-ui-xy-time-tag",
2232
- style: L(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${e.FINAL_CONFIG.chart.timeTag.backgroundColor};color:${e.FINAL_CONFIG.chart.timeTag.color};font-size:${e.FINAL_CONFIG.chart.timeTag.fontSize}px`)
2233
- }, w(e.timeLabels[(t.selectedSerieIndex !== null ? t.selectedSerieIndex : 0) || (t.selectedMinimapIndex !== null ? t.selectedMinimapIndex : 0)].text || (t.selectedSerieIndex !== null ? t.selectedSerieIndex : 0) || (t.selectedMinimapIndex !== null ? t.selectedMinimapIndex : 0)), 5)
2234
- ], 8, Wi)),
2235
- u("circle", {
2229
+ style: O(`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`)
2230
+ }, k(e.timeLabels[(t.selectedSerieIndex !== null ? t.selectedSerieIndex : 0) || (t.selectedMinimapIndex !== null ? t.selectedMinimapIndex : 0)].text || (t.selectedSerieIndex !== null ? t.selectedSerieIndex : 0) || (t.selectedMinimapIndex !== null ? t.selectedMinimapIndex : 0)), 5)
2231
+ ], 8, Wr)),
2232
+ g("circle", {
2236
2233
  cx: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((t.selectedSerieIndex !== null ? t.selectedSerieIndex : 0) || (t.selectedMinimapIndex !== null ? t.selectedMinimapIndex : 0)) + e.drawingArea.width / e.maxSeries / 2,
2237
2234
  cy: e.drawingArea.bottom,
2238
2235
  r: e.FINAL_CONFIG.chart.timeTag.circleMarker.radius,
2239
2236
  fill: e.FINAL_CONFIG.chart.timeTag.circleMarker.color
2240
- }, null, 8, Ei)
2237
+ }, null, 8, Er)
2241
2238
  ])) : c("", !0)
2242
2239
  ])) : c("", !0),
2243
- k(i.$slots, "svg", { svg: e.svg }, void 0, !0)
2240
+ S(r.$slots, "svg", { svg: e.svg }, void 0, !0)
2244
2241
  ], 14, $e)) : c("", !0),
2245
- i.$slots.watermark ? (a(), s("div", Yi, [
2246
- k(i.$slots, "watermark", W(E({ isPrinting: t.isPrinting || t.isImaging })), void 0, !0)
2242
+ r.$slots.watermark ? (a(), s("div", Yr, [
2243
+ S(r.$slots, "watermark", W(Y({ isPrinting: t.isPrinting || t.isImaging })), void 0, !0)
2247
2244
  ])) : c("", !0),
2248
- e.isDataset ? c("", !0) : (a(), B(V, {
2245
+ e.isDataset ? c("", !0) : (a(), H(V, {
2249
2246
  key: 6,
2250
2247
  config: {
2251
2248
  type: "line",
@@ -2263,7 +2260,7 @@ function ir(i, l, o, d, t, e) {
2263
2260
  }
2264
2261
  }
2265
2262
  }, null, 8, ["config"])),
2266
- e.FINAL_CONFIG.chart.zoom.show && t.maxX > 6 && e.isDataset ? (a(), B(v, {
2263
+ e.FINAL_CONFIG.chart.zoom.show && t.maxX > 6 && e.isDataset ? (a(), H(v, {
2267
2264
  ref: "chartSlicer",
2268
2265
  key: `slicer_${t.slicerStep}`,
2269
2266
  background: e.FINAL_CONFIG.chart.zoom.color,
@@ -2289,18 +2286,18 @@ function ir(i, l, o, d, t, e) {
2289
2286
  valueStart: t.slicer.start,
2290
2287
  valueEnd: t.slicer.end,
2291
2288
  start: t.slicer.start,
2292
- "onUpdate:start": l[2] || (l[2] = (r) => t.slicer.start = r),
2289
+ "onUpdate:start": l[2] || (l[2] = (i) => t.slicer.start = i),
2293
2290
  end: t.slicer.end,
2294
- "onUpdate:end": l[3] || (l[3] = (r) => t.slicer.end = r),
2291
+ "onUpdate:end": l[3] || (l[3] = (i) => t.slicer.end = i),
2295
2292
  refreshStartPoint: e.FINAL_CONFIG.chart.zoom.startIndex !== null ? e.FINAL_CONFIG.chart.zoom.startIndex : 0,
2296
- 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)),
2293
+ refreshEndPoint: e.FINAL_CONFIG.chart.zoom.endIndex !== null ? e.FINAL_CONFIG.chart.zoom.endIndex + 1 : Math.max(...o.dataset.map((i) => e.largestTriangleThreeBucketsArray({ data: i.series, threshold: e.FINAL_CONFIG.downsample.threshold }).length)),
2297
2294
  enableRangeHandles: e.FINAL_CONFIG.chart.zoom.enableRangeHandles,
2298
2295
  enableSelectionDrag: e.FINAL_CONFIG.chart.zoom.enableSelectionDrag,
2299
2296
  onReset: e.refreshSlicer,
2300
2297
  onTrapMouse: e.selectMinimapIndex
2301
2298
  }, {
2302
- "reset-action": P(({ reset: r }) => [
2303
- k(i.$slots, "reset-action", W(E({ reset: r })), void 0, !0)
2299
+ "reset-action": P(({ reset: i }) => [
2300
+ S(r.$slots, "reset-action", W(Y({ reset: i })), void 0, !0)
2304
2301
  ]),
2305
2302
  _: 3
2306
2303
  }, 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"])) : c("", !0),
@@ -2308,15 +2305,15 @@ function ir(i, l, o, d, t, e) {
2308
2305
  key: 8,
2309
2306
  ref: "chartLegend",
2310
2307
  class: "vue-ui-xy-legend",
2311
- style: L(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
2308
+ style: O(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
2312
2309
  }, [
2313
- (a(!0), s(f, null, m(e.absoluteDataset, (r, h) => (a(), s("div", {
2310
+ (a(!0), s(u, null, m(e.absoluteDataset, (i, h) => (a(), s("div", {
2314
2311
  key: `div_legend_item_${h}`,
2315
- onClick: (n) => e.segregate(r),
2316
- class: D({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": t.segregatedSeries.includes(r.id) })
2312
+ onClick: (n) => e.segregate(i),
2313
+ class: B({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": t.segregatedSeries.includes(i.id) })
2317
2314
  }, [
2318
- t.icons[r.type] === "line" ? (a(), s("svg", Xi, [
2319
- u("rect", {
2315
+ t.icons[i.type] === "line" ? (a(), s("svg", Xr, [
2316
+ g("rect", {
2320
2317
  x: "0",
2321
2318
  y: "7.5",
2322
2319
  rx: "1.5",
@@ -2324,18 +2321,18 @@ function ir(i, l, o, d, t, e) {
2324
2321
  "stroke-width": 0.5,
2325
2322
  height: "3",
2326
2323
  width: "20",
2327
- fill: r.color
2328
- }, null, 8, Ui),
2324
+ fill: i.color
2325
+ }, null, 8, Ur),
2329
2326
  q(b, {
2330
2327
  plot: { x: 10, y: 9 },
2331
2328
  radius: 4,
2332
- color: r.color,
2333
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(r.shape) ? r.shape : "circle",
2329
+ color: i.color,
2330
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle",
2334
2331
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
2335
2332
  strokeWidth: 0.5
2336
2333
  }, null, 8, ["color", "shape", "stroke"])
2337
- ])) : t.icons[r.type] === "bar" ? (a(), s("svg", Zi, [
2338
- t.icons[r.type] === "bar" && i.$slots.pattern ? (a(), s("rect", {
2334
+ ])) : t.icons[i.type] === "bar" ? (a(), s("svg", Zr, [
2335
+ t.icons[i.type] === "bar" && r.$slots.pattern ? (a(), s("rect", {
2339
2336
  key: 0,
2340
2337
  x: "0",
2341
2338
  y: "0",
@@ -2343,9 +2340,9 @@ function ir(i, l, o, d, t, e) {
2343
2340
  height: "40",
2344
2341
  width: "40",
2345
2342
  stroke: "none",
2346
- fill: r.color
2347
- }, null, 8, Ji)) : c("", !0),
2348
- t.icons[r.type] === "bar" ? (a(), s("rect", {
2343
+ fill: i.color
2344
+ }, null, 8, Jr)) : c("", !0),
2345
+ t.icons[i.type] === "bar" ? (a(), s("rect", {
2349
2346
  key: 1,
2350
2347
  x: "0",
2351
2348
  y: "0",
@@ -2353,25 +2350,25 @@ function ir(i, l, o, d, t, e) {
2353
2350
  height: "40",
2354
2351
  width: "40",
2355
2352
  stroke: "none",
2356
- fill: i.$slots.pattern ? `url(#pattern_${t.uniqueId}_${r.slotAbsoluteIndex})` : r.color
2357
- }, null, 8, Qi)) : c("", !0)
2358
- ])) : (a(), s("svg", Ki, [
2353
+ fill: r.$slots.pattern ? `url(#pattern_${t.uniqueId}_${i.slotAbsoluteIndex})` : i.color
2354
+ }, null, 8, Qr)) : c("", !0)
2355
+ ])) : (a(), s("svg", Kr, [
2359
2356
  q(b, {
2360
2357
  plot: { x: 6, y: 6 },
2361
2358
  radius: 5,
2362
- color: r.color,
2363
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(r.shape) ? r.shape : "circle"
2359
+ color: i.color,
2360
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle"
2364
2361
  }, null, 8, ["color", "shape"])
2365
2362
  ])),
2366
- u("span", {
2367
- style: L(`color:${e.FINAL_CONFIG.chart.legend.color}`)
2368
- }, w(r.name), 5)
2369
- ], 10, qi))), 128))
2370
- ], 4)) : (a(), s("div", ji, [
2371
- k(i.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
2363
+ g("span", {
2364
+ style: O(`color:${e.FINAL_CONFIG.chart.legend.color}`)
2365
+ }, k(i.name), 5)
2366
+ ], 10, qr))), 128))
2367
+ ], 4)) : (a(), s("div", jr, [
2368
+ S(r.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
2372
2369
  ], 512)),
2373
- i.$slots.source ? (a(), s("div", $i, [
2374
- k(i.$slots, "source", {}, void 0, !0)
2370
+ r.$slots.source ? (a(), s("div", $r, [
2371
+ S(r.$slots, "source", {}, void 0, !0)
2375
2372
  ], 512)) : c("", !0),
2376
2373
  q(z, {
2377
2374
  show: t.mutableConfig.showTooltip && t.isTooltip,
@@ -2384,20 +2381,20 @@ function ir(i, l, o, d, t, e) {
2384
2381
  backgroundOpacity: e.FINAL_CONFIG.chart.tooltip.backgroundOpacity,
2385
2382
  position: e.FINAL_CONFIG.chart.tooltip.position,
2386
2383
  offsetY: e.FINAL_CONFIG.chart.tooltip.offsetY,
2387
- parent: i.$refs.chart,
2384
+ parent: r.$refs.chart,
2388
2385
  content: e.tooltipContent,
2389
2386
  isFullscreen: t.isFullscreen,
2390
2387
  isCustom: e.FINAL_CONFIG.chart.tooltip.customFormat && typeof e.FINAL_CONFIG.chart.tooltip.customFormat == "function"
2391
2388
  }, {
2392
2389
  "tooltip-before": P(() => [
2393
- k(i.$slots, "tooltip-before", W(E({ ...e.dataTooltipSlot })), void 0, !0)
2390
+ S(r.$slots, "tooltip-before", W(Y({ ...e.dataTooltipSlot })), void 0, !0)
2394
2391
  ]),
2395
2392
  "tooltip-after": P(() => [
2396
- k(i.$slots, "tooltip-after", W(E({ ...e.dataTooltipSlot })), void 0, !0)
2393
+ S(r.$slots, "tooltip-after", W(Y({ ...e.dataTooltipSlot })), void 0, !0)
2397
2394
  ]),
2398
2395
  _: 3
2399
2396
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
2400
- e.isDataset ? (a(), B(T, {
2397
+ e.isDataset ? (a(), H(T, {
2401
2398
  key: 11,
2402
2399
  hideDetails: "",
2403
2400
  config: {
@@ -2414,18 +2411,18 @@ function ir(i, l, o, d, t, e) {
2414
2411
  }
2415
2412
  }, {
2416
2413
  content: P(() => [
2417
- u("div", {
2418
- style: L(`${t.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2414
+ g("div", {
2415
+ style: O(`${t.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2419
2416
  }, [
2420
- u("div", er, [
2421
- qe(u("input", {
2417
+ g("div", ei, [
2418
+ Xe(g("input", {
2422
2419
  type: "checkbox",
2423
- "onUpdate:modelValue": l[4] || (l[4] = (r) => t.showSparklineTable = r)
2420
+ "onUpdate:modelValue": l[4] || (l[4] = (i) => t.showSparklineTable = i)
2424
2421
  }, null, 512), [
2425
- [Xe, t.showSparklineTable]
2422
+ [Ue, t.showSparklineTable]
2426
2423
  ]),
2427
- u("div", {
2428
- onClick: l[5] || (l[5] = (r) => t.showSparklineTable = !t.showSparklineTable),
2424
+ g("div", {
2425
+ onClick: l[5] || (l[5] = (i) => t.showSparklineTable = !t.showSparklineTable),
2429
2426
  style: { cursor: "pointer" }
2430
2427
  }, [
2431
2428
  q(G, {
@@ -2435,26 +2432,26 @@ function ir(i, l, o, d, t, e) {
2435
2432
  }, null, 8, ["stroke"])
2436
2433
  ])
2437
2434
  ]),
2438
- t.showSparklineTable ? (a(), B(F, {
2435
+ t.showSparklineTable ? (a(), H(F, {
2439
2436
  key: `sparkline_${t.segregateStep}`,
2440
2437
  dataset: e.tableSparklineDataset,
2441
2438
  config: e.tableSparklineConfig
2442
- }, null, 8, ["dataset", "config"])) : (a(), B(C, {
2439
+ }, null, 8, ["dataset", "config"])) : (a(), H(C, {
2443
2440
  key: `table_${t.tableStep}`,
2444
2441
  colNames: e.dataTable.colNames,
2445
2442
  head: e.dataTable.head,
2446
2443
  body: e.dataTable.body,
2447
2444
  config: e.dataTable.config,
2448
2445
  title: `${e.FINAL_CONFIG.chart.title.text}${e.FINAL_CONFIG.chart.title.subtitle.text ? ` : ${e.FINAL_CONFIG.chart.title.subtitle.text}` : ""}`,
2449
- onClose: l[6] || (l[6] = (r) => t.mutableConfig.showTable = !1)
2446
+ onClose: l[6] || (l[6] = (i) => t.mutableConfig.showTable = !1)
2450
2447
  }, {
2451
- th: P(({ th: r }) => [
2452
- u("div", { innerHTML: r }, null, 8, tr)
2448
+ th: P(({ th: i }) => [
2449
+ g("div", { innerHTML: i }, null, 8, ti)
2453
2450
  ]),
2454
- td: P(({ td: r }) => [
2455
- Ue(w(isNaN(Number(r)) ? r : e.dataLabel({
2451
+ td: P(({ td: i }) => [
2452
+ Q(k(isNaN(Number(i)) ? i : e.dataLabel({
2456
2453
  p: e.FINAL_CONFIG.chart.labels.prefix,
2457
- v: r,
2454
+ v: i,
2458
2455
  s: e.FINAL_CONFIG.chart.labels.suffix,
2459
2456
  r: e.FINAL_CONFIG.table.rounding
2460
2457
  })), 1)
@@ -2467,7 +2464,7 @@ function ir(i, l, o, d, t, e) {
2467
2464
  }, 8, ["config"])) : c("", !0)
2468
2465
  ], 46, Ke);
2469
2466
  }
2470
- const br = /* @__PURE__ */ Ze(Qe, [["render", ir], ["__scopeId", "data-v-55fe5db9"]]);
2467
+ const bi = /* @__PURE__ */ Ze(Qe, [["render", ri], ["__scopeId", "data-v-2ea54cd5"]]);
2471
2468
  export {
2472
- br as default
2469
+ bi as default
2473
2470
  };