summaryrefslogtreecommitdiffstats
path: root/frontends/php/chart5.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-11-29 00:04:52 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-11-29 00:04:52 +0000
commitf234b8afd1c33641b61bfb95b171ca6af1feb6b3 (patch)
tree64f1467c2c33b57e0c6365e38e60cd9104a42fc2 /frontends/php/chart5.php
parent48c44659cbebd2fb4df8d66f257a6436298a38bd (diff)
downloadzabbix-f234b8afd1c33641b61bfb95b171ca6af1feb6b3.tar.gz
zabbix-f234b8afd1c33641b61bfb95b171ca6af1feb6b3.tar.xz
zabbix-f234b8afd1c33641b61bfb95b171ca6af1feb6b3.zip
- change of color schema for SLA graphs and report (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1065 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart5.php')
-rw-r--r--frontends/php/chart5.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/frontends/php/chart5.php b/frontends/php/chart5.php
index 6d3798f8..fcdd733d 100644
--- a/frontends/php/chart5.php
+++ b/frontends/php/chart5.php
@@ -179,10 +179,10 @@
// ImageRectangle($im,$x1+$shiftX-1,$y1+$shiftYup-1,$x1+$shiftX+1,$y1+$shiftYup+1,$darkgreen);
// ImageRectangle($im,$x2+$shiftX-1,$y2+$shiftYup-1,$x2+$shiftX+1,$y2+$shiftYup+1,$darkgreen);
- ImageFilledRectangle($im,$x2+$shiftX,$y2+$shiftYup,$x2+$shiftX+8,$sizeY+$shiftYup,ImageColorAllocate($im,100,200,100));
+ ImageFilledRectangle($im,$x2+$shiftX,$y2+$shiftYup,$x2+$shiftX+8,$sizeY+$shiftYup,ImageColorAllocate($im,120,200,120));
ImageRectangle($im,$x2+$shiftX,$y2+$shiftYup,$x2+$shiftX+8,$sizeY+$shiftYup,$black);
// Doesn't work for some reason
- ImageFilledRectangle($im,$x2+$shiftX,$shiftYup,$x2+$shiftX+8,$y2+$shiftYup,ImageColorAllocate($im,200,100,100));
+ ImageFilledRectangle($im,$x2+$shiftX,$shiftYup,$x2+$shiftX+8,$y2+$shiftYup,ImageColorAllocate($im,200,120,120));
ImageRectangle($im,$x2+$shiftX,$shiftYup,$x2+$shiftX+8,$y2+$shiftYup,$black);
// ImageRectangle($im,$x2+$shiftX,$sizeY+$shiftYup,$x2+$shiftX+8,$shiftYup,$black);
@@ -205,10 +205,10 @@
for($i=0;$i<=$sizeY;$i+=$sizeY/10)
{
- ImageString($im, 1, $sizeX+5+$shiftX, $sizeY-$i-4+$shiftYup, ($i*($maxY-$minY)/$sizeY+$minY)."%" , $darkred);
+ ImageString($im, 1, $sizeX+5+$shiftX, $sizeY-$i-4+$shiftYup, ($i*($maxY-$minY)/$sizeY+$minY)."%" , ImageColorAllocate($im,200,120,120));
}
- ImageFilledRectangle($im,$shiftX,$sizeY+$shiftYup+39+15*0,$shiftX+5,$sizeY+$shiftYup+35+9+15*0,$darkgreen);
+ ImageFilledRectangle($im,$shiftX,$sizeY+$shiftYup+39+15*0,$shiftX+5,$sizeY+$shiftYup+35+9+15*0,ImageColorAllocate($im,120,200,120));
ImageRectangle($im,$shiftX,$sizeY+$shiftYup+39+15*0,$shiftX+5,$sizeY+$shiftYup+35+9+15*0,$black);
ImageString($im, 2,$shiftX+9,$sizeY+$shiftYup+15*0+35, "OK (%)", $black);