feat: add compiled application javascript
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
/*! For license information please see mobileux-wallet.js.LICENSE.txt */
|
||||
"use strict";document.addEventListener("DOMContentLoaded",(function(){window.randomScalingFactor=function(){return Math.round(20*Math.random())};var t=document.getElementById("summarychart").getContext("2d"),a=t.createLinearGradient(0,0,0,100);a.addColorStop(0,"rgba(255, 138, 84, 0.85)"),a.addColorStop(1,"rgba(119, 198, 255, 0)");var o={type:"bar",data:{labels:["10:30","11:00","11:30","12:00","12:30","01:00","01:30"],datasets:[{label:"# of hours",data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()],radius:0,backgroundColor:"#0049e8",borderColor:"#0049e8",borderWidth:0,barThickness:6,fill:!0,tension:.5},{label:"# of hours",data:[randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor(),randomScalingFactor()],radius:0,backgroundColor:a,borderColor:"#03045e",borderWidth:0,barThickness:6,fill:!0,tension:.5}]},options:{animation:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1}},scales:{y:{display:!1,beginAtZero:!0},x:{grid:{display:!1},display:!0,beginAtZero:!0}}}},r=new Chart(t,o);setInterval((function(){o.data.datasets.forEach((function(t){t.data=t.data.map((function(){return randomScalingFactor()}))})),r.update()}),3e3);var e=document.getElementById("doughnutchart").getContext("2d");new Chart(e,{type:"doughnut",data:{labels:["IT","Bio","Designing","Other"],datasets:[{label:"Learning Categories",data:[45,30,25,10],backgroundColor:["rgba(246, 50, 72, 0.85)","rgba(255, 159, 80, 0.85)","#0049e8","#becede"],borderWidth:0}]},options:{responsive:!0,cutout:50,tooltips:{position:"nearest",yAlign:"bottom"},plugins:{legend:{display:!1,position:"top"},title:{display:!1,text:"Chart.js Doughnut Chart"}},layout:{padding:0}}});new ProgressBar.Circle(circleprogressblue1,{color:"#0049e8",strokeWidth:10,trailWidth:10,easing:"easeInOut",trailColor:"rgba(0, 73, 232, 0.15)",duration:1400,text:{autoStyleContainer:!1},from:{color:"#0049e8",width:10},to:{color:"#0049e8",width:10},step:function(t,a){a.path.setAttribute("stroke",t.color),a.path.setAttribute("stroke-width",t.width);var o=Math.round(100*a.value());0===o?a.setText(""):a.setText(o+"<small>%<small>")}}).animate(.65),new ProgressBar.Circle(circleprogressgreen1,{color:"#91C300",strokeWidth:10,trailWidth:10,easing:"easeInOut",trailColor:"#eaf4d8",duration:1400,text:{autoStyleContainer:!1},from:{color:"#91C300",width:10},to:{color:"#91C300",width:10},step:function(t,a){a.path.setAttribute("stroke",t.color),a.path.setAttribute("stroke-width",t.width);var o=Math.round(100*a.value());0===o?a.setText(""):a.setText(o+"<small>%<small>")}}).animate(.85)}));
|
||||
Reference in New Issue
Block a user