Image_Graph problems
| From: | Frank Høvin | 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.
Im 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 cant get the titles and labels to show on the graphs. Ive
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 doesent. 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."