RTx-Statistics in 2.1 / 3.8
[freeside.git] / rt / share / html / RTx / Statistics / CallsQueueDay / Elements / Chart
index 9a3a505..2d6b43c 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       => 'Day of Week',
             y_label       => 'Tickets per Day',