in reply to Specific numeric labels on charts with GIFgraph or Chart modules

i'm pretty sure GIFgraph is what GD::Graph used to be called.

step 1: upgrade to GD::Graph

step 2: do:

$graph->set(show_values => 1);

i don't think GIFgraph had that option so you need to upgrade. there are other options for how the value is formatted, where it is placed in relation to the bar, etc.

anders pearson

  • Comment on Re: Specific numeric labels on charts with GIFgraph or Chart modules
  • Download Code

Replies are listed 'Best First'.
Re: Re: Specific numeric labels on charts with GIFgraph or Chart modules
by scratch (Sexton) on Apr 25, 2002 at 17:07 UTC
    Excellent. This is just what I wanted (and just what I found while perusing the GD::Graph docs this morning).

    Perl Monks kicks ass once again.

    scratch

    Homer: And how is education suppose to make me feel smarter? Besides, everytime I learn something new it pushes some old stuff out of my brain. Remember when I took that home wine making course, and I forgot how to drive?