From 5afb09eea8d56cc2528a8032c490569dbe7175e1 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Wed, 6 Jan 2016 12:35:15 -0800 Subject: [PATCH] Make charts end at current time, rather than the last data point. --- static/babystats.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/babystats.js b/static/babystats.js index c6874ba..2c3f645 100644 --- a/static/babystats.js +++ b/static/babystats.js @@ -968,6 +968,7 @@ BabyStats.prototype.updateDisplayPage_ = function() { color: '#8A9B0F', }, viewWindow: { + max: new Date(), }, }, vAxis: {