From: Davide Franco Date: Wed, 1 Dec 2010 17:08:51 +0000 (+0100) Subject: bacula-web: Improved SetLegend loop in BGraph classe X-Git-Tag: Release-5.2.1~815 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1a3da971de33a35d91231020314a692dfb34f547;p=bacula%2Fbacula bacula-web: Improved SetLegend loop in BGraph classe --- diff --git a/gui/bacula-web/bgraph.inc.php b/gui/bacula-web/bgraph.inc.php index bc69282759..9ea23f3b3d 100644 --- a/gui/bacula-web/bgraph.inc.php +++ b/gui/bacula-web/bgraph.inc.php @@ -97,10 +97,7 @@ class BGraph{ $legends = array(); foreach( $this->data as $key => $legend ) { $this->plot->SetLegend( implode(': ',$legend) ); - //array_push( $legends, $legend[0] ); } - - //$this->plot->SetLegend( $legends ); # Turn off X tick labels and ticks because they don't apply here: $this->plot->SetXTickLabelPos('none');