Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: GD::Graph legend only shows 1 entry

by bageler (Hermit)
on Oct 29, 2005 at 15:44 UTC ( [id://503875]=note: print w/replies, xml ) Need Help??


in reply to Re: GD::Graph legend only shows 1 entry
in thread GD::Graph legend only shows 1 entry

It does not work. I tried many ways of setting the legend:
@legend = (1,2,3); $graph->set_legend(@legend); $graph->set_legend(qw(foo bar baz)); $graph->set_legend('foo','bar','baz');
none of the above worked.

Replies are listed 'Best First'.
Re^3: GD::Graph legend only shows 1 entry
by randyk (Parson) on Oct 29, 2005 at 15:51 UTC
    What version of GD::Graph are you using? The example I gave worked for me with GD::Graph version 1.43, and GD version 2.30 (on Win32 ActiveState perl-5.8.7).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-03-29 11:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found