public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pdm-devel] [PATCH datacenter-manager] ui: pve: make memory graph use binary labels
@ 2025-05-23 13:07 Dominik Csapak
  0 siblings, 0 replies; only message in thread
From: Dominik Csapak @ 2025-05-23 13:07 UTC (permalink / raw)
  To: pdm-devel

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

Signed-off-by: Dominik Csapak <d.csapak@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



_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-05-23 13:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-23 13:07 [pdm-devel] [PATCH datacenter-manager] ui: pve: make memory graph use binary labels Dominik Csapak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal