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 #5429

When Axis location is moved Graph does not move approriately

Details

Submitted2005-09-16 11:27 UTC
Fromjames dot kilbride at gd-ais dot com
Assignednosey
StatusAssigned
PackageImage_Graph
PHP Version5.0.5
OSRed Hat 7.3
Roadmaps(Not assigned)

Comments

[2005-09-16 11:27 UTC] james dot kilbride at gd-ais dot com

Description:
------------
Basically if you move the X axis to the top and flip the location of the labels to the outside they get cut off due to the top of the graph not moving down to accomodate them. This may also be true for flipped Y axis, have not tested that specifically.

Test script:
---------------
On any graph do the following:

$AxisX->setFontAngle('vertical');
$AxisX->setAxisIntersection('max');
$AxisX->setLabelOption('position', 'inside');

Expected result:
----------------
Top of the graph to move down, labels to be displayed along the top in a vertical position.

Actual result:
--------------
Graph expands to fill the whole area and labels are put up into the Title area, likely being completely unreadable as they get cut off at the edge of the plot area.