From ccb904740014a5c30c8e85299de01870fe259abc Mon Sep 17 00:00:00 2001 From: Herbert Wolverson Date: Sat, 29 Jun 2024 10:10:52 -0500 Subject: [PATCH] Label axes on RTT histogram --- .../lqosd/src/node_manager/js_build/src/graphs/rtt_histo.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/rust/lqosd/src/node_manager/js_build/src/graphs/rtt_histo.js b/src/rust/lqosd/src/node_manager/js_build/src/graphs/rtt_histo.js index 23ee96b5..7f5ec67e 100644 --- a/src/rust/lqosd/src/node_manager/js_build/src/graphs/rtt_histo.js +++ b/src/rust/lqosd/src/node_manager/js_build/src/graphs/rtt_histo.js @@ -11,15 +11,17 @@ export class RttHistogram extends DashboardGraph { value: i, itemStyle: {color: lerpGreenToRedViaOrange(20-i, 20)}, }); - axis.push(i.toString()); + axis.push((i*10).toString()); } this.option = { xAxis: { type: 'category', data: axis, + name: "RTT" }, yAxis: { type: 'value', + name: "Samples" }, series: { data: d,