mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user