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

Bug #19474 Legend not working anymore
Submitted: 2012-06-18 18:26 UTC
From: romanf Assigned:
Status: Open Package: Image_Graph (version 0.8.0)
PHP Version: 5.4.3 OS: Linux
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 : 42 - 26 = ?

 
 [2012-06-18 18:26 UTC] romanf (Roman Fischer)
Description: ------------ After upgrade from 0.7.2 to 0.8.0, showing a legend stops the script from working (it tries to require_once a class "white"). If I comment the usage of $Legend out, the graph is shown. And it worked under 0.7.2 ... :( Thanks for any help! Roman Test script: --------------- // Does not work: $Graph->add(Image_Graph::vertical( Image_Graph::factory('title', array($title, $graph_size[$size][3])), Image_Graph::vertical($Plotarea,$Legend, 10), 10) ); // Works: $Graph->add(Image_Graph::vertical( Image_Graph::factory('title', array($title, $graph_size[$size][3])), $Plotarea, 10) ); Actual result: -------------- Fatal error: require_once() [function.require]: Failed opening required 'white.inc.php' ....

Comments