Modif le nombre d'increment pour les petits max

This commit is contained in:
Rodolphe Quiedeville 2003-11-27 10:21:45 +00:00
parent 9451fb6109
commit 76ae1bc849

View File

@ -70,6 +70,14 @@ class BarGraph extends Graph
{
$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
{
$this->graph->SetNumVertTicks(substr($this->MaxValue,0,1));