diff options
author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-10-19 10:55:54 +0000 |
---|---|---|
committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-10-19 10:55:54 +0000 |
commit | 8a10cb894896b57f9b5ac1f70d9e20084f967f20 (patch) | |
tree | 191b79ae9daf9879a1079cc2fea75e98b87358c4 /frontends/php/chart3.php | |
parent | f4592ae04a7270d0be754186476ef50f164dce3c (diff) | |
download | zabbix-8a10cb894896b57f9b5ac1f70d9e20084f967f20.tar.gz zabbix-8a10cb894896b57f9b5ac1f70d9e20084f967f20.tar.xz zabbix-8a10cb894896b57f9b5ac1f70d9e20084f967f20.zip |
- fix for dashed lines under some broken GD (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1002 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart3.php')
-rw-r--r-- | frontends/php/chart3.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/frontends/php/chart3.php b/frontends/php/chart3.php index c49d943a..18a821ea 100644 --- a/frontends/php/chart3.php +++ b/frontends/php/chart3.php @@ -139,12 +139,12 @@ for($i=0;$i<=$sizeY;$i+=$sizeY/5) { - ImageDashedLine($im,$shiftX,$i+$shiftYup,$sizeX+$shiftX,$i+$shiftYup,$gray); + DashedLine($im,$shiftX,$i+$shiftYup,$sizeX+$shiftX,$i+$shiftYup,$gray); } for($i=0;$i<=$sizeX;$i+=$sizeX/24) { - ImageDashedLine($im,$i+$shiftX,$shiftYup,$i+$shiftX,$sizeY+$shiftYup,$gray); + DashedLine($im,$i+$shiftX,$shiftYup,$i+$shiftX,$sizeY+$shiftYup,$gray); ImageString($im, 1,$i+$shiftX-11, $sizeY+$shiftYup+5, date("H:i",-3*3600+24*3600*$i/900) , $black); } @@ -254,8 +254,7 @@ $y1=$sizeY-$y1; $y2=$sizeY-$y2; -// ImageDashedLine($im,$x1+$shiftX,$y1+$shiftYup,$x2+$shiftX,$y2+$shiftYup,$black); - ImageDashedLine($im,$x1+$shiftX,$shiftYup,$x2+$shiftX,$sizeY+$shiftYup,$black); + DashedLine($im,$x1+$shiftX,$shiftYup,$x2+$shiftX,$sizeY+$shiftYup,$black); if(isset($nodata)&&($nodata == 0)) { |