Mise à jour largeur du graph
This commit is contained in:
parent
e3d5516ce6
commit
b1102e0eb0
@ -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();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user