summaryrefslogtreecommitdiffstats
path: root/frontends/php/chart2.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-08-12 17:57:37 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-08-12 17:57:37 +0000
commit1f5d716c945f1328938a32fd44eba9f40d4bb197 (patch)
tree3639b15e67b0e0ce3ad25016a07b01f8a8ce738f /frontends/php/chart2.php
parent60bc2b6e1946f9f7ad0d393b2b390c8acc5b6114 (diff)
downloadzabbix-1f5d716c945f1328938a32fd44eba9f40d4bb197.tar.gz
zabbix-1f5d716c945f1328938a32fd44eba9f40d4bb197.tar.xz
zabbix-1f5d716c945f1328938a32fd44eba9f40d4bb197.zip
- additional colors for graphs (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@452 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart2.php')
-rw-r--r--frontends/php/chart2.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/frontends/php/chart2.php b/frontends/php/chart2.php
index af5488bd..c736b5f8 100644
--- a/frontends/php/chart2.php
+++ b/frontends/php/chart2.php
@@ -50,6 +50,7 @@
$blue=ImageColorAllocate($im,0,0,255);
$darkblue=ImageColorAllocate($im,0,0,150);
$yellow=ImageColorAllocate($im,255,255,0);
+ $darkyellow=ImageColorAllocate($im,150,150,0);
$cyan=ImageColorAllocate($im,0,255,255);
$black=ImageColorAllocate($im,0,0,0);
$white=ImageColorAllocate($im,255,255,255);
@@ -57,9 +58,11 @@
$colors=array();
+ $colors["Black"]=$black;
$colors["Green"]=$green;
$colors["Dark Green"]=$darkgreen;
$colors["Yellow"]=$yellow;
+ $colors["Dark Yellow"]=$darkyellow;
$colors["Blue"]=$blue;
$colors["Dark Blue"]=$blue;
$colors["White"]=$white;