From d6ca6a52c71b8102dd0ec85f2b57c54f48b2a26c Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sat, 9 Dec 2006 13:49:10 +0000 Subject: [PATCH] Correction Bug #18495 --- htdocs/dolgraph.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/dolgraph.class.php b/htdocs/dolgraph.class.php index 8cad4b5f354..512811a3fbb 100644 --- a/htdocs/dolgraph.class.php +++ b/htdocs/dolgraph.class.php @@ -217,7 +217,7 @@ class DolGraph $plot = new BarPlot($newvalues); $plot->barShadow->setSize(2); - $plot->barShadow->setPosition(Shadow::RIGHT_TOP); + $plot->barShadow->setPosition('Shadow::RIGHT_TOP'); $plot->barShadow->setColor(new Color(160, 160, 160, 10)); $plot->barShadow->smooth(TRUE); //$plot->setSize(1, 0.96); @@ -257,7 +257,7 @@ class DolGraph if ($nblot >= 2) { - $group->legend->add($plot, $this->Legend[$i], Legend::MARK); + $group->legend->add($plot, $this->Legend[$i], 'Legend::MARK'); $group->add($plot); }