From 62fd5f688e292f56381fb186bfeeab90b8f2c200 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 9 Aug 2005 14:12:51 +0000 Subject: [PATCH] Modif titre et libelles --- htdocs/telephonie/stats/graph/appelsdureemoyenne.class.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/htdocs/telephonie/stats/graph/appelsdureemoyenne.class.php b/htdocs/telephonie/stats/graph/appelsdureemoyenne.class.php index 2aae3b56474..ad4b5277d79 100644 --- a/htdocs/telephonie/stats/graph/appelsdureemoyenne.class.php +++ b/htdocs/telephonie/stats/graph/appelsdureemoyenne.class.php @@ -37,7 +37,7 @@ class GraphAppelsDureeMoyenne extends GraphBar{ $this->contrat = 0; $this->ligne = 0; - $this->titre = "Durée moyenne des appels"; + $this->titre = "Durée moyenne des appels par mois"; $this->showframe = true; $this->barcolor = "pink"; } @@ -46,6 +46,8 @@ class GraphAppelsDureeMoyenne extends GraphBar{ { $this->GetDatas(); + $this->width = 360; + if (sizeof($this->datas)) { $this->GraphDraw($this->file, $this->datas, $this->labels); @@ -99,7 +101,7 @@ class GraphAppelsDureeMoyenne extends GraphBar{ { $row = $this->db->fetch_row(); - $this->labels[$i] = substr($row[0],4,2) . '/'.substr($row[0],2,2); + $this->labels[$i] = substr($row[0],4,2); $this->datas[$i] = ($row[1] / $row[2] ) ; $i++;