From 878290108a7e7bc07c22e629f8184843ea239583 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Sat, 17 Apr 2010 11:01:00 +0000 Subject: [PATCH] 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 --- html/pages/device/overview/ports.inc.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/html/pages/device/overview/ports.inc.php b/html/pages/device/overview/ports.inc.php index 4b42e759b..5d415c8c0 100644 --- a/html/pages/device/overview/ports.inc.php +++ b/html/pages/device/overview/ports.inc.php @@ -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 = "
".$device['hostname']." - Device Traffic
"; $content .= "
"; - $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;