# HG changeset patch # User gernotbelger # Date 1547106789 -3600 # Node ID e02797341885786658a3aaf706dc0134026264ee # Parent aa6ee96071b7b2d367785acee0bca03544451ad1 Punkt 7.2 (CSV-Export der Vegetationszonen verhindern) diff -r aa6ee96071b7 -r e02797341885 artifacts/src/main/java/org/dive4elements/river/exports/ChartExportHelper.java --- a/artifacts/src/main/java/org/dive4elements/river/exports/ChartExportHelper.java Wed Jan 09 18:07:51 2019 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/exports/ChartExportHelper.java Thu Jan 10 08:53:09 2019 +0100 @@ -58,6 +58,7 @@ import org.dive4elements.river.FLYS; import org.dive4elements.river.artifacts.resources.Resources; import org.dive4elements.river.artifacts.sinfo.util.CalculationUtils; +import org.dive4elements.river.jfree.StripedAreaDataset; import org.dive4elements.river.jfree.XYMetaSeriesCollection; import org.dive4elements.river.utils.Formatter; @@ -341,8 +342,11 @@ if (data instanceof XYMetaSeriesCollection) { metaData = ((XYMetaSeriesCollection) data).getMetaData(); } - writeCSVHeader(writer, seriesKey.toString(), metaData); - writeCSVData(writer, data, format); + + if( !(data instanceof StripedAreaDataset) ) { + writeCSVHeader(writer, seriesKey.toString(), metaData); + writeCSVData(writer, data, format); + } } } writer.close();