diff --git a/htdocs/bargraph.class.php b/htdocs/bargraph.class.php index ac24545b71d..c2926a99929 100644 --- a/htdocs/bargraph.class.php +++ b/htdocs/bargraph.class.php @@ -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));