On Sunday, March 31, 2002, at 05:05 , Josue Garayua wrote:

> GD::Graph::chart

I assume that you were trying something on the form

        $graph = GD::Graph::chart->new(400, 300);

when it blew up???

OYE! I think I see the problem - the documentation shows
the above illustration but the wording asserted:

                "Create a new GD::Graph object by calling the new method on
        the graph type you want to create (chart is bars, lines,
        points, linespoints, mixed or pie)."

'chart' is one of  (bars, lines, points, linespoints, mixed or pie )

hence if you wanted to make a 'bar' chart you would use

        $graph = GD::Graph::bars->new(400, 300);

since there is No specific 'generic class' "chart"

another test would be something like

        use GD::Graph::chart ;

in a small script....

and it should blow up with not being able to find chart.pm.....

so you would have wanted to do say

        use GD::Graph::bars



ciao
drieux

---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to