Remove debug stuff
This commit is contained in:
parent
21b361da3a
commit
e036d969ca
1 changed files with 3 additions and 6 deletions
|
@ -93,14 +93,11 @@
|
|||
function mkRow(c){var a="createElement",r=document[a]("tr");c.map(function(C){var A=document[a]("td");A.innerHTML=C;r.appendChild(A)});return r;}
|
||||
|
||||
// Load from backend
|
||||
var statHost = "https://stats.crunchy.rocks";
|
||||
req([
|
||||
Qapi(statHost + "/stats"),
|
||||
Qapi(statHost + "/users"),
|
||||
Qapi("/stats"),
|
||||
Qapi("/users"),
|
||||
Qready
|
||||
], function(stats, users) {
|
||||
console.log(stats);
|
||||
|
||||
var font = "'Source Sans Pro', sans-serif";
|
||||
Chart.defaults.global.defaultFontFamily = font;
|
||||
Chart.defaults.global.legend.labels.fontFamily = font;
|
||||
|
@ -150,7 +147,7 @@
|
|||
var hourchart = new Chart(hourctx, {
|
||||
type: 'bar',
|
||||
data: {
|
||||
labels: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24"],
|
||||
labels: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23"],
|
||||
datasets: [{
|
||||
label: "Messaggi",
|
||||
fillColor: "rgba(151,187,205,0.5)",
|
||||
|
|
Reference in a new issue