Modification du label interval par dfaut

This commit is contained in:
Rodolphe Quiedeville
2005-02-14 15:31:26 +00:00
parent ce0ca975a4
commit 8a63fcf532

View File

@@ -90,8 +90,14 @@ class GraphLignesActives extends GraphLine {
print $this->db->error() . ' ' . $sql;
}
$this->LabelInterval = round($num / 20,0);
$this->LabelInterval = 1;
$a = round($num / 20,0);
if ($a > 1)
{
$this->LabelInterval = $a;
}
$this->GraphDraw($this->file, $active, $labels);