diff options
Diffstat (limited to 'plugin/memcached.php')
-rw-r--r-- | plugin/memcached.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/plugin/memcached.php b/plugin/memcached.php index 09715ae..62eebfd 100644 --- a/plugin/memcached.php +++ b/plugin/memcached.php | |||
@@ -27,7 +27,7 @@ switch(GET('t')) { | |||
27 | $obj = new Type_Default($CONFIG, $_GET); | 27 | $obj = new Type_Default($CONFIG, $_GET); |
28 | $obj->data_sources = array('used', 'free'); | 28 | $obj->data_sources = array('used', 'free'); |
29 | $obj->order = array('used', 'free'); | 29 | $obj->order = array('used', 'free'); |
30 | $obj->ds_names = array( | 30 | $obj->legend = array( |
31 | 'used' => 'Used', | 31 | 'used' => 'Used', |
32 | 'free' => 'Free', | 32 | 'free' => 'Free', |
33 | ); | 33 | ); |
@@ -44,7 +44,7 @@ switch(GET('t')) { | |||
44 | require_once 'type/GenericStacked.class.php'; | 44 | require_once 'type/GenericStacked.class.php'; |
45 | $obj = new Type_GenericStacked($CONFIG, $_GET); | 45 | $obj = new Type_GenericStacked($CONFIG, $_GET); |
46 | $obj->order = array('flush', 'get', 'set'); | 46 | $obj->order = array('flush', 'get', 'set'); |
47 | $obj->ds_names = array( | 47 | $obj->legend = array( |
48 | 'flush' => 'Flush', | 48 | 'flush' => 'Flush', |
49 | 'get' => 'Get', | 49 | 'get' => 'Get', |
50 | 'set' => 'Set', | 50 | 'set' => 'Set', |
@@ -63,7 +63,7 @@ switch(GET('t')) { | |||
63 | require_once 'type/Default.class.php'; | 63 | require_once 'type/Default.class.php'; |
64 | $obj = new Type_Default($CONFIG, $_GET); | 64 | $obj = new Type_Default($CONFIG, $_GET); |
65 | $obj->data_sources = array('value'); | 65 | $obj->data_sources = array('value'); |
66 | $obj->ds_names = array( | 66 | $obj->legend = array( |
67 | 'value' => 'Connections', | 67 | 'value' => 'Connections', |
68 | ); | 68 | ); |
69 | $obj->colors = array( | 69 | $obj->colors = array( |
@@ -78,7 +78,7 @@ switch(GET('t')) { | |||
78 | require_once 'type/Default.class.php'; | 78 | require_once 'type/Default.class.php'; |
79 | $obj = new Type_Default($CONFIG, $_GET); | 79 | $obj = new Type_Default($CONFIG, $_GET); |
80 | $obj->data_sources = array('value'); | 80 | $obj->data_sources = array('value'); |
81 | $obj->ds_names = array( | 81 | $obj->legend = array( |
82 | 'value ' => 'Items', | 82 | 'value ' => 'Items', |
83 | ); | 83 | ); |
84 | $obj->colors = array( | 84 | $obj->colors = array( |
@@ -94,7 +94,7 @@ switch(GET('t')) { | |||
94 | $obj = new Type_Default($CONFIG, $_GET); | 94 | $obj = new Type_Default($CONFIG, $_GET); |
95 | $obj->data_sources = array('rx', 'tx'); | 95 | $obj->data_sources = array('rx', 'tx'); |
96 | $obj->order = array('rx', 'tx'); | 96 | $obj->order = array('rx', 'tx'); |
97 | $obj->ds_names = array( | 97 | $obj->legend = array( |
98 | 'rx' => 'Receive', | 98 | 'rx' => 'Receive', |
99 | 'tx' => 'Transmit', | 99 | 'tx' => 'Transmit', |
100 | ); | 100 | ); |
@@ -111,7 +111,7 @@ switch(GET('t')) { | |||
111 | require_once 'type/GenericStacked.class.php'; | 111 | require_once 'type/GenericStacked.class.php'; |
112 | $obj = new Type_GenericStacked($CONFIG, $_GET); | 112 | $obj = new Type_GenericStacked($CONFIG, $_GET); |
113 | $obj->order = array('evictions', 'hits', 'misses'); | 113 | $obj->order = array('evictions', 'hits', 'misses'); |
114 | $obj->ds_names = array( | 114 | $obj->legend = array( |
115 | 'evictions' => 'Evictions', | 115 | 'evictions' => 'Evictions', |
116 | 'hits' => 'Hits', | 116 | 'hits' => 'Hits', |
117 | 'misses' => 'Misses', | 117 | 'misses' => 'Misses', |
@@ -130,7 +130,7 @@ switch(GET('t')) { | |||
130 | require_once 'type/Default.class.php'; | 130 | require_once 'type/Default.class.php'; |
131 | $obj = new Type_Default($CONFIG, $_GET); | 131 | $obj = new Type_Default($CONFIG, $_GET); |
132 | $obj->data_sources = array('percent'); | 132 | $obj->data_sources = array('percent'); |
133 | $obj->ds_names = array( | 133 | $obj->legend = array( |
134 | 'percent ' => 'Percentage', | 134 | 'percent ' => 'Percentage', |
135 | ); | 135 | ); |
136 | $obj->colors = array( | 136 | $obj->colors = array( |
@@ -145,7 +145,7 @@ switch(GET('t')) { | |||
145 | $obj = new Type_Default($CONFIG, $_GET); | 145 | $obj = new Type_Default($CONFIG, $_GET); |
146 | $obj->data_sources = array('threads'); | 146 | $obj->data_sources = array('threads'); |
147 | $obj->order = array('threads'); | 147 | $obj->order = array('threads'); |
148 | $obj->ds_names = array( | 148 | $obj->legend = array( |
149 | 'threads' => 'Threads', | 149 | 'threads' => 'Threads', |
150 | ); | 150 | ); |
151 | $obj->colors = array( | 151 | $obj->colors = array( |
@@ -161,7 +161,7 @@ switch(GET('t')) { | |||
161 | $obj = new Type_Default($CONFIG, $_GET); | 161 | $obj = new Type_Default($CONFIG, $_GET); |
162 | $obj->data_sources = array('user', 'syst'); | 162 | $obj->data_sources = array('user', 'syst'); |
163 | $obj->order = array('user', 'syst'); | 163 | $obj->order = array('user', 'syst'); |
164 | $obj->ds_names = array( | 164 | $obj->legend = array( |
165 | 'user' => 'User', | 165 | 'user' => 'User', |
166 | 'syst' => 'System', | 166 | 'syst' => 'System', |
167 | ); | 167 | ); |