summaryrefslogtreecommitdiffstats
path: root/module/web/static
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/static')
-rw-r--r--module/web/static/js/views/headerView.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/web/static/js/views/headerView.js b/module/web/static/js/views/headerView.js
index 7705b7076..9e18734d4 100644
--- a/module/web/static/js/views/headerView.js
+++ b/module/web/static/js/views/headerView.js
@@ -76,7 +76,7 @@ define(['jquery', 'underscore', 'backbone', 'app', 'models/ServerStatus', 'colle
shadowSize: 0,
color: "#fee247"
},
- xaxis: { ticks: [], mode: "time" },
+ xaxis: { ticks: [] },
yaxis: { ticks: [], min: 1, autoscaleMargin: 0.1, tickFormatter: function(data) {
return formatSize(data * 1024);
}, position: "right" },
@@ -98,6 +98,7 @@ define(['jquery', 'underscore', 'backbone', 'app', 'models/ServerStatus', 'colle
// queue/processing size?
var status = this.status.toJSON();
+ status.maxspeed = _.max(this.speeds, function(speed) {return speed[1];})[1] * 1024;
this.$('.status-block').html(
this.templateStatus(status)
);