graph_api.php中
有几个function是需要修改的,如
function:graph_group,graph_group_pct,graph_bug_enum_summary_pct,graph_category_summary_pct,graph_bug_enum_summary,graph_developer_summary,graph_reporter_summary,graph_category_summary,graph_cumulative_bydate
在这些函数里的
$graph->title->Set( $title );
之后加上
if (config_get('default_language') == 'chinese_simplified')
{ $graph->title->SetFont(FF_SIMSUN,FS_NORMAL);
$graph->xaxis->title->SetFont(FF_SIMSUN,FS_NORMAL);
$graph->yaxis->title->SetFont(FF_SIMSUN,FS_NORMAL);
$graph->xaxis->SetFont(FF_SIMSUN,FS_NORMAL);
$graph->yaxis->SetFont(FF_SIMSUN,FS_NORMAL);
}
就ok了。 |