Modif le nombre d'increment pour les petits max
This commit is contained in:
parent
9451fb6109
commit
76ae1bc849
@ -70,6 +70,14 @@ class BarGraph extends Graph
|
|||||||
{
|
{
|
||||||
$this->graph->SetNumVertTicks(4);
|
$this->graph->SetNumVertTicks(4);
|
||||||
}
|
}
|
||||||
|
elseif (substr($this->MaxValue,0,1) == 3)
|
||||||
|
{
|
||||||
|
$this->graph->SetNumVertTicks(6);
|
||||||
|
}
|
||||||
|
elseif (substr($this->MaxValue,0,1) == 4)
|
||||||
|
{
|
||||||
|
$this->graph->SetNumVertTicks(8);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$this->graph->SetNumVertTicks(substr($this->MaxValue,0,1));
|
$this->graph->SetNumVertTicks(substr($this->MaxValue,0,1));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user