From: Davide Franco Date: Mon, 13 Jun 2011 19:26:04 +0000 (+0200) Subject: bacula-web: Added Y axis title in graphs (unit GB) X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=54c5f5244f4ecb22204842d68821de1682784aef;p=bacula%2Fbacula bacula-web: Added Y axis title in graphs (unit GB) --- 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() );