Minor tweaks in chart generator

This commit is contained in:
unknown 2008-09-11 12:23:38 +02:00
parent a450e686a6
commit 9f695db852
4 changed files with 8 additions and 5 deletions

View File

@ -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');

View File

@ -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";

View File

@ -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";

View File

@ -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";