mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-26 11:19:26 +02:00
Minor tweaks in chart generator
This commit is contained in:
parent
a450e686a6
commit
9f695db852
@ -156,7 +156,7 @@ if ( !$content['error_occured'] )
|
||||
// $graph->title->SetColor("darkred");
|
||||
|
||||
// Setup the tab title
|
||||
$graph->tabtitle->Set( GetAndReplaceLangStr($content['LN_STATS_COUNTBY'], $content[ $fields[$content['chart_field']]['FieldCaptionID'] ]) . " - " . GetAndReplaceLangStr($content['LN_STATS_TOPRECORDS'], $content['maxrecords']) );
|
||||
$graph->tabtitle->Set( GetAndReplaceLangStr($content['LN_STATS_CHARTTITLE'], $content['maxrecords'], $content[ $fields[$content['chart_field']]['FieldCaptionID'] ]) );
|
||||
$graph->tabtitle->SetFont(FF_ARIAL,FS_BOLD,10);
|
||||
$graph->tabtitle->SetPos('left');
|
||||
|
||||
@ -165,8 +165,8 @@ if ( !$content['error_occured'] )
|
||||
$graph->footer->left->SetFont( FF_ARIAL, FS_NORMAL, 8);
|
||||
$graph->footer->right->Set ( GetAndReplaceLangStr($content['LN_STATS_GENERATEDAT'], date("Y-m-d")) );
|
||||
$graph->footer->right->SetFont( FF_ARIAL, FS_NORMAL, 8);
|
||||
$graph->footer->left->Set ("phpLogCon v" . $content['BUILDNUMBER'] . "\n" . GetAndReplaceLangStr($content['LN_STATS_GENERATEDAT'], date("Y-m-d")) );
|
||||
$graph->footer->left->SetFont( FF_ARIAL, FS_NORMAL, 8);
|
||||
// $graph->footer->left->Set ("phpLogCon v" . $content['BUILDNUMBER'] . "\n" . GetAndReplaceLangStr($content['LN_STATS_GENERATEDAT'], date("Y-m-d")) );
|
||||
// $graph->footer->left->SetFont( FF_ARIAL, FS_NORMAL, 8);
|
||||
// $graph->footer->right->SetColor("darkred");
|
||||
|
||||
// Setup font for axis
|
||||
@ -235,7 +235,7 @@ if ( !$content['error_occured'] )
|
||||
$graph->yscale->ticks->SupressZeroLabel(false);
|
||||
|
||||
// Setup the tab title
|
||||
$graph->tabtitle->Set( GetAndReplaceLangStr($content['LN_STATS_COUNTBY'], $content[ $fields[$content['chart_field']]['FieldCaptionID'] ]) . " - " . GetAndReplaceLangStr($content['LN_STATS_TOPRECORDS'], $content['maxrecords']) );
|
||||
$graph->tabtitle->Set( GetAndReplaceLangStr($content['LN_STATS_CHARTTITLE'], $content['maxrecords'], $content[ $fields[$content['chart_field']]['FieldCaptionID'] ]) );
|
||||
$graph->tabtitle->SetFont(FF_ARIAL,FS_BOLD,10);
|
||||
$graph->tabtitle->SetPos('left');
|
||||
|
||||
@ -320,7 +320,7 @@ if ( !$content['error_occured'] )
|
||||
$graph->yscale->ticks->SupressZeroLabel(false);
|
||||
|
||||
// Setup the tab title
|
||||
$graph->tabtitle->Set( GetAndReplaceLangStr($content['LN_STATS_COUNTBY'], $content[ $fields[$content['chart_field']]['FieldCaptionID'] ]) . " - " . GetAndReplaceLangStr($content['LN_STATS_TOPRECORDS'], $content['maxrecords']) );
|
||||
$graph->tabtitle->Set( GetAndReplaceLangStr($content['LN_STATS_CHARTTITLE'], $content['maxrecords'], $content[ $fields[$content['chart_field']]['FieldCaptionID'] ]) );
|
||||
$graph->tabtitle->SetFont(FF_ARIAL,FS_BOLD,10);
|
||||
$graph->tabtitle->SetPos('right');
|
||||
$graph->tabtitle->SetTabAlign('right');
|
||||
|
@ -280,6 +280,7 @@ $content['LN_DETAIL_BACKTOLIST'] = "Back to Listview";
|
||||
$content['LN_CONVERT_ERROR_SOURCEIMPORT'] = "Critical Error while importing the sources into the database, the SourceType '%1' is not supported by this phpLogCon Version.";
|
||||
|
||||
// Stats Site
|
||||
$content['LN_STATS_CHARTTITLE'] = "Top %1 '%2' sorted by messagecount";
|
||||
$content['LN_STATS_COUNTBY'] = "Messagecount by '%1'";
|
||||
$content['LN_STATS_GRAPH'] = "Graph";
|
||||
$content['LN_STATS_TOPRECORDS'] = "Maxrecords: %1";
|
||||
|
@ -280,6 +280,7 @@ $content['LN_CONVERT_PROCESS'] = "Conversion Progress:";
|
||||
$content['LN_CONVERT_ERROR_SOURCEIMPORT'] = "Critical Error while importing the sources into the database, the SourceType '%1' is not supported by this phpLogCon Version.";
|
||||
|
||||
// Stats Site
|
||||
$content['LN_STATS_CHARTTITLE'] = "Top %1 '%2' sorted by messagecount";
|
||||
$content['LN_STATS_COUNTBY'] = "Messagecount by '%1'";
|
||||
$content['LN_STATS_OTHERS'] = "All Others";
|
||||
$content['LN_STATS_TOPRECORDS'] = "Maxrecords: %1";
|
||||
|
@ -285,6 +285,7 @@ $content['LN_DETAIL_BACKTOLIST'] = "Voltar para a lista";
|
||||
$content['LN_CONVERT_ERROR_SOURCEIMPORT'] = "Critical Error while importing the sources into the database, the SourceType '%1' is not supported by this phpLogCon Version.";
|
||||
|
||||
// Stats Site
|
||||
$content['LN_STATS_CHARTTITLE'] = "Top %1 '%2' sorted by messagecount";
|
||||
$content['LN_STATS_COUNTBY'] = "Messagecount by '%1'";
|
||||
$content['LN_STATS_GRAPH'] = "Graph";
|
||||
$content['LN_STATS_TOPRECORDS'] = "Maxrecords: %1";
|
||||
|
Loading…
x
Reference in New Issue
Block a user