Whenever when I try to plot a percentage value, I get these erros.
DBD::Chart::st execute failed: Supplied value not compatible with target field
at parameter 1. at gv_ind_1_18.pl line 147.
Can't take log of -2e+38 at /usr/lib/perl5/site_perl/5.8.0/DBD/Chart/Plot.pm
line 1591.
My data type is set to Float
$dbh->do('CREATE CHART tb_serie_1 (HORA CHAR(30), serie_1 FLOAT)');
$sth = $dbh->prepare('INSERT INTO tb_serie_1 VALUES( ?, ?)');
$sth->func(1, [EMAIL PROTECTED], chart_bind_param_array);
$sth->func(2, [EMAIL PROTECTED], chart_bind_param_array);
%stsary = ();
$sth->func(\%stsary, chart_bind_param_status);
$sth->execute;
$sth->finish();
Then I tried to change the data type to DECIMAL with no avail.
To solve this problem I have to multiply the SERIES_CAT by 10, but the value
shown in my graph is not the correct percentage, once the values are multiplied
by 10.
Any Idea how I can solve this problem?
Thanks in advance.
BR’s
Thiago
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.3/614 - Release Date: 2/1/2007 14:58