Fixed netflow items visualization in reports. Ticket #4273

This commit is contained in:
Arturo Gonzalez 2016-12-20 13:14:11 +01:00
parent 54e31c5a10
commit 6d7b8e8477
1 changed files with 15 additions and 10 deletions

View File

@ -280,44 +280,49 @@ function reporting_make_reporting_data($report = null, $id_report,
$force_height_chart); $force_height_chart);
break; break;
case 'netflow_area': case 'netflow_area':
$report['contents'][] = reporting_simple_baseline_graph( $report['contents'][] = reporting_netflow(
$report, $report,
$content, $content,
$type, $type,
$force_width_chart, $force_width_chart,
$force_height_chart); $force_height_chart,
'netflow_area');
break; break;
case 'netflow_pie': case 'netflow_pie':
$report['contents'][] = reporting_netflow_pie( $report['contents'][] = reporting_netflow(
$report, $report,
$content, $content,
$type, $type,
$force_width_chart, $force_width_chart,
$force_height_chart); $force_height_chart,
'netflow_pie');
break; break;
case 'netflow_data': case 'netflow_data':
$report['contents'][] = reporting_netflow_data( $report['contents'][] = reporting_netflow(
$report, $report,
$content, $content,
$type, $type,
$force_width_chart, $force_width_chart,
$force_height_chart); $force_height_chart,
'netflow_data');
break; break;
case 'netflow_statistics': case 'netflow_statistics':
$report['contents'][] = reporting_netflow_statistics( $report['contents'][] = reporting_netflow(
$report, $report,
$content, $content,
$type, $type,
$force_width_chart, $force_width_chart,
$force_height_chart); $force_height_chart,
'netflow_statistics');
break; break;
case 'netflow_summary': case 'netflow_summary':
$report['contents'][] = reporting_netflow_summary( $report['contents'][] = reporting_netflow(
$report, $report,
$content, $content,
$type, $type,
$force_width_chart, $force_width_chart,
$force_height_chart); $force_height_chart,
'netflow_summary');
break; break;
case 'monitor_report': case 'monitor_report':
$report['contents'][] = reporting_monitor_report( $report['contents'][] = reporting_monitor_report(