From 58f71e17c2a493eac628f1fb09d883715eac7a3d Mon Sep 17 00:00:00 2001
From: mdtrooper <tres.14159@gmail.com>
Date: Wed, 14 Mar 2012 12:30:36 +0000
Subject: [PATCH] 2012-03-14 Miguel de Dios  <miguel.dedios@artica.es>

	* include/graphs/functions_pchart.php: fixed into function
	"pch_slicebar_graph" unset var $antialias.

	Merged bugfix from branch pandora_4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5765 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
---
 pandora_console/ChangeLog                           | 7 +++++++
 pandora_console/include/graphs/functions_pchart.php | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog
index 4a9170c99f..a6297ed59f 100644
--- a/pandora_console/ChangeLog
+++ b/pandora_console/ChangeLog
@@ -1,3 +1,10 @@
+2012-03-14 Miguel de Dios  <miguel.dedios@artica.es>
+
+	* include/graphs/functions_pchart.php: fixed into function
+	"pch_slicebar_graph" unset var $antialias.
+
+	Merged bugfix from branch pandora_4.0
+
 2012-03-14  Junichi Satoh  <junichi@rworks.jp>
 
 	* operation/incidents/incident.php: Replaced substr() with
diff --git a/pandora_console/include/graphs/functions_pchart.php b/pandora_console/include/graphs/functions_pchart.php
index 4ff0595c54..401f7a2e2b 100755
--- a/pandora_console/include/graphs/functions_pchart.php
+++ b/pandora_console/include/graphs/functions_pchart.php
@@ -311,7 +311,7 @@ function pch_slicebar_graph ($graph_type, $data, $period, $width, $height, $colo
 	$myPicture = new pImage($width,$height);
 	
 	/* Turn of Antialiasing */
-	$myPicture->Antialias = $antialiasing;
+	$myPicture->Antialias = 0;
 	 
 	$myPicture->setFontProperties(array("FontName"=> $font, "FontSize"=>$font_size,"R"=>80,"G"=>80,"B"=>80));