diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-06-12 20:20:55 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-06-12 20:20:55 +0000 |
| commit | f7cac54c235db36f17074bf78de5b30dd9415bcb (patch) | |
| tree | d5c62f9da849ab0cbf2e0e11e49e18dc20b3d21b /frontends/php/chart.php | |
| parent | 2d4065252826a4fe62ead51342a1f72516dbd32d (diff) | |
| download | zabbix-f7cac54c235db36f17074bf78de5b30dd9415bcb.tar.gz zabbix-f7cac54c235db36f17074bf78de5b30dd9415bcb.tar.xz zabbix-f7cac54c235db36f17074bf78de5b30dd9415bcb.zip | |
- added support for units (Mb, Kb, Gb, etc) (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@819 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart.php')
| -rw-r--r-- | frontends/php/chart.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/chart.php b/frontends/php/chart.php index 0752ccb7..030b8ad5 100644 --- a/frontends/php/chart.php +++ b/frontends/php/chart.php @@ -233,7 +233,7 @@ for($i=0;$i<=$my_steps;$i++) { - ImageString($im, 1, $sizeX+5+$shiftX, $i/$my_steps*$sizeY+$shiftY-4, convert_units($maxY-$i/$my_steps*($maxY-$minY),$item["units"],0) , $darkred); + ImageString($im, 1, $sizeX+5+$shiftX, $i/$my_steps*$sizeY+$shiftY-4, convert_units($maxY-$i/$my_steps*($maxY-$minY),$item["units"],$item["multiplier"]) , $darkred); } for($j=$stepTime-$correctTime;$j<=($maxX-$minX);$j+=$stepTime) { |
