From 9411c6c106fbe355e61527984f93659f9103b1c9 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Tue, 9 Jan 2018 14:51:54 +0000 Subject: Switch on monotone cubic interpolation. This prevents e.g. the all reports graph dipping down. --- web/js/dashboard.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'web/js/dashboard.js') diff --git a/web/js/dashboard.js b/web/js/dashboard.js index b2a87c142..b35af2996 100644 --- a/web/js/dashboard.js +++ b/web/js/dashboard.js @@ -137,6 +137,11 @@ $(function(){ setUpLabelsForChart(this); } }, + elements: { + line: { + cubicInterpolationMode: 'monotone' + } + }, layout: { padding: { top: 4 -- cgit v1.2.3