]> 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)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:39:43 +0000 (14:39 +0200)
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');