Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: GD::Graph labeling

by Prof Avery (Novice)
on May 25, 2001 at 03:44 UTC ( #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? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2022-09-30 22:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (126 votes). Check out past polls.

    Notices?