# HG changeset patch # User gernotbelger # Date 1518628563 -3600 # Node ID caa52aec08c0e5c3561117b8504ddf23e91ef7f3 # Parent a7f1d4c9add45cdb623ef6f85cd5a7fb0d395cc4 Missed some places were axes were created diff -r a7f1d4c9add4 -r caa52aec08c0 artifacts/src/main/java/org/dive4elements/river/exports/XYChartGenerator.java --- 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; }