Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.8.0

Bug #8675 Angled Text Intersects the graph
Submitted: 2006-09-11 10:52 UTC
From: simonchambers at gmail dot com Assigned:
Status: Open Package: Image_Graph (version 0.7.2)
PHP Version: 5.0.4 OS: XP
Roadmaps: (Not assigned)    

 [2006-09-11 10:52 UTC] simonchambers at gmail dot com (Simon Chambers)
Description: ------------ Text which is angled is not handled correctly. Instead of the Graph resizing to fit the label, the label is written on top of the graph. Using the Candlestick Sample as an example: - Using version 7.1 = - Using version 7.2 = About as accurate as I can be! Test script: --------------- Expected result: ---------------- (Using Version <= 7.1) Actual result: -------------- (Using Version 7.2)


 [2006-11-19 10:21 UTC] sdteffen at gmail dot com (Steffen Macke)
The following can be used as a workaround until the bug is resolved: $AxisX->setLabelOption('showOffset', true); $AxisX->setLabelOption('offset', 40);
 [2008-04-29 00:37 UTC] davidmaxwaterman (Max Waterman)
I am hitting this problem too. In my case, the work around is not satisfactory, since I don't know how big the labels are. Is there a way to determine the maximum offset?