in reply to Chart::GnuPlot output goes to apache error.log
So what do you see when you run your script on the commandline? Is it able to connect to and query the database?
Update: BTW, you'll need to hardcode some values into your HTML params (or use other hackishness)...
What can be asserted without proof can be dismissed without proof. - Christopher Hitchens, 1949-2011
In Section
Seekers of Perl Wisdom