fix: NET图表最小量程100KB/s (102400 B/s)
This commit is contained in:
@@ -259,6 +259,7 @@
|
|||||||
if (charts.mem) charts.mem.update(memVal);
|
if (charts.mem) charts.mem.update(memVal);
|
||||||
if (charts.net) {
|
if (charts.net) {
|
||||||
charts.net.update(net.rx_bytes_sec||0, net.tx_bytes_sec||0);
|
charts.net.update(net.rx_bytes_sec||0, net.tx_bytes_sec||0);
|
||||||
|
charts.net.maxVal = Math.max(charts.net.maxVal, 102400);
|
||||||
}
|
}
|
||||||
} catch(e) {}
|
} catch(e) {}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user