for(var colors=["#ffbc00"],dataColors=$("#line-chart").data("colors"),options={chart:{height:380,type:"line",zoom:{enabled:!1}},dataLabels:{enabled:!1},colors:colors=dataColors?dataColors.split(","):colors,stroke:{width:[4],curve:"straight"},series:[{name:"Desktops",data:[30,41,35,51,49,62,69,91,126]}],title:{text:"Product Trends by Month",align:"center"},grid:{row:{colors:["transparent","transparent"],opacity:.2},borderColor:"#f1f3fa"},labels:series.monthDataSeries1.dates,xaxis:{categories:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep"]},responsive:[{breakpoint:600,options:{chart:{toolbar:{show:!1}},legend:{show:!1}}}]},chart=new ApexCharts(document.querySelector("#line-chart"),options),colors=(chart.render(),["#727cf5","#0acf97","#fa5c7c","#ffbc00"]),dataColors=$("#line-chart-datalabel").data("colors"),options={chart:{height:380,type:"line",zoom:{enabled:!1},toolbar:{show:!1}},colors:colors=dataColors?dataColors.split(","):colors,dataLabels:{enabled:!0},stroke:{width:[3,3],curve:"smooth"},series:[{name:"High - 2018",data:[28,29,33,36,32,32,33]},{name:"Low - 2018",data:[12,11,14,18,17,13,13]}],title:{text:"Average High & Low Temperature",align:"left"},grid:{row:{colors:["transparent","transparent"],opacity:.2},borderColor:"#f1f3fa"},markers:{style:"inverted",size:6},xaxis:{categories:["Jan","Feb","Mar","Apr","May","Jun","Jul"],title:{text:"Month"}},yaxis:{title:{text:"Temperature"},min:5,max:40},legend:{position:"top",horizontalAlign:"right",floating:!0,offsetY:-25,offsetX:-5},responsive:[{breakpoint:600,options:{chart:{toolbar:{show:!1}},legend:{show:!1}}}]},ts2=((chart=new ApexCharts(document.querySelector("#line-chart-datalabel"),options)).render(),14844186e5),dates=[],spikes=[5,-5,3,-3,8,-8],i=0;i<120;i++){var innerArr=[ts2+=864e5,dataSeries[1][i].value];dates.push(innerArr)}var colors=["#fa5c7c"],dataColors=$("#line-chart-zoomable").data("colors"),options={chart:{type:"area",stacked:!1,height:380,zoom:{enabled:!0}},plotOptions:{line:{curve:"smooth"}},dataLabels:{enabled:!1},stroke:{width:[3]},series:[{name:"XYZ MOTORS",data:dates}],markers:{size:0,style:"full"},colors:colors=dataColors?dataColors.split(","):colors,title:{text:"Stock Price Movement",align:"left"},grid:{row:{colors:["transparent","transparent"],opacity:.2},borderColor:"#f1f3fa"},fill:{gradient:{enabled:!0,shadeIntensity:1,inverseColors:!1,opacityFrom:.5,opacityTo:.1,stops:[0,70,80,100]}},yaxis:{min:2e7,max:25e7,labels:{formatter:function(e){return(e/1e6).toFixed(0)}},title:{text:"Price"}},xaxis:{type:"datetime"},tooltip:{shared:!1,y:{formatter:function(e){return(e/1e6).toFixed(0)}}},responsive:[{breakpoint:600,options:{chart:{toolbar:{show:!1}},legend:{show:!1}}}]},colors=((chart=new ApexCharts(document.querySelector("#line-chart-zoomable"),options)).render(),["#39afd1"]),options=((dataColors=$("#line-chart-annotations").data("colors"))&&(colors=dataColors.split(",")),{series:[{data:series.monthDataSeries1.prices}],chart:{height:350,type:"line",id:"areachart-2"},colors:colors,annotations:{yaxis:[{y:8200,borderColor:"#00E396",label:{borderColor:"#00E396",style:{color:"#fff",background:"#00E396"},text:"Support"}},{y:8600,y2:9e3,borderColor:"#000",fillColor:"#FEB019",opacity:.2,label:{borderColor:"#333",style:{fontSize:"10px",color:"#333",background:"#FEB019"},text:"Y-axis range"}}],xaxis:[{x:new Date("23 Nov 2017").getTime(),strokeDashArray:0,borderColor:"#775DD0",label:{borderColor:"#775DD0",style:{color:"#fff",background:"#775DD0"},text:"Anno Test"}},{x:new Date("26 Nov 2017").getTime(),x2:new Date("28 Nov 2017").getTime(),fillColor:"#B3F7CA",opacity:.4,label:{borderColor:"#B3F7CA",style:{fontSize:"10px",color:"#fff",background:"#00E396"},offsetY:-10,text:"X-axis range"}}],points:[{x:new Date("01 Dec 2017").getTime(),y:8607.55,marker:{size:8,fillColor:"#fff",strokeColor:"red",radius:2,cssClass:"apexcharts-custom-class"},label:{borderColor:"#FF4560",offsetY:0,style:{color:"#fff",background:"#FF4560"},text:"Point Annotation"}},{x:new Date("08 Dec 2017").getTime(),y:9340.85,marker:{size:0},image:{path:"assets/images/brands/instagram.png"}}]},dataLabels:{enabled:!1},stroke:{curve:"straight"},grid:{padding:{right:30,left:20}},title:{text:"Line with Annotations",align:"left"},labels:series.monthDataSeries1.dates,xaxis:{type:"datetime"}}),colors=((chart=new ApexCharts(document.querySelector("#line-chart-annotations"),options)).render(),["#727cf5"]),dataColors=$("#line-chart-syncing").data("colors"),optionsline2={chart:{type:"line",height:160,id:"fb",group:"social"},colors:colors=dataColors?dataColors.split(","):colors,stroke:{width:[3],curve:"straight"},toolbar:{tools:{selection:!1}},fill:{opacity:1},tooltip:{followCursor:!1,theme:"dark",x:{show:!1},marker:{show:!1},y:{title:{formatter:function(){return""}}}},series:[{data:generateDayWiseTimeSeries(new Date("11 Feb 2017").getTime(),20,{min:10,max:30})}],xaxis:{type:"datetime"},grid:{row:{colors:["transparent","transparent"],opacity:.2},borderColor:"#f1f3fa"}},chartline2=new ApexCharts(document.querySelector("#line-chart-syncing"),optionsline2),colors=(chartline2.render(),["#6c757d"]),dataColors=$("#line-chart-syncing2").data("colors"),options={chart:{height:200,type:"line",id:"yt",group:"social"},colors:colors=dataColors?dataColors.split(","):colors,dataLabels:{enabled:!1},toolbar:{tools:{selection:!1}},tooltip:{followCursor:!1,theme:"dark",x:{show:!1},marker:{show:!1},y:{title:{formatter:function(){return""}}}},stroke:{width:[3],curve:"smooth"},series:[{data:generateDayWiseTimeSeries(new Date("11 Feb 2017").getTime(),20,{min:10,max:60})}],fill:{gradient:{enabled:!0,opacityFrom:.6,opacityTo:.8}},legend:{position:"top",horizontalAlign:"left"},xaxis:{type:"datetime"},grid:{row:{colors:["transparent","transparent"],opacity:.2},borderColor:"#f1f3fa"}};function generateDayWiseTimeSeries(e,t,a){for(var o=0,r=[];o