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/vmem.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugin/vmem.php') diff --git a/plugin/vmem.php b/plugin/vmem.php index e465932..d7f9830 100644 --- a/plugin/vmem.php +++ b/plugin/vmem.php @@ -29,10 +29,10 @@ switch($obj->args['type']) { break; case 'vmpage_io': $obj->data_sources = array('in', 'out'); - $obj->ds_names = array('memory-in' => 'Memory (in) ', + $obj->ds_names = array('memory-in' => 'Memory (in)', 'memory-out' => 'Memory (out)', - 'swap-in' => 'Swap (in) ', - 'swap-out' => 'Swap (out) '); + 'swap-in' => 'Swap (in)', + 'swap-out' => 'Swap (out)'); $obj->colors = array('memory-in' => 'ff0000', 'memory-out' => '0000ff', 'swap-in' => 'ff00ff', -- cgit v1.1