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/cpu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/cpu.php') diff --git a/plugin/cpu.php b/plugin/cpu.php index 76914a7..2965c9e 100644 --- a/plugin/cpu.php +++ b/plugin/cpu.php @@ -19,7 +19,7 @@ require_once 'type/GenericStacked.class.php'; $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