diff --git a/htdocs/product/stats/fiche.php b/htdocs/product/stats/fiche.php index d66f1582a92..a1fc71f39ea 100644 --- a/htdocs/product/stats/fiche.php +++ b/htdocs/product/stats/fiche.php @@ -21,7 +21,7 @@ */ require("./pre.inc.php"); require("../../propal.class.php"); -require("../../graph.class.php"); +//require("../../graph.class.php"); llxHeader(); @@ -54,10 +54,10 @@ if ($id) if (! file_exists($filev) or $action == 'recalcul') { - $px = new Graph(); + $px = new BarGraph(); $graph_data = $product->get_num_vente(); $px->draw($filev, $graph_data); - $px = new Graph(); + $px = new BarGraph(); $graph_data = $product->get_nb_vente(); $px->draw($filenv, $graph_data); $mesg = "Graphiques générés";