summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/classes/chart.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-07-30 12:40:42 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-07-30 12:40:42 +0000
commit527da18d12fc32d48858acd51e934ef57ab294fb (patch)
tree118903541cb2a0ae3bdf5f30b927d1c3ae203782 /frontends/php/include/classes/chart.inc.php
parent936ff51ecc479199146600c12f5ef3a1e6977c35 (diff)
downloadzabbix-527da18d12fc32d48858acd51e934ef57ab294fb.tar.gz
zabbix-527da18d12fc32d48858acd51e934ef57ab294fb.tar.xz
zabbix-527da18d12fc32d48858acd51e934ef57ab294fb.zip
- [DEV-191] fixes to inline update in "Latest Data" screen (Artem)
- [DEV-137] improvements in HTML validation (Artem) - [DEV-137] fixes in SQL constructions for MySQL (Artem) git-svn-id: svn://svn.zabbix.com/trunk@5853 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/classes/chart.inc.php')
-rw-r--r--frontends/php/include/classes/chart.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/classes/chart.inc.php b/frontends/php/include/classes/chart.inc.php
index eb906689..47f9ed0b 100644
--- a/frontends/php/include/classes/chart.inc.php
+++ b/frontends/php/include/classes/chart.inc.php
@@ -949,10 +949,10 @@ class Chart extends Graph{
//*
if($this->m_maxY[$side]>0){
- $this->m_maxY[$side] = round($this->m_maxY[$side],1);// + round($this->m_maxY[$side],1)*0.2 + 0.05;
+ $this->m_maxY[$side] = round($this->m_maxY[$side],1) + round($this->m_maxY[$side],1)*0.2 + 0.05;
}
else if($this->m_maxY[$side]<0){
- $this->m_maxY[$side] = round($this->m_maxY[$side],1);// - round($this->m_maxY[$side],1)*0.2 + 0.05;
+ $this->m_maxY[$side] = round($this->m_maxY[$side],1) - round($this->m_maxY[$side],1)*0.2 + 0.05;
}
if($this->m_minY[$side]>0){