diff --git a/pandora_console/include/functions_reporting_html.php b/pandora_console/include/functions_reporting_html.php index e55c67f02c..596b296d3a 100644 --- a/pandora_console/include/functions_reporting_html.php +++ b/pandora_console/include/functions_reporting_html.php @@ -2455,6 +2455,9 @@ function reporting_html_availability_graph(&$table, $item, $pdf=0) { } } + + if($item['type'] == 'availability_graph'){ + //table_legend_graphs; $table2 = new stdClass(); $table2->width = '99%'; @@ -2490,6 +2493,8 @@ function reporting_html_availability_graph(&$table, $item, $pdf=0) { $table2->size[11] = '15%'; $table2->data[0][11] = ''.__('Ignore time'). ''; + } + $table->colspan['charts']['cell'] = 2; $table->data['charts']['cell'] = html_print_table($table1, true); $table->colspan['legend']['cell'] = 2;