diff options
| author | Pim van den Berg | 2014-05-03 18:15:12 +0200 |
|---|---|---|
| committer | Pim van den Berg | 2014-05-03 19:21:36 +0200 |
| commit | edae75c21a8f657dd6cc9ace9e8e844ef337a951 (patch) | |
| tree | da0c2b4a1ef35a3d2d8c129925e257f6a6f7fbe3 /plugin/cpu.php | |
| parent | type/base: set default values for rrd_title and rrd_format (diff) | |
| download | apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.zip apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.gz apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.bz2 apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.xz | |
rename ds_names and dsname to legend
This had nothing to do with an RRD data source.
Diffstat (limited to 'plugin/cpu.php')
| -rw-r--r-- | plugin/cpu.php | 2 |
1 files changed, 1 insertions, 1 deletions
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'; | |||
| 19 | $obj = new Type_GenericStacked($CONFIG, $_GET); | 19 | $obj = new Type_GenericStacked($CONFIG, $_GET); |
| 20 | $obj->data_sources = array('value'); | 20 | $obj->data_sources = array('value'); |
| 21 | $obj->order = array('idle', 'nice', 'user', 'wait', 'system', 'softirq', 'interrupt', 'steal'); | 21 | $obj->order = array('idle', 'nice', 'user', 'wait', 'system', 'softirq', 'interrupt', 'steal'); |
| 22 | $obj->ds_names = array( | 22 | $obj->legend = array( |
| 23 | 'idle' => 'Idle', | 23 | 'idle' => 'Idle', |
| 24 | 'nice' => 'Nice', | 24 | 'nice' => 'Nice', |
| 25 | 'user' => 'User', | 25 | 'user' => 'User', |
