summaryrefslogtreecommitdiffstats
path: root/frontends/php/chart2.html
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2001-07-01 11:34:17 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2001-07-01 11:34:17 +0000
commit9914a035650ffb324655e1187f1bc822e4823b64 (patch)
treed4c7a0010dbc0c8af22a9a49ab28da6720559387 /frontends/php/chart2.html
parentd1f643e5097215db8c0e4ac0ba472b5ebc6ba945 (diff)
downloadzabbix-9914a035650ffb324655e1187f1bc822e4823b64.tar.gz
zabbix-9914a035650ffb324655e1187f1bc822e4823b64.tar.xz
zabbix-9914a035650ffb324655e1187f1bc822e4823b64.zip
Hosts displayed in network maps became clickable.
git-svn-id: svn://svn.zabbix.com/trunk@118 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart2.html')
-rw-r--r--frontends/php/chart2.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/frontends/php/chart2.html b/frontends/php/chart2.html
index 7e9826db..7bdfb398 100644
--- a/frontends/php/chart2.html
+++ b/frontends/php/chart2.html
@@ -18,8 +18,14 @@
$from=0;
}
- $sizeX=900;
- $sizeY=200;
+ $result=DBselect("select name,width,height from graphs where graphid=$graphid");
+
+ $name=DBget_field($result,0,0);
+ $width=DBget_field($result,0,1);
+ $height=DBget_field($result,0,2);
+
+ $sizeX=$width;
+ $sizeY=$height;
$shiftX=10;
$shiftYup=10;