Round memory numbers.

This commit is contained in:
Herbert Wolverson 2023-03-20 16:52:17 +00:00
parent f0aaa05e38
commit e7e7a089ee

View File

@ -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'
}];