# HG changeset patch # User Felix Wolfsteller # Date 1377090004 -7200 # Node ID 281190b96f4dd6098e3879c71493322cd7ab11da # Parent 5a1078fd53e112359124b377a57a406784a10c32 Cosmetics. diff -r 5a1078fd53e1 -r 281190b96f4d artifacts/src/main/java/org/dive4elements/river/exports/DischargeCurveGenerator.java --- a/artifacts/src/main/java/org/dive4elements/river/exports/DischargeCurveGenerator.java Wed Aug 21 12:24:45 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/exports/DischargeCurveGenerator.java Wed Aug 21 15:00:04 2013 +0200 @@ -333,7 +333,7 @@ addAxisSeries(series, YAXIS.W.idx, visible); } - if(visible && ThemeUtil.parseShowPointLabel(theme) + if (visible && ThemeUtil.parseShowPointLabel(theme) && data != null && data.length != 0) { double[] xs = data[0]; @@ -350,6 +350,5 @@ } } } - } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :