From a4bf8e9d98c3c62e0bd2fbd847ac3f99cda3917b Mon Sep 17 00:00:00 2001 From: hugetoad Date: Thu, 14 Aug 2003 13:04:49 +0000 Subject: - new draw type for graphs: Dot (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@913 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/classes.inc.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'frontends/php/include/classes.inc.php') 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 -- cgit