]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Improved SetLegend loop in BGraph classe
authorDavide Franco <bacula-dev@dflc.ch>
Wed, 1 Dec 2010 17:08:51 +0000 (18:08 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 2 Dec 2010 17:46:17 +0000 (18:46 +0100)
gui/bacula-web/bgraph.inc.php

index bc69282759f717867c06653bac532ecf5eb1440f..9ea23f3b3dd242f42d8adf63ed32c4dc8cf72300 100644 (file)
@@ -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');