diff --git a/templates/main.html b/templates/main.html
index 026f8f6..242357c 100644
--- a/templates/main.html
+++ b/templates/main.html
@@ -85,7 +85,7 @@
var i;
var j = JSON.parse(httpGet("/stats"));
- console.log(memChart.data.datasets[0].data);
+
memChart.data.datasets.forEach(dataset => {
dataset.data = j[0];
});