This commit is contained in:
Rodolphe Quiedeville 2005-03-16 15:40:20 +00:00
parent 5d70876b02
commit a0b9dae7e3

View File

@ -36,10 +36,9 @@ class GraphAppelsDureeMoyenne extends GraphBar{
$this->client = 0; $this->client = 0;
$this->contrat = 0; $this->contrat = 0;
$this->ligne = 0; $this->ligne = 0;
$this->titre = "Durée moyenne des appels"; $this->titre = "Durée moyenne des appels";
$this->showframe = true;
//$this->type = "LinePlot";
$this->barcolor = "pink"; $this->barcolor = "pink";
} }
@ -101,7 +100,7 @@ class GraphAppelsDureeMoyenne extends GraphBar{
$row = $this->db->fetch_row(); $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) . '/'.substr($row[0],2,2);
$$this->datas[$i] = ($row[1] / $row[2] ) ; $this->datas[$i] = ($row[1] / $row[2] ) ;
$i++; $i++;
} }