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 1a477ab4..cf1166e7 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 @@ -25,9 +25,11 @@ export class RttHistogram extends DashboardGraph { }, yAxis: { type: 'value', - name: "Samples", + name: "% of Samples", nameLocation: 'middle', nameGap: 40, + min: () => 0, + max: () => 100, }, series: { data: d, @@ -39,8 +41,9 @@ export class RttHistogram extends DashboardGraph { update(rtt) { this.chart.hideLoading(); + let sum = rtt.reduce((a, b) => a + b, 0); for (let i=0; i