Ajout condition

This commit is contained in:
Rodolphe Quiedeville 2005-11-14 08:35:36 +00:00
parent 80f69130b1
commit 376702ad75

View File

@ -83,12 +83,13 @@ class GraphBar extends DolibarrGraph {
} }
*/ */
$graph->title->Set($this->titre); $graph->title->Set($this->titre);
$graph->xaxis->SetTickLabels($labels);
//$graph->title->SetFont(FF_VERDANA,FS_NORMAL); //$graph->title->SetFont(FF_VERDANA,FS_NORMAL);
if (!$this->no_xaxis_title)
$graph->xaxis->SetTickLabels($labels); {
$graph->xaxis->title->Set(strftime("%d/%m/%y %H:%M:%S", time())); $graph->xaxis->title->Set(strftime("%d/%m/%y %H:%M:%S", time()));
}
$graph->Add($b2plot); $graph->Add($b2plot);