[Schmitzm-commits] r258 - trunk/src/schmitzm/jfree/chart/style
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Jul 31 17:27:20 CEST 2009
Author: alfonx
Date: 2009-07-31 17:27:19 +0200 (Fri, 31 Jul 2009)
New Revision: 258
Modified:
trunk/src/schmitzm/jfree/chart/style/ChartType.java
Log:
* ChartWizard
Modified: trunk/src/schmitzm/jfree/chart/style/ChartType.java
===================================================================
--- trunk/src/schmitzm/jfree/chart/style/ChartType.java 2009-07-31 14:44:59 UTC (rev 257)
+++ trunk/src/schmitzm/jfree/chart/style/ChartType.java 2009-07-31 15:27:19 UTC (rev 258)
@@ -156,4 +156,20 @@
}
}
+ /**
+ * Does the {@link ChartType} allow category data for the domain axis?
+ */
+ public boolean isCategoryAllowedForDomainAxis() {
+ switch (this) {
+ case SCATTER:
+ return false;
+ case BAR:
+ case LINE:
+ case AREA:
+ case POINT:
+ default:
+ return true;
+ }
+ }
+
};
More information about the Schmitzm-commits
mailing list