remove legend from aggregate graph in ports section in device overview

git-svn-id: http://www.observium.org/svn/observer/trunk@1065 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-04-17 11:01:00 +00:00
parent 2498912b41
commit 878290108a

View File

@@ -9,13 +9,15 @@ if($ports['total']) {
$graph_array['to'] = $now;
$graph_array['device'] = $device['device_id'];
$graph_array['type'] = "device_bits";
$graph_array['from'] = $day;
$graph_array['from'] = $day;
$graph_array['legend'] = "no";
$graph = generate_graph_tag($graph_array);
$content = "<div class=list-large>".$device['hostname']." - Device Traffic</div>";
$content .= "<div style=\'width: 850px\'>";
$graph_array['width'] = "340";
$graph_array['legend'] = "yes";
$graph_array['width'] = "340";
$graph_array['from'] = $day;
$content .= generate_graph_tag($graph_array);
$graph_array['from'] = $week;