mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Round memory numbers.
This commit is contained in:
parent
f0aaa05e38
commit
e7e7a089ee
@ -230,7 +230,7 @@
|
||||
msgPackGet("/api/ram", (ram) => {
|
||||
let graph = document.getElementById("ram");
|
||||
let data = [{
|
||||
values: [ram[0], ram[1] - ram[0]],
|
||||
values: [Math.round(ram[0]), Math.round(ram[1] - ram[0])],
|
||||
labels: ['Used', 'Available'],
|
||||
type: 'pie'
|
||||
}];
|
||||
|
Loading…
Reference in New Issue
Block a user