summaryrefslogtreecommitdiff
path: root/rt
diff options
context:
space:
mode:
authorivan <ivan>2010-12-05 02:21:24 +0000
committerivan <ivan>2010-12-05 02:21:24 +0000
commit878718194b9e75f326199030a4ab08d9407b353a (patch)
treef4b90a3b72ba044d80d6074ac48c1d3ab63cc67c /rt
parente0a1b61bee45ef0cfbc50c0b6f3007c29b91935b (diff)
RTx-Statistics in 2.1 / 3.8
Diffstat (limited to 'rt')
-rwxr-xr-xrt/share/html/RTx/Statistics/CallsMultiQueue/Elements/Chart2
-rwxr-xr-xrt/share/html/RTx/Statistics/CallsQueueDay/Elements/Chart2
-rwxr-xr-xrt/share/html/RTx/Statistics/DayOfWeek/Elements/Chart2
-rwxr-xr-xrt/share/html/RTx/Statistics/OpenStalled/Elements/Chart2
-rwxr-xr-xrt/share/html/RTx/Statistics/Resolution/Elements/Chart2
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');