Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > cba0c97ffd15a2b7b538c506be833510 > files > 4

gforge-4.5.11-3mdv2009.0.src.rpm

diff -ru ./src/jpgraph.php /usr/local/jpgraph/src/jpgraph.php
--- ./src/jpgraph.php	2002-03-01 01:46:17.000000000 +0100
+++ /usr/local/jpgraph/src/jpgraph.php	2004-08-03 13:47:03.000000000 +0200
@@ -426,6 +426,11 @@
 //---------------
 // PUBLIC METHODS	
 
+    // GForge : fake method to have reporting working
+    function SetMargin($x1, $x2, $x3, $x4) {
+        return true;
+    }
+
     // Should the grid be in front or back of the plot?
     function SetGridDepth($aDepth) {
 	$this->grid_depth=$aDepth;
diff -ru ./src/jpgraph_pie3d.php /usr/local/jpgraph/src/jpgraph_pie3d.php
--- ./src/jpgraph_pie3d.php	2002-03-01 01:46:17.000000000 +0100
+++ /usr/local/jpgraph/src/jpgraph_pie3d.php	2004-08-03 13:51:10.000000000 +0200
@@ -88,7 +88,7 @@
 
 	
     function ExplodeSlice($e) {
-	JpGraphError::Raise("JpGraph Error: Exploding slices are not (yet) implemented for 3d pies graphs.");
+	// GForge : JpGraphError::Raise("JpGraph Error: Exploding slices are not (yet) implemented for 3d pies graphs.");
 	//$this->explode_slice=$e;
     }