Root Zanli
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
o5t6x7pgljbm
/
public_html
/
public
/
app-assets
/
js
/
scripts
/
Filename :
dashboard-ecommerce.min.js
back
Copy
!function(t){setTimeout(function(){M.toast({html:"Hey! I am a toast."})},2e3);var o=t.getElementById("thisYearRevenue").getContext("2d"),e=t.getElementById("lastYearRevenue").getContext("2d");Chart.defaults.LineAlt=Chart.defaults.line;var r=Chart.controllers.line.prototype.draw,a=Chart.controllers.line.extend({draw:function(){r.apply(this,arguments);var t=this.chart.chart.ctx,o=t.stroke;t.stroke=function(){t.save(),t.shadowColor="rgba(156, 46, 157,0.5)",t.shadowBlur=20,t.shadowOffsetX=2,t.shadowOffsetY=20,o.apply(this,arguments),t.restore()}}});Chart.controllers.LineAlt=a,Chart.defaults.LineAlt2=Chart.defaults.line;r=Chart.controllers.line.prototype.draw,a=Chart.controllers.line.extend({draw:function(){r.apply(this,arguments);var t=this.chart.chart.ctx,o=t.stroke;t.stroke=function(){t.save(),o.apply(this,arguments),t.restore()}}});Chart.controllers.LineAlt2=a;new Chart(o,{type:"LineAlt",data:{labels:["January","February","March","April","May","June"],datasets:[{label:"This year",data:[45,62,15,78,58,98],fill:!1,pointRadius:2.2,pointBorderWidth:1,borderColor:"#9C2E9D",borderWidth:5,pointBorderColor:"#9C2E9D",pointHighlightFill:"#9C2E9D",pointHoverBackgroundColor:"#9C2E9D",pointHoverBorderWidth:2}]},options:{responsive:!0,maintainAspectRatio:!0,datasetStrokeWidth:3,pointDotStrokeWidth:4,tooltipFillColor:"rgba(0,0,0,0.6)",legend:{display:!1,position:"bottom"},hover:{mode:"label"},scales:{xAxes:[{display:!1}],yAxes:[{ticks:{padding:10,stepSize:20,max:100,min:0,fontColor:"#9e9e9e"},gridLines:{display:!0,drawBorder:!1,lineWidth:1,zeroLineColor:"#e5e5e5"}}]},title:{display:!1,fontColor:"#FFF",fullWidth:!1,fontSize:40,text:"82%"}}}),new Chart(e,{type:"LineAlt2",data:{labels:["January","February","March","April","May","June"],datasets:[{label:"Last year dataset",data:[12,6,25,58,38,68],borderDash:[15,5],fill:!1,pointRadius:0,pointBorderWidth:0,borderColor:"#E4E4E4",borderWidth:5}]},options:{responsive:!0,maintainAspectRatio:!0,datasetStrokeWidth:3,pointDotStrokeWidth:4,tooltipFillColor:"rgba(0,0,0,0.6)",legend:{display:!1,position:"bottom"},hover:{mode:"label"},scales:{xAxes:[{display:!1}],yAxes:[{ticks:{padding:10,stepSize:20,max:100,min:0},gridLines:{display:!0,drawBorder:!1,lineWidth:1}}]},title:{display:!1,fontColor:"#FFF",fullWidth:!1,fontSize:40,text:"82%"}}});Chart.defaults.earnningLineShadow=Chart.defaults.line;r=Chart.controllers.line.prototype.draw,a=Chart.controllers.line.extend({draw:function(){r.apply(this,arguments);var t=this.chart.chart.ctx,o=t.stroke;t.stroke=function(){t.save(),t.shadowColor="rgba(255, 111, 0, 0.3",t.shadowBlur=14,t.shadowOffsetX=2,t.shadowOffsetY=16,o.apply(this,arguments),t.restore()}}});Chart.controllers.earnningLineShadow=a;var i=t.getElementById("monthlyEarning").getContext("2d");(p=i.createLinearGradient(500,0,0,200)).addColorStop(0,"#ffca28"),p.addColorStop(1,"#ff6f00");new Chart(i,{type:"earnningLineShadow",data:{labels:["1","2","3","4","5","6","7","8","8","8","8","8","8","8"],datasets:[{label:"This year dataset",lineTension:0,fill:!1,pointRadius:0,pointBorderWidth:0,borderColor:p,borderWidth:3,data:[50,40,30,55,50,90,40,50,40,70,55,80,50,55]}]},options:{responsive:!0,maintainAspectRatio:!0,datasetStrokeWidth:3,pointDotStrokeWidth:4,tooltipFillColor:"rgba(0,0,0,0.6)",layout:{padding:{left:50,right:0,top:0,bottom:0}},legend:{display:!1,position:"bottom"},hover:{mode:"label"},scales:{xAxes:[{display:!1}],yAxes:[{display:!1}]},title:{display:!1,fontColor:"#FFF",fullWidth:!1,fontSize:40,text:"82%"}}});var d={responsive:!0,maintainAspectRatio:!0,datasetStrokeWidth:3,pointDotStrokeWidth:4,tooltipFillColor:"rgba(0,0,0,0.6)",legend:{display:!1,position:"bottom"},hover:{mode:"label"},scales:{xAxes:[{display:!1}],yAxes:[{display:!1}]},title:{display:!1,fontColor:"#FFF",fullWidth:!1,fontSize:40,text:"82%"}},l=["January","February","March","April","May","June"],n=t.getElementById("custom-line-chart-sample-one").getContext("2d");(p=n.createLinearGradient(300,0,0,300)).addColorStop(0,"#0288d1"),p.addColorStop(1,"#26c6da"),(h=n.createLinearGradient(300,0,0,300)).addColorStop(0,"#0288d1"),h.addColorStop(1,"#26c6da");new Chart(n,{type:"line",data:{labels:l,datasets:[{label:"My Second dataset",borderColor:p,pointColor:"#fff",pointBorderColor:p,pointBackgroundColor:"#fff",pointHoverBackgroundColor:p,pointHoverBorderColor:p,pointRadius:4,pointBorderWidth:1,pointHoverRadius:4,pointHoverBorderWidth:1,fill:!0,backgroundColor:h,borderWidth:1,data:[24,18,20,30,40,43]}]},options:d});var s=t.getElementById("custom-line-chart-sample-two").getContext("2d");(p=s.createLinearGradient(500,0,0,200)).addColorStop(0,"#8e24aa"),p.addColorStop(1,"#ff6e40"),(h=s.createLinearGradient(500,0,0,200)).addColorStop(0,"#8e24aa"),h.addColorStop(1,"#ff6e40");new Chart(s,{type:"line",data:{labels:l,datasets:[{label:"My Second dataset",borderColor:p,pointColor:"#fff",pointBorderColor:p,pointBackgroundColor:"#fff",pointHoverBackgroundColor:p,pointHoverBorderColor:p,pointRadius:4,pointBorderWidth:1,pointHoverRadius:4,pointHoverBorderWidth:1,fill:!0,backgroundColor:h,borderWidth:1,data:[24,18,20,30,40,43]}]},options:d});var p,h,C=t.getElementById("custom-line-chart-sample-three").getContext("2d");(p=C.createLinearGradient(500,0,0,200)).addColorStop(0,"#ff6f00"),p.addColorStop(1,"#ffca28"),(h=C.createLinearGradient(500,0,0,200)).addColorStop(0,"#ff6f00"),h.addColorStop(1,"#ffca28");new Chart(C,{type:"line",data:{labels:l,datasets:[{label:"My Second dataset",borderColor:p,pointColor:"#fff",pointBorderColor:p,pointBackgroundColor:"#fff",pointHoverBackgroundColor:p,pointHoverBorderColor:p,pointRadius:4,pointBorderWidth:1,pointHoverRadius:4,pointHoverBorderWidth:1,fill:!0,backgroundColor:h,borderWidth:1,data:[24,18,20,30,40,43]}]},options:d})}((window,document),jQuery);