]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Added Y axis title in graphs (unit GB)
authorDavide Franco <bacula-dev@dflc.ch>
Mon, 13 Jun 2011 19:26:04 +0000 (21:26 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 2 Aug 2011 09:56:16 +0000 (11:56 +0200)
gui/bacula-web/backupjob-report.php
gui/bacula-web/index.php

index fd9f4391f07b6741095b07d58c2cfa5bf7ed0ed6..5918aec36d15a77edbcddd85f6feee1bea558871 100644 (file)
@@ -60,6 +60,7 @@
        \r
   $graph->SetData( $days_stored_bytes, 'bars', 'text-data' );\r
   $graph->SetGraphSize( 400, 230 );\r
+  $graph->SetYTitle( "GB" );
 \r
   $graph->Render();\r
   $dbSql->tpl->assign('graph_stored_bytes', $graph->Get_Image_file() );        
@@ -78,6 +79,7 @@
   \r
   $graph->SetData( $days_stored_files, 'bars', 'text-data' );\r
   $graph->SetGraphSize( 400, 230 );\r
+  $graph->SetYTitle( "Files" );
 \r
   $graph->Render();\r
   $dbSql->tpl->assign('graph_stored_files', $graph->Get_Image_file() );
index 592fed14ee0a9001bbc56df54b0866391ea261f4..c614a686cfcf1c92862080deefbcf29313ce8c2a 100644 (file)
@@ -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() );