$(document).ready(function(){var e={chart:{height:350,type:"area",zoom:{enabled:!1},toolbar:{show:!1,tools:{download:!1}}},dataLabels:{enabled:!1},stroke:{curve:"straight"},series:[{name:"STOCK ABC",data:series.monthDataSeries1.prices}],labels:series.monthDataSeries1.dates,xaxis:{type:"datetime"},yaxis:{opposite:!0},legend:{horizontalAlign:"left"}};new ApexCharts(document.querySelector("#basicArea-chart"),e).render();new ApexCharts(document.querySelector("#SplineArea"),{chart:{height:350,type:"area",toolbar:{show:!1}},dataLabels:{enabled:!1},stroke:{curve:"smooth"},series:[{name:"series1",data:[31,40,28,51,42,109,100]},{name:"series2",data:[11,32,45,32,34,52,41]}],xaxis:{type:"datetime",categories:["2018-09-19T00:00:00","2018-09-19T01:30:00","2018-09-19T02:30:00","2018-09-19T03:30:00","2018-09-19T04:30:00","2018-09-19T05:30:00","2018-09-19T06:30:00"]},tooltip:{x:{format:"dd/MM/yy HH:mm"}}}).render();var a={annotations:{yaxis:[{y:30,borderColor:"#999",label:{show:!0,text:"Support",style:{color:"#fff",background:"#00E396"}}}],xaxis:[{x:new Date("14 Nov 2012").getTime(),borderColor:"#999",yAxisIndex:0,label:{show:!0,text:"Rally",style:{color:"#fff",background:"#775DD0"}}}]},chart:{type:"area",height:350},title:{text:"Datetime X-Axis",align:"left"},dataLabels:{enabled:!1},series:[{data:dateSeries1}],markers:{size:0,style:"hollow"},xaxis:{type:"datetime",min:new Date("01 Mar 2012").getTime(),tickAmount:6},tooltip:{x:{format:"dd MMM yyyy"}},fill:{type:"gradient",gradient:{shadeIntensity:1,opacityFrom:.7,opacityTo:.9,stops:[0,100]}}};new ApexCharts(document.querySelector("#timeline-chart"),a).render();new ApexCharts(document.querySelector("#negetiveArea"),{chart:{height:350,type:"area",toolbar:{show:!1}},dataLabels:{enabled:!1},stroke:{curve:"straight"},series:[{name:"north",data:[{x:1996,y:322},{x:1997,y:324},{x:1998,y:329},{x:1999,y:342},{x:2e3,y:348},{x:2001,y:334},{x:2002,y:325},{x:2003,y:316},{x:2004,y:318},{x:2005,y:330},{x:2006,y:355},{x:2007,y:366},{x:2008,y:337},{x:2009,y:352},{x:2010,y:377},{x:2011,y:383},{x:2012,y:344},{x:2013,y:366},{x:2014,y:389},{x:2015,y:334}]},{name:"south",data:[{x:1996,y:162},{x:1997,y:90},{x:1998,y:50},{x:1999,y:77},{x:2e3,y:35},{x:2001,y:-45},{x:2002,y:-88},{x:2003,y:-120},{x:2004,y:-156},{x:2005,y:-123},{x:2006,y:-88},{x:2007,y:-66},{x:2008,y:-45},{x:2009,y:-29},{x:2010,y:-45},{x:2011,y:-88},{x:2012,y:-132},{x:2013,y:-146},{x:2014,y:-169},{x:2015,y:-184}]}],xaxis:{type:"datetime",axisBorder:{show:!1},axisTicks:{show:!1}},yaxis:{tickAmount:4,floating:!1,labels:{style:{color:"#8e8da4"},offsetY:-7,offsetX:0},axisBorder:{show:!1},axisTicks:{show:!1}},fill:{type:["gradient","solid"],opacity:1},tooltip:{x:{format:"yyyy"},fixed:{enabled:!1,position:"topRight"}},grid:{yaxis:{lines:{offsetX:-30}},padding:{left:20}}}).render();var t={chart:{height:350,type:"area",stacked:!0,events:{selection:function(e,a){console.log(new Date(a.xaxis.min))}},toolbar:{show:!1}},colors:["#008FFB","#00E396","#CED4DC"],dataLabels:{enabled:!1},stroke:{curve:"smooth"},series:[{name:"South",data:r(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:60})},{name:"North",data:r(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:20})},{name:"Central",data:r(new Date("11 Feb 2017 GMT").getTime(),20,{min:10,max:15})}],fill:{type:"gradient",gradient:{opacityFrom:.6,opacityTo:.8}},legend:{position:"top",horizontalAlign:"left"},xaxis:{type:"datetime"}};function r(e,a,t){for(var r=0,o=[];r<a;){var n=e,i=Math.floor(Math.random()*(t.max-t.min+1))+t.min;o.push([n,i]),e+=864e5,r++}return o}new ApexCharts(document.querySelector("#stackedAreaChart"),t).render();new ApexCharts(document.querySelector("#nullAreaChart"),{chart:{height:350,type:"area",zoom:{enabled:!1},animations:{enabled:!0,easing:"easeinout",speed:800,animateGradually:{enabled:!0,delay:150},dynamicAnimation:{enabled:!0,speed:350}}},dataLabels:{enabled:!1},stroke:{curve:"straight"},series:[{name:"Network",data:[{x:"Dec 23 2017",y:null},{x:"Dec 24 2017",y:44},{x:"Dec 25 2017",y:31},{x:"Dec 26 2017",y:38},{x:"Dec 27 2017",y:null},{x:"Dec 28 2017",y:32},{x:"Dec 29 2017",y:55},{x:"Dec 30 2017",y:51},{x:"Dec 31 2017",y:67},{x:"Jan 01 2018",y:22},{x:"Jan 02 2018",y:34},{x:"Jan 03 2018",y:null},{x:"Jan 04 2018",y:null},{x:"Jan 05 2018",y:11},{x:"Jan 06 2018",y:4},{x:"Jan 07 2018",y:15},{x:"Jan 08 2018",y:null},{x:"Jan 09 2018",y:9},{x:"Jan 10 2018",y:34},{x:"Jan 11 2018",y:null},{x:"Jan 12 2018",y:null},{x:"Jan 13 2018",y:13},{x:"Jan 14 2018",y:null}]}],fill:{opacity:.8,type:"pattern",pattern:{enabled:!0,style:["verticalLines","horizontalLines"],width:5,depth:6}},markers:{size:5,hover:{size:9}},tooltip:{intersect:!0,shared:!1},theme:{palette:"palette1"},xaxis:{type:"datetime"},yaxis:{title:{text:"Bytes Received"}}}).render()});