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