mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Fix filled area on 5 minute view.
This commit is contained in:
parent
b2f6961be2
commit
430c4030af
@ -36,6 +36,9 @@ export class ThroughputRingBufferGraph extends DashboardGraph {
|
||||
opacity: 0,
|
||||
},
|
||||
symbol: 'none',
|
||||
areaStyle: {
|
||||
color: 'green'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'shaped1',
|
||||
@ -100,8 +103,8 @@ class RingBuffer {
|
||||
}
|
||||
|
||||
push(shaped, unshaped) {
|
||||
this.data[this.head][0] = shaped.down;
|
||||
this.data[this.head][1] = 0.0 - shaped.up;
|
||||
this.data[this.head][1] = shaped.down;
|
||||
this.data[this.head][0] = 0.0 - shaped.up;
|
||||
this.data[this.head][2] = unshaped.down;
|
||||
this.data[this.head][3] = 0.0 - unshaped.up;
|
||||
this.head += 1;
|
||||
|
Loading…
Reference in New Issue
Block a user