From 48566e15326061b2f9b0d61accbe7f4811e19bb5 Mon Sep 17 00:00:00 2001 From: James Smith Date: Fri, 1 Jul 2016 14:22:57 +0100 Subject: [PATCH] Y axes should start at zero Because anything else is bad data presentation. --- lib/public/javascripts/chart.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/public/javascripts/chart.js b/lib/public/javascripts/chart.js index f6df78d6..554b952b 100644 --- a/lib/public/javascripts/chart.js +++ b/lib/public/javascripts/chart.js @@ -78,6 +78,7 @@ function getLayout(title, textcolour, boxcolour) { } }, yaxis: { + rangemode: 'tozero', gridcolor: '#D3D3D3', tickangle: 315, tickfont: {