From ef0768e3328eafc8cf8ff07e93c63a34f109b191 Mon Sep 17 00:00:00 2001 From: Darold Gilles Date: Mon, 10 Dec 2012 16:25:56 +0100 Subject: [PATCH] Remove ytitle from pie graphs. --- SquidAnalyzer.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SquidAnalyzer.pm b/SquidAnalyzer.pm index 09e1dcb..3fc0109 100644 --- a/SquidAnalyzer.pm +++ b/SquidAnalyzer.pm @@ -2531,7 +2531,7 @@ sub _print_top_domain_stat $data{$dom} = $perdomain{$dom}{hits}; } my $title = "$Translate{'Domain_graph_hits_title'} $stat_date"; - my $domain_hits = $self->flotr2_piegraph(1, 'domain_hits', $title, $Translate{'Domains_graph'}, $Translate{'Requests_graph'} || 'Requests', %data); + my $domain_hits = $self->flotr2_piegraph(1, 'domain_hits', $title, $Translate{'Domains_graph'}, '', %data); print $out qq{}; $domain_hits = ''; %data = (); @@ -2539,7 +2539,7 @@ sub _print_top_domain_stat $data{$dom} = int($perdomain{$dom}{bytes}/1000000); } $title = "$Translate{'Domain_graph_bytes_title'} $stat_date"; - my $domain_bytes = $self->flotr2_piegraph(1, 'domain_bytes', $title, $Translate{'Domains_graph'}, $Translate{'Megabytes_graph'} || $Translate{'Megabytes'}, %data); + my $domain_bytes = $self->flotr2_piegraph(1, 'domain_bytes', $title, $Translate{'Domains_graph'}, '', %data); print $out qq{
$domain_hits$domain_bytes
}; $domain_bytes = ''; %data = ();