From: Paul R. <pri...@us...> - 2007-05-07 17:28:22
|
Update of /cvsroot/mantisbt/mantisbt/graphs In directory sc8-pr-cvs16:/tmp/cvs-serv22033/graphs Modified Files: graph_by_cumulative.php graph_by_daily_delta.php Log Message: Fix; 0007770: Antialias disable Index: graph_by_cumulative.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/graphs/graph_by_cumulative.php,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- graph_by_cumulative.php 12 Feb 2005 20:03:48 -0000 1.9 +++ graph_by_cumulative.php 7 May 2007 17:28:16 -0000 1.10 @@ -141,7 +141,9 @@ $graph = new Graph(800,600,"auto"); $graph->img->SetMargin(40,20,40,90); - $graph->img->SetAntiAliasing("white"); + if ( ON == config_get_global( 'jpgraph_antialias' ) ) { + $graph->img->SetAntiAliasing("white"); + } $graph->SetScale("textlin"); $graph->SetShadow(); $graph->SetColor('whitesmoke'); Index: graph_by_daily_delta.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/graphs/graph_by_daily_delta.php,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- graph_by_daily_delta.php 12 Feb 2005 20:03:48 -0000 1.9 +++ graph_by_daily_delta.php 7 May 2007 17:28:16 -0000 1.10 @@ -157,7 +157,9 @@ $graph = new Graph(800,600,"auto"); $graph->img->SetMargin(40,20,40,90); - $graph->img->SetAntiAliasing("white"); + if ( ON == config_get_global( 'jpgraph_antialias' ) ) { + $graph->img->SetAntiAliasing("white"); + } $graph->SetScale("textlin"); $graph->SetShadow(); $graph->SetColor('gray'); |