THIAGO LACERDA ZAGO wrote:
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();


What version of DBD::Chart are you using ?

How big are the arrays you're binding ?

Do you know which value is causing the error ?
Can you send the list of values you're trying to
bind ? (Send to me directly, preferably not to the
dbi list)

Regards,
Dean Arnold
Presicient Corp.

Reply via email to