Not show graph icons legend - #96

This commit is contained in:
enriquecd 2017-03-16 12:45:33 +01:00
parent 37fd8f8851
commit 8a547961c4
1 changed files with 4 additions and 0 deletions

View File

@ -2512,6 +2512,8 @@ function reporting_html_availability_graph(&$table, $item, $pdf=0) {
} }
} }
if($item['type'] == 'availability_graph'){
//table_legend_graphs; //table_legend_graphs;
$table2 = new stdClass(); $table2 = new stdClass();
$table2->width = '99%'; $table2->width = '99%';
@ -2547,6 +2549,8 @@ function reporting_html_availability_graph(&$table, $item, $pdf=0) {
$table2->size[11] = '15%'; $table2->size[11] = '15%';
$table2->data[0][11] = '<span>'.__('Ignore time'). '</span>'; $table2->data[0][11] = '<span>'.__('Ignore time'). '</span>';
}
$table->colspan['charts']['cell'] = 2; $table->colspan['charts']['cell'] = 2;
$table->data['charts']['cell'] = html_print_table($table1, true); $table->data['charts']['cell'] = html_print_table($table1, true);
$table->colspan['legend']['cell'] = 2; $table->colspan['legend']['cell'] = 2;