From 8b6d69813eca676aa2ce4b25563a1e1d55bfc1cd Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 6 Dec 2006 00:45:58 +0000 Subject: [PATCH] =?UTF-8?q?New:=20On=20d=E9finit=20la=20constante=20MAIN?= =?UTF-8?q?=5FGRAPH=5FLIBRARY=20qui=20pourra=20etre=20utilis=E9=20pour=20c?= =?UTF-8?q?hoisir=20la=20librairie=20graphique=20utilis=E9e.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/product/stats/fiche.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/htdocs/product/stats/fiche.php b/htdocs/product/stats/fiche.php index 8bfef4711d6..557798e2524 100644 --- a/htdocs/product/stats/fiche.php +++ b/htdocs/product/stats/fiche.php @@ -169,14 +169,13 @@ if ($_GET["id"] || $_GET["ref"]) $px->SetShading(5); //print 'x '.$key.' '.$graphfiles[$key]['file']; + // Pour orders, on force la lib graphique sur artichow + // \todo A supprimer car on peut switcher entre artichow et phplot par la + // constante MAIN_GRAPH_LIBRARY qui peut valoir ('artichow' ou 'phplot') if ($key == 'orders') { $px->library = 'artichow'; } - else - { - $px->library = 'phplot'; - } $px->draw($dir."/".$graphfiles[$key]['file']); }