Changeset 5405 for temp/trunk/html
- Timestamp:
- 2006/09/22 11:39:38 (20 years ago)
- Location:
- temp/trunk/html/admin/total/class
- Files:
-
- 2 edited
-
SC_GraphBar.php (modified) (1 diff)
-
SC_GraphLine.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/total/class/SC_GraphBar.php
r5404 r5405 70 70 $text_width = $this->getTextWidth(number_format($arrData[$i]), FONT_SIZE); 71 71 $y_pos = $y - FONT_SIZE - 5; 72 $x_pos = 0;//$x - $text_width / 2;72 $x_pos = $x - $text_width / 2; 73 73 $this->setText(FONT_SIZE, $x_pos, $y_pos, number_format($arrData[$i])); 74 74 } -
temp/trunk/html/admin/total/class/SC_GraphLine.php
r5335 r5405 112 112 $x_pos = $x; 113 113 114 $this->setText(FONT_SIZE, $x_pos + $this->x_margin , $pos + FONT_SIZE + $this->y_margin, $this->arrXLabel[$i], NULL, $this->XLabelAngle);114 $this->setText(FONT_SIZE, $x_pos + $this->x_margin-50, $pos + FONT_SIZE + $this->y_margin, $this->arrXLabel[$i], NULL, $this->XLabelAngle); 115 115 } 116 116 }
Note: See TracChangeset
for help on using the changeset viewer.
