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).