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 15: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)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 49 - 23 = ?

 
 [2006-09-11 15: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 = http://img156.imageshack.us/my.php?image=candlestickokdz2.png - Using version 7.2 = http://img156.imageshack.us/my.php?image=candlestickbrokenrc3.png About as accurate as I can be! Test script: --------------- http://pear.veggerby.dk/samples/code/id/plot_candlestick/ Expected result: ---------------- http://img156.imageshack.us/my.php?image=candlestickokdz2.png (Using Version <= 7.1) Actual result: -------------- http://img156.imageshack.us/my.php?image=candlestickbrokenrc3.png (Using Version 7.2)

Comments

 [2006-11-19 15: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 05: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?