summaryrefslogtreecommitdiffstats
path: root/report.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'report.cgi')
-rwxr-xr-xreport.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/report.cgi b/report.cgi
index c311cc797..d3cde688d 100755
--- a/report.cgi
+++ b/report.cgi
@@ -207,8 +207,8 @@ $vars->{'row_names'} = \@row_names;
$vars->{'tbl_names'} = \@tbl_names;
# Below a certain width, we don't see any bars, so there needs to be a minimum.
-if ($cgi->param('format') eq "bar") {
- my $min_width = (scalar(@col_names) || 1) * 10;
+if ($width && $cgi->param('format') eq "bar") {
+ my $min_width = (scalar(@col_names) || 1) * 20;
if (!$cgi->param('cumulate')) {
$min_width *= (scalar(@row_names) || 1);