summaryrefslogtreecommitdiffstats
path: root/frontends/php/chart2.html
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-01-09 07:16:10 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-01-09 07:16:10 +0000
commitbaf02ab977d8bb5a7cc9a16d4d440c359de4b73f (patch)
tree3567eafe63e43163cbd5f0190c56ee486a8e1649 /frontends/php/chart2.html
parent38d78876d1e4914a21682ae7a319fc1f98a6c4db (diff)
- even more support for IT Services (Alexei)
- added column status to table services (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@276 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart2.html')
-rw-r--r--frontends/php/chart2.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/frontends/php/chart2.html b/frontends/php/chart2.html
index f0482068..0dacb7bc 100644
--- a/frontends/php/chart2.html
+++ b/frontends/php/chart2.html
@@ -142,7 +142,10 @@
}
else
{
- ImageLine($im,$shiftX,$shiftYup+$sizeY/2,$sizeX+$shiftX,$shiftYup+$sizeY/2,$colors[$color[$item]]);
+ if(isset($minX))
+ {
+ ImageLine($im,$shiftX,$shiftYup+$sizeY/2,$sizeX+$shiftX,$shiftYup+$sizeY/2,$colors[$color[$item]]);
+ }
}
# ImageFilledRectangle($im,$shiftX+200*$item,$sizeY+$shiftYup+19,$shiftX+200*$item+5,$sizeY+$shiftYup+15+9,$colors[$color[$item]]);
# ImageString($im, 2,$shiftX+200*$item+9,$sizeY+$shiftYup+15, $desc[$item], $gray);