Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: GD::Graph skip_undef not working properly

by flounder99 (Friar)
on Oct 02, 2003 at 19:41 UTC ( [id://296051]=note: print w/replies, xml ) Need Help??


in reply to GD::Graph skip_undef not working properly

I think you are sending the string "undef" and not an undefined value. Try a
@datapointsarray = map {$_ eq "undef" ? undef : $_ } @datapointsarray;
on the array that holds your datapoints.

--

flounder

Replies are listed 'Best First'.
Re: Re: GD::Graph skip_undef not working properly
by kryberg (Pilgrim) on Oct 02, 2003 at 20:34 UTC
    It worked! That made my day!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://296051]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-25 19:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found