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/processes.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugin/processes.php') diff --git a/plugin/processes.php b/plugin/processes.php index 934dead..caf445b 100644 --- a/plugin/processes.php +++ b/plugin/processes.php @@ -17,11 +17,11 @@ require_once 'inc/collectd.inc.php'; $obj = new Type_GenericStacked($CONFIG); $obj->ds_names = array( - 'paging' => 'Paging ', - 'blocked' => 'Blocked ', - 'zombies' => 'Zombies ', - 'stopped' => 'Stopped ', - 'running' => 'Running ', + 'paging' => 'Paging', + 'blocked' => 'Blocked', + 'zombies' => 'Zombies', + 'stopped' => 'Stopped', + 'running' => 'Running', 'sleeping' => 'Sleeping', 'value' => 'Forks', ); -- cgit v1.1