devshort

Unnamed repository; edit this file 'description' to name the repository.
git clone git://code.clttr.info/devshort.git
Log | Files | Refs | README | LICENSE

commit 125c54f6253cd5e5ee18e49819711f6b7acab80a
parent 01cc665afdb5fe65ccb8f7907099c50a6743d038
Author: Florian <flokX@users.noreply.github.com>
Date:   Sat, 26 Jan 2019 11:32:40 +0100

Delete main.min.js
Diffstat:
Dadmin/main.min.js | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/admin/main.min.js b/admin/main.min.js @@ -1 +0,0 @@ -function getRandomColor(){"use strict";for(var t="#",e=0;e<6;e++)t+="0123456789ABCDEF"[Math.floor(16*Math.random())];return t}var ctx=document.getElementById("chart").getContext("2d");$.getJSON("stats.json",function(t){"use strict";var e=[];$.each(t,function(t,a){var o=[],n=getRandomColor();$.each(a,function(t,e){o.push({x:t,y:e})}),e.push({label:t,backgroundColor:n,borderColor:n,data:o,fill:!1})});new Chart(ctx,{type:"line",data:{datasets:e},options:{responsive:!0,scales:{xAxes:[{type:"time",scaleLabel:{display:!0,labelString:"Date"}}],yAxes:[{ticks:{min:0},scaleLabel:{display:!0,labelString:"Request number"}}]}}})});