in reply to Re^2: Newbie using modules
in thread Newbie using modules

It seems that the synopsis of the module is incomplete. From reading the documentation further down, there is a ->output($filename) method which writes the chart as an image file to disk. So maybe you have to add another line after the ->plot2d:

... $chart->output('mychart.png');

Replies are listed 'Best First'.
Re^4: Newbie using modules
by moritz (Cardinal) on Oct 05, 2008 at 20:03 UTC
    I tried version 0.05, and the new(output => $out_file) works just fine, and produces the desired output file.