summaryrefslogtreecommitdiffstats
path: root/frontends/php/chart2.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-12-01 11:37:40 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-12-01 11:37:40 +0000
commit0bed2a8dcc8a0e53356538c1460e2592b15c7ca1 (patch)
tree148c621dfc3a1a23cab545b4f0ab999021a2c730 /frontends/php/chart2.php
parentb00e162fcae28783a0b72e69e462ce7db893dbc5 (diff)
downloadzabbix-0bed2a8dcc8a0e53356538c1460e2592b15c7ca1.tar.gz
zabbix-0bed2a8dcc8a0e53356538c1460e2592b15c7ca1.tar.xz
zabbix-0bed2a8dcc8a0e53356538c1460e2592b15c7ca1.zip
- double sided graphs (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2379 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/chart2.php')
-rw-r--r--frontends/php/chart2.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/frontends/php/chart2.php b/frontends/php/chart2.php
index 9addd34f..2636d51d 100644
--- a/frontends/php/chart2.php
+++ b/frontends/php/chart2.php
@@ -72,10 +72,9 @@
while($row=DBfetch($result))
{
- $graph->addItem($row["itemid"]);
+ $graph->addItem($row["itemid"], $row["yaxisside"]);
$graph->setColor($row["itemid"], $row["color"]);
$graph->setDrawtype($row["itemid"], $row["drawtype"]);
- $graph->setYAxisSide($row["itemid"], $row["yaxisside"]);
}
$graph->Draw();