Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: GD::Graph labeling

by Prof Avery (Novice)
on May 25, 2001 at 03:44 UTC ( [id://83172]=note: print w/replies, xml ) Need Help??


in reply to GD::Graph labeling

Try using values_format, formatting the maxima as numbers and everything else as an empty string, e.g.
sub v_format { my $value = shift; if ($value >= ($MAX - $EPSILON)) { return $value } else { return ''; } $my_graph->set('values_format' => \&v_format);

Replies are listed 'Best First'.
Re: Re: GD::Graph labeling
by chinman (Monk) on May 27, 2001 at 10:51 UTC
    Prof Avery,

    Thanks, that was a huge help! Somehow, values_format did not come up on my radar screen.

    Regards,

    chinman

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-03-28 13:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found