vue-data-ui 2.4.84 → 2.4.86

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 (168) hide show
  1. package/dist/{Arrow-DCfmf5dA.cjs → Arrow-Bh7Ezbzf.cjs} +1 -1
  2. package/dist/{Arrow-CExa0Dz7.js → Arrow-DpgbndsU.js} +1 -1
  3. package/dist/{BaseIcon-64qWZUaJ.cjs → BaseIcon-CaKclr1e.cjs} +1 -1
  4. package/dist/{BaseIcon-I6DfuN0D.js → BaseIcon-CdPe2CAc.js} +1 -1
  5. package/dist/{DataTable-DYhXzoFM.js → DataTable-BfiPjHpN.js} +2 -2
  6. package/dist/{DataTable-C_6KWwfC.cjs → DataTable-DuosyZ6d.cjs} +1 -1
  7. package/dist/{Legend-BkolTSZc.cjs → Legend-BnKYc6ZY.cjs} +1 -1
  8. package/dist/{Legend-D8VMKZ6f.js → Legend-DiFDWEo2.js} +2 -2
  9. package/dist/{PackageVersion-BV362f3w.cjs → PackageVersion-B5rBHZEb.cjs} +1 -1
  10. package/dist/{PackageVersion-CO2IMTO9.js → PackageVersion-qom4AEUr.js} +1 -1
  11. package/dist/{PenAndPaper-DvN8ocWC.cjs → PenAndPaper-5OV7IAca.cjs} +1 -1
  12. package/dist/{PenAndPaper-CnW2eqXw.js → PenAndPaper-C-1AU46J.js} +3 -3
  13. package/dist/{Shape-VkiqMBJb.cjs → Shape-CmsIulaS.cjs} +1 -1
  14. package/dist/{Shape-Bit--n_P.js → Shape-Dmv7nCLC.js} +1 -1
  15. package/dist/{Slicer-D8EYKe1g.cjs → Slicer-CmBt4xoj.cjs} +1 -1
  16. package/dist/{Slicer-BIRZ38gw.js → Slicer-D4ugcR39.js} +2 -2
  17. package/dist/{Title-C_gOJvlv.js → Title-ClQ27HaB.js} +1 -1
  18. package/dist/{Title-BVwrrnjn.cjs → Title-D3kX1BVl.cjs} +1 -1
  19. package/dist/{Tooltip-CfsfUzgu.cjs → Tooltip-CARCyQNT.cjs} +1 -1
  20. package/dist/{Tooltip-Czv48jTt.js → Tooltip-CGYgJoPR.js} +1 -1
  21. package/dist/{index-CFW17vb1.js → index-CXx0JV8R.js} +1 -1
  22. package/dist/{index-DtU3BvTq.cjs → index-DqxDpUy0.cjs} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/{useNestedProp-HPB1YHuD.js → useNestedProp-B-WAbP7E.js} +1 -1
  25. package/dist/{useNestedProp-Bwqm-3kz.cjs → useNestedProp-DNWKDmdP.cjs} +1 -1
  26. package/dist/{usePrinter-CdEwyYTo.cjs → usePrinter-BC7U4s0U.cjs} +1 -1
  27. package/dist/{usePrinter-19frcFuH.js → usePrinter-Ctor1UK0.js} +1 -1
  28. package/dist/{vue-data-ui-Cwa_3CUx.js → vue-data-ui-BpAZx3Va.js} +60 -60
  29. package/dist/{vue-data-ui-Do7J2TPn.cjs → vue-data-ui-DkgWwqtw.cjs} +1 -1
  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-DFyAJ8Js.js → vue-ui-3d-bar-1A6t1biQ.js} +9 -9
  33. package/dist/{vue-ui-3d-bar-BHQnk6JC.cjs → vue-ui-3d-bar-ngD35pLb.cjs} +1 -1
  34. package/dist/{vue-ui-accordion-B8vShfXi.js → vue-ui-accordion-BljYKOXR.js} +3 -3
  35. package/dist/{vue-ui-accordion-DP9u_TW0.cjs → vue-ui-accordion-XAEm2rxj.cjs} +1 -1
  36. package/dist/vue-ui-age-pyramid-BgsDYe37.cjs +1 -0
  37. package/dist/{vue-ui-age-pyramid-Dmve7QfH.js → vue-ui-age-pyramid-qfVpUr52.js} +14 -12
  38. package/dist/{vue-ui-annotator-BlXk3QBH.js → vue-ui-annotator-CH9QWqAv.js} +1 -1
  39. package/dist/{vue-ui-annotator-D9EQpzhs.cjs → vue-ui-annotator-pFybuGix.cjs} +1 -1
  40. package/dist/{vue-ui-bullet-C_689DzY.js → vue-ui-bullet-BH7zmX0E.js} +8 -8
  41. package/dist/{vue-ui-bullet-HVCVCTLU.cjs → vue-ui-bullet-C6y7Ddg-.cjs} +1 -1
  42. package/dist/{vue-ui-candlestick-jaQCvTyL.cjs → vue-ui-candlestick-DtCmxeo5.cjs} +2 -2
  43. package/dist/{vue-ui-candlestick-BeoPugFC.js → vue-ui-candlestick-RCtFAjEU.js} +72 -70
  44. package/dist/{vue-ui-carousel-table-DSJth2mn.js → vue-ui-carousel-table-BUL063mi.js} +4 -4
  45. package/dist/{vue-ui-carousel-table-C6TjkSgb.cjs → vue-ui-carousel-table-BeDenKJo.cjs} +1 -1
  46. package/dist/{vue-ui-chestnut-B2ufyy3m.cjs → vue-ui-chestnut-B6EalNLT.cjs} +1 -1
  47. package/dist/{vue-ui-chestnut-DYFaL9sS.js → vue-ui-chestnut-xDD_4bz2.js} +8 -8
  48. package/dist/{vue-ui-cursor-0SZiJ6tf.js → vue-ui-cursor-D6Qndjnn.js} +2 -2
  49. package/dist/{vue-ui-cursor-B8ne66iS.cjs → vue-ui-cursor-DbV0HXHB.cjs} +1 -1
  50. package/dist/{vue-ui-dashboard-9JNDS8H_.js → vue-ui-dashboard-B_4ot4bz.js} +2 -2
  51. package/dist/{vue-ui-dashboard-Cc6YeOue.cjs → vue-ui-dashboard-B_kj8L_A.cjs} +1 -1
  52. package/dist/{vue-ui-digits-DNyhJL4P.js → vue-ui-digits-BLI4lCZC.js} +2 -2
  53. package/dist/{vue-ui-digits-lJ7p7zK0.cjs → vue-ui-digits-DKs2fTGz.cjs} +1 -1
  54. package/dist/vue-ui-donut-B1Cg4vpI.cjs +1 -0
  55. package/dist/{vue-ui-donut-evolution-CNUN-Ibl.cjs → vue-ui-donut-evolution-CgB_aexh.cjs} +1 -1
  56. package/dist/{vue-ui-donut-evolution-BZgaPkPQ.js → vue-ui-donut-evolution-ClOGDHiK.js} +11 -11
  57. package/dist/{vue-ui-donut-rUTpcnu6.js → vue-ui-donut-wBZoPkru.js} +17 -15
  58. package/dist/vue-ui-dumbbell-Cm5O6D4x.cjs +9 -0
  59. package/dist/{vue-ui-dumbbell-Dt0y6iAc.js → vue-ui-dumbbell-PR9tHMvD.js} +48 -46
  60. package/dist/{vue-ui-flow-DoDnRTz2.cjs → vue-ui-flow-CIkXePxd.cjs} +1 -1
  61. package/dist/{vue-ui-flow-CNJvuCPl.js → vue-ui-flow-CxW8g0NW.js} +9 -9
  62. package/dist/{vue-ui-funnel-CzxjqsPW.js → vue-ui-funnel-BJNlWIq5.js} +37 -35
  63. package/dist/vue-ui-funnel-BLXk1z5r.cjs +1 -0
  64. package/dist/{vue-ui-galaxy-Bd3A40CM.cjs → vue-ui-galaxy-C01Apc4E.cjs} +1 -1
  65. package/dist/{vue-ui-galaxy-4lQvAV3d.js → vue-ui-galaxy-DuGLDGzf.js} +11 -11
  66. package/dist/{vue-ui-gauge-C-VzxGad.js → vue-ui-gauge-CBx84KCt.js} +28 -26
  67. package/dist/vue-ui-gauge-Dpcxdegh.cjs +1 -0
  68. package/dist/{vue-ui-gizmo-CE_RL3QC.js → vue-ui-gizmo-BPIyNNkI.js} +3 -3
  69. package/dist/{vue-ui-gizmo-C_H8YGW3.cjs → vue-ui-gizmo-Djw5T_Vr.cjs} +1 -1
  70. package/dist/{vue-ui-heatmap-GRSinjd8.js → vue-ui-heatmap-DI8gVwfM.js} +10 -10
  71. package/dist/{vue-ui-heatmap-9F3jF9Ph.cjs → vue-ui-heatmap-DYPE1Efx.cjs} +1 -1
  72. package/dist/vue-ui-history-plot-BeYYrq5_.cjs +1 -0
  73. package/dist/{vue-ui-history-plot-DmGaPsqO.js → vue-ui-history-plot-CWfWMwqw.js} +56 -54
  74. package/dist/{vue-ui-kpi-Ce45VFCW.cjs → vue-ui-kpi-BjGIj-IQ.cjs} +1 -1
  75. package/dist/{vue-ui-kpi-BeGj6WIY.js → vue-ui-kpi-CBJZp-nE.js} +3 -3
  76. package/dist/{vue-ui-mini-loader-D3edtEz_.cjs → vue-ui-mini-loader-Cafts_cp.cjs} +1 -1
  77. package/dist/{vue-ui-mini-loader-DE8S92Sq.js → vue-ui-mini-loader-DfeNWsJk.js} +2 -2
  78. package/dist/{vue-ui-molecule-B3DvbGKk.js → vue-ui-molecule-BTO5WRuL.js} +11 -11
  79. package/dist/{vue-ui-molecule-CBXx1n83.cjs → vue-ui-molecule-Ckh2JsOJ.cjs} +1 -1
  80. package/dist/{vue-ui-mood-radar-D86fg_ce.js → vue-ui-mood-radar-CKGwiCsd.js} +11 -11
  81. package/dist/{vue-ui-mood-radar-LiiA0Dc-.cjs → vue-ui-mood-radar-WHFk1KC1.cjs} +1 -1
  82. package/dist/{vue-ui-nested-donuts-BXKM6dJG.cjs → vue-ui-nested-donuts-BvkJoiOT.cjs} +2 -2
  83. package/dist/{vue-ui-nested-donuts-jk4b-l4R.js → vue-ui-nested-donuts-JGie_log.js} +16 -14
  84. package/dist/{vue-ui-onion-DMDU5CNx.cjs → vue-ui-onion-BWoVr0FT.cjs} +2 -2
  85. package/dist/{vue-ui-onion-0OpNltFd.js → vue-ui-onion-BXauNEVz.js} +31 -29
  86. package/dist/{vue-ui-parallel-coordinate-plot-C6z7ZrZv.cjs → vue-ui-parallel-coordinate-plot-BrvB0jer.cjs} +2 -2
  87. package/dist/{vue-ui-parallel-coordinate-plot-CK1Npqa-.js → vue-ui-parallel-coordinate-plot-njogPtYo.js} +62 -60
  88. package/dist/vue-ui-quadrant-D8krEYWV.cjs +1 -0
  89. package/dist/{vue-ui-quadrant-BTXxbgGe.js → vue-ui-quadrant-DnaOzxMc.js} +16 -14
  90. package/dist/{vue-ui-quick-chart-C648x_Ta.cjs → vue-ui-quick-chart-DTiell5S.cjs} +2 -2
  91. package/dist/{vue-ui-quick-chart-DxTYh43Q.js → vue-ui-quick-chart-kAG9Eaxb.js} +55 -53
  92. package/dist/vue-ui-radar-DKB9rVav.cjs +1 -0
  93. package/dist/{vue-ui-radar-ogrYz2LM.js → vue-ui-radar-DRmP5yb4.js} +100 -98
  94. package/dist/{vue-ui-rating-BA3qzlLU.cjs → vue-ui-rating-BtLDJSwm.cjs} +1 -1
  95. package/dist/{vue-ui-rating-BDOw91i1.js → vue-ui-rating-De5IfgHJ.js} +2 -2
  96. package/dist/vue-ui-relation-circle-B2l-2KnH.cjs +1 -0
  97. package/dist/{vue-ui-relation-circle-DzIUtPsI.js → vue-ui-relation-circle-DKQl7eWX.js} +56 -54
  98. package/dist/{vue-ui-rings-ZT5FspBJ.js → vue-ui-rings-Dwyz2fEm.js} +39 -37
  99. package/dist/{vue-ui-rings-CC2lRhXV.cjs → vue-ui-rings-KQoMkv4v.cjs} +2 -2
  100. package/dist/vue-ui-scatter-CDT3zyXP.cjs +1 -0
  101. package/dist/{vue-ui-scatter-DWrEQi8R.js → vue-ui-scatter-DeOrkD2Y.js} +52 -50
  102. package/dist/{vue-ui-screenshot-C5qnoqpN.cjs → vue-ui-screenshot-BLp1_Q6K.cjs} +1 -1
  103. package/dist/{vue-ui-screenshot-Cu9IDDlN.js → vue-ui-screenshot-D1Ekbb27.js} +1 -1
  104. package/dist/{vue-ui-skeleton-RRyod9qq.js → vue-ui-skeleton-Cw0-Ac_0.js} +3 -3
  105. package/dist/{vue-ui-skeleton-BJjc2poJ.cjs → vue-ui-skeleton-qIxxRRaX.cjs} +1 -1
  106. package/dist/{vue-ui-smiley-y9nTUBhA.cjs → vue-ui-smiley-D3WgXFhb.cjs} +1 -1
  107. package/dist/{vue-ui-smiley-Ph-v2-Ai.js → vue-ui-smiley-D3oqt6Rg.js} +2 -2
  108. package/dist/{vue-ui-spark-trend-CLToG1xM.cjs → vue-ui-spark-trend-CVyPm6ms.cjs} +1 -1
  109. package/dist/{vue-ui-spark-trend-Bny5SJnu.js → vue-ui-spark-trend-DyhcWMWz.js} +5 -5
  110. package/dist/{vue-ui-sparkbar-Cte6J2j-.js → vue-ui-sparkbar-C0av7SAn.js} +4 -4
  111. package/dist/{vue-ui-sparkbar-XuIl0I-2.cjs → vue-ui-sparkbar-CRMMOv0T.cjs} +1 -1
  112. package/dist/{vue-ui-sparkgauge-NGpDEiOA.js → vue-ui-sparkgauge-B3K4si6u.js} +4 -4
  113. package/dist/{vue-ui-sparkgauge-85UuRRgo.cjs → vue-ui-sparkgauge-BQnxP_8u.cjs} +1 -1
  114. package/dist/{vue-ui-sparkhistogram-DC6GQfGG.js → vue-ui-sparkhistogram-Bo3pkA-I.js} +5 -5
  115. package/dist/{vue-ui-sparkhistogram-g9PwZ66_.cjs → vue-ui-sparkhistogram-DVAas7L7.cjs} +1 -1
  116. package/dist/vue-ui-sparkline-CDqFBaPU.cjs +1 -0
  117. package/dist/{vue-ui-sparkline-Cv0OStNn.js → vue-ui-sparkline-DIHKGu0H.js} +37 -35
  118. package/dist/{vue-ui-sparkstackbar-Dvi0gC4_.cjs → vue-ui-sparkstackbar-CC-OaMTb.cjs} +1 -1
  119. package/dist/{vue-ui-sparkstackbar-lUSVcaQd.js → vue-ui-sparkstackbar-DG87wFd5.js} +5 -5
  120. package/dist/{vue-ui-stackbar-DjJtIsdz.cjs → vue-ui-stackbar-CVHKHNom.cjs} +2 -2
  121. package/dist/{vue-ui-stackbar-CqbbJfYt.js → vue-ui-stackbar-fZKaRitE.js} +55 -53
  122. package/dist/vue-ui-strip-plot-C1pjZ1AT.cjs +1 -0
  123. package/dist/{vue-ui-strip-plot-BCg5ReEr.js → vue-ui-strip-plot-WOMaN28I.js} +77 -75
  124. package/dist/{vue-ui-table-BLtxfmhY.cjs → vue-ui-table-CTtYDZPd.cjs} +1 -1
  125. package/dist/{vue-ui-table-C0gtq240.js → vue-ui-table-a4m3lpRq.js} +1 -1
  126. package/dist/{vue-ui-table-heatmap-QuqCtJWs.js → vue-ui-table-heatmap-0vDMKYpV.js} +4 -4
  127. package/dist/{vue-ui-table-heatmap-Df4MQoU-.cjs → vue-ui-table-heatmap-i00aBLPq.cjs} +1 -1
  128. package/dist/{vue-ui-table-sparkline-Cgt7aEwb.js → vue-ui-table-sparkline-D5lngzCM.js} +5 -5
  129. package/dist/{vue-ui-table-sparkline-CUD-P2XB.cjs → vue-ui-table-sparkline-DW7t3xfB.cjs} +1 -1
  130. package/dist/{vue-ui-thermometer-Dmba_BQM.js → vue-ui-thermometer-3aeRI-SM.js} +7 -7
  131. package/dist/{vue-ui-thermometer-DwFIhO9V.cjs → vue-ui-thermometer-QtlVD4-S.cjs} +1 -1
  132. package/dist/vue-ui-timer-B1nkj0WG.cjs +64 -0
  133. package/dist/{vue-ui-timer-C7B7kC_T.js → vue-ui-timer-mRaLpRHZ.js} +35 -33
  134. package/dist/{vue-ui-tiremarks-D5xKuhfo.js → vue-ui-tiremarks-Dv2O6FpS.js} +7 -7
  135. package/dist/{vue-ui-tiremarks-Cbu6E711.cjs → vue-ui-tiremarks-xMuvEsN7.cjs} +1 -1
  136. package/dist/vue-ui-treemap-BupfwSFa.cjs +1 -0
  137. package/dist/{vue-ui-treemap-4MV0XnQk.js → vue-ui-treemap-D89aQanB.js} +37 -35
  138. package/dist/{vue-ui-vertical-bar-CXyj54xk.js → vue-ui-vertical-bar-BpLIp4qR.js} +53 -51
  139. package/dist/{vue-ui-vertical-bar-CoReGxcB.cjs → vue-ui-vertical-bar-CwHag6jq.cjs} +2 -2
  140. package/dist/vue-ui-waffle-DuPI0NV4.cjs +1 -0
  141. package/dist/{vue-ui-waffle-DEs7x_2T.js → vue-ui-waffle-sr2mWvpN.js} +50 -48
  142. package/dist/{vue-ui-wheel-g8X99gKX.js → vue-ui-wheel-B7DOHXW8.js} +22 -20
  143. package/dist/vue-ui-wheel-C0KYRHGC.cjs +1 -0
  144. package/dist/vue-ui-word-cloud-BCPMmXhU.cjs +1 -0
  145. package/dist/{vue-ui-word-cloud-CVa0GWD2.js → vue-ui-word-cloud-BxMb7oCr.js} +47 -45
  146. package/dist/vue-ui-xy-D5ROTNHD.cjs +3 -0
  147. package/dist/{vue-ui-xy-BGlQK1KX.js → vue-ui-xy-DlyUTKB5.js} +809 -818
  148. package/dist/{vue-ui-xy-canvas-B8lWHhig.cjs → vue-ui-xy-canvas-BDMk6XVE.cjs} +2 -2
  149. package/dist/{vue-ui-xy-canvas-C5WvLq7x.js → vue-ui-xy-canvas-DHvkJKQH.js} +36 -34
  150. package/package.json +1 -1
  151. package/dist/vue-ui-age-pyramid-DZM35V2u.cjs +0 -1
  152. package/dist/vue-ui-donut-B1pUA9f9.cjs +0 -1
  153. package/dist/vue-ui-dumbbell-Cvsoh0T7.cjs +0 -9
  154. package/dist/vue-ui-funnel-BuMkpJAC.cjs +0 -1
  155. package/dist/vue-ui-gauge-BE_j4sWG.cjs +0 -1
  156. package/dist/vue-ui-history-plot-CCRPcG-q.cjs +0 -1
  157. package/dist/vue-ui-quadrant-BseIxY55.cjs +0 -1
  158. package/dist/vue-ui-radar-BRL3W3Na.cjs +0 -1
  159. package/dist/vue-ui-relation-circle-lh7NE0h5.cjs +0 -1
  160. package/dist/vue-ui-scatter-ebuihNvY.cjs +0 -1
  161. package/dist/vue-ui-sparkline-BiqTIIb1.cjs +0 -1
  162. package/dist/vue-ui-strip-plot-y7iID0n4.cjs +0 -1
  163. package/dist/vue-ui-timer-mYvuMMWA.cjs +0 -64
  164. package/dist/vue-ui-treemap-CE67vTLK.cjs +0 -1
  165. package/dist/vue-ui-waffle-8nA0-Wb6.cjs +0 -1
  166. package/dist/vue-ui-wheel-CJr7fA0P.cjs +0 -1
  167. package/dist/vue-ui-word-cloud-B6swJJCN.cjs +0 -1
  168. package/dist/vue-ui-xy-lkMHpHRs.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-CFW17vb1.js";
