changeset 8888:caa52aec08c0

Missed some places were axes were created
author gernotbelger
date Wed, 14 Feb 2018 18:16:03 +0100
parents a7f1d4c9add4
children f87f435df856
files artifacts/src/main/java/org/dive4elements/river/exports/XYChartGenerator.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/XYChartGenerator.java	Wed Feb 14 18:15:32 2018 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/XYChartGenerator.java	Wed Feb 14 18:16:03 2018 +0100
@@ -302,6 +302,9 @@
 
     protected NumberAxis createXAxis(String label) {
         NumberAxis axis = new NumberAxis(label);
+        // REMARK: we overwrite the default values to 0.0, because in earlier version margins were never applied.
+        axis.setLowerMargin(0);
+        axis.setUpperMargin(0);
         return axis;
     }
 

http://dive4elements.wald.intevation.org