Modification du label interval par dfaut
This commit is contained in:
parent
ce0ca975a4
commit
8a63fcf532
@ -90,8 +90,14 @@ class GraphLignesActives extends GraphLine {
|
|||||||
print $this->db->error() . ' ' . $sql;
|
print $this->db->error() . ' ' . $sql;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->LabelInterval = 1;
|
||||||
$this->LabelInterval = round($num / 20,0);
|
|
||||||
|
$a = round($num / 20,0);
|
||||||
|
|
||||||
|
if ($a > 1)
|
||||||
|
{
|
||||||
|
$this->LabelInterval = $a;
|
||||||
|
}
|
||||||
|
|
||||||
$this->GraphDraw($this->file, $active, $labels);
|
$this->GraphDraw($this->file, $active, $labels);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user