From 54c5f5244f4ecb22204842d68821de1682784aef Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Mon, 13 Jun 2011 21:26:04 +0200 Subject: [PATCH] bacula-web: Added Y axis title in graphs (unit GB) --- gui/bacula-web/backupjob-report.php | 2 ++ gui/bacula-web/index.php | 1 + 2 files changed, 3 insertions(+) diff --git a/gui/bacula-web/backupjob-report.php b/gui/bacula-web/backupjob-report.php index fd9f4391f0..5918aec36d 100644 --- a/gui/bacula-web/backupjob-report.php +++ b/gui/bacula-web/backupjob-report.php @@ -60,6 +60,7 @@ $graph->SetData( $days_stored_bytes, 'bars', 'text-data' ); $graph->SetGraphSize( 400, 230 ); + $graph->SetYTitle( "GB" ); $graph->Render(); $dbSql->tpl->assign('graph_stored_bytes', $graph->Get_Image_file() ); @@ -78,6 +79,7 @@ $graph->SetData( $days_stored_files, 'bars', 'text-data' ); $graph->SetGraphSize( 400, 230 ); + $graph->SetYTitle( "Files" ); $graph->Render(); $dbSql->tpl->assign('graph_stored_files', $graph->Get_Image_file() ); diff --git a/gui/bacula-web/index.php b/gui/bacula-web/index.php index 592fed14ee..c614a686cf 100644 --- a/gui/bacula-web/index.php +++ b/gui/bacula-web/index.php @@ -128,6 +128,7 @@ foreach( $days as $day ) { $graph->SetData( $days_stored_bytes, 'bars', 'text-data' ); $graph->SetGraphSize( 400, 230 ); +$graph->SetYTitle( "GB" ); $graph->Render(); $dbSql->tpl->assign('graph_stored_bytes', $graph->Get_Image_file() ); -- 2.39.5