From 430c4030af6c95751174ce510f44fa2c6f8088ad Mon Sep 17 00:00:00 2001 From: Herbert Wolverson Date: Tue, 2 Jul 2024 14:56:58 -0500 Subject: [PATCH] Fix filled area on 5 minute view. --- .../js_build/src/graphs/throughput_ring_graph.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/rust/lqosd/src/node_manager/js_build/src/graphs/throughput_ring_graph.js b/src/rust/lqosd/src/node_manager/js_build/src/graphs/throughput_ring_graph.js index 0a65b7de..a5ccbc16 100644 --- a/src/rust/lqosd/src/node_manager/js_build/src/graphs/throughput_ring_graph.js +++ b/src/rust/lqosd/src/node_manager/js_build/src/graphs/throughput_ring_graph.js @@ -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;