From 9dc07cf7ea22ef948a79f93646ba538a06570e48 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Sun, 3 Aug 2003 09:48:47 +0000 Subject: Fixes for class Graph (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@883 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/chart2.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'frontends/php/chart2.php') diff --git a/frontends/php/chart2.php b/frontends/php/chart2.php index bf8a79ad..87f843bf 100644 --- a/frontends/php/chart2.php +++ b/frontends/php/chart2.php @@ -56,6 +56,8 @@ $height=DBget_field($result,0,2); } + $graph->setWidth($width); + $graph->setHeight($height); $graph->setHeader(DBget_field($result,0,0)); $result=DBselect("select gi.itemid,i.description,gi.color,h.host,gi.drawtype from graphs_items gi,items i,hosts h where gi.itemid=i.itemid and gi.graphid=".$HTTP_GET_VARS["graphid"]." and i.hostid=h.hostid order by gi.gitemid"); -- cgit