Mise à jour largeur du graph

This commit is contained in:
Rodolphe Quiedeville 2005-10-20 19:18:05 +00:00
parent e3d5516ce6
commit b1102e0eb0

View File

@ -46,7 +46,7 @@ class GraphCommNbMinutes extends GraphBar{
Function Graph($datas='', $labels='') Function Graph($datas='', $labels='')
{ {
$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);
@ -88,7 +88,6 @@ class GraphCommNbMinutes extends GraphBar{
$sql .= " GROUP BY date_format(td.date,'%Y%m') ASC "; $sql .= " GROUP BY date_format(td.date,'%Y%m') ASC ";
} }
if ($this->db->query($sql)) if ($this->db->query($sql))
{ {
$num = $this->db->num_rows(); $num = $this->db->num_rows();