]> git.mjollnir.org Git - moodle.git/commit
graphlib - MDL-20855 fix alignemnt issue with the x-axis.
authorTim Hunt <T.J.Hunt@open.ac.uk>
Thu, 19 Nov 2009 16:56:47 +0000 (16:56 +0000)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Thu, 19 Nov 2009 16:56:47 +0000 (16:56 +0000)
commit2d0d78befdd81125b32d63ed1e0dd587dd4f14b5
tree225c2ab78896e75848dabb257a984468d047e2c1
parenta342751f2974df6c45f5316ee35fd27c9a54aa1b
graphlib - MDL-20855 fix alignemnt issue with the x-axis.
Labels with a descender (e.g. May) appeared lower than ones without (e.g. Jun).
Text is drawn baseline aligned, not bottom aligned,and so the code was computing the position wrongly.
lib/graphlib.php