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  


 [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