mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-04 16:12:20 +02: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:
@@ -10,11 +10,13 @@ if($ports['total']) {
|
|||||||
$graph_array['device'] = $device['device_id'];
|
$graph_array['device'] = $device['device_id'];
|
||||||
$graph_array['type'] = "device_bits";
|
$graph_array['type'] = "device_bits";
|
||||||
$graph_array['from'] = $day;
|
$graph_array['from'] = $day;
|
||||||
|
$graph_array['legend'] = "no";
|
||||||
$graph = generate_graph_tag($graph_array);
|
$graph = generate_graph_tag($graph_array);
|
||||||
|
|
||||||
|
|
||||||
$content = "<div class=list-large>".$device['hostname']." - Device Traffic</div>";
|
$content = "<div class=list-large>".$device['hostname']." - Device Traffic</div>";
|
||||||
$content .= "<div style=\'width: 850px\'>";
|
$content .= "<div style=\'width: 850px\'>";
|
||||||
|
$graph_array['legend'] = "yes";
|
||||||
$graph_array['width'] = "340";
|
$graph_array['width'] = "340";
|
||||||
$graph_array['from'] = $day;
|
$graph_array['from'] = $day;
|
||||||
$content .= generate_graph_tag($graph_array);
|
$content .= generate_graph_tag($graph_array);
|
||||||
|
|||||||
Reference in New Issue
Block a user