2
- import { D as Ge } from "./DataTable-DYhXzoFM.js";
3
- import { _ as ve } from "./Title-C_gOJvlv.js";
4
- import { _ as ze, u as Me } from "./Tooltip-Czv48jTt.js";
5
- import { U as pe } from "./usePrinter-19frcFuH.js";
6
- import { _ as Te } from "./Shape-Bit--n_P.js";
7
- import Pe from "./BaseIcon-I6DfuN0D.js";
8
- import Ve from "./vue-ui-table-sparkline-Cgt7aEwb.js";
9
- import Re from "./vue-ui-skeleton-RRyod9qq.js";
10
- import { S as De } from "./Slicer-BIRZ38gw.js";
11
- import He from "./vue-ui-accordion-B8vShfXi.js";
12
- import { u as Z } from "./useNestedProp-HPB1YHuD.js";
13
- import { _ as Be } from "./PackageVersion-CO2IMTO9.js";
14
- import { P as We } from "./PenAndPaper-CnW2eqXw.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-CXx0JV8R.js";
2
+ import { D as ze } from "./DataTable-BfiPjHpN.js";
3
+ import { _ as Me } from "./Title-ClQ27HaB.js";
4
+ import { _ as pe, u as Te } from "./Tooltip-CGYgJoPR.js";
5
+ import { U as Pe } from "./usePrinter-Ctor1UK0.js";
6
+ import { _ as Ve } from "./Shape-Dmv7nCLC.js";
7
+ import Re from "./BaseIcon-CdPe2CAc.js";
8
+ import De from "./vue-ui-table-sparkline-D5lngzCM.js";
9
+ import He from "./vue-ui-skeleton-Cw0-Ac_0.js";
10
+ import { S as Be } from "./Slicer-D4ugcR39.js";
11
+ import We from "./vue-ui-accordion-BljYKOXR.js";
12
+ import { u as Z } from "./useNestedProp-B-WAbP7E.js";
13
+ import { _ as Ee } from "./PackageVersion-qom4AEUr.js";
14
+ import { P as Ye } from "./PenAndPaper-C-1AU46J.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,7 +140,7 @@ const Je = J(), Qe = {
140
140
  deep: !0
141
141
  },
142
142
  config: {
143
- handler(i, l) {
143
+ handler(r, l) {
144
144
  this.FINAL_CONFIG = this.prepareConfig(), this.prepareChart(), this.titleStep += 1, this.tableStep += 1;
145
145
  },
146
146
  deep: !0
@@ -157,9 +157,9 @@ const Je = J(), Qe = {
157
157
  },
158
158
  minimap() {
159
159
  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 = [];
160
+ const r = this.datasetWithIds.filter((t) => !this.segregatedSeries.includes(t.id)), l = Math.max(...r.map((t) => t.series.length)), o = [];
161
161
  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));
162
+ o.push(r.map((e) => e.series[t] || 0).reduce((e, N) => (e || 0) + (N || 0), 0));
163
163
  const d = Math.min(...o);
164
164
  return o.map((t) => t + (d < 0 ? Math.abs(d) : 0));
165
165
  },
@@ -173,7 +173,7 @@ const Je = J(), Qe = {
173
173
  return this.FINAL_CONFIG.chart.zoom.color;
174
174
  },
175
175
  allScales() {
176
- const i = this.lineSet.map((t) => ({
176
+ const r = this.lineSet.map((t) => ({
177
177
  name: t.name,
178
178
  color: t.color,
179
179
  scale: t.individualScale,
@@ -208,8 +208,8 @@ const Je = J(), Qe = {
208
208
  id: t.id,
209
209
  yOffset: t.yOffset || 0,
210
210
  individualHeight: t.individualHeight || this.drawingArea.height
211
- })), d = [...i, ...l, ...o].flatMap((t) => t).length;
212
- return [...i, ...l, ...o].flatMap((t, e) => ({
211
+ })), d = [...r, ...l, ...o].flatMap((t) => t).length;
212
+ return [...r, ...l, ...o].flatMap((t, e) => ({
213
213
  id: t.id,
214
214
  scaleLabel: t.scaleLabel,
215
215
  name: t.name,
@@ -228,19 +228,19 @@ const Je = J(), Qe = {
228
228
  return !!this.dataset && this.dataset.length;
229
229
  },
230
230
  chartFont() {
231
- const i = document.getElementById(`vue-ui-xy_${this.uniqueId}`);
232
- return window.getComputedStyle(i, null).getPropertyValue("font-family");
231
+ const r = document.getElementById(`vue-ui-xy_${this.uniqueId}`);
232
+ return window.getComputedStyle(r, null).getPropertyValue("font-family");
233
233
  },
234
234
  FINAL_CONFIG: {
235
235
  get: function() {
236
236
  return this.prepareConfig();
237
237
  },
238
- set: function(i) {
239
- return i;
238
+ set: function(r) {
239
+ return r;
240
240
  }
241
241
  },
242
242
  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;
243
+ 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
244
  },
245
245
  highlightAreas() {
246
246
  if (Array.isArray(this.FINAL_CONFIG.chart.highlightArea))
@@ -248,8 +248,8 @@ const Je = J(), Qe = {
248
248
  ...l,
249
249
  span: l.from === l.to ? 1 : l.to < l.from ? 0 : l.to - l.from + 1
250
250
  }));
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 }];
251
+ const r = this.FINAL_CONFIG.chart.highlightArea;
252
+ return [{ ...r, span: r.from === r.to ? 1 : r.to < r.from ? 0 : r.to - r.from + 1 }];
253
253
  },
254
254
  xPadding() {
255
255
  return this.FINAL_CONFIG.chart.grid.position === "middle" ? 0 : this.drawingArea.width / this.maxSeries / 2;
@@ -261,44 +261,44 @@ const Je = J(), Qe = {
261
261
  return this.niceScale.max + this.relativeZero;
262
262
  },
263
263
  datasetWithIds() {
264
- return this.useSafeValues ? this.dataset.map((i, l) => ({
265
- ...i,
264
+ return this.useSafeValues ? this.dataset.map((r, l) => ({
265
+ ...r,
266
266
  series: this.largestTriangleThreeBucketsArray({
267
- data: i.series,
267
+ data: r.series,
268
268
  threshold: this.FINAL_CONFIG.downsample.threshold
269
269
  }),
270
270
  id: `uniqueId_${l}`
271
271
  })) : this.dataset;
272
272
  },
273
273
  safeDataset() {
274
- return this.useSafeValues ? this.dataset.map((i, l) => {
274
+ return this.useSafeValues ? this.dataset.map((r, l) => {
275
275
  const o = this.largestTriangleThreeBucketsArray({
276
- data: i.series,
276
+ data: r.series,
277
277
  threshold: this.FINAL_CONFIG.downsample.threshold
278
278
  });
279
279
  return {
280
- ...i,
280
+ ...r,
281
281
  slotAbsoluteIndex: l,
282
282
  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]),
283
+ color: this.convertColorToHex(r.color ? r.color : this.customPalette[l] ? this.customPalette[l] : this.palette[l]),
284
284
  id: `uniqueId_${l}`
285
285
  };
286
286
  }) : this.dataset;
287
287
  },
288
288
  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));
289
+ return this.safeDataset.map((r, l) => ({
290
+ ...r,
291
+ series: r.series.map((o) => o + this.relativeZero),
292
+ absoluteValues: r.series
293
+ })).filter((r) => !this.segregatedSeries.includes(r.id));
294
294
  },
295
295
  tableSparklineDataset() {
296
- return this.relativeDataset.map((i) => {
297
- const l = i.absoluteValues.map((o) => [void 0, null].includes(o) ? 0 : o);
296
+ return this.relativeDataset.map((r) => {
297
+ const l = r.absoluteValues.map((o) => [void 0, null].includes(o) ? 0 : o);
298
298
  return {
299
- id: i.id,
300
- name: i.name,
301
- color: i.color,
299
+ id: r.id,
300
+ name: r.name,
301
+ color: r.color,
302
302
  values: this.fillArray(this.maxSeries, l)
303
303
  };
304
304
  });
@@ -330,75 +330,75 @@ const Je = J(), Qe = {
330
330
  };
331
331
  },
332
332
  absoluteDataset() {
333
- return this.safeDataset.map((i, l) => ({
333
+ return this.safeDataset.map((r, l) => ({
334
334
  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)
335
+ ...r,
336
+ series: r.series.map((o) => o + this.relativeZero),
337
+ absoluteValues: r.series,
338
+ segregate: () => this.segregate(r),
339
+ isSegregated: this.segregatedSeries.includes(r.id)
340
340
  }));
341
341
  },
342
342
  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)),
343
+ return this.activeSeriesWithStackRatios.filter((r) => r.type === "bar").map((r, l) => {
344
+ this.checkAutoScaleError(r);
345
+ 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 = {
346
+ ratios: r.absoluteValues.filter((x) => ![null, void 0].includes(x)).map((x) => (x - o) / (d - o)),
347
347
  valueMin: o,
348
348
  valueMax: d < 0 ? 0 : d
349
349
  }, 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;
350
+ max: r.scaleMax || Math.max(...r.absoluteValues) || 1,
351
+ 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)))
352
+ }, _ = 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) => {
353
+ 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
354
  return {
355
355
  yOffset: this.checkNaN(F),
356
356
  individualHeight: this.checkNaN(C),
357
- x: this.checkNaN(S),
357
+ x: this.checkNaN(L),
358
358
  y: this.drawingArea.bottom - F - C * y,
359
- value: i.absoluteValues[p],
359
+ value: r.absoluteValues[p],
360
360
  zeroPosition: this.checkNaN(T),
361
361
  individualMax: this.checkNaN(z),
362
- comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[p] || ""
362
+ comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[p] || ""
363
363
  };
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;
364
+ }), 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) => {
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((L) => L.type === "bar").filter((L) => !this.segregatedSeries.includes(L.id)).length;
366
366
  return {
367
367
  yOffset: this.checkNaN(F),
368
368
  individualHeight: this.checkNaN(C),
369
369
  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],
370
+ y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(F) - (this.checkNaN(C) * f[p] || 0)),
371
+ value: r.absoluteValues[p],
372
372
  zeroPosition: this.checkNaN(T),
373
373
  individualMax: this.checkNaN(z),
374
- comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[p] || ""
374
+ comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[p] || ""
375
375
  };
376
376
  }), A = I.ticks.map((x) => ({
377
377
  y: x >= 0 ? T - C * (x / z) : T + C * Math.abs(x) / z,
378
378
  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
379
+ prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
380
+ suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
381
+ datapoint: r
382
382
  })), M = b.ticks.map((x) => {
383
383
  const p = (x - b.min) / (b.max - b.min);
384
384
  return {
385
- y: x >= 0 ? r - C * p : r + C * p,
385
+ y: x >= 0 ? i - C * p : i + C * p,
386
386
  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
387
+ prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
388
+ suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
389
+ datapoint: r
390
390
  };
391
391
  });
392
392
  return {
393
- ...i,
393
+ ...r,
394
394
  yOffset: F,
395
395
  autoScaleYLabels: M,
396
396
  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
397
+ scaleYLabels: r.autoScaling ? M : A,
398
+ individualScale: r.autoScaling ? b : I,
399
+ individualMax: r.autoScaling ? G : z,
400
+ zeroPosition: r.autoScaling ? i : T,
401
+ plots: r.autoScaling ? E : n
402
402
  };
403
403
  });
404
404
  },
@@ -406,139 +406,139 @@ const Je = J(), Qe = {
406
406
  return this.absoluteDataset.length;
407
407
  },
408
408
  activeSeriesWithStackRatios() {
409
- return this.assignStackRatios(this.absoluteDataset.filter((i) => !this.segregatedSeries.includes(i.id)));
409
+ return this.assignStackRatios(this.absoluteDataset.filter((r) => !this.segregatedSeries.includes(r.id)));
410
410
  },
411
411
  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)),
412
+ return this.activeSeriesWithStackRatios.filter((r) => r.type === "line").map((r) => {
413
+ this.checkAutoScaleError(r);
414
+ 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 = {
415
+ ratios: r.absoluteValues.filter((y) => ![null, void 0].includes(y)).map((y) => (y - l) / (o - l)),
416
416
  valueMin: l,
417
417
  valueMax: o
418
418
  }, 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);
419
+ max: r.scaleMax || Math.max(...r.absoluteValues) || 1,
420
+ min: r.scaleMin || (Math.min(...r.absoluteValues) > 0 ? 0 : Math.min(...r.absoluteValues))
421
+ }, 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) => {
422
+ const j = this.mutableConfig.useIndividualScale ? (r.absoluteValues[L] + Math.abs(b)) / v : this.ratioToMax(y);
423
423
  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] || ""
424
+ x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * L),
425
+ y: this.checkNaN(this.drawingArea.bottom - G - F * j),
426
+ value: r.absoluteValues[L],
427
+ comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[L] || ""
428
428
  };
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),
429
+ }), 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]) ? {
430
+ x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * L),
431
431
  y: C,
432
- value: i.absoluteValues[S],
433
- comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[S] || ""
432
+ value: r.absoluteValues[L],
433
+ comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[L] || ""
434
434
  } : {
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) => ({
435
+ x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * L),
436
+ y: this.checkNaN(this.drawingArea.bottom - G - (F * h[L] || 0)),
437
+ value: r.absoluteValues[L],
438
+ comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[L] || ""
439
+ }), f = this.createSmoothPath(i), E = this.createSmoothPath(n), A = this.createStraightPath(i), M = this.createStraightPath(n), x = w.ticks.map((y) => ({
440
440
  y: y >= 0 ? C - F * (y / v) : C + F * Math.abs(y) / v,
441
441
  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
442
+ prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
443
+ suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
444
+ datapoint: r
445
445
  })), p = I.ticks.map((y) => {
446
- const S = (y - I.min) / (I.max - I.min);
446
+ const L = (y - I.min) / (I.max - I.min);
447
447
  return {
448
- y: y >= 0 ? T - F * S : T + F * S,
448
+ y: y >= 0 ? T - F * L : T + F * L,
449
449
  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
450
+ prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
451
+ suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
452
+ datapoint: r
453
453
  };
454
454
  });
455
455
  return {
456
- ...i,
456
+ ...r,
457
457
  yOffset: G,
458
458
  autoScaleYLabels: p,
459
459
  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
460
+ scaleYLabels: r.autoScaling ? p : x,
461
+ individualScale: r.autoScaling ? I : w,
462
+ individualMax: r.autoScaling ? z : v,
463
+ zeroPosition: r.autoScaling ? T : C,
464
+ curve: r.autoScaling ? E : f,
465
+ plots: r.autoScaling ? n : i,
466
+ area: r.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(r.autoScaling ? n : i, r.autoScaling ? T : C) : this.createArea(i) : "",
467
+ straight: r.autoScaling ? M : A
468
468
  };
469
469
  });
470
470
  },
471
471
  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)),
472
+ return this.activeSeriesWithStackRatios.filter((r) => r.type === "plot").map((r) => {
473
+ this.checkAutoScaleError(r);
474
+ 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 = {
475
+ ratios: r.absoluteValues.filter((A) => ![null, void 0].includes(A)).map((A) => (A - l) / (o - l)),
476
476
  valueMin: l,
477
477
  valueMax: o
478
478
  }, 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);
479
+ max: r.scaleMax || Math.max(...r.absoluteValues) || 1,
480
+ min: r.scaleMin || Math.min(...r.absoluteValues) > 0 ? 0 : Math.min(...r.absoluteValues)
481
+ }, 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) => {
482
+ const x = this.mutableConfig.useIndividualScale ? (r.absoluteValues[M] + Math.abs(b)) / v : this.ratioToMax(A);
483
483
  return {
484
484
  x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * M),
485
485
  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] || ""
486
+ value: r.absoluteValues[M],
487
+ comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[M] || ""
488
488
  };
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) => ({
489
+ }), 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
490
  x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * M),
491
491
  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) => ({
492
+ value: r.absoluteValues[M],
493
+ comment: r.comments && r.comments.slice(this.slicer.start, this.slicer.end)[M] || ""
494
+ })), f = w.ticks.map((A) => ({
495
495
  y: A >= 0 ? C - F * (A / v) : C + F * Math.abs(A) / v,
496
496
  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) => {
497
+ prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
498
+ suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
499
+ datapoint: r
500
+ })), E = I.ticks.map((A) => {
501
501
  const M = (A - I.min) / (I.max - I.min);
502
502
  return {
503
503
  y: A >= 0 ? T - F * M : T + F * M,
504
504
  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
505
+ prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
506
+ suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix,
507
+ datapoint: r
508
508
  };
509
509
  });
510
510
  return {
511
- ...i,
511
+ ...r,
512
512
  yOffset: G,
513
- autoScaleYLabels: Y,
513
+ autoScaleYLabels: E,
514
514
  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
515
+ scaleYLabels: r.autoScaling ? E : f,
516
+ individualScale: r.autoScaling ? I : w,
517
+ individualMax: r.autoScaling ? z : v,
518
+ zeroPosition: r.autoScaling ? T : C,
519
+ plots: r.autoScaling ? n : i
520
520
  };
521
521
  });
522
522
  },
523
523
  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;
524
+ 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
525
  return {
526
526
  top: this.FINAL_CONFIG.chart.padding.top,
527
527
  right: this.width - this.FINAL_CONFIG.chart.padding.right,
528
528
  bottom: this.height - this.FINAL_CONFIG.chart.padding.bottom,
529
- left: this.FINAL_CONFIG.chart.padding.left + i,
529
+ left: this.FINAL_CONFIG.chart.padding.left + r,
530
530
  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)
531
+ width: this.width - (this.FINAL_CONFIG.chart.padding.right + this.FINAL_CONFIG.chart.padding.left + r)
532
532
  };
533
533
  },
534
534
  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)));
535
+ 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
536
  },
537
537
  min() {
538
538
  if (this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin !== null)
539
539
  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;
540
+ const r = Math.min(...this.safeDataset.filter((l) => !this.segregatedSeries.includes(l.id)).map((l) => Math.min(...l.series)));
541
+ return r > 0 ? 0 : r;
542
542
  },
