summaryrefslogtreecommitdiffstats
path: root/frontends/php/chart.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-06-12 18:26:44 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-06-12 18:26:44 +0000
commit2d4065252826a4fe62ead51342a1f72516dbd32d (patch)
treee1163ff52e8dac1e392786a941cedfa8cd193e8f /frontends/php/chart.php
parent99df6c3c123f85f5676595691ffbf5d4339fb8d3 (diff)
downloadzabbix-2d4065252826a4fe62ead51342a1f72516dbd32d.tar.gz
zabbix-2d4065252826a4fe62ead51342a1f72516dbd32d.tar.xz
zabbix-2d4065252826a4fe62ead51342a1f72516dbd32d.zip
More support for metric units.
git-svn-id: svn://svn.zabbix.com/trunk@818 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart.php')
-rw-r--r--frontends/php/chart.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/chart.php b/frontends/php/chart.php
index 16f62e88..0752ccb7 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, $maxY-$i/$my_steps*($maxY-$minY) , $darkred);
+ ImageString($im, 1, $sizeX+5+$shiftX, $i/$my_steps*$sizeY+$shiftY-4, convert_units($maxY-$i/$my_steps*($maxY-$minY),$item["units"],0) , $darkred);
}
for($j=$stepTime-$correctTime;$j<=($maxX-$minX);$j+=$stepTime)
{