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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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