diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-08-03 09:48:47 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-08-03 09:48:47 +0000 |
| commit | 9dc07cf7ea22ef948a79f93646ba538a06570e48 (patch) | |
| tree | 9bdfe86a84c6fff9bf962be5da7f59b3828c2a86 /frontends/php/chart2.php | |
| parent | 6822f3a55614b2c2ed10479e63f6c39526b08708 (diff) | |
| download | zabbix-9dc07cf7ea22ef948a79f93646ba538a06570e48.tar.gz zabbix-9dc07cf7ea22ef948a79f93646ba538a06570e48.tar.xz zabbix-9dc07cf7ea22ef948a79f93646ba538a06570e48.zip | |
Fixes for class Graph (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@883 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart2.php')
| -rw-r--r-- | frontends/php/chart2.php | 2 |
1 files changed, 2 insertions, 0 deletions
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"); |
