37 |
$this->contrat = 0; |
$this->contrat = 0; |
38 |
$this->ligne = 0; |
$this->ligne = 0; |
39 |
|
|
40 |
$this->titre = "Durée moyenne des appels"; |
$this->titre = "Durée moyenne des appels par mois"; |
41 |
$this->showframe = true; |
$this->showframe = true; |
42 |
$this->barcolor = "pink"; |
$this->barcolor = "pink"; |
43 |
} |
} |
46 |
{ |
{ |
47 |
$this->GetDatas(); |
$this->GetDatas(); |
48 |
|
|
49 |
|
$this->width = 360; |
50 |
|
|
51 |
if (sizeof($this->datas)) |
if (sizeof($this->datas)) |
52 |
{ |
{ |
53 |
$this->GraphDraw($this->file, $this->datas, $this->labels); |
$this->GraphDraw($this->file, $this->datas, $this->labels); |
101 |
{ |
{ |
102 |
$row = $this->db->fetch_row(); |
$row = $this->db->fetch_row(); |
103 |
|
|
104 |
$this->labels[$i] = substr($row[0],4,2) . '/'.substr($row[0],2,2); |
$this->labels[$i] = substr($row[0],4,2); |
105 |
$this->datas[$i] = ($row[1] / $row[2] ) ; |
$this->datas[$i] = ($row[1] / $row[2] ) ; |
106 |
|
|
107 |
$i++; |
$i++; |