Help for this page
$graphimage = $graph->plot(\@data) or die $graph->error;
my $g = plot (); ... ... return $graph->plot(\@data) or die $graph->error; }