Merge branch '96-availability-report-icons-on-pdf-6' into 'pandora_6.0'

Not show graph legend icons - #96

See merge request !268
This commit is contained in:
vgilc 2017-03-27 10:20:14 +02:00
commit 001ac8faf2
1 changed files with 5 additions and 0 deletions

View File

@ -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] = '<span>'.__('Ignore time'). '</span>';
}
$table->colspan['charts']['cell'] = 2;
$table->data['charts']['cell'] = html_print_table($table1, true);
$table->colspan['legend']['cell'] = 2;