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