[Schmitzm-commits] r481 - branches/1.0-gt2-2.6/src/schmitzm/jfree

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Oct 20 15:02:55 CEST 2009


Author: alfonx
Date: 2009-10-20 15:02:54 +0200 (Tue, 20 Oct 2009)
New Revision: 481

Modified:
   branches/1.0-gt2-2.6/src/schmitzm/jfree/JFreeChartUtil.java
Log:
* Added a reminder for 
    		 * ERROR AtlasCreator         uncaughtException         An uncaught exception happened on Thread Thread[AWT-EventQueue-0,6,main]
java.lang.IllegalArgumentException: Requires 'start' < 'end'.
	at org.jfree.data.general.DatasetUtilities.sampleFunction2DToSeries(DatasetUtilities.java:534)
	at org.jfree.data.general.DatasetUtilities.sampleFunction2D(DatasetUtilities.java:503)
	at schmitzm.jfree.JFreeChartUtil.createRegressionLineDataset(JFreeChartUtil.java:479)
	at schmitzm.jfree.JFreeChartUtil.createRegressionLineDataset(JFreeChartUtil.java:464)
	at schmitzm.jfree.JFreeChartUtil.createRegressionChart(JFreeChartUtil.java:443)
    		 */lehartStyle

Modified: branches/1.0-gt2-2.6/src/schmitzm/jfree/JFreeChartUtil.java
===================================================================
--- branches/1.0-gt2-2.6/src/schmitzm/jfree/JFreeChartUtil.java	2009-10-20 11:54:52 UTC (rev 480)
+++ branches/1.0-gt2-2.6/src/schmitzm/jfree/JFreeChartUtil.java	2009-10-20 13:02:54 UTC (rev 481)
@@ -439,6 +439,17 @@
 
     	// only if there are at least 2 items, otherwise we would get a IllegalArgumentException
     	if (((XYSeriesCollection)dataset).getItemCount(0)>=2) {
+    		
+    		//TODO Try Ctch.. /**
+    		/**
+    		 * ERROR AtlasCreator         uncaughtException         An uncaught exception happened on Thread Thread[AWT-EventQueue-0,6,main]
+java.lang.IllegalArgumentException: Requires 'start' < 'end'.
+	at org.jfree.data.general.DatasetUtilities.sampleFunction2DToSeries(DatasetUtilities.java:534)
+	at org.jfree.data.general.DatasetUtilities.sampleFunction2D(DatasetUtilities.java:503)
+	at schmitzm.jfree.JFreeChartUtil.createRegressionLineDataset(JFreeChartUtil.java:479)
+	at schmitzm.jfree.JFreeChartUtil.createRegressionLineDataset(JFreeChartUtil.java:464)
+	at schmitzm.jfree.JFreeChartUtil.createRegressionChart(JFreeChartUtil.java:443)
+    		 */
     		// create sample data for curve (plot function directly is not yet available)
     		XYDataset regressionData = createRegressionLineDataset((XYSeriesCollection)dataset,0,title+" (RegressionLine)",2);
     		addRegressionLineToPlot(plot, regressionData, Color.blue);



More information about the Schmitzm-commits mailing list