Changeset 5321


Ignore:
Timestamp:
2006/09/21 18:31:15 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/total/class/SC_GraphLine.php

    r5320 r5321  
    5656        if($this->XTitle != "") { 
    5757            $text_width = $this->getTextWidth($this->XTitle, FONT_SIZE); 
    58             $x_pos = $this->left + $this->area_width+2000;// - ($text_width / 2); 
     58            $x_pos = $this->left + $this->area_width - ($text_width / 2); 
    5959            $y_pos = $this->top + $this->area_height + LINE_XTITLE_PAD; 
    6060            $this->setText(FONT_SIZE, $x_pos, $y_pos, $this->XTitle); 
     
    112112                $x_pos = $x - ($text_width / 2); 
    113113                 
    114                 if ($this->XLabelAngle == "-45"){ 
    115                     $this->x_margin = - $text_width / 4; 
    116                     $this->y_margin = $text_width / 2 + 5; 
    117                 } 
    118                  
    119114                $this->setText(FONT_SIZE, $x_pos + $this->x_margin, $pos + FONT_SIZE + $this->y_margin, $this->arrXLabel[$i], NULL, $this->XLabelAngle); 
    120115            } 
Note: See TracChangeset for help on using the changeset viewer.