summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/classes.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include/classes.inc.php')
-rw-r--r--frontends/php/include/classes.inc.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontends/php/include/classes.inc.php b/frontends/php/include/classes.inc.php
index 09a64f8f..732be9c5 100644
--- a/frontends/php/include/classes.inc.php
+++ b/frontends/php/include/classes.inc.php
@@ -290,6 +290,11 @@
ImageFilledPolygon($this->im,$a,4,$this->colors[$this->items[$item]["color"]]);
}
+ else if($this->items[$item]["drawtype"] == GRAPH_DRAW_TYPE_DOT)
+ {
+ ImageFilledRectangle($this->im,$x1-1,$y1-1,$x1+1,$y1+1,$this->colors[$this->items[$item]["color"]]);
+ ImageFilledRectangle($this->im,$x2-1,$y2-1,$x2+1,$y2+1,$this->colors[$this->items[$item]["color"]]);
+ }
}
// Calculation of maximum Y