PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Images » Image_Graph » Bug #7729

Wrong axis X label placement

Details

Submitted2006-05-26 08:01 UTC
Fromfilipga at gmail dot com
StatusClosed
PackageImage_Graph
PHP Version4.3.9
OSLinux (2.6.9 ?)
Roadmaps(Not assigned)

Comments

[2006-05-26 08:01 UTC] filipga at gmail dot com

Description:
------------
When I set vertical font angle for axis X I see that the label of the axis is not placed under the axis line, but higher (across the axis line).
I checked that behaviour on example given with Image_Graph package and that behaves the same (wrong) way on my server.
Have look at
http://filip.swk.cz/graphtest/plot_candlestick.php
and compare it with an official example at
http://pear.veggerby.dk/samples/show/id/plot_candlestick/ (here the label placement is correct - under the axis X line)

Interesting thing is that the longer the label text is, the more white space under the line is (the higher the axis line is moved up).

Test script:
---------------
Have a look at live example here: http://filip.swk.cz/graphtest/plot_candlestick.php
which is a copy of original pear/doc/Image_Graph/docs/examples/plot_candlestick.php example.

Expected result:
----------------
I would expect the axis X label placement under the axis line as seen at page http://pear.veggerby.dk/samples/show/id/plot_candlestick/

Actual result:
--------------
The label of the axis is not placed under the axis line, but higher (across the axis line).

[2006-05-26 09:38 UTC] filipga at gmail dot com

Summary text typo fixed.

[2006-06-13 13:04 UTC] filipga at gmail dot com

I downloaded CVS version some time ago and it works as expected.
It seems that the bug has already been solved.
Thanks.