Skip to content
Snippets Groups Projects
Commit a0b9dae7 authored by Rodolphe Quiedeville's avatar Rodolphe Quiedeville
Browse files

Bugfix

parent 5d70876b
No related branches found
No related tags found
No related merge requests found
......@@ -36,10 +36,9 @@ class GraphAppelsDureeMoyenne extends GraphBar{
$this->client = 0;
$this->contrat = 0;
$this->ligne = 0;
$this->titre = "Durée moyenne des appels";
//$this->type = "LinePlot";
$this->titre = "Durée moyenne des appels";
$this->showframe = true;
$this->barcolor = "pink";
}
......@@ -95,13 +94,13 @@ class GraphAppelsDureeMoyenne extends GraphBar{
{
$num = $this->db->num_rows();
$i = 0;
while ($i < $num)
{
$row = $this->db->fetch_row();
$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++;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment