Fixup flows chart

This commit is contained in:
Herbert Wolverson
2024-06-21 14:58:34 -05:00
parent 3a73eec975
commit 65dcde15c4
2 changed files with 2 additions and 6 deletions

View File

@@ -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);
}

View File

@@ -39,7 +39,7 @@ function onMessage(msg) {
break;
case "histogram": {
rttHisto.update(msg.data);
}
} break;
case "flows": {
tpFlows.update(msg.data);
}