summaryrefslogtreecommitdiff
path: root/mirrors
diff options
context:
space:
mode:
Diffstat (limited to 'mirrors')
-rw-r--r--mirrors/static/mirror_status.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/mirrors/static/mirror_status.js b/mirrors/static/mirror_status.js
index d107d7d1..1c352a9f 100644
--- a/mirrors/static/mirror_status.js
+++ b/mirrors/static/mirror_status.js
@@ -23,11 +23,11 @@ function mirror_status(chart_id, data_url) {
x.domain([
d3.min(data, function(c) { return d3.min(c.logs, function(v) { return v.check_time; }); }),
d3.max(data, function(c) { return d3.max(c.logs, function(v) { return v.check_time; }); })
- ]);
+ ]).nice(d3.time.hour);
y.domain([
d3.min(data, function(c) { return d3.min(c.logs, function(v) { return v.duration; }); }),
d3.max(data, function(c) { return d3.max(c.logs, function(v) { return v.duration; }); })
- ]);
+ ]).nice();
/* build the axis lines... */
svg.append("g")