function swapStyleSheet(a){document.getElementById("pagestyle").setAttribute("href",a)}$(document).ready(function(){$(".settings").click(function(){$("#settings").toggleClass("active")}),$(".detailbtn").click(function(){$(".visible").fadeOut("200",function(){$("#itemtable").stop().animate({width:"300"},700,function(){$(".closeDetail").fadeIn(500,function(){}),$(".drillcontainer").slideDown(500,function(){drawChart()})})})}),$(".closeDetail").click(function(){$(".drillcontainer").slideUp(500,function(){$("#itemtable").stop().animate({width:"100%"},400,function(){$(".visible").fadeIn("200",function(){$(".closeDetail").fadeOut(500,function(){})})})})})}),$(function(){function a(){var a=screenfull.element;$("#status").text("Is fullscreen: "+screenfull.isFullscreen),a&&$("#element").text("Element: "+a.localName+(a.id?"#"+a.id:"")),screenfull.isFullscreen||($("#external-iframe").remove(),document.body.style.overflow="auto")}if($("#supported").text("Supported/allowed: "+!!screenfull.enabled),!screenfull.enabled)return!1;$("#request").click(function(){screenfull.request($("#container")[0])}),$("#exit").click(function(){screenfull.exit()}),screenfull.on("change",a),a()});var chartData={labels:["January","February","March","April","May","June","July"],datasets:[{type:"line",label:"Dataset 1",borderColor:"#226B9D",borderWidth:2,fill:!1,data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()]},{type:"bar",label:"Dataset 2",backgroundColor:"#FE802A",data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()]},{type:"bar",label:"Dataset 3",backgroundColor:"#309F39",data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()]}]},drawChart=function(){var a=document.getElementById("canvas").getContext("2d");window.myMixedChart=new Chart(a,{type:"bar",data:chartData,options:{responsive:!0,title:{display:!1,text:"Chart.js Combo Bar Line Chart"},tooltips:{mode:"index",intersect:!0},legend:{display:!0,labels:{fontColor:"rgb(255, 255, 255)"},position:"bottom"},scales:{xAxes:[{display:!0,gridLines:{color:"#666",zeroLineColor:"#666",fontColor:"#fff"},ticks:{fontColor:"#fff"}}],yAxes:[{display:!0,gridLines:{color:"#666",zeroLineColor:"#666"},ticks:{fontColor:"#fff"}}]}}})};