Changeset 5321
- Timestamp:
- 2006/09/21 18:31:15 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/total/class/SC_GraphLine.php
r5320 r5321 56 56 if($this->XTitle != "") { 57 57 $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); 59 59 $y_pos = $this->top + $this->area_height + LINE_XTITLE_PAD; 60 60 $this->setText(FONT_SIZE, $x_pos, $y_pos, $this->XTitle); … … 112 112 $x_pos = $x - ($text_width / 2); 113 113 114 if ($this->XLabelAngle == "-45"){115 $this->x_margin = - $text_width / 4;116 $this->y_margin = $text_width / 2 + 5;117 }118 119 114 $this->setText(FONT_SIZE, $x_pos + $this->x_margin, $pos + FONT_SIZE + $this->y_margin, $this->arrXLabel[$i], NULL, $this->XLabelAngle); 120 115 }
Note: See TracChangeset
for help on using the changeset viewer.
