mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 08:02:51 +02:00
fixes to ntp application and improvement to common grapher
git-svn-id: http://www.observium.org/svn/observer/trunk@2628 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -11,10 +11,12 @@ if ($_GET['title'] == "yes") { $rrd_options .= " --title='".$graph_title."' ";
|
||||
if (isset($_GET['graph_title'])) { $rrd_options .= " --title='".$_GET['graph_title']."' "; }
|
||||
|
||||
|
||||
if (!$scale_min && !$scale_max) { $rrd_options .= " --alt-autoscale-max"; }
|
||||
#if (!isset($scale_min) && !isset($scale_max)) { $rrd_options .= " --alt-autoscale-max"; }
|
||||
|
||||
if (isset($scale_min)) { $rrd_options .= " -l $scale_min"; }
|
||||
if (isset($scale_max)) { $rrd_options .= " -u $scale_max"; }
|
||||
if (isset($scale_rigid)) { $rrd_options .= " -r"; }
|
||||
|
||||
|
||||
$rrd_options .= " -E --start ".$from." --end " . $to . " --width ".$width." --height ".$height." ";
|
||||
$rrd_options .= $config['rrdgraph_def_text'];
|
||||
|
||||
Reference in New Issue
Block a user