Modif des libellés

This commit is contained in:
Rodolphe Quiedeville 2005-08-09 14:09:24 +00:00
parent 6955b86bf3
commit 8a56610f91

View File

@ -46,6 +46,8 @@ class GraphCommNbMensuel extends GraphBar{
{ {
$this->GetDatas(); $this->GetDatas();
$this->width = 360;
if (sizeof($this->datas)) if (sizeof($this->datas))
{ {
$this->GraphDraw($this->file, $this->datas, $this->labels); $this->GraphDraw($this->file, $this->datas, $this->labels);
@ -100,7 +102,7 @@ class GraphCommNbMensuel 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);
$this->datas[$i] = $row[1]; $this->datas[$i] = $row[1];
$i++; $i++;