diff options
Diffstat (limited to 'frontends/php/chart2.php')
| -rw-r--r-- | frontends/php/chart2.php | 3 |
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(); |
