2013-10-07 Sergio Martin <sergio.martin@artica.es>

* include/graphs/functions_pchart.php: Disabled 
	second pass processing in 3d pie chart because
	it was really heavy (13 seconds chargin a simple
	pie is unacceptable)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8860 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2013-10-07 09:24:11 +00:00
parent 756d36a310
commit e934558823
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2013-10-07 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php: Disabled
second pass processing in 3d pie chart because
it was really heavy (13 seconds chargin a simple
pie is unacceptable)
2013-10-07 Ramon Novoa <rnovoa@artica.es>
* extras/pandoradb_migrate_4.1_to_5.0.postgreSQL.sql,

View File

@ -427,7 +427,7 @@ function pch_pie_graph ($graph_type, $data_values, $legend_values, $width,
$PieChart->draw2DPie($width/4,$height/2,array("DataGapAngle"=>0,"DataGapRadius"=>0, "Border"=>FALSE, "BorderR"=>200, "BorderG"=>200, "BorderB"=>200, "Radius"=>$width/4, "ValueR"=>0, "ValueG"=>0, "ValueB"=>0, "WriteValues"=>TRUE));
break;
case "pie3d":
$PieChart->draw3DPie($width/4, $height/2,array("DataGapAngle"=>5,"DataGapRadius"=>6, "Border"=>TRUE, "Radius"=>$width/4, "ValueR"=>0, "ValueG"=>0, "ValueB"=>0, "WriteValues"=>TRUE));
$PieChart->draw3DPie($width/4, $height/2,array("DataGapAngle"=>5,"DataGapRadius"=>6, "Border"=>TRUE, "Radius"=>$width/4, "ValueR"=>0, "ValueG"=>0, "ValueB"=>0, "WriteValues"=>TRUE, "SecondPass"=>FALSE));
break;
}