From 98ddef5b8bfb4be071fdd24969dc439d04f8246a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Mon, 7 Dec 2020 13:35:26 +0100 Subject: [PATCH] fix: Month starts at 1, not 0 --- website/web/static/stats_graph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/web/static/stats_graph.js b/website/web/static/stats_graph.js index c43e2ba5..3580caff 100644 --- a/website/web/static/stats_graph.js +++ b/website/web/static/stats_graph.js @@ -16,7 +16,7 @@ d3.json('/json/stats').then(json => { }); var x_scale = d3.scaleLinear() - .domain([0, 12]) + .domain([1, 12]) .range([0, width]); var y_scale = d3.scaleLinear() .domain([ 0,