vue-data-ui 2.4.9 → 2.4.11
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.
- package/README.md +25 -0
- package/dist/{Arrow-BGrY1ydc.cjs → Arrow-B2lMAc1C.cjs} +1 -1
- package/dist/{Arrow-Fke-ybVE.js → Arrow-DTcpIx4P.js} +1 -1
- package/dist/{BaseIcon-BFZiytmY.js → BaseIcon-CNl_wwAN.js} +1 -1
- package/dist/{BaseIcon-P668oVRL.cjs → BaseIcon-Cci48l_M.cjs} +1 -1
- package/dist/{DataTable-8vTlt4e4.cjs → DataTable-BoMFIudG.cjs} +1 -1
- package/dist/{DataTable-Bqouzjik.js → DataTable-DD2NjgWr.js} +2 -2
- package/dist/{Legend-DiLvq4vW.cjs → Legend-BEBhnrMH.cjs} +1 -1
- package/dist/{Legend-BN2BcDVi.js → Legend-rLopjauc.js} +1 -1
- package/dist/PackageVersion-BPbxd_rU.cjs +1 -0
- package/dist/{PackageVersion-CTpPwNFg.js → PackageVersion-DjRRmHKg.js} +1 -1
- package/dist/{PenAndPaper-DLwiH2Np.js → PenAndPaper-BkFQN_fq.js} +2 -2
- package/dist/{PenAndPaper-bKJD5B9n.cjs → PenAndPaper-CLAyC1BP.cjs} +1 -1
- package/dist/{Shape-IDJlHO6G.js → Shape-Bc8lWk7D.js} +1 -1
- package/dist/{Shape-CLIJMoFo.cjs → Shape-DFrKEycb.cjs} +1 -1
- package/dist/{Slicer-CQsrB1vr.js → Slicer-CfPeFpUJ.js} +2 -2
- package/dist/{Slicer-BkionZj4.cjs → Slicer-DnddhuPD.cjs} +1 -1
- package/dist/{Title-RGaMCxMM.cjs → Title-BWAmAhTl.cjs} +1 -1
- package/dist/{Title-eBZtf9JC.js → Title-NE47pLld.js} +1 -1
- package/dist/{Tooltip-wUAIAM2C.js → Tooltip-1RIjj9Cf.js} +1 -1
- package/dist/{Tooltip-DfxV57uu.cjs → Tooltip-CopGUpZs.cjs} +1 -1
- package/dist/{index-CRiXU5u4.js → index-9EusFpSb.js} +1265 -1195
- package/dist/index-D3H-ye-i.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +18 -0
- package/dist/types/vue-data-ui.d.ts +18 -0
- package/dist/{useNestedProp-DxRaQ3VM.cjs → useNestedProp-BkL_BRGP.cjs} +1 -1
- package/dist/{useNestedProp-CJpdmtwu.js → useNestedProp-DLOArwu0.js} +1 -1
- package/dist/{usePrinter-1WhDjgbn.cjs → usePrinter-Bp96LusR.cjs} +1 -1
- package/dist/{usePrinter-uc7d9V3q.js → usePrinter-Q5_oK30J.js} +1 -1
- package/dist/{vue-data-ui-MkOQ0Nle.cjs → vue-data-ui-HoFeCyRO.cjs} +1 -1
- package/dist/{vue-data-ui-CIm7VqEX.js → vue-data-ui-mDZeKnLu.js} +58 -58
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +11 -11
- package/dist/{vue-ui-3d-bar-C1Me6SaI.cjs → vue-ui-3d-bar-CUChTQDT.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-BJ3zWmrS.js → vue-ui-3d-bar-e8ooZusZ.js} +9 -9
- package/dist/{vue-ui-accordion-Bwp3om8n.cjs → vue-ui-accordion-BmZSXtWn.cjs} +1 -1
- package/dist/{vue-ui-accordion-UcagglMR.js → vue-ui-accordion-DE04OBLu.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DFBnbj8i.cjs → vue-ui-age-pyramid-R8-ov8YO.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-CVziTeLg.js → vue-ui-age-pyramid-rBF6FLI0.js} +10 -10
- package/dist/{vue-ui-annotator-X2GVxnvT.js → vue-ui-annotator-C6w7-GB3.js} +1 -1
- package/dist/{vue-ui-annotator-DtntPrcs.cjs → vue-ui-annotator-C_ePw9hm.cjs} +1 -1
- package/dist/{vue-ui-bullet-Dgbg2x2i.cjs → vue-ui-bullet-CBMK8LjV.cjs} +1 -1
- package/dist/{vue-ui-bullet-gkQMIEIY.js → vue-ui-bullet-CrrpYnF-.js} +8 -8
- package/dist/{vue-ui-candlestick-a8DCa9QA.cjs → vue-ui-candlestick-DxzQ2_Xw.cjs} +1 -1
- package/dist/{vue-ui-candlestick-DlrvnR9W.js → vue-ui-candlestick-pRGkapAM.js} +11 -11
- package/dist/{vue-ui-carousel-table-Dv7Y4mPd.cjs → vue-ui-carousel-table-DEyQbJoc.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-DqDoR5Ke.js → vue-ui-carousel-table-XQAJxsSd.js} +4 -4
- package/dist/{vue-ui-chestnut-B8O8csWz.cjs → vue-ui-chestnut-B0SB93Um.cjs} +1 -1
- package/dist/{vue-ui-chestnut-B01FJ4C4.js → vue-ui-chestnut-CqkJL5mj.js} +8 -8
- package/dist/{vue-ui-cursor-BViP1aeI.cjs → vue-ui-cursor-8F-TYD5m.cjs} +1 -1
- package/dist/{vue-ui-cursor-Ba_H8Ncs.js → vue-ui-cursor-i9FdNF85.js} +2 -2
- package/dist/{vue-ui-dashboard-gP-6lXnW.cjs → vue-ui-dashboard-B-uIDy9E.cjs} +1 -1
- package/dist/{vue-ui-dashboard-14KBNioW.js → vue-ui-dashboard-BVNC1LLY.js} +2 -2
- package/dist/{vue-ui-digits-BsR96Ev2.js → vue-ui-digits-2kFZOssj.js} +2 -2
- package/dist/{vue-ui-digits-D2YQwzS9.cjs → vue-ui-digits-DE2wuVjS.cjs} +1 -1
- package/dist/{vue-ui-donut-CRfeBum_.js → vue-ui-donut-BBPED91N.js} +11 -11
- package/dist/{vue-ui-donut-BBgDxAnA.cjs → vue-ui-donut-Dj37tKw3.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-B8HXkrQY.js → vue-ui-donut-evolution-BUfkTz0e.js} +11 -11
- package/dist/{vue-ui-donut-evolution-BJv9WfCY.cjs → vue-ui-donut-evolution-i1mnDbEF.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-W6qsJcrI.cjs → vue-ui-dumbbell-BRUIB_6C.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-B8JLe4Rx.js → vue-ui-dumbbell-DhJADY6g.js} +10 -10
- package/dist/{vue-ui-flow-BaGjUUsp.cjs → vue-ui-flow-Blm_8Qvt.cjs} +1 -1
- package/dist/{vue-ui-flow-XQRrGPwP.js → vue-ui-flow-kshJA6fg.js} +9 -9
- package/dist/{vue-ui-galaxy-Dll7-xmx.cjs → vue-ui-galaxy-BD4b4UPK.cjs} +1 -1
- package/dist/{vue-ui-galaxy-C860KoXR.js → vue-ui-galaxy-CRympGmo.js} +11 -11
- package/dist/{vue-ui-gauge-Cw6HxC9W.cjs → vue-ui-gauge-CctxHIyM.cjs} +1 -1
- package/dist/{vue-ui-gauge-CaM7KOxs.js → vue-ui-gauge-GhVHQWB5.js} +7 -7
- package/dist/{vue-ui-gizmo-CUsTgs2Y.js → vue-ui-gizmo-BmxuTH7g.js} +3 -3
- package/dist/{vue-ui-gizmo-9S26lSOK.cjs → vue-ui-gizmo-DtizFyAK.cjs} +1 -1
- package/dist/{vue-ui-heatmap-BDBRTOtW.cjs → vue-ui-heatmap-C-sjrmzc.cjs} +1 -1
- package/dist/{vue-ui-heatmap-C_2gDpgT.js → vue-ui-heatmap-DxRULRVw.js} +10 -10
- package/dist/{vue-ui-kpi-8TItSsJI.js → vue-ui-kpi-9gsCJSlL.js} +3 -3
- package/dist/{vue-ui-kpi-x5RLnUtN.cjs → vue-ui-kpi-ByeLCYYp.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-AZUp82dL.cjs → vue-ui-mini-loader--9CTs5gd.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BeWlFItj.js → vue-ui-mini-loader-BoUDfasO.js} +2 -2
- package/dist/{vue-ui-molecule-tkmH5BKP.cjs → vue-ui-molecule-GiHkJdKW.cjs} +1 -1
- package/dist/{vue-ui-molecule-CJ_9xqd9.js → vue-ui-molecule-kL3t5Yhh.js} +11 -11
- package/dist/{vue-ui-mood-radar-Ck53yZA6.js → vue-ui-mood-radar-Btlxem3-.js} +11 -11
- package/dist/{vue-ui-mood-radar-C75OoHKh.cjs → vue-ui-mood-radar-hasGnJHW.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-Bpyw1aFZ.cjs → vue-ui-nested-donuts-A8iBv-cs.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-B_S0s6fo.js → vue-ui-nested-donuts-BNHhURZB.js} +11 -11
- package/dist/{vue-ui-onion-DnLZsLDV.js → vue-ui-onion-BjT6FXBW.js} +11 -11
- package/dist/{vue-ui-onion-lMCndwqx.cjs → vue-ui-onion-CfvgXR20.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-Cjr4ER1g.js → vue-ui-parallel-coordinate-plot-1gJHwi-G.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-CiuKqlpx.cjs → vue-ui-parallel-coordinate-plot-72ULVOQs.cjs} +1 -1
- package/dist/vue-ui-quadrant-BIReuPm7.cjs +1 -0
- package/dist/{vue-ui-quadrant-7ayR33KM.js → vue-ui-quadrant-sfyO2CyO.js} +130 -123
- package/dist/{vue-ui-quick-chart-CF5lJluJ.cjs → vue-ui-quick-chart-C-Z1DYoT.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-C0jzFqV_.js → vue-ui-quick-chart-C-srQH9J.js} +9 -9
- package/dist/{vue-ui-radar-_wv53dRp.js → vue-ui-radar-BzC0VQbN.js} +12 -12
- package/dist/{vue-ui-radar-Dpfn4aPE.cjs → vue-ui-radar-MiFm7SRw.cjs} +1 -1
- package/dist/{vue-ui-rating-DW2tgPIX.cjs → vue-ui-rating-BuD7W04t.cjs} +1 -1
- package/dist/{vue-ui-rating-DQHUlrFb.js → vue-ui-rating-ki_gfG3m.js} +11 -11
- package/dist/{vue-ui-relation-circle-BMq4fJ88.cjs → vue-ui-relation-circle-B67IFMK8.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-79WZpSrS.js → vue-ui-relation-circle-BZMISq3F.js} +7 -7
- package/dist/{vue-ui-rings-BoTgy6Fr.cjs → vue-ui-rings-BUyJgRUc.cjs} +1 -1
- package/dist/{vue-ui-rings-BrCjSI5Z.js → vue-ui-rings-CfpBmZkF.js} +11 -11
- package/dist/{vue-ui-scatter-CBmiFQT9.js → vue-ui-scatter-BFs-7dvK.js} +131 -127
- package/dist/vue-ui-scatter-DMNVRT91.cjs +1 -0
- package/dist/{vue-ui-screenshot-Bq3qvacn.cjs → vue-ui-screenshot-BMSEKDz2.cjs} +1 -1
- package/dist/{vue-ui-screenshot-BKOcxDB2.js → vue-ui-screenshot-Cauo4x1P.js} +1 -1
- package/dist/{vue-ui-skeleton-xn62L2MO.cjs → vue-ui-skeleton-BWO9iit6.cjs} +1 -1
- package/dist/{vue-ui-skeleton-CjpLaxv-.js → vue-ui-skeleton-DptJx8-6.js} +20 -20
- package/dist/{vue-ui-smiley-D6aLE71R.js → vue-ui-smiley-Cg1vDE5p.js} +2 -2
- package/dist/{vue-ui-smiley-9H9LUASi.cjs → vue-ui-smiley-DEV_dsFD.cjs} +1 -1
- package/dist/vue-ui-spark-trend-DFwmZlab.cjs +1 -0
- package/dist/vue-ui-spark-trend-DmponpJr.js +282 -0
- package/dist/{vue-ui-sparkbar-BzN6k1x-.js → vue-ui-sparkbar-D4dlelWC.js} +4 -4
- package/dist/{vue-ui-sparkbar-CyNsfVim.cjs → vue-ui-sparkbar-DvVvbi80.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Cze6RBhD.js → vue-ui-sparkgauge-C2VZgwK6.js} +4 -4
- package/dist/{vue-ui-sparkgauge-m2_6j81L.cjs → vue-ui-sparkgauge-CRydFcHZ.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CLsOngeA.cjs → vue-ui-sparkhistogram-C8R8LNDx.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-B-v4hU6_.js → vue-ui-sparkhistogram-DsMLAwhW.js} +5 -5
- package/dist/vue-ui-sparkline-CjRhD9aT.cjs +1 -0
- package/dist/{vue-ui-sparkline-DLnP9odc.js → vue-ui-sparkline-D0tbUqaT.js} +134 -124
- package/dist/{vue-ui-sparkstackbar-BXP6IEtT.cjs → vue-ui-sparkstackbar-Mcu-MB5q.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-cDy_FCNx.js → vue-ui-sparkstackbar-oXLKSeVe.js} +5 -5
- package/dist/{vue-ui-stackbar-DrpNm-6r.cjs → vue-ui-stackbar-CLejMfqE.cjs} +1 -1
- package/dist/{vue-ui-stackbar-CiqiPCPX.js → vue-ui-stackbar-JD5iEkUX.js} +12 -12
- package/dist/{vue-ui-strip-plot-DNo9nipS.cjs → vue-ui-strip-plot-DT_HJhrK.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-C-zS7o1M.js → vue-ui-strip-plot-ZLb1XbOJ.js} +11 -11
- package/dist/{vue-ui-table-D9aY6eJT.cjs → vue-ui-table-CATIqeAZ.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-KxsHw3d3.cjs → vue-ui-table-heatmap-2xNfY1n-.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-zs6Z470G.js → vue-ui-table-heatmap-Bx0wx_p5.js} +21 -21
- package/dist/{vue-ui-table-EATZiVw7.js → vue-ui-table-i2KKmKxr.js} +10 -10
- package/dist/{vue-ui-table-sparkline-BNI0g8vI.js → vue-ui-table-sparkline-BJ1p4Emo.js} +16 -16
- package/dist/{vue-ui-table-sparkline-CKXBmV2x.cjs → vue-ui-table-sparkline-lIhP_jpT.cjs} +1 -1
- package/dist/{vue-ui-thermometer-B70IlU6G.cjs → vue-ui-thermometer-C5HlafWP.cjs} +1 -1
- package/dist/{vue-ui-thermometer-DWYtuYTq.js → vue-ui-thermometer-Cpw1HsJj.js} +7 -7
- package/dist/{vue-ui-timer-DLobjqLZ.js → vue-ui-timer-BqlatBRs.js} +5 -5
- package/dist/{vue-ui-timer-Dimpnhrr.cjs → vue-ui-timer-DJ6Z60f7.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CehKPt9l.cjs → vue-ui-tiremarks-COUOuw47.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DHosMEnc.js → vue-ui-tiremarks-D-X3Nci7.js} +7 -7
- package/dist/{vue-ui-treemap-3zwGXPWM.js → vue-ui-treemap-Bt24Hk6i.js} +11 -11
- package/dist/{vue-ui-treemap-uxUzrgJw.cjs → vue-ui-treemap-x7BAU-Mj.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-UXCZ5jyu.js → vue-ui-vertical-bar-BwLl08U5.js} +11 -11
- package/dist/{vue-ui-vertical-bar-tljvI8ZD.cjs → vue-ui-vertical-bar-DLarr8xJ.cjs} +1 -1
- package/dist/{vue-ui-waffle-B5YJ2-qg.js → vue-ui-waffle-CL53rtX8.js} +11 -11
- package/dist/{vue-ui-waffle-BB0nwq8k.cjs → vue-ui-waffle-CUgTo43L.cjs} +1 -1
- package/dist/{vue-ui-wheel-Doj339q6.cjs → vue-ui-wheel-BNcFNmnp.cjs} +1 -1
- package/dist/{vue-ui-wheel-BNV-kvRK.js → vue-ui-wheel-Cnktsvs_.js} +7 -7
- package/dist/{vue-ui-word-cloud-DzlAcim2.js → vue-ui-word-cloud-CNq7Fs2o.js} +10 -10
- package/dist/{vue-ui-word-cloud-vEgW75C-.cjs → vue-ui-word-cloud-DMQf_Jlw.cjs} +1 -1
- package/dist/{vue-ui-xy-DcinX3ix.js → vue-ui-xy-D0CYaEFW.js} +269 -255
- package/dist/{vue-ui-xy-canvas-C5oFgOEO.js → vue-ui-xy-canvas-CBkXw173.js} +63 -60
- package/dist/vue-ui-xy-canvas-CzEUFhi7.cjs +9 -0
- package/dist/vue-ui-xy-dwJ4ji_y.cjs +3 -0
- package/package.json +1 -1
- package/dist/PackageVersion-DPna32U7.cjs +0 -1
- package/dist/index-CxfVE-zl.cjs +0 -9
- package/dist/vue-ui-quadrant-DDbKIPVl.cjs +0 -1
- package/dist/vue-ui-scatter-AgWOR5nX.cjs +0 -1
- package/dist/vue-ui-spark-trend-DhUNW1YZ.js +0 -272
- package/dist/vue-ui-spark-trend-KO9LcvA9.cjs +0 -1
- package/dist/vue-ui-sparkline--mWL3SLf.cjs +0 -1
- package/dist/vue-ui-xy-CpuHnuJR.cjs +0 -3
- package/dist/vue-ui-xy-canvas-D665Zxts.cjs +0 -9
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { c as J, a as K, t as Q, z as j, p as $,
|
|
2
|
-
import { D as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { U as
|
|
6
|
-
import { _ as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { S as Pe } from "./Slicer-
|
|
11
|
-
import
|
|
12
|
-
import { u as Z } from "./useNestedProp-
|
|
13
|
-
import { _ as
|
|
14
|
-
import { P as
|
|
15
|
-
import { resolveComponent as
|
|
16
|
-
import { _ as
|
|
17
|
-
const
|
|
1
|
+
import { c as J, a as K, t as Q, z as j, p as $, V as q, O as R, f as U, K as ee, F as te, i as ae, a2 as ie, a0 as re, a3 as le, v as se, a4 as ne, d as oe, B as he, b as ce, q as de, R as ue, a5 as ge, r as fe, e as Ne, y as me, M as Ie, x as xe, a6 as be, Y as Fe, o as _e, s as ye, w as Ae, E as Ce, A as Le, u as ke } from "./index-9EusFpSb.js";
|
|
2
|
+
import { D as Se } from "./DataTable-DD2NjgWr.js";
|
|
3
|
+
import { _ as we } from "./Title-NE47pLld.js";
|
|
4
|
+
import { _ as Oe, u as Ge } from "./Tooltip-1RIjj9Cf.js";
|
|
5
|
+
import { U as ve } from "./usePrinter-Q5_oK30J.js";
|
|
6
|
+
import { _ as pe } from "./Shape-Bc8lWk7D.js";
|
|
7
|
+
import ze from "./BaseIcon-CNl_wwAN.js";
|
|
8
|
+
import Me from "./vue-ui-table-sparkline-BJ1p4Emo.js";
|
|
9
|
+
import Te from "./vue-ui-skeleton-DptJx8-6.js";
|
|
10
|
+
import { S as Pe } from "./Slicer-CfPeFpUJ.js";
|
|
11
|
+
import Ve from "./vue-ui-accordion-DE04OBLu.js";
|
|
12
|
+
import { u as Z } from "./useNestedProp-DLOArwu0.js";
|
|
13
|
+
import { _ as Re } from "./PackageVersion-DjRRmHKg.js";
|
|
14
|
+
import { P as De } from "./PenAndPaper-BkFQN_fq.js";
|
|
15
|
+
import { resolveComponent as P, openBlock as r, createElementBlock as l, normalizeClass as V, normalizeStyle as C, createBlock as D, createCommentVNode as h, createSlots as Be, withCtx as M, renderSlot as O, normalizeProps as H, guardReactiveProps as W, createVNode as X, createElementVNode as u, Fragment as N, renderList as I, toDisplayString as k, withDirectives as He, vModelCheckbox as We, createTextVNode as Ee } from "vue";
|
|
16
|
+
import { _ as Ye } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
+
const Xe = J(), qe = {
|
|
18
18
|
name: "vue-ui-xy",
|
|
19
19
|
props: {
|
|
20
20
|
config: {
|
|
@@ -31,31 +31,31 @@ const Ye = J(), Xe = {
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
components: {
|
|
34
|
-
DataTable:
|
|
35
|
-
Shape:
|
|
36
|
-
Title:
|
|
37
|
-
Tooltip:
|
|
38
|
-
UserOptions:
|
|
39
|
-
BaseIcon:
|
|
40
|
-
TableSparkline:
|
|
41
|
-
Skeleton:
|
|
34
|
+
DataTable: Se,
|
|
35
|
+
Shape: pe,
|
|
36
|
+
Title: we,
|
|
37
|
+
Tooltip: Oe,
|
|
38
|
+
UserOptions: ve,
|
|
39
|
+
BaseIcon: ze,
|
|
40
|
+
TableSparkline: Me,
|
|
41
|
+
Skeleton: Te,
|
|
42
42
|
Slicer: Pe,
|
|
43
|
-
Accordion:
|
|
44
|
-
PackageVersion:
|
|
45
|
-
PenAndPaper:
|
|
43
|
+
Accordion: Ve,
|
|
44
|
+
PackageVersion: Re,
|
|
45
|
+
PenAndPaper: De
|
|
46
46
|
},
|
|
47
47
|
data() {
|
|
48
|
-
this.dataset.forEach((
|
|
49
|
-
[null, void 0].includes(
|
|
48
|
+
this.dataset.forEach((f, a) => {
|
|
49
|
+
[null, void 0].includes(f.series) && this.error({
|
|
50
50
|
componentName: "VueUiXy",
|
|
51
51
|
type: "datasetSerieAttribute",
|
|
52
52
|
property: "series (number[])",
|
|
53
|
-
index:
|
|
53
|
+
index: a
|
|
54
54
|
});
|
|
55
55
|
});
|
|
56
|
-
const t = Math.max(...this.dataset.map((
|
|
56
|
+
const t = this.config.downsample && this.config.downsample.threshold ? this.config.downsample.threshold : 500, s = Math.max(...this.dataset.map((f) => this.largestTriangleThreeBucketsArray({ data: f.series, threshold: t }).length)), c = {
|
|
57
57
|
start: 0,
|
|
58
|
-
end:
|
|
58
|
+
end: s
|
|
59
59
|
};
|
|
60
60
|
return {
|
|
61
61
|
themePalettes: K,
|
|
@@ -104,12 +104,12 @@ const Ye = J(), Xe = {
|
|
|
104
104
|
step: 0,
|
|
105
105
|
tableStep: 0,
|
|
106
106
|
titleStep: 0,
|
|
107
|
-
slicer:
|
|
107
|
+
slicer: c,
|
|
108
108
|
__to__: null,
|
|
109
|
-
maxX:
|
|
109
|
+
maxX: s,
|
|
110
110
|
showSparklineTable: !0,
|
|
111
111
|
segregateStep: 0,
|
|
112
|
-
sliderId:
|
|
112
|
+
sliderId: Xe,
|
|
113
113
|
fontSizes: {
|
|
114
114
|
xAxis: 18,
|
|
115
115
|
yAxis: 12,
|
|
@@ -126,7 +126,10 @@ const Ye = J(), Xe = {
|
|
|
126
126
|
watch: {
|
|
127
127
|
dataset: {
|
|
128
128
|
handler(t, s) {
|
|
129
|
-
this.maxX = Math.max(...this.dataset.map((c) =>
|
|
129
|
+
this.maxX = Math.max(...this.dataset.map((c) => this.largestTriangleThreeBucketsArray({
|
|
130
|
+
data: c.series,
|
|
131
|
+
threshold: this.FINAL_CONFIG.downsample.threshold
|
|
132
|
+
}).length)), this.slicer = {
|
|
130
133
|
start: 0,
|
|
131
134
|
end: this.maxX
|
|
132
135
|
}, this.slicerStep += 1, this.segregateStep += 1;
|
|
@@ -252,16 +255,26 @@ const Ye = J(), Xe = {
|
|
|
252
255
|
datasetWithIds() {
|
|
253
256
|
return this.useSafeValues ? this.dataset.map((t, s) => ({
|
|
254
257
|
...t,
|
|
258
|
+
series: this.largestTriangleThreeBucketsArray({
|
|
259
|
+
data: t.series,
|
|
260
|
+
threshold: this.FINAL_CONFIG.downsample.threshold
|
|
261
|
+
}),
|
|
255
262
|
id: `uniqueId_${s}`
|
|
256
263
|
})) : this.dataset;
|
|
257
264
|
},
|
|
258
265
|
safeDataset() {
|
|
259
|
-
return this.useSafeValues ? this.dataset.map((t, s) =>
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
266
|
+
return this.useSafeValues ? this.dataset.map((t, s) => {
|
|
267
|
+
const c = this.largestTriangleThreeBucketsArray({
|
|
268
|
+
data: t.series,
|
|
269
|
+
threshold: this.FINAL_CONFIG.downsample.threshold
|
|
270
|
+
});
|
|
271
|
+
return {
|
|
272
|
+
...t,
|
|
273
|
+
series: c.map((f) => this.isSafeValue(f) ? f : null).slice(this.slicer.start, this.slicer.end),
|
|
274
|
+
color: this.convertColorToHex(t.color ? t.color : this.customPalette[s] ? this.customPalette[s] : this.palette[s]),
|
|
275
|
+
id: `uniqueId_${s}`
|
|
276
|
+
};
|
|
277
|
+
}) : this.dataset;
|
|
265
278
|
},
|
|
266
279
|
relativeDataset() {
|
|
267
280
|
return this.safeDataset.map((t, s) => ({
|
|
@@ -320,15 +333,15 @@ const Ye = J(), Xe = {
|
|
|
320
333
|
barSet() {
|
|
321
334
|
return this.activeSeriesWithStackRatios.filter((t) => t.type === "bar").map((t, s) => {
|
|
322
335
|
this.checkAutoScaleError(t);
|
|
323
|
-
const c = Math.min(...t.absoluteValues.filter((
|
|
324
|
-
ratios: t.absoluteValues.filter((
|
|
336
|
+
const c = Math.min(...t.absoluteValues.filter((d) => ![null, void 0].includes(d))), f = Math.max(...t.absoluteValues.filter((d) => ![null, void 0].includes(d))), e = {
|
|
337
|
+
ratios: t.absoluteValues.filter((d) => ![null, void 0].includes(d)).map((d) => (d - c) / (f - c)),
|
|
325
338
|
valueMin: c,
|
|
326
339
|
valueMax: f < 0 ? 0 : f
|
|
327
340
|
}, x = {
|
|
328
341
|
max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
|
|
329
|
-
min: t.scaleMin || Math.min(...t.absoluteValues.filter((
|
|
330
|
-
}, y = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, S = 1.0000001, m = this.calculateNiceScaleWithExactExtremes(x.min, x.max === x.min ? x.max * S : x.max, y), b = this.calculateNiceScaleWithExactExtremes(e.valueMin, e.valueMax === e.valueMin ? e.valueMax * S : e.valueMax, y),
|
|
331
|
-
const E = this.mutableConfig.useIndividualScale ? (t.absoluteValues[F] +
|
|
342
|
+
min: t.scaleMin || Math.min(...t.absoluteValues.filter((d) => ![void 0, null].includes(d))) > 0 ? 0 : Math.min(...t.absoluteValues.filter((d) => ![null, void 0].includes(d)))
|
|
343
|
+
}, y = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, S = 1.0000001, m = this.calculateNiceScaleWithExactExtremes(x.min, x.max === x.min ? x.max * S : x.max, y), b = this.calculateNiceScaleWithExactExtremes(e.valueMin, e.valueMax === e.valueMin ? e.valueMax * S : e.valueMax, y), T = m.min >= 0 ? 0 : Math.abs(m.min), v = 0, p = m.max + T, w = b.max + Math.abs(v), _ = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, L = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, z = this.drawingArea.bottom - _ - L * T / p, i = this.drawingArea.bottom - _ - L * v / w, o = this.absoluteDataset.filter((d) => d.type === "bar").filter((d) => !this.segregatedSeries.includes(d.id)).length, n = t.series.map((d, F) => {
|
|
344
|
+
const E = this.mutableConfig.useIndividualScale ? (t.absoluteValues[F] + T) / p : this.ratioToMax(d), Y = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * F : this.drawingArea.left + this.slot.bar * s + this.slot.bar * F * o - this.barSlot / 2 - s * this.barPeriodGap;
|
|
332
345
|
return {
|
|
333
346
|
yOffset: this.checkNaN(_),
|
|
334
347
|
individualHeight: this.checkNaN(L),
|
|
@@ -339,7 +352,7 @@ const Ye = J(), Xe = {
|
|
|
339
352
|
individualMax: this.checkNaN(p),
|
|
340
353
|
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
|
|
341
354
|
};
|
|
342
|
-
}), g = t.absoluteValues.map((
|
|
355
|
+
}), g = t.absoluteValues.map((d) => b.min >= 0 ? (d - Math.abs(b.min)) / (b.max - Math.abs(b.min)) : (d + Math.abs(b.min)) / (b.max + Math.abs(b.min))), B = t.series.map((d, F) => {
|
|
343
356
|
const E = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * F : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * s + this.slot.bar * F * this.absoluteDataset.filter((Y) => Y.type === "bar").filter((Y) => !this.segregatedSeries.includes(Y.id)).length;
|
|
344
357
|
return {
|
|
345
358
|
yOffset: this.checkNaN(_),
|
|
@@ -351,17 +364,17 @@ const Ye = J(), Xe = {
|
|
|
351
364
|
individualMax: this.checkNaN(p),
|
|
352
365
|
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
|
|
353
366
|
};
|
|
354
|
-
}), A = m.ticks.map((
|
|
355
|
-
y:
|
|
356
|
-
value:
|
|
367
|
+
}), A = m.ticks.map((d) => ({
|
|
368
|
+
y: d >= 0 ? z - L * (d / p) : z + L * Math.abs(d) / p,
|
|
369
|
+
value: d,
|
|
357
370
|
prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
358
371
|
suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
359
372
|
datapoint: t
|
|
360
|
-
})), G = b.ticks.map((
|
|
361
|
-
const F = (
|
|
373
|
+
})), G = b.ticks.map((d) => {
|
|
374
|
+
const F = (d - b.min) / (b.max - b.min);
|
|
362
375
|
return {
|
|
363
|
-
y:
|
|
364
|
-
value:
|
|
376
|
+
y: d >= 0 ? i - L * F : i + L * F,
|
|
377
|
+
value: d,
|
|
365
378
|
prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
366
379
|
suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
367
380
|
datapoint: t
|
|
@@ -376,7 +389,7 @@ const Ye = J(), Xe = {
|
|
|
376
389
|
individualScale: t.autoScaling ? b : m,
|
|
377
390
|
individualMax: t.autoScaling ? w : p,
|
|
378
391
|
zeroPosition: t.autoScaling ? i : z,
|
|
379
|
-
plots: t.autoScaling ?
|
|
392
|
+
plots: t.autoScaling ? B : n
|
|
380
393
|
};
|
|
381
394
|
});
|
|
382
395
|
},
|
|
@@ -389,22 +402,22 @@ const Ye = J(), Xe = {
|
|
|
389
402
|
lineSet() {
|
|
390
403
|
return this.activeSeriesWithStackRatios.filter((t) => t.type === "line").map((t) => {
|
|
391
404
|
this.checkAutoScaleError(t);
|
|
392
|
-
const s = Math.min(...t.absoluteValues.filter((
|
|
393
|
-
ratios: t.absoluteValues.filter((
|
|
405
|
+
const s = Math.min(...t.absoluteValues.filter((d) => ![void 0, null].includes(d))), c = Math.max(...t.absoluteValues.filter((d) => ![void 0, null].includes(d))) || 1, a = {
|
|
406
|
+
ratios: t.absoluteValues.filter((d) => ![null, void 0].includes(d)).map((d) => (d - s) / (c - s)),
|
|
394
407
|
valueMin: s,
|
|
395
408
|
valueMax: c
|
|
396
409
|
}, e = {
|
|
397
410
|
max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
|
|
398
411
|
min: t.scaleMin || (Math.min(...t.absoluteValues) > 0 ? 0 : Math.min(...t.absoluteValues))
|
|
399
|
-
}, x = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, y = 1.0000001, S = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * y : e.max, x), m = this.calculateNiceScaleWithExactExtremes(a.valueMin, a.valueMax === a.valueMin ? a.valueMax * y : a.valueMax, x), b = S.min >= 0 ? 0 : Math.abs(S.min),
|
|
400
|
-
const E = this.mutableConfig.useIndividualScale ? (t.absoluteValues[F] + Math.abs(b)) / v : this.ratioToMax(
|
|
412
|
+
}, x = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, y = 1.0000001, S = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * y : e.max, x), m = this.calculateNiceScaleWithExactExtremes(a.valueMin, a.valueMax === a.valueMin ? a.valueMax * y : a.valueMax, x), b = S.min >= 0 ? 0 : Math.abs(S.min), T = 0, v = S.max + Math.abs(b), p = m.max + Math.abs(T), w = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, L = this.drawingArea.bottom - w - _ * b / v, z = this.drawingArea.bottom - w - _ * T / p, i = t.series.map((d, F) => {
|
|
413
|
+
const E = this.mutableConfig.useIndividualScale ? (t.absoluteValues[F] + Math.abs(b)) / v : this.ratioToMax(d);
|
|
401
414
|
return {
|
|
402
415
|
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * F),
|
|
403
416
|
y: this.checkNaN(this.drawingArea.bottom - w - _ * E),
|
|
404
417
|
value: t.absoluteValues[F],
|
|
405
418
|
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
|
|
406
419
|
};
|
|
407
|
-
}), o = t.absoluteValues.map((
|
|
420
|
+
}), o = t.absoluteValues.map((d) => m.min >= 0 ? (d - Math.abs(m.min)) / (m.max - Math.abs(m.min)) : (d + Math.abs(m.min)) / (m.max + Math.abs(m.min))), n = t.series.map((d, F) => [void 0, null].includes(t.absoluteValues[F]) ? {
|
|
408
421
|
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * F),
|
|
409
422
|
y: L,
|
|
410
423
|
value: t.absoluteValues[F],
|
|
@@ -414,17 +427,17 @@ const Ye = J(), Xe = {
|
|
|
414
427
|
y: this.checkNaN(this.drawingArea.bottom - w - (_ * o[F] || 0)),
|
|
415
428
|
value: t.absoluteValues[F],
|
|
416
429
|
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
|
|
417
|
-
}), g = this.createSmoothPath(i),
|
|
418
|
-
y:
|
|
419
|
-
value:
|
|
430
|
+
}), g = this.createSmoothPath(i), B = this.createSmoothPath(n), A = S.ticks.map((d) => ({
|
|
431
|
+
y: d >= 0 ? L - _ * (d / v) : L + _ * Math.abs(d) / v,
|
|
432
|
+
value: d,
|
|
420
433
|
prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
421
434
|
suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
422
435
|
datapoint: t
|
|
423
|
-
})), G = m.ticks.map((
|
|
424
|
-
const F = (
|
|
436
|
+
})), G = m.ticks.map((d) => {
|
|
437
|
+
const F = (d - m.min) / (m.max - m.min);
|
|
425
438
|
return {
|
|
426
|
-
y:
|
|
427
|
-
value:
|
|
439
|
+
y: d >= 0 ? z - _ * F : z + _ * F,
|
|
440
|
+
value: d,
|
|
428
441
|
prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
429
442
|
suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
430
443
|
datapoint: t
|
|
@@ -439,7 +452,7 @@ const Ye = J(), Xe = {
|
|
|
439
452
|
individualScale: t.autoScaling ? m : S,
|
|
440
453
|
individualMax: t.autoScaling ? p : v,
|
|
441
454
|
zeroPosition: t.autoScaling ? z : L,
|
|
442
|
-
curve: t.autoScaling ?
|
|
455
|
+
curve: t.autoScaling ? B : g,
|
|
443
456
|
plots: t.autoScaling ? n : i,
|
|
444
457
|
area: t.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(t.autoScaling ? n : i, t.autoScaling ? z : L) : this.createArea(i) : ""
|
|
445
458
|
};
|
|
@@ -455,11 +468,11 @@ const Ye = J(), Xe = {
|
|
|
455
468
|
}, e = {
|
|
456
469
|
max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
|
|
457
470
|
min: t.scaleMin || Math.min(...t.absoluteValues) > 0 ? 0 : Math.min(...t.absoluteValues)
|
|
458
|
-
}, x = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, y = 1.0000001, S = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * y : e.max, x), m = this.calculateNiceScaleWithExactExtremes(a.valueMin, a.valueMax === a.valueMin ? a.valueMax * y : a.valueMax, x), b = S.min >= 0 ? 0 : Math.abs(S.min),
|
|
459
|
-
const
|
|
471
|
+
}, x = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, y = 1.0000001, S = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * y : e.max, x), m = this.calculateNiceScaleWithExactExtremes(a.valueMin, a.valueMax === a.valueMin ? a.valueMax * y : a.valueMax, x), b = S.min >= 0 ? 0 : Math.abs(S.min), T = 0, v = S.max + b, p = m.max + Math.abs(T), w = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, L = this.drawingArea.bottom - w - _ * b / v, z = this.drawingArea.bottom - w - _ * T / p, i = t.series.map((A, G) => {
|
|
472
|
+
const d = this.mutableConfig.useIndividualScale ? (t.absoluteValues[G] + Math.abs(b)) / v : this.ratioToMax(A);
|
|
460
473
|
return {
|
|
461
474
|
x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * G),
|
|
462
|
-
y: this.checkNaN(this.drawingArea.bottom - w - _ *
|
|
475
|
+
y: this.checkNaN(this.drawingArea.bottom - w - _ * d),
|
|
463
476
|
value: t.absoluteValues[G],
|
|
464
477
|
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[G] || ""
|
|
465
478
|
};
|
|
@@ -474,7 +487,7 @@ const Ye = J(), Xe = {
|
|
|
474
487
|
prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
475
488
|
suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
476
489
|
datapoint: t
|
|
477
|
-
})),
|
|
490
|
+
})), B = m.ticks.map((A) => {
|
|
478
491
|
const G = (A - m.min) / (m.max - m.min);
|
|
479
492
|
return {
|
|
480
493
|
y: A >= 0 ? z - _ * G : z + _ * G,
|
|
@@ -487,9 +500,9 @@ const Ye = J(), Xe = {
|
|
|
487
500
|
return {
|
|
488
501
|
...t,
|
|
489
502
|
yOffset: w,
|
|
490
|
-
autoScaleYLabels:
|
|
503
|
+
autoScaleYLabels: B,
|
|
491
504
|
individualHeight: _,
|
|
492
|
-
scaleYLabels: t.autoScaling ?
|
|
505
|
+
scaleYLabels: t.autoScaling ? B : g,
|
|
493
506
|
individualScale: t.autoScaling ? m : S,
|
|
494
507
|
individualMax: t.autoScaling ? p : v,
|
|
495
508
|
zeroPosition: t.autoScaling ? z : L,
|
|
@@ -732,10 +745,10 @@ const Ye = J(), Xe = {
|
|
|
732
745
|
checkNaN: se,
|
|
733
746
|
closestDecimal: ne,
|
|
734
747
|
convertColorToHex: oe,
|
|
735
|
-
convertConfigColors:
|
|
736
|
-
convertCustomPalette:
|
|
737
|
-
createCsvContent:
|
|
738
|
-
createSmoothPath:
|
|
748
|
+
convertConfigColors: he,
|
|
749
|
+
convertCustomPalette: ce,
|
|
750
|
+
createCsvContent: de,
|
|
751
|
+
createSmoothPath: ue,
|
|
739
752
|
createTSpans: ge,
|
|
740
753
|
dataLabel: U,
|
|
741
754
|
downloadCsv: fe,
|
|
@@ -744,12 +757,13 @@ const Ye = J(), Xe = {
|
|
|
744
757
|
hasDeepProperty: Ie,
|
|
745
758
|
isFunction: xe,
|
|
746
759
|
isSafeValue: be,
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
760
|
+
largestTriangleThreeBucketsArray: Fe,
|
|
761
|
+
objectIsEmpty: _e,
|
|
762
|
+
setOpacity: ye,
|
|
763
|
+
shiftHue: Ae,
|
|
764
|
+
translateSize: Ce,
|
|
765
|
+
treeShake: Le,
|
|
766
|
+
useMouse: Ge,
|
|
753
767
|
useNestedProp: Z,
|
|
754
768
|
toggleAnnotator() {
|
|
755
769
|
this.isAnnotator = !this.isAnnotator;
|
|
@@ -762,7 +776,7 @@ const Ye = J(), Xe = {
|
|
|
762
776
|
};
|
|
763
777
|
},
|
|
764
778
|
prepareConfig() {
|
|
765
|
-
const t =
|
|
779
|
+
const t = ke().vue_ui_xy;
|
|
766
780
|
if (!Object.keys(this.config || {}).length)
|
|
767
781
|
return t;
|
|
768
782
|
const s = this.useNestedProp({
|
|
@@ -812,8 +826,8 @@ const Ye = J(), Xe = {
|
|
|
812
826
|
this.FINAL_CONFIG.chart.legend.show && (S = this.$refs.chartLegend, m = S.getBoundingClientRect().height);
|
|
813
827
|
let b = 0;
|
|
814
828
|
this.$refs.source && (b = this.$refs.source.getBoundingClientRect().height);
|
|
815
|
-
let
|
|
816
|
-
this.$refs.noTitle && (
|
|
829
|
+
let T = 0;
|
|
830
|
+
this.$refs.noTitle && (T = this.$refs.source.getBoundingClientRect().height), this.height = c - e - m - y - b - T, this.width = f, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((p) => {
|
|
817
831
|
for (const w of p)
|
|
818
832
|
this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (y = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (m = this.$refs.chartLegend.getBoundingClientRect().height), this.$refs.source && (b = this.$refs.source.getBoundingClientRect().height), this.height = w.contentBoxSize[0].blockSize - e - m - y - b - 24, this.width = w.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
|
|
819
833
|
}).observe(s);
|
|
@@ -902,7 +916,7 @@ const Ye = J(), Xe = {
|
|
|
902
916
|
refreshSlicer() {
|
|
903
917
|
this.slicer = {
|
|
904
918
|
start: 0,
|
|
905
|
-
end: Math.max(...this.dataset.map((t) => t.series.length))
|
|
919
|
+
end: Math.max(...this.dataset.map((t) => this.largestTriangleThreeBucketsArray({ data: t.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length))
|
|
906
920
|
}, this.slicerStep += 1;
|
|
907
921
|
},
|
|
908
922
|
calcRectHeight(t) {
|
|
@@ -1022,37 +1036,37 @@ const Ye = J(), Xe = {
|
|
|
1022
1036
|
}, 100);
|
|
1023
1037
|
}
|
|
1024
1038
|
}
|
|
1025
|
-
},
|
|
1039
|
+
}, Ue = ["id"], Ze = {
|
|
1026
1040
|
key: 1,
|
|
1027
1041
|
ref: "noTitle",
|
|
1028
1042
|
class: "vue-data-ui-no-title-space",
|
|
1029
1043
|
style: "height:36px; width: 100%; background:transparent"
|
|
1030
|
-
},
|
|
1044
|
+
}, Je = ["viewBox"], Ke = { key: 0 }, Qe = { class: "vue-ui-xy-grid" }, je = ["stroke", "x1", "x2", "y1", "y2"], $e = ["stroke", "x1", "x2", "y1", "y2"], et = { key: 1 }, tt = ["x1", "x2", "y1", "y2", "stroke"], at = ["x1", "x2", "y1", "y2", "stroke"], it = ["x1", "x2", "y1", "y2", "stroke"], rt = { key: 3 }, lt = ["x1", "x2", "y1", "y2", "stroke"], st = ["id"], nt = ["stop-color"], ot = ["stop-color"], ht = ["stop-color"], ct = ["id"], dt = ["stop-color"], ut = ["stop-color"], gt = ["stop-color"], ft = ["id"], Nt = ["stop-color"], mt = ["stop-color"], It = ["id"], xt = ["stop-color"], bt = ["stop-color"], Ft = ["id"], _t = ["stop-color"], yt = ["stop-color"], At = ["x", "y", "height", "width", "fill"], Ct = ["x", "y", "width"], Lt = ["x", "y", "height", "width", "fill"], kt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], St = ["width", "x", "y"], wt = { key: 0 }, Ot = ["id"], Gt = ["fill"], vt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], pt = ["x", "y", "font-size", "fill"], zt = ["stroke", "x1", "x2", "y1", "y2"], Mt = { key: 2 }, Tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Pt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Vt = { key: 4 }, Rt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = ["fill", "font-size", "transform"], Bt = ["x1", "x2", "y1", "y2", "stroke"], Ht = ["x", "y", "font-size", "fill"], Wt = ["x1", "x2", "y1", "y2", "stroke"], Et = ["x", "y", "font-size", "fill"], Yt = ["width", "x", "y"], Xt = { style: { width: "100%" } }, qt = { key: 0 }, Ut = ["id"], Zt = ["fill"], Jt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Kt = ["x", "y", "font-size", "fill"], Qt = ["d", "stroke", "stroke-width", "stroke-dasharray"], jt = { key: 1 }, $t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ea = { key: 0 }, ta = ["d", "fill"], aa = ["d", "fill"], ia = ["d", "stroke", "stroke-width", "stroke-dasharray"], ra = { key: 2 }, la = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], sa = ["width", "x", "y"], na = { style: { width: "100%" } }, oa = { key: 3 }, ha = ["id"], ca = ["fill"], da = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ua = ["x", "y", "font-size", "fill"], ga = { key: 5 }, fa = ["x", "y", "font-size", "fill"], Na = ["x", "y", "font-size", "fill", "font-weight"], ma = { key: 6 }, Ia = ["x", "y", "font-size", "fill"], xa = ["x", "y"], ba = ["x", "y"], Fa = { key: 7 }, _a = ["x", "y", "font-size", "fill"], ya = ["x", "y"], Aa = ["x", "y"], Ca = ["x", "y", "font-size", "fill", "innerHTML"], La = ["x", "y", "font-size", "fill", "innerHTML"], ka = ["x", "y", "font-size", "fill", "innerHTML"], Sa = ["x", "y", "font-size", "fill", "innerHTML"], wa = ["x", "y", "width", "height", "fill", "onMouseenter"], Oa = ["font-size", "fill", "transform"], Ga = ["x", "y", "font-size", "fill"], va = { key: 9 }, pa = ["text-anchor", "font-size", "fill", "transform"], za = ["x", "y", "height", "width", "onMouseenter", "onClick"], Ma = { key: 10 }, Ta = ["x", "y"], Pa = ["cx", "cy", "r", "fill"], Va = {
|
|
1031
1045
|
key: 5,
|
|
1032
1046
|
class: "vue-data-ui-watermark"
|
|
1033
|
-
},
|
|
1047
|
+
}, Ra = ["onClick"], Da = {
|
|
1034
1048
|
key: 0,
|
|
1035
1049
|
viewBox: "0 0 20 12",
|
|
1036
1050
|
height: "14",
|
|
1037
1051
|
width: "20"
|
|
1038
|
-
},
|
|
1052
|
+
}, Ba = ["fill"], Ha = {
|
|
1039
1053
|
key: 1,
|
|
1040
1054
|
viewBox: "0 0 12 12",
|
|
1041
1055
|
height: "14",
|
|
1042
1056
|
width: "14"
|
|
1043
|
-
}, Wa = ["fill"],
|
|
1057
|
+
}, Wa = ["fill"], Ea = {
|
|
1044
1058
|
key: 9,
|
|
1045
1059
|
ref: "chartLegend"
|
|
1046
|
-
},
|
|
1060
|
+
}, Ya = {
|
|
1047
1061
|
key: 10,
|
|
1048
1062
|
ref: "source",
|
|
1049
1063
|
dir: "auto"
|
|
1050
|
-
},
|
|
1064
|
+
}, Xa = {
|
|
1051
1065
|
style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
|
|
1052
1066
|
"data-html2canvas-ignore": ""
|
|
1053
|
-
},
|
|
1054
|
-
function
|
|
1055
|
-
const x =
|
|
1067
|
+
}, qa = ["innerHTML"];
|
|
1068
|
+
function Ua(t, s, c, f, a, e) {
|
|
1069
|
+
const x = P("PenAndPaper"), y = P("Title"), S = P("UserOptions"), m = P("PackageVersion"), b = P("Shape"), T = P("Skeleton"), v = P("Slicer"), p = P("Tooltip"), w = P("BaseIcon"), _ = P("TableSparkline"), L = P("DataTable"), z = P("Accordion");
|
|
1056
1070
|
return r(), l("div", {
|
|
1057
1071
|
id: `vue-ui-xy_${a.uniqueId}`,
|
|
1058
1072
|
class: V(`vue-ui-xy ${a.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
@@ -1067,7 +1081,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1067
1081
|
active: a.isAnnotator,
|
|
1068
1082
|
onClose: e.toggleAnnotator
|
|
1069
1083
|
}, null, 8, ["parent", "backgroundColor", "color", "active", "onClose"])) : h("", !0),
|
|
1070
|
-
e.hasOptionsNoTitle ? (r(), l("div",
|
|
1084
|
+
e.hasOptionsNoTitle ? (r(), l("div", Ze, null, 512)) : h("", !0),
|
|
1071
1085
|
e.FINAL_CONFIG.chart.title.show ? (r(), l("div", {
|
|
1072
1086
|
key: 2,
|
|
1073
1087
|
ref: "chartTitle",
|
|
@@ -1121,7 +1135,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1121
1135
|
onToggleStack: e.toggleStack,
|
|
1122
1136
|
onToggleTooltip: e.toggleTooltip,
|
|
1123
1137
|
onToggleAnnotator: e.toggleAnnotator
|
|
1124
|
-
},
|
|
1138
|
+
}, Be({ _: 2 }, [
|
|
1125
1139
|
t.$slots.optionTooltip ? {
|
|
1126
1140
|
name: "optionTooltip",
|
|
1127
1141
|
fn: M(() => [
|
|
@@ -1174,14 +1188,14 @@ function qa(t, s, c, f, a, e) {
|
|
|
1174
1188
|
t.$slots.optionFullscreen ? {
|
|
1175
1189
|
name: "optionFullscreen",
|
|
1176
1190
|
fn: M(({ toggleFullscreen: i, isFullscreen: o }) => [
|
|
1177
|
-
O(t.$slots, "optionFullscreen", W(
|
|
1191
|
+
O(t.$slots, "optionFullscreen", H(W({ toggleFullscreen: i, isFullscreen: o })), void 0, !0)
|
|
1178
1192
|
]),
|
|
1179
1193
|
key: "7"
|
|
1180
1194
|
} : void 0,
|
|
1181
1195
|
t.$slots.optionAnnotator ? {
|
|
1182
1196
|
name: "optionAnnotator",
|
|
1183
1197
|
fn: M(({ toggleAnnotator: i, isAnnotator: o }) => [
|
|
1184
|
-
O(t.$slots, "optionAnnotator", W(
|
|
1198
|
+
O(t.$slots, "optionAnnotator", H(W({ toggleAnnotator: i, isAnnotator: o })), void 0, !0)
|
|
1185
1199
|
]),
|
|
1186
1200
|
key: "8"
|
|
1187
1201
|
} : void 0
|
|
@@ -1195,8 +1209,8 @@ function qa(t, s, c, f, a, e) {
|
|
|
1195
1209
|
style: C(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
|
|
1196
1210
|
}, [
|
|
1197
1211
|
X(m),
|
|
1198
|
-
e.maxSeries > 0 ? (r(), l("g",
|
|
1199
|
-
|
|
1212
|
+
e.maxSeries > 0 ? (r(), l("g", Ke, [
|
|
1213
|
+
u("g", Qe, [
|
|
1200
1214
|
e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (r(), l("line", {
|
|
1201
1215
|
key: 0,
|
|
1202
1216
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
@@ -1206,7 +1220,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1206
1220
|
y1: e.drawingArea.bottom,
|
|
1207
1221
|
y2: e.drawingArea.bottom,
|
|
1208
1222
|
"stroke-linecap": "round"
|
|
1209
|
-
}, null, 8,
|
|
1223
|
+
}, null, 8, je)) : h("", !0),
|
|
1210
1224
|
a.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(!0), l(N, { key: 2 }, I(e.allScales, (i) => (r(), l("g", null, [
|
|
1211
1225
|
i.id === a.selectedScale && i.yLabels.length ? (r(!0), l(N, { key: 0 }, I(i.yLabels, (o) => (r(), l("line", {
|
|
1212
1226
|
x1: e.drawingArea.left + e.xPadding,
|
|
@@ -1216,7 +1230,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1216
1230
|
stroke: i.color,
|
|
1217
1231
|
"stroke-width": 0.5,
|
|
1218
1232
|
"stroke-linecap": "round"
|
|
1219
|
-
}, null, 8,
|
|
1233
|
+
}, null, 8, at))), 256)) : i.yLabels.length ? (r(!0), l(N, { key: 1 }, I(i.yLabels, (o) => (r(), l("line", {
|
|
1220
1234
|
x1: e.drawingArea.left + e.xPadding,
|
|
1221
1235
|
x2: e.drawingArea.right - e.xPadding,
|
|
1222
1236
|
y1: e.checkNaN(o.y),
|
|
@@ -1224,7 +1238,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1224
1238
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1225
1239
|
"stroke-width": 0.5,
|
|
1226
1240
|
"stroke-linecap": "round"
|
|
1227
|
-
}, null, 8,
|
|
1241
|
+
}, null, 8, it))), 256)) : h("", !0)
|
|
1228
1242
|
]))), 256)) : h("", !0) : (r(), l(N, { key: 1 }, [
|
|
1229
1243
|
e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (r(), l("line", {
|
|
1230
1244
|
key: 0,
|
|
@@ -1235,8 +1249,8 @@ function qa(t, s, c, f, a, e) {
|
|
|
1235
1249
|
y1: e.drawingArea.top,
|
|
1236
1250
|
y2: e.drawingArea.bottom,
|
|
1237
1251
|
"stroke-linecap": "round"
|
|
1238
|
-
}, null, 8,
|
|
1239
|
-
e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(), l("g",
|
|
1252
|
+
}, null, 8, $e)) : h("", !0),
|
|
1253
|
+
e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(), l("g", et, [
|
|
1240
1254
|
(r(!0), l(N, null, I(e.yLabels, (i) => (r(), l("line", {
|
|
1241
1255
|
x1: e.drawingArea.left + e.xPadding,
|
|
1242
1256
|
x2: e.drawingArea.right - e.xPadding,
|
|
@@ -1245,10 +1259,10 @@ function qa(t, s, c, f, a, e) {
|
|
|
1245
1259
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1246
1260
|
"stroke-width": 0.5,
|
|
1247
1261
|
"stroke-linecap": "round"
|
|
1248
|
-
}, null, 8,
|
|
1262
|
+
}, null, 8, tt))), 256))
|
|
1249
1263
|
])) : h("", !0)
|
|
1250
1264
|
], 64)),
|
|
1251
|
-
e.FINAL_CONFIG.chart.grid.showVerticalLines ? (r(), l("g",
|
|
1265
|
+
e.FINAL_CONFIG.chart.grid.showVerticalLines ? (r(), l("g", rt, [
|
|
1252
1266
|
(r(!0), l(N, null, I(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (i, o) => (r(), l("line", {
|
|
1253
1267
|
key: `grid_vertical_line_${o}`,
|
|
1254
1268
|
x1: e.drawingArea.width / e.maxSeries * o + e.drawingArea.left + e.xPadding,
|
|
@@ -1257,53 +1271,53 @@ function qa(t, s, c, f, a, e) {
|
|
|
1257
1271
|
y2: e.drawingArea.bottom,
|
|
1258
1272
|
"stroke-width": "0.5",
|
|
1259
1273
|
stroke: e.FINAL_CONFIG.chart.grid.stroke
|
|
1260
|
-
}, null, 8,
|
|
1274
|
+
}, null, 8, lt))), 128))
|
|
1261
1275
|
])) : h("", !0)
|
|
1262
1276
|
]),
|
|
1263
1277
|
(r(!0), l(N, null, I(e.barSet, (i, o) => (r(), l("defs", {
|
|
1264
1278
|
key: `def_rect_${o}`
|
|
1265
1279
|
}, [
|
|
1266
|
-
|
|
1280
|
+
u("linearGradient", {
|
|
1267
1281
|
id: `rectGradient_pos_${o}_${a.uniqueId}`,
|
|
1268
1282
|
x2: "0%",
|
|
1269
1283
|
y2: "100%"
|
|
1270
1284
|
}, [
|
|
1271
|
-
|
|
1285
|
+
u("stop", {
|
|
1272
1286
|
offset: "0%",
|
|
1273
1287
|
"stop-color": i.color
|
|
1274
|
-
}, null, 8,
|
|
1275
|
-
|
|
1288
|
+
}, null, 8, nt),
|
|
1289
|
+
u("stop", {
|
|
1276
1290
|
offset: "62%",
|
|
1277
1291
|
"stop-color": `${e.shiftHue(i.color, 0.02)}`
|
|
1278
|
-
}, null, 8,
|
|
1279
|
-
|
|
1292
|
+
}, null, 8, ot),
|
|
1293
|
+
u("stop", {
|
|
1280
1294
|
offset: "100%",
|
|
1281
1295
|
"stop-color": `${e.shiftHue(i.color, 0.05)}`
|
|
1282
|
-
}, null, 8,
|
|
1283
|
-
], 8,
|
|
1284
|
-
|
|
1296
|
+
}, null, 8, ht)
|
|
1297
|
+
], 8, st),
|
|
1298
|
+
u("linearGradient", {
|
|
1285
1299
|
id: `rectGradient_neg_${o}_${a.uniqueId}`,
|
|
1286
1300
|
x2: "0%",
|
|
1287
1301
|
y2: "100%"
|
|
1288
1302
|
}, [
|
|
1289
|
-
|
|
1303
|
+
u("stop", {
|
|
1290
1304
|
offset: "0%",
|
|
1291
1305
|
"stop-color": `${e.shiftHue(i.color, 0.05)}`
|
|
1292
|
-
}, null, 8,
|
|
1293
|
-
|
|
1306
|
+
}, null, 8, dt),
|
|
1307
|
+
u("stop", {
|
|
1294
1308
|
offset: "38%",
|
|
1295
1309
|
"stop-color": `${e.shiftHue(i.color, 0.02)}`
|
|
1296
1310
|
}, null, 8, ut),
|
|
1297
|
-
|
|
1311
|
+
u("stop", {
|
|
1298
1312
|
offset: "100%",
|
|
1299
1313
|
"stop-color": i.color
|
|
1300
|
-
}, null, 8,
|
|
1314
|
+
}, null, 8, gt)
|
|
1301
1315
|
], 8, ct)
|
|
1302
1316
|
]))), 128)),
|
|
1303
1317
|
(r(!0), l(N, null, I(e.plotSet, (i, o) => (r(), l("defs", {
|
|
1304
1318
|
key: `def_plot_${o}`
|
|
1305
1319
|
}, [
|
|
1306
|
-
|
|
1320
|
+
u("radialGradient", {
|
|
1307
1321
|
id: `plotGradient_${o}_${a.uniqueId}`,
|
|
1308
1322
|
cx: "50%",
|
|
1309
1323
|
cy: "50%",
|
|
@@ -1311,20 +1325,20 @@ function qa(t, s, c, f, a, e) {
|
|
|
1311
1325
|
fx: "50%",
|
|
1312
1326
|
fy: "50%"
|
|
1313
1327
|
}, [
|
|
1314
|
-
|
|
1328
|
+
u("stop", {
|
|
1315
1329
|
offset: "0%",
|
|
1316
1330
|
"stop-color": `${e.shiftHue(i.color, 0.05)}`
|
|
1317
|
-
}, null, 8,
|
|
1318
|
-
|
|
1331
|
+
}, null, 8, Nt),
|
|
1332
|
+
u("stop", {
|
|
1319
1333
|
offset: "100%",
|
|
1320
1334
|
"stop-color": i.color
|
|
1321
|
-
}, null, 8,
|
|
1322
|
-
], 8,
|
|
1335
|
+
}, null, 8, mt)
|
|
1336
|
+
], 8, ft)
|
|
1323
1337
|
]))), 128)),
|
|
1324
1338
|
(r(!0), l(N, null, I(e.lineSet, (i, o) => (r(), l("defs", {
|
|
1325
1339
|
key: `def_line_${o}`
|
|
1326
1340
|
}, [
|
|
1327
|
-
|
|
1341
|
+
u("radialGradient", {
|
|
1328
1342
|
id: `lineGradient_${o}_${a.uniqueId}`,
|
|
1329
1343
|
cx: "50%",
|
|
1330
1344
|
cy: "50%",
|
|
@@ -1332,35 +1346,35 @@ function qa(t, s, c, f, a, e) {
|
|
|
1332
1346
|
fx: "50%",
|
|
1333
1347
|
fy: "50%"
|
|
1334
1348
|
}, [
|
|
1335
|
-
|
|
1349
|
+
u("stop", {
|
|
1336
1350
|
offset: "0%",
|
|
1337
1351
|
"stop-color": `${e.shiftHue(i.color, 0.05)}`
|
|
1338
|
-
}, null, 8,
|
|
1339
|
-
|
|
1352
|
+
}, null, 8, xt),
|
|
1353
|
+
u("stop", {
|
|
1340
1354
|
offset: "100%",
|
|
1341
1355
|
"stop-color": i.color
|
|
1342
|
-
}, null, 8,
|
|
1343
|
-
], 8,
|
|
1344
|
-
|
|
1356
|
+
}, null, 8, bt)
|
|
1357
|
+
], 8, It),
|
|
1358
|
+
u("linearGradient", {
|
|
1345
1359
|
id: `areaGradient_${o}_${a.uniqueId}`,
|
|
1346
1360
|
x1: "0%",
|
|
1347
1361
|
x2: "100%",
|
|
1348
1362
|
y1: "0%",
|
|
1349
1363
|
y2: "0%"
|
|
1350
1364
|
}, [
|
|
1351
|
-
|
|
1365
|
+
u("stop", {
|
|
1352
1366
|
offset: "0%",
|
|
1353
1367
|
"stop-color": `${e.setOpacity(e.shiftHue(i.color, 0.03), e.FINAL_CONFIG.line.area.opacity)}`
|
|
1354
|
-
}, null, 8,
|
|
1355
|
-
|
|
1368
|
+
}, null, 8, _t),
|
|
1369
|
+
u("stop", {
|
|
1356
1370
|
offset: "100%",
|
|
1357
1371
|
"stop-color": `${e.setOpacity(i.color, e.FINAL_CONFIG.line.area.opacity)}`
|
|
1358
|
-
}, null, 8,
|
|
1359
|
-
], 8,
|
|
1372
|
+
}, null, 8, yt)
|
|
1373
|
+
], 8, Ft)
|
|
1360
1374
|
]))), 128)),
|
|
1361
1375
|
(r(!0), l(N, null, I(e.highlightAreas, (i) => (r(), l("g", null, [
|
|
1362
1376
|
i.show ? (r(!0), l(N, { key: 0 }, I(i.span, (o, n) => (r(), l("g", null, [
|
|
1363
|
-
|
|
1377
|
+
u("rect", {
|
|
1364
1378
|
style: C({
|
|
1365
1379
|
transition: "none",
|
|
1366
1380
|
opacity: i.from + n >= a.slicer.start && i.from + n <= a.slicer.end - 1 ? 1 : 0
|
|
@@ -1370,7 +1384,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1370
1384
|
height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
|
|
1371
1385
|
width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
|
|
1372
1386
|
fill: e.setOpacity(i.color, i.opacity)
|
|
1373
|
-
}, null, 12,
|
|
1387
|
+
}, null, 12, At),
|
|
1374
1388
|
i.caption.text && n === 0 ? (r(), l("foreignObject", {
|
|
1375
1389
|
key: 0,
|
|
1376
1390
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (i.from + n - a.slicer.start) - (i.caption.width === "auto" ? 0 : i.caption.width / 2 - e.drawingArea.width / e.maxSeries * i.span / 2),
|
|
@@ -1382,23 +1396,23 @@ function qa(t, s, c, f, a, e) {
|
|
|
1382
1396
|
height: "1",
|
|
1383
1397
|
width: i.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * i.span : i.caption.width
|
|
1384
1398
|
}, [
|
|
1385
|
-
|
|
1399
|
+
u("div", {
|
|
1386
1400
|
style: C(`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"}`)
|
|
1387
1401
|
}, k(i.caption.text), 5)
|
|
1388
|
-
], 12,
|
|
1402
|
+
], 12, Ct)) : h("", !0)
|
|
1389
1403
|
]))), 256)) : h("", !0)
|
|
1390
1404
|
]))), 256)),
|
|
1391
|
-
|
|
1405
|
+
u("g", null, [
|
|
1392
1406
|
(r(!0), l(N, null, I(e.maxSeries, (i, o) => (r(), l("g", {
|
|
1393
1407
|
key: `tooltip_trap_${o}`
|
|
1394
1408
|
}, [
|
|
1395
|
-
|
|
1409
|
+
u("rect", {
|
|
1396
1410
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * o,
|
|
1397
1411
|
y: e.drawingArea.top,
|
|
1398
1412
|
height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
|
|
1399
1413
|
width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
|
|
1400
1414
|
fill: [a.selectedMinimapIndex, a.selectedSerieIndex, a.selectedRowIndex].includes(o) ? e.setOpacity(e.FINAL_CONFIG.chart.highlighter.color, e.FINAL_CONFIG.chart.highlighter.opacity) : "transparent"
|
|
1401
|
-
}, null, 8,
|
|
1415
|
+
}, null, 8, Lt)
|
|
1402
1416
|
]))), 128))
|
|
1403
1417
|
]),
|
|
1404
1418
|
e.barSet.length ? (r(!0), l(N, { key: 0 }, I(e.barSet, (i, o) => (r(), l("g", {
|
|
@@ -1419,7 +1433,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1419
1433
|
fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${o}_${a.uniqueId})` : `url(#rectGradient_neg_${o}_${a.uniqueId})` : i.color,
|
|
1420
1434
|
stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? i.color : e.FINAL_CONFIG.bar.border.stroke,
|
|
1421
1435
|
"stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
|
|
1422
|
-
}, null, 8,
|
|
1436
|
+
}, null, 8, kt)) : h("", !0),
|
|
1423
1437
|
n.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), l("foreignObject", {
|
|
1424
1438
|
key: 1,
|
|
1425
1439
|
style: { overflow: "visible" },
|
|
@@ -1431,11 +1445,11 @@ function qa(t, s, c, f, a, e) {
|
|
|
1431
1445
|
O(t.$slots, "plot-comment", {
|
|
1432
1446
|
plot: { ...n, color: i.color, seriesIndex: o, datapointIndex: g }
|
|
1433
1447
|
}, void 0, !0)
|
|
1434
|
-
], 8,
|
|
1448
|
+
], 8, St)) : h("", !0)
|
|
1435
1449
|
]))), 128)),
|
|
1436
|
-
Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (r(), l("g",
|
|
1437
|
-
|
|
1438
|
-
|
|
1450
|
+
Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (r(), l("g", wt, [
|
|
1451
|
+
u("defs", null, [
|
|
1452
|
+
u("marker", {
|
|
1439
1453
|
id: `bar_arrow_${o}`,
|
|
1440
1454
|
markerWidth: 7,
|
|
1441
1455
|
markerHeight: 7,
|
|
@@ -1443,11 +1457,11 @@ function qa(t, s, c, f, a, e) {
|
|
|
1443
1457
|
refY: 7 / 2,
|
|
1444
1458
|
orient: "auto"
|
|
1445
1459
|
}, [
|
|
1446
|
-
|
|
1460
|
+
u("polygon", {
|
|
1447
1461
|
points: `0 0, 7 ${7 / 2}, 0 7`,
|
|
1448
1462
|
fill: i.color
|
|
1449
|
-
}, null, 8,
|
|
1450
|
-
], 8,
|
|
1463
|
+
}, null, 8, Gt)
|
|
1464
|
+
], 8, Ot)
|
|
1451
1465
|
]),
|
|
1452
1466
|
i.plots.length > 1 ? (r(), l("line", {
|
|
1453
1467
|
key: 0,
|
|
@@ -1459,7 +1473,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1459
1473
|
stroke: i.color,
|
|
1460
1474
|
"stroke-dasharray": 2,
|
|
1461
1475
|
"marker-end": `url(#bar_arrow_${o})`
|
|
1462
|
-
}, null, 8,
|
|
1476
|
+
}, null, 8, vt)) : h("", !0),
|
|
1463
1477
|
i.plots.length > 1 ? (r(), l("text", {
|
|
1464
1478
|
key: 1,
|
|
1465
1479
|
"text-anchor": "middle",
|
|
@@ -1471,7 +1485,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1471
1485
|
v: e.calcLinearProgression(i.plots).trend * 100,
|
|
1472
1486
|
s: "%",
|
|
1473
1487
|
r: 2
|
|
1474
|
-
})), 9,
|
|
1488
|
+
})), 9, pt)) : h("", !0)
|
|
1475
1489
|
])) : h("", !0)
|
|
1476
1490
|
], 6))), 128)) : h("", !0),
|
|
1477
1491
|
!a.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (r(), l("line", {
|
|
@@ -1483,9 +1497,9 @@ function qa(t, s, c, f, a, e) {
|
|
|
1483
1497
|
y1: e.checkNaN(e.zero),
|
|
1484
1498
|
y2: e.checkNaN(e.zero),
|
|
1485
1499
|
"stroke-linecap": "round"
|
|
1486
|
-
}, null, 8,
|
|
1487
|
-
e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(a.selectedSerieIndex) || a.selectedMinimapIndex !== null) ? (r(), l("g",
|
|
1488
|
-
|
|
1500
|
+
}, null, 8, zt)) : h("", !0),
|
|
1501
|
+
e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(a.selectedSerieIndex) || a.selectedMinimapIndex !== null) ? (r(), l("g", Mt, [
|
|
1502
|
+
u("line", {
|
|
1489
1503
|
x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.selectedSerieIndex || a.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
|
|
1490
1504
|
x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.selectedSerieIndex || a.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
|
|
1491
1505
|
y1: e.drawingArea.top,
|
|
@@ -1495,7 +1509,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1495
1509
|
"stroke-dasharray": e.FINAL_CONFIG.chart.highlighter.lineDasharray,
|
|
1496
1510
|
"stroke-linecap": "round",
|
|
1497
1511
|
style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
|
|
1498
|
-
}, null, 8,
|
|
1512
|
+
}, null, 8, Tt)
|
|
1499
1513
|
])) : h("", !0),
|
|
1500
1514
|
e.FINAL_CONFIG.chart.grid.frame.show ? (r(), l("rect", {
|
|
1501
1515
|
key: 3,
|
|
@@ -1511,10 +1525,10 @@ function qa(t, s, c, f, a, e) {
|
|
|
1511
1525
|
"stroke-linejoin": e.FINAL_CONFIG.chart.grid.frame.strokeLinejoin,
|
|
1512
1526
|
"stroke-dasharray": e.FINAL_CONFIG.chart.grid.frame.strokeDasharray
|
|
1513
1527
|
}, null, 8, Pt)) : h("", !0),
|
|
1514
|
-
e.FINAL_CONFIG.chart.grid.labels.show ? (r(), l("g",
|
|
1528
|
+
e.FINAL_CONFIG.chart.grid.labels.show ? (r(), l("g", Vt, [
|
|
1515
1529
|
a.mutableConfig.useIndividualScale ? (r(), l(N, { key: 0 }, [
|
|
1516
1530
|
(r(!0), l(N, null, I(e.allScales, (i) => (r(), l("g", null, [
|
|
1517
|
-
|
|
1531
|
+
u("line", {
|
|
1518
1532
|
x1: i.x + e.xPadding,
|
|
1519
1533
|
x2: i.x + e.xPadding,
|
|
1520
1534
|
y1: a.mutableConfig.isStacked ? e.checkNaN(e.drawingArea.bottom - i.yOffset - i.individualHeight) : e.checkNaN(e.drawingArea.top),
|
|
@@ -1523,17 +1537,17 @@ function qa(t, s, c, f, a, e) {
|
|
|
1523
1537
|
"stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
|
|
1524
1538
|
"stroke-linecap": "round",
|
|
1525
1539
|
style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1526
|
-
}, null, 12,
|
|
1540
|
+
}, null, 12, Rt)
|
|
1527
1541
|
]))), 256)),
|
|
1528
1542
|
(r(!0), l(N, null, I(e.allScales, (i) => (r(), l("g", {
|
|
1529
1543
|
style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1530
1544
|
}, [
|
|
1531
|
-
|
|
1545
|
+
u("text", {
|
|
1532
1546
|
fill: i.color,
|
|
1533
1547
|
"font-size": a.fontSizes.dataLabels,
|
|
1534
1548
|
"text-anchor": "middle",
|
|
1535
1549
|
transform: `translate(${i.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5}, ${a.mutableConfig.isStacked ? e.drawingArea.bottom - i.yOffset - i.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
|
|
1536
|
-
}, k(i.name) + " " + k(i.scaleLabel ? `- ${i.scaleLabel}` : ""), 9,
|
|
1550
|
+
}, k(i.name) + " " + k(i.scaleLabel ? `- ${i.scaleLabel}` : ""), 9, Dt),
|
|
1537
1551
|
(r(!0), l(N, null, I(i.yLabels, (o, n) => (r(), l("line", {
|
|
1538
1552
|
x1: i.x - 3 + e.xPadding,
|
|
1539
1553
|
x2: i.x + e.xPadding,
|
|
@@ -1542,7 +1556,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1542
1556
|
stroke: i.color,
|
|
1543
1557
|
"stroke-width": 1,
|
|
1544
1558
|
"stroke-linecap": "round"
|
|
1545
|
-
}, null, 8,
|
|
1559
|
+
}, null, 8, Bt))), 256)),
|
|
1546
1560
|
(r(!0), l(N, null, I(i.yLabels, (o, n) => (r(), l("text", {
|
|
1547
1561
|
x: i.x - 5 + e.xPadding,
|
|
1548
1562
|
y: e.checkNaN(o.y) + a.fontSizes.dataLabels / 3,
|
|
@@ -1590,7 +1604,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1590
1604
|
s: i.suffix,
|
|
1591
1605
|
r: 1
|
|
1592
1606
|
})
|
|
1593
|
-
) : ""), 9,
|
|
1607
|
+
) : ""), 9, Et)) : h("", !0)
|
|
1594
1608
|
]))), 128))
|
|
1595
1609
|
])) : h("", !0),
|
|
1596
1610
|
(r(!0), l(N, null, I(e.plotSet, (i, o) => (r(), l("g", {
|
|
@@ -1618,16 +1632,16 @@ function qa(t, s, c, f, a, e) {
|
|
|
1618
1632
|
x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
|
|
1619
1633
|
y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
|
|
1620
1634
|
}, [
|
|
1621
|
-
|
|
1635
|
+
u("div", Xt, [
|
|
1622
1636
|
O(t.$slots, "plot-comment", {
|
|
1623
1637
|
plot: { ...n, color: i.color, seriesIndex: o, datapointIndex: g }
|
|
1624
1638
|
}, void 0, !0)
|
|
1625
1639
|
])
|
|
1626
|
-
], 8,
|
|
1640
|
+
], 8, Yt)) : h("", !0)
|
|
1627
1641
|
]))), 128)),
|
|
1628
|
-
Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (r(), l("g",
|
|
1629
|
-
|
|
1630
|
-
|
|
1642
|
+
Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (r(), l("g", qt, [
|
|
1643
|
+
u("defs", null, [
|
|
1644
|
+
u("marker", {
|
|
1631
1645
|
id: `plot_arrow_${o}`,
|
|
1632
1646
|
markerWidth: 7,
|
|
1633
1647
|
markerHeight: 7,
|
|
@@ -1635,11 +1649,11 @@ function qa(t, s, c, f, a, e) {
|
|
|
1635
1649
|
refY: 7 / 2,
|
|
1636
1650
|
orient: "auto"
|
|
1637
1651
|
}, [
|
|
1638
|
-
|
|
1652
|
+
u("polygon", {
|
|
1639
1653
|
points: `0 0, 7 ${7 / 2}, 0 7`,
|
|
1640
1654
|
fill: i.color
|
|
1641
|
-
}, null, 8,
|
|
1642
|
-
], 8,
|
|
1655
|
+
}, null, 8, Zt)
|
|
1656
|
+
], 8, Ut)
|
|
1643
1657
|
]),
|
|
1644
1658
|
i.plots.length > 1 ? (r(), l("line", {
|
|
1645
1659
|
key: 0,
|
|
@@ -1651,7 +1665,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1651
1665
|
stroke: i.color,
|
|
1652
1666
|
"stroke-dasharray": 2,
|
|
1653
1667
|
"marker-end": `url(#plot_arrow_${o})`
|
|
1654
|
-
}, null, 8,
|
|
1668
|
+
}, null, 8, Jt)) : h("", !0),
|
|
1655
1669
|
i.plots.length > 1 ? (r(), l("text", {
|
|
1656
1670
|
key: 1,
|
|
1657
1671
|
"text-anchor": "middle",
|
|
@@ -1663,7 +1677,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1663
1677
|
v: e.calcLinearProgression(i.plots).trend * 100,
|
|
1664
1678
|
s: "%",
|
|
1665
1679
|
r: 2
|
|
1666
|
-
})), 9,
|
|
1680
|
+
})), 9, Kt)) : h("", !0)
|
|
1667
1681
|
])) : h("", !0)
|
|
1668
1682
|
], 6))), 128)),
|
|
1669
1683
|
(r(!0), l(N, null, I(e.lineSet, (i, o) => (r(), l("g", {
|
|
@@ -1678,7 +1692,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1678
1692
|
"stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
|
|
1679
1693
|
"stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1680
1694
|
fill: "none"
|
|
1681
|
-
}, null, 8,
|
|
1695
|
+
}, null, 8, Qt)) : i.plots.length > 1 ? (r(), l("g", jt, [
|
|
1682
1696
|
(r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
|
|
1683
1697
|
key: `line_${o}_${g}`
|
|
1684
1698
|
}, [
|
|
@@ -1693,7 +1707,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1693
1707
|
"stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1694
1708
|
"stroke-linejoin": "round",
|
|
1695
1709
|
"stroke-linecap": "round"
|
|
1696
|
-
}, null, 8,
|
|
1710
|
+
}, null, 8, $t)) : h("", !0)
|
|
1697
1711
|
]))), 128))
|
|
1698
1712
|
])) : h("", !0)
|
|
1699
1713
|
], 6))), 128)),
|
|
@@ -1702,16 +1716,16 @@ function qa(t, s, c, f, a, e) {
|
|
|
1702
1716
|
class: V(`serie_line_${o}`),
|
|
1703
1717
|
style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1704
1718
|
}, [
|
|
1705
|
-
i.useArea && i.plots.length > 1 ? (r(), l("g",
|
|
1719
|
+
i.useArea && i.plots.length > 1 ? (r(), l("g", ea, [
|
|
1706
1720
|
i.smooth ? (r(), l("path", {
|
|
1707
1721
|
key: 0,
|
|
1708
1722
|
d: `M ${i.plots[0] ? i.plots[0].x : Math.min(...i.plots.filter((n) => !!n).map((n) => n.x))},${a.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 * o + e.slot.line / 2},${a.mutableConfig.isStacked ? e.drawingArea.bottom - i.yOffset : e.drawingArea.bottom} Z`,
|
|
1709
1723
|
fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${o}_${a.uniqueId})` : e.setOpacity(i.color, e.FINAL_CONFIG.line.area.opacity)
|
|
1710
|
-
}, null, 8,
|
|
1724
|
+
}, null, 8, ta)) : (r(), l("path", {
|
|
1711
1725
|
key: 1,
|
|
1712
1726
|
d: `M${i.area}Z`,
|
|
1713
1727
|
fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${o}_${a.uniqueId})` : e.setOpacity(i.color, e.FINAL_CONFIG.line.area.opacity)
|
|
1714
|
-
}, null, 8,
|
|
1728
|
+
}, null, 8, aa))
|
|
1715
1729
|
])) : h("", !0),
|
|
1716
1730
|
i.smooth && i.plots.length > 1 ? (r(), l("path", {
|
|
1717
1731
|
key: 1,
|
|
@@ -1720,7 +1734,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1720
1734
|
"stroke-width": e.FINAL_CONFIG.line.strokeWidth,
|
|
1721
1735
|
"stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1722
1736
|
fill: "none"
|
|
1723
|
-
}, null, 8,
|
|
1737
|
+
}, null, 8, ia)) : i.plots.length > 1 ? (r(), l("g", ra, [
|
|
1724
1738
|
(r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
|
|
1725
1739
|
key: `line_${o}_${g}`
|
|
1726
1740
|
}, [
|
|
@@ -1735,7 +1749,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1735
1749
|
"stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1736
1750
|
"stroke-linejoin": "round",
|
|
1737
1751
|
"stroke-linecap": "round"
|
|
1738
|
-
}, null, 8,
|
|
1752
|
+
}, null, 8, la)) : h("", !0)
|
|
1739
1753
|
]))), 128))
|
|
1740
1754
|
])) : h("", !0),
|
|
1741
1755
|
(r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
|
|
@@ -1758,16 +1772,16 @@ function qa(t, s, c, f, a, e) {
|
|
|
1758
1772
|
x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
|
|
1759
1773
|
y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
|
|
1760
1774
|
}, [
|
|
1761
|
-
|
|
1775
|
+
u("div", na, [
|
|
1762
1776
|
O(t.$slots, "plot-comment", {
|
|
1763
1777
|
plot: { ...n, color: i.color, seriesIndex: o, datapointIndex: g }
|
|
1764
1778
|
}, void 0, !0)
|
|
1765
1779
|
])
|
|
1766
|
-
], 8,
|
|
1780
|
+
], 8, sa)) : h("", !0)
|
|
1767
1781
|
]))), 128)),
|
|
1768
|
-
Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (r(), l("g",
|
|
1769
|
-
|
|
1770
|
-
|
|
1782
|
+
Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (r(), l("g", oa, [
|
|
1783
|
+
u("defs", null, [
|
|
1784
|
+
u("marker", {
|
|
1771
1785
|
id: `line_arrow_${o}`,
|
|
1772
1786
|
markerWidth: 7,
|
|
1773
1787
|
markerHeight: 7,
|
|
@@ -1775,11 +1789,11 @@ function qa(t, s, c, f, a, e) {
|
|
|
1775
1789
|
refY: 7 / 2,
|
|
1776
1790
|
orient: "auto"
|
|
1777
1791
|
}, [
|
|
1778
|
-
|
|
1792
|
+
u("polygon", {
|
|
1779
1793
|
points: `0 0, 7 ${7 / 2}, 0 7`,
|
|
1780
1794
|
fill: i.color
|
|
1781
1795
|
}, null, 8, ca)
|
|
1782
|
-
], 8,
|
|
1796
|
+
], 8, ha)
|
|
1783
1797
|
]),
|
|
1784
1798
|
i.plots.length > 1 ? (r(), l("line", {
|
|
1785
1799
|
key: 0,
|
|
@@ -1791,7 +1805,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1791
1805
|
stroke: i.color,
|
|
1792
1806
|
"stroke-dasharray": 2,
|
|
1793
1807
|
"marker-end": `url(#line_arrow_${o})`
|
|
1794
|
-
}, null, 8,
|
|
1808
|
+
}, null, 8, da)) : h("", !0),
|
|
1795
1809
|
i.plots.length > 1 ? (r(), l("text", {
|
|
1796
1810
|
key: 1,
|
|
1797
1811
|
"text-anchor": "middle",
|
|
@@ -1806,7 +1820,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1806
1820
|
})), 9, ua)) : h("", !0)
|
|
1807
1821
|
])) : h("", !0)
|
|
1808
1822
|
], 6))), 128)),
|
|
1809
|
-
(e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && a.mutableConfig.dataLabels.show ? (r(), l("g",
|
|
1823
|
+
(e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && a.mutableConfig.dataLabels.show ? (r(), l("g", ga, [
|
|
1810
1824
|
(r(!0), l(N, null, I(e.barSet, (i, o) => (r(), l("g", {
|
|
1811
1825
|
key: `xLabel_bar_${o}`,
|
|
1812
1826
|
class: V(`xLabel_bar_${o}`),
|
|
@@ -1818,7 +1832,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1818
1832
|
n && (!Object.hasOwn(i, "dataLabels") || i.dataLabels === !0) && e.FINAL_CONFIG.bar.labels.show ? (r(), l("text", {
|
|
1819
1833
|
key: 0,
|
|
1820
1834
|
x: a.mutableConfig.useIndividualScale && a.mutableConfig.isStacked ? n.x + e.slot.line / 2 : e.calcRectX(n) + e.calcRectWidth() / 2 - e.barPeriodGap / 2,
|
|
1821
|
-
y: e.checkNaN(n.y) + (n.value
|
|
1835
|
+
y: e.checkNaN(n.y) + (n.value >= 0 ? e.FINAL_CONFIG.bar.labels.offsetY : -e.FINAL_CONFIG.bar.labels.offsetY * 3),
|
|
1822
1836
|
"text-anchor": "middle",
|
|
1823
1837
|
"font-size": a.fontSizes.plotLabels,
|
|
1824
1838
|
fill: e.FINAL_CONFIG.bar.labels.color
|
|
@@ -1835,7 +1849,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1835
1849
|
datapoint: n,
|
|
1836
1850
|
serie: i
|
|
1837
1851
|
}
|
|
1838
|
-
) : ""), 9,
|
|
1852
|
+
) : ""), 9, fa)) : h("", !0),
|
|
1839
1853
|
n && e.FINAL_CONFIG.bar.serieName.show ? (r(), l("text", {
|
|
1840
1854
|
key: 1,
|
|
1841
1855
|
x: a.mutableConfig.useIndividualScale && a.mutableConfig.isStacked ? n.x + e.slot.line / 2 : n.x + e.calcRectWidth() * 1.1,
|
|
@@ -1844,11 +1858,11 @@ function qa(t, s, c, f, a, e) {
|
|
|
1844
1858
|
"font-size": a.fontSizes.plotLabels,
|
|
1845
1859
|
fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? i.color : e.FINAL_CONFIG.bar.serieName.color,
|
|
1846
1860
|
"font-weight": e.FINAL_CONFIG.bar.serieName.bold ? "bold" : "normal"
|
|
1847
|
-
}, k(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: i.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : i.name), 9,
|
|
1861
|
+
}, k(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: i.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : i.name), 9, Na)) : h("", !0)
|
|
1848
1862
|
]))), 128))
|
|
1849
1863
|
], 6))), 128))
|
|
1850
1864
|
])) : h("", !0),
|
|
1851
|
-
e.FINAL_CONFIG.plot.labels.show && a.mutableConfig.dataLabels.show ? (r(), l("g",
|
|
1865
|
+
e.FINAL_CONFIG.plot.labels.show && a.mutableConfig.dataLabels.show ? (r(), l("g", ma, [
|
|
1852
1866
|
(r(!0), l(N, null, I(e.plotSet, (i, o) => (r(), l("g", {
|
|
1853
1867
|
key: `xLabel_plot_${o}`,
|
|
1854
1868
|
class: V(`xLabel_plot_${o}`),
|
|
@@ -1877,7 +1891,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1877
1891
|
datapoint: n,
|
|
1878
1892
|
serie: i
|
|
1879
1893
|
}
|
|
1880
|
-
) : ""), 9,
|
|
1894
|
+
) : ""), 9, Ia)) : h("", !0),
|
|
1881
1895
|
n && g === 0 && i.useTag && i.useTag === "start" ? (r(), l("foreignObject", {
|
|
1882
1896
|
key: 1,
|
|
1883
1897
|
x: n.x,
|
|
@@ -1886,10 +1900,10 @@ function qa(t, s, c, f, a, e) {
|
|
|
1886
1900
|
width: "150",
|
|
1887
1901
|
style: { overflow: "visible" }
|
|
1888
1902
|
}, [
|
|
1889
|
-
|
|
1903
|
+
u("div", {
|
|
1890
1904
|
style: C(`padding: 3px; background:${e.setOpacity(i.color, 80)};color:${e.adaptColorToBackground(i.color)};width:fit-content;font-size:${a.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1891
1905
|
}, k(i.name), 5)
|
|
1892
|
-
], 8,
|
|
1906
|
+
], 8, xa)) : h("", !0),
|
|
1893
1907
|
n && g === i.plots.length - 1 && i.useTag && i.useTag === "end" ? (r(), l("foreignObject", {
|
|
1894
1908
|
key: 2,
|
|
1895
1909
|
x: n.x - i.name.length * (a.fontSizes.plotLabels / 2),
|
|
@@ -1898,14 +1912,14 @@ function qa(t, s, c, f, a, e) {
|
|
|
1898
1912
|
width: "150",
|
|
1899
1913
|
style: { overflow: "visible" }
|
|
1900
1914
|
}, [
|
|
1901
|
-
|
|
1915
|
+
u("div", {
|
|
1902
1916
|
style: C(`padding: 3px; background:${e.setOpacity(i.color, 80)};color:${e.adaptColorToBackground(i.color)};width:fit-content;font-size:${a.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1903
1917
|
}, k(i.name), 5)
|
|
1904
|
-
], 8,
|
|
1918
|
+
], 8, ba)) : h("", !0)
|
|
1905
1919
|
]))), 128))
|
|
1906
1920
|
], 6))), 128))
|
|
1907
1921
|
])) : h("", !0),
|
|
1908
|
-
e.FINAL_CONFIG.line.labels.show && a.mutableConfig.dataLabels.show ? (r(), l("g",
|
|
1922
|
+
e.FINAL_CONFIG.line.labels.show && a.mutableConfig.dataLabels.show ? (r(), l("g", Fa, [
|
|
1909
1923
|
(r(!0), l(N, null, I(e.lineSet, (i, o) => (r(), l("g", {
|
|
1910
1924
|
key: `xLabel_line_${o}`,
|
|
1911
1925
|
class: V(`xLabel_line_${o}`),
|
|
@@ -1917,7 +1931,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1917
1931
|
n && !Object.hasOwn(i, "dataLabels") || i.dataLabels === !0 ? (r(), l("text", {
|
|
1918
1932
|
key: 0,
|
|
1919
1933
|
x: n.x,
|
|
1920
|
-
y: n.y + (n.value
|
|
1934
|
+
y: n.y + (n.value >= 0 ? e.FINAL_CONFIG.line.labels.offsetY : -e.FINAL_CONFIG.line.labels.offsetY * 3),
|
|
1921
1935
|
"text-anchor": "middle",
|
|
1922
1936
|
"font-size": a.fontSizes.plotLabels,
|
|
1923
1937
|
fill: e.FINAL_CONFIG.line.labels.color
|
|
@@ -1934,7 +1948,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1934
1948
|
datapoint: n,
|
|
1935
1949
|
serie: i
|
|
1936
1950
|
}
|
|
1937
|
-
) : ""), 9,
|
|
1951
|
+
) : ""), 9, _a)) : h("", !0),
|
|
1938
1952
|
n && g === 0 && i.useTag && i.useTag === "start" ? (r(), l("foreignObject", {
|
|
1939
1953
|
key: 1,
|
|
1940
1954
|
x: n.x,
|
|
@@ -1943,10 +1957,10 @@ function qa(t, s, c, f, a, e) {
|
|
|
1943
1957
|
width: "150",
|
|
1944
1958
|
style: { overflow: "visible" }
|
|
1945
1959
|
}, [
|
|
1946
|
-
|
|
1960
|
+
u("div", {
|
|
1947
1961
|
style: C(`padding: 3px; background:${e.setOpacity(i.color, 80)};color:${e.adaptColorToBackground(i.color)};width:fit-content;font-size:${a.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1948
1962
|
}, k(i.name), 5)
|
|
1949
|
-
], 8,
|
|
1963
|
+
], 8, ya)) : h("", !0),
|
|
1950
1964
|
n && g === i.plots.length - 1 && i.useTag && i.useTag === "end" ? (r(), l("foreignObject", {
|
|
1951
1965
|
key: 2,
|
|
1952
1966
|
x: n.x - i.name.length * (a.fontSizes.plotLabels / 2),
|
|
@@ -1955,10 +1969,10 @@ function qa(t, s, c, f, a, e) {
|
|
|
1955
1969
|
width: "150",
|
|
1956
1970
|
style: { overflow: "visible" }
|
|
1957
1971
|
}, [
|
|
1958
|
-
|
|
1972
|
+
u("div", {
|
|
1959
1973
|
style: C(`padding: 3px; background:${e.setOpacity(i.color, 80)};color:${e.adaptColorToBackground(i.color)};width:fit-content;font-size:${a.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1960
1974
|
}, k(i.name), 5)
|
|
1961
|
-
], 8,
|
|
1975
|
+
], 8, Aa)) : h("", !0)
|
|
1962
1976
|
]))), 128))
|
|
1963
1977
|
], 6))), 128))
|
|
1964
1978
|
])) : h("", !0),
|
|
@@ -1985,7 +1999,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
1985
1999
|
y: n.y,
|
|
1986
2000
|
maxWords: 2
|
|
1987
2001
|
})
|
|
1988
|
-
}, null, 8,
|
|
2002
|
+
}, null, 8, Ca)) : h("", !0),
|
|
1989
2003
|
n && g === i.plots.length - 1 && i.showSerieName && i.showSerieName === "end" ? (r(), l("text", {
|
|
1990
2004
|
key: 1,
|
|
1991
2005
|
x: n.x + a.fontSizes.plotLabels,
|
|
@@ -2001,7 +2015,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
2001
2015
|
y: n.y,
|
|
2002
2016
|
maxWords: 2
|
|
2003
2017
|
})
|
|
2004
|
-
}, null, 8,
|
|
2018
|
+
}, null, 8, La)) : h("", !0)
|
|
2005
2019
|
]))), 128))
|
|
2006
2020
|
], 6))), 128)),
|
|
2007
2021
|
(r(!0), l(N, null, I(e.plotSet, (i, o) => (r(), l("g", {
|
|
@@ -2027,7 +2041,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
2027
2041
|
y: n.y,
|
|
2028
2042
|
maxWords: 2
|
|
2029
2043
|
})
|
|
2030
|
-
}, null, 8,
|
|
2044
|
+
}, null, 8, ka)) : h("", !0),
|
|
2031
2045
|
n && g === i.plots.length - 1 && i.showSerieName && i.showSerieName === "end" ? (r(), l("text", {
|
|
2032
2046
|
key: 1,
|
|
2033
2047
|
x: n.x + a.fontSizes.plotLabels,
|
|
@@ -2043,7 +2057,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
2043
2057
|
y: n.y,
|
|
2044
2058
|
maxWords: 2
|
|
2045
2059
|
})
|
|
2046
|
-
}, null, 8,
|
|
2060
|
+
}, null, 8, Sa)) : h("", !0)
|
|
2047
2061
|
]))), 128))
|
|
2048
2062
|
], 6))), 128)),
|
|
2049
2063
|
a.mutableConfig.useIndividualScale && !a.mutableConfig.isStacked ? (r(!0), l(N, { key: 8 }, I(e.allScales, (i) => (r(), l("rect", {
|
|
@@ -2054,8 +2068,8 @@ function qa(t, s, c, f, a, e) {
|
|
|
2054
2068
|
fill: a.selectedScale === i.id ? e.setOpacity(i.color, 20) : "transparent",
|
|
2055
2069
|
onMouseenter: (o) => a.selectedScale = i.id,
|
|
2056
2070
|
onMouseleave: s[0] || (s[0] = (o) => a.selectedScale = null)
|
|
2057
|
-
}, null, 40,
|
|
2058
|
-
|
|
2071
|
+
}, null, 40, wa))), 256)) : h("", !0),
|
|
2072
|
+
u("g", null, [
|
|
2059
2073
|
e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !a.mutableConfig.useIndividualScale ? (r(), l("text", {
|
|
2060
2074
|
key: 0,
|
|
2061
2075
|
"font-size": a.fontSizes.yAxis,
|
|
@@ -2063,7 +2077,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
2063
2077
|
transform: `translate(${a.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
|
|
2064
2078
|
"text-anchor": "middle",
|
|
2065
2079
|
style: { transition: "none" }
|
|
2066
|
-
}, k(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9,
|
|
2080
|
+
}, k(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, Oa)) : h("", !0),
|
|
2067
2081
|
e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (r(), l("text", {
|
|
2068
2082
|
key: 1,
|
|
2069
2083
|
"text-anchor": "middle",
|
|
@@ -2071,9 +2085,9 @@ function qa(t, s, c, f, a, e) {
|
|
|
2071
2085
|
y: e.drawingArea.bottom + a.fontSizes.yAxis + a.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
|
|
2072
2086
|
"font-size": a.fontSizes.yAxis,
|
|
2073
2087
|
fill: e.FINAL_CONFIG.chart.grid.labels.color
|
|
2074
|
-
}, k(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9,
|
|
2088
|
+
}, k(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, Ga)) : h("", !0)
|
|
2075
2089
|
]),
|
|
2076
|
-
e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (r(), l("g",
|
|
2090
|
+
e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (r(), l("g", va, [
|
|
2077
2091
|
(r(!0), l(N, null, I(e.timeLabels, (i, o) => (r(), l("g", {
|
|
2078
2092
|
key: `time_label_${o}`
|
|
2079
2093
|
}, [
|
|
@@ -2083,14 +2097,14 @@ function qa(t, s, c, f, a, e) {
|
|
|
2083
2097
|
"font-size": a.fontSizes.xAxis,
|
|
2084
2098
|
fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
|
|
2085
2099
|
transform: `translate(${e.drawingArea.left + e.drawingArea.width / e.maxSeries * o + e.drawingArea.width / e.maxSeries / 2}, ${e.drawingArea.bottom + a.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation})`
|
|
2086
|
-
}, k(i || ""), 9,
|
|
2100
|
+
}, k(i || ""), 9, pa)) : h("", !0)
|
|
2087
2101
|
]))), 128))
|
|
2088
2102
|
])) : h("", !0),
|
|
2089
|
-
|
|
2103
|
+
u("g", null, [
|
|
2090
2104
|
(r(!0), l(N, null, I(e.maxSeries, (i, o) => (r(), l("g", {
|
|
2091
2105
|
key: `tooltip_trap_${o}`
|
|
2092
2106
|
}, [
|
|
2093
|
-
|
|
2107
|
+
u("rect", {
|
|
2094
2108
|
"data-cy-trap": "",
|
|
2095
2109
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * o,
|
|
2096
2110
|
y: e.drawingArea.top,
|
|
@@ -2100,10 +2114,10 @@ function qa(t, s, c, f, a, e) {
|
|
|
2100
2114
|
onMouseenter: (n) => e.toggleTooltipVisibility(!0, o),
|
|
2101
2115
|
onMouseleave: s[1] || (s[1] = (n) => e.toggleTooltipVisibility(!1)),
|
|
2102
2116
|
onClick: (n) => e.selectX(o)
|
|
2103
|
-
}, null, 40,
|
|
2117
|
+
}, null, 40, za)
|
|
2104
2118
|
]))), 128))
|
|
2105
2119
|
]),
|
|
2106
|
-
e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(a.selectedSerieIndex) ? (r(), l("g",
|
|
2120
|
+
e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(a.selectedSerieIndex) ? (r(), l("g", Ma, [
|
|
2107
2121
|
(r(), l("foreignObject", {
|
|
2108
2122
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * a.selectedSerieIndex - 100 + e.drawingArea.width / e.maxSeries / 2,
|
|
2109
2123
|
y: e.drawingArea.bottom,
|
|
@@ -2111,12 +2125,12 @@ function qa(t, s, c, f, a, e) {
|
|
|
2111
2125
|
height: "40",
|
|
2112
2126
|
style: { overflow: "visible !important" }
|
|
2113
2127
|
}, [
|
|
2114
|
-
|
|
2128
|
+
u("div", {
|
|
2115
2129
|
class: "vue-ui-xy-time-tag",
|
|
2116
2130
|
style: C(`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`)
|
|
2117
2131
|
}, k(e.timeLabels[a.selectedSerieIndex] || a.selectedSerieIndex), 5)
|
|
2118
|
-
], 8,
|
|
2119
|
-
|
|
2132
|
+
], 8, Ta)),
|
|
2133
|
+
u("circle", {
|
|
2120
2134
|
cx: e.drawingArea.left + e.drawingArea.width / e.maxSeries * a.selectedSerieIndex + e.drawingArea.width / e.maxSeries / 2,
|
|
2121
2135
|
cy: e.drawingArea.bottom,
|
|
2122
2136
|
r: e.FINAL_CONFIG.chart.timeTag.circleMarker.radius,
|
|
@@ -2125,11 +2139,11 @@ function qa(t, s, c, f, a, e) {
|
|
|
2125
2139
|
])) : h("", !0)
|
|
2126
2140
|
])) : h("", !0),
|
|
2127
2141
|
O(t.$slots, "svg", { svg: e.svg }, void 0, !0)
|
|
2128
|
-
], 14,
|
|
2129
|
-
t.$slots.watermark ? (r(), l("div",
|
|
2130
|
-
O(t.$slots, "watermark", W(
|
|
2142
|
+
], 14, Je)) : h("", !0),
|
|
2143
|
+
t.$slots.watermark ? (r(), l("div", Va, [
|
|
2144
|
+
O(t.$slots, "watermark", H(W({ isPrinting: a.isPrinting || a.isImaging })), void 0, !0)
|
|
2131
2145
|
])) : h("", !0),
|
|
2132
|
-
e.isDataset ? h("", !0) : (r(), D(
|
|
2146
|
+
e.isDataset ? h("", !0) : (r(), D(T, {
|
|
2133
2147
|
key: 6,
|
|
2134
2148
|
config: {
|
|
2135
2149
|
type: "line",
|
|
@@ -2179,7 +2193,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
2179
2193
|
onTrapMouse: e.selectMinimapIndex
|
|
2180
2194
|
}, {
|
|
2181
2195
|
"reset-action": M(({ reset: i }) => [
|
|
2182
|
-
O(t.$slots, "reset-action", W(
|
|
2196
|
+
O(t.$slots, "reset-action", H(W({ reset: i })), void 0, !0)
|
|
2183
2197
|
]),
|
|
2184
2198
|
_: 3
|
|
2185
2199
|
}, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "max", "valueStart", "valueEnd", "start", "end", "onReset", "onTrapMouse"])) : h("", !0),
|
|
@@ -2194,8 +2208,8 @@ function qa(t, s, c, f, a, e) {
|
|
|
2194
2208
|
onClick: (n) => e.segregate(i),
|
|
2195
2209
|
class: V({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": a.segregatedSeries.includes(i.id) })
|
|
2196
2210
|
}, [
|
|
2197
|
-
a.icons[i.type] === "line" ? (r(), l("svg",
|
|
2198
|
-
|
|
2211
|
+
a.icons[i.type] === "line" ? (r(), l("svg", Da, [
|
|
2212
|
+
u("rect", {
|
|
2199
2213
|
x: "0",
|
|
2200
2214
|
y: "7",
|
|
2201
2215
|
rx: "3",
|
|
@@ -2203,7 +2217,7 @@ function qa(t, s, c, f, a, e) {
|
|
|
2203
2217
|
height: "4",
|
|
2204
2218
|
width: "20",
|
|
2205
2219
|
fill: i.color
|
|
2206
|
-
}, null, 8,
|
|
2220
|
+
}, null, 8, Ba),
|
|
2207
2221
|
X(b, {
|
|
2208
2222
|
plot: { x: 10, y: 9 },
|
|
2209
2223
|
radius: 4,
|
|
@@ -2230,14 +2244,14 @@ function qa(t, s, c, f, a, e) {
|
|
|
2230
2244
|
shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle"
|
|
2231
2245
|
}, null, 8, ["color", "shape"]))
|
|
2232
2246
|
])),
|
|
2233
|
-
|
|
2247
|
+
u("span", {
|
|
2234
2248
|
style: C(`color:${e.FINAL_CONFIG.chart.legend.color}`)
|
|
2235
2249
|
}, k(i.name), 5)
|
|
2236
|
-
], 10,
|
|
2237
|
-
], 4)) : (r(), l("div",
|
|
2250
|
+
], 10, Ra))), 128))
|
|
2251
|
+
], 4)) : (r(), l("div", Ea, [
|
|
2238
2252
|
O(t.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
|
|
2239
2253
|
], 512)),
|
|
2240
|
-
t.$slots.source ? (r(), l("div",
|
|
2254
|
+
t.$slots.source ? (r(), l("div", Ya, [
|
|
2241
2255
|
O(t.$slots, "source", {}, void 0, !0)
|
|
2242
2256
|
], 512)) : h("", !0),
|
|
2243
2257
|
X(p, {
|
|
@@ -2256,10 +2270,10 @@ function qa(t, s, c, f, a, e) {
|
|
|
2256
2270
|
isCustom: e.FINAL_CONFIG.chart.tooltip.customFormat && typeof e.FINAL_CONFIG.chart.tooltip.customFormat == "function"
|
|
2257
2271
|
}, {
|
|
2258
2272
|
"tooltip-before": M(() => [
|
|
2259
|
-
O(t.$slots, "tooltip-before", W(
|
|
2273
|
+
O(t.$slots, "tooltip-before", H(W({ ...e.dataTooltipSlot })), void 0, !0)
|
|
2260
2274
|
]),
|
|
2261
2275
|
"tooltip-after": M(() => [
|
|
2262
|
-
O(t.$slots, "tooltip-after", W(
|
|
2276
|
+
O(t.$slots, "tooltip-after", H(W({ ...e.dataTooltipSlot })), void 0, !0)
|
|
2263
2277
|
]),
|
|
2264
2278
|
_: 3
|
|
2265
2279
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
@@ -2280,17 +2294,17 @@ function qa(t, s, c, f, a, e) {
|
|
|
2280
2294
|
}
|
|
2281
2295
|
}, {
|
|
2282
2296
|
content: M(() => [
|
|
2283
|
-
|
|
2297
|
+
u("div", {
|
|
2284
2298
|
style: C(`${a.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
|
|
2285
2299
|
}, [
|
|
2286
|
-
|
|
2287
|
-
He(
|
|
2300
|
+
u("div", Xa, [
|
|
2301
|
+
He(u("input", {
|
|
2288
2302
|
type: "checkbox",
|
|
2289
2303
|
"onUpdate:modelValue": s[4] || (s[4] = (i) => a.showSparklineTable = i)
|
|
2290
2304
|
}, null, 512), [
|
|
2291
2305
|
[We, a.showSparklineTable]
|
|
2292
2306
|
]),
|
|
2293
|
-
|
|
2307
|
+
u("div", {
|
|
2294
2308
|
onClick: s[5] || (s[5] = (i) => a.showSparklineTable = !a.showSparklineTable),
|
|
2295
2309
|
style: { cursor: "pointer" }
|
|
2296
2310
|
}, [
|
|
@@ -2315,10 +2329,10 @@ function qa(t, s, c, f, a, e) {
|
|
|
2315
2329
|
onClose: s[6] || (s[6] = (i) => a.mutableConfig.showTable = !1)
|
|
2316
2330
|
}, {
|
|
2317
2331
|
th: M(({ th: i }) => [
|
|
2318
|
-
|
|
2332
|
+
u("div", { innerHTML: i }, null, 8, qa)
|
|
2319
2333
|
]),
|
|
2320
2334
|
td: M(({ td: i }) => [
|
|
2321
|
-
|
|
2335
|
+
Ee(k(isNaN(Number(i)) ? i : e.dataLabel({
|
|
2322
2336
|
p: e.FINAL_CONFIG.chart.labels.prefix,
|
|
2323
2337
|
v: i,
|
|
2324
2338
|
s: e.FINAL_CONFIG.chart.labels.suffix,
|
|
@@ -2331,9 +2345,9 @@ function qa(t, s, c, f, a, e) {
|
|
|
2331
2345
|
]),
|
|
2332
2346
|
_: 1
|
|
2333
2347
|
}, 8, ["config"])) : h("", !0)
|
|
2334
|
-
], 14,
|
|
2348
|
+
], 14, Ue);
|
|
2335
2349
|
}
|
|
2336
|
-
const ci = /* @__PURE__ */
|
|
2350
|
+
const ci = /* @__PURE__ */ Ye(qe, [["render", Ua], ["__scopeId", "data-v-833a8dcb"]]);
|
|
2337
2351
|
export {
|
|
2338
2352
|
ci as default
|
|
2339
2353
|
};
|