mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix MPTCP graph
This commit is contained in:
parent
befc55a567
commit
34045b2a6d
1 changed files with 4 additions and 3 deletions
|
@ -437,6 +437,7 @@
|
||||||
var toadditf = [ ];
|
var toadditf = [ ];
|
||||||
for (var itf in data)
|
for (var itf in data)
|
||||||
{
|
{
|
||||||
|
//if (itf == "total") continue;
|
||||||
uplineDnl[itf] = [ ];
|
uplineDnl[itf] = [ ];
|
||||||
downlineDnl[itf]= [ ];
|
downlineDnl[itf]= [ ];
|
||||||
uplineUpl[itf] = [ ];
|
uplineUpl[itf] = [ ];
|
||||||
|
@ -523,7 +524,7 @@
|
||||||
|
|
||||||
for (var itf in uplineDnl)
|
for (var itf in uplineDnl)
|
||||||
{
|
{
|
||||||
//if (itf == "total") continue;
|
if (itf == "total") continue;
|
||||||
var y_rx = 0;
|
var y_rx = 0;
|
||||||
var y_tx = 0;
|
var y_tx = 0;
|
||||||
|
|
||||||
|
@ -594,7 +595,7 @@
|
||||||
if (typeof dntopline != "object")
|
if (typeof dntopline != "object")
|
||||||
{
|
{
|
||||||
dntopline = Gdn.getElementById('rx');
|
dntopline = Gdn.getElementById('rx');
|
||||||
dntopline.setAttributeNS(null, 'style', 'stroke:DimGray;stroke-width:1;stroke-linecap="round";fill:;fill-opacity:0;');
|
dntopline.setAttributeNS(null, 'style', 'stroke:DimGray;stroke-width:0;stroke-linecap="round";fill:;fill-opacity:0;');
|
||||||
/* Move line on top */
|
/* Move line on top */
|
||||||
var father = dntopline.parentNode;
|
var father = dntopline.parentNode;
|
||||||
father.removeChild(dntopline);
|
father.removeChild(dntopline);
|
||||||
|
@ -603,7 +604,7 @@
|
||||||
if (typeof uptopline != "object")
|
if (typeof uptopline != "object")
|
||||||
{
|
{
|
||||||
uptopline = Gup.getElementById('tx');
|
uptopline = Gup.getElementById('tx');
|
||||||
uptopline.setAttributeNS(null, 'style', 'stroke:DimGray;stroke-width:1;stroke-linecap="round";fill:;fill-opacity:0;');
|
uptopline.setAttributeNS(null, 'style', 'stroke:DimGray;stroke-width:0;stroke-linecap="round";fill:;fill-opacity:0;');
|
||||||
/* Move line on top */
|
/* Move line on top */
|
||||||
var father = uptopline.parentNode;
|
var father = uptopline.parentNode;
|
||||||
father.removeChild(uptopline);
|
father.removeChild(uptopline);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue