Posted by Colin McKinnon on 01/22/06 16:55
JMcC wrote:
>
> What I would really like it to do is use the 5 values generated int the
> script to create a bar graph and then attach this to an e-mail and send
> this as well as the results in text form. I have hunted around the net
> and the only code I can find so far to generate a graph is either very
> complecated looking or is part of a package I would have to buy. I was
> wondering if there was a function in php like the graph function in the
> GD::Graph::bars package and something that works like the MIME::Lite
> package for attaching a picture to an e-mail.
>
> Any help would be greatly appreciated
>
Generating the *chart* and attaching it are two seperate things - you're not
likely to find a package to do both.
Jpgraph is IME the best PHP charting package - indeed better than any I've
used on other platforms too. Its free to use in some circumstances, and
where it's not free to use, a licence caosts a lot less than any other
method of getting the same result.
C.
Navigation:
[Reply to this message]
|