From edae75c21a8f657dd6cc9ace9e8e844ef337a951 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Sat, 3 May 2014 18:15:12 +0200 Subject: rename ds_names and dsname to legend This had nothing to do with an RRD data source. --- plugin/swap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin/swap.php') diff --git a/plugin/swap.php b/plugin/swap.php index 5b02130..140772c 100644 --- a/plugin/swap.php +++ b/plugin/swap.php @@ -15,7 +15,7 @@ switch(GET('t')) { require_once 'type/GenericStacked.class.php'; $obj = new Type_GenericStacked($CONFIG, $_GET); $obj->order = array('free', 'cached', 'used'); - $obj->ds_names = array( + $obj->legend = array( 'free' => 'Free', 'cached' => 'Cached', 'used' => 'Used', @@ -32,7 +32,7 @@ switch(GET('t')) { require_once 'type/GenericIO.class.php'; $obj = new Type_GenericIO($CONFIG, $_GET); $obj->order = array('out', 'in'); - $obj->ds_names = array( + $obj->legend = array( 'out' => 'Out', 'in' => 'In', ); -- cgit v1.1