Index: temp/trunk/html/admin/total/class/SC_GraphLine.php
===================================================================
--- temp/trunk/html/admin/total/class/SC_GraphLine.php	(revision 5320)
+++ temp/trunk/html/admin/total/class/SC_GraphLine.php	(revision 5321)
@@ -56,5 +56,5 @@
 		if($this->XTitle != "") {
 			$text_width = $this->getTextWidth($this->XTitle, FONT_SIZE);
-			$x_pos = $this->left + $this->area_width+2000;// - ($text_width / 2);
+			$x_pos = $this->left + $this->area_width - ($text_width / 2);
 			$y_pos = $this->top + $this->area_height + LINE_XTITLE_PAD;
 			$this->setText(FONT_SIZE, $x_pos, $y_pos, $this->XTitle);
@@ -112,9 +112,4 @@
 				$x_pos = $x - ($text_width / 2);
 				
-				if ($this->XLabelAngle == "-45"){
-					$this->x_margin = - $text_width / 4;
-					$this->y_margin = $text_width / 2 + 5;
-				}
-				
 				$this->setText(FONT_SIZE, $x_pos + $this->x_margin, $pos + FONT_SIZE + $this->y_margin, $this->arrXLabel[$i], NULL, $this->XLabelAngle);
 			}
