diff artifacts/src/main/java/org/dive4elements/river/exports/LongitudinalSectionGenerator2.java @ 7107:564033adf9c6 generator-refactoring

Handle axis include zero setting for the new processing architecture
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 24 Sep 2013 11:27:28 +0200
parents ab57b6eee71c
children 4605d6ca4ee9
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/LongitudinalSectionGenerator2.java	Tue Sep 24 11:26:45 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/LongitudinalSectionGenerator2.java	Tue Sep 24 11:27:28 2013 +0200
@@ -38,27 +38,5 @@
         }
         return super.getDefaultChartSubtitle();
     }
-
-    /**
-     * Create Axis for given index.
-     * @return axis with according internationalized label.
-     */
-    @Override
-    protected NumberAxis createYAxis(int index) {
-        // TODO decide what to do with this.
-        return super.createYAxis(index);
-        /*
-        NumberAxis axis = super.createYAxis(index);
-
-        // "Q" Axis shall include 0.
-        if (index == YAXIS.Q.idx) {
-            axis.setAutoRangeIncludesZero(true);
-        }
-        else {
-            axis.setAutoRangeIncludesZero(false);
-        }
-
-        return axis;*/
-    }
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org