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++;