# HG changeset patch # User Ingo Weinzierl # Date 1301330173 0 # Node ID fbbb22e1e20680afcb9429d2e6adc18f660e634c # Parent 03362976fa0fb74faba28fe11000ada23d9fe408 Changed the background color of discharge curves to white. flys-artifacts/trunk@1597 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 03362976fa0f -r fbbb22e1e206 flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Mon Mar 28 15:21:27 2011 +0000 +++ b/flys-artifacts/ChangeLog Mon Mar 28 16:36:13 2011 +0000 @@ -1,3 +1,8 @@ +2011-03-28 Ingo Weinzierl + + * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Changed + the background color of discharge curves to white. + 2011-03-28 Sascha L. Teichmann * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: diff -r 03362976fa0f -r fbbb22e1e206 flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java Mon Mar 28 15:21:27 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java Mon Mar 28 16:36:13 2011 +0000 @@ -1,5 +1,6 @@ package de.intevation.flys.artifacts; +import java.awt.Color; import java.io.IOException; import java.io.OutputStream; import java.util.ArrayList; @@ -197,6 +198,9 @@ false, false); + chart.setBackgroundPaint(Color.WHITE); + chart.getPlot().setBackgroundPaint(Color.WHITE); + ChartExportHelper.exportImage( out, chart,