From 45a07ecabf4fa4aa07ba5d661a8f21178878240d Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Fri, 25 May 2012 13:49:59 +0000 Subject: [PATCH] generic_duplex previous add transparent area git-svn-id: http://www.observium.org/svn/observer/trunk@3241 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/graphs/generic_duplex.inc.php | 2 ++ html/map.php | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/html/includes/graphs/generic_duplex.inc.php b/html/includes/graphs/generic_duplex.inc.php index 83dda877f..6a11166ef 100644 --- a/html/includes/graphs/generic_duplex.inc.php +++ b/html/includes/graphs/generic_duplex.inc.php @@ -122,7 +122,9 @@ if ($percentile) if($_GET['previous'] == "yes") { $rrd_options .= " LINE1.25:in".$format."X#666666:'Prev In \\\\n'"; + $rrd_options .= " AREA:in".$format."X#99999966:"; $rrd_options .= " LINE1.25:dout".$format."X#666666:'Prev Out'"; + $rrd_options .= " AREA:dout".$format."X#99999966:"; } $rrd_options .= " HRULE:0#999999"; diff --git a/html/map.php b/html/map.php index 20f025433..c004af622 100755 --- a/html/map.php +++ b/html/map.php @@ -199,8 +199,6 @@ if (isset($_GET['format']) && preg_match("/^[a-z]*$/", $_GET['format'])) if ($links > 30) // Unflatten if there are more than 10 links. beyond that it gets messy { -# $maptool = $config['unflatten'] . ' -f -l 5 | ' . $config['sfdp'] . ' -Gpack -Gcharset=latin1 | '.$config['dot']; - $maptool = $config['neato']; $maptool = $config['dot']; } else { $maptool = $config['dot']; @@ -209,7 +207,7 @@ if (isset($_GET['format']) && preg_match("/^[a-z]*$/", $_GET['format'])) if ($where == '') { # $maptool = $config['unflatten'] . ' -f -l 5 | ' . $config['sfdp'] . ' -Gpack -Goverlap=prism -Gcharset=latin1 | dot'; -# $maptool = $config['sfdp'] . ' -Gpack -Goverlap=prism -Gcharset=latin1 -Gsize=20,20'; + $maptool = $config['sfdp'] . ' -Gpack -Goverlap=prism -Gcharset=latin1 -Gsize=20,20'; $maptool = $config['dot']; }