From a4feccf9e41a7f2df1a688a0eb36e58654982c06 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Tue, 17 Apr 2012 13:38:32 +0000 Subject: [PATCH] re-enable autoscale alt. don't know why it was commented out git-svn-id: http://www.observium.org/svn/observer/trunk@3042 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/graphs/common.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/includes/graphs/common.inc.php b/html/includes/graphs/common.inc.php index 35f23a04cc..13308f4982 100644 --- a/html/includes/graphs/common.inc.php +++ b/html/includes/graphs/common.inc.php @@ -11,7 +11,7 @@ if ($_GET['legend'] == "no") { $rrd_options = " -g"; } if ($_GET['title'] == "yes") { $rrd_options .= " --title='".$graph_title."' "; } if (isset($_GET['graph_title'])) { $rrd_options .= " --title='".$_GET['graph_title']."' "; } -#if (!isset($scale_min) && !isset($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"; }