From 10ad741a22797b6710be1091d9e502e71929f255 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Fri, 17 Sep 2010 21:24:35 +0200 Subject: automatic alignment of graph legend Function fill_ds_names is renamed to parse_ds_names and now also appends spaces to ds_names to make them equal of lenght. --- plugin/memory.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugin/memory.php') diff --git a/plugin/memory.php b/plugin/memory.php index 71e395c..ca85078 100644 --- a/plugin/memory.php +++ b/plugin/memory.php @@ -16,11 +16,11 @@ require_once 'inc/collectd.inc.php'; $obj = new Type_GenericStacked($CONFIG); $obj->order = array('free', 'buffered', 'cached', 'locked', 'used'); $obj->ds_names = array( - 'free' => 'Free ', - 'cached' => 'Cached ', + 'free' => 'Free', + 'cached' => 'Cached', 'buffered' => 'Buffered', - 'locked' => 'Locked ', - 'used' => 'Used ', + 'locked' => 'Locked', + 'used' => 'Used', ); $obj->colors = array( 'free' => '00e000', -- cgit v1.1