diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-01-09 14:51:54 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-01-09 15:47:17 +0000 |
commit | 9411c6c106fbe355e61527984f93659f9103b1c9 (patch) | |
tree | de7ec47e97dfa37ba5a4589ba2464ac0a5276894 /web/js | |
parent | 072bc2a1ddc5ffd0d04001adf620b215f69e94fb (diff) |
Switch on monotone cubic interpolation.
This prevents e.g. the all reports graph dipping down.
Diffstat (limited to 'web/js')
-rw-r--r-- | web/js/dashboard.js | 5 |
1 files changed, 5 insertions, 0 deletions
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 |