| Server IP : 92.204.40.98 / Your IP : 216.73.216.201 Web Server : LiteSpeed System : Linux amster.dnsfors.com 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64 User : tmksyste ( 2190) PHP Version : 8.3.31 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/tmksyste/public_html/crmapp/assets/js/pages/ |
Upload File : |
function getChartColorsArray(t){var e=document.getElementById(t);if(e){e=e.dataset.colors;if(e)return JSON.parse(e).map(t=>{var e=t.replace(/\s/g,"");return e.includes(",")?2===(t=t.split(",")).length?`rgba(${getComputedStyle(document.documentElement).getPropertyValue(t[0])}, ${t[1]})`:e:getComputedStyle(document.documentElement).getPropertyValue(e)||e});console.warn("data-colors attribute not found on: "+t)}}var chartBoxBasicChart="",chartBoxPlotChart="",chartBoxPlotHoriChart="";function loadCharts(){var t,e;(e=getChartColorsArray("basic_box"))&&(t={series:[{type:"boxPlot",data:[{x:"Jan 2015",y:[54,66,69,75,88]},{x:"Jan 2016",y:[43,65,69,76,81]},{x:"Jan 2017",y:[31,39,45,51,59]},{x:"Jan 2018",y:[39,46,55,65,71]},{x:"Jan 2019",y:[29,31,35,39,44]},{x:"Jan 2020",y:[41,49,58,61,67]},{x:"Jan 2021",y:[54,59,66,71,88]}]}],chart:{type:"boxPlot",height:350,toolbar:{show:!1}},title:{text:"Basic BoxPlot Chart",align:"left",style:{fontWeight:500}},plotOptions:{boxPlot:{colors:{upper:e[0],lower:e[1]}}},stroke:{colors:[e[2]]}},""!=chartBoxBasicChart&&chartBoxBasicChart.destroy(),(chartBoxBasicChart=new ApexCharts(document.querySelector("#basic_box"),t)).render()),(e=getChartColorsArray("box_plot"))&&(t={series:[{name:"Box",type:"boxPlot",data:[{x:new Date("2017-01-01").getTime(),y:[54,66,69,75,88]},{x:new Date("2018-01-01").getTime(),y:[43,65,69,76,81]},{x:new Date("2019-01-01").getTime(),y:[31,39,45,51,59]},{x:new Date("2020-01-01").getTime(),y:[39,46,55,65,71]},{x:new Date("2021-01-01").getTime(),y:[29,31,35,39,44]}]},{name:"Outliers",type:"scatter",data:[{x:new Date("2017-01-01").getTime(),y:32},{x:new Date("2018-01-01").getTime(),y:25},{x:new Date("2019-01-01").getTime(),y:64},{x:new Date("2020-01-01").getTime(),y:27},{x:new Date("2020-01-01").getTime(),y:78},{x:new Date("2021-01-01").getTime(),y:15}]}],chart:{type:"boxPlot",height:350,toolbar:{show:!1}},colors:[e[0],e[1]],title:{text:"BoxPlot - Scatter Chart",align:"left",style:{fontWeight:500}},xaxis:{type:"datetime",tooltip:{formatter:function(t){return new Date(t).getFullYear()}}},plotOptions:{boxPlot:{colors:{upper:e[2],lower:e[3]}}},stroke:{colors:[e[4]]},tooltip:{shared:!1,intersect:!0}},""!=chartBoxPlotChart&&chartBoxPlotChart.destroy(),(chartBoxPlotChart=new ApexCharts(document.querySelector("#box_plot"),t)).render());(e=getChartColorsArray("box_plot_hori"))&&(t={series:[{data:[{x:"Category A",y:[54,66,69,75,88]},{x:"Category B",y:[43,65,69,76,81]},{x:"Category C",y:[31,39,45,51,59]},{x:"Category D",y:[39,46,55,65,71]},{x:"Category E",y:[29,31,35,39,44]},{x:"Category F",y:[41,49,58,61,67]},{x:"Category G",y:[54,59,66,71,88]}]}],chart:{type:"boxPlot",height:350,toolbar:{show:!1}},plotOptions:{bar:{horizontal:!0,barHeight:"50%"},boxPlot:{colors:{upper:e[0],lower:e[1]}}},stroke:{colors:[e[2]]}},""!=chartBoxPlotHoriChart&&chartBoxPlotHoriChart.destroy(),(chartBoxPlotHoriChart=new ApexCharts(document.querySelector("#box_plot_hori"),t)).render())}window.addEventListener("resize",function(){setTimeout(()=>{loadCharts()},250)}),loadCharts();