diff --git a/htdocs/dolgraph.class.php b/htdocs/dolgraph.class.php index 35015bcc404..be6673090df 100644 --- a/htdocs/dolgraph.class.php +++ b/htdocs/dolgraph.class.php @@ -58,7 +58,7 @@ class DolGraph var $PrecisionY=-1; var $SetHorizTickIncrement=-1; var $SetNumXTicks=-1; - var $Legend=''; + var $Legend=array(); var $LegendWidthMin=0; var $graph; // Objet Graph (PHPlot ou Artichow...)