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/aggregation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/aggregation.php') diff --git a/plugin/aggregation.php b/plugin/aggregation.php index 2a74403..0d28fae 100644 --- a/plugin/aggregation.php +++ b/plugin/aggregation.php @@ -15,7 +15,7 @@ switch($pi[0]) { $obj = new Type_GenericStacked($CONFIG, $_GET); $obj->data_sources = array('value'); $obj->order = array('idle', 'nice', 'user', 'wait', 'system', 'softirq', 'interrupt', 'steal'); - $obj->ds_names = array( + $obj->legend = array( 'idle' => 'Idle', 'nice' => 'Nice', 'user' => 'User', -- cgit v1.1