[pdm-devel] [PATCH datacenter-manager] ui: pve: make memory graph use binary labels

Dominik Csapak d.csapak at proxmox.com
Fri May 23 15:07:11 CEST 2025


Same as for the node graphs, and the graphs on the PVE web UI.

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 ui/src/pve/lxc.rs  | 1 +
 ui/src/pve/qemu.rs | 1 +
 2 files changed, 2 insertions(+)

diff --git a/ui/src/pve/lxc.rs b/ui/src/pve/lxc.rs
index c43ac9e..0132ecd 100644
--- a/ui/src/pve/lxc.rs
+++ b/ui/src/pve/lxc.rs
@@ -380,6 +380,7 @@ impl yew::Component for LxcanelComp {
                         .with_child(
                             RRDGraph::new(self.time.clone())
                                 .title(tr!("Memory usage"))
+                                .binary(true)
                                 .render_value(|v: &f64| {
                                     if v.is_finite() {
                                         proxmox_human_byte::HumanByte::from(*v as u64).to_string()
diff --git a/ui/src/pve/qemu.rs b/ui/src/pve/qemu.rs
index 57e5e74..5339bbc 100644
--- a/ui/src/pve/qemu.rs
+++ b/ui/src/pve/qemu.rs
@@ -389,6 +389,7 @@ impl yew::Component for QemuPanelComp {
                         .with_child(
                             RRDGraph::new(self.time.clone())
                                 .title(tr!("Memory usage"))
+                                .binary(true)
                                 .render_value(|v: &f64| {
                                     if v.is_finite() {
                                         proxmox_human_byte::HumanByte::from(*v as u64).to_string()
-- 
2.39.5





More information about the pdm-devel mailing list