diff --git a/html/includes/graphs/generic_duplex.inc.php b/html/includes/graphs/generic_duplex.inc.php index 83dda877ff..6a11166efe 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 20f0254339..c004af6228 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']; }