Imported Upstream version 0.6.26
This commit is contained in:
@@ -106,8 +106,11 @@ class Rrdtool_Model extends System_Model
|
||||
if ($height > 0){
|
||||
$command .= " --height=$height";
|
||||
}
|
||||
if ($height < 81 ){
|
||||
$command .= " --only-graph ";
|
||||
if ($height < 81 || (isset($conf['graph_only']) && $conf['graph_only'])){
|
||||
$command .= " --only-graph";
|
||||
}
|
||||
elseif (isset($conf['no_legend']) && $conf['no_legend']){
|
||||
$command .= " --no-legend";
|
||||
}
|
||||
|
||||
$command .= $RRD_CMD;
|
||||
|
||||
Reference in New Issue
Block a user