Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Problems with references using GD::Graph::Databy buckaduck (Chaplain) |
on Apr 01, 2002 at 18:56 UTC ( [id://155820]=note: print w/replies, xml ) | Need Help?? |
Presumably, $gd is undefined. I'm guessing that the GD::Graph::bars module is unhappy with the fact that you're
trying to create a graph out of a one-dimensional set of data.
At least your data looks one-dimensional to me, based on the SQL query that you're using. You're adding a series of X values with no associated Y values. What sort of graph are you hoping to produce from this? Now if you included some Y values, maybe things would be different... buckaduck
In Section
Seekers of Perl Wisdom
|
|