RTx-Statistics in 2.1 / 3.8
[freeside.git] / rt / share / html / RTx / Statistics / Resolution / Elements / Chart
index fa0ac55..01196dc 100755 (executable)
@@ -12,7 +12,7 @@ print "<p>";
 use GD::Graph::lines;
 
 my @data;
-my $graph = GD::Graph::lines->new($Statistics::GraphWidth,$Statistics::GraphHeight);
+my $graph = GD::Graph::lines->new($Statistics::GraphWidth||500,$Statistics::GraphHeight||400);
 $graph->set(export_format => "png",
             x_label           => 'Days',
             y_label           => 'Average time in Days');