Ajout condition
This commit is contained in:
parent
80f69130b1
commit
376702ad75
@ -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);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user