diff options
Diffstat (limited to '')
-rw-r--r-- | plugin/filecount.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/filecount.php b/plugin/filecount.php index 5fa524d..ead8df8 100644 --- a/plugin/filecount.php +++ b/plugin/filecount.php | |||
@@ -17,13 +17,13 @@ $obj->data_sources = array('value'); | |||
17 | 17 | ||
18 | switch($obj->args['type']) { | 18 | switch($obj->args['type']) { |
19 | case 'bytes': | 19 | case 'bytes': |
20 | $obj->ds_names = array('value' => 'Size'); | 20 | $obj->legend = array('value' => 'Size'); |
21 | $obj->colors = array('value' => '0000ff'); | 21 | $obj->colors = array('value' => '0000ff'); |
22 | $obj->rrd_title = sprintf('Filecount: size (%s)', $obj->args['pinstance']); | 22 | $obj->rrd_title = sprintf('Filecount: size (%s)', $obj->args['pinstance']); |
23 | $obj->rrd_vertical = 'Bytes'; | 23 | $obj->rrd_vertical = 'Bytes'; |
24 | break; | 24 | break; |
25 | case 'files': | 25 | case 'files': |
26 | $obj->ds_names = array('value' => 'Files'); | 26 | $obj->legend = array('value' => 'Files'); |
27 | $obj->colors = array('value' => 'f0a000'); | 27 | $obj->colors = array('value' => 'f0a000'); |
28 | $obj->rrd_title = sprintf('Filecount: number of files (%s)', $obj->args['pinstance']); | 28 | $obj->rrd_title = sprintf('Filecount: number of files (%s)', $obj->args['pinstance']); |
29 | $obj->rrd_vertical = 'Files'; | 29 | $obj->rrd_vertical = 'Files'; |