mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Automatically rotate the RTT 3D graph
This commit is contained in:
parent
8e8f9ebef0
commit
efb1b7fd76
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user