diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2004-03-20 19:32:39 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2004-03-20 19:32:39 +0000 |
| commit | dd3557e8a34367501f3483b9abcf8e4fa2f2ced4 (patch) | |
| tree | 7e14d9718d44d901fdc31875ac7cb7c299bfa30f /frontends/php/include/classes.inc.php | |
| parent | b7e5906ef1f99c3e8a3d0a240c8c9b59a65bd84e (diff) | |
| download | zabbix-dd3557e8a34367501f3483b9abcf8e4fa2f2ced4.tar.gz zabbix-dd3557e8a34367501f3483b9abcf8e4fa2f2ced4.tar.xz zabbix-dd3557e8a34367501f3483b9abcf8e4fa2f2ced4.zip | |
- changed graph legend a little bit. Thanks to Igor. (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1300 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/classes.inc.php')
| -rw-r--r-- | frontends/php/include/classes.inc.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/frontends/php/include/classes.inc.php b/frontends/php/include/classes.inc.php index 848d63be..1ecc3af4 100644 --- a/frontends/php/include/classes.inc.php +++ b/frontends/php/include/classes.inc.php @@ -419,7 +419,9 @@ $mant=0; } - if($mant<1.5) + $mant=(floor($mant*1.1*10/6)+1)*6/10; + +/* if($mant<1.5) { $mant=1.5; } @@ -443,6 +445,7 @@ { $mant=10; } +*/ $maxY = $mant*pow(10,$exp); return $maxY; |
