mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Fixup flows chart
This commit is contained in:
@@ -20,11 +20,6 @@ export class FlowCountGraph extends DashboardGraph {
|
||||
},
|
||||
yAxis: {
|
||||
type: 'value',
|
||||
axisLabel: {
|
||||
formatter: (val) => {
|
||||
return scaleNumber(Math.abs(val));
|
||||
},
|
||||
}
|
||||
},
|
||||
series: {
|
||||
name: 'flows',
|
||||
@@ -34,6 +29,7 @@ export class FlowCountGraph extends DashboardGraph {
|
||||
tooltip: {
|
||||
trigger: 'item',
|
||||
},
|
||||
animation: false,
|
||||
}
|
||||
this.option && this.chart.setOption(this.option);
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ function onMessage(msg) {
|
||||
break;
|
||||
case "histogram": {
|
||||
rttHisto.update(msg.data);
|
||||
}
|
||||
} break;
|
||||
case "flows": {
|
||||
tpFlows.update(msg.data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user