my $gd_image = $graph->plot(\@data) or die $graph->error;