From efb1b7fd768c792b5b4553695f4a34c5b304bbcb Mon Sep 17 00:00:00 2001 From: Herbert Wolverson Date: Sat, 29 Jun 2024 09:56:40 -0500 Subject: [PATCH] Automatically rotate the RTT 3D graph --- .../src/node_manager/js_build/src/graphs/rtt_histo_3d.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/rust/lqosd/src/node_manager/js_build/src/graphs/rtt_histo_3d.js b/src/rust/lqosd/src/node_manager/js_build/src/graphs/rtt_histo_3d.js index 5779fee0..e2742c35 100644 --- a/src/rust/lqosd/src/node_manager/js_build/src/graphs/rtt_histo_3d.js +++ b/src/rust/lqosd/src/node_manager/js_build/src/graphs/rtt_histo_3d.js @@ -39,8 +39,11 @@ export class RttHistogram3D extends DashboardGraph { intensity: 1.2 }, ambient: { - intensity: 0.3 + intensity: 0.2 } + }, + viewControl: { + autoRotate: true, } }, series: [{ @@ -57,6 +60,7 @@ export class RttHistogram3D extends DashboardGraph { update(rtt) { this.chart.hideLoading(); + //for (let i=0; i<20; i++) rtt[i] += 20-i; this.ring.push(rtt); this.option.series[0].data = this.ring.series(); this.chart.setOption(this.option);