Dear list,
Has any one here worked with Perl and HTML to draw graphs on a web page?
Is there a module I can use to write these graphs. I am im very
unfamilier ground here. Any ideas or input would be greatly
appriciated.
For everyone that wants to see some code :)...
sub statistics{
my $sth = $dbh ->prepare( qq{ SELECT SUM(time_track_minutes)
FROM table
WHERE status = 'COMPLETE'
} ) || die $dbh->errstr; ;
$sth->execute;
my $entries= $sth->fetchrow_hashref;
my $one = ($entries->{sum}/60); #hours
my $rounded = sprintf("%.0d",$one);
my $true = ($rounded * 60 );
my $true2 = ($entries->{sum} - $true);
print<<HTML;
hours = $rounded
minutes = $true2 # I really want to be able to graph $true2 against DATE
(Y) axis and time($true2 and $rounded) (X) axis.
HTML
}
Kind Regards,
Daniel Falknberg
==============================
VINTEK CONSULTING PTY LTD
(ACN 088 825 209)
Email: [EMAIL PROTECTED]
WWW: http://www.vintek.net
Tel: (08) 8523 5035
Fax: (08) 8523 2104
Snail: P.O. Box 312
Gawler SA 5118
==============================
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]