RTx-Statistics in 2.1 / 3.8
[freeside.git] / rt / share / html / RTx / Statistics / DayOfWeek / Elements / Chart
index 239c095..7bdf56b 100755 (executable)
@@ -9,7 +9,7 @@
 use GD::Graph::bars;
 
 my @data;
-my $graph = GD::Graph::bars->new($Statistics::GraphWidth,$Statistics::GraphHeight);
+my $graph = GD::Graph::bars->new($Statistics::GraphWidth||500,$Statistics::GraphHeight||400);
 $graph->set(export_format => "png",
              x_label      => 'Day of Week',
              y_label      => 'Ticket actions per Day by type');