/[dolibarr]/dolibarr/htdocs/telephonie/script/tools/graph-conso-jour.php
ViewVC logotype

Diff of /dolibarr/htdocs/telephonie/script/tools/graph-conso-jour.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by rodolphe, Wed Dec 7 11:49:56 2005 UTC revision 1.4 by rodolphe, Wed Dec 7 11:52:01 2005 UTC
# Line 74  if ($resql) Line 74  if ($resql)
74        $data[$i] = ($row[1]/60000);        $data[$i] = ($row[1]/60000);
75        $total = $total + $data[$i];        $total = $total + $data[$i];
76        $labels[$i] = $row[0];        $labels[$i] = $row[0];
77          $moydata[$i] = $total / ($i+1);
78        $i++;        $i++;
       $moydata[$i] = $total / $i;  
79      }      }
80  }  }
81  else  else

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26