mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Change units on backlog graph to packets. FIXES #304
This commit is contained in:
parent
83825e0376
commit
ec9028c3b2
@ -389,14 +389,7 @@
|
|||||||
|
|
||||||
if (this.backlogPlotted == null) {
|
if (this.backlogPlotted == null) {
|
||||||
this.backlogPlotted = true;
|
this.backlogPlotted = true;
|
||||||
Plotly.newPlot(
|
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" } });
|
||||||
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" }
|
|
||||||
});
|
|
||||||
} else {
|
} else {
|
||||||
Plotly.redraw(graph, graphData);
|
Plotly.redraw(graph, graphData);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user