function initDonutChart(){Morris.Donut({element:"donut_chart",data:[{label:"iOS",value:21},{label:"Mac",value:39},{label:"Linux",value:9},{label:"Win",value:31}],colors:["#78c5d6","#459ba8","#79c267","#c5d647"],formatter:function(e){return e+"%"}})}function MorrisArea(){Morris.Area({element:"area_chart",data:[{period:"2011",Project1:0,Project2:0,Project3:15},{period:"2012",Project1:50,Project2:15,Project3:5},{period:"2013",Project1:10,Project2:50,Project3:23},{period:"2014",Project1:45,Project2:12,Project3:2},{period:"2015",Project1:20,Project2:12,Project3:55},{period:"2016",Project1:39,Project2:67,Project3:20},{period:"2017",Project1:20,Project2:9,Project3:5}],lineColors:["#86f0ff","#a17fdf","#ffcf4e"],xkey:"period",ykeys:["Project1","Project2","Project3"],labels:["Project1","Project2","Project3"],pointSize:2,lineWidth:1,resize:!0,fillOpacity:.5,behaveLikeLine:!0,gridLineColor:"#2f3b4c",hideHover:"auto"}),Morris.Area({element:"m_area_chart",data:[{period:"2014",iphone:78,ipad:45,itouch:55},{period:"2015",iphone:68,ipad:45,itouch:140},{period:"2016",iphone:59,ipad:124,itouch:85},{period:"2017",iphone:170,ipad:156,itouch:120}],xkey:"period",ykeys:["iphone","ipad","itouch"],labels:["iPhone","iPad","iPod Touch"],pointSize:3,fillOpacity:0,pointStrokeColors:["#222222","#cccccc","#ffc107"],behaveLikeLine:!0,gridLineColor:"#e0e0e0",lineWidth:2,hideHover:"auto",lineColors:["#222222","#cccccc","#ffc107"],resize:!0})}function Jknob(){$(".knob").knob({draw:function(){if("tron"==this.$.data("skin")){var e=this.angle(this.cv),i=this.startAngle,t=this.startAngle,o,r=t+e,l=!0;return this.g.lineWidth=this.lineWidth,this.o.cursor&&(t=r-.3)&&(r+=.3),this.o.displayPrevious&&(o=this.startAngle+this.angle(this.value),this.o.cursor&&(i=o-.3)&&(o+=.3),this.g.beginPath(),this.g.strokeStyle=this.previousColor,this.g.arc(this.xy,this.xy,this.radius-this.lineWidth,i,o,!1),this.g.stroke()),this.g.beginPath(),this.g.strokeStyle=this.o.fgColor,this.g.arc(this.xy,this.xy,this.radius-this.lineWidth,t,r,!1),this.g.stroke(),this.g.lineWidth=2,this.g.beginPath(),this.g.strokeStyle=this.o.fgColor,this.g.arc(this.xy,this.xy,this.radius-this.lineWidth+1+2*this.lineWidth/3,0,2*Math.PI,!1),this.g.stroke(),!1}}})}function CustomizedLine(){$("#linecustom1").sparkline("html",{height:"35px",width:"100%",lineColor:"#e5d1e4",fillColor:"#f3e8f2",minSpotColor:!0,maxSpotColor:!0,spotColor:"#e2a8df",spotRadius:1}),$("#linecustom2").sparkline("html",{height:"35px",width:"100%",lineColor:"#c9e3f4",fillColor:"#dfeefa",minSpotColor:!0,maxSpotColor:!0,spotColor:"#8dbfe0",spotRadius:1}),$("#linecustom3").sparkline("html",{height:"35px",width:"100%",lineColor:"#efded3",fillColor:"#f8f0ea",minSpotColor:!0,maxSpotColor:!0,spotColor:"#e0b89d",spotRadius:1})}$(function(){"use strict"}),$(window).on("scroll",function(){$(".card .sparkline").each(function(){$(this).offset().top<$(window).scrollTop()+400&&$(this).addClass("pullUp")})}),$(function(){"use strict";var e={US:298,SA:200,AU:760,IN:2e6,GB:120};$("#world-map-markers").length>0&&$("#world-map-markers").vectorMap({map:"world_mill_en",backgroundColor:"transparent",borderColor:"#fff",borderOpacity:.25,borderWidth:0,color:"#e6e6e6",regionStyle:{initial:{fill:"#f4f4f4"}},markerStyle:{initial:{r:5,fill:"#fff","fill-opacity":1,stroke:"#000","stroke-width":1,"stroke-opacity":.4}},markers:[{latLng:[21,78],name:"INDIA : 350"},{latLng:[-33,151],name:"Australia : 250"},{latLng:[36.77,-119.41],name:"USA : 250"},{latLng:[55.37,-3.41],name:"UK   : 250"},{latLng:[25.2,55.27],name:"UAE : 250"}],series:{regions:[{values:{US:"#49c5b6",SA:"#667add",AU:"#50d38a",IN:"#60bafd",GB:"#ff758e"},attribute:"fill"}]},hoverOpacity:null,normalizeFunction:"linear",zoomOnScroll:!1,scaleColors:["#000000","#000000"],selectedColor:"#000000",selectedRegions:[],enableZoom:!1,hoverColor:"#fff"}),$("#india").length>0&&$("#india").vectorMap({map:"in_mill",backgroundColor:"transparent",regionStyle:{initial:{fill:"#f4f4f4"}}}),$("#usa").length>0&&$("#usa").vectorMap({map:"us_aea_en",backgroundColor:"transparent",regionStyle:{initial:{fill:"#f4f4f4"}}}),$("#australia").length>0&&$("#australia").vectorMap({map:"au_mill",backgroundColor:"transparent",regionStyle:{initial:{fill:"#f4f4f4"}}}),$("#uk").length>0&&$("#uk").vectorMap({map:"uk_mill_en",backgroundColor:"transparent",regionStyle:{initial:{fill:"#f4f4f4"}}})});