mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Modification du label interval par dfaut
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user