mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
better graph browser and fixed collectd graphtype to allow showing of legend
git-svn-id: http://www.observium.org/svn/observer/trunk@2571 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -204,7 +204,7 @@ if(isset($rrd_cmd))
|
||||
$rrd_cmd .= " -s " . $from . " -e " . $to;
|
||||
}
|
||||
|
||||
if ($_GET['legend'] == "no" || $_GET['legend'] == 0) { $rrd_cmd .= " -g "; }
|
||||
if ($_GET['legend'] == "no") { $rrd_cmd .= " -g "; }
|
||||
|
||||
if ($height < "99") { $rrd_cmd .= " --only-graph "; }
|
||||
if ($width <= "300") { $rrd_cmd .= " --font LEGEND:7:" . $config['mono_font'] . " --font AXIS:6:" . $config['mono_font'] . " "; }
|
||||
|
Reference in New Issue
Block a user