diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-08-03 09:03:29 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-08-03 09:03:29 +0000 |
| commit | 6822f3a55614b2c2ed10479e63f6c39526b08708 (patch) | |
| tree | a7277df979428a462ace9f8c223f7b4798ae413a /frontends/php/chart.php | |
| parent | 1a7b74a3fc4ea2b0264eb620e44654eeb3e6c081 (diff) | |
| download | zabbix-6822f3a55614b2c2ed10479e63f6c39526b08708.tar.gz zabbix-6822f3a55614b2c2ed10479e63f6c39526b08708.tar.xz zabbix-6822f3a55614b2c2ed10479e63f6c39526b08708.zip | |
Minor changes (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@882 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart.php')
| -rw-r--r-- | frontends/php/chart.php | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/frontends/php/chart.php b/frontends/php/chart.php index 21de8e5e..362ecd85 100644 --- a/frontends/php/chart.php +++ b/frontends/php/chart.php @@ -1,8 +1,28 @@ -<?php +<?php +/* +** Zabbix +** Copyright (C) 2000,2001,2002,2003 Alexei Vladishev +** +** This program is free software; you can redistribute it and/or modify +** it under the terms of the GNU General Public License as published by +** the Free Software Foundation; either version 2 of the License, or +** (at your option) any later version. +** +** This program is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +** GNU General Public License for more details. +** +** You should have received a copy of the GNU General Public License +** along with this program; if not, write to the Free Software +** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +**/ +?> +<?php include "include/config.inc.php"; include "include/classes.inc.php"; - $graph=new Graph($HTTP_GET_VARS["itemid"]); + $graph=new Graph(); if(isset($HTTP_GET_VARS["period"])) { $graph->setPeriod($HTTP_GET_VARS["period"]); @@ -23,7 +43,8 @@ { $graph->setBorder(0); } + $graph->addItem($HTTP_GET_VARS["itemid"]); - $graph->Draw3(); + $graph->Draw(); ?> |
