~ko-de-r-de/zabbix/precise

« back to all changes in this revision

Viewing changes to frontends/php/include/classes/class.cbar.php

  • Committer: guntis
  • Date: 2013-08-01 06:46:25 UTC
  • Revision ID: svn-v4:f4e7fd02-d210-4e34-a1e0-d4093fb66cc2:trunk:37472
..F....... [ZBX-4986] absolute urls replaced with relative and fixed commit bugs

Show diffs side-by-side

added added

removed removed

Lines of Context:
556
556
 
557
557
                        if ($this->column) {
558
558
                                for ($i = 0;$i <= $hstr_count; $i++) {
559
 
                                        $str = convert_units(array(
560
 
                                                'value' => $this->sizeY * $i / $hstr_count * ($max - $min) / $this->sizeY + $min,
561
 
                                                'units' => $this->units[$axis]
562
 
                                        ));
 
559
                                        $str = convert_units(($this->sizeY * $i / $hstr_count * ($max - $min) / $this->sizeY + $min), $this->units[$axis]);
563
560
 
564
561
                                        $sideShift = 0;
565
562
                                        if (GRAPH_YAXIS_SIDE_LEFT == $axis) {
587
584
                                }
588
585
 
589
586
                                for ($i = 0; $i <= $hstr_count; $i++) {
590
 
                                        $str = convert_units(array(
591
 
                                                'value' => $this->sizeX * $i / $hstr_count * ($max - $min) / $this->sizeX + $min,
592
 
                                                'units' => $this->units[$axis]
593
 
                                        ));
 
587
                                        $str = convert_units(($this->sizeX * $i / $hstr_count * ($max - $min) / $this->sizeX + $min), $this->units[$axis]);
594
588
 
595
589
                                        $sideShift = 0;
596
590
                                        if (GRAPH_YAXIS_SIDE_LEFT == $axis) {