Fix network I/O chart not rendering.

Close #200.
This commit is contained in:
Joker_
2024-08-02 00:07:12 +08:00
committed by GitHub
parent 1d965da7d0
commit d5cc6a6859

View File

@@ -698,8 +698,8 @@
} }
function updateChart() { function updateChart() {
//networkStatisticChart.data.datasets[0].data = rxValues; networkStatisticChart.data.datasets[0].data = rxValues;
//networkStatisticChart.data.datasets[1].data = txValues; networkStatisticChart.data.datasets[1].data = txValues;
if (networkStatisticChart != undefined){ if (networkStatisticChart != undefined){
networkStatisticChart.update(); networkStatisticChart.update();
} }