vue-data-ui 2.3.47 → 2.3.49
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/dist/{Arrow-THOuTDcq.js → Arrow-Bo8pfwKs.js} +1 -1
- package/dist/{Arrow-Bj64dVl2.cjs → Arrow-iqIdxIKZ.cjs} +1 -1
- package/dist/{BaseIcon-Lz2AkAUF.js → BaseIcon-BoVYVkUT.js} +1 -1
- package/dist/{BaseIcon-CAlmCZtL.cjs → BaseIcon-DuVD-1qH.cjs} +1 -1
- package/dist/{DataTable-E_zoBxXZ.cjs → DataTable-CMF1l-gL.cjs} +1 -1
- package/dist/{DataTable-Cg9dMxHZ.js → DataTable-Dy0vFXS7.js} +2 -2
- package/dist/{Legend-DKGyWu7I.js → Legend-BbSR193q.js} +1 -1
- package/dist/{Legend-L_Enr1Hx.cjs → Legend-C3LgyVKP.cjs} +1 -1
- package/dist/{Shape-npSEDLuX.js → Shape-B5VTXCQH.js} +1 -1
- package/dist/{Shape-BLiPCHkv.cjs → Shape-BNlNwrBB.cjs} +1 -1
- package/dist/Slicer-CIqhDVuv.cjs +1 -0
- package/dist/Slicer-D62jXLRQ.js +257 -0
- package/dist/{Title-C0_PhO2u.js → Title-0px6u9U5.js} +1 -1
- package/dist/{Title-DSPpszvp.cjs → Title-CSRD5z1r.cjs} +1 -1
- package/dist/{Tooltip-CgSI_niS.cjs → Tooltip-DFpYO4rz.cjs} +1 -1
- package/dist/{Tooltip-dfMcr3Yl.js → Tooltip-TTopnCsK.js} +1 -1
- package/dist/{index-ChMHOLEV.js → index-8Lp8V0TB.js} +561 -552
- package/dist/index-De6Dj52h.cjs +4 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +9 -0
- package/dist/types/vue-data-ui.d.ts +9 -0
- package/dist/{useNestedProp-DFwnYdme.js → useNestedProp-DE-a5lMx.js} +1 -1
- package/dist/{useNestedProp-BH5s4SOa.cjs → useNestedProp-Vjg1xsU_.cjs} +1 -1
- package/dist/{usePrinter-DUD-LDLx.cjs → usePrinter-SLYneJmG.cjs} +1 -1
- package/dist/{usePrinter-BW4S0cF1.js → usePrinter-cCBJ71Cc.js} +1 -1
- package/dist/{vue-data-ui-D0OBzNWS.cjs → vue-data-ui-B1ngLIqD.cjs} +1 -1
- package/dist/{vue-data-ui-CbuAnIFO.js → vue-data-ui-pmpX1nQY.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-B9L0Q6d9.cjs → vue-ui-3d-bar-8yOSr9F5.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-FHiGe0fx.js → vue-ui-3d-bar-DcoFVkRG.js} +7 -7
- package/dist/{vue-ui-accordion-Bukh98Pi.js → vue-ui-accordion-BQfLl7n5.js} +3 -3
- package/dist/{vue-ui-accordion-ZPhdh-C7.cjs → vue-ui-accordion-CiSEQOBc.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-CfKlnJ-N.cjs → vue-ui-age-pyramid-BRr6sDTU.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-DLBZkGqa.js → vue-ui-age-pyramid-Cyzoxsd_.js} +8 -8
- package/dist/{vue-ui-annotator-DwJ8pgXD.cjs → vue-ui-annotator-60JYTNTN.cjs} +1 -1
- package/dist/{vue-ui-annotator-sEd3t3Xa.js → vue-ui-annotator-DkkEj4IE.js} +1 -1
- package/dist/{vue-ui-candlestick-DGAu46FK.js → vue-ui-candlestick-CDLGf1AM.js} +9 -9
- package/dist/{vue-ui-candlestick-CEgbkXwC.cjs → vue-ui-candlestick-D7IRuRY-.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-DziSeBtT.js → vue-ui-carousel-table-CGqR-L66.js} +4 -4
- package/dist/{vue-ui-carousel-table-BZRMnoU1.cjs → vue-ui-carousel-table-dITvFJuB.cjs} +1 -1
- package/dist/{vue-ui-chestnut-iLTYa9Xl.js → vue-ui-chestnut-BGLp2adQ.js} +6 -6
- package/dist/{vue-ui-chestnut-DAaMh6sq.cjs → vue-ui-chestnut-x6ysM7Re.cjs} +1 -1
- package/dist/{vue-ui-cursor-D5XYd9sC.cjs → vue-ui-cursor-C5gPJbwq.cjs} +1 -1
- package/dist/{vue-ui-cursor-DUwUhpoT.js → vue-ui-cursor-X_1-s3ik.js} +2 -2
- package/dist/{vue-ui-dashboard-DyB_oaXE.cjs → vue-ui-dashboard-Cgtk8oJP.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DiXf1UFz.js → vue-ui-dashboard-zfHS3YDI.js} +2 -2
- package/dist/{vue-ui-digits-RUrqXG5U.js → vue-ui-digits-C6o6diGb.js} +2 -2
- package/dist/{vue-ui-digits-DVwp3Vzr.cjs → vue-ui-digits-DJL1XNX-.cjs} +1 -1
- package/dist/{vue-ui-donut-CMT341XH.cjs → vue-ui-donut-BwdyNBGR.cjs} +1 -1
- package/dist/{vue-ui-donut-CIo7evf6.js → vue-ui-donut-Do84LyRn.js} +9 -9
- package/dist/{vue-ui-donut-evolution-BTw0E5sZ.cjs → vue-ui-donut-evolution-CIjVTIAJ.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-DpflCS73.js → vue-ui-donut-evolution-DQnRpcIw.js} +9 -9
- package/dist/{vue-ui-dumbbell-BgZEQGlE.js → vue-ui-dumbbell-B71pIx5Z.js} +8 -8
- package/dist/{vue-ui-dumbbell-UGicuItz.cjs → vue-ui-dumbbell-D_Bvl_1q.cjs} +1 -1
- package/dist/{vue-ui-flow-BqK29554.js → vue-ui-flow-BFXzVNCo.js} +7 -7
- package/dist/{vue-ui-flow-BfouRr14.cjs → vue-ui-flow-DpFcTi7P.cjs} +1 -1
- package/dist/{vue-ui-galaxy-DgIe6MYv.cjs → vue-ui-galaxy-CI546a3O.cjs} +1 -1
- package/dist/{vue-ui-galaxy-CuE0gjDn.js → vue-ui-galaxy-DC0LoWFu.js} +9 -9
- package/dist/{vue-ui-gauge-BKi2QGVX.cjs → vue-ui-gauge-COVSZG36.cjs} +1 -1
- package/dist/{vue-ui-gauge-CcuW6li6.js → vue-ui-gauge-Chz7KDBu.js} +5 -5
- package/dist/{vue-ui-gizmo-B9LHgK5x.cjs → vue-ui-gizmo-DuSQv_6q.cjs} +1 -1
- package/dist/{vue-ui-gizmo-Cp06yGvf.js → vue-ui-gizmo-ydAuESKo.js} +2 -2
- package/dist/{vue-ui-heatmap-D5pMKFX8.js → vue-ui-heatmap-Ba_jzJB2.js} +8 -8
- package/dist/{vue-ui-heatmap-D1GsWm8S.cjs → vue-ui-heatmap-CdpBaTry.cjs} +1 -1
- package/dist/{vue-ui-kpi-B0YwsHBF.js → vue-ui-kpi-C5yFYQ19.js} +3 -3
- package/dist/{vue-ui-kpi-DuBd9Cfw.cjs → vue-ui-kpi-D2TypVZG.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BCE21FIO.js → vue-ui-mini-loader-BD6Lu94h.js} +2 -2
- package/dist/{vue-ui-mini-loader-CAJwCMGP.cjs → vue-ui-mini-loader-DJXMipP5.cjs} +1 -1
- package/dist/{vue-ui-molecule-DDasACBO.cjs → vue-ui-molecule-DCCCC-6a.cjs} +1 -1
- package/dist/{vue-ui-molecule-DeI-vOCp.js → vue-ui-molecule-DCsLwmnF.js} +9 -9
- package/dist/{vue-ui-mood-radar-C2ylWXY4.cjs → vue-ui-mood-radar-CX6Gq6UB.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-B8IcNhp-.js → vue-ui-mood-radar-D-FUCHS-.js} +9 -9
- package/dist/{vue-ui-nested-donuts-CgpGyxKR.js → vue-ui-nested-donuts-CgRfdcJy.js} +9 -9
- package/dist/{vue-ui-nested-donuts-DUnTzrPT.cjs → vue-ui-nested-donuts-DWuCVtg8.cjs} +1 -1
- package/dist/{vue-ui-onion-B1cdXNvI.js → vue-ui-onion-BWo7GrFe.js} +9 -9
- package/dist/{vue-ui-onion-DGjKbke1.cjs → vue-ui-onion-Dg-7GylY.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-DWYOet0Y.js → vue-ui-parallel-coordinate-plot-DSUZL2Sy.js} +10 -10
- package/dist/{vue-ui-parallel-coordinate-plot-BZtCTNKa.cjs → vue-ui-parallel-coordinate-plot-prF4TxQD.cjs} +1 -1
- package/dist/{vue-ui-quadrant-D4Pfvypx.cjs → vue-ui-quadrant-Ct06vgiw.cjs} +1 -1
- package/dist/{vue-ui-quadrant-bc2ZAF-e.js → vue-ui-quadrant-DYApa1bj.js} +10 -10
- package/dist/{vue-ui-quick-chart-CmJ7o4Sy.cjs → vue-ui-quick-chart-CwIWb_LQ.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-U0Bwmo7o.js → vue-ui-quick-chart-DOHmWoHL.js} +6 -6
- package/dist/{vue-ui-radar-ClHJwcdQ.cjs → vue-ui-radar-BJ23WOh7.cjs} +1 -1
- package/dist/{vue-ui-radar-KXEodxY0.js → vue-ui-radar-C4SFHmfz.js} +10 -10
- package/dist/{vue-ui-rating-B4i_esmV.js → vue-ui-rating-BSFASHFc.js} +2 -2
- package/dist/{vue-ui-rating-CUR8udEY.cjs → vue-ui-rating-BsRGR-VS.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-B0IYw3cW.cjs → vue-ui-relation-circle-CEzXa3yt.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-CR0-9RVH.js → vue-ui-relation-circle-Dg-99k9k.js} +5 -5
- package/dist/{vue-ui-rings-B0quOkZB.js → vue-ui-rings-CCcc9cFR.js} +9 -9
- package/dist/{vue-ui-rings-dZ5s41lD.cjs → vue-ui-rings-DiQhsWx_.cjs} +1 -1
- package/dist/{vue-ui-scatter-DGkgA3c2.js → vue-ui-scatter-BgsexKX4.js} +10 -10
- package/dist/{vue-ui-scatter-B6ONtpIT.cjs → vue-ui-scatter-D7z4c6k-.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DHzHE3bq.cjs → vue-ui-screenshot-Bj85MdEJ.cjs} +1 -1
- package/dist/{vue-ui-screenshot-C54ey8-p.js → vue-ui-screenshot-viGaG1cU.js} +1 -1
- package/dist/{vue-ui-skeleton-BWu2nLeV.cjs → vue-ui-skeleton-Cl9Kp9yE.cjs} +1 -1
- package/dist/{vue-ui-skeleton-CwTDNzek.js → vue-ui-skeleton-apODtH32.js} +2 -2
- package/dist/{vue-ui-smiley-BfHCG14T.js → vue-ui-smiley-BUDu21nW.js} +2 -2
- package/dist/{vue-ui-smiley-YycNcszs.cjs → vue-ui-smiley-CfDLeydH.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-DNxVD2pk.js → vue-ui-spark-trend-B1bpQlNI.js} +4 -4
- package/dist/{vue-ui-spark-trend-Dyilmz2Z.cjs → vue-ui-spark-trend-ZS_m-z6R.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CUxLYyQb.cjs → vue-ui-sparkbar-C8fgdM5i.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Bbaou7w5.js → vue-ui-sparkbar-CpwYwA2h.js} +3 -3
- package/dist/{vue-ui-sparkgauge-tsCLtZpw.cjs → vue-ui-sparkgauge-CGy4jbtz.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CX_a9jtx.js → vue-ui-sparkgauge-DpDoOc6V.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-Cwz2wQ1e.cjs → vue-ui-sparkhistogram-CX35Cfkc.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DZVZ-RXk.js → vue-ui-sparkhistogram-CcEB0gwD.js} +4 -4
- package/dist/{vue-ui-sparkline-C-PJg1EI.js → vue-ui-sparkline-Bk4kWGco.js} +3 -3
- package/dist/{vue-ui-sparkline-BEprcYEe.cjs → vue-ui-sparkline-CdPAtBR8.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DGyE2dE3.cjs → vue-ui-sparkstackbar-6xwj9rme.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-CxPo843r.js → vue-ui-sparkstackbar-B7Pvvmo_.js} +3 -3
- package/dist/{vue-ui-stackbar-BrX0uP0u.cjs → vue-ui-stackbar-7xZmgZo4.cjs} +1 -1
- package/dist/{vue-ui-stackbar-DFFORChg.js → vue-ui-stackbar-BMhowvyb.js} +10 -10
- package/dist/{vue-ui-strip-plot-DhcPpafE.js → vue-ui-strip-plot-CnLnX_zO.js} +9 -9
- package/dist/{vue-ui-strip-plot-C_J9uvvB.cjs → vue-ui-strip-plot-DOXU1HhU.cjs} +1 -1
- package/dist/{vue-ui-table-BuBIC5Ep.js → vue-ui-table-CoIUKpaM.js} +1 -1
- package/dist/{vue-ui-table-B0CfGG_e.cjs → vue-ui-table-Ly0OlueB.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-D3YP4078.js → vue-ui-table-heatmap-CtVr--3k.js} +4 -4
- package/dist/{vue-ui-table-heatmap-BRNGFUm-.cjs → vue-ui-table-heatmap-cLUGY_I8.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-BDaZLq9H.js → vue-ui-table-sparkline-Ct4n3vjB.js} +5 -5
- package/dist/{vue-ui-table-sparkline-OXdcU6JH.cjs → vue-ui-table-sparkline-i_FQjHJt.cjs} +1 -1
- package/dist/{vue-ui-thermometer-Dq6DVPKi.js → vue-ui-thermometer-CELrItTb.js} +5 -5
- package/dist/{vue-ui-thermometer-BPHxKklC.cjs → vue-ui-thermometer-vrEGhPDN.cjs} +1 -1
- package/dist/{vue-ui-timer-C51UJ8cf.js → vue-ui-timer-BKhOVqdo.js} +4 -4
- package/dist/{vue-ui-timer-Cc5OaHL8.cjs → vue-ui-timer-C5oaCNfC.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DWRRMm0S.cjs → vue-ui-tiremarks-CSbL6U73.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-Cc9PjBa8.js → vue-ui-tiremarks-p6l5H8Xo.js} +5 -5
- package/dist/{vue-ui-treemap-BUPvuWKn.cjs → vue-ui-treemap-BwegaYVE.cjs} +1 -1
- package/dist/{vue-ui-treemap-Dfsnew-o.js → vue-ui-treemap-C4DTISo2.js} +9 -9
- package/dist/{vue-ui-vertical-bar-4E0DyBl3.cjs → vue-ui-vertical-bar-B3GbC7E_.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-aTTLZNFG.js → vue-ui-vertical-bar-C8dwl1ez.js} +9 -9
- package/dist/{vue-ui-waffle-CDv36WNb.js → vue-ui-waffle-BjXgV05U.js} +9 -9
- package/dist/{vue-ui-waffle-CZPrfM_0.cjs → vue-ui-waffle-DfhoqEtv.cjs} +1 -1
- package/dist/{vue-ui-wheel-DZck6SNJ.js → vue-ui-wheel-BpGLo5wJ.js} +5 -5
- package/dist/{vue-ui-wheel-IMuXbp1R.cjs → vue-ui-wheel-CtUEp9En.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-EVeSzBUX.cjs → vue-ui-word-cloud-BSmOL5UE.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-C9bnwx69.js → vue-ui-word-cloud-DNBF-X9H.js} +7 -7
- package/dist/vue-ui-xy-ClD6S1Ok.cjs +3 -0
- package/dist/{vue-ui-xy-BRRAfLis.js → vue-ui-xy-W_Zawlkz.js} +402 -380
- package/dist/{vue-ui-xy-canvas-DhHEH5ib.cjs → vue-ui-xy-canvas-BZTwibcy.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-5bhkoiT4.js → vue-ui-xy-canvas-DELc-ZEx.js} +10 -10
- package/package.json +1 -1
- package/dist/Slicer-DGciWCaF.js +0 -156
- package/dist/Slicer-DNvTnINC.cjs +0 -1
- package/dist/index-Br-wm_4r.cjs +0 -4
- package/dist/vue-ui-xy-BVwJjkYt.cjs +0 -3
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./pdf-Cz3729tZ.cjs"),v=require("./usePrinter-DUD-LDLx.cjs"),d=require("./index-Br-wm_4r.cjs"),E=require("./DataTable-E_zoBxXZ.cjs"),z=require("./Title-DSPpszvp.cjs"),G=require("./Tooltip-CgSI_niS.cjs"),V=require("./Shape-BLiPCHkv.cjs"),P=require("./BaseIcon-CAlmCZtL.cjs"),M=require("./vue-ui-table-sparkline-OXdcU6JH.cjs"),T=require("./vue-ui-skeleton-BWu2nLeV.cjs"),D=require("./Slicer-DNvTnINC.cjs"),R=require("./vue-ui-accordion-ZPhdh-C7.cjs"),B=require("./useNestedProp-BH5s4SOa.cjs"),e=require("vue"),H=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),W=d.createUid(),q={name:"vue-ui-xy",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},components:{DataTable:E.DataTable,Shape:V._sfc_main,Title:z._sfc_main,Tooltip:G._sfc_main,UserOptions:v.UserOptions,BaseIcon:P.default,TableSparkline:M.default,Skeleton:T.default,Slicer:D.Slicer,Accordion:R.default},data(){this.dataset.forEach((n,g)=>{[null,void 0].includes(n.series)&&this.error({componentName:"VueUiXy",type:"datasetSerieAttribute",property:"series (number[])",index:g})});const a=Math.max(...this.dataset.map(n=>n.series.length)),i={start:0,end:a};return{themePalettes:d.themePalettes,themes:d.themes,slicerStep:0,selectedScale:null,CTX:null,CANVAS:null,opacity:d.opacity,useSafeValues:!0,palette:d.palette,height:600,width:1e3,viewBox:"0 0 1000 600",clientPosition:{x:0,y:0},canvasClientPosition:{x:0,y:0},icons:{line:"line",bar:"bar",plot:"plot"},isFullscreen:!1,isPrinting:!1,isImaging:!1,isTooltip:!1,mutableConfig:{dataLabels:{show:!0},showTooltip:!0,showTable:!1,isStacked:!1,useIndividualScale:!1},selectedSerieIndex:null,selectedRowIndex:null,segregatedSeries:[],uniqueId:d.createUid(),step:0,slicer:i,__to__:null,maxX:a,showSparklineTable:!0,segregateStep:0,sliderId:W,fontSizes:{xAxis:18,yAxis:12,dataLabels:20,plotLabels:10},plotRadii:{plot:3,line:3}}},computed:{customPalette(){return this.convertCustomPalette(this.FINAL_CONFIG.customPalette)},backgroundColor(){return this.FINAL_CONFIG.chart.backgroundColor},slicerColor(){return this.FINAL_CONFIG.chart.zoom.color},allScales(){const a=this.lineSet.map(l=>({name:l.name,color:l.color,scale:l.individualScale,scaleYLabels:l.scaleYLabels,zero:l.zeroPosition,max:l.individualMax,scaleLabel:l.scaleLabel||"",id:l.id,yOffset:l.yOffset||0,individualHeight:l.individualHeight||this.drawingArea.height,autoScaleYLabels:l.autoScaleYLabels})),i=this.barSet.map(l=>({name:l.name,color:l.color,scale:l.individualScale,scaleYLabels:l.scaleYLabels,zero:l.zeroPosition,max:l.individualMax,scaleLabel:l.scaleLabel||"",id:l.id,yOffset:l.yOffset||0,individualHeight:l.individualHeight||this.drawingArea.height})),n=this.plotSet.map(l=>({name:l.name,color:l.color,scale:l.individualScale,scaleYLabels:l.scaleYLabels,zero:l.zeroPosition,max:l.individualMax,scaleLabel:l.scaleLabel||"",id:l.id,yOffset:l.yOffset||0,individualHeight:l.individualHeight||this.drawingArea.height})),g=[...a,...i,...n].flatMap(l=>l).length;return[...a,...i,...n].flatMap((l,t)=>({id:l.id,scaleLabel:l.scaleLabel,name:l.name,color:l.color,scale:l.scale,yOffset:l.yOffset,individualHeight:l.individualHeight,x:this.mutableConfig.isStacked?this.drawingArea.left:this.drawingArea.left/g*(t+1),yLabels:l.scaleYLabels||l.scale.ticks.map(m=>({y:m>=0?l.zero-l.individualHeight*(m/l.max):l.zero+l.individualHeight*Math.abs(m)/l.max,value:m}))}))},isDataset(){return!!this.dataset&&this.dataset.length},chartFont(){const a=document.getElementById(`vue-ui-xy_${this.uniqueId}`);return window.getComputedStyle(a,null).getPropertyValue("font-family")},FINAL_CONFIG:{get:function(){const a=d.useConfig().vue_ui_xy;if(!Object.keys(this.config||{}).length)return a;const i=this.useNestedProp({userConfig:this.config,defaultConfig:a});return this.config&&this.hasDeepProperty(this.config,"chart.highlightArea")&&(Array.isArray(this.config.chart.highlightArea)?i.chart.highlightArea=this.config.chart.highlightArea:i.chart.highlightArea=[this.config.chart.highlightArea]),this.config&&this.hasDeepProperty(this.config,"chart.grid.labels.yAxis.scaleMin")?i.chart.grid.labels.yAxis.scaleMin=this.config.chart.grid.labels.yAxis.scaleMin:i.chart.grid.labels.yAxis.scaleMin=null,this.config&&this.hasDeepProperty(this.config,"chart.grid.labels.yAxis.scaleMax")?i.chart.grid.labels.yAxis.scaleMax=this.config.chart.grid.labels.yAxis.scaleMax:i.chart.grid.labels.yAxis.scaleMax=null,i.theme?{...B.useNestedProp({userConfig:this.themes.vue_ui_xy[i.theme]||this.config,defaultConfig:i}),customPalette:this.themePalettes[i.theme]||this.palette}:i},set:function(a){return a}},hasHighlightArea(){return Array.isArray(this.FINAL_CONFIG.chart.highlightArea)?this.FINAL_CONFIG.chart.highlightArea.some(a=>a.show):this.FINAL_CONFIG.chart.highlightArea&&this.FINAL_CONFIG.chart.highlightArea.show},highlightAreas(){if(Array.isArray(this.FINAL_CONFIG.chart.highlightArea))return this.FINAL_CONFIG.chart.highlightArea.map(i=>({...i,span:i.from===i.to?1:i.to<i.from?0:i.to-i.from+1}));const a=this.FINAL_CONFIG.chart.highlightArea;return[{...a,span:a.from===a.to?1:a.to<a.from?0:a.to-a.from+1}]},xPadding(){return this.FINAL_CONFIG.chart.grid.position==="middle"?0:this.drawingArea.width/this.maxSeries/2},relativeZero(){return this.niceScale.min>=0?0:Math.abs(this.niceScale.min)},absoluteMax(){return this.niceScale.max+this.relativeZero},safeDataset(){return this.useSafeValues?this.dataset.map((a,i)=>({...a,series:a.series.map(n=>this.isSafeValue(n)?n:null).slice(this.slicer.start,this.slicer.end),color:this.convertColorToHex(a.color?a.color:this.customPalette[i]?this.customPalette[i]:this.palette[i]),id:`uniqueId_${i}`})):this.dataset},relativeDataset(){return this.safeDataset.map((a,i)=>({...a,series:a.series.map(n=>n+this.relativeZero),absoluteValues:a.series})).filter(a=>!this.segregatedSeries.includes(a.id))},tableSparklineDataset(){return this.relativeDataset.map(a=>{const i=a.absoluteValues.map(n=>[void 0,null].includes(n)?0:n);return{id:a.id,name:a.name,color:a.color,values:this.fillArray(this.maxSeries,i)}})},tableSparklineConfig(){return{responsiveBreakpoint:this.FINAL_CONFIG.table.responsiveBreakpoint,roundingValues:this.FINAL_CONFIG.table.rounding,showAverage:!1,showMedian:!1,showTotal:!1,fontFamily:this.FINAL_CONFIG.chart.fontFamily,prefix:this.FINAL_CONFIG.chart.labels.prefix,suffix:this.FINAL_CONFIG.chart.labels.suffix,colNames:JSON.parse(JSON.stringify(this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values)),thead:{backgroundColor:this.FINAL_CONFIG.table.th.backgroundColor,color:this.FINAL_CONFIG.table.th.color,outline:this.FINAL_CONFIG.table.th.outline},tbody:{backgroundColor:this.FINAL_CONFIG.table.td.backgroundColor,color:this.FINAL_CONFIG.table.td.color,outline:this.FINAL_CONFIG.table.td.outline},userOptions:{show:!1}}},absoluteDataset(){return this.safeDataset.map((a,i)=>({absoluteIndex:i,...a,series:a.series.map(n=>n+this.relativeZero),absoluteValues:a.series,segregate:()=>this.segregate(a),isSegregated:this.segregatedSeries.includes(a.id)}))},barSet(){return this.activeSeriesWithStackRatios.filter(a=>a.type==="bar").map((a,i)=>{this.checkAutoScaleError(a);const n=Math.min(...a.absoluteValues.filter(c=>![null,void 0].includes(c))),g=Math.max(...a.absoluteValues.filter(c=>![null,void 0].includes(c))),t={ratios:a.absoluteValues.filter(c=>![null,void 0].includes(c)).map(c=>(c-n)/(g-n)),valueMin:n,valueMax:g<0?0:g},m={max:a.scaleMax||Math.max(...a.absoluteValues)||1,min:a.scaleMin||Math.min(...a.absoluteValues.filter(c=>![void 0,null].includes(c)))>0?0:Math.min(...a.absoluteValues.filter(c=>![null,void 0].includes(c)))},I=a.scaleSteps||this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps,u=this.calculateNiceScaleWithExactExtremes(m.min,m.max,I),N=this.calculateNiceScaleWithExactExtremes(t.valueMin,t.valueMax,I),S=u.min>=0?0:Math.abs(u.min),x=0,y=u.max+S,C=N.max+Math.abs(x),f=this.mutableConfig.isStacked?this.drawingArea.height*(1-a.cumulatedStackRatio):0,F=this.mutableConfig.isStacked?this.drawingArea.height*a.stackRatio-this.FINAL_CONFIG.chart.grid.labels.yAxis.gap:this.drawingArea.height,r=this.drawingArea.bottom-f-F*S/y,o=this.drawingArea.bottom-f-F*x/C,s=this.absoluteDataset.filter(c=>c.type==="bar").filter(c=>!this.segregatedSeries.includes(c.id)).length,h=a.series.map((c,k)=>{const w=this.mutableConfig.useIndividualScale?(a.absoluteValues[k]+S)/y:this.ratioToMax(c),O=this.mutableConfig.useIndividualScale&&this.mutableConfig.isStacked?this.drawingArea.left+this.drawingArea.width/this.maxSeries*k:this.drawingArea.left+this.slot.bar*i+this.slot.bar*k*s-this.barSlot/2-i*this.barPeriodGap;return{yOffset:f,individualHeight:F,x:O,y:this.drawingArea.bottom-f-F*w,value:a.absoluteValues[k],zeroPosition:r,individualMax:y,comment:a.comments&&a.comments.slice(this.slicer.start,this.slicer.end)[k]||""}}),L=a.absoluteValues.map(c=>N.min>=0?(c-Math.abs(N.min))/(N.max-Math.abs(N.min)):(c+Math.abs(N.min))/(N.max+Math.abs(N.min))),A=a.series.map((c,k)=>{const w=this.mutableConfig.useIndividualScale&&this.mutableConfig.isStacked?this.drawingArea.left+this.drawingArea.width/this.maxSeries*k:this.drawingArea.left-this.slot.bar/2+this.slot.bar*i+this.slot.bar*k*this.absoluteDataset.filter(O=>O.type==="bar").filter(O=>!this.segregatedSeries.includes(O.id)).length;return{yOffset:f,individualHeight:F,x:w,y:this.drawingArea.bottom-f-(F*L[k]||0),value:a.absoluteValues[k],zeroPosition:r,individualMax:y,comment:a.comments&&a.comments.slice(this.slicer.start,this.slicer.end)[k]||""}}),b=u.ticks.map(c=>({y:c>=0?r-F*(c/y):r+F*Math.abs(c)/y,value:c})),_=N.ticks.map(c=>{const k=(c-N.min)/(N.max-N.min);return{y:c>=0?o-F*k:o+F*k,value:c}});return{...a,yOffset:f,autoScaleYLabels:_,individualHeight:F,scaleYLabels:a.autoScaling?_:b,individualScale:a.autoScaling?N:u,individualMax:a.autoScaling?C:y,zeroPosition:a.autoScaling?o:r,plots:a.autoScaling?A:h}})},activeSeriesLength(){return this.absoluteDataset.length},activeSeriesWithStackRatios(){return this.assignStackRatios(this.absoluteDataset.filter(a=>!this.segregatedSeries.includes(a.id)))},lineSet(){return this.activeSeriesWithStackRatios.filter(a=>a.type==="line").map(a=>{this.checkAutoScaleError(a);const i=Math.min(...a.absoluteValues.filter(c=>![void 0,null].includes(c))),n=Math.max(...a.absoluteValues.filter(c=>![void 0,null].includes(c)))||1,l={ratios:a.absoluteValues.filter(c=>![null,void 0].includes(c)).map(c=>(c-i)/(n-i)),valueMin:i,valueMax:n},t={max:a.scaleMax||Math.max(...a.absoluteValues)||1,min:a.scaleMin||(Math.min(...a.absoluteValues)>0?0:Math.min(...a.absoluteValues))},m=a.scaleSteps||this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps,I=this.calculateNiceScaleWithExactExtremes(t.min,t.max,m),u=this.calculateNiceScaleWithExactExtremes(l.valueMin,l.valueMax,m),N=I.min>=0?0:Math.abs(I.min),S=0,x=I.max+Math.abs(N),y=u.max+Math.abs(S),C=this.mutableConfig.isStacked?this.drawingArea.height*(1-a.cumulatedStackRatio):0,f=this.mutableConfig.isStacked?this.drawingArea.height*a.stackRatio-this.FINAL_CONFIG.chart.grid.labels.yAxis.gap:this.drawingArea.height,F=this.drawingArea.bottom-C-f*N/x,r=this.drawingArea.bottom-C-f*S/y,o=a.series.map((c,k)=>{const w=this.mutableConfig.useIndividualScale?(a.absoluteValues[k]+Math.abs(N))/x:this.ratioToMax(c);return{x:this.drawingArea.left+this.slot.line/2+this.slot.line*k,y:this.drawingArea.bottom-C-f*w,value:a.absoluteValues[k],comment:a.comments&&a.comments.slice(this.slicer.start,this.slicer.end)[k]||""}}),s=a.absoluteValues.map(c=>u.min>=0?(c-Math.abs(u.min))/(u.max-Math.abs(u.min)):(c+Math.abs(u.min))/(u.max+Math.abs(u.min))),h=a.series.map((c,k)=>{if(![void 0,null].includes(a.absoluteValues[k]))return{x:this.drawingArea.left+this.slot.line/2+this.slot.line*k,y:this.drawingArea.bottom-C-(f*s[k]||0),value:a.absoluteValues[k],comment:a.comments&&a.comments.slice(this.slicer.start,this.slicer.end)[k]||""}}),L=this.createSmoothPath(o),A=this.createSmoothPath(h),b=I.ticks.map(c=>({y:c>=0?F-f*(c/x):F+f*Math.abs(c)/x,value:c})),_=u.ticks.map(c=>{const k=(c-u.min)/(u.max-u.min);return{y:c>=0?r-f*k:r+f*k,value:c}});return{...a,yOffset:C,autoScaleYLabels:_,individualHeight:f,scaleYLabels:a.autoScaling?_:b,individualScale:a.autoScaling?u:I,individualMax:a.autoScaling?y:x,zeroPosition:a.autoScaling?r:F,curve:a.autoScaling?A:L,plots:a.autoScaling?h:o,area:a.useArea?this.mutableConfig.useIndividualScale?this.createIndividualArea(a.autoScaling?h:o,a.autoScaling?r:F):this.createArea(o):""}})},plotSet(){return this.activeSeriesWithStackRatios.filter(a=>a.type==="plot").map(a=>{this.checkAutoScaleError(a);const i=Math.min(...a.absoluteValues.filter(b=>![null,void 0].includes(b))),n=Math.max(...a.absoluteValues.filter(b=>![null,void 0].includes(b)))||1,l={ratios:a.absoluteValues.filter(b=>![null,void 0].includes(b)).map(b=>(b-i)/(n-i)),valueMin:i,valueMax:n},t={max:a.scaleMax||Math.max(...a.absoluteValues)||1,min:a.scaleMin||Math.min(...a.absoluteValues)>0?0:Math.min(...a.absoluteValues)},m=a.scaleSteps||this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps,I=this.calculateNiceScaleWithExactExtremes(t.min,t.max,m),u=this.calculateNiceScaleWithExactExtremes(l.valueMin,l.valueMax,m),N=I.min>=0?0:Math.abs(I.min),S=0,x=I.max+N,y=u.max+Math.abs(S),C=this.mutableConfig.isStacked?this.drawingArea.height*(1-a.cumulatedStackRatio):0,f=this.mutableConfig.isStacked?this.drawingArea.height*a.stackRatio-this.FINAL_CONFIG.chart.grid.labels.yAxis.gap:this.drawingArea.height,F=this.drawingArea.bottom-C-f*N/x,r=this.drawingArea.bottom-C-f*S/y,o=a.series.map((b,_)=>{const c=this.mutableConfig.useIndividualScale?(a.absoluteValues[_]+Math.abs(N))/x:this.ratioToMax(b);return{x:this.drawingArea.left+this.slot.plot/2+this.slot.plot*_,y:this.drawingArea.bottom-C-f*c,value:a.absoluteValues[_],comment:a.comments&&a.comments.slice(this.slicer.start,this.slicer.end)[_]||""}}),s=a.absoluteValues.map(b=>u.min>=0?(b-Math.abs(u.min))/(u.max-Math.abs(u.min)):(b+Math.abs(u.min))/(u.max+Math.abs(u.min))),h=a.series.map((b,_)=>({x:this.drawingArea.left+this.slot.plot/2+this.slot.plot*_,y:this.drawingArea.bottom-C-(f*s[_]||0),value:a.absoluteValues[_],comment:a.comments&&a.comments.slice(this.slicer.start,this.slicer.end)[_]||""})),L=I.ticks.map(b=>({y:b>=0?F-f*(b/x):F+f*Math.abs(b)/x,value:b})),A=u.ticks.map(b=>{const _=(b-u.min)/(u.max-u.min);return{y:b>=0?r-f*_:r+f*_,value:b}});return{...a,yOffset:C,autoScaleYLabels:A,individualHeight:f,scaleYLabels:a.autoScaling?A:L,individualScale:a.autoScaling?u:I,individualMax:a.autoScaling?y:x,zeroPosition:a.autoScaling?r:F,plots:a.autoScaling?h:o}})},drawingArea(){const a=this.mutableConfig.useIndividualScale&&this.FINAL_CONFIG.chart.grid.labels.show?this.absoluteDataset.filter(i=>!this.segregatedSeries.includes(i.id)).length*(this.mutableConfig.isStacked?0:this.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth):0;return{top:this.FINAL_CONFIG.chart.padding.top,right:this.width-this.FINAL_CONFIG.chart.padding.right,bottom:this.height-this.FINAL_CONFIG.chart.padding.bottom,left:this.FINAL_CONFIG.chart.padding.left+a,height:this.height-(this.FINAL_CONFIG.chart.padding.top+this.FINAL_CONFIG.chart.padding.bottom),width:this.width-(this.FINAL_CONFIG.chart.padding.right+this.FINAL_CONFIG.chart.padding.left+a)}},max(){return this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMax?this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMax:Math.max(...this.safeDataset.filter(a=>!this.segregatedSeries.includes(a.id)).map(a=>Math.max(...a.series)))},min(){if(this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin!==null)return this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin;const a=Math.min(...this.safeDataset.filter(i=>!this.segregatedSeries.includes(i.id)).map(i=>Math.min(...i.series)));return a>0?0:a},niceScale(){return this.calculateNiceScaleWithExactExtremes(this.min,this.max<0?0:this.max,this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps)},maxSeries(){return this.slicer.end-this.slicer.start},timeLabels(){return this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values.slice(this.slicer.start,this.slicer.end)},slot(){return{bar:this.drawingArea.width/this.maxSeries/this.safeDataset.filter(a=>a.type==="bar").filter(a=>!this.segregatedSeries.includes(a.id)).length,plot:this.drawingArea.width/this.maxSeries,line:this.drawingArea.width/this.maxSeries}},barSlot(){const a=this.safeDataset.filter(i=>i.type==="bar").filter(i=>!this.segregatedSeries.includes(i.id)).length;return this.drawingArea.width/this.maxSeries/a-this.barPeriodGap*a},barPeriodGap(){return this.slot.line*this.FINAL_CONFIG.bar.periodGap},maxSlot(){return Math.max(...Object.values(this.slot).filter(a=>a!==1/0))},table(){if(this.safeDataset.length===0)return{head:[],body:[],config:{},columnNames:[]};const a=this.relativeDataset.map(n=>({label:n.name,color:n.color,type:n.type})),i=[];return this.timeLabels.forEach((n,g)=>{const l=[n];this.relativeDataset.forEach(t=>{l.push(this.canShowValue(t.absoluteValues[g])?Number(t.absoluteValues[g].toFixed(this.FINAL_CONFIG.table.rounding)):"")}),i.push(l)}),{head:a,body:i}},dataTable(){const a=[""].concat(this.relativeDataset.map(l=>l.name)).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>');let i=[];for(let l=0;l<this.maxSeries;l+=1){const t=this.relativeDataset.map(m=>m.absoluteValues[l]??0).reduce((m,I)=>m+I,0);i.push([this.timeLabels[l]??"-"].concat(this.relativeDataset.map(m=>(m.absoluteValues[l]??0).toFixed(this.FINAL_CONFIG.table.rounding))).concat((t??0).toFixed(this.FINAL_CONFIG.table.rounding)))}const n={th:{backgroundColor:this.FINAL_CONFIG.table.th.backgroundColor,color:this.FINAL_CONFIG.table.th.color,outline:this.FINAL_CONFIG.table.th.outline},td:{backgroundColor:this.FINAL_CONFIG.table.td.backgroundColor,color:this.FINAL_CONFIG.table.td.color,outline:this.FINAL_CONFIG.table.td.outline},breakpoint:this.FINAL_CONFIG.table.responsiveBreakpoint},g=[this.FINAL_CONFIG.table.columnNames.period].concat(this.relativeDataset.map(l=>l.name)).concat(this.FINAL_CONFIG.table.columnNames.total);return{head:a,body:i,config:n,colNames:g}},dataTooltipSlot(){return{datapoint:this.selectedSeries,seriesIndex:this.selectedSerieIndex,series:this.absoluteDataset,bars:this.barSet,lines:this.lineSet,plots:this.plotSet,config:this.FINAL_CONFIG}},selectedSeries(){return this.relativeDataset.map(a=>({shape:a.shape||null,name:a.name,color:a.color,type:a.type,value:a.absoluteValues.find((i,n)=>n===this.selectedSerieIndex),comments:a.comments||[]}))},tooltipContent(){let a="",i=this.selectedSeries.map(l=>l.value).filter(l=>this.isSafeValue(l)&&l!==null).reduce((l,t)=>Math.abs(l)+Math.abs(t),0);const n=this.timeLabels[this.selectedSerieIndex],g=this.FINAL_CONFIG.chart.tooltip.customFormat;return this.isFunction(g)&&this.functionReturnsString(()=>g({seriesIndex:this.selectedSerieIndex,datapoint:this.selectedSeries,series:this.absoluteDataset,bars:this.barSet,lines:this.lineSet,plots:this.plotSet,config:this.FINAL_CONFIG}))?g({seriesIndex:this.selectedSerieIndex,datapoint:this.selectedSeries,series:this.absoluteDataset,bars:this.barSet,lines:this.lineSet,plots:this.plotSet,config:this.FINAL_CONFIG}):(n&&(a+=`<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${this.FINAL_CONFIG.chart.tooltip.borderColor}; width:100%">${n}</div>`),this.selectedSeries.forEach(l=>{if(this.isSafeValue(l.value)){let t="",m="";switch(this.icons[l.type]){case"bar":t=`<svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" rx="1" stroke="none" height="12" width="12" fill="${l.color}" /></svg>`;break;case"line":!l.shape||!["star","triangle","square","diamond","pentagon","hexagon"].includes(l.shape)?m=`<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${l.color}" />`:l.shape==="triangle"?m=`<path d="${d.createPolygonPath({plot:{x:10,y:8},radius:4,sides:3,rotation:.52}).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />`:l.shape==="square"?m=`<path d="${d.createPolygonPath({plot:{x:10,y:8},radius:4,sides:4,rotation:.8}).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />`:l.shape==="diamond"?m=`<path d="${d.createPolygonPath({plot:{x:10,y:8},radius:4,sides:4,rotation:0}).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />`:l.shape==="pentagon"?m=`<path d="${d.createPolygonPath({plot:{x:10,y:8},radius:4,sides:5,rotation:.95}).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />`:l.shape==="hexagon"?m=`<path d="${d.createPolygonPath({plot:{x:10,y:8},radius:4,sides:6,rotation:0}).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />`:l.shape==="star"&&(m=`<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${l.color}" points="${d.createStar({plot:{x:10,y:8},radius:4})}" />`),t=`<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="3" x="0" y="6" stroke="none" height="4" width="20" fill="${l.color}" />${m}</svg>`;break;case"plot":if(!l.shape||!["star","triangle","square","diamond","pentagon","hexagon"].includes(l.shape)){t=`<svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${l.color}" /></svg>`;break}if(l.shape==="star"){t=`<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${l.color}" points="${d.createStar({plot:{x:6,y:6},radius:5})}" /></svg>`;break}if(l.shape==="triangle"){t=`<svg viewBox="0 0 12 12" height="14" width="14"><path d="${d.createPolygonPath({plot:{x:6,y:6},radius:6,sides:3,rotation:.52}).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;break}if(l.shape==="square"){t=`<svg viewBox="0 0 12 12" height="14" width="14"><path d="${d.createPolygonPath({plot:{x:6,y:6},radius:6,sides:4,rotation:.8}).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;break}if(l.shape==="diamond"){t=`<svg viewBox="0 0 12 12" height="14" width="14"><path d="${d.createPolygonPath({plot:{x:6,y:6},radius:5,sides:4,rotation:0}).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;break}if(l.shape==="pentagon"){t=`<svg viewBox="0 0 12 12" height="14" width="14"><path d="${d.createPolygonPath({plot:{x:6,y:6},radius:5,sides:5,rotation:.95}).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;break}if(l.shape==="hexagon"){t=`<svg viewBox="0 0 12 12" height="14" width="14"><path d="${d.createPolygonPath({plot:{x:6,y:6},radius:5,sides:6,rotation:0}).path}" fill="${l.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;break}}a+=`<div style="display:flex;flex-direction:row; align-items:center;gap:3px;"><div style="width:20px">${t}</div> ${l.name}: <b>${this.FINAL_CONFIG.chart.tooltip.showValue?this.applyDataLabel(l.type==="line"?this.FINAL_CONFIG.line.labels.formatter:l.type==="bar"?this.FINAL_CONFIG.bar.labels.formatter:this.FINAL_CONFIG.plot.labels.formatter,l.value,this.dataLabel({p:this.FINAL_CONFIG.chart.labels.prefix,v:l.value,s:this.FINAL_CONFIG.chart.labels.suffix,r:this.FINAL_CONFIG.chart.tooltip.roundingValue}),{datapoint:l}):""}</b> ${this.FINAL_CONFIG.chart.tooltip.showPercentage?`(${d.dataLabel({v:this.checkNaN(Math.abs(l.value)/i*100),s:"%",r:this.FINAL_CONFIG.chart.tooltip.roundingPercentage})})`:""}</div>`,this.FINAL_CONFIG.chart.comments.showInTooltip&&l.comments.length&&l.comments.slice(this.slicer.start,this.slicer.end)[this.selectedSerieIndex]&&(a+=`<div class="vue-data-ui-tooltip-comment" style="background:${l.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${l.color}">${l.comments.slice(this.slicer.start,this.slicer.end)[this.selectedSerieIndex]}</div>`)}}),`<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${this.FINAL_CONFIG.chart.tooltip.color}">${a}</div>`)},svg(){return{height:this.height,width:this.width}},yLabels(){return this.niceScale.ticks.map(a=>({y:a>=0?this.zero-this.drawingArea.height*this.ratioToMax(a):this.zero+this.drawingArea.height*this.ratioToMax(Math.abs(a)),value:a}))},zero(){return this.drawingArea.bottom-this.drawingArea.height*this.ratioToMax(this.relativeZero)}},mounted(){if(this.objectIsEmpty(this.dataset)?this.error({componentName:"VueUiXy",type:"dataset"}):this.dataset.forEach((a,i)=>{[null,void 0].includes(a.name)&&this.error({componentName:"VueUiXy",type:"datasetSerieAttribute",property:"name (string)",index:i})}),this.FINAL_CONFIG.showWarnings&&this.dataset.forEach(a=>{a.series.forEach((i,n)=>{this.isSafeValue(i)||console.warn(`VueUiXy has detected an unsafe value in your dataset:
|
|
2
|
-
-----> The serie '${a.name}' contains the value '${i}' at index ${n}.
|
|
3
|
-
'${i}' was converted to null to allow the chart to display.`)})}),document.addEventListener("mousemove",a=>{this.clientPosition={x:a.clientX,y:a.clientY}}),this.mutableConfig={dataLabels:{show:!0},showTooltip:this.FINAL_CONFIG.chart.tooltip.show===!0,showTable:this.FINAL_CONFIG.showTable===!0,isStacked:this.FINAL_CONFIG.chart.grid.labels.yAxis.stacked,useIndividualScale:this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale},this.FINAL_CONFIG.responsive){const i=this.$refs.chart.parentNode,{height:n,width:g}=i.getBoundingClientRect();let l=null,t=0;this.FINAL_CONFIG.chart.title.show&&(l=this.$refs.chartTitle,t=l.getBoundingClientRect().height);let m=null,I=0;this.FINAL_CONFIG.chart.zoom.show&&this.maxX>6&&this.isDataset&&(m=this.$refs.chartSlicer.$el,I=m.getBoundingClientRect().height);let u=null,N=0;this.FINAL_CONFIG.chart.legend.show&&(u=this.$refs.chartLegend,N=u.getBoundingClientRect().height),this.height=n-t-N-I,this.width=g,this.viewBox=`0 0 ${this.width<0?10:this.width} ${this.height<0?10:this.height}`,this.convertSizes(),new ResizeObserver(x=>{for(const y of x)l&&(t=l.getBoundingClientRect().height),m&&(I=m.getBoundingClientRect().height),u&&(N=u.getBoundingClientRect().height),this.height=y.contentBoxSize[0].blockSize-t-N-I-24,this.width=y.contentBoxSize[0].inlineSize,this.viewBox=`0 0 ${this.width<0?10:this.width} ${this.height<0?10:this.height}`,this.convertSizes()}).observe(i)}else 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},methods:{abbreviate:d.abbreviate,adaptColorToBackground:d.adaptColorToBackground,applyDataLabel:d.applyDataLabel,assignStackRatios:d.assignStackRatios,calcLinearProgression:d.calcLinearProgression,calculateNiceScaleWithExactExtremes:d.calculateNiceScaleWithExactExtremes,checkNaN:d.checkNaN,closestDecimal:d.closestDecimal,convertColorToHex:d.convertColorToHex,convertConfigColors:d.convertConfigColors,convertCustomPalette:d.convertCustomPalette,createCsvContent:d.createCsvContent,createSmoothPath:d.createSmoothPath,createTSpans:d.createTSpans,dataLabel:d.dataLabel,downloadCsv:d.downloadCsv,error:d.error,functionReturnsString:d.functionReturnsString,hasDeepProperty:d.hasDeepProperty,img:v.saveAsImage,isFunction:d.isFunction,isSafeValue:d.isSafeValue,objectIsEmpty:d.objectIsEmpty,pdf:p.pdf,shiftHue:d.shiftHue,translateSize:d.translateSize,treeShake:d.treeShake,useMouse:G.useMouse,useNestedProp:B.useNestedProp,convertSizes(){this.fontSizes.dataLabels=this.translateSize({relator:this.height,adjuster:400,source:this.FINAL_CONFIG.chart.grid.labels.fontSize,threshold:10,fallback:10}),this.fontSizes.yAxis=this.translateSize({relator:this.width,adjuster:1e3,source:this.FINAL_CONFIG.chart.grid.labels.axis.fontSize,threshold:10,fallback:10}),this.fontSizes.xAxis=this.translateSize({relator:this.width,adjuster:1e3,source:this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.fontSize,threshold:10,fallback:10}),this.fontSizes.plotLabels=this.translateSize({relator:this.width,adjuster:800,source:this.FINAL_CONFIG.chart.labels.fontSize,threshold:10,fallback:10}),this.plotRadii.plot=this.translateSize({relator:this.width,adjuster:800,source:this.FINAL_CONFIG.plot.radius,threshold:1,fallback:1}),this.plotRadii.line=this.translateSize({relator:this.width,adjuster:800,source:this.FINAL_CONFIG.line.radius,threshold:1,fallback:1})},toggleStack(){this.mutableConfig.isStacked=!this.mutableConfig.isStacked,this.mutableConfig.isStacked?this.mutableConfig.useIndividualScale=!0:this.mutableConfig.useIndividualScale=this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale},toggleTable(){this.mutableConfig.showTable=!this.mutableConfig.showTable},toggleLabels(){this.mutableConfig.dataLabels.show=!this.mutableConfig.dataLabels.show},toggleTooltip(){this.mutableConfig.showTooltip=!this.mutableConfig.showTooltip},checkAutoScaleError(a){a.autoScaling&&(this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale||console.warn(`VueUiXy (datapoint: ${a.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: ${a.name}) : autoScaling only works when config.chart.grid.labels.yAxis.stacked is set to true`))},createArea(a){if(!a[0])return[-10,-10,"",-10,-10];const i={x:a[0].x,y:this.zero},n={x:a.at(-1).x,y:this.zero},g=[];return a.forEach(l=>{g.push(`${l.x},${l.y} `)}),[i.x,i.y,...g,n.x,n.y].toString()},createIndividualArea(a,i){if(!a[0])return[-10,-10,"",-10,-10];const n={x:a[0]?a[0].x:Math.min(...a.filter(t=>!!t).map(t=>t.x)),y:i},g={x:a.at(-1)?a.at(-1).x:Math.min(...a.filter(t=>!!t).map(t=>t.x)),y:i},l=[];return a.filter(t=>!!t).forEach(t=>{l.push(`${t.x},${t.y} `)}),[n.x,n.y,...l,g.x,g.y].toString()},createStar:d.createStar,createPolygonPath:d.createPolygonPath,fillArray(a,i){let n=Array(a).fill(0);for(let g=0;g<i.length&&g<a;g+=1)n[g]=i[g];return n},refreshSlicer(){this.slicer={start:0,end:Math.max(...this.dataset.map(a=>a.series.length))},this.slicerStep+=1},calcRectHeight(a){return a.value>=0?this.zero-a.y<=0?1e-5:this.zero-a.y:a.y-this.zero<=0?1e-5:a.y-this.zero},calcIndividualHeight(a){return a.value>=0?a.zeroPosition-a.y<=0?1e-5:a.zeroPosition-a.y:a.y-a.zeroPosition<=0?1e-5:a.zeroPosition-a.y},calcRectWidth(){return this.mutableConfig.useIndividualScale&&this.mutableConfig.isStacked?this.slot.line-this.drawingArea.width/this.maxSeries*.1:this.slot.bar},calcRectX(a){return this.mutableConfig.useIndividualScale&&this.mutableConfig.isStacked?a.x+this.drawingArea.width/this.maxSeries*.05:a.x+this.slot.bar/2},calcRectY(a){return a.value>=0?a.y:this.zero},calcIndividualRectY(a){return a.value>=0?a.y:a.zeroPosition},canShowValue(a){return![null,void 0,NaN].includes(a)},findClosestValue(a,i){let n=i[0],g=Math.abs(a-i[0]);for(let l=1;l<i.length;l+=1){const t=Math.abs(a-i[l]);t<g&&i[l]<a&&(n=i[l],g=t)}return n},ratioToMax(a){return a/this.absoluteMax},selectX(a){this.$emit("selectX",{dataset:this.relativeDataset.map(i=>({name:i.name,value:[null,void 0,NaN].includes(i.absoluteValues[a])?null:i.absoluteValues[a],color:i.color,type:i.type})),index:a,indexLabel:this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[a]})},getData(){return this.absoluteDataset.map(a=>({values:a.absoluteValues,color:a.color,name:a.name,type:a.type}))},segregate(a){if(this.segregatedSeries.includes(a.id))this.segregatedSeries=this.segregatedSeries.filter(i=>i!==a.id);else{if(this.segregatedSeries.length+1===this.safeDataset.length)return;this.segregatedSeries.push(a.id)}this.$emit("selectLegend",this.relativeDataset.map(i=>({name:i.name,values:i.absoluteValues,color:i.color,type:i.type}))),this.segregateStep+=1},toggleTooltipVisibility(a,i=null){this.isTooltip=a,a?this.selectedSerieIndex=i:this.selectedSerieIndex=null},toggleFullscreen(a){this.isFullscreen=a,this.step+=1},showSpinnerPdf(){this.isPrinting=!0},generatePdf(){this.showSpinnerPdf(),clearTimeout(this.__to__),this.__to__=setTimeout(()=>{this.pdf({domElement:document.getElementById(`vue-ui-xy_${this.uniqueId}`),fileName:this.FINAL_CONFIG.chart.title.text||"vue-ui-xy"}).finally(()=>{this.isPrinting=!1})},100)},generateCsv(){const a=[[this.FINAL_CONFIG.chart.title.text],[this.FINAL_CONFIG.chart.title.subtitle.text],[""]],i=["",...this.table.head.map(t=>t.label)],n=this.table.body,g=a.concat([i]).concat(n),l=this.createCsvContent(g);this.downloadCsv({csvContent:l,title:this.FINAL_CONFIG.chart.title.text||"vue-ui-xy"})},showSpinnerImage(){this.isImaging=!0},generateImage(){this.showSpinnerImage(),clearTimeout(this.__to__),this.__to__=setTimeout(()=>{this.img({domElement:document.getElementById(`vue-ui-xy_${this.uniqueId}`),fileName:this.FINAL_CONFIG.chart.title.text||"vue-ui-xy",format:"png"}).finally(()=>{this.isImaging=!1})},100)}}},Y=["id"],X=["viewBox"],U={key:0},Z={class:"vue-ui-xy-grid"},J=["stroke","x1","x2","y1","y2"],K=["stroke","x1","x2","y1","y2"],Q={key:1},j=["x1","x2","y1","y2","stroke"],$=["x1","x2","y1","y2","stroke"],ee=["x1","x2","y1","y2","stroke"],te={key:3},le=["x1","x2","y1","y2","stroke"],re=["id"],ae=["stop-color"],ie=["stop-color"],se=["stop-color"],oe=["id"],ne=["stop-color"],ce=["stop-color"],he=["stop-color"],de=["id"],ue=["stop-color"],ge=["stop-color"],me=["id"],fe=["stop-color"],Ne=["stop-color"],ke=["id"],be=["stop-color"],Ie=["stop-color"],Fe=["x","y","height","width","fill"],xe=["x","y","width"],ye=["x","y","height","width","fill"],_e=["x","y","height","width","rx","fill","stroke","stroke-width"],Ce=["width","x","y"],Se={key:0},Ae=["id"],Le=["fill"],we=["x1","x2","y1","y2","stroke","marker-end"],Oe=["x","y","font-size","fill"],ve=["stroke","x1","x2","y1","y2"],Ge={key:2},Be=["x1","x2","y1","y2","stroke","stroke-width","stroke-dasharray"],pe=["y","width","height","fill"],Ee=["x","y","width","height","fill"],ze=["x","y","width","height","stroke","stroke-width","stroke-linecap","stroke-linejoin","stroke-dasharray"],Ve={key:4},Pe=["x1","x2","y1","y2","stroke","stroke-width"],Me=["fill","font-size","transform"],Te=["x1","x2","y1","y2","stroke"],De=["x","y","font-size","fill"],Re=["x1","x2","y1","y2","stroke"],He=["x","y","font-size","fill"],We=["width","x","y"],qe={style:{width:"100%"}},Ye={key:0},Xe=["id"],Ue=["fill"],Ze=["x1","x2","y1","y2","stroke","marker-end"],Je=["x","y","font-size","fill"],Ke=["d","stroke","stroke-width","stroke-dasharray"],Qe={key:1},je=["x1","x2","y1","y2","stroke","stroke-width","stroke-dasharray"],$e={key:0},et=["d","fill"],tt=["d","fill"],lt=["d","stroke","stroke-width","stroke-dasharray"],rt={key:2},at=["x1","x2","y1","y2","stroke","stroke-width","stroke-dasharray"],it=["width","x","y"],st={style:{width:"100%"}},ot={key:3},nt=["id"],ct=["fill"],ht=["x1","x2","y1","y2","stroke","marker-end"],dt=["x","y","font-size","fill"],ut={key:5},gt=["x","y","font-size","fill"],mt=["x","y","font-size","fill","font-weight"],ft={key:6},Nt=["x","y","font-size","fill"],kt=["x","y"],bt=["x","y"],It={key:7},Ft=["x","y","font-size","fill"],xt=["x","y"],yt=["x","y"],_t=["x","y","font-size","fill","innerHTML"],Ct=["x","y","font-size","fill","innerHTML"],St=["x","y","font-size","fill","innerHTML"],At=["x","y","font-size","fill","innerHTML"],Lt=["x","y","width","height","fill","onMouseenter"],wt=["font-size","fill","transform"],Ot=["x","y","font-size","fill"],vt={key:9},Gt=["text-anchor","font-size","fill","transform"],Bt=["x","y","height","width","onMouseenter","onClick"],pt={key:10},Et=["x","y"],zt=["cx","cy","r","fill"],Vt={key:3,class:"vue-data-ui-watermark"},Pt=["onClick"],Mt={key:0,viewBox:"0 0 20 12",height:"14",width:"20"},Tt=["fill"],Dt={key:1,viewBox:"0 0 12 12",height:"14",width:"14"},Rt=["fill"],Ht={key:7,ref:"chartLegend"},Wt={style:{display:"flex","flex-direction":"row",gap:"6px","align-items":"center","padding-left":"6px"},"data-html2canvas-ignore":""},qt=["innerHTML"];function Yt(a,i,n,g,l,t){const m=e.resolveComponent("Title"),I=e.resolveComponent("UserOptions"),u=e.resolveComponent("Shape"),N=e.resolveComponent("Skeleton"),S=e.resolveComponent("Slicer"),x=e.resolveComponent("Tooltip"),y=e.resolveComponent("BaseIcon"),C=e.resolveComponent("TableSparkline"),f=e.resolveComponent("DataTable"),F=e.resolveComponent("Accordion");return e.openBlock(),e.createElementBlock("div",{id:`vue-ui-xy_${l.uniqueId}`,class:e.normalizeClass(`vue-ui-xy ${l.isFullscreen?"vue-data-ui-wrapper-fullscreen":""} ${t.FINAL_CONFIG.useCssAnimation?"":"vue-ui-dna"}`),ref:"chart",style:e.normalizeStyle(`background:${t.FINAL_CONFIG.chart.backgroundColor}; color:${t.FINAL_CONFIG.chart.color};width:100%;${t.FINAL_CONFIG.chart.title.text?"":"padding-top:36px"};font-family:${t.FINAL_CONFIG.chart.fontFamily};${t.FINAL_CONFIG.responsive?"height: 100%":""}`)},[t.FINAL_CONFIG.chart.title.show?(e.openBlock(),e.createElementBlock("div",{key:0,ref:"chartTitle",class:"vue-ui-xy-title",style:e.normalizeStyle(`font-family:${t.FINAL_CONFIG.chart.fontFamily}`)},[e.createVNode(m,{config:{title:{cy:"xy-div-title",...t.FINAL_CONFIG.chart.title},subtitle:{cy:"xy-div-subtitle",...t.FINAL_CONFIG.chart.title.subtitle}}},null,8,["config"])],4)):e.createCommentVNode("",!0),t.FINAL_CONFIG.chart.userOptions.show&&t.isDataset?(e.openBlock(),e.createBlock(I,{ref:"defails",key:`user_options_${l.step}`,backgroundColor:t.FINAL_CONFIG.chart.backgroundColor,color:t.FINAL_CONFIG.chart.color,isPrinting:l.isPrinting,isImaging:l.isImaging,uid:l.uniqueId,hasTooltip:t.FINAL_CONFIG.chart.userOptions.buttons.tooltip&&t.FINAL_CONFIG.chart.tooltip.show,hasPdf:t.FINAL_CONFIG.chart.userOptions.buttons.pdf,hasXls:t.FINAL_CONFIG.chart.userOptions.buttons.csv,hasImg:t.FINAL_CONFIG.chart.userOptions.buttons.img,hasLabel:t.FINAL_CONFIG.chart.userOptions.buttons.labels,hasTable:t.FINAL_CONFIG.chart.userOptions.buttons.table,hasStack:n.dataset.length>1&&t.FINAL_CONFIG.chart.userOptions.buttons.stack,hasFullscreen:t.FINAL_CONFIG.chart.userOptions.buttons.fullscreen,isStacked:l.mutableConfig.isStacked,isFullscreen:l.isFullscreen,chartElement:a.$refs.chart,isTooltip:l.mutableConfig.showTooltip,titles:{...t.FINAL_CONFIG.chart.userOptions.buttonTitles},onToggleFullscreen:t.toggleFullscreen,onGeneratePdf:t.generatePdf,onGenerateCsv:t.generateCsv,onGenerateImage:t.generateImage,onToggleTable:t.toggleTable,onToggleLabels:t.toggleLabels,onToggleStack:t.toggleStack,onToggleTooltip:t.toggleTooltip},e.createSlots({_:2},[a.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionTooltip",{},void 0,!0)]),key:"0"}:void 0,a.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,a.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,a.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,a.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,a.$slots.optionLabels?{name:"optionLabels",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionLabels",{},void 0,!0)]),key:"5"}:void 0,a.$slots.optionStack?{name:"optionStack",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionStack",{},void 0,!0)]),key:"6"}:void 0,a.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:r,isFullscreen:o})=>[e.renderSlot(a.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:r,isFullscreen:o})),void 0,!0)]),key:"7"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasXls","hasImg","hasLabel","hasTable","hasStack","hasFullscreen","isStacked","isFullscreen","chartElement","isTooltip","titles","onToggleFullscreen","onGeneratePdf","onGenerateCsv","onGenerateImage","onToggleTable","onToggleLabels","onToggleStack","onToggleTooltip"])):e.createCommentVNode("",!0),t.isDataset?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:"http://www.w3.org/2000/svg",class:e.normalizeClass([{"vue-data-ui-fullscreen--on":l.isFullscreen,"vue-data-ui-fulscreen--off":!l.isFullscreen},"vue-ui-xy-svg"]),width:"100%",viewBox:l.viewBox,style:e.normalizeStyle(`background:${t.FINAL_CONFIG.chart.backgroundColor}; color:${t.FINAL_CONFIG.chart.color}; font-family:${t.FINAL_CONFIG.chart.fontFamily}`)},[t.maxSeries>0?(e.openBlock(),e.createElementBlock("g",U,[e.createElementVNode("g",Z,[t.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline?(e.openBlock(),e.createElementBlock("line",{key:0,stroke:t.FINAL_CONFIG.chart.grid.stroke,"stroke-width":"1",x1:t.drawingArea.left+t.xPadding,x2:t.drawingArea.right-t.xPadding,y1:t.drawingArea.bottom,y2:t.drawingArea.bottom,"stroke-linecap":"round"},null,8,J)):e.createCommentVNode("",!0),l.mutableConfig.useIndividualScale?t.FINAL_CONFIG.chart.grid.showHorizontalLines?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:2},e.renderList(t.allScales,r=>(e.openBlock(),e.createElementBlock("g",null,[r.id===l.selectedScale&&r.yLabels.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(r.yLabels,o=>(e.openBlock(),e.createElementBlock("line",{x1:t.drawingArea.left+t.xPadding,x2:t.drawingArea.right-t.xPadding,y1:o.y,y2:o.y,stroke:r.color,"stroke-width":.5,"stroke-linecap":"round"},null,8,$))),256)):r.yLabels.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(r.yLabels,o=>(e.openBlock(),e.createElementBlock("line",{x1:t.drawingArea.left+t.xPadding,x2:t.drawingArea.right-t.xPadding,y1:o.y,y2:o.y,stroke:t.FINAL_CONFIG.chart.grid.stroke,"stroke-width":.5,"stroke-linecap":"round"},null,8,ee))),256)):e.createCommentVNode("",!0)]))),256)):e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline?(e.openBlock(),e.createElementBlock("line",{key:0,stroke:t.FINAL_CONFIG.chart.grid.stroke,"stroke-width":"1",x1:t.drawingArea.left+t.xPadding,x2:t.drawingArea.left+t.xPadding,y1:t.drawingArea.top,y2:t.drawingArea.bottom,"stroke-linecap":"round"},null,8,K)):e.createCommentVNode("",!0),t.FINAL_CONFIG.chart.grid.showHorizontalLines?(e.openBlock(),e.createElementBlock("g",Q,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.yLabels,r=>(e.openBlock(),e.createElementBlock("line",{x1:t.drawingArea.left+t.xPadding,x2:t.drawingArea.right-t.xPadding,y1:r.y,y2:r.y,stroke:t.FINAL_CONFIG.chart.grid.stroke,"stroke-width":.5,"stroke-linecap":"round"},null,8,j))),256))])):e.createCommentVNode("",!0)],64)),t.FINAL_CONFIG.chart.grid.showVerticalLines?(e.openBlock(),e.createElementBlock("g",te,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.maxSeries+(t.FINAL_CONFIG.chart.grid.position==="middle"?1:0),(r,o)=>(e.openBlock(),e.createElementBlock("line",{key:`grid_vertical_line_${o}`,x1:t.drawingArea.width/t.maxSeries*o+t.drawingArea.left+t.xPadding,x2:t.drawingArea.width/t.maxSeries*o+t.drawingArea.left+t.xPadding,y1:t.drawingArea.top,y2:t.drawingArea.bottom,"stroke-width":"0.5",stroke:t.FINAL_CONFIG.chart.grid.stroke},null,8,le))),128))])):e.createCommentVNode("",!0)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.barSet,(r,o)=>(e.openBlock(),e.createElementBlock("defs",{key:`def_rect_${o}`},[e.createElementVNode("linearGradient",{id:`rectGradient_pos_${o}_${l.uniqueId}`,x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":r.color},null,8,ae),e.createElementVNode("stop",{offset:"62%","stop-color":`${t.shiftHue(r.color,.02)}DE`},null,8,ie),e.createElementVNode("stop",{offset:"100%","stop-color":`${t.shiftHue(r.color,.05)}66`},null,8,se)],8,re),e.createElementVNode("linearGradient",{id:`rectGradient_neg_${o}_${l.uniqueId}`,x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${t.shiftHue(r.color,.05)}66`},null,8,ne),e.createElementVNode("stop",{offset:"38%","stop-color":`${t.shiftHue(r.color,.02)}DE`},null,8,ce),e.createElementVNode("stop",{offset:"100%","stop-color":r.color},null,8,he)],8,oe)]))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.plotSet,(r,o)=>(e.openBlock(),e.createElementBlock("defs",{key:`def_plot_${o}`},[e.createElementVNode("radialGradient",{id:`plotGradient_${o}_${l.uniqueId}`,cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${t.shiftHue(r.color,.05)}`},null,8,ue),e.createElementVNode("stop",{offset:"100%","stop-color":r.color},null,8,ge)],8,de)]))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.lineSet,(r,o)=>(e.openBlock(),e.createElementBlock("defs",{key:`def_line_${o}`},[e.createElementVNode("radialGradient",{id:`lineGradient_${o}_${l.uniqueId}`,cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${t.shiftHue(r.color,.05)}`},null,8,fe),e.createElementVNode("stop",{offset:"100%","stop-color":r.color},null,8,Ne)],8,me),e.createElementVNode("linearGradient",{id:`areaGradient_${o}_${l.uniqueId}`,x1:"0%",x2:"100%",y1:"0%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${t.shiftHue(r.color,.03)}${l.opacity[t.FINAL_CONFIG.line.area.opacity]}`},null,8,be),e.createElementVNode("stop",{offset:"100%","stop-color":`${r.color}${l.opacity[t.FINAL_CONFIG.line.area.opacity]}`},null,8,Ie)],8,ke)]))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.highlightAreas,r=>(e.openBlock(),e.createElementBlock("g",null,[r.show?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("rect",{x:t.drawingArea.left+t.drawingArea.width/t.maxSeries*(r.from-l.slicer.start),y:t.drawingArea.top,height:t.drawingArea.height<0?10:t.drawingArea.height,width:t.drawingArea.width/t.maxSeries*r.span<0?1e-5:t.drawingArea.width/t.maxSeries*r.span,fill:`${r.color}${l.opacity[r.opacity]}`},null,8,Fe),r.caption.text?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:t.drawingArea.left+t.drawingArea.width/t.maxSeries*(r.from-l.slicer.start)-(r.caption.width==="auto"?0:r.caption.width/2-t.drawingArea.width/t.maxSeries*r.span/2),y:t.drawingArea.top+r.caption.offsetY,style:{overflow:"visible"},height:"1",width:r.caption.width==="auto"?t.drawingArea.width/t.maxSeries*r.span:r.caption.width},[e.createElementVNode("div",{style:e.normalizeStyle(`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"}`)},e.toDisplayString(r.caption.text),5)],8,xe)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)]))),256)),e.createElementVNode("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.maxSeries,(r,o)=>(e.openBlock(),e.createElementBlock("g",{key:`tooltip_trap_${o}`},[e.createElementVNode("rect",{x:t.drawingArea.left+t.drawingArea.width/t.maxSeries*o,y:t.drawingArea.top,height:t.drawingArea.height<0?10:t.drawingArea.height,width:t.drawingArea.width/t.maxSeries<0?1e-5:t.drawingArea.width/t.maxSeries,fill:l.selectedSerieIndex===o||l.selectedRowIndex===o?`${t.FINAL_CONFIG.chart.highlighter.color}${l.opacity[t.FINAL_CONFIG.chart.highlighter.opacity]}`:"transparent"},null,8,ye)]))),128))]),t.barSet.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.barSet,(r,o)=>(e.openBlock(),e.createElementBlock("g",{key:`serie_bar_${o}`,class:e.normalizeClass(`serie_bar_${o}`),style:e.normalizeStyle(`opacity:${l.selectedScale?l.selectedScale===r.id?1:.2:1};transition:opacity 0.2s ease-in-out`)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.plots,(s,h)=>(e.openBlock(),e.createElementBlock("g",{key:`bar_plot_${o}_${h}`},[t.canShowValue(s.value)?(e.openBlock(),e.createElementBlock("rect",{key:0,x:t.calcRectX(s),y:l.mutableConfig.useIndividualScale?t.calcIndividualRectY(s):t.calcRectY(s),height:l.mutableConfig.useIndividualScale?Math.abs(t.calcIndividualHeight(s)):Math.abs(t.calcRectHeight(s)),width:t.calcRectWidth()-(l.mutableConfig.useIndividualScale&&l.mutableConfig.isStacked?0:t.barPeriodGap)<0?1e-5:t.calcRectWidth()-(l.mutableConfig.useIndividualScale&&l.mutableConfig.isStacked?0:t.barPeriodGap),rx:t.FINAL_CONFIG.bar.borderRadius,fill:t.FINAL_CONFIG.bar.useGradient?s.value>=0?`url(#rectGradient_pos_${o}_${l.uniqueId})`:`url(#rectGradient_neg_${o}_${l.uniqueId})`:r.color,stroke:t.FINAL_CONFIG.bar.border.useSerieColor?r.color:t.FINAL_CONFIG.bar.border.stroke,"stroke-width":t.FINAL_CONFIG.bar.border.strokeWidth},null,8,_e)):e.createCommentVNode("",!0),s.comment&&t.FINAL_CONFIG.chart.comments.show?(e.openBlock(),e.createElementBlock("foreignObject",{key:1,style:{overflow:"visible"},height:"12",width:(t.calcRectWidth()-(l.mutableConfig.useIndividualScale&&l.mutableConfig.isStacked?0:t.barPeriodGap)<0?1e-5:t.calcRectWidth()-(l.mutableConfig.useIndividualScale&&l.mutableConfig.isStacked?0:t.barPeriodGap)/2)+t.FINAL_CONFIG.chart.comments.width,x:t.calcRectX(s)-t.FINAL_CONFIG.chart.comments.width/2+t.FINAL_CONFIG.chart.comments.offsetX,y:s.y+t.FINAL_CONFIG.chart.comments.offsetY+6},[e.renderSlot(a.$slots,"plot-comment",{plot:{...s,color:r.color}},void 0,!0)],8,Ce)):e.createCommentVNode("",!0)]))),128)),Object.hasOwn(r,"useProgression")&&r.useProgression===!0&&!isNaN(t.calcLinearProgression(r.plots).trend)?(e.openBlock(),e.createElementBlock("g",Se,[e.createElementVNode("defs",null,[e.createElementVNode("marker",{id:`bar_arrow_${o}`,markerWidth:7,markerHeight:7,refX:"0",refY:7/2,orient:"auto"},[e.createElementVNode("polygon",{points:`0 0, 7 ${7/2}, 0 7`,fill:r.color},null,8,Le)],8,Ae)]),r.plots.length>1?(e.openBlock(),e.createElementBlock("line",{key:0,x1:t.calcLinearProgression(r.plots).x1,x2:t.calcLinearProgression(r.plots).x2,y1:t.calcLinearProgression(r.plots).y1,y2:t.calcLinearProgression(r.plots).y2,"stroke-width":1,stroke:r.color,"stroke-dasharray":2,"marker-end":`url(#bar_arrow_${o})`},null,8,we)):e.createCommentVNode("",!0),r.plots.length>1?(e.openBlock(),e.createElementBlock("text",{key:1,"text-anchor":"middle",x:t.calcLinearProgression(r.plots).x2,y:t.calcLinearProgression(r.plots).y2-6,"font-size":l.fontSizes.plotLabels,fill:r.color},e.toDisplayString(t.dataLabel({v:t.calcLinearProgression(r.plots).trend*100,s:"%",r:2})),9,Oe)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],6))),128)):e.createCommentVNode("",!0),!l.mutableConfig.useIndividualScale&&t.FINAL_CONFIG.chart.grid.labels.zeroLine.show?(e.openBlock(),e.createElementBlock("line",{key:1,stroke:t.FINAL_CONFIG.chart.grid.stroke,"stroke-width":"1",x1:t.drawingArea.left+t.xPadding,x2:t.drawingArea.right-t.xPadding,y1:t.zero,y2:t.zero,"stroke-linecap":"round"},null,8,ve)):e.createCommentVNode("",!0),t.FINAL_CONFIG.chart.highlighter.useLine&&![null,void 0].includes(l.selectedSerieIndex)?(e.openBlock(),e.createElementBlock("g",Ge,[e.createElementVNode("line",{x1:t.drawingArea.left+t.drawingArea.width/t.maxSeries*l.selectedSerieIndex+t.drawingArea.width/t.maxSeries/2,x2:t.drawingArea.left+t.drawingArea.width/t.maxSeries*l.selectedSerieIndex+t.drawingArea.width/t.maxSeries/2,y1:t.drawingArea.top,y2:t.drawingArea.bottom,stroke:t.FINAL_CONFIG.chart.highlighter.color,"stroke-width":t.FINAL_CONFIG.chart.highlighter.lineWidth,"stroke-dasharray":t.FINAL_CONFIG.chart.highlighter.lineDasharray,"stroke-linecap":"round",style:{transition:"none !important",animation:"none !important","pointer-events":"none"}},null,8,Be)])):e.createCommentVNode("",!0),e.createElementVNode("g",null,[e.createElementVNode("rect",{x:0,y:t.drawingArea.top,width:t.FINAL_CONFIG.chart.padding.left-1+t.xPadding,height:t.drawingArea.height<0?10:t.drawingArea.height,fill:t.FINAL_CONFIG.chart.backgroundColor},null,8,pe),e.createElementVNode("rect",{x:t.drawingArea.right+1-t.xPadding,y:t.drawingArea.top,width:t.FINAL_CONFIG.chart.padding.right-1+t.xPadding,height:t.drawingArea.height<0?10:t.drawingArea.height,fill:t.FINAL_CONFIG.chart.backgroundColor},null,8,Ee)]),t.FINAL_CONFIG.chart.grid.frame.show?(e.openBlock(),e.createElementBlock("rect",{key:3,style:{pointerEvents:"none"},x:t.drawingArea.left+t.xPadding,y:t.drawingArea.top,width:t.drawingArea.width-(t.FINAL_CONFIG.chart.grid.position==="middle"?0:t.drawingArea.width/t.maxSeries),height:t.drawingArea.height,fill:"transparent",stroke:t.FINAL_CONFIG.chart.grid.frame.stroke,"stroke-width":t.FINAL_CONFIG.chart.grid.frame.strokeWidth,"stroke-linecap":t.FINAL_CONFIG.chart.grid.frame.strokeLinecap,"stroke-linejoin":t.FINAL_CONFIG.chart.grid.frame.strokeLinejoin,"stroke-dasharray":t.FINAL_CONFIG.chart.grid.frame.strokeDasharray},null,8,ze)):e.createCommentVNode("",!0),t.FINAL_CONFIG.chart.grid.labels.show?(e.openBlock(),e.createElementBlock("g",Ve,[l.mutableConfig.useIndividualScale?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.allScales,r=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("line",{x1:r.x+t.xPadding,x2:r.x+t.xPadding,y1:l.mutableConfig.isStacked?t.drawingArea.bottom-r.yOffset-r.individualHeight:t.drawingArea.top,y2:l.mutableConfig.isStacked?t.drawingArea.bottom-r.yOffset:t.drawingArea.bottom,stroke:r.color,"stroke-width":t.FINAL_CONFIG.chart.grid.stroke,"stroke-linecap":"round",style:e.normalizeStyle(`opacity:${l.selectedScale?l.selectedScale===r.id?1:.3:1};transition:opacity 0.2s ease-in-out`)},null,12,Pe)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.allScales,r=>(e.openBlock(),e.createElementBlock("g",{style:e.normalizeStyle(`opacity:${l.selectedScale?l.selectedScale===r.id?1:.3:1};transition:opacity 0.2s ease-in-out`)},[e.createElementVNode("text",{fill:r.color,"font-size":l.fontSizes.dataLabels,"text-anchor":"middle",transform:`translate(${r.x-t.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth+5}, ${l.mutableConfig.isStacked?t.drawingArea.bottom-r.yOffset-r.individualHeight/2:t.drawingArea.top+t.drawingArea.height/2}) rotate(-90)`},e.toDisplayString(r.name)+" "+e.toDisplayString(r.scaleLabel?`- ${r.scaleLabel}`:""),9,Me),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.yLabels,(o,s)=>(e.openBlock(),e.createElementBlock("line",{x1:r.x-3+t.xPadding,x2:r.x+t.xPadding,y1:o.y,y2:o.y,stroke:r.color,"stroke-width":1,"stroke-linecap":"round"},null,8,Te))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.yLabels,(o,s)=>(e.openBlock(),e.createElementBlock("text",{x:r.x-5+t.xPadding,y:o.y+t.xPadding,"font-size":l.fontSizes.dataLabels,"text-anchor":"end",fill:r.color},e.toDisplayString(t.applyDataLabel(t.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,o.value,t.dataLabel({p:t.FINAL_CONFIG.chart.labels.prefix,v:o.value,s:t.FINAL_CONFIG.chart.labels.suffix,r:1}))),9,De))),256))],4))),256))],64)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.yLabels,(r,o)=>(e.openBlock(),e.createElementBlock("g",{key:`yLabel_${o}`},[t.canShowValue(r)&&r.value>=t.niceScale.min&&r.value<=t.niceScale.max?(e.openBlock(),e.createElementBlock("line",{key:0,x1:t.drawingArea.left+t.xPadding,x2:t.drawingArea.left-5+t.xPadding,y1:r.y,y2:r.y,stroke:t.FINAL_CONFIG.chart.grid.stroke,"stroke-width":"1","stroke-linecap":"round"},null,8,Re)):e.createCommentVNode("",!0),r.value>=t.niceScale.min&&r.value<=t.niceScale.max?(e.openBlock(),e.createElementBlock("text",{key:1,x:t.drawingArea.left-7+t.xPadding,y:r.y+l.fontSizes.dataLabels/3,"font-size":l.fontSizes.dataLabels,"text-anchor":"end",fill:t.FINAL_CONFIG.chart.grid.labels.color},e.toDisplayString(t.canShowValue(r.value)?t.applyDataLabel(t.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,r.value,t.dataLabel({p:t.FINAL_CONFIG.chart.labels.prefix,v:r.value,s:t.FINAL_CONFIG.chart.labels.suffix,r:1})):""),9,He)):e.createCommentVNode("",!0)]))),128))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.plotSet,(r,o)=>(e.openBlock(),e.createElementBlock("g",{key:`serie_plot_${o}`,class:e.normalizeClass(`serie_plot_${o}`),style:e.normalizeStyle(`opacity:${l.selectedScale?l.selectedScale===r.id?1:.2:1};transition:opacity 0.2s ease-in-out`)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.plots,(s,h)=>(e.openBlock(),e.createElementBlock("g",{key:`circle_plot_${o}_${h}`},[t.canShowValue(s.value)?(e.openBlock(),e.createBlock(u,{key:0,shape:["triangle","square","diamond","pentagon","hexagon","star"].includes(r.shape)?r.shape:"circle",color:t.FINAL_CONFIG.plot.useGradient?`url(#plotGradient_${o}_${l.uniqueId})`:r.color,plot:{x:s.x,y:s.y},radius:l.selectedSerieIndex!==null&&l.selectedSerieIndex===h?(l.plotRadii.plot||6)*1.5:l.plotRadii.plot||6,stroke:t.FINAL_CONFIG.chart.backgroundColor,strokeWidth:.5},null,8,["shape","color","plot","radius","stroke"])):e.createCommentVNode("",!0),s.comment&&t.FINAL_CONFIG.chart.comments.show?(e.openBlock(),e.createElementBlock("foreignObject",{key:1,style:{overflow:"visible"},height:"12",width:t.FINAL_CONFIG.chart.comments.width,x:s.x-t.FINAL_CONFIG.chart.comments.width/2+t.FINAL_CONFIG.chart.comments.offsetX,y:s.y+t.FINAL_CONFIG.chart.comments.offsetY+6},[e.createElementVNode("div",qe,[e.renderSlot(a.$slots,"plot-comment",{plot:{...s,color:r.color}},void 0,!0)])],8,We)):e.createCommentVNode("",!0)]))),128)),Object.hasOwn(r,"useProgression")&&r.useProgression===!0&&!isNaN(t.calcLinearProgression(r.plots).trend)?(e.openBlock(),e.createElementBlock("g",Ye,[e.createElementVNode("defs",null,[e.createElementVNode("marker",{id:`plot_arrow_${o}`,markerWidth:7,markerHeight:7,refX:"0",refY:7/2,orient:"auto"},[e.createElementVNode("polygon",{points:`0 0, 7 ${7/2}, 0 7`,fill:r.color},null,8,Ue)],8,Xe)]),r.plots.length>1?(e.openBlock(),e.createElementBlock("line",{key:0,x1:t.calcLinearProgression(r.plots).x1,x2:t.calcLinearProgression(r.plots).x2,y1:t.calcLinearProgression(r.plots).y1,y2:t.calcLinearProgression(r.plots).y2,"stroke-width":1,stroke:r.color,"stroke-dasharray":2,"marker-end":`url(#plot_arrow_${o})`},null,8,Ze)):e.createCommentVNode("",!0),r.plots.length>1?(e.openBlock(),e.createElementBlock("text",{key:1,"text-anchor":"middle",x:t.calcLinearProgression(r.plots).x2,y:t.calcLinearProgression(r.plots).y2-6,"font-size":l.fontSizes.plotLabels,fill:r.color},e.toDisplayString(t.dataLabel({v:t.calcLinearProgression(r.plots).trend*100,s:"%",r:2})),9,Je)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],6))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.lineSet,(r,o)=>(e.openBlock(),e.createElementBlock("g",{key:`serie_line_${o}`,class:e.normalizeClass(`serie_line_${o}`),style:e.normalizeStyle(`opacity:${l.selectedScale?l.selectedScale===r.id?1:.2:1};transition:opacity 0.2s ease-in-out`)},[r.smooth&&r.plots.length>1?(e.openBlock(),e.createElementBlock("path",{key:0,d:`M${r.curve}`,stroke:t.FINAL_CONFIG.chart.backgroundColor,"stroke-width":t.FINAL_CONFIG.line.strokeWidth+1,"stroke-dasharray":r.dashed?t.FINAL_CONFIG.line.strokeWidth*2:0,fill:"none"},null,8,Ke)):r.plots.length>1?(e.openBlock(),e.createElementBlock("g",Qe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.plots,(s,h)=>(e.openBlock(),e.createElementBlock("g",{key:`line_${o}_${h}`},[s&&h<r.plots.length-1&&r.plots[h+1]&&t.canShowValue(s.value)&&t.canShowValue(r.plots[h+1].value)?(e.openBlock(),e.createElementBlock("line",{key:0,x1:s.x,x2:r.plots[h+1].x,y1:s.y,y2:r.plots[h+1].y,stroke:t.FINAL_CONFIG.chart.backgroundColor,"stroke-width":t.FINAL_CONFIG.line.strokeWidth+1,"stroke-dasharray":r.dashed?t.FINAL_CONFIG.line.strokeWidth*2:0,"stroke-linejoin":"round","stroke-linecap":"round"},null,8,je)):e.createCommentVNode("",!0)]))),128))])):e.createCommentVNode("",!0)],6))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.lineSet,(r,o)=>(e.openBlock(),e.createElementBlock("g",{key:`serie_line_${o}`,class:e.normalizeClass(`serie_line_${o}`),style:e.normalizeStyle(`opacity:${l.selectedScale?l.selectedScale===r.id?1:.2:1};transition:opacity 0.2s ease-in-out`)},[r.useArea&&r.plots.length>1?(e.openBlock(),e.createElementBlock("g",$e,[r.smooth?(e.openBlock(),e.createElementBlock("path",{key:0,d:`M ${r.plots[0]?r.plots[0].x:Math.min(...r.plots.filter(s=>!!s).map(s=>s.x))},${l.mutableConfig.isStacked?t.drawingArea.bottom-r.yOffset:t.drawingArea.bottom} ${r.curve} L ${r.plots.at(-1)?r.plots.at(-1).x:t.drawingArea.left+t.slot.line*o+t.slot.line/2},${l.mutableConfig.isStacked?t.drawingArea.bottom-r.yOffset:t.drawingArea.bottom} Z`,fill:t.FINAL_CONFIG.line.area.useGradient?`url(#areaGradient_${o}_${l.uniqueId})`:`${r.color}${l.opacity[t.FINAL_CONFIG.line.area.opacity]}`},null,8,et)):(e.openBlock(),e.createElementBlock("path",{key:1,d:`M${r.area}Z`,fill:t.FINAL_CONFIG.line.area.useGradient?`url(#areaGradient_${o}_${l.uniqueId})`:`${r.color}${l.opacity[t.FINAL_CONFIG.line.area.opacity]}`},null,8,tt))])):e.createCommentVNode("",!0),r.smooth&&r.plots.length>1?(e.openBlock(),e.createElementBlock("path",{key:1,d:`M${r.curve}`,stroke:r.color,"stroke-width":t.FINAL_CONFIG.line.strokeWidth,"stroke-dasharray":r.dashed?t.FINAL_CONFIG.line.strokeWidth*2:0,fill:"none"},null,8,lt)):r.plots.length>1?(e.openBlock(),e.createElementBlock("g",rt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.plots,(s,h)=>(e.openBlock(),e.createElementBlock("g",{key:`line_${o}_${h}`},[s&&h<r.plots.length-1&&r.plots[h+1]&&t.canShowValue(s.value)&&t.canShowValue(r.plots[h+1].value)?(e.openBlock(),e.createElementBlock("line",{key:0,x1:s.x,x2:r.plots[h+1].x,y1:s.y,y2:r.plots[h+1].y,stroke:r.color,"stroke-width":t.FINAL_CONFIG.line.strokeWidth,"stroke-dasharray":r.dashed?t.FINAL_CONFIG.line.strokeWidth*2:0,"stroke-linejoin":"round","stroke-linecap":"round"},null,8,at)):e.createCommentVNode("",!0)]))),128))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.plots,(s,h)=>(e.openBlock(),e.createElementBlock("g",{key:`circle_line_${o}_${h}`},[s&&t.canShowValue(s.value)?(e.openBlock(),e.createBlock(u,{key:0,shape:["triangle","square","diamond","pentagon","hexagon","star"].includes(r.shape)?r.shape:"circle",color:t.FINAL_CONFIG.line.useGradient?`url(#lineGradient_${o}_${l.uniqueId})`:r.color,plot:{x:s.x,y:s.y},radius:l.selectedSerieIndex!==null&&l.selectedSerieIndex===h?(l.plotRadii.line||6)*1.5:l.plotRadii.line,stroke:t.FINAL_CONFIG.chart.backgroundColor,strokeWidth:.5},null,8,["shape","color","plot","radius","stroke"])):e.createCommentVNode("",!0),s.comment&&t.FINAL_CONFIG.chart.comments.show?(e.openBlock(),e.createElementBlock("foreignObject",{key:1,style:{overflow:"visible"},height:"12",width:t.FINAL_CONFIG.chart.comments.width,x:s.x-t.FINAL_CONFIG.chart.comments.width/2+t.FINAL_CONFIG.chart.comments.offsetX,y:s.y+t.FINAL_CONFIG.chart.comments.offsetY+6},[e.createElementVNode("div",st,[e.renderSlot(a.$slots,"plot-comment",{plot:{...s,color:r.color}},void 0,!0)])],8,it)):e.createCommentVNode("",!0)]))),128)),Object.hasOwn(r,"useProgression")&&r.useProgression===!0&&!isNaN(t.calcLinearProgression(r.plots).trend)?(e.openBlock(),e.createElementBlock("g",ot,[e.createElementVNode("defs",null,[e.createElementVNode("marker",{id:`line_arrow_${o}`,markerWidth:7,markerHeight:7,refX:"0",refY:7/2,orient:"auto"},[e.createElementVNode("polygon",{points:`0 0, 7 ${7/2}, 0 7`,fill:r.color},null,8,ct)],8,nt)]),r.plots.length>1?(e.openBlock(),e.createElementBlock("line",{key:0,x1:t.calcLinearProgression(r.plots).x1,x2:t.calcLinearProgression(r.plots).x2,y1:t.calcLinearProgression(r.plots).y1,y2:t.calcLinearProgression(r.plots).y2,"stroke-width":1,stroke:r.color,"stroke-dasharray":2,"marker-end":`url(#line_arrow_${o})`},null,8,ht)):e.createCommentVNode("",!0),r.plots.length>1?(e.openBlock(),e.createElementBlock("text",{key:1,"text-anchor":"middle",x:t.calcLinearProgression(r.plots).x2,y:t.calcLinearProgression(r.plots).y2-6,"font-size":l.fontSizes.plotLabels,fill:r.color},e.toDisplayString(t.dataLabel({v:t.calcLinearProgression(r.plots).trend*100,s:"%",r:2})),9,dt)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],6))),128)),(t.FINAL_CONFIG.bar.labels.show||t.FINAL_CONFIG.bar.serieName.show)&&l.mutableConfig.dataLabels.show?(e.openBlock(),e.createElementBlock("g",ut,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.barSet,(r,o)=>(e.openBlock(),e.createElementBlock("g",{key:`xLabel_bar_${o}`,class:e.normalizeClass(`xLabel_bar_${o}`),style:e.normalizeStyle(`opacity:${l.selectedScale?l.selectedScale===r.id?1:.2:1};transition:opacity 0.2s ease-in-out`)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.plots,(s,h)=>(e.openBlock(),e.createElementBlock("g",{key:`xLabel_bar_${o}_${h}`},[s&&(!Object.hasOwn(r,"dataLabels")||r.dataLabels===!0)&&t.FINAL_CONFIG.bar.labels.show?(e.openBlock(),e.createElementBlock("text",{key:0,x:l.mutableConfig.useIndividualScale&&l.mutableConfig.isStacked?s.x+t.slot.line/2:t.calcRectX(s)+t.calcRectWidth()/2-t.barPeriodGap/2,y:s.y+(s.value>0?t.FINAL_CONFIG.bar.labels.offsetY:-t.FINAL_CONFIG.bar.labels.offsetY*3),"text-anchor":"middle","font-size":l.fontSizes.plotLabels,fill:t.FINAL_CONFIG.bar.labels.color},e.toDisplayString(t.canShowValue(s.value)?t.applyDataLabel(t.FINAL_CONFIG.bar.labels.formatter,s.value,t.dataLabel({p:t.FINAL_CONFIG.chart.labels.prefix,v:s.value,s:t.FINAL_CONFIG.chart.labels.suffix,r:t.FINAL_CONFIG.bar.labels.rounding}),{datapoint:s,serie:r}):""),9,gt)):e.createCommentVNode("",!0),s&&t.FINAL_CONFIG.bar.serieName.show?(e.openBlock(),e.createElementBlock("text",{key:1,x:l.mutableConfig.useIndividualScale&&l.mutableConfig.isStacked?s.x+t.slot.line/2:s.x+t.calcRectWidth()*1.1,y:s.y+(s.value>0?t.FINAL_CONFIG.bar.serieName.offsetY:-t.FINAL_CONFIG.bar.serieName.offsetY*3),"text-anchor":"middle","font-size":l.fontSizes.plotLabels,fill:t.FINAL_CONFIG.bar.serieName.useSerieColor?r.color:t.FINAL_CONFIG.bar.serieName.color,"font-weight":t.FINAL_CONFIG.bar.serieName.bold?"bold":"normal"},e.toDisplayString(t.FINAL_CONFIG.bar.serieName.useAbbreviation?t.abbreviate({source:r.name,length:t.FINAL_CONFIG.bar.serieName.abbreviationSize}):r.name),9,mt)):e.createCommentVNode("",!0)]))),128))],6))),128))])):e.createCommentVNode("",!0),t.FINAL_CONFIG.plot.labels.show&&l.mutableConfig.dataLabels.show?(e.openBlock(),e.createElementBlock("g",ft,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.plotSet,(r,o)=>(e.openBlock(),e.createElementBlock("g",{key:`xLabel_plot_${o}`,class:e.normalizeClass(`xLabel_plot_${o}`),style:e.normalizeStyle(`opacity:${l.selectedScale?l.selectedScale===r.id?1:.2:1};transition:opacity 0.2s ease-in-out`)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.plots,(s,h)=>(e.openBlock(),e.createElementBlock("g",{key:`xLabel_plot_${o}_${h}`},[s&&!Object.hasOwn(r,"dataLabels")||r.dataLabels===!0?(e.openBlock(),e.createElementBlock("text",{key:0,x:s.x,y:s.y+t.FINAL_CONFIG.plot.labels.offsetY,"text-anchor":"middle","font-size":l.fontSizes.plotLabels,fill:t.FINAL_CONFIG.plot.labels.color},e.toDisplayString(t.canShowValue(s.value)?t.applyDataLabel(t.FINAL_CONFIG.plot.labels.formatter,s.value,t.dataLabel({p:t.FINAL_CONFIG.chart.labels.prefix,v:s.value,s:t.FINAL_CONFIG.chart.labels.suffix,r:t.FINAL_CONFIG.plot.labels.rounding}),{datapoint:s,serie:r}):""),9,Nt)):e.createCommentVNode("",!0),s&&h===0&&r.useTag&&r.useTag==="start"?(e.openBlock(),e.createElementBlock("foreignObject",{key:1,x:s.x,y:s.y-20,height:24,width:"150",style:{overflow:"visible"}},[e.createElementVNode("div",{style:e.normalizeStyle(`padding: 3px; background:${r.color}${l.opacity[80]};color:${t.adaptColorToBackground(r.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`)},e.toDisplayString(r.name),5)],8,kt)):e.createCommentVNode("",!0),s&&h===r.plots.length-1&&r.useTag&&r.useTag==="end"?(e.openBlock(),e.createElementBlock("foreignObject",{key:2,x:s.x-r.name.length*(l.fontSizes.plotLabels/2),y:s.y-20,height:24,width:"150",style:{overflow:"visible"}},[e.createElementVNode("div",{style:e.normalizeStyle(`padding: 3px; background:${r.color}${l.opacity[80]};color:${t.adaptColorToBackground(r.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`)},e.toDisplayString(r.name),5)],8,bt)):e.createCommentVNode("",!0)]))),128))],6))),128))])):e.createCommentVNode("",!0),t.FINAL_CONFIG.line.labels.show&&l.mutableConfig.dataLabels.show?(e.openBlock(),e.createElementBlock("g",It,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.lineSet,(r,o)=>(e.openBlock(),e.createElementBlock("g",{key:`xLabel_line_${o}`,class:e.normalizeClass(`xLabel_line_${o}`),style:e.normalizeStyle(`opacity:${l.selectedScale?l.selectedScale===r.id?1:.2:1};transition:opacity 0.2s ease-in-out`)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.plots,(s,h)=>(e.openBlock(),e.createElementBlock("g",{key:`xLabel_line_${o}_${h}`},[s&&!Object.hasOwn(r,"dataLabels")||r.dataLabels===!0?(e.openBlock(),e.createElementBlock("text",{key:0,x:s.x,y:s.y+(s.value>0?t.FINAL_CONFIG.line.labels.offsetY:-t.FINAL_CONFIG.line.labels.offsetY*3),"text-anchor":"middle","font-size":l.fontSizes.plotLabels,fill:t.FINAL_CONFIG.line.labels.color},e.toDisplayString(t.canShowValue(s.value)?t.applyDataLabel(t.FINAL_CONFIG.line.labels.formatter,s.value,t.dataLabel({p:t.FINAL_CONFIG.chart.labels.prefix,v:s.value,s:t.FINAL_CONFIG.chart.labels.suffix,r:t.FINAL_CONFIG.line.labels.rounding}),{datapoint:s,serie:r}):""),9,Ft)):e.createCommentVNode("",!0),s&&h===0&&r.useTag&&r.useTag==="start"?(e.openBlock(),e.createElementBlock("foreignObject",{key:1,x:s.x,y:s.y-20,height:24,width:"150",style:{overflow:"visible"}},[e.createElementVNode("div",{style:e.normalizeStyle(`padding: 3px; background:${r.color}${l.opacity[80]};color:${t.adaptColorToBackground(r.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`)},e.toDisplayString(r.name),5)],8,xt)):e.createCommentVNode("",!0),s&&h===r.plots.length-1&&r.useTag&&r.useTag==="end"?(e.openBlock(),e.createElementBlock("foreignObject",{key:2,x:s.x-r.name.length*(l.fontSizes.plotLabels/2),y:s.y-20,height:24,width:"150",style:{overflow:"visible"}},[e.createElementVNode("div",{style:e.normalizeStyle(`padding: 3px; background:${r.color}${l.opacity[80]};color:${t.adaptColorToBackground(r.color)};width:fit-content;font-size:${l.fontSizes.plotLabels}px;border-radius: 2px;`)},e.toDisplayString(r.name),5)],8,yt)):e.createCommentVNode("",!0)]))),128))],6))),128))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.lineSet,(r,o)=>(e.openBlock(),e.createElementBlock("g",{key:`xLabel_line_${o}`,class:e.normalizeClass(`xLabel_line_${o}`),style:e.normalizeStyle(`opacity:${l.selectedScale?l.selectedScale===r.id?1:.2:1};transition:opacity 0.2s ease-in-out`)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.plots,(s,h)=>(e.openBlock(),e.createElementBlock("g",{key:`xLabel_line_${o}_${h}`},[s&&h===0&&r.showSerieName&&r.showSerieName==="start"?(e.openBlock(),e.createElementBlock("text",{key:0,x:s.x-l.fontSizes.plotLabels,y:s.y,"font-size":l.fontSizes.plotLabels,"text-anchor":"end",fill:r.color,innerHTML:t.createTSpans({content:r.name,fontSize:l.fontSizes.plotLabels,fill:r.color,x:s.x-l.fontSizes.plotLabels,y:s.y,maxWords:2})},null,8,_t)):e.createCommentVNode("",!0),s&&h===r.plots.length-1&&r.showSerieName&&r.showSerieName==="end"?(e.openBlock(),e.createElementBlock("text",{key:1,x:s.x+l.fontSizes.plotLabels,y:s.y,"font-size":l.fontSizes.plotLabels,"text-anchor":"start",fill:r.color,innerHTML:t.createTSpans({content:r.name,fontSize:l.fontSizes.plotLabels,fill:r.color,x:s.x+l.fontSizes.plotLabels,y:s.y,maxWords:2})},null,8,Ct)):e.createCommentVNode("",!0)]))),128))],6))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.plotSet,(r,o)=>(e.openBlock(),e.createElementBlock("g",{key:`xLabel_plot_${o}`,class:e.normalizeClass(`xLabel_plot_${o}`),style:e.normalizeStyle(`opacity:${l.selectedScale?l.selectedScale===r.id?1:.2:1};transition:opacity 0.2s ease-in-out`)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.plots,(s,h)=>(e.openBlock(),e.createElementBlock("g",{key:`xLabel_plot_${o}_${h}`},[s&&h===0&&r.showSerieName&&r.showSerieName==="start"?(e.openBlock(),e.createElementBlock("text",{key:0,x:s.x-l.fontSizes.plotLabels,y:s.y,"font-size":l.fontSizes.plotLabels,"text-anchor":"end",fill:r.color,innerHTML:t.createTSpans({content:r.name,fontSize:l.fontSizes.plotLabels,fill:r.color,x:s.x-l.fontSizes.plotLabels,y:s.y,maxWords:2})},null,8,St)):e.createCommentVNode("",!0),s&&h===r.plots.length-1&&r.showSerieName&&r.showSerieName==="end"?(e.openBlock(),e.createElementBlock("text",{key:1,x:s.x+l.fontSizes.plotLabels,y:s.y,"font-size":l.fontSizes.plotLabels,"text-anchor":"start",fill:r.color,innerHTML:t.createTSpans({content:r.name,fontSize:l.fontSizes.plotLabels,fill:r.color,x:s.x+l.fontSizes.plotLabels,y:s.y,maxWords:2})},null,8,At)):e.createCommentVNode("",!0)]))),128))],6))),128)),l.mutableConfig.useIndividualScale&&!l.mutableConfig.isStacked?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:8},e.renderList(t.allScales,r=>(e.openBlock(),e.createElementBlock("rect",{x:r.x-t.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,y:t.drawingArea.top,width:t.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,height:t.drawingArea.height<0?10:t.drawingArea.height,fill:l.selectedScale===r.id?`${r.color}20`:"transparent",onMouseenter:o=>l.selectedScale=r.id,onMouseleave:i[0]||(i[0]=o=>l.selectedScale=null)},null,40,Lt))),256)):e.createCommentVNode("",!0),e.createElementVNode("g",null,[t.FINAL_CONFIG.chart.grid.labels.axis.yLabel&&!l.mutableConfig.useIndividualScale?(e.openBlock(),e.createElementBlock("text",{key:0,"font-size":l.fontSizes.yAxis,fill:t.FINAL_CONFIG.chart.grid.labels.color,transform:`translate(${l.fontSizes.yAxis+t.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${t.drawingArea.top+t.drawingArea.height/2}) rotate(-90)`,"text-anchor":"middle",style:{transition:"none"}},e.toDisplayString(t.FINAL_CONFIG.chart.grid.labels.axis.yLabel),9,wt)):e.createCommentVNode("",!0),t.FINAL_CONFIG.chart.grid.labels.axis.xLabel?(e.openBlock(),e.createElementBlock("text",{key:1,"text-anchor":"middle",x:l.width/2,y:t.drawingArea.bottom+l.fontSizes.yAxis+l.fontSizes.xAxis*1.3+t.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,"font-size":l.fontSizes.yAxis,fill:t.FINAL_CONFIG.chart.grid.labels.color},e.toDisplayString(t.FINAL_CONFIG.chart.grid.labels.axis.xLabel),9,Ot)):e.createCommentVNode("",!0)]),t.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show?(e.openBlock(),e.createElementBlock("g",vt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.timeLabels,(r,o)=>(e.openBlock(),e.createElementBlock("g",{key:`time_label_${o}`},[r&&!t.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast&&!t.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo||r&&t.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast&&(o===0||o===t.timeLabels.length-1)&&!t.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo||r&&t.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast&&l.selectedSerieIndex===o&&!t.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo||r&&!t.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast&&t.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo&&o%Math.floor((this.slicer.end-this.slicer.start)/t.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo)===0?(e.openBlock(),e.createElementBlock("text",{key:0,"text-anchor":t.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation>0?"start":t.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation<0?"end":"middle","font-size":l.fontSizes.xAxis,fill:t.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,transform:`translate(${t.drawingArea.left+t.drawingArea.width/t.maxSeries*o+t.drawingArea.width/t.maxSeries/2}, ${t.drawingArea.bottom+l.fontSizes.xAxis*1.3+t.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset}), rotate(${t.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation})`},e.toDisplayString(r||""),9,Gt)):e.createCommentVNode("",!0)]))),128))])):e.createCommentVNode("",!0),e.createElementVNode("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.maxSeries,(r,o)=>(e.openBlock(),e.createElementBlock("g",{key:`tooltip_trap_${o}`},[e.createElementVNode("rect",{"data-cy-trap":"",x:t.drawingArea.left+t.drawingArea.width/t.maxSeries*o,y:t.drawingArea.top,height:t.drawingArea.height<0?10:t.drawingArea.height,width:t.drawingArea.width/t.maxSeries<0?1e-5:t.drawingArea.width/t.maxSeries,fill:"transparent",onMouseenter:s=>t.toggleTooltipVisibility(!0,o),onMouseleave:i[1]||(i[1]=s=>t.toggleTooltipVisibility(!1)),onClick:s=>t.selectX(o)},null,40,Bt)]))),128))]),t.FINAL_CONFIG.chart.timeTag.show&&![null,void 0].includes(l.selectedSerieIndex)?(e.openBlock(),e.createElementBlock("g",pt,[(e.openBlock(),e.createElementBlock("foreignObject",{x:t.drawingArea.left+t.drawingArea.width/t.maxSeries*l.selectedSerieIndex-100+t.drawingArea.width/t.maxSeries/2,y:t.drawingArea.bottom,width:"200",height:"40",style:{overflow:"visible !important"}},[e.createElementVNode("div",{class:"vue-ui-xy-time-tag",style:e.normalizeStyle(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${t.FINAL_CONFIG.chart.timeTag.backgroundColor};color:${t.FINAL_CONFIG.chart.timeTag.color};font-size:${t.FINAL_CONFIG.chart.timeTag.fontSize}px`)},e.toDisplayString(t.timeLabels[l.selectedSerieIndex]||l.selectedSerieIndex),5)],8,Et)),e.createElementVNode("circle",{cx:t.drawingArea.left+t.drawingArea.width/t.maxSeries*l.selectedSerieIndex+t.drawingArea.width/t.maxSeries/2,cy:t.drawingArea.bottom,r:t.FINAL_CONFIG.chart.timeTag.circleMarker.radius,fill:t.FINAL_CONFIG.chart.timeTag.circleMarker.color},null,8,zt)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"svg",{svg:t.svg},void 0,!0)],14,X)):e.createCommentVNode("",!0),a.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Vt,[e.renderSlot(a.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:l.isPrinting||l.isImaging})),void 0,!0)])):e.createCommentVNode("",!0),t.isDataset?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(N,{key:4,config:{type:"line",style:{backgroundColor:t.FINAL_CONFIG.chart.backgroundColor,line:{axis:{color:t.FINAL_CONFIG.chart.grid.stroke},path:{color:t.FINAL_CONFIG.chart.grid.stroke,strokeWidth:.5}}}}},null,8,["config"])),t.FINAL_CONFIG.chart.zoom.show&&l.maxX>6&&t.isDataset?(e.openBlock(),e.createBlock(S,{ref:"chartSlicer",key:`slicer_${l.slicerStep}`,background:t.FINAL_CONFIG.chart.zoom.color,fontSize:t.FINAL_CONFIG.chart.zoom.fontSize,useResetSlot:t.FINAL_CONFIG.chart.zoom.useResetSlot,labelLeft:t.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[l.slicer.start],labelRight:t.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[l.slicer.end-1],textColor:t.FINAL_CONFIG.chart.color,inputColor:t.FINAL_CONFIG.chart.zoom.color,selectColor:t.FINAL_CONFIG.chart.zoom.highlightColor,borderColor:t.FINAL_CONFIG.chart.backgroundColor,max:l.maxX,min:0,valueStart:l.slicer.start,valueEnd:l.slicer.end,start:l.slicer.start,"onUpdate:start":i[2]||(i[2]=r=>l.slicer.start=r),end:l.slicer.end,"onUpdate:end":i[3]||(i[3]=r=>l.slicer.end=r),onReset:t.refreshSlicer},{"reset-action":e.withCtx(({reset:r})=>[e.renderSlot(a.$slots,"reset-action",e.normalizeProps(e.guardReactiveProps({reset:r})),void 0,!0)]),_:3},8,["background","fontSize","useResetSlot","labelLeft","labelRight","textColor","inputColor","selectColor","borderColor","max","valueStart","valueEnd","start","end","onReset"])):e.createCommentVNode("",!0),t.FINAL_CONFIG.chart.legend.show?(e.openBlock(),e.createElementBlock("div",{key:6,ref:"chartLegend",class:"vue-ui-xy-legend",style:e.normalizeStyle(`font-size:${t.FINAL_CONFIG.chart.legend.fontSize}px`)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.absoluteDataset,(r,o)=>(e.openBlock(),e.createElementBlock("div",{key:`div_legend_item_${o}`,onClick:s=>t.segregate(r),class:e.normalizeClass({"vue-ui-xy-legend-item":!0,"vue-ui-xy-legend-item-segregated":l.segregatedSeries.includes(r.id)})},[l.icons[r.type]==="line"?(e.openBlock(),e.createElementBlock("svg",Mt,[e.createElementVNode("rect",{x:"0",y:"7",rx:"3",stroke:"none",height:"4",width:"20",fill:r.color},null,8,Tt),e.createVNode(u,{plot:{x:10,y:9},radius:4,color:r.color,shape:["triangle","square","diamond","pentagon","hexagon","star"].includes(r.shape)?r.shape:"circle",stroke:t.FINAL_CONFIG.chart.backgroundColor,strokeWidth:1},null,8,["color","shape","stroke"])])):(e.openBlock(),e.createElementBlock("svg",Dt,[l.icons[r.type]==="bar"?(e.openBlock(),e.createElementBlock("rect",{key:0,x:"0",y:"0",rx:"1",height:"12",width:"12",stroke:"none",fill:r.color},null,8,Rt)):(e.openBlock(),e.createBlock(u,{key:1,plot:{x:6,y:6},radius:5,color:r.color,shape:["triangle","square","diamond","pentagon","hexagon","star"].includes(r.shape)?r.shape:"circle"},null,8,["color","shape"]))])),e.createElementVNode("span",{style:e.normalizeStyle(`color:${t.FINAL_CONFIG.chart.legend.color}`)},e.toDisplayString(r.name),5)],10,Pt))),128))],4)):(e.openBlock(),e.createElementBlock("div",Ht,[e.renderSlot(a.$slots,"legend",{legend:t.absoluteDataset},void 0,!0)],512)),e.createVNode(x,{show:l.mutableConfig.showTooltip&&l.isTooltip,backgroundColor:t.FINAL_CONFIG.chart.tooltip.backgroundColor,color:t.FINAL_CONFIG.chart.tooltip.color,fontSize:t.FINAL_CONFIG.chart.tooltip.fontSize,borderRadius:t.FINAL_CONFIG.chart.tooltip.borderRadius,borderColor:t.FINAL_CONFIG.chart.tooltip.borderColor,borderWidth:t.FINAL_CONFIG.chart.tooltip.borderWidth,backgroundOpacity:t.FINAL_CONFIG.chart.tooltip.backgroundOpacity,position:t.FINAL_CONFIG.chart.tooltip.position,offsetY:t.FINAL_CONFIG.chart.tooltip.offsetY,parent:a.$refs.chart,content:t.tooltipContent,isCustom:t.FINAL_CONFIG.chart.tooltip.customFormat&&typeof t.FINAL_CONFIG.chart.tooltip.customFormat=="function"},{"tooltip-before":e.withCtx(()=>[e.renderSlot(a.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...t.dataTooltipSlot})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(a.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...t.dataTooltipSlot})),void 0,!0)]),_:3},8,["show","backgroundColor","color","fontSize","borderRadius","borderColor","borderWidth","backgroundOpacity","position","offsetY","parent","content","isCustom"]),t.isDataset?(e.openBlock(),e.createBlock(F,{key:8,hideDetails:"",config:{open:l.mutableConfig.showTable,maxHeight:1e4,body:{backgroundColor:t.FINAL_CONFIG.chart.backgroundColor,color:t.FINAL_CONFIG.chart.color},head:{backgroundColor:t.FINAL_CONFIG.chart.backgroundColor,color:t.FINAL_CONFIG.chart.color}}},{content:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle(`${l.isPrinting?"":"max-height:400px"};overflow:auto;width:100%;margin-top:48px`)},[e.createElementVNode("div",Wt,[e.withDirectives(e.createElementVNode("input",{type:"checkbox","onUpdate:modelValue":i[4]||(i[4]=r=>l.showSparklineTable=r)},null,512),[[e.vModelCheckbox,l.showSparklineTable]]),e.createElementVNode("div",{onClick:i[5]||(i[5]=r=>l.showSparklineTable=!l.showSparklineTable),style:{cursor:"pointer"}},[e.createVNode(y,{name:"chartLine",size:20,stroke:t.FINAL_CONFIG.chart.color},null,8,["stroke"])])]),l.showSparklineTable?(e.openBlock(),e.createBlock(C,{key:`sparkline_${l.segregateStep}`,dataset:t.tableSparklineDataset,config:t.tableSparklineConfig},null,8,["dataset","config"])):(e.openBlock(),e.createBlock(f,{key:1,colNames:t.dataTable.colNames,head:t.dataTable.head,body:t.dataTable.body,config:t.dataTable.config,title:`${t.FINAL_CONFIG.chart.title.text}${t.FINAL_CONFIG.chart.title.subtitle.text?` : ${t.FINAL_CONFIG.chart.title.subtitle.text}`:""}`,onClose:i[6]||(i[6]=r=>l.mutableConfig.showTable=!1)},{th:e.withCtx(({th:r})=>[e.createElementVNode("div",{innerHTML:r},null,8,qt)]),td:e.withCtx(({td:r})=>[e.createTextVNode(e.toDisplayString(isNaN(Number(r))?r:t.dataLabel({p:t.FINAL_CONFIG.chart.labels.prefix,v:r,s:t.FINAL_CONFIG.chart.labels.suffix,r:t.FINAL_CONFIG.table.rounding})),1)]),_:1},8,["colNames","head","body","config","title"]))],4)]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,Y)}const Xt=H._export_sfc(q,[["render",Yt],["__scopeId","data-v-c25cc064"]]);exports.default=Xt;
|