aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/entropy.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/entropy.php')
-rw-r--r--plugin/entropy.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/entropy.php b/plugin/entropy.php
index 0433a4f..0170335 100644
--- a/plugin/entropy.php
+++ b/plugin/entropy.php
@@ -10,7 +10,7 @@ require_once 'type/Default.class.php';
10 10
11$obj = new Type_Default($CONFIG, $_GET); 11$obj = new Type_Default($CONFIG, $_GET);
12$obj->data_sources = array('value'); 12$obj->data_sources = array('value');
13$obj->ds_names = array( 13$obj->legend = array(
14 'value' => 'Entropy bits', 14 'value' => 'Entropy bits',
15); 15);
16$obj->colors = array( 16$obj->colors = array(
@@ -24,8 +24,8 @@ $obj->rrd_format = '%4.0lf';
24if ($CONFIG['version'] < 5) { 24if ($CONFIG['version'] < 5) {
25 $obj->data_sources = array('entropy'); 25 $obj->data_sources = array('entropy');
26 26
27 $obj->ds_names['entropy'] = $obj->ds_names['value']; 27 $obj->legend['entropy'] = $obj->legend['value'];
28 unset($obj->ds_names['value']); 28 unset($obj->legend['value']);
29 29
30 $obj->colors['entropy'] = $obj->colors['value']; 30 $obj->colors['entropy'] = $obj->colors['value'];
31 unset($obj->colors['value']); 31 unset($obj->colors['value']);