From ec9028c3b2223b3379de25de7ffa146802a3db9b Mon Sep 17 00:00:00 2001 From: Herbert Wolverson Date: Tue, 28 Mar 2023 13:15:53 +0000 Subject: [PATCH] Change units on backlog graph to packets. FIXES #304 --- src/rust/lqos_node_manager/static/circuit_queue.html | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/rust/lqos_node_manager/static/circuit_queue.html b/src/rust/lqos_node_manager/static/circuit_queue.html index 718a5327..6b0e96aa 100644 --- a/src/rust/lqos_node_manager/static/circuit_queue.html +++ b/src/rust/lqos_node_manager/static/circuit_queue.html @@ -389,14 +389,7 @@ if (this.backlogPlotted == null) { this.backlogPlotted = true; - Plotly.newPlot( - graph, - graphData, - { - margin: { l: 0, r: 0, b: 0, t: 0, pad: 4 }, - yaxis: { automargin: true, title: "Bytes" }, - xaxis: { automargin: true, title: "Time since now" } - }); + Plotly.newPlot(graph, graphData, { margin: { l: 0, r: 0, b: 0, t: 0, pad: 4 }, yaxis: { automargin: true, title: "Packets" }, xaxis: { automargin: true, title: "Time since now" } }); } else { Plotly.redraw(graph, graphData); }