543
543
  niceScale() {
544
544
  return this.calculateNiceScaleWithExactExtremes(this.min, this.max < 0 ? 0 : this.max, this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps);
@@ -547,8 +547,8 @@ const Je = J(), Qe = {
547
547
  return this.slicer.end - this.slicer.start;
548
548
  },
549
549
  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)
550
+ const r = 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 < r; o += 1)
552
552
  l.push({
553
553
  text: this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[o] || String(o),
554
554
  absoluteIndex: o
@@ -557,24 +557,24 @@ const Je = J(), Qe = {
557
557
  },
558
558
  slot() {
559
559
  return {
560
- bar: this.drawingArea.width / this.maxSeries / this.safeDataset.filter((i) => i.type === "bar").filter((i) => !this.segregatedSeries.includes(i.id)).length,
560
+ bar: this.drawingArea.width / this.maxSeries / this.safeDataset.filter((r) => r.type === "bar").filter((r) => !this.segregatedSeries.includes(r.id)).length,
561
561
  plot: this.drawingArea.width / this.maxSeries,
562
562
  line: this.drawingArea.width / this.maxSeries
563
563
  };
564
564
  },
565
565
  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;
566
+ const r = this.safeDataset.filter((l) => l.type === "bar").filter((l) => !this.segregatedSeries.includes(l.id)).length;
567
+ return this.drawingArea.width / this.maxSeries / r - this.barPeriodGap * r;
568
568
  },
569
569
  barPeriodGap() {
570
570
  return this.slot.line * this.FINAL_CONFIG.bar.periodGap;
571
571
  },
572
572
  maxSlot() {
573
- return Math.max(...Object.values(this.slot).filter((i) => i !== 1 / 0));
573
+ return Math.max(...Object.values(this.slot).filter((r) => r !== 1 / 0));
574
574
  },
575
575
  table() {
576
576
  if (this.safeDataset.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
577
- const i = this.relativeDataset.map((o) => ({
577
+ const r = this.relativeDataset.map((o) => ({
578
578
  label: o.name,
579
579
  color: o.color,
580
580
  type: o.type
@@ -584,15 +584,15 @@ const Je = J(), Qe = {
584
584
  this.relativeDataset.forEach((e) => {
585
585
  t.push(this.canShowValue(e.absoluteValues[d]) ? Number(e.absoluteValues[d].toFixed(this.FINAL_CONFIG.table.rounding)) : "");
586
586
  }), l.push(t);
587
- }), { head: i, body: l };
587
+ }), { head: r, body: l };
588
588
  },
589
589
  dataTable() {
590
- const i = this.FINAL_CONFIG.table.showSum;
590
+ const r = this.FINAL_CONFIG.table.showSum;
591
591
  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>'));
592
+ 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
593
  let o = [];
594
594
  for (let e = 0; e < this.maxSeries; e += 1) {
595
- const N = this.relativeDataset.map((_) => _.absoluteValues[e] ?? 0).reduce((_, O) => _ + O, 0);
595
+ const N = this.relativeDataset.map((_) => _.absoluteValues[e] ?? 0).reduce((_, w) => _ + w, 0);
596
596
  o.push(
597
597
  [
598
598
  this.timeLabels[e].text ?? "-"
@@ -607,7 +607,7 @@ const Je = J(), Qe = {
607
607
  r: this.FINAL_CONFIG.table.rounding
608
608
  })
609
609
  )
610
- )).concat(i ? (N ?? 0).toFixed(this.FINAL_CONFIG.table.rounding) : [])
610
+ )).concat(r ? (N ?? 0).toFixed(this.FINAL_CONFIG.table.rounding) : [])
611
611
  );
612
612
  }
613
613
  const d = {
@@ -637,20 +637,20 @@ const Je = J(), Qe = {
637
637
  };
638
638
  },
639
639
  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
640
+ return this.relativeDataset.map((r) => ({
641
+ slotAbsoluteIndex: r.slotAbsoluteIndex,
642
+ shape: r.shape || null,
643
+ name: r.name,
644
+ color: r.color,
645
+ type: r.type,
646
+ value: r.absoluteValues.find((l, o) => o === this.selectedSerieIndex),
647
+ comments: r.comments || [],
648
+ prefix: r.prefix || this.FINAL_CONFIG.chart.labels.prefix,
649
+ suffix: r.suffix || this.FINAL_CONFIG.chart.labels.suffix
650
650
  }));
651
651
  },
652
652
  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);
653
+ 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
654
  const o = this.timeLabels[this.selectedSerieIndex], d = this.FINAL_CONFIG.chart.tooltip.customFormat;
655
655
  return this.isFunction(d) && this.functionReturnsString(() => d({
656
656
  seriesIndex: this.selectedSerieIndex,
@@ -668,7 +668,7 @@ const Je = J(), Qe = {
668
668
  lines: this.lineSet,
669
669
  plots: this.plotSet,
670
670
  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) => {
671
+ }) : (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
672
  if (this.isSafeValue(t.value)) {
673
673
  let e = "", N = "";
674
674
  switch (this.icons[t.type]) {
@@ -676,7 +676,7 @@ const Je = J(), Qe = {
676
676
  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
677
  break;
678
678
  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>`;
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="${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
680
  break;
681
681
  case "plot":
682
682
  if (!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape)) {
@@ -688,27 +688,27 @@ const Je = J(), Qe = {
688
688
  break;
689
689
  }
690
690
  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>`;
691
+ 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
692
  break;
693
693
  }
694
694
  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>`;
695
+ 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
696
  break;
697
697
  }
698
698
  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>`;
699
+ 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
700
  break;
701
701
  }
702
702
  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>`;
703
+ 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
704
  break;
705
705
  }
706
706
  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>`;
707
+ 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
708
  break;
709
709
  }
710
710
  }
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(
711
+ 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
712
  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
713
  t.value,
714
714
  this.dataLabel({
@@ -722,9 +722,9 @@ const Je = J(), Qe = {
722
722
  v: this.checkNaN(Math.abs(t.value) / l * 100),
723
723
  s: "%",
724
724
  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>`);
725
+ })})` : ""}</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
726
  }
727
- }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${this.FINAL_CONFIG.chart.tooltip.color}">${i}</div>`);
727
+ }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${this.FINAL_CONFIG.chart.tooltip.color}">${r}</div>`);
728
728
  },
729
729
  svg() {
730
730
  return {
@@ -733,9 +733,9 @@ const Je = J(), Qe = {
733
733
  };
734
734
  },
735
735
  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,
736
+ return this.niceScale.ticks.map((r) => ({
737
+ y: r >= 0 ? this.zero - this.drawingArea.height * this.ratioToMax(r) : this.zero + this.drawingArea.height * this.ratioToMax(Math.abs(r)),
738
+ value: r,
739
739
  prefix: this.FINAL_CONFIG.chart.labels.prefix,
740
740
  suffix: this.FINAL_CONFIG.chart.labels.suffix
741
741
  }));
@@ -745,52 +745,52 @@ const Je = J(), Qe = {
745
745
  }
746
746
  },
747
747
  mounted() {
748
- this.prepareChart(), this.setupSlicer(), document.addEventListener("mousemove", (i) => {
748
+ this.prepareChart(), this.setupSlicer(), document.addEventListener("mousemove", (r) => {
749
749
  this.clientPosition = {
750
- x: i.clientX,
751
- y: i.clientY
750
+ x: r.clientX,
751
+ y: r.clientY
752
752
  };
753
753
  });
754
754
  },
755
755
  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,
756
+ abbreviate: ie,
757
+ adaptColorToBackground: ae,
758
+ applyDataLabel: le,
759
+ assignStackRatios: se,
760
+ calcLinearProgression: ne,
761
+ calculateNiceScaleWithExactExtremes: he,
762
+ checkNaN: oe,
763
+ closestDecimal: ce,
764
+ convertColorToHex: de,
765
+ convertConfigColors: ue,
766
+ convertCustomPalette: ge,
767
+ createCsvContent: fe,
768
+ createSmoothPath: Ie,
769
+ createStraightPath: me,
770
+ createTSpans: Ne,
771
771
  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,
772
+ downloadCsv: xe,
773
+ error: be,
774
+ forceValidValue: Fe,
775
+ functionReturnsString: _e,
776
+ hasDeepProperty: Ae,
777
+ isFunction: ye,
778
+ isSafeValue: Ce,
779
+ largestTriangleThreeBucketsArray: Le,
780
+ objectIsEmpty: Se,
781
+ setOpacity: ke,
782
+ shiftHue: we,
783
+ translateSize: Oe,
784
+ treeShake: Ge,
785
+ useMouse: Te,
786
786
  useNestedProp: Z,
787
- setUserOptionsVisibility(i = !1) {
788
- this.showUserOptionsOnChartHover && (this.userOptionsVisible = i);
787
+ setUserOptionsVisibility(r = !1) {
788
+ this.showUserOptionsOnChartHover && (this.userOptionsVisible = r);
789
789
  },
790
790
  toggleAnnotator() {
791
791
  this.isAnnotator = !this.isAnnotator;
792
792
  },
793
- selectTimeLabel(i, l) {
793
+ selectTimeLabel(r, l) {
794
794
  const o = this.relativeDataset.map((d) => ({
795
795
  shape: d.shape || null,
796
796
  name: d.name,
@@ -803,24 +803,24 @@ const Je = J(), Qe = {
803
803
  }));
804
804
  this.$emit("selectTimeLabel", {
805
805
  datapoint: o,
806
- absoluteIndex: i.absoluteIndex,
807
- label: i.text
806
+ absoluteIndex: r.absoluteIndex,
807
+ label: r.text
808
808
  });
809
809
  },
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;
810
+ getHighlightAreaPosition(r) {
811
+ 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
812
  return {
813
813
  x: l < this.drawingArea.left ? this.drawingArea.left : l,
814
814
  width: o
815
815
  };
816
816
  },
817
817
  prepareConfig() {
818
- const i = Oe().vue_ui_xy;
818
+ const r = ve().vue_ui_xy;
819
819
  if (!Object.keys(this.config || {}).length)
820
- return i;
820
+ return r;
821
821
  const l = this.useNestedProp({
822
822
  userConfig: this.config,
823
- defaultConfig: i
823
+ defaultConfig: r
824
824
  });
825
825
  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
826
  ...Z({
@@ -834,17 +834,17 @@ const Je = J(), Qe = {
834
834
  if (this.objectIsEmpty(this.dataset) ? this.error({
835
835
  componentName: "VueUiXy",
836
836
  type: "dataset"
837
- }) : this.dataset.forEach((i, l) => {
838
- [null, void 0].includes(i.name) && this.error({
837
+ }) : this.dataset.forEach((r, l) => {
838
+ [null, void 0].includes(r.name) && this.error({
839
839
  componentName: "VueUiXy",
840
840
  type: "datasetSerieAttribute",
841
841
  property: "name (string)",
842
842
  index: l
843
843
  });
844
- }), this.FINAL_CONFIG.showWarnings && this.dataset.forEach((i) => {
845
- i.series.forEach((l, o) => {
844
+ }), this.FINAL_CONFIG.showWarnings && this.dataset.forEach((r) => {
845
+ r.series.forEach((l, o) => {
846
846
  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}.
847
+ -----> The serie '${r.name}' contains the value '${l}' at index ${o}.
848
848
  '${l}' was converted to null to allow the chart to display.`);
849
849
  });
850
850
  }), 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,20 +861,22 @@ const Je = J(), Qe = {
861
861
  this.FINAL_CONFIG.chart.title.show && (t = this.$refs.chartTitle, e = t.getBoundingClientRect().height);
862
862
  let N = null, _ = 0;
863
863
  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);
864
+ let w = null, I = 0;
865
+ this.FINAL_CONFIG.chart.legend.show && (w = this.$refs.chartLegend, I = w.getBoundingClientRect().height);
866
866
  let b = 0;
867
867
  this.$refs.source && (b = this.$refs.source.getBoundingClientRect().height);
868
868
  let V = 0;
869
869
  this.$refs.noTitle && (V = this.$refs.noTitle.getBoundingClientRect().height), this.height = o - e - I - _ - b - V, this.width = d, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((z) => {
870
870
  for (const G of z)
871
- this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (_ = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (I = this.$refs.chartLegend.getBoundingClientRect().height), this.$refs.source && (b = this.$refs.source.getBoundingClientRect().height), this.height = G.contentBoxSize[0].blockSize - e - I - _ - b - 24, this.width = G.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
871
+ this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (_ = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (I = this.$refs.chartLegend.getBoundingClientRect().height), this.$refs.source && (b = this.$refs.source.getBoundingClientRect().height), requestAnimationFrame(() => {
872
+ this.height = G.contentBoxSize[0].blockSize - e - I - _ - b - 24, this.width = G.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
873
+ });
872
874
  }).observe(l);
873
875
  } else
874
876
  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;
875
877
  },
876
- selectMinimapIndex(i) {
877
- this.selectedMinimapIndex = i;
878
+ selectMinimapIndex(r) {
879
+ this.selectedMinimapIndex = r;
878
880
  },
879
881
  convertSizes() {
880
882
  this.fontSizes.dataLabels = this.translateSize({
@@ -927,106 +929,106 @@ const Je = J(), Qe = {
927
929
  toggleTooltip() {
928
930
  this.mutableConfig.showTooltip = !this.mutableConfig.showTooltip;
929
931
  },
930
- checkAutoScaleError(i) {
931
- 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`));
932
+ checkAutoScaleError(r) {
933
+ 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`));
932
934
  },
933
- createArea(i) {
934
- if (!i[0]) return [-10, -10, "", -10, -10];
935
- const l = { x: i[0].x, y: this.zero }, o = { x: i.at(-1).x, y: this.zero }, d = [];
936
- return i.forEach((t) => {
935
+ createArea(r) {
936
+ if (!r[0]) return [-10, -10, "", -10, -10];
937
+ const l = { x: r[0].x, y: this.zero }, o = { x: r.at(-1).x, y: this.zero }, d = [];
938
+ return r.forEach((t) => {
937
939
  d.push(`${t.x},${t.y} `);
938
940
  }), [l.x, l.y, ...d, o.x, o.y].toString();
939
941
  },
940
- createIndividualArea(i, l) {
941
- if (!i[0]) return [-10, -10, "", -10, -10];
942
- 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 = [];
943
- return i.filter((e) => !!e).forEach((e) => {
942
+ createIndividualArea(r, l) {
943
+ if (!r[0]) return [-10, -10, "", -10, -10];
944
+ 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 = [];
945
+ return r.filter((e) => !!e).forEach((e) => {
944
946
  t.push(`${e.x},${e.y} `);
945
947
  }), [o.x, o.y, ...t, d.x, d.y].toString();
946
948
  },
947
949
  createStar: X,
948
- createPolygonPath: H,
949
- fillArray(i, l) {
950
- let o = Array(i).fill(0);
951
- for (let d = 0; d < l.length && d < i; d += 1)
950
+ createPolygonPath: D,
951
+ fillArray(r, l) {
952
+ let o = Array(r).fill(0);
953
+ for (let d = 0; d < l.length && d < r; d += 1)
952
954
  o[d] = l[d];
953
955
  return o;
954
956
  },
955
957
  async setupSlicer() {
956
958
  (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 = {
957
959
  start: 0,
958
- end: Math.max(...this.dataset.map((i) => this.largestTriangleThreeBucketsArray({ data: i.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length))
960
+ end: Math.max(...this.dataset.map((r) => this.largestTriangleThreeBucketsArray({ data: r.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length))
959
961
  }, this.slicerStep += 1);
960
962
  },
961
963
  refreshSlicer() {
962
964
  this.setupSlicer();
963
965
  },
964
- validSlicerEnd(i) {
966
+ validSlicerEnd(r) {
965
967
  const l = Math.max(...this.dataset.map((o) => this.largestTriangleThreeBucketsArray({ data: o.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length));
966
- 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;
968
+ 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;
967
969
  },
968
- calcRectHeight(i) {
970
+ calcRectHeight(r) {
969
971
  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;
970
- 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);
972
+ 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);
971
973
  },
972
- calcIndividualHeight(i) {
973
- 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);
974
+ calcIndividualHeight(r) {
975
+ 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);
974
976
  },
975
977
  calcRectWidth() {
976
978
  return this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.slot.line - this.drawingArea.width / this.maxSeries * 0.1 : this.slot.bar;
977
979
  },
978
- calcRectX(i) {
979
- return this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? i.x + this.drawingArea.width / this.maxSeries * 0.05 : i.x + this.slot.bar / 2;
980
+ calcRectX(r) {
981
+ return this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? r.x + this.drawingArea.width / this.maxSeries * 0.05 : r.x + this.slot.bar / 2;
980
982
  },
981
- calcRectY(i) {
982
- return i.value >= 0 ? i.y : this.zero;
983
+ calcRectY(r) {
984
+ return r.value >= 0 ? r.y : this.zero;
983
985
  },
984
- calcIndividualRectY(i) {
985
- return i.value >= 0 ? i.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(i.zeroPosition) ? 0 : i.zeroPosition;
986
+ calcIndividualRectY(r) {
987
+ return r.value >= 0 ? r.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(r.zeroPosition) ? 0 : r.zeroPosition;
986
988
  },
987
- canShowValue(i) {
988
- return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(i);
989
+ canShowValue(r) {
990
+ return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(r);
989
991
  },
990
- findClosestValue(i, l) {
991
- let o = l[0], d = Math.abs(i - l[0]);
992
+ findClosestValue(r, l) {
993
+ let o = l[0], d = Math.abs(r - l[0]);
992
994
  for (let t = 1; t < l.length; t += 1) {
993
- const e = Math.abs(i - l[t]);
994
- e < d && l[t] < i && (o = l[t], d = e);
995
+ const e = Math.abs(r - l[t]);
996
+ e < d && l[t] < r && (o = l[t], d = e);
995
997
  }
996
998
  return o;
997
999
  },
998
- ratioToMax(i) {
999
- return i / (this.canShowValue(this.absoluteMax) ? this.absoluteMax : 1);
1000
+ ratioToMax(r) {
1001
+ return r / (this.canShowValue(this.absoluteMax) ? this.absoluteMax : 1);
1000
1002
  },
1001
- selectX(i) {
1003
+ selectX(r) {
1002
1004
  this.$emit(
1003
1005
  "selectX",
1004
1006
  {
1005
1007
  dataset: this.relativeDataset.map((l) => ({
1006
1008
  name: l.name,
1007
- value: [null, void 0, NaN].includes(l.absoluteValues[i]) ? null : l.absoluteValues[i],
1009
+ value: [null, void 0, NaN].includes(l.absoluteValues[r]) ? null : l.absoluteValues[r],
1008
1010
  color: l.color,
1009
1011
  type: l.type
1010
1012
  })),
1011
- index: i,
1012
- indexLabel: this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[i]
1013
+ index: r,
1014
+ indexLabel: this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[r]
1013
1015
  }
1014
1016
  );
1015
1017
  },
1016
1018
  getData() {
1017
- return this.absoluteDataset.map((i) => ({
1018
- values: i.absoluteValues,
1019
- color: i.color,
1020
- name: i.name,
1021
- type: i.type
1019
+ return this.absoluteDataset.map((r) => ({
1020
+ values: r.absoluteValues,
1021
+ color: r.color,
1022
+ name: r.name,
1023
+ type: r.type
1022
1024
  }));
1023
1025
  },
1024
- segregate(i) {
1025
- if (this.segregatedSeries.includes(i.id))
1026
- this.segregatedSeries = this.segregatedSeries.filter((l) => l !== i.id);
1026
+ segregate(r) {
1027
+ if (this.segregatedSeries.includes(r.id))
1028
+ this.segregatedSeries = this.segregatedSeries.filter((l) => l !== r.id);
1027
1029
  else {
1028
1030
  if (this.segregatedSeries.length + 1 === this.safeDataset.length) return;
1029
- this.segregatedSeries.push(i.id);
1031
+ this.segregatedSeries.push(r.id);
1030
1032
  }
1031
1033
  this.$emit("selectLegend", this.relativeDataset.map((l) => ({
1032
1034
  name: l.name,
@@ -1035,11 +1037,11 @@ const Je = J(), Qe = {
1035
1037
  type: l.type
1036
1038
  }))), this.segregateStep += 1;
1037
1039
  },
1038
- toggleTooltipVisibility(i, l = null) {
1039
- this.isTooltip = i, i ? this.selectedSerieIndex = l : this.selectedSerieIndex = null;
1040
+ toggleTooltipVisibility(r, l = null) {
1041
+ this.isTooltip = r, r ? this.selectedSerieIndex = l : this.selectedSerieIndex = null;
1040
1042
  },
1041
- toggleFullscreen(i) {
1042
- this.isFullscreen = i, this.step += 1;
1043
+ toggleFullscreen(r) {
1044
+ this.isFullscreen = r, this.step += 1;
1043
1045
  },
1044
1046
  showSpinnerPdf() {
1045
1047
  this.isPrinting = !0;
@@ -1047,20 +1049,20 @@ const Je = J(), Qe = {
1047
1049
  async generatePdf() {
1048
1050
  this.showSpinnerPdf(), clearTimeout(this.__to__), this.isPrinting = !0, this.__to__ = setTimeout(async () => {
1049
1051
  try {
1050
- const { default: i } = await import("./pdf-B7oVat64.js");
1051
- await i({
1052
+ const { default: r } = await import("./pdf-B7oVat64.js");
1053
+ await r({
1052
1054
  domElement: document.getElementById(`vue-ui-xy_${this.uniqueId}`),
1053
1055
  fileName: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy"
1054
1056
  });
1055
- } catch (i) {
1056
- console.error("Error generating PDF:", i);
1057
+ } catch (r) {
1058
+ console.error("Error generating PDF:", r);
1057
1059
  } finally {
1058
1060
  this.isPrinting = !1;
1059
1061
  }
1060
1062
  }, 100);
1061
1063
  },
1062
1064
  generateCsv() {
1063
- 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);
1065
+ 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);
1064
1066
  this.downloadCsv({ csvContent: t, title: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy" });
1065
1067
  },
1066
1068
  showSpinnerImage() {
@@ -1069,14 +1071,14 @@ const Je = J(), Qe = {
1069
1071
  async generateImage() {
1070
1072
  this.showSpinnerImage(), clearTimeout(this.__to__), this.isImaging = !0, this.__to__ = setTimeout(async () => {
1071
1073
  try {
1072
- const { default: i } = await import("./img-DGzWcJ4Y.js");
1073
- await i({
1074
+ const { default: r } = await import("./img-DGzWcJ4Y.js");
1075
+ await r({
1074
1076
  domElement: document.getElementById(`vue-ui-xy_${this.uniqueId}`),
1075
1077
  fileName: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy",
1076
1078
  format: "png"
1077
1079
  });
1078
- } catch (i) {
1079
- console.error("Error generating image:", i);
1080
+ } catch (r) {
1081
+ console.error("Error generating image:", r);
1080
1082
  } finally {
1081
1083
  this.isImaging = !1;
1082
1084
  }
@@ -1088,48 +1090,51 @@ const Je = J(), Qe = {
1088
1090
  ref: "noTitle",
1089
1091
  class: "vue-data-ui-no-title-space",
1090
1092
  style: "height:36px; width: 100%; background:transparent"
1091
- }, $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 = {
1093
+ }, $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 = {
1094
+ key: 11,
1095
+ style: { "pointer-events": "none" }
1096
+ }, Wr = ["x", "y"], Er = ["cx", "cy", "r", "fill"], Yr = {
1092
1097
  key: 5,
1093
1098
  class: "vue-data-ui-watermark"
1094
- }, qi = ["onClick"], Xi = {
1099
+ }, qr = ["onClick"], Xr = {
1095
1100
  key: 0,
1096
1101
  viewBox: "0 0 20 12",
1097
1102
  height: "14",
1098
1103
  width: "20"
1099
- }, Ui = ["stroke", "fill"], Zi = {
1104
+ }, Ur = ["stroke", "fill"], Zr = {
1100
1105
  key: 1,
1101
1106
  viewBox: "0 0 40 40",
1102
1107
  height: "14",
1103
1108
  width: "14"
1104
- }, Ji = ["fill"], Qi = ["fill"], Ki = {
1109
+ }, Jr = ["fill"], Qr = ["fill"], Kr = {
1105
1110
  key: 2,
1106
1111
  viewBox: "0 0 12 12",
1107
1112
  height: "14",
1108
1113
  width: "14"
1109
- }, ji = {
1114
+ }, jr = {
1110
1115
  key: 9,
1111
1116
  ref: "chartLegend"
1112
- }, $i = {
1117
+ }, $r = {
1113
1118
  key: 10,
1114
1119
  ref: "source",
1115
1120
  dir: "auto"
1116
- }, er = {
1121
+ }, ei = {
1117
1122
  style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
1118
1123
  "data-html2canvas-ignore": ""
1119
- }, tr = ["innerHTML"];
1120
- function ir(i, l, o, d, t, e) {
1121
- 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");
1124
+ }, ti = ["innerHTML"];
1125
+ function ri(r, l, o, d, t, e) {
1126
+ 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");
1122
1127
  return a(), s("div", {
1123
1128
  id: `vue-ui-xy_${t.uniqueId}`,
1124
- class: D(`vue-ui-xy ${t.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
1129
+ class: B(`vue-ui-xy ${t.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
1125
1130
  ref: "chart",
1126
- 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%" : ""}`),
1131
+ 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%" : ""}`),
1127
1132
  onMouseenter: l[7] || (l[7] = () => e.setUserOptionsVisibility(!0)),
1128
1133
  onMouseleave: l[8] || (l[8] = () => e.setUserOptionsVisibility(!1))
1129
1134
  }, [
1130
- e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (a(), B(N, {
1135
+ e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (a(), H(N, {
1131
1136
  key: 0,
1132
- parent: i.$refs.chart,
1137
+ parent: r.$refs.chart,
1133
1138
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
1134
1139
  color: e.FINAL_CONFIG.chart.color,
1135
1140
  active: t.isAnnotator,
@@ -1140,9 +1145,9 @@ function ir(i, l, o, d, t, e) {
1140
1145
  key: 2,
1141
1146
  ref: "chartTitle",
1142
1147
  class: "vue-ui-xy-title",
1143
- style: L(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1148
+ style: O(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1144
1149
  }, [
1145
- (a(), B(_, {
1150
+ (a(), H(_, {
1146
1151
  key: `title_${t.titleStep}`,
1147
1152
  config: {
1148
1153
  title: {
@@ -1156,7 +1161,7 @@ function ir(i, l, o, d, t, e) {
1156
1161
  }
1157
1162
  }, null, 8, ["config"]))
1158
1163
  ], 4)) : c("", !0),
1159
- e.FINAL_CONFIG.chart.userOptions.show && e.isDataset && (t.keepUserOptionState || t.userOptionsVisible) ? (a(), B(O, {
1164
+ e.FINAL_CONFIG.chart.userOptions.show && e.isDataset && (t.keepUserOptionState || t.userOptionsVisible) ? (a(), H(w, {
1160
1165
  ref: "defails",
1161
1166
  key: `user_options_${t.step}`,
1162
1167
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
@@ -1174,7 +1179,7 @@ function ir(i, l, o, d, t, e) {
1174
1179
  hasFullscreen: e.FINAL_CONFIG.chart.userOptions.buttons.fullscreen,
1175
1180
  isStacked: t.mutableConfig.isStacked,
1176
1181
  isFullscreen: t.isFullscreen,
1177
- chartElement: i.$refs.chart,
1182
+ chartElement: r.$refs.chart,
1178
1183
  position: e.FINAL_CONFIG.chart.userOptions.position,
1179
1184
  isTooltip: t.mutableConfig.showTooltip,
1180
1185
  titles: { ...e.FINAL_CONFIG.chart.userOptions.buttonTitles },
@@ -1189,70 +1194,70 @@ function ir(i, l, o, d, t, e) {
1189
1194
  onToggleStack: e.toggleStack,
1190
1195
  onToggleTooltip: e.toggleTooltip,
1191
1196
  onToggleAnnotator: e.toggleAnnotator,
1192
- style: L({
1197
+ style: O({
1193
1198
  visibility: t.keepUserOptionState ? t.userOptionsVisible ? "visible" : "hidden" : "visible"
1194
1199
  })
1195
- }, Ee({ _: 2 }, [
1196
- i.$slots.optionTooltip ? {
1200
+ }, qe({ _: 2 }, [
1201
+ r.$slots.optionTooltip ? {
1197
1202
  name: "optionTooltip",
1198
1203
  fn: P(() => [
1199
- k(i.$slots, "optionTooltip", {}, void 0, !0)
1204
+ S(r.$slots, "optionTooltip", {}, void 0, !0)
1200
1205
  ]),
1201
1206
  key: "0"
1202
1207
  } : void 0,
1203
- i.$slots.optionPdf ? {
1208
+ r.$slots.optionPdf ? {
1204
1209
  name: "optionPdf",
1205
1210
  fn: P(() => [
1206
- k(i.$slots, "optionPdf", {}, void 0, !0)
1211
+ S(r.$slots, "optionPdf", {}, void 0, !0)
1207
1212
  ]),
1208
1213
  key: "1"
1209
1214
  } : void 0,
1210
- i.$slots.optionCsv ? {
1215
+ r.$slots.optionCsv ? {
1211
1216
  name: "optionCsv",
1212
1217
  fn: P(() => [
1213
- k(i.$slots, "optionCsv", {}, void 0, !0)
1218
+ S(r.$slots, "optionCsv", {}, void 0, !0)
1214
1219
  ]),
1215
1220
  key: "2"
1216
1221
  } : void 0,
1217
- i.$slots.optionImg ? {
1222
+ r.$slots.optionImg ? {
1218
1223
  name: "optionImg",
1219
1224
  fn: P(() => [
1220
- k(i.$slots, "optionImg", {}, void 0, !0)
1225
+ S(r.$slots, "optionImg", {}, void 0, !0)
1221
1226
  ]),
1222
1227
  key: "3"
1223
1228
  } : void 0,
1224
- i.$slots.optionTable ? {
1229
+ r.$slots.optionTable ? {
1225
1230
  name: "optionTable",
1226
1231
  fn: P(() => [
1227
- k(i.$slots, "optionTable", {}, void 0, !0)
1232
+ S(r.$slots, "optionTable", {}, void 0, !0)
1228
1233
  ]),
1229
1234
  key: "4"
1230
1235
  } : void 0,
1231
- i.$slots.optionLabels ? {
1236
+ r.$slots.optionLabels ? {
1232
1237
  name: "optionLabels",
1233
1238
  fn: P(() => [
1234
- k(i.$slots, "optionLabels", {}, void 0, !0)
1239
+ S(r.$slots, "optionLabels", {}, void 0, !0)
1235
1240
  ]),
1236
1241
  key: "5"
1237
1242
  } : void 0,
1238
- i.$slots.optionStack ? {
1243
+ r.$slots.optionStack ? {
1239
1244
  name: "optionStack",
1240
1245
  fn: P(() => [
1241
- k(i.$slots, "optionStack", {}, void 0, !0)
1246
+ S(r.$slots, "optionStack", {}, void 0, !0)
1242
1247
  ]),
1243
1248
  key: "6"
1244
1249
  } : void 0,
1245
- i.$slots.optionFullscreen ? {
1250
+ r.$slots.optionFullscreen ? {
1246
1251
  name: "optionFullscreen",
1247
- fn: P(({ toggleFullscreen: r, isFullscreen: h }) => [
1248
- k(i.$slots, "optionFullscreen", W(E({ toggleFullscreen: r, isFullscreen: h })), void 0, !0)
1252
+ fn: P(({ toggleFullscreen: i, isFullscreen: h }) => [
1253
+ S(r.$slots, "optionFullscreen", W(Y({ toggleFullscreen: i, isFullscreen: h })), void 0, !0)
1249
1254
  ]),
1250
1255
  key: "7"
1251
1256
  } : void 0,
1252
- i.$slots.optionAnnotator ? {
1257
+ r.$slots.optionAnnotator ? {
1253
1258
  name: "optionAnnotator",
1254
- fn: P(({ toggleAnnotator: r, isAnnotator: h }) => [
1255
- k(i.$slots, "optionAnnotator", W(E({ toggleAnnotator: r, isAnnotator: h })), void 0, !0)
1259
+ fn: P(({ toggleAnnotator: i, isAnnotator: h }) => [
1260
+ S(r.$slots, "optionAnnotator", W(Y({ toggleAnnotator: i, isAnnotator: h })), void 0, !0)
1256
1261
  ]),
1257
1262
  key: "8"
1258
1263
  } : void 0
@@ -1260,13 +1265,13 @@ function ir(i, l, o, d, t, e) {
1260
1265
  e.isDataset ? (a(), s("svg", {
1261
1266
  key: 4,
1262
1267
  xmlns: "http://www.w3.org/2000/svg",
1263
- class: D([{ "vue-data-ui-fullscreen--on": t.isFullscreen, "vue-data-ui-fulscreen--off": !t.isFullscreen }, "vue-ui-xy-svg"]),
1268
+ class: B([{ "vue-data-ui-fullscreen--on": t.isFullscreen, "vue-data-ui-fulscreen--off": !t.isFullscreen }, "vue-ui-xy-svg"]),
1264
1269
  width: "100%",
1265
1270
  viewBox: t.viewBox,
1266
- style: L(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1271
+ style: O(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1267
1272
  }, [
1268
1273
  q(I),
1269
- i.$slots["chart-background"] ? (a(), s("foreignObject", {
1274
+ r.$slots["chart-background"] ? (a(), s("foreignObject", {
1270
1275
  key: 0,
1271
1276
  x: e.drawingArea.left + e.xPadding < 0 ? 0 : e.drawingArea.left + e.xPadding,
1272
1277
  y: e.drawingArea.top,
@@ -1276,10 +1281,10 @@ function ir(i, l, o, d, t, e) {
1276
1281
  pointerEvents: "none"
1277
1282
  }
1278
1283
  }, [
1279
- k(i.$slots, "chart-background", {}, void 0, !0)
1284
+ S(r.$slots, "chart-background", {}, void 0, !0)
1280
1285
  ], 8, et)) : c("", !0),
1281
1286
  e.maxSeries > 0 ? (a(), s("g", tt, [
1282
- u("g", it, [
1287
+ g("g", rt, [
1283
1288
  e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (a(), s("line", {
1284
1289
  key: 0,
1285
1290
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
@@ -1289,17 +1294,17 @@ function ir(i, l, o, d, t, e) {
1289
1294
  y1: e.forceValidValue(e.drawingArea.bottom),
1290
1295
  y2: e.forceValidValue(e.drawingArea.bottom),
1291
1296
  "stroke-linecap": "round"
1292
- }, null, 8, rt)) : c("", !0),
1293
- t.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (a(!0), s(f, { key: 2 }, m(e.allScales, (r) => (a(), s("g", null, [
1294
- r.id === t.selectedScale && r.yLabels.length ? (a(!0), s(f, { key: 0 }, m(r.yLabels, (h) => (a(), s("line", {
1297
+ }, null, 8, it)) : c("", !0),
1298
+ t.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (a(!0), s(u, { key: 2 }, m(e.allScales, (i) => (a(), s("g", null, [
1299
+ i.id === t.selectedScale && i.yLabels.length ? (a(!0), s(u, { key: 0 }, m(i.yLabels, (h) => (a(), s("line", {
1295
1300
  x1: e.drawingArea.left + e.xPadding,
1296
1301
  x2: e.drawingArea.right - e.xPadding,
1297
1302
  y1: e.forceValidValue(h.y),
1298
1303
  y2: e.forceValidValue(h.y),
1299
- stroke: r.color,
1304
+ stroke: i.color,
1300
1305
  "stroke-width": 0.5,
1301
1306
  "stroke-linecap": "round"
1302
- }, null, 8, nt))), 256)) : r.yLabels.length ? (a(!0), s(f, { key: 1 }, m(r.yLabels, (h) => (a(), s("line", {
1307
+ }, null, 8, nt))), 256)) : i.yLabels.length ? (a(!0), s(u, { key: 1 }, m(i.yLabels, (h) => (a(), s("line", {
1303
1308
  x1: e.drawingArea.left + e.xPadding,
1304
1309
  x2: e.drawingArea.right - e.xPadding,
1305
1310
  y1: e.forceValidValue(h.y),
@@ -1308,7 +1313,7 @@ function ir(i, l, o, d, t, e) {
1308
1313
  "stroke-width": 0.5,
1309
1314
  "stroke-linecap": "round"
1310
1315
  }, null, 8, ht))), 256)) : c("", !0)
1311
- ]))), 256)) : c("", !0) : (a(), s(f, { key: 1 }, [
1316
+ ]))), 256)) : c("", !0) : (a(), s(u, { key: 1 }, [
1312
1317
  e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (a(), s("line", {
1313
1318
  key: 0,
1314
1319
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
@@ -1320,11 +1325,11 @@ function ir(i, l, o, d, t, e) {
1320
1325
  "stroke-linecap": "round"
1321
1326
  }, null, 8, at)) : c("", !0),
1322
1327
  e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (a(), s("g", lt, [
1323
- (a(!0), s(f, null, m(e.yLabels, (r) => (a(), s("line", {
1328
+ (a(!0), s(u, null, m(e.yLabels, (i) => (a(), s("line", {
1324
1329
  x1: e.drawingArea.left + e.xPadding,
1325
1330
  x2: e.drawingArea.right - e.xPadding,
1326
- y1: e.forceValidValue(r.y),
1327
- y2: e.forceValidValue(r.y),
1331
+ y1: e.forceValidValue(i.y),
1332
+ y2: e.forceValidValue(i.y),
1328
1333
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1329
1334
  "stroke-width": 0.5,
1330
1335
  "stroke-linecap": "round"
@@ -1332,7 +1337,7 @@ function ir(i, l, o, d, t, e) {
1332
1337
  ])) : c("", !0)
1333
1338
  ], 64)),
1334
1339
  e.FINAL_CONFIG.chart.grid.showVerticalLines ? (a(), s("g", ot, [
1335
- (a(!0), s(f, null, m(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (r, h) => (a(), s("line", {
1340
+ (a(!0), s(u, null, m(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (i, h) => (a(), s("line", {
1336
1341
  key: `grid_vertical_line_${h}`,
1337
1342
  x1: e.drawingArea.width / e.maxSeries * h + e.drawingArea.left + e.xPadding,
1338
1343
  x2: e.drawingArea.width / e.maxSeries * h + e.drawingArea.left + e.xPadding,
@@ -1343,50 +1348,50 @@ function ir(i, l, o, d, t, e) {
1343
1348
  }, null, 8, ct))), 128))
1344
1349
  ])) : c("", !0)
1345
1350
  ]),
1346
- (a(!0), s(f, null, m(e.barSet, (r, h) => (a(), s("defs", {
1351
+ (a(!0), s(u, null, m(e.barSet, (i, h) => (a(), s("defs", {
1347
1352
  key: `def_rect_${h}`
1348
1353
  }, [
1349
- u("linearGradient", {
1354
+ g("linearGradient", {
1350
1355
  id: `rectGradient_pos_${h}_${t.uniqueId}`,
1351
1356
  x2: "0%",
1352
1357
  y2: "100%"
1353
1358
  }, [
1354
- u("stop", {
1359
+ g("stop", {
1355
1360
  offset: "0%",
1356
- "stop-color": r.color
1361
+ "stop-color": i.color
1357
1362
  }, null, 8, ut),
1358
- u("stop", {
1363
+ g("stop", {
1359
1364
  offset: "62%",
1360
- "stop-color": `${e.shiftHue(r.color, 0.02)}`
1365
+ "stop-color": `${e.shiftHue(i.color, 0.02)}`
1361
1366
  }, null, 8, gt),
1362
- u("stop", {
1367
+ g("stop", {
1363
1368
  offset: "100%",
1364
- "stop-color": `${e.shiftHue(r.color, 0.05)}`
1369
+ "stop-color": `${e.shiftHue(i.color, 0.05)}`
1365
1370
  }, null, 8, ft)
1366
1371
  ], 8, dt),
1367
- u("linearGradient", {
1372
+ g("linearGradient", {
1368
1373
  id: `rectGradient_neg_${h}_${t.uniqueId}`,
1369
1374
  x2: "0%",
1370
1375
  y2: "100%"
1371
1376
  }, [
1372
- u("stop", {
1377
+ g("stop", {
1373
1378
  offset: "0%",
1374
- "stop-color": `${e.shiftHue(r.color, 0.05)}`
1379
+ "stop-color": `${e.shiftHue(i.color, 0.05)}`
1375
1380
  }, null, 8, mt),
1376
- u("stop", {
1381
+ g("stop", {
1377
1382
  offset: "38%",
1378
- "stop-color": `${e.shiftHue(r.color, 0.02)}`
1383
+ "stop-color": `${e.shiftHue(i.color, 0.02)}`
1379
1384
  }, null, 8, Nt),
1380
- u("stop", {
1385
+ g("stop", {
1381
1386
  offset: "100%",
1382
- "stop-color": r.color
1387
+ "stop-color": i.color
1383
1388
  }, null, 8, xt)
1384
1389
  ], 8, It)
1385
1390
  ]))), 128)),
1386
- (a(!0), s(f, null, m(e.plotSet, (r, h) => (a(), s("defs", {
1391
+ (a(!0), s(u, null, m(e.plotSet, (i, h) => (a(), s("defs", {
1387
1392
  key: `def_plot_${h}`
1388
1393
  }, [
1389
- u("radialGradient", {
1394
+ g("radialGradient", {
1390
1395
  id: `plotGradient_${h}_${t.uniqueId}`,
1391
1396
  cx: "50%",
1392
1397
  cy: "50%",
@@ -1394,20 +1399,20 @@ function ir(i, l, o, d, t, e) {
1394
1399
  fx: "50%",
1395
1400
  fy: "50%"
1396
1401
  }, [
1397
- u("stop", {
1402
+ g("stop", {
1398
1403
  offset: "0%",
1399
- "stop-color": `${e.shiftHue(r.color, 0.05)}`
1404
+ "stop-color": `${e.shiftHue(i.color, 0.05)}`
1400
1405
  }, null, 8, Ft),
1401
- u("stop", {
1406
+ g("stop", {
1402
1407
  offset: "100%",
1403
- "stop-color": r.color
1408
+ "stop-color": i.color
1404
1409
  }, null, 8, _t)
1405
1410
  ], 8, bt)
1406
1411
  ]))), 128)),
1407
- (a(!0), s(f, null, m(e.lineSet, (r, h) => (a(), s("defs", {
1412
+ (a(!0), s(u, null, m(e.lineSet, (i, h) => (a(), s("defs", {
1408
1413
  key: `def_line_${h}`
1409
1414
  }, [
1410
- u("radialGradient", {
1415
+ g("radialGradient", {
1411
1416
  id: `lineGradient_${h}_${t.uniqueId}`,
1412
1417
  cx: "50%",
1413
1418
  cy: "50%",
@@ -1415,67 +1420,67 @@ function ir(i, l, o, d, t, e) {
1415
1420
  fx: "50%",
1416
1421
  fy: "50%"
1417
1422
  }, [
1418
- u("stop", {
1423
+ g("stop", {
1419
1424
  offset: "0%",
1420
- "stop-color": `${e.shiftHue(r.color, 0.05)}`
1425
+ "stop-color": `${e.shiftHue(i.color, 0.05)}`
1421
1426
  }, null, 8, yt),
1422
- u("stop", {
1427
+ g("stop", {
1423
1428
  offset: "100%",
1424
- "stop-color": r.color
1425
- }, null, 8, Lt)
1429
+ "stop-color": i.color
1430
+ }, null, 8, Ct)
1426
1431
  ], 8, At),
1427
- u("linearGradient", {
1432
+ g("linearGradient", {
1428
1433
  id: `areaGradient_${h}_${t.uniqueId}`,
1429
1434
  x1: "0%",
1430
1435
  x2: "100%",
1431
1436
  y1: "0%",
1432
1437
  y2: "0%"
1433
1438
  }, [
1434
- u("stop", {
1439
+ g("stop", {
1435
1440
  offset: "0%",
1436
- "stop-color": `${e.setOpacity(e.shiftHue(r.color, 0.03), e.FINAL_CONFIG.line.area.opacity)}`
1441
+ "stop-color": `${e.setOpacity(e.shiftHue(i.color, 0.03), e.FINAL_CONFIG.line.area.opacity)}`
1437
1442
  }, null, 8, St),
1438
- u("stop", {
1443
+ g("stop", {
1439
1444
  offset: "100%",
1440
- "stop-color": `${e.setOpacity(r.color, e.FINAL_CONFIG.line.area.opacity)}`
1445
+ "stop-color": `${e.setOpacity(i.color, e.FINAL_CONFIG.line.area.opacity)}`
1441
1446
  }, null, 8, kt)
1442
- ], 8, Ct)
1447
+ ], 8, Lt)
1443
1448
  ]))), 128)),
1444
- (a(!0), s(f, null, m(e.highlightAreas, (r) => (a(), s("g", null, [
1445
- r.show ? (a(!0), s(f, { key: 0 }, m(r.span, (h, n) => (a(), s("g", null, [
1446
- u("rect", {
1447
- style: L({
1449
+ (a(!0), s(u, null, m(e.highlightAreas, (i) => (a(), s("g", null, [
1450
+ i.show ? (a(!0), s(u, { key: 0 }, m(i.span, (h, n) => (a(), s("g", null, [
1451
+ g("rect", {
1452
+ style: O({
1448
1453
  transition: "none",
1449
- opacity: r.from + n >= t.slicer.start && r.from + n <= t.slicer.end - 1 ? 1 : 0
1454
+ opacity: i.from + n >= t.slicer.start && i.from + n <= t.slicer.end - 1 ? 1 : 0
1450
1455
  }),
1451
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (r.from + n - t.slicer.start),
1456
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (i.from + n - t.slicer.start),
1452
1457
  y: e.drawingArea.top,
1453
1458
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1454
1459
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
1455
- fill: e.setOpacity(r.color, r.opacity)
1460
+ fill: e.setOpacity(i.color, i.opacity)
1456
1461
  }, null, 12, wt),
1457
- r.caption.text && n === 0 ? (a(), s("foreignObject", {
1462
+ i.caption.text && n === 0 ? (a(), s("foreignObject", {
1458
1463
  key: 0,
1459
- 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),
1460
- y: e.drawingArea.top + r.caption.offsetY,
1461
- style: L({
1464
+ 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),
1465
+ y: e.drawingArea.top + i.caption.offsetY,
1466
+ style: O({
1462
1467
  overflow: "visible",
1463
- opacity: r.to >= t.slicer.start && r.from < t.slicer.end ? 1 : 0
1468
+ opacity: i.to >= t.slicer.start && i.from < t.slicer.end ? 1 : 0
1464
1469
  }),
1465
1470
  height: "1",
1466
- width: r.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * r.span : r.caption.width
1471
+ width: i.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * i.span : i.caption.width
1467
1472
  }, [
1468
- u("div", {
1469
- 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"}`)
1470
- }, w(r.caption.text), 5)
1473
+ g("div", {
1474
+ 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"}`)
1475
+ }, k(i.caption.text), 5)
1471
1476
  ], 12, Ot)) : c("", !0)
1472
1477
  ]))), 256)) : c("", !0)
1473
1478
  ]))), 256)),
1474
- u("g", null, [
1475
- (a(!0), s(f, null, m(e.maxSeries, (r, h) => (a(), s("g", {
1479
+ g("g", null, [
1480
+ (a(!0), s(u, null, m(e.maxSeries, (i, h) => (a(), s("g", {
1476
1481
  key: `tooltip_trap_highlighter_${h}`
1477
1482
  }, [
1478
- u("rect", {
1483
+ g("rect", {
1479
1484
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * h,
1480
1485
  y: e.drawingArea.top,
1481
1486
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
@@ -1484,13 +1489,13 @@ function ir(i, l, o, d, t, e) {
1484
1489
  }, null, 8, Gt)
1485
1490
  ]))), 128))
1486
1491
  ]),
1487
- e.barSet.length ? (a(!0), s(f, { key: 0 }, m(e.barSet, (r, h) => (a(), s("g", {
1492
+ e.barSet.length ? (a(!0), s(u, { key: 0 }, m(e.barSet, (i, h) => (a(), s("g", {
1488
1493
  key: `serie_bar_${h}`,
1489
- class: D(`serie_bar_${h}`),
1490
- style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1494
+ class: B(`serie_bar_${h}`),
1495
+ style: O(`opacity:${t.selectedScale ? t.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1491
1496
  }, [
1492
- (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
1493
- key: `bar_plot_${h}_${g}`
1497
+ (a(!0), s(u, null, m(i.plots, (n, f) => (a(), s("g", {
1498
+ key: `bar_plot_${h}_${f}`
1494
1499
  }, [
1495
1500
  e.canShowValue(n.value) ? (a(), s("rect", {
1496
1501
  key: 0,
@@ -1499,19 +1504,19 @@ function ir(i, l, o, d, t, e) {
1499
1504
  height: t.mutableConfig.useIndividualScale ? Math.abs(e.calcIndividualHeight(n)) : Math.abs(e.calcRectHeight(n)),
1500
1505
  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),
1501
1506
  rx: e.FINAL_CONFIG.bar.borderRadius,
1502
- fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${h}_${t.uniqueId})` : `url(#rectGradient_neg_${h}_${t.uniqueId})` : r.color,
1503
- stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? r.color : e.FINAL_CONFIG.bar.border.stroke,
1507
+ fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${h}_${t.uniqueId})` : `url(#rectGradient_neg_${h}_${t.uniqueId})` : i.color,
1508
+ stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? i.color : e.FINAL_CONFIG.bar.border.stroke,
1504
1509
  "stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
1505
1510
  }, null, 8, vt)) : c("", !0),
1506
- e.canShowValue(n.value) && i.$slots.pattern ? (a(), s("rect", {
1511
+ e.canShowValue(n.value) && r.$slots.pattern ? (a(), s("rect", {
1507
1512
  key: 1,
1508
1513
  x: e.calcRectX(n),
1509
1514
  y: t.mutableConfig.useIndividualScale ? e.calcIndividualRectY(n) : e.calcRectY(n),
1510
1515
  height: t.mutableConfig.useIndividualScale ? Math.abs(e.calcIndividualHeight(n)) : Math.abs(e.calcRectHeight(n)),
1511
1516
  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),
1512
1517
  rx: e.FINAL_CONFIG.bar.borderRadius,
1513
- fill: `url(#pattern_${t.uniqueId}_${r.slotAbsoluteIndex})`,
1514
- stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? r.color : e.FINAL_CONFIG.bar.border.stroke,
1518
+ fill: `url(#pattern_${t.uniqueId}_${i.slotAbsoluteIndex})`,
1519
+ stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? i.color : e.FINAL_CONFIG.bar.border.stroke,
1515
1520
  "stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
1516
1521
  }, null, 8, zt)) : c("", !0),
1517
1522
  n.comment && e.FINAL_CONFIG.chart.comments.show ? (a(), s("foreignObject", {
@@ -1522,14 +1527,14 @@ function ir(i, l, o, d, t, e) {
1522
1527
  x: e.calcRectX(n) - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1523
1528
  y: e.checkNaN(n.y) + e.FINAL_CONFIG.chart.comments.offsetY + 6
1524
1529
  }, [
1525
- k(i.$slots, "plot-comment", {
1526
- plot: { ...n, color: r.color, seriesIndex: h, datapointIndex: g }
1530
+ S(r.$slots, "plot-comment", {
1531
+ plot: { ...n, color: i.color, seriesIndex: h, datapointIndex: f }
1527
1532
  }, void 0, !0)
1528
1533
  ], 8, Mt)) : c("", !0)
1529
1534
  ]))), 128)),
1530
- Object.hasOwn(r, "useProgression") && r.useProgression === !0 && !isNaN(e.calcLinearProgression(r.plots).trend) ? (a(), s("g", pt, [
1531
- u("defs", null, [
1532
- u("marker", {
1535
+ Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (a(), s("g", pt, [
1536
+ g("defs", null, [
1537
+ g("marker", {
1533
1538
  id: `bar_arrow_${h}`,
1534
1539
  markerWidth: 7,
1535
1540
  markerHeight: 7,
@@ -1537,32 +1542,32 @@ function ir(i, l, o, d, t, e) {
1537
1542
  refY: 7 / 2,
1538
1543
  orient: "auto"
1539
1544
  }, [
1540
- u("polygon", {
1545
+ g("polygon", {
1541
1546
  points: `0 0, 7 ${7 / 2}, 0 7`,
1542
- fill: r.color
1547
+ fill: i.color
1543
1548
  }, null, 8, Pt)
1544
1549
  ], 8, Tt)
1545
1550
  ]),
1546
- r.plots.length > 1 ? (a(), s("line", {
1551
+ i.plots.length > 1 ? (a(), s("line", {
1547
1552
  key: 0,
1548
- x1: e.calcLinearProgression(r.plots).x1,
1549
- x2: e.calcLinearProgression(r.plots).x2,
1550
- y1: e.forceValidValue(e.calcLinearProgression(r.plots).y1),
1551
- y2: e.forceValidValue(e.calcLinearProgression(r.plots).y2),
1553
+ x1: e.calcLinearProgression(i.plots).x1,
1554
+ x2: e.calcLinearProgression(i.plots).x2,
1555
+ y1: e.forceValidValue(e.calcLinearProgression(i.plots).y1),
1556
+ y2: e.forceValidValue(e.calcLinearProgression(i.plots).y2),
1552
1557
  "stroke-width": 1,
1553
- stroke: r.color,
1558
+ stroke: i.color,
1554
1559
  "stroke-dasharray": 2,
1555
1560
  "marker-end": `url(#bar_arrow_${h})`
1556
1561
  }, null, 8, Vt)) : c("", !0),
1557
- r.plots.length > 1 ? (a(), s("text", {
1562
+ i.plots.length > 1 ? (a(), s("text", {
1558
1563
  key: 1,
1559
1564
  "text-anchor": "middle",
1560
- x: e.calcLinearProgression(r.plots).x2,
1561
- y: e.calcLinearProgression(r.plots).y2 - 6,
1565
+ x: e.calcLinearProgression(i.plots).x2,
1566
+ y: e.calcLinearProgression(i.plots).y2 - 6,
1562
1567
  "font-size": t.fontSizes.plotLabels,
1563
- fill: r.color
1564
- }, w(e.dataLabel({
1565
- v: e.calcLinearProgression(r.plots).trend * 100,
1568
+ fill: i.color
1569
+ }, k(e.dataLabel({
1570
+ v: e.calcLinearProgression(i.plots).trend * 100,
1566
1571
  s: "%",
1567
1572
  r: 2
1568
1573
  })), 9, Rt)) : c("", !0)
@@ -1579,7 +1584,7 @@ function ir(i, l, o, d, t, e) {
1579
1584
  "stroke-linecap": "round"
1580
1585
  }, null, 8, Dt)) : c("", !0),
1581
1586
  e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(t.selectedSerieIndex) || ![null, void 0].includes(t.selectedMinimapIndex)) ? (a(), s("g", Ht, [
1582
- u("line", {
1587
+ g("line", {
1583
1588
  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,
1584
1589
  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,
1585
1590
  y1: e.forceValidValue(e.drawingArea.top),
@@ -1606,44 +1611,44 @@ function ir(i, l, o, d, t, e) {
1606
1611
  "stroke-dasharray": e.FINAL_CONFIG.chart.grid.frame.strokeDasharray
1607
1612
  }, null, 8, Wt)) : c("", !0),
1608
1613
  e.FINAL_CONFIG.chart.grid.labels.show ? (a(), s("g", Et, [
1609
- t.mutableConfig.useIndividualScale ? (a(), s(f, { key: 0 }, [
1610
- (a(!0), s(f, null, m(e.allScales, (r) => (a(), s("g", null, [
1611
- u("line", {
1612
- x1: r.x + e.xPadding,
1613
- x2: r.x + e.xPadding,
1614
- y1: t.mutableConfig.isStacked ? e.forceValidValue(e.drawingArea.bottom - r.yOffset - r.individualHeight) : e.forceValidValue(e.drawingArea.top),
1615
- y2: t.mutableConfig.isStacked ? e.forceValidValue(e.drawingArea.bottom - r.yOffset) : e.forceValidValue(e.drawingArea.bottom),
1616
- stroke: r.color,
1614
+ t.mutableConfig.useIndividualScale ? (a(), s(u, { key: 0 }, [
1615
+ (a(!0), s(u, null, m(e.allScales, (i) => (a(), s("g", null, [
1616
+ g("line", {
1617
+ x1: i.x + e.xPadding,
1618
+ x2: i.x + e.xPadding,
1619
+ y1: t.mutableConfig.isStacked ? e.forceValidValue(e.drawingArea.bottom - i.yOffset - i.individualHeight) : e.forceValidValue(e.drawingArea.top),
1620
+ y2: t.mutableConfig.isStacked ? e.forceValidValue(e.drawingArea.bottom - i.yOffset) : e.forceValidValue(e.drawingArea.bottom),
1621
+ stroke: i.color,
1617
1622
  "stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
1618
1623
  "stroke-linecap": "round",
1619
- style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1624
+ style: O(`opacity:${t.selectedScale ? t.selectedScale === i.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1620
1625
  }, null, 12, Yt)
1621
1626
  ]))), 256)),
1622
- (a(!0), s(f, null, m(e.allScales, (r) => (a(), s("g", {
1623
- style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1627
+ (a(!0), s(u, null, m(e.allScales, (i) => (a(), s("g", {
1628
+ style: O(`opacity:${t.selectedScale ? t.selectedScale === i.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1624
1629
  }, [
1625
- u("text", {
1626
- fill: r.color,
1630
+ g("text", {
1631
+ fill: i.color,
1627
1632
  "font-size": t.fontSizes.dataLabels,
1628
1633
  "text-anchor": "middle",
1629
- 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)`
1630
- }, w(r.name) + " " + w(r.scaleLabel ? `- ${r.scaleLabel}` : ""), 9, qt),
1631
- (a(!0), s(f, null, m(r.yLabels, (h, n) => (a(), s("line", {
1632
- x1: r.x - 3 + e.xPadding,
1633
- x2: r.x + e.xPadding,
1634
+ 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)`
1635
+ }, k(i.name) + " " + k(i.scaleLabel ? `- ${i.scaleLabel}` : ""), 9, qt),
1636
+ (a(!0), s(u, null, m(i.yLabels, (h, n) => (a(), s("line", {
1637
+ x1: i.x - 3 + e.xPadding,
1638
+ x2: i.x + e.xPadding,
1634
1639
  y1: e.forceValidValue(h.y),
1635
1640
  y2: e.forceValidValue(h.y),
1636
- stroke: r.color,
1641
+ stroke: i.color,
1637
1642
  "stroke-width": 1,
1638
1643
  "stroke-linecap": "round"
1639
1644
  }, null, 8, Xt))), 256)),
1640
- (a(!0), s(f, null, m(r.yLabels, (h, n) => (a(), s("text", {
1641
- x: r.x - 5 + e.xPadding,
1645
+ (a(!0), s(u, null, m(i.yLabels, (h, n) => (a(), s("text", {
1646
+ x: i.x - 5 + e.xPadding,
1642
1647
  y: e.forceValidValue(h.y) + t.fontSizes.dataLabels / 3,
1643
1648
  "font-size": t.fontSizes.dataLabels,
1644
1649
  "text-anchor": "end",
1645
- fill: r.color
1646
- }, w(e.applyDataLabel(
1650
+ fill: i.color
1651
+ }, k(e.applyDataLabel(
1647
1652
  e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1648
1653
  h.value,
1649
1654
  e.dataLabel({
@@ -1655,53 +1660,53 @@ function ir(i, l, o, d, t, e) {
1655
1660
  { datapoint: h.datapoint, seriesIndex: n }
1656
1661
  )), 9, Ut))), 256))
1657
1662
  ], 4))), 256))
1658
- ], 64)) : (a(!0), s(f, { key: 1 }, m(e.yLabels, (r, h) => (a(), s("g", {
1663
+ ], 64)) : (a(!0), s(u, { key: 1 }, m(e.yLabels, (i, h) => (a(), s("g", {
1659
1664
  key: `yLabel_${h}`
1660
1665
  }, [
1661
- e.canShowValue(r) && r.value >= e.niceScale.min && r.value <= e.niceScale.max ? (a(), s("line", {
1666
+ e.canShowValue(i) && i.value >= e.niceScale.min && i.value <= e.niceScale.max ? (a(), s("line", {
1662
1667
  key: 0,
1663
1668
  x1: e.drawingArea.left + e.xPadding,
1664
1669
  x2: e.drawingArea.left - 5 + e.xPadding,
1665
- y1: e.forceValidValue(r.y),
1666
- y2: e.forceValidValue(r.y),
1670
+ y1: e.forceValidValue(i.y),
1671
+ y2: e.forceValidValue(i.y),
1667
1672
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1668
1673
  "stroke-width": "1",
1669
1674
  "stroke-linecap": "round"
1670
1675
  }, null, 8, Zt)) : c("", !0),
1671
- r.value >= e.niceScale.min && r.value <= e.niceScale.max ? (a(), s("text", {
1676
+ i.value >= e.niceScale.min && i.value <= e.niceScale.max ? (a(), s("text", {
1672
1677
  key: 1,
1673
1678
  x: e.drawingArea.left - 7 + e.xPadding,
1674
- y: e.checkNaN(r.y + t.fontSizes.dataLabels / 3),
1679
+ y: e.checkNaN(i.y + t.fontSizes.dataLabels / 3),
1675
1680
  "font-size": t.fontSizes.dataLabels,
1676
1681
  "text-anchor": "end",
1677
1682
  fill: e.FINAL_CONFIG.chart.grid.labels.color
1678
- }, w(e.canShowValue(r.value) ? e.applyDataLabel(
1683
+ }, k(e.canShowValue(i.value) ? e.applyDataLabel(
1679
1684
  e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1680
- r.value,
1685
+ i.value,
1681
1686
  e.dataLabel({
1682
- p: r.prefix,
1683
- v: r.value,
1684
- s: r.suffix,
1687
+ p: i.prefix,
1688
+ v: i.value,
1689
+ s: i.suffix,
1685
1690
  r: 1
1686
1691
  })
1687
1692
  ) : ""), 9, Jt)) : c("", !0)
1688
1693
  ]))), 128))
1689
1694
  ])) : c("", !0),
1690
- (a(!0), s(f, null, m(e.plotSet, (r, h) => (a(), s("g", {
1695
+ (a(!0), s(u, null, m(e.plotSet, (i, h) => (a(), s("g", {
1691
1696
  key: `serie_plot_${h}`,
1692
- class: D(`serie_plot_${h}`),
1693
- style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1697
+ class: B(`serie_plot_${h}`),
1698
+ style: O(`opacity:${t.selectedScale ? t.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1694
1699
  }, [
1695
- (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
1696
- key: `circle_plot_${h}_${g}`
1700
+ (a(!0), s(u, null, m(i.plots, (n, f) => (a(), s("g", {
1701
+ key: `circle_plot_${h}_${f}`
1697
1702
  }, [
1698
- n && e.canShowValue(n.value) ? (a(), B(b, {
1703
+ n && e.canShowValue(n.value) ? (a(), H(b, {
1699
1704
  key: 0,
1700
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(r.shape) ? r.shape : "circle",
1701
- 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,
1705
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle",
1706
+ 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,
1702
1707
  plot: { x: e.checkNaN(n.x), y: e.checkNaN(n.y) },
1703
- radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g ? (t.plotRadii.plot || 6) * 1.5 : t.plotRadii.plot || 6,
1704
- stroke: e.FINAL_CONFIG.plot.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : r.color,
1708
+ radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === f || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === f ? (t.plotRadii.plot || 6) * 1.5 : t.plotRadii.plot || 6,
1709
+ stroke: e.FINAL_CONFIG.plot.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : i.color,
1705
1710
  strokeWidth: e.FINAL_CONFIG.plot.dot.strokeWidth
1706
1711
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : c("", !0),
1707
1712
  n.comment && e.FINAL_CONFIG.chart.comments.show ? (a(), s("foreignObject", {
@@ -1712,16 +1717,16 @@ function ir(i, l, o, d, t, e) {
1712
1717
  x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1713
1718
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1714
1719
  }, [
1715
- u("div", Kt, [
1716
- k(i.$slots, "plot-comment", {
1717
- plot: { ...n, color: r.color, seriesIndex: h, datapointIndex: g }
1720
+ g("div", Kt, [
1721
+ S(r.$slots, "plot-comment", {
1722
+ plot: { ...n, color: i.color, seriesIndex: h, datapointIndex: f }
1718
1723
  }, void 0, !0)
1719
1724
  ])
1720
1725
  ], 8, Qt)) : c("", !0)
1721
1726
  ]))), 128)),
1722
- Object.hasOwn(r, "useProgression") && r.useProgression === !0 && !isNaN(e.calcLinearProgression(r.plots).trend) ? (a(), s("g", jt, [
1723
- u("defs", null, [
1724
- u("marker", {
1727
+ Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (a(), s("g", jt, [
1728
+ g("defs", null, [
1729
+ g("marker", {
1725
1730
  id: `plot_arrow_${h}`,
1726
1731
  markerWidth: 7,
1727
1732
  markerHeight: 7,
@@ -1729,121 +1734,121 @@ function ir(i, l, o, d, t, e) {
1729
1734
  refY: 7 / 2,
1730
1735
  orient: "auto"
1731
1736
  }, [
1732
- u("polygon", {
1737
+ g("polygon", {
1733
1738
  points: `0 0, 7 ${7 / 2}, 0 7`,
1734
- fill: r.color
1735
- }, null, 8, ei)
1739
+ fill: i.color
1740
+ }, null, 8, er)
1736
1741
  ], 8, $t)
1737
1742
  ]),
1738
- r.plots.length > 1 ? (a(), s("line", {
1743
+ i.plots.length > 1 ? (a(), s("line", {
1739
1744
  key: 0,
1740
- x1: e.calcLinearProgression(r.plots).x1,
1741
- x2: e.calcLinearProgression(r.plots).x2,
1742
- y1: e.forceValidValue(e.calcLinearProgression(r.plots).y1),
1743
- y2: e.forceValidValue(e.calcLinearProgression(r.plots).y2),
1745
+ x1: e.calcLinearProgression(i.plots).x1,
1746
+ x2: e.calcLinearProgression(i.plots).x2,
1747
+ y1: e.forceValidValue(e.calcLinearProgression(i.plots).y1),
1748
+ y2: e.forceValidValue(e.calcLinearProgression(i.plots).y2),
1744
1749
  "stroke-width": 1,
1745
- stroke: r.color,
1750
+ stroke: i.color,
1746
1751
  "stroke-dasharray": 2,
1747
1752
  "marker-end": `url(#plot_arrow_${h})`
1748
- }, null, 8, ti)) : c("", !0),
1749
- r.plots.length > 1 ? (a(), s("text", {
1753
+ }, null, 8, tr)) : c("", !0),
1754
+ i.plots.length > 1 ? (a(), s("text", {
1750
1755
  key: 1,
1751
1756
  "text-anchor": "middle",
1752
- x: e.calcLinearProgression(r.plots).x2,
1753
- y: e.calcLinearProgression(r.plots).y2 - 6,
1757
+ x: e.calcLinearProgression(i.plots).x2,
1758
+ y: e.calcLinearProgression(i.plots).y2 - 6,
1754
1759
  "font-size": t.fontSizes.plotLabels,
1755
- fill: r.color
1756
- }, w(e.dataLabel({
1757
- v: e.calcLinearProgression(r.plots).trend * 100,
1760
+ fill: i.color
1761
+ }, k(e.dataLabel({
1762
+ v: e.calcLinearProgression(i.plots).trend * 100,
1758
1763
  s: "%",
1759
1764
  r: 2
1760
- })), 9, ii)) : c("", !0)
1765
+ })), 9, rr)) : c("", !0)
1761
1766
  ])) : c("", !0)
1762
1767
  ], 6))), 128)),
1763
- (a(!0), s(f, null, m(e.lineSet, (r, h) => (a(), s("g", {
1768
+ (a(!0), s(u, null, m(e.lineSet, (i, h) => (a(), s("g", {
1764
1769
  key: `serie_line_${h}`,
1765
- class: D(`serie_line_${h}`),
1766
- style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1770
+ class: B(`serie_line_${h}`),
1771
+ style: O(`opacity:${t.selectedScale ? t.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1767
1772
  }, [
1768
- r.smooth && r.plots.length > 1 ? (a(), s("path", {
1773
+ i.smooth && i.plots.length > 1 ? (a(), s("path", {
1769
1774
  key: 0,
1770
- d: `M${r.curve}`,
1775
+ d: `M${i.curve}`,
1771
1776
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1772
1777
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1773
- "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1778
+ "stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1774
1779
  fill: "none"
1775
- }, null, 8, ri)) : r.plots.length > 1 ? (a(), s("path", {
1780
+ }, null, 8, ir)) : i.plots.length > 1 ? (a(), s("path", {
1776
1781
  key: 1,
1777
- d: `M${r.straight}`,
1782
+ d: `M${i.straight}`,
1778
1783
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1779
1784
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1780
- "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1785
+ "stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1781
1786
  fill: "none",
1782
1787
  "stroke-linecap": "round",
1783
1788
  "stroke-linejoin": "round"
1784
- }, null, 8, ai)) : c("", !0)
1789
+ }, null, 8, ar)) : c("", !0)
1785
1790
  ], 6))), 128)),
1786
- i.$slots.pattern ? (a(), s("defs", li, [
1787
- (a(!0), s(f, null, m(e.safeDataset, (r, h) => k(i.$slots, "pattern", Ye({
1791
+ r.$slots.pattern ? (a(), s("defs", lr, [
1792
+ (a(!0), s(u, null, m(e.safeDataset, (i, h) => S(r.$slots, "pattern", J({
1788
1793
  key: `serie_pattern_slot_${h}`
1789
- }, { ...r, seriesIndex: r.slotAbsoluteIndex, patternId: `pattern_${t.uniqueId}_${h}` }), void 0, !0)), 128))
1794
+ }, { ...i, seriesIndex: i.slotAbsoluteIndex, patternId: `pattern_${t.uniqueId}_${h}` }), void 0, !0)), 128))
1790
1795
  ])) : c("", !0),
1791
- (a(!0), s(f, null, m(e.lineSet, (r, h) => (a(), s("g", {
1796
+ (a(!0), s(u, null, m(e.lineSet, (i, h) => (a(), s("g", {
1792
1797
  key: `serie_line_${h}`,
1793
- class: D(`serie_line_${h}`),
1794
- style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1798
+ class: B(`serie_line_${h}`),
1799
+ style: O(`opacity:${t.selectedScale ? t.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1795
1800
  }, [
1796
- r.useArea && r.plots.length > 1 ? (a(), s("g", si, [
1797
- r.smooth ? (a(), s(f, { key: 0 }, [
1798
- u("path", {
1799
- 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`,
1800
- fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${h}_${t.uniqueId})` : e.setOpacity(r.color, e.FINAL_CONFIG.line.area.opacity)
1801
- }, null, 8, ni),
1802
- i.$slots.pattern ? (a(), s("path", {
1801
+ i.useArea && i.plots.length > 1 ? (a(), s("g", sr, [
1802
+ i.smooth ? (a(), s(u, { key: 0 }, [
1803
+ g("path", {
1804
+ 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`,
1805
+ fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${h}_${t.uniqueId})` : e.setOpacity(i.color, e.FINAL_CONFIG.line.area.opacity)
1806
+ }, null, 8, nr),
1807
+ r.$slots.pattern ? (a(), s("path", {
1803
1808
  key: 0,
1804
- 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`,
1805
- fill: `url(#pattern_${t.uniqueId}_${r.slotAbsoluteIndex})`
1806
- }, null, 8, hi)) : c("", !0)
1807
- ], 64)) : (a(), s(f, { key: 1 }, [
1808
- u("path", {
1809
- d: `M${r.area}Z`,
1810
- fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${h}_${t.uniqueId})` : e.setOpacity(r.color, e.FINAL_CONFIG.line.area.opacity)
1811
- }, null, 8, oi),
1812
- i.$slots.pattern ? (a(), s("path", {
1809
+ 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`,
1810
+ fill: `url(#pattern_${t.uniqueId}_${i.slotAbsoluteIndex})`
1811
+ }, null, 8, hr)) : c("", !0)
1812
+ ], 64)) : (a(), s(u, { key: 1 }, [
1813
+ g("path", {
1814
+ d: `M${i.area}Z`,
1815
+ fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${h}_${t.uniqueId})` : e.setOpacity(i.color, e.FINAL_CONFIG.line.area.opacity)
1816
+ }, null, 8, or),
1817
+ r.$slots.pattern ? (a(), s("path", {
1813
1818
  key: 0,
1814
- d: `M${r.area}Z`,
1815
- fill: `url(#pattern_${t.uniqueId}_${r.slotAbsoluteIndex})`
1816
- }, null, 8, ci)) : c("", !0)
1819
+ d: `M${i.area}Z`,
1820
+ fill: `url(#pattern_${t.uniqueId}_${i.slotAbsoluteIndex})`
1821
+ }, null, 8, cr)) : c("", !0)
1817
1822
  ], 64))
1818
1823
  ])) : c("", !0),
1819
- r.smooth && r.plots.length > 1 ? (a(), s("path", {
1824
+ i.smooth && i.plots.length > 1 ? (a(), s("path", {
1820
1825
  key: 1,
1821
- d: `M${r.curve}`,
1822
- stroke: r.color,
1826
+ d: `M${i.curve}`,
1827
+ stroke: i.color,
1823
1828
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1824
- "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1829
+ "stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1825
1830
  fill: "none",
1826
1831
  "stroke-linecap": "round"
1827
- }, null, 8, di)) : r.plots.length > 1 ? (a(), s("path", {
1832
+ }, null, 8, dr)) : i.plots.length > 1 ? (a(), s("path", {
1828
1833
  key: 2,
1829
- d: `M${r.straight}`,
1830
- stroke: r.color,
1834
+ d: `M${i.straight}`,
1835
+ stroke: i.color,
1831
1836
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1832
- "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1837
+ "stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1833
1838
  fill: "none",
1834
1839
  "stroke-linecap": "round",
1835
1840
  "stroke-linejoin": "round"
1836
- }, null, 8, ui)) : c("", !0),
1837
- (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
1838
- key: `circle_line_${h}_${g}`
1841
+ }, null, 8, ur)) : c("", !0),
1842
+ (a(!0), s(u, null, m(i.plots, (n, f) => (a(), s(u, {
1843
+ key: `circle_line_${h}_${f}`
1839
1844
  }, [
1840
- !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, {
1845
+ !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, {
1841
1846
  key: 0,
1842
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(r.shape) ? r.shape : "circle",
1843
- 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,
1847
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle",
1848
+ 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,
1844
1849
  plot: { x: e.checkNaN(n.x), y: e.checkNaN(n.y) },
1845
- radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g ? (t.plotRadii.line || 6) * 1.5 : t.plotRadii.line || 6,
1846
- stroke: e.FINAL_CONFIG.line.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : r.color,
1850
+ radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === f || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === f ? (t.plotRadii.line || 6) * 1.5 : t.plotRadii.line || 6,
1851
+ stroke: e.FINAL_CONFIG.line.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : i.color,
1847
1852
  strokeWidth: e.FINAL_CONFIG.line.dot.strokeWidth
1848
1853
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : c("", !0),
1849
1854
  n.comment && e.FINAL_CONFIG.chart.comments.show ? (a(), s("foreignObject", {
@@ -1854,16 +1859,16 @@ function ir(i, l, o, d, t, e) {
1854
1859
  x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1855
1860
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1856
1861
  }, [
1857
- u("div", fi, [
1858
- k(i.$slots, "plot-comment", {
1859
- plot: { ...n, color: r.color, seriesIndex: h, datapointIndex: g }
1862
+ g("div", fr, [
1863
+ S(r.$slots, "plot-comment", {
1864
+ plot: { ...n, color: i.color, seriesIndex: h, datapointIndex: f }
1860
1865
  }, void 0, !0)
1861
1866
  ])
1862
- ], 8, gi)) : c("", !0)
1863
- ]))), 128)),
1864
- Object.hasOwn(r, "useProgression") && r.useProgression === !0 && !isNaN(e.calcLinearProgression(r.plots).trend) ? (a(), s("g", Ii, [
1865
- u("defs", null, [
1866
- u("marker", {
1867
+ ], 8, gr)) : c("", !0)
1868
+ ], 64))), 128)),
1869
+ Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (a(), s("g", Ir, [
1870
+ g("defs", null, [
1871
+ g("marker", {
1867
1872
  id: `line_arrow_${h}`,
1868
1873
  markerWidth: 7,
1869
1874
  markerHeight: 7,
@@ -1871,110 +1876,106 @@ function ir(i, l, o, d, t, e) {
1871
1876
  refY: 7 / 2,
1872
1877
  orient: "auto"
1873
1878
  }, [
1874
- u("polygon", {
1879
+ g("polygon", {
1875
1880
  points: `0 0, 7 ${7 / 2}, 0 7`,
1876
- fill: r.color
1877
- }, null, 8, Ni)
1878
- ], 8, mi)
1881
+ fill: i.color
1882
+ }, null, 8, Nr)
1883
+ ], 8, mr)
1879
1884
  ]),
1880
- r.plots.length > 1 ? (a(), s("line", {
1885
+ i.plots.length > 1 ? (a(), s("line", {
1881
1886
  key: 0,
1882
- x1: e.calcLinearProgression(r.plots).x1,
1883
- x2: e.calcLinearProgression(r.plots).x2,
1884
- y1: e.forceValidValue(e.calcLinearProgression(r.plots).y1),
1885
- y2: e.forceValidValue(e.calcLinearProgression(r.plots).y2),
1887
+ x1: e.calcLinearProgression(i.plots).x1,
1888
+ x2: e.calcLinearProgression(i.plots).x2,
1889
+ y1: e.forceValidValue(e.calcLinearProgression(i.plots).y1),
1890
+ y2: e.forceValidValue(e.calcLinearProgression(i.plots).y2),
1886
1891
  "stroke-width": 1,
1887
- stroke: r.color,
1892
+ stroke: i.color,
1888
1893
  "stroke-dasharray": 2,
1889
1894
  "marker-end": `url(#line_arrow_${h})`
1890
- }, null, 8, xi)) : c("", !0),
1891
- r.plots.length > 1 ? (a(), s("text", {
1895
+ }, null, 8, xr)) : c("", !0),
1896
+ i.plots.length > 1 ? (a(), s("text", {
1892
1897
  key: 1,
1893
1898
  "text-anchor": "middle",
1894
- x: e.calcLinearProgression(r.plots).x2,
1895
- y: e.calcLinearProgression(r.plots).y2 - 6,
1899
+ x: e.calcLinearProgression(i.plots).x2,
1900
+ y: e.calcLinearProgression(i.plots).y2 - 6,
1896
1901
  "font-size": t.fontSizes.plotLabels,
1897
- fill: r.color
1898
- }, w(e.dataLabel({
1899
- v: e.calcLinearProgression(r.plots).trend * 100,
1902
+ fill: i.color
1903
+ }, k(e.dataLabel({
1904
+ v: e.calcLinearProgression(i.plots).trend * 100,
1900
1905
  s: "%",
1901
1906
  r: 2
1902
- })), 9, bi)) : c("", !0)
1907
+ })), 9, br)) : c("", !0)
1903
1908
  ])) : c("", !0)
1904
1909
  ], 6))), 128)),
1905
- (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && t.mutableConfig.dataLabels.show ? (a(), s("g", Fi, [
1906
- (a(!0), s(f, null, m(e.barSet, (r, h) => (a(), s("g", {
1907
- key: `xLabel_bar_${h}`,
1908
- class: D(`xLabel_bar_${h}`),
1909
- style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1910
+ (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && t.mutableConfig.dataLabels.show ? (a(), s("g", Fr, [
1911
+ (a(!0), s(u, null, m(e.barSet, (i, h) => (a(), s(u, {
1912
+ key: `xLabel_bar_${h}`
1910
1913
  }, [
1911
- (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
1912
- key: `xLabel_bar_${h}_${g}`
1914
+ (a(!0), s(u, null, m(i.plots, (n, f) => (a(), s(u, {
1915
+ key: `xLabel_bar_${h}_${f}`
1913
1916
  }, [
1914
- 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", {
1917
+ 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", {
1915
1918
  key: 0,
1916
1919
  x: t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? n.x + e.slot.line / 2 : e.calcRectX(n) + e.calcRectWidth() / 2 - e.barPeriodGap / 2,
1917
1920
  y: e.checkNaN(n.y) + (n.value >= 0 ? e.FINAL_CONFIG.bar.labels.offsetY : -e.FINAL_CONFIG.bar.labels.offsetY * 3),
1918
1921
  "text-anchor": "middle",
1919
1922
  "font-size": t.fontSizes.plotLabels,
1920
1923
  fill: e.FINAL_CONFIG.bar.labels.color
1921
- }, w(e.canShowValue(n.value) ? e.applyDataLabel(
1924
+ }, k(e.canShowValue(n.value) ? e.applyDataLabel(
1922
1925
  e.FINAL_CONFIG.bar.labels.formatter,
1923
1926
  n.value,
1924
1927
  e.dataLabel({
1925
- p: r.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1928
+ p: i.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1926
1929
  v: n.value,
1927
- s: r.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1930
+ s: i.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1928
1931
  r: e.FINAL_CONFIG.bar.labels.rounding
1929
1932
  }),
1930
1933
  {
1931
1934
  datapoint: n,
1932
- serie: r
1935
+ serie: i
1933
1936
  }
1934
- ) : ""), 9, _i)) : c("", !0),
1937
+ ) : ""), 9, _r)) : c("", !0),
1935
1938
  n && e.FINAL_CONFIG.bar.serieName.show ? (a(), s("text", {
1936
1939
  key: 1,
1937
1940
  x: t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? n.x + e.slot.line / 2 : n.x + e.calcRectWidth() * 1.1,
1938
1941
  y: n.y + (n.value > 0 ? e.FINAL_CONFIG.bar.serieName.offsetY : -e.FINAL_CONFIG.bar.serieName.offsetY * 3),
1939
1942
  "text-anchor": "middle",
1940
1943
  "font-size": t.fontSizes.plotLabels,
1941
- fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? r.color : e.FINAL_CONFIG.bar.serieName.color,
1944
+ fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? i.color : e.FINAL_CONFIG.bar.serieName.color,
1942
1945
  "font-weight": e.FINAL_CONFIG.bar.serieName.bold ? "bold" : "normal"
1943
- }, 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)
1944
- ]))), 128))
1945
- ], 6))), 128))
1946
+ }, 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)
1947
+ ], 64))), 128))
1948
+ ], 64))), 128))
1946
1949
  ])) : c("", !0),
1947
- e.FINAL_CONFIG.plot.labels.show && t.mutableConfig.dataLabels.show ? (a(), s("g", yi, [
1948
- (a(!0), s(f, null, m(e.plotSet, (r, h) => (a(), s("g", {
1949
- key: `xLabel_plot_${h}`,
1950
- class: D(`xLabel_plot_${h}`),
1951
- style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1950
+ e.FINAL_CONFIG.plot.labels.show && t.mutableConfig.dataLabels.show ? (a(), s("g", yr, [
1951
+ (a(!0), s(u, null, m(e.plotSet, (i, h) => (a(), s(u, {
1952
+ key: `xLabel_plot_${h}`
1952
1953
  }, [
1953
- (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
1954
- key: `xLabel_plot_${h}_${g}`
1954
+ (a(!0), s(u, null, m(i.plots, (n, f) => (a(), s(u, {
1955
+ key: `xLabel_plot_${h}_${f}`
1955
1956
  }, [
1956
- n && !Object.hasOwn(r, "dataLabels") || r.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g ? (a(), s("text", {
1957
+ n && !Object.hasOwn(i, "dataLabels") || i.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === f || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === f ? (a(), s("text", {
1957
1958
  key: 0,
1958
1959
  x: n.x,
1959
1960
  y: n.y + e.FINAL_CONFIG.plot.labels.offsetY,
1960
1961
  "text-anchor": "middle",
1961
1962
  "font-size": t.fontSizes.plotLabels,
1962
1963
  fill: e.FINAL_CONFIG.plot.labels.color
1963
- }, w(e.canShowValue(n.value) ? e.applyDataLabel(
1964
+ }, k(e.canShowValue(n.value) ? e.applyDataLabel(
1964
1965
  e.FINAL_CONFIG.plot.labels.formatter,
1965
1966
  n.value,
1966
1967
  e.dataLabel({
1967
- p: r.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1968
+ p: i.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1968
1969
  v: n.value,
1969
- s: r.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1970
+ s: i.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1970
1971
  r: e.FINAL_CONFIG.plot.labels.rounding
1971
1972
  }),
1972
1973
  {
1973
1974
  datapoint: n,
1974
- serie: r
1975
+ serie: i
1975
1976
  }
1976
- ) : ""), 9, Li)) : c("", !0),
1977
- n && g === 0 && r.useTag && r.useTag === "start" ? (a(), s("foreignObject", {
1977
+ ) : ""), 9, Cr)) : c("", !0),
1978
+ n && f === 0 && i.useTag && i.useTag === "start" ? (a(), s("foreignObject", {
1978
1979
  key: 1,
1979
1980
  x: n.x,
1980
1981
  y: n.y - 20,
@@ -1982,56 +1983,54 @@ function ir(i, l, o, d, t, e) {
1982
1983
  width: "150",
1983
1984
  style: { overflow: "visible" }
1984
1985
  }, [
1985
- u("div", {
1986
- 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;`)
1987
- }, w(r.name), 5)
1988
- ], 8, Ci)) : c("", !0),
1989
- n && g === r.plots.length - 1 && r.useTag && r.useTag === "end" ? (a(), s("foreignObject", {
1986
+ g("div", {
1987
+ 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;`)
1988
+ }, k(i.name), 5)
1989
+ ], 8, Lr)) : c("", !0),
1990
+ n && f === i.plots.length - 1 && i.useTag && i.useTag === "end" ? (a(), s("foreignObject", {
1990
1991
  key: 2,
1991
- x: n.x - r.name.length * (t.fontSizes.plotLabels / 2),
1992
+ x: n.x - i.name.length * (t.fontSizes.plotLabels / 2),
1992
1993
  y: n.y - 20,
1993
1994
  height: 24,
1994
1995
  width: "150",
1995
1996
  style: { overflow: "visible" }
1996
1997
  }, [
1997
- u("div", {
1998
- 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;`)
1999
- }, w(r.name), 5)
2000
- ], 8, Si)) : c("", !0)
2001
- ]))), 128))
2002
- ], 6))), 128))
1998
+ g("div", {
1999
+ 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;`)
2000
+ }, k(i.name), 5)
2001
+ ], 8, Sr)) : c("", !0)
2002
+ ], 64))), 128))
2003
+ ], 64))), 128))
2003
2004
  ])) : c("", !0),
2004
- e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (a(), s("g", ki, [
2005
- (a(!0), s(f, null, m(e.lineSet, (r, h) => (a(), s("g", {
2006
- key: `xLabel_line_${h}`,
2007
- class: D(`xLabel_line_${h}`),
2008
- style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2005
+ e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (a(), s("g", kr, [
2006
+ (a(!0), s(u, null, m(e.lineSet, (i, h) => (a(), s(u, {
2007
+ key: `xLabel_line_${h}`
2009
2008
  }, [
2010
- (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
2011
- key: `xLabel_line_${h}_${g}`
2009
+ (a(!0), s(u, null, m(i.plots, (n, f) => (a(), s(u, {
2010
+ key: `xLabel_line_${h}_${f}`
2012
2011
  }, [
2013
- n && !Object.hasOwn(r, "dataLabels") || r.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g ? (a(), s("text", {
2012
+ n && !Object.hasOwn(i, "dataLabels") || i.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === f || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === f ? (a(), s("text", {
2014
2013
  key: 0,
2015
2014
  x: n.x,
2016
2015
  y: n.y + (n.value >= 0 ? e.FINAL_CONFIG.line.labels.offsetY : -e.FINAL_CONFIG.line.labels.offsetY * 3),
2017
2016
  "text-anchor": "middle",
2018
2017
  "font-size": t.fontSizes.plotLabels,
2019
2018
  fill: e.FINAL_CONFIG.line.labels.color
2020
- }, w(e.canShowValue(n.value) ? e.applyDataLabel(
2019
+ }, k(e.canShowValue(n.value) ? e.applyDataLabel(
2021
2020
  e.FINAL_CONFIG.line.labels.formatter,
2022
2021
  n.value,
2023
2022
  e.dataLabel({
2024
- p: r.prefix || e.FINAL_CONFIG.chart.labels.prefix,
2023
+ p: i.prefix || e.FINAL_CONFIG.chart.labels.prefix,
2025
2024
  v: n.value,
2026
- s: r.suffix || e.FINAL_CONFIG.chart.labels.suffix,
2025
+ s: i.suffix || e.FINAL_CONFIG.chart.labels.suffix,
2027
2026
  r: e.FINAL_CONFIG.line.labels.rounding
2028
2027
  }),
2029
2028
  {
2030
2029
  datapoint: n,
2031
- serie: r
2030
+ serie: i
2032
2031
  }
2033
- ) : ""), 9, wi)) : c("", !0),
2034
- n && g === 0 && r.useTag && r.useTag === "start" ? (a(), s("foreignObject", {
2032
+ ) : ""), 9, wr)) : c("", !0),
2033
+ n && f === 0 && i.useTag && i.useTag === "start" ? (a(), s("foreignObject", {
2035
2034
  key: 1,
2036
2035
  x: n.x,
2037
2036
  y: n.y - 20,
@@ -2039,119 +2038,115 @@ function ir(i, l, o, d, t, e) {
2039
2038
  width: "150",
2040
2039
  style: { overflow: "visible" }
2041
2040
  }, [
2042
- u("div", {
2043
- 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;`)
2044
- }, w(r.name), 5)
2045
- ], 8, Oi)) : c("", !0),
2046
- n && g === r.plots.length - 1 && r.useTag && r.useTag === "end" ? (a(), s("foreignObject", {
2041
+ g("div", {
2042
+ 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;`)
2043
+ }, k(i.name), 5)
2044
+ ], 8, Or)) : c("", !0),
2045
+ n && f === i.plots.length - 1 && i.useTag && i.useTag === "end" ? (a(), s("foreignObject", {
2047
2046
  key: 2,
2048
- x: n.x - r.name.length * (t.fontSizes.plotLabels / 2),
2047
+ x: n.x - i.name.length * (t.fontSizes.plotLabels / 2),
2049
2048
  y: n.y - 20,
2050
2049
  height: 24,
2051
2050
  width: "150",
2052
2051
  style: { overflow: "visible" }
2053
2052
  }, [
2054
- u("div", {
2055
- 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;`)
2056
- }, w(r.name), 5)
2057
- ], 8, Gi)) : c("", !0)
2058
- ]))), 128))
2059
- ], 6))), 128))
2053
+ g("div", {
2054
+ 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;`)
2055
+ }, k(i.name), 5)
2056
+ ], 8, Gr)) : c("", !0)
2057
+ ], 64))), 128))
2058
+ ], 64))), 128))
2060
2059
  ])) : c("", !0),
2061
- (a(!0), s(f, null, m(e.lineSet, (r, h) => (a(), s("g", {
2062
- key: `xLabel_line_${h}`,
2063
- class: D(`xLabel_line_${h}`),
2064
- style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2060
+ (a(!0), s(u, null, m(e.lineSet, (i, h) => (a(), s(u, {
2061
+ key: `xLabel_line_${h}`
2065
2062
  }, [
2066
- (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
2067
- key: `xLabel_line_${h}_${g}`
2063
+ (a(!0), s(u, null, m(i.plots, (n, f) => (a(), s(u, {
2064
+ key: `xLabel_line_${h}_${f}`
2068
2065
  }, [
2069
- n && g === 0 && r.showSerieName && r.showSerieName === "start" ? (a(), s("text", {
2066
+ n && f === 0 && i.showSerieName && i.showSerieName === "start" ? (a(), s("text", {
2070
2067
  key: 0,
2071
2068
  x: n.x - t.fontSizes.plotLabels,
2072
2069
  y: n.y,
2073
2070
  "font-size": t.fontSizes.plotLabels,
2074
2071
  "text-anchor": "end",
2075
- fill: r.color,
2072
+ fill: i.color,
2076
2073
  innerHTML: e.createTSpans({
2077
- content: r.name,
2074
+ content: i.name,
2078
2075
  fontSize: t.fontSizes.plotLabels,
2079
- fill: r.color,
2076
+ fill: i.color,
2080
2077
  x: n.x - t.fontSizes.plotLabels,
2081
2078
  y: n.y,
2082
2079
  maxWords: 2
2083
2080
  })
2084
- }, null, 8, vi)) : c("", !0),
2085
- n && g === r.plots.length - 1 && r.showSerieName && r.showSerieName === "end" ? (a(), s("text", {
2081
+ }, null, 8, vr)) : c("", !0),
2082
+ n && f === i.plots.length - 1 && i.showSerieName && i.showSerieName === "end" ? (a(), s("text", {
2086
2083
  key: 1,
2087
2084
  x: n.x + t.fontSizes.plotLabels,
2088
2085
  y: n.y,
2089
2086
  "font-size": t.fontSizes.plotLabels,
2090
2087
  "text-anchor": "start",
2091
- fill: r.color,
2088
+ fill: i.color,
2092
2089
  innerHTML: e.createTSpans({
2093
- content: r.name,
2090
+ content: i.name,
2094
2091
  fontSize: t.fontSizes.plotLabels,
2095
- fill: r.color,
2092
+ fill: i.color,
2096
2093
  x: n.x + t.fontSizes.plotLabels,
2097
2094
  y: n.y,
2098
2095
  maxWords: 2
2099
2096
  })
2100
- }, null, 8, zi)) : c("", !0)
2101
- ]))), 128))
2102
- ], 6))), 128)),
2103
- (a(!0), s(f, null, m(e.plotSet, (r, h) => (a(), s("g", {
2104
- key: `xLabel_plot_${h}`,
2105
- class: D(`xLabel_plot_${h}`),
2106
- style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2097
+ }, null, 8, zr)) : c("", !0)
2098
+ ], 64))), 128))
2099
+ ], 64))), 128)),
2100
+ (a(!0), s(u, null, m(e.plotSet, (i, h) => (a(), s(u, {
2101
+ key: `xLabel_plot_${h}`
2107
2102
  }, [
2108
- (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
2109
- key: `xLabel_plot_${h}_${g}`
2103
+ (a(!0), s(u, null, m(i.plots, (n, f) => (a(), s(u, {
2104
+ key: `xLabel_plot_${h}_${f}`
2110
2105
  }, [
2111
- n && g === 0 && r.showSerieName && r.showSerieName === "start" ? (a(), s("text", {
2106
+ n && f === 0 && i.showSerieName && i.showSerieName === "start" ? (a(), s("text", {
2112
2107
  key: 0,
2113
2108
  x: n.x - t.fontSizes.plotLabels,
2114
2109
  y: n.y,
2115
2110
  "font-size": t.fontSizes.plotLabels,
2116
2111
  "text-anchor": "end",
2117
- fill: r.color,
2112
+ fill: i.color,
2118
2113
  innerHTML: e.createTSpans({
2119
- content: r.name,
2114
+ content: i.name,
2120
2115
  fontSize: t.fontSizes.plotLabels,
2121
- fill: r.color,
2116
+ fill: i.color,
2122
2117
  x: n.x - t.fontSizes.plotLabels,
2123
2118
  y: n.y,
2124
2119
  maxWords: 2
2125
2120
  })
2126
- }, null, 8, Mi)) : c("", !0),
2127
- n && g === r.plots.length - 1 && r.showSerieName && r.showSerieName === "end" ? (a(), s("text", {
2121
+ }, null, 8, Mr)) : c("", !0),
2122
+ n && f === i.plots.length - 1 && i.showSerieName && i.showSerieName === "end" ? (a(), s("text", {
2128
2123
  key: 1,
2129
2124
  x: n.x + t.fontSizes.plotLabels,
2130
2125
  y: n.y,
2131
2126
  "font-size": t.fontSizes.plotLabels,
2132
2127
  "text-anchor": "start",
2133
- fill: r.color,
2128
+ fill: i.color,
2134
2129
  innerHTML: e.createTSpans({
2135
- content: r.name,
2130
+ content: i.name,
2136
2131
  fontSize: t.fontSizes.plotLabels,
2137
- fill: r.color,
2132
+ fill: i.color,
2138
2133
  x: n.x + t.fontSizes.plotLabels,
2139
2134
  y: n.y,
2140
2135
  maxWords: 2
2141
2136
  })
2142
- }, null, 8, pi)) : c("", !0)
2143
- ]))), 128))
2144
- ], 6))), 128)),
2145
- t.mutableConfig.useIndividualScale && !t.mutableConfig.isStacked ? (a(!0), s(f, { key: 9 }, m(e.allScales, (r) => (a(), s("rect", {
2146
- x: r.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + e.xPadding,
2137
+ }, null, 8, pr)) : c("", !0)
2138
+ ], 64))), 128))
2139
+ ], 64))), 128)),
2140
+ t.mutableConfig.useIndividualScale && !t.mutableConfig.isStacked ? (a(!0), s(u, { key: 9 }, m(e.allScales, (i) => (a(), s("rect", {
2141
+ x: i.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + e.xPadding,
2147
2142
  y: e.drawingArea.top,
2148
2143
  width: e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
2149
2144
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
2150
- fill: t.selectedScale === r.id ? e.setOpacity(r.color, 20) : "transparent",
2151
- onMouseenter: (h) => t.selectedScale = r.id,
2145
+ fill: t.selectedScale === i.id ? e.setOpacity(i.color, 20) : "transparent",
2146
+ onMouseenter: (h) => t.selectedScale = i.id,
2152
2147
  onMouseleave: l[0] || (l[0] = (h) => t.selectedScale = null)
2153
- }, null, 40, Ti))), 256)) : c("", !0),
2154
- u("g", null, [
2148
+ }, null, 40, Tr))), 256)) : c("", !0),
2149
+ g("g", null, [
2155
2150
  e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !t.mutableConfig.useIndividualScale ? (a(), s("text", {
2156
2151
  key: 0,
2157
2152
  "font-size": t.fontSizes.yAxis,
@@ -2159,7 +2154,7 @@ function ir(i, l, o, d, t, e) {
2159
2154
  transform: `translate(${t.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
2160
2155
  "text-anchor": "middle",
2161
2156
  style: { transition: "none" }
2162
- }, w(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, Pi)) : c("", !0),
2157
+ }, k(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, Pr)) : c("", !0),
2163
2158
  e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (a(), s("text", {
2164
2159
  key: 1,
2165
2160
  "text-anchor": "middle",
@@ -2167,27 +2162,26 @@ function ir(i, l, o, d, t, e) {
2167
2162
  y: e.drawingArea.bottom + t.fontSizes.yAxis + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
2168
2163
  "font-size": t.fontSizes.yAxis,
2169
2164
  fill: e.FINAL_CONFIG.chart.grid.labels.color
2170
- }, w(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, Vi)) : c("", !0)
2165
+ }, k(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, Vr)) : c("", !0)
2171
2166
  ]),
2172
- e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (a(), s("g", Ri, [
2173
- i.$slots["time-label"] ? (a(!0), s(f, { key: 0 }, m(e.timeLabels, (r, h) => (a(), s("g", {
2167
+ Q('v-for="(label, i) in timeLabels" :key="`time_label_${i}`" '),
2168
+ e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (a(), s("g", Rr, [
2169
+ r.$slots["time-label"] ? (a(!0), s(u, { key: 0 }, m(e.timeLabels, (i, h) => S(r.$slots, "time-label", W(J({
2174
2170
  key: `time_label_${h}`
2175
- }, [
2176
- k(i.$slots, "time-label", W(E({
2177
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * h + e.drawingArea.width / e.maxSeries / 2,
2178
- y: e.drawingArea.bottom + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset,
2179
- fontSize: t.fontSizes.xAxis,
2180
- fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
2181
- 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})`,
2182
- absoluteIndex: r.absoluteIndex,
2183
- content: r.text,
2184
- textAnchor: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2185
- 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
2186
- })), void 0, !0)
2187
- ]))), 128)) : (a(!0), s(f, { key: 1 }, m(e.timeLabels, (r, h) => (a(), s("g", {
2171
+ }, {
2172
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * h + e.drawingArea.width / e.maxSeries / 2,
2173
+ y: e.drawingArea.bottom + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset,
2174
+ fontSize: t.fontSizes.xAxis,
2175
+ fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
2176
+ 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})`,
2177
+ absoluteIndex: i.absoluteIndex,
2178
+ content: i.text,
2179
+ textAnchor: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2180
+ 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
2181
+ })), void 0, !0)), 128)) : (a(!0), s(u, { key: 1 }, m(e.timeLabels, (i, h) => (a(), s("g", {
2188
2182
  key: `time_label_${h}`
2189
2183
  }, [
2190
- 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", {
2184
+ 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", {
2191
2185
  key: 0,
2192
2186
  "text-anchor": e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2193
2187
  "font-size": t.fontSizes.xAxis,
@@ -2196,28 +2190,25 @@ function ir(i, l, o, d, t, e) {
2196
2190
  style: {
2197
2191
  cursor: "pointer"
2198
2192
  },
2199
- onClick: () => e.selectTimeLabel(r, h)
2200
- }, w(r.text || ""), 9, Di)) : c("", !0)
2193
+ onClick: () => e.selectTimeLabel(i, h)
2194
+ }, k(i.text || ""), 9, Dr)) : c("", !0)
2201
2195
  ]))), 128))
2202
2196
  ])) : c("", !0),
2203
- u("g", null, [
2204
- (a(!0), s(f, null, m(e.maxSeries, (r, h) => (a(), s("g", {
2205
- key: `tooltip_trap_${h}`
2206
- }, [
2207
- u("rect", {
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, Hi)
2218
- ]))), 128))
2197
+ g("g", null, [
2198
+ (a(!0), s(u, null, m(e.maxSeries, (i, h) => (a(), s("rect", {
2199
+ key: `tooltip_trap_${h}`,
2200
+ "data-cy-trap": "",
2201
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * h,
2202
+ y: e.drawingArea.top,
2203
+ height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
2204
+ width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
2205
+ fill: "transparent",
2206
+ onMouseenter: (n) => e.toggleTooltipVisibility(!0, h),
2207
+ onMouseleave: l[1] || (l[1] = (n) => e.toggleTooltipVisibility(!1)),
2208
+ onClick: (n) => e.selectX(h)
2209
+ }, null, 40, Hr))), 128))
2219
2210
  ]),
2220
- e.FINAL_CONFIG.chart.timeTag.show && (![null, void 0].includes(t.selectedSerieIndex) || ![null, void 0].includes(t.selectedMinimapIndex)) ? (a(), s("g", Bi, [
2211
+ e.FINAL_CONFIG.chart.timeTag.show && (![null, void 0].includes(t.selectedSerieIndex) || ![null, void 0].includes(t.selectedMinimapIndex)) ? (a(), s("g", Br, [
2221
2212
  (a(), s("foreignObject", {
2222
2213
  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,
2223
2214
  y: e.drawingArea.bottom,
@@ -2225,25 +2216,25 @@ function ir(i, l, o, d, t, e) {
2225
2216
  height: "40",
2226
2217
  style: { overflow: "visible !important" }
2227
2218
  }, [
2228
- u("div", {
2219
+ g("div", {
2229
2220
  class: "vue-ui-xy-time-tag",
2230
- 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`)
2231
- }, 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)
2232
- ], 8, Wi)),
2233
- u("circle", {
2221
+ 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`)
2222
+ }, 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)
2223
+ ], 8, Wr)),
2224
+ g("circle", {
2234
2225
  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,
2235
2226
  cy: e.drawingArea.bottom,
2236
2227
  r: e.FINAL_CONFIG.chart.timeTag.circleMarker.radius,
2237
2228
  fill: e.FINAL_CONFIG.chart.timeTag.circleMarker.color
2238
- }, null, 8, Ei)
2229
+ }, null, 8, Er)
2239
2230
  ])) : c("", !0)
2240
2231
  ])) : c("", !0),
2241
- k(i.$slots, "svg", { svg: e.svg }, void 0, !0)
2232
+ S(r.$slots, "svg", { svg: e.svg }, void 0, !0)
2242
2233
  ], 14, $e)) : c("", !0),
2243
- i.$slots.watermark ? (a(), s("div", Yi, [
2244
- k(i.$slots, "watermark", W(E({ isPrinting: t.isPrinting || t.isImaging })), void 0, !0)
2234
+ r.$slots.watermark ? (a(), s("div", Yr, [
2235
+ S(r.$slots, "watermark", W(Y({ isPrinting: t.isPrinting || t.isImaging })), void 0, !0)
2245
2236
  ])) : c("", !0),
2246
- e.isDataset ? c("", !0) : (a(), B(V, {
2237
+ e.isDataset ? c("", !0) : (a(), H(V, {
2247
2238
  key: 6,
2248
2239
  config: {
2249
2240
  type: "line",
@@ -2261,7 +2252,7 @@ function ir(i, l, o, d, t, e) {
2261
2252
  }
2262
2253
  }
2263
2254
  }, null, 8, ["config"])),
2264
- e.FINAL_CONFIG.chart.zoom.show && t.maxX > 6 && e.isDataset ? (a(), B(v, {
2255
+ e.FINAL_CONFIG.chart.zoom.show && t.maxX > 6 && e.isDataset ? (a(), H(v, {
2265
2256
  ref: "chartSlicer",
2266
2257
  key: `slicer_${t.slicerStep}`,
2267
2258
  background: e.FINAL_CONFIG.chart.zoom.color,
@@ -2287,18 +2278,18 @@ function ir(i, l, o, d, t, e) {
2287
2278
  valueStart: t.slicer.start,
2288
2279
  valueEnd: t.slicer.end,
2289
2280
  start: t.slicer.start,
2290
- "onUpdate:start": l[2] || (l[2] = (r) => t.slicer.start = r),
2281
+ "onUpdate:start": l[2] || (l[2] = (i) => t.slicer.start = i),
2291
2282
  end: t.slicer.end,
2292
- "onUpdate:end": l[3] || (l[3] = (r) => t.slicer.end = r),
2283
+ "onUpdate:end": l[3] || (l[3] = (i) => t.slicer.end = i),
2293
2284
  refreshStartPoint: e.FINAL_CONFIG.chart.zoom.startIndex !== null ? e.FINAL_CONFIG.chart.zoom.startIndex : 0,
2294
- 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)),
2285
+ 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)),
2295
2286
  enableRangeHandles: e.FINAL_CONFIG.chart.zoom.enableRangeHandles,
2296
2287
  enableSelectionDrag: e.FINAL_CONFIG.chart.zoom.enableSelectionDrag,
2297
2288
  onReset: e.refreshSlicer,
2298
2289
  onTrapMouse: e.selectMinimapIndex
2299
2290
  }, {
2300
- "reset-action": P(({ reset: r }) => [
2301
- k(i.$slots, "reset-action", W(E({ reset: r })), void 0, !0)
2291
+ "reset-action": P(({ reset: i }) => [
2292
+ S(r.$slots, "reset-action", W(Y({ reset: i })), void 0, !0)
2302
2293
  ]),
2303
2294
  _: 3
2304
2295
  }, 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),
@@ -2306,15 +2297,15 @@ function ir(i, l, o, d, t, e) {
2306
2297
  key: 8,
2307
2298
  ref: "chartLegend",
2308
2299
  class: "vue-ui-xy-legend",
2309
- style: L(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
2300
+ style: O(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
2310
2301
  }, [
2311
- (a(!0), s(f, null, m(e.absoluteDataset, (r, h) => (a(), s("div", {
2302
+ (a(!0), s(u, null, m(e.absoluteDataset, (i, h) => (a(), s("div", {
2312
2303
  key: `div_legend_item_${h}`,
2313
- onClick: (n) => e.segregate(r),
2314
- class: D({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": t.segregatedSeries.includes(r.id) })
2304
+ onClick: (n) => e.segregate(i),
2305
+ class: B({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": t.segregatedSeries.includes(i.id) })
2315
2306
  }, [
2316
- t.icons[r.type] === "line" ? (a(), s("svg", Xi, [
2317
- u("rect", {
2307
+ t.icons[i.type] === "line" ? (a(), s("svg", Xr, [
2308
+ g("rect", {
2318
2309
  x: "0",
2319
2310
  y: "7.5",
2320
2311
  rx: "1.5",
@@ -2322,18 +2313,18 @@ function ir(i, l, o, d, t, e) {
2322
2313
  "stroke-width": 0.5,
2323
2314
  height: "3",
2324
2315
  width: "20",
2325
- fill: r.color
2326
- }, null, 8, Ui),
2316
+ fill: i.color
2317
+ }, null, 8, Ur),
2327
2318
  q(b, {
2328
2319
  plot: { x: 10, y: 9 },
2329
2320
  radius: 4,
2330
- color: r.color,
2331
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(r.shape) ? r.shape : "circle",
2321
+ color: i.color,
2322
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle",
2332
2323
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
2333
2324
  strokeWidth: 0.5
2334
2325
  }, null, 8, ["color", "shape", "stroke"])
2335
- ])) : t.icons[r.type] === "bar" ? (a(), s("svg", Zi, [
2336
- t.icons[r.type] === "bar" && i.$slots.pattern ? (a(), s("rect", {
2326
+ ])) : t.icons[i.type] === "bar" ? (a(), s("svg", Zr, [
2327
+ t.icons[i.type] === "bar" && r.$slots.pattern ? (a(), s("rect", {
2337
2328
  key: 0,
2338
2329
  x: "0",
2339
2330
  y: "0",
@@ -2341,9 +2332,9 @@ function ir(i, l, o, d, t, e) {
2341
2332
  height: "40",
2342
2333
  width: "40",
2343
2334
  stroke: "none",
2344
- fill: r.color
2345
- }, null, 8, Ji)) : c("", !0),
2346
- t.icons[r.type] === "bar" ? (a(), s("rect", {
2335
+ fill: i.color
2336
+ }, null, 8, Jr)) : c("", !0),
2337
+ t.icons[i.type] === "bar" ? (a(), s("rect", {
2347
2338
  key: 1,
2348
2339
  x: "0",
2349
2340
  y: "0",
@@ -2351,25 +2342,25 @@ function ir(i, l, o, d, t, e) {
2351
2342
  height: "40",
2352
2343
  width: "40",
2353
2344
  stroke: "none",
2354
- fill: i.$slots.pattern ? `url(#pattern_${t.uniqueId}_${r.slotAbsoluteIndex})` : r.color
2355
- }, null, 8, Qi)) : c("", !0)
2356
- ])) : (a(), s("svg", Ki, [
2345
+ fill: r.$slots.pattern ? `url(#pattern_${t.uniqueId}_${i.slotAbsoluteIndex})` : i.color
2346
+ }, null, 8, Qr)) : c("", !0)
2347
+ ])) : (a(), s("svg", Kr, [
2357
2348
  q(b, {
2358
2349
  plot: { x: 6, y: 6 },
2359
2350
  radius: 5,
2360
- color: r.color,
2361
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(r.shape) ? r.shape : "circle"
2351
+ color: i.color,
2352
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle"
2362
2353
  }, null, 8, ["color", "shape"])
2363
2354
  ])),
2364
- u("span", {
2365
- style: L(`color:${e.FINAL_CONFIG.chart.legend.color}`)
2366
- }, w(r.name), 5)
2367
- ], 10, qi))), 128))
2368
- ], 4)) : (a(), s("div", ji, [
2369
- k(i.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
2355
+ g("span", {
2356
+ style: O(`color:${e.FINAL_CONFIG.chart.legend.color}`)
2357
+ }, k(i.name), 5)
2358
+ ], 10, qr))), 128))
2359
+ ], 4)) : (a(), s("div", jr, [
2360
+ S(r.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
2370
2361
  ], 512)),
2371
- i.$slots.source ? (a(), s("div", $i, [
2372
- k(i.$slots, "source", {}, void 0, !0)
2362
+ r.$slots.source ? (a(), s("div", $r, [
2363
+ S(r.$slots, "source", {}, void 0, !0)
2373
2364
  ], 512)) : c("", !0),
2374
2365
  q(z, {
2375
2366
  show: t.mutableConfig.showTooltip && t.isTooltip,
@@ -2382,20 +2373,20 @@ function ir(i, l, o, d, t, e) {
2382
2373
  backgroundOpacity: e.FINAL_CONFIG.chart.tooltip.backgroundOpacity,
2383
2374
  position: e.FINAL_CONFIG.chart.tooltip.position,
2384
2375
  offsetY: e.FINAL_CONFIG.chart.tooltip.offsetY,
2385
- parent: i.$refs.chart,
2376
+ parent: r.$refs.chart,
2386
2377
  content: e.tooltipContent,
2387
2378
  isFullscreen: t.isFullscreen,
2388
2379
  isCustom: e.FINAL_CONFIG.chart.tooltip.customFormat && typeof e.FINAL_CONFIG.chart.tooltip.customFormat == "function"
2389
2380
  }, {
2390
2381
  "tooltip-before": P(() => [
2391
- k(i.$slots, "tooltip-before", W(E({ ...e.dataTooltipSlot })), void 0, !0)
2382
+ S(r.$slots, "tooltip-before", W(Y({ ...e.dataTooltipSlot })), void 0, !0)
2392
2383
  ]),
2393
2384
  "tooltip-after": P(() => [
2394
- k(i.$slots, "tooltip-after", W(E({ ...e.dataTooltipSlot })), void 0, !0)
2385
+ S(r.$slots, "tooltip-after", W(Y({ ...e.dataTooltipSlot })), void 0, !0)
2395
2386
  ]),
2396
2387
  _: 3
2397
2388
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
2398
- e.isDataset ? (a(), B(T, {
2389
+ e.isDataset ? (a(), H(T, {
2399
2390
  key: 11,
2400
2391
  hideDetails: "",
2401
2392
  config: {
@@ -2412,18 +2403,18 @@ function ir(i, l, o, d, t, e) {
2412
2403
  }
2413
2404
  }, {
2414
2405
  content: P(() => [
2415
- u("div", {
2416
- style: L(`${t.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2406
+ g("div", {
2407
+ style: O(`${t.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2417
2408
  }, [
2418
- u("div", er, [
2419
- qe(u("input", {
2409
+ g("div", ei, [
2410
+ Xe(g("input", {
2420
2411
  type: "checkbox",
2421
- "onUpdate:modelValue": l[4] || (l[4] = (r) => t.showSparklineTable = r)
2412
+ "onUpdate:modelValue": l[4] || (l[4] = (i) => t.showSparklineTable = i)
2422
2413
  }, null, 512), [
2423
- [Xe, t.showSparklineTable]
2414
+ [Ue, t.showSparklineTable]
2424
2415
  ]),
2425
- u("div", {
2426
- onClick: l[5] || (l[5] = (r) => t.showSparklineTable = !t.showSparklineTable),
2416
+ g("div", {
2417
+ onClick: l[5] || (l[5] = (i) => t.showSparklineTable = !t.showSparklineTable),
2427
2418
  style: { cursor: "pointer" }
2428
2419
  }, [
2429
2420
  q(G, {
@@ -2433,26 +2424,26 @@ function ir(i, l, o, d, t, e) {
2433
2424
  }, null, 8, ["stroke"])
2434
2425
  ])
2435
2426
  ]),
2436
- t.showSparklineTable ? (a(), B(F, {
2427
+ t.showSparklineTable ? (a(), H(F, {
2437
2428
  key: `sparkline_${t.segregateStep}`,
2438
2429
  dataset: e.tableSparklineDataset,
2439
2430
  config: e.tableSparklineConfig
2440
- }, null, 8, ["dataset", "config"])) : (a(), B(C, {
2431
+ }, null, 8, ["dataset", "config"])) : (a(), H(C, {
2441
2432
  key: `table_${t.tableStep}`,
2442
2433
  colNames: e.dataTable.colNames,
2443
2434
  head: e.dataTable.head,
2444
2435
  body: e.dataTable.body,
2445
2436
  config: e.dataTable.config,
2446
2437
  title: `${e.FINAL_CONFIG.chart.title.text}${e.FINAL_CONFIG.chart.title.subtitle.text ? ` : ${e.FINAL_CONFIG.chart.title.subtitle.text}` : ""}`,
2447
- onClose: l[6] || (l[6] = (r) => t.mutableConfig.showTable = !1)
2438
+ onClose: l[6] || (l[6] = (i) => t.mutableConfig.showTable = !1)
2448
2439
  }, {
2449
- th: P(({ th: r }) => [
2450
- u("div", { innerHTML: r }, null, 8, tr)
2440
+ th: P(({ th: i }) => [
2441
+ g("div", { innerHTML: i }, null, 8, ti)
2451
2442
  ]),
2452
- td: P(({ td: r }) => [
2453
- Ue(w(isNaN(Number(r)) ? r : e.dataLabel({
2443
+ td: P(({ td: i }) => [
2444
+ Q(k(isNaN(Number(i)) ? i : e.dataLabel({
2454
2445
  p: e.FINAL_CONFIG.chart.labels.prefix,
2455
- v: r,
2446
+ v: i,
2456
2447
  s: e.FINAL_CONFIG.chart.labels.suffix,
2457
2448
  r: e.FINAL_CONFIG.table.rounding
2458
2449
  })), 1)
@@ -2465,7 +2456,7 @@ function ir(i, l, o, d, t, e) {
2465
2456
  }, 8, ["config"])) : c("", !0)
2466
2457
  ], 46, Ke);
2467
2458
  }
2468
- const br = /* @__PURE__ */ Ze(Qe, [["render", ir], ["__scopeId", "data-v-fb685f15"]]);
2459
+ const bi = /* @__PURE__ */ Ze(Qe, [["render", ri], ["__scopeId", "data-v-524aae5c"]]);
2469
2460
  export {
2470
- br as default
2461
+ bi as default
2471
2462
  };