incubator-alois-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fla...@apache.org
Subject svn commit: r1034305 - in /incubator/alois/trunk: prisma/bin/prisma rails/java/CreateChart.java
Date Fri, 12 Nov 2010 09:25:10 GMT
Author: flavio
Date: Fri Nov 12 09:25:09 2010
New Revision: 1034305

URL: http://svn.apache.org/viewvc?rev=1034305&view=rev
Log:
Domain axis of charts is displayed again.

Modified:
    incubator/alois/trunk/prisma/bin/prisma
    incubator/alois/trunk/rails/java/CreateChart.java

Modified: incubator/alois/trunk/prisma/bin/prisma
URL: http://svn.apache.org/viewvc/incubator/alois/trunk/prisma/bin/prisma?rev=1034305&r1=1034304&r2=1034305&view=diff
==============================================================================
--- incubator/alois/trunk/prisma/bin/prisma (original)
+++ incubator/alois/trunk/prisma/bin/prisma Fri Nov 12 09:25:09 2010
@@ -1,4 +1,8 @@
 #! /usr/bin/ruby1.8
+require "pathname"
+ENV["GEM_HOME"] = nil if ENV["GEM_HOME"] and !Pathname.new(ENV["GEM_HOME"]).exist?
+ENV["GEM_PATH"] = nil if ENV["GEM_PATH"] and !Pathname.new(ENV["GEM_PATH"]).exist?
+
 require "rubygems"
 require "libisi"
 init_libisi

Modified: incubator/alois/trunk/rails/java/CreateChart.java
URL: http://svn.apache.org/viewvc/incubator/alois/trunk/rails/java/CreateChart.java?rev=1034305&r1=1034304&r2=1034305&view=diff
==============================================================================
--- incubator/alois/trunk/rails/java/CreateChart.java (original)
+++ incubator/alois/trunk/rails/java/CreateChart.java Fri Nov 12 09:25:09 2010
@@ -458,7 +458,7 @@ public class CreateChart {
 		valueAxis = new NumberAxis(this.yAxis);
 	    }
 
-	    CategoryPlot subplot = new CategoryPlot(this.category_datasets[range], categoryAxis,
valueAxis,
+	    CategoryPlot subplot = new CategoryPlot(this.category_datasets[range], null, valueAxis,
 						    my_renderer);
 
 	    plot.add(subplot, 1);



Mime
View raw message