Index: lib/graphlib.php =================================================================== RCS file: /home/cvs_repositories/globalcvs/ou-moodle/lib/graphlib.php,v retrieving revision 1.13.26.1 diff -u -r1.13.26.1 graphlib.php --- lib/graphlib.php 8 Oct 2009 16:15:53 -0000 1.13.26.1 +++ lib/graphlib.php 16 Nov 2009 16:56:32 -0000 @@ -509,7 +509,7 @@ $label = $this->calculated['x_label']; $coords = array('x' => $x, 'y' => $y, 'reference' => 'top-center'); $this->update_boundaryBox($label['boundary_box'], $coords); - $this->print_TTF($label); + $this->print_TTF($label); } function draw_zero_axis_left() { @@ -1368,7 +1368,7 @@ } else { $width = abs($bounds[4]-$bounds[6]); $height = abs($bounds[7]-$bounds[1]); - $offsetY = 0; + $offsetY = $bounds[1]; $offsetX = 0; }