From a8650317ebf0fb13f353040b9151f6dfc9681790 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Sun, 6 Nov 2016 23:09:54 +0100 Subject: Change order of in/out bytes on overview port-graph Needs to match with the drill-down graphs so the colors match up. --- web/js/nms-info-box.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/js/nms-info-box.js') diff --git a/web/js/nms-info-box.js b/web/js/nms-info-box.js index cc39c68..3bc60af 100644 --- a/web/js/nms-info-box.js +++ b/web/js/nms-info-box.js @@ -601,7 +601,7 @@ var switchPortsPanel = function () { } var img = document.createElement("img"); var i = "totals"; - img.src = '/render/?target=cactiStyle(group(aliasByMetric(perSecond(sum(snmp.' + this.sw + '.*.ifHCOutOctets))),aliasByMetric(perSecond(sum(snmp.' + this.sw + '.*.ifHCInOctets)))),"binary")' + nmsInfoBox._graphDefaults(this.sw + "totals"); + img.src = '/render/?target=cactiStyle(group(aliasByMetric(perSecond(sum(snmp.' + this.sw + '.*.ifHCInOctets))),aliasByMetric(perSecond(sum(snmp.' + this.sw + '.*.ifHCOutOctets)))),"binary")' + nmsInfoBox._graphDefaults(this.sw + "totals"); img.classList.add("graph"); var expanderButton = document.createElement("a"); expanderButton.innerHTML = "Toggle all"; -- cgit v1.2.3