summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/classes/graph.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-07-29 15:23:22 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-07-29 15:23:22 +0000
commit936ff51ecc479199146600c12f5ef3a1e6977c35 (patch)
tree07b9f854228687482d3c39826ce68e1d6920d6e1 /frontends/php/include/classes/graph.inc.php
parent4a76e0292516c5a03c722d0b25aeff0ccfcf16ac (diff)
- [DEV-191] added inline update of "Latest Data" screen (Artem)
- [DEV-193] improved viewing integer items on graphs (Artem) git-svn-id: svn://svn.zabbix.com/trunk@5852 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/classes/graph.inc.php')
-rw-r--r--frontends/php/include/classes/graph.inc.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/frontends/php/include/classes/graph.inc.php b/frontends/php/include/classes/graph.inc.php
index 2f3597e6..7c68dd19 100644
--- a/frontends/php/include/classes/graph.inc.php
+++ b/frontends/php/include/classes/graph.inc.php
@@ -85,14 +85,16 @@ class Graph{
$this->period=3600;
$this->from=0;
- $this->sizeX=900;
- $this->sizeY=200;
+ $this->sizeX=900; // default graph size X
+ $this->sizeY=200; // default graph size Y
$this->shiftXleft=10;
$this->shiftXright=60;
$this->shiftY=17;
$this->border=1;
$this->num=0;
- $this->type = $type;
+ $this->type = $type; // graph type
+
+ $this->axis_valuetype = array(); // overal items type (int/float)
}