From 376702ad7508b3ce16a483dcd2d1d98b677fe91c Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 14 Nov 2005 08:35:36 +0000 Subject: [PATCH] Ajout condition --- htdocs/telephonie/stats/graph/bar.class.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/htdocs/telephonie/stats/graph/bar.class.php b/htdocs/telephonie/stats/graph/bar.class.php index c061505df52..2f1f934cc02 100644 --- a/htdocs/telephonie/stats/graph/bar.class.php +++ b/htdocs/telephonie/stats/graph/bar.class.php @@ -83,12 +83,13 @@ class GraphBar extends DolibarrGraph { } */ $graph->title->Set($this->titre); - + $graph->xaxis->SetTickLabels($labels); //$graph->title->SetFont(FF_VERDANA,FS_NORMAL); - - $graph->xaxis->SetTickLabels($labels); + if (!$this->no_xaxis_title) + { $graph->xaxis->title->Set(strftime("%d/%m/%y %H:%M:%S", time())); + } $graph->Add($b2plot);