[pve-devel] [PATCH pve-manager 1/1] ui: node memory RRD: make 'Available' a line graph

Dominik Csapak d.csapak at proxmox.com
Mon Aug 4 15:29:28 CEST 2025


instead of an area graph. Give it the same color as the 'hostmem' one
from the qemu guests (a neutral color that draws not too much
attraction).

While at it, order it last, since it was just ordered second so the
overlapping colors would not clash.

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
requires the previous patch to have correct tooltips.

 www/manager6/node/Summary.js | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/www/manager6/node/Summary.js b/www/manager6/node/Summary.js
index 343d4189..64ed3b07 100644
--- a/www/manager6/node/Summary.js
+++ b/www/manager6/node/Summary.js
@@ -206,7 +206,6 @@ Ext.define('PVE.node.Summary', {
                                         },
                                     },
                                 },
-                                'memavailable',
                                 {
                                     yField: 'memused',
                                     title: gettext('Used'),
@@ -236,14 +235,24 @@ Ext.define('PVE.node.Summary', {
                                     },
                                 },
                                 'arcsize',
+                                {
+                                    type: 'line',
+                                    fill: false,
+                                    yField: 'memavailable',
+                                    title: gettext('Available'),
+                                    style: {
+                                        lineWidth: 2.5,
+                                        opacity: 1,
+                                    },
+                                },
                             ],
                             fieldTitles: [
                                 gettext('Total'),
-                                gettext('Available'),
                                 gettext('Used'),
                                 gettext('ZFS ARC'),
+                                gettext('Available'),
                             ],
-                            colors: ['#94ae0a', '#94ae0a', '#115fa6', '#7c7474'],
+                            colors: ['#94ae0a', '#115fa6', '#7c7474', '#c4c0c0'],
                             unit: 'bytes',
                             powerOfTwo: true,
                             store: rrdstore,
-- 
2.39.5





More information about the pve-devel mailing list