Beefy Boxes and Bandwidth Generously Provided by pair Networks Ovid
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: GD::Graph labeling

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 06: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
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.