From 80d990c591991e84b2008536d316658477134341 Mon Sep 17 00:00:00 2001 From: Avi Tzurel Date: Wed, 30 Jan 2013 11:59:35 +0200 Subject: [PATCH] Make the history graph more readable Hovering in the history graph now has formatted number, really useful when you have a lot of jobs processed daily. --- web/assets/javascripts/dashboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/assets/javascripts/dashboard.js b/web/assets/javascripts/dashboard.js index 4132837e..58e53fb9 100644 --- a/web/assets/javascripts/dashboard.js +++ b/web/assets/javascripts/dashboard.js @@ -97,7 +97,7 @@ var historyGraph = function() { var hoverDetail = new Rickshaw.Graph.HoverDetail({ graph: graph, - yFormatter: function(y) { return Math.floor(y) }, + yFormatter: function(y) { return Math.floor(y).numberWithDelimiter() }, }); }