summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/classes/graph.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-04-28 13:29:58 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-04-28 13:29:58 +0000
commitd5dea01e509ef5f5aaa1bece2845c4aeb4d716ef (patch)
treecaf186c5d7fd26d0e0d75b2618e184a16f011db3 /frontends/php/include/classes/graph.inc.php
parent29da2c144f6f4f47675853484f89d507cf59eff9 (diff)
downloadzabbix-d5dea01e509ef5f5aaa1bece2845c4aeb4d716ef.tar.gz
zabbix-d5dea01e509ef5f5aaa1bece2845c4aeb4d716ef.tar.xz
zabbix-d5dea01e509ef5f5aaa1bece2845c4aeb4d716ef.zip
- minor fix (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2790 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/classes/graph.inc.php')
-rw-r--r--frontends/php/include/classes/graph.inc.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/frontends/php/include/classes/graph.inc.php b/frontends/php/include/classes/graph.inc.php
index 743d6212..60d509e7 100644
--- a/frontends/php/include/classes/graph.inc.php
+++ b/frontends/php/include/classes/graph.inc.php
@@ -380,7 +380,8 @@
}
$from = $this->from_time;
$max_time = $this->to_time;
-
+//SDI("from: ".date('r',$from));
+//SDI("max_time: ".date('r',$max_time));
$start = find_period_start($periods,$from);
$end = -1;
while($start < $max_time && $start > 0)
@@ -389,6 +390,8 @@
$x1 = round((($start-$from)*$this->sizeX)/$this->period) + $this->shiftXleft;
$x2 = round((($end-$from)*$this->sizeX)/$this->period) + $this->shiftXleft;
+//SDI("start [$x1]: ".date('r',$start));
+//SDI("end [$x2]:".date('r',$end));
//draw rectangle
ImageFilledRectangle(