mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Label axes on RTT histogram
This commit is contained in:
parent
671614f3b8
commit
ccb9047400
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user