See also Re: Draw chart for a complete code example generating a PNG image output with gnuplot.
In reply to Re: Chart::Gnuplot png format by ambrus in thread Chart::Gnuplot png format by hmadhi