diff options
author | ivan <ivan> | 2010-12-05 02:21:23 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-12-05 02:21:23 +0000 |
commit | 403553e427a4b91bdb204adafc4ebae2f105b3cc (patch) | |
tree | ddaedd63eff46756a9babd1117aec8f51c355d87 /rt/share/html/RTx | |
parent | 3534c7ac46bfc2eafd1791629b91b4207c9b697c (diff) |
RTx-Statistics in 2.1 / 3.8
Diffstat (limited to 'rt/share/html/RTx')
5 files changed, 5 insertions, 5 deletions
diff --git a/rt/share/html/RTx/Statistics/CallsMultiQueue/Elements/Chart b/rt/share/html/RTx/Statistics/CallsMultiQueue/Elements/Chart index 02a183b2c..6a7279bdc 100755 --- a/rt/share/html/RTx/Statistics/CallsMultiQueue/Elements/Chart +++ b/rt/share/html/RTx/Statistics/CallsMultiQueue/Elements/Chart @@ -23,7 +23,7 @@ $m->abort(); 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'); diff --git a/rt/share/html/RTx/Statistics/CallsQueueDay/Elements/Chart b/rt/share/html/RTx/Statistics/CallsQueueDay/Elements/Chart index 9a3a50574..2d6b43c17 100755 --- a/rt/share/html/RTx/Statistics/CallsQueueDay/Elements/Chart +++ b/rt/share/html/RTx/Statistics/CallsQueueDay/Elements/Chart @@ -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', diff --git a/rt/share/html/RTx/Statistics/DayOfWeek/Elements/Chart b/rt/share/html/RTx/Statistics/DayOfWeek/Elements/Chart index 239c09541..7bdf56b80 100755 --- a/rt/share/html/RTx/Statistics/DayOfWeek/Elements/Chart +++ b/rt/share/html/RTx/Statistics/DayOfWeek/Elements/Chart @@ -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'); diff --git a/rt/share/html/RTx/Statistics/OpenStalled/Elements/Chart b/rt/share/html/RTx/Statistics/OpenStalled/Elements/Chart index 9505881e8..e9057ce73 100755 --- a/rt/share/html/RTx/Statistics/OpenStalled/Elements/Chart +++ b/rt/share/html/RTx/Statistics/OpenStalled/Elements/Chart @@ -12,7 +12,7 @@ print "<p>"; 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 => 'Queue name', y_label => 'Total per queue by status'); diff --git a/rt/share/html/RTx/Statistics/Resolution/Elements/Chart b/rt/share/html/RTx/Statistics/Resolution/Elements/Chart index fa0ac5538..01196dc9d 100755 --- a/rt/share/html/RTx/Statistics/Resolution/Elements/Chart +++ b/rt/share/html/RTx/Statistics/Resolution/Elements/Chart @@ -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'); |