Image_Graph problems

From: Date: Thu, 27 Apr 2006 18:42:14 +0000
Subject: Image_Graph problems
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-23867@lists.php.net to get a copy of this message
Ok, I know this is still in beta, but it obviously seems to work for others. I’m trying the examples at http://pear.veggerby.dk/samples/, since there are no documentation at the PEAR site. I get them to work, sort of – after discovering that having html code before the code making the graphs garbles them – except that I can’t get the titles and labels to show on the graphs. I’ve been playing around with the simple bar chart, but even though I use the exact same code as the examples, no text is showing. That is, the title and labels are blank when I run the code, but when I run the examples from the veggerby site, they are showing. F.ex: This line $Plot =& $Plotarea->addNew('bar', array(&$Dataset)); should display the title ”bar” under the chart. But it doesen’t. And the same goes with all the other examples when I run them myself – titles, labels etc. are all blank. Any ideas? "One of the major reasons for the fall of the Roman empire was that, lacking the number zero, they had no way to effectively terminate their C programs."

« previous php.pear.general (#23867) next »