| 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(e){var a=document.getElementById(e);if(a){a=a.dataset.colors;if(a)return JSON.parse(a).map(e=>{var a=e.replace(/\s/g,"");return a.includes(",")?2===(e=e.split(",")).length?`rgba(${getComputedStyle(document.documentElement).getPropertyValue(e[0])}, ${e[1]})`:a:getComputedStyle(document.documentElement).getPropertyValue(a)||a});console.warn("data-colors attribute not found on: "+e)}}var rangeAreaChart="",comboRangeAreaChart="";function loadCharts(){var e,a;(a=getChartColorsArray("range_area_chart_basic"))&&(e={series:[{name:"New York Temperature",data:[{x:"Jan",y:[-2,4]},{x:"Feb",y:[-1,6]},{x:"Mar",y:[3,10]},{x:"Apr",y:[8,16]},{x:"May",y:[13,22]},{x:"Jun",y:[18,26]},{x:"Jul",y:[21,29]},{x:"Aug",y:[21,28]},{x:"Sep",y:[17,24]},{x:"Oct",y:[11,18]},{x:"Nov",y:[6,12]},{x:"Dec",y:[1,7]}]}],chart:{height:350,type:"rangeArea",toolbar:{show:!1}},stroke:{curve:"straight"},colors:a,title:{text:"New York Temperature (all year round)"},markers:{hover:{sizeOffset:5}},dataLabels:{enabled:!1},yaxis:{labels:{formatter:e=>e+"°C"}}},""!=rangeAreaChart&&rangeAreaChart.destroy(),(rangeAreaChart=new ApexCharts(document.querySelector("#range_area_chart_basic"),e)).render());(a=getChartColorsArray("combo_range_area_chart"))&&(e={series:[{type:"rangeArea",name:"Team B Range",data:[{x:"Jan",y:[1100,1900]},{x:"Feb",y:[1200,1800]},{x:"Mar",y:[900,2900]},{x:"Apr",y:[1400,2700]},{x:"May",y:[2600,3900]},{x:"Jun",y:[500,1700]},{x:"Jul",y:[1900,2300]},{x:"Aug",y:[1e3,1500]}]},{type:"rangeArea",name:"Team A Range",data:[{x:"Jan",y:[3100,3400]},{x:"Feb",y:[4200,5200]},{x:"Mar",y:[3900,4900]},{x:"Apr",y:[3400,3900]},{x:"May",y:[5100,5900]},{x:"Jun",y:[5400,6700]},{x:"Jul",y:[4300,4600]},{x:"Aug",y:[2100,2900]}]},{type:"line",name:"Team B Median",data:[{x:"Jan",y:1500},{x:"Feb",y:1700},{x:"Mar",y:1900},{x:"Apr",y:2200},{x:"May",y:3e3},{x:"Jun",y:1e3},{x:"Jul",y:2100},{x:"Aug",y:1200},{x:"Sep",y:1800},{x:"Oct",y:2e3}]},{type:"line",name:"Team A Median",data:[{x:"Jan",y:3300},{x:"Feb",y:4900},{x:"Mar",y:4300},{x:"Apr",y:3700},{x:"May",y:5500},{x:"Jun",y:5900},{x:"Jul",y:4500},{x:"Aug",y:2400},{x:"Sep",y:2100},{x:"Oct",y:1500}]}],chart:{height:350,type:"rangeArea",toolbar:{show:!1},animations:{speed:500}},colors:a,dataLabels:{enabled:!1},fill:{opacity:[.24,.24,1,1]},forecastDataPoints:{count:2},stroke:{curve:"straight",width:[0,0,2,2]},legend:{show:!0,customLegendItems:["Team B","Team A"],inverseOrder:!0},title:{text:"Range Area with Forecast Line (Combo)"},markers:{hover:{sizeOffset:5}}},""!=comboRangeAreaChart&&comboRangeAreaChart.destroy(),(comboRangeAreaChart=new ApexCharts(document.querySelector("#combo_range_area_chart"),e)).render())}window.addEventListener("resize",function(){setTimeout(()=>{loadCharts()},250)}),loadCharts();