Suppression des output

This commit is contained in:
Rodolphe Quiedeville 2006-12-10 14:30:31 +00:00
parent 5594613e4c
commit d55d44de3c

View File

@ -65,6 +65,7 @@ if ($resql)
while ($row = $db->fetch_row($resql)) while ($row = $db->fetch_row($resql))
{ {
$fdir = $dir.'/'.get_exdir($row[0],3); $fdir = $dir.'/'.get_exdir($row[0],3);
if ($verbose)
print $fdir."\n"; print $fdir."\n";
create_exdir($fdir); create_exdir($fdir);
$fournisseurs[$row[0]] = $fdir; $fournisseurs[$row[0]] = $fdir;
@ -119,7 +120,6 @@ foreach ($fournisseurs as $id => $fdir)
function graph_datas($file, $title, $values, $legends) function graph_datas($file, $title, $values, $legends)
{ {
$graph = new Graph(500, 200); $graph = new Graph(500, 200);
$graph->title->set($title); $graph->title->set($title);
$graph->title->setFont(new Tuffy(10)); $graph->title->setFont(new Tuffy(10));
@ -131,11 +131,8 @@ function graph_datas($file, $title, $values, $legends)
$graph->setAntiAliasing(TRUE); $graph->setAntiAliasing(TRUE);
$graph->setBackgroundColor( $color ); $graph->setBackgroundColor( $color );
//$plot->yAxis->title->set("euros");
$plot = new BarPlot($values); $plot = new BarPlot($values);
$plot->setBarGradient( $plot->setBarGradient(
new LinearGradient( new LinearGradient(
new Color(244,244,244), new Color(244,244,244),
@ -151,12 +148,10 @@ function graph_datas($file, $title, $values, $legends)
$plot->barShadow->setColor(new Color(180, 180, 180, 10)); $plot->barShadow->setColor(new Color(180, 180, 180, 10));
$plot->barShadow->smooth(TRUE); $plot->barShadow->smooth(TRUE);
$plot->xAxis->setLabelText($legends); $plot->xAxis->setLabelText($legends);
$plot->xAxis->label->setFont(new Tuffy(7)); $plot->xAxis->label->setFont(new Tuffy(7));
$graph->add($plot); $graph->add($plot);
$graph->draw($file); $graph->draw($file);
} }
?> ?>