Mise à jour des classes de graph utilisées

This commit is contained in:
Rodolphe Quiedeville 2004-03-09 14:28:20 +00:00
parent e791432e7b
commit 6f92468795

View File